.academic-record-workspace { display:grid; gap:12px; min-width:0; }
.academic-record-view-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.academic-record-view-switch button { display:flex; align-items:center; justify-content:center; gap:12px; min-width:0; min-height:60px; padding:9px 16px; border:1px solid #c6d9e6; border-radius:9px; background:#f1f6fa; color:#30495e; cursor:pointer; text-align:center; font:inherit; }
.academic-record-view-switch button[data-academic-record-view="plan"] { border-color:#c5dccd; background:#f2f8f4; }
.academic-record-view-switch button[aria-selected="true"] { border-color:#6389a7; box-shadow:inset 0 -3px #315f7d; background:#eaf3f9; }
.academic-record-view-switch button[data-academic-record-view="plan"][aria-selected="true"] { border-color:#7ba18a; box-shadow:inset 0 -3px #397451; background:#eaf5ed; }
.academic-record-view-switch button:hover { filter:brightness(.985); }
.academic-record-view-switch button:focus-visible,.academic-plan-toolbar button:focus-visible,.academic-course-wrap:focus-visible { outline:2px solid #315f7d; outline-offset:2px; }
.academic-record-view-switch strong,.academic-record-view-switch small { display:block; }
.academic-record-view-switch strong { font-size:.875rem; color:var(--navy-950); }
.academic-record-view-switch small { margin-top:2px; font-size:.75rem; color:#526779; }
.academic-view-icon { display:grid; place-items:center; width:33px; height:33px; flex:none; border-radius:7px; background:#dcebf4; color:#285d7a; font-size:1.15rem; }
.academic-view-icon svg { width:18px; height:18px; }
[data-academic-record-view="plan"] .academic-view-icon { background:#dceee2; color:#276043; }
.academic-record-surface { display:grid; align-content:start; min-width:0; gap:12px; padding:13px; border:1px solid var(--line); border-radius:10px; background:#f8fafb; }
.academic-record-surface[hidden],.academic-plan-page[hidden],.academic-page-controls[hidden] { display:none; }
.academic-snapshot { justify-self:center; }
.academic-summary,.academic-plan-credits { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); overflow:hidden; border:1px solid #dce5ec; border-radius:9px; background:#fff; }
.academic-summary>.fact,.academic-plan-credits>.fact { min-width:0; padding:10px 7px; border:0; border-right:1px solid #e3e9ef; border-radius:0; background:transparent; text-align:center; overflow-wrap:anywhere; }
.academic-summary>.fact:last-child,.academic-plan-credits>.fact:last-child { border-right:0; }
.academic-plan-credits { grid-template-columns:repeat(4,minmax(0,1fr)); }
.academic-plan-credits>.fact:nth-child(2) strong { color:#195c36; }
.academic-plan-credits>.fact:nth-child(3) strong { color:#7c5510; }
.academic-history-panel { display:grid; min-width:0; gap:13px; padding:15px; border:1px solid #dce5ec; border-left:3px solid #6389a7; border-radius:9px; background:#fff; }
.academic-history-panel.program-plan-coverage { border-left-color:#648e73; }
.academic-history-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; }
.academic-history-heading h2 { margin:0; color:var(--navy-950); font-size:1rem; line-height:1.35; }
.academic-history-heading .academic-status+h2 { margin-top:5px; }
.academic-history-heading p { margin:4px 0 0; color:#526779; font-size:.8rem; line-height:1.45; }
.academic-legend { display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-width:0; }
.academic-status { display:inline-flex; width:fit-content; max-width:100%; align-items:center; padding:2px 7px; border:1px solid #d4dfe7; border-radius:999px; background:#f3f6f9; color:#485f72; font-size:.7rem; font-weight:750; line-height:1.35; }
.academic-status[data-evidence-tone="completed"] { color:#215638; background:#edf6ee; border-color:#badbc3; }
.academic-status[data-evidence-tone="enrolled"] { color:#224e72; background:#edf4fa; border-color:#c0d5e5; }
.academic-status[data-evidence-tone="in_progress"],.academic-status[data-evidence-tone="withdrawn"] { color:#73520b; background:#fff6df; border-color:#e8d69f; }
.academic-status[data-evidence-tone="dropped"],.academic-status[data-evidence-tone="exception"] { color:#8a382e; background:#fff1ef; border-color:#edc4bd; }
.academic-status[data-evidence-tone="transfer"] { color:#5c367b; background:#f3edf9; border-color:#d8c8e9; }
.academic-term-list { display:grid; gap:12px; }
.academic-term-block { min-width:0; overflow:hidden; border:1px solid #d9e4ed; border-radius:8px; }
.academic-term-block>header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:9px 12px; border-bottom:1px solid #d9e4ed; background:#eef5f9; }
.academic-term-block h3,.academic-plan-term h3 { margin:1px 0 0; color:var(--navy-950); font-size:.9rem; }
.academic-term-block header span,.academic-term-total small { display:block; color:#526779; font-size:.71rem; }
.academic-term-total { text-align:right; font-size:.76rem; color:var(--navy-950); }
.academic-course-wrap { max-width:100%; overflow:auto; }
.academic-course-table { width:100%; min-width:620px; text-align:left; border-collapse:collapse; font-size:.78rem; }
.academic-course-table th,.academic-course-table td { padding:9px 10px; }
.academic-course-table thead { color:#42576b; background:#f5f8fb; font-size:.71rem; text-transform:uppercase; letter-spacing:.03em; }
.academic-course-table td { color:var(--navy-950); border-top:1px solid #e6edf2; vertical-align:middle; }
.academic-course-table td:nth-child(4),.academic-course-table td:nth-child(5),.academic-course-table th:nth-child(4),.academic-course-table th:nth-child(5) { text-align:center; }
.academic-course-table td:nth-child(2) { min-width:180px; }
.academic-course-table td:first-child .academic-status,.academic-course-table td:last-child small { display:block; margin-top:4px; }
.academic-course-table td:last-child small { color:#526779; }
.academic-course-table tr[data-academic-state="dropped"] { background:#fffafa; box-shadow:inset 3px 0 #c45d54; }
.academic-course-table tr[data-academic-state="withdrawn"] { background:#fffdf8; box-shadow:inset 3px 0 #c5984d; }
.academic-plan-terms { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.academic-plan-term { min-width:0; overflow:hidden; border:1px solid #dae5dd; border-radius:8px; }
.academic-plan-term>h3 { margin:0; padding:8px; border-bottom:1px solid #dae5dd; background:#f2f7f3; }
.academic-plan-term ul { list-style:none; padding:0; margin:0; }
.academic-plan-requirement { display:flex; align-items:flex-start; gap:6px; padding:8px; }
.academic-plan-requirement+.academic-plan-requirement { border-top:1px solid #e8edef; }
.academic-plan-requirement>div { display:grid; flex:1; min-width:0; gap:2px; color:var(--navy-950); font-size:.75rem; overflow-wrap:anywhere; }
.academic-plan-requirement small { color:#526779; }
.academic-requirement-checkbox { display:grid; width:16px; height:16px; place-items:center; flex:none; border:1px solid #aebbcb; border-radius:4px; color:#fff; }
.academic-requirement-checkbox[aria-checked="true"] { border-color:#2d7e49; background:#2d7e49; }
.academic-plan-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:8px 0; }
.academic-layout-buttons,.academic-page-controls { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.academic-layout-buttons button[aria-pressed="true"] { border-color:#7ba18a; color:#215638; background:#edf6ee; }
.academic-page-controls strong { font-size:.77rem; color:#526779; }
.academic-plan-pages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
[data-academic-plan-layout="single"] .academic-plan-pages { grid-template-columns:minmax(0,1fr); }
.academic-plan-page { min-width:0; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:#fff; }
.academic-plan-page figcaption { display:flex; justify-content:space-between; gap:7px; padding:8px 10px; border-bottom:1px solid #e3e9ef; color:var(--navy-950); font-size:.76rem; }
.academic-plan-page figcaption span { color:#526779; }
.academic-plan-page-scroll { width:100%; overflow:auto; }
.academic-plan-canvas { position:relative; width:100%; max-width:1080px; margin:auto; }
.academic-plan-canvas img { display:block; width:100%; height:auto; }
.academic-plan-canvas>svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.academic-plan-marker rect { fill:#fff; stroke:#309757; stroke-width:4px; }
.academic-plan-marker path { fill:none; stroke:#176832; stroke-width:4px; stroke-linecap:round; stroke-linejoin:round; }
.academic-plan-marker[data-mark="in_progress"] rect { fill:#fff8e1; stroke:#c18c24; }
.academic-plan-marker circle { fill:#a36d0b; }
@media (max-width:780px) {
  .academic-plan-pages { grid-template-columns:minmax(0,1fr); }
  .academic-plan-canvas { min-width:520px; }
  .academic-plan-terms { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .academic-record-view-switch,.academic-plan-terms { grid-template-columns:minmax(0,1fr); }
  .academic-record-surface,.academic-history-panel { padding:9px; }
  .academic-summary,.academic-plan-credits { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .academic-summary>.fact,.academic-plan-credits>.fact { border-bottom:1px solid #e3e9ef; }
  .academic-summary>.fact:nth-child(2n),.academic-plan-credits>.fact:nth-child(2n) { border-right:0; }
  .academic-term-total { text-align:left; }
}
