/* Scoped multi-university application workspace. */
.agent-detail-frame{position:relative;min-height:100%;display:flex;justify-content:center;align-items:flex-start;padding:28px 20px}
.agent-detail-shell{width:100%;max-width:1500px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;overflow:hidden;box-shadow:0 25px 80px #071b3840}
.agent-detail-header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#071b38;color:#fff;padding:24px 28px}
.agent-detail-header h3{font-size:23px;font-weight:800;margin:5px 0 0;line-height:1.4}.agent-eyebrow{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#fbbf24}
.agent-header-actions{display:flex;gap:12px;align-items:center}.agent-detail-close{width:38px;height:38px;font-size:28px;border-radius:10px;background:#ffffff16}
.agent-ui-button{padding:11px 16px;border:1px solid #dbe2eb;border-radius:10px;background:#fff;color:#0c2b59;font-size:12px;font-weight:800;cursor:pointer;line-height:1.4}.agent-ui-button:hover{background:#f1f5f9}.agent-ui-button.gold{background:#f59e0b;border-color:#f59e0b;color:#071b38}.agent-ui-button.danger{color:#b42318;border-color:#fecaca}.agent-ui-button:disabled{opacity:.5;cursor:wait}
.agent-case-layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:610px}.agent-university-sidebar{background:#f8fafc;border-right:1px solid #e2e8f0;padding:22px 16px}.agent-sidebar-heading{padding:0 5px 16px}.agent-sidebar-heading h4{color:#0c2b59;font-size:13px;font-weight:800}.agent-sidebar-heading p{color:#64748b;font-size:11px;margin-top:5px}.agent-university-list{display:flex;flex-direction:column;gap:14px;max-height:75vh;overflow-y:auto;padding:2px 4px 8px}
.agent-university-card{width:100%;text-align:left;background:#fff;border:1px solid #dce3ed;border-radius:15px;overflow:hidden;transition:border-color .2s,box-shadow .2s;flex-shrink:0;cursor:pointer}.agent-university-card:hover{border-color:#f59e0b}.agent-university-card[aria-current=true]{border-color:#f59e0b;box-shadow:0 4px 14px #d9770614,0 0 0 1px #f59e0b}.agent-university-card .card-top{padding:14px 15px;border-bottom:1px solid #f0f2f5}.agent-university-card small{display:block;font-size:10px;color:#64748b;line-height:1.7}.agent-university-card strong{display:block;font-size:13px;font-weight:800;line-height:1.6;color:#0c2b59}.agent-university-card .card-course{font-size:12px;color:#475569;margin-top:8px;line-height:1.65}.agent-university-card .card-status{padding:13px 15px;background:#f3faf6;font-size:11px;color:#287349}.agent-university-card.closed .card-status{background:#f1f5f9;color:#475569}.agent-status-label{display:block;font-size:10px;font-weight:600;opacity:.8;margin-bottom:3px}.agent-secondary{margin-top:10px;line-height:1.6;overflow-wrap:anywhere}
.agent-case-main{min-width:0}.agent-selected-heading{padding:24px 28px 20px;border-bottom:1px solid #e2e8f0}.agent-selected-heading h4{font-size:22px;font-weight:800;color:#0c2b59;line-height:1.4}.agent-selected-heading .course{font-size:13px;color:#475569;margin-top:6px}.agent-selection-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.agent-selection-meta{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:11px;color:#64748b;margin-top:17px}.agent-status-pill{display:inline-block;background:#edf8f2;color:#216943;padding:7px 11px;border-radius:7px;font-size:11px;font-weight:800;margin-top:14px}.agent-status-pill.closed{background:#eef2f7;color:#475569}.agent-withdrawal-notice{margin-top:18px;border:1px solid #e5c98f;border-left:4px solid #d97706;background:#fff9ed;border-radius:10px;padding:14px 16px;color:#7c4a03;font-size:12px;line-height:1.7}.agent-withdrawal-notice strong{display:block}.agent-withdrawal-notice small{display:block;margin-top:5px;color:#896837}
.agent-case-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #e2e8f0;padding:0 22px;gap:8px}.agent-case-tabs .agent-app-tab{white-space:nowrap;border-bottom:3px solid transparent;padding:18px 10px 15px;color:#64748b;font-size:11px;font-weight:800;background:transparent;border-radius:0}.agent-case-tabs .agent-app-tab[aria-selected=true]{color:#b96907;border-color:#f59e0b}.agent-panel-content{padding:24px 28px}.agent-shared-context{font-size:11px;color:#64748b;margin-bottom:18px}.agent-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-data-cell{padding:15px;border:1px solid #e2e8f0;background:#fafbfc;border-radius:12px}.agent-data-cell dt{font-size:10px;font-weight:700;color:#64748b;margin-bottom:7px}.agent-data-cell dd{font-size:12px;font-weight:700;color:#0c2b59;overflow-wrap:anywhere;line-height:1.7}.agent-event{padding:16px 18px;border-left:3px solid #f59e0b;background:#f8fafc;border-radius:0 10px 10px 0;margin-bottom:12px}.agent-event h5{font-size:12px;font-weight:800;color:#0c2b59}.agent-event p{font-size:12px;line-height:1.8;color:#475569;margin-top:7px;white-space:pre-line}.agent-event small{color:#64748b;font-size:10px}.agent-empty{padding:28px;color:#64748b;font-size:12px;line-height:1.8;text-align:center}
.agent-history-table{width:100%;min-width:1060px;border-collapse:collapse;font-size:12px;color:#475569;text-align:left}.agent-history-table th{background:#f8fafc;color:#64748b;font-size:11px;padding:16px 13px;font-weight:700;white-space:nowrap}.agent-history-table td{padding:20px 13px;vertical-align:top;border-bottom:1px solid #edf0f4;line-height:1.75}.agent-history-table tbody tr:hover{background:#fffdf8}.agent-history-table .closed-row{background:#fafbfc}.agent-history-table strong{color:#0c2b59;font-weight:800}.agent-history-table small{display:block;color:#94a3b8;font-size:10px;line-height:1.8;margin-top:6px}.agent-history-link{color:#315d93;text-decoration:underline;text-underline-offset:3px;font-weight:800}.agent-actions-stack{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:24px;min-height:86px}.agent-icon-button{display:inline-flex;justify-content:center;align-items:center;width:34px;height:34px;border-radius:9px;color:#315781;background:transparent;cursor:pointer}.agent-icon-button:hover{background:#eaf0f8}.agent-icon-button.withdraw:hover{color:#b42318;background:#fff1f2}.agent-icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2}.agent-icon-button:focus-visible,.agent-university-card:focus-visible,.agent-app-tab:focus-visible,.agent-ui-button:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
#agentActionDialog{padding:0;border:1px solid #fff;border-radius:26px;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 32px 80px #071b3859,0 8px 0 #dce5ea;background:linear-gradient(150deg,#fff,#f8fafc);color:#0c2b59;margin:auto}#agentActionDialog::backdrop{background:#071b3880;backdrop-filter:blur(5px)}#agentActionDialog[open]{animation:agent-confirm-enter .25s ease-out}.agent-confirm-card{padding:30px 30px 25px;text-align:center}.agent-confirm-eyebrow{font-size:9px;letter-spacing:.18em;color:#718096;font-weight:800;margin:14px 0 8px}#agentActionTitle{font-size:23px;line-height:1.4;font-weight:800}#agentActionMessage{font-size:13px;line-height:1.8;color:#64748b;margin-top:12px;white-space:pre-line}.agent-confirm-actions{display:flex;justify-content:center;gap:12px;margin-top:26px}.agent-confirm-actions button{flex:1}#agentActionOK{color:#fff;background:#0c2b59;border-color:#0c2b59;box-shadow:0 4px 0 #071b38}#agentActionDialog[data-kind=success] #agentActionOK{background:#169b67;border-color:#169b67;box-shadow:0 4px 0 #0c714a}#agentActionDialog[data-kind=confirm] #agentActionOK{background:#b42318;border-color:#b42318;box-shadow:0 4px 0 #7d190e}.agent-success-icon{width:98px;height:98px;margin:0 auto;filter:drop-shadow(0 9px 7px #169b6728)}.agent-success-disc{fill:#eaf8f0;animation:agent-disc-fill .18s .8s forwards}.agent-success-ring{fill:none;stroke:#19a76d;stroke-width:5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:center;animation:agent-ring-draw .8s ease-in-out forwards}.agent-success-tick{fill:none;stroke:#fff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:0;animation:agent-tick-draw .32s .98s ease-out forwards}.agent-dialog-symbol{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:linear-gradient(145deg,#fff7e7,#fbd7a6);box-shadow:inset 0 2px 1px #fff,0 8px 0 #e3ba7b,0 15px 20px #a8772b20;font-size:36px;font-weight:800;color:#9a5606;margin:5px auto 20px}#agentActionDialog[data-kind=error] .agent-dialog-symbol{background:#fee2e2;color:#b42318;box-shadow:0 8px 0 #f1baba}
@keyframes agent-ring-draw{to{stroke-dashoffset:0}}@keyframes agent-disc-fill{to{fill:#19a76d}}@keyframes agent-tick-draw{0%{opacity:1}100%{opacity:1;stroke-dashoffset:0}}@keyframes agent-confirm-enter{from{opacity:0;transform:perspective(800px) translateY(14px) rotateX(5deg) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.agent-case-layout{grid-template-columns:235px minmax(0,1fr)}.agent-detail-header{padding:20px}.agent-detail-header h3{font-size:18px}.agent-selected-heading,.agent-panel-content{padding:20px}.agent-data-grid{grid-template-columns:1fr}}
@media(max-width:680px){.agent-detail-frame{padding:10px}.agent-detail-header{align-items:flex-start;flex-direction:column;gap:14px}.agent-header-actions{width:100%;justify-content:space-between}.agent-case-layout{display:block}.agent-university-sidebar{border-right:0;border-bottom:1px solid #e2e8f0;padding:16px}.agent-sidebar-heading{padding-bottom:10px}.agent-university-list{flex-direction:row;max-height:none;padding-bottom:8px}.agent-university-card{width:235px;min-width:235px}.agent-university-card .card-status{padding:10px 13px}.agent-university-card .agent-secondary{max-height:58px;overflow-y:auto}.agent-selected-heading h4{font-size:18px}.agent-selection-top{flex-direction:column}.agent-case-tabs{padding:0 12px}.agent-selected-heading,.agent-panel-content{padding:18px}.agent-confirm-card{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){#agentActionDialog[open],.agent-success-disc,.agent-success-ring,.agent-success-tick{animation:none}.agent-success-disc{fill:#19a76d}.agent-success-ring,.agent-success-tick{stroke-dashoffset:0;opacity:1}}
