:root {
  /* Oklahoma State primary palette: https://brand.okstate.edu/branding-guidelines/colors */
  --ink: #151515;
  --muted: #5e5e5e;
  --cream: #f6f6f6;
  --paper: #ffffff;
  --black: #000000;
  --accent-ink: #ad4000;
  --accent-soft: #fff1e8;
  --orange: #F56600;
  --orange-soft: #fff1e8;
  --line: #d8d8d8;
  --danger: #a33a2c;
  --shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { padding-bottom: var(--toast-clearance, 0px); max-width: 920px; margin: 0 auto; min-height: 100vh; background: var(--cream); display:flex; flex-direction:column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: rgba(0,0,0,.96); color: white; backdrop-filter: blur(14px); border-bottom: 3px solid var(--orange); }
.brand { display: flex; gap: 10px; align-items: center; border: 0; color: white; background: transparent; padding: 0; text-align: left; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px 14px 14px 5px; color: var(--black); background: var(--orange); font-family: Georgia, serif; font-size: 24px; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.brand small { color: #d2d2d2; font-size: 11px; margin-top: 1px; }
.avatar-button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--orange); background: var(--orange); color: var(--black); box-shadow: 0 3px 14px rgba(254,92,0,.3); font-weight: 800; }
main { flex:1; padding:18px; outline:none; }
.eyebrow { margin: 0 0 8px; color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin-top: 0; }
h1 { font-size: clamp(32px, 8vw, 56px); line-height: .98; letter-spacing: -.035em; margin-bottom: 14px; }
h2 { font-size: 27px; margin-bottom: 8px; }
h3 { font-size: 20px; margin-bottom: 6px; }
p { line-height: 1.55; }
.muted { color: var(--muted); }
.hero { position: relative; overflow: hidden; padding: 28px 24px; border-radius: 28px; background: var(--black); color: white; box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; bottom: -130px; border: 42px solid rgba(255,255,255,.08); border-radius: 50%; }
.hero p { color: #e0e0e0; max-width: 510px; }
.hero .eyebrow { color: var(--orange); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 17px; border: 1px solid transparent; border-radius: 14px; background: var(--orange); color: var(--black); font-weight: 800; text-decoration: none; }
.button.secondary { background: white; color: var(--black); border-color: var(--line); }
.button.ghost { background: transparent; color: var(--black); border-color: var(--line); }
.button.danger { color: var(--danger); border-color: #edc9c3; background: white; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.brand:focus-visible, .avatar-button:focus-visible, .account-signin:focus-visible, .button:focus-visible, .bottom-nav button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.grid { display: grid; gap: 14px; margin-top: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 7px 24px rgba(0,0,0,.05); }
.card.accent { background: var(--orange-soft); border-color: #ffd8c2; }
.stat strong { display: block; font: 700 28px Georgia, serif; color: var(--black); }
.stat span { color: var(--muted); font-size: 13px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 28px 2px 12px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.link-button { color: var(--accent-ink); background: transparent; border: 0; font-weight: 800; padding: 6px 0; }
.progress { height: 10px; border-radius: 999px; background: #e8e8e8; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.plan-summary { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--black); font-size: 12px; font-weight: 800; }
.status-pill.warn { background: var(--orange-soft); color: #8b3a10; }
.program-list { display: grid; gap: 10px; }
.program-row { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: white; color: inherit; }
.program-row:hover { border-color: var(--accent-ink); }
.program-row:disabled { opacity: .55; cursor: not-allowed; }
.program-row h3, .program-row p { margin: 0; }
.program-row p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.saved-plan-list { display: grid; gap: 10px; }
.saved-plan-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); text-align: left; }
.saved-plan-row.active { border-color: var(--orange); background: var(--orange-soft); }
.saved-plan-row strong, .saved-plan-row small { display: block; }
.saved-plan-row strong { overflow-wrap: anywhere; }
.saved-plan-row small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.saved-plan-controls { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.saved-plan-controls button { min-height: 38px; padding: 0 11px; border-radius: 9px; font-size: 12px; font-weight: 800; }
.saved-plan-continue { border: 1px solid var(--orange); background: var(--orange); color: var(--black); }
.saved-plan-delete { border: 1px solid #d8a9a1; background: white; color: var(--danger); }
.saved-plan-controls button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.saved-plan-picker { max-width: 480px; margin: 18px 0; }
.course-list { display: grid; gap: 10px; }
.course { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.course input { width: 22px; height: 22px; accent-color: var(--accent-ink); }
.course-code { font-weight: 850; letter-spacing: .02em; }
.course-title { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.course-title-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.course-title-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.required-math { display: inline-block; margin-left: 7px; padding: 2px 6px; border-radius: 6px; background: var(--orange-soft); color: var(--accent-ink); font-size: 10px; font-weight: 800; }
.availability { display: block; width: fit-content; margin-top: 6px; padding: 3px 7px; border-radius: 999px; background: var(--orange-soft); color: var(--accent-ink); font-size: 11px; font-weight: 750; }
.prerequisite { display: block; color: #7c4a25; font-size: 12px; line-height: 1.35; margin-top: 5px; }
.credits { color: var(--muted); font-size: 13px; white-space: nowrap; }
.course-actions { display: grid; justify-items: end; gap: 7px; }
.term-label { display: grid; gap: 3px; width: 156px; }
.term-label > span { font-size: 11px; font-weight: 750; color: var(--muted); }
.term-picker { width: 100%; min-height: 40px; padding: 0 7px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--black); font-size: 13px; font-weight: 750; }
.term-picker:focus { outline: 3px solid rgba(254,92,0,.24); border-color: var(--orange); }
.drag-handle { display: inline-block; padding: 0 8px; color: var(--muted); cursor: grab; touch-action: none; user-select: none; }
.drag-handle:active { cursor: grabbing; }
.plan-settings { display: grid; gap: 16px; }
.plan-guidance { margin: 0; }
.plan-settings-controls, .plan-schedule-controls { display: grid; gap: 14px; }
.plan-schedule-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; }
.plan-settings .field { margin-top: 0; }
.plan-schedule-controls .field { margin: 0; }
.plan-settings .button { justify-self: start; margin-bottom: 1px; }
.plan-settings .start-term-field select { min-height: 64px; padding: 0 18px; border-width: 2px; border-radius: 16px; font-size: 18px; font-weight: 800; }
.plan-settings .start-term-field select option { font-size: 18px; }
.schedule-action { display: grid; gap: 7px; }
.schedule-action > span { font-size: 13px; font-weight: 800; }
.plan-settings .schedule-action .button { width: 100%; min-height: 64px; margin: 0; justify-self: stretch; }
.semester-empty .course-list { min-height: 76px; border: 1px dashed #bbbbbb; border-radius: 16px; align-items: center; }
.empty-summer { margin: 0; padding: 16px; color: var(--muted); font-size: 13px; }
.semester.drag-over .course-list { background: var(--accent-soft); border-color: var(--accent-ink); }
.semester-layout-controls { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 14px; }
.semester-layout-controls .button { min-height:40px; padding:8px 12px; font-size:13px; }
.semester-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; align-items:start; }
.semester-grid .semester { min-width:0; margin:0; padding:14px; border:1px solid var(--line); border-radius:16px; background:var(--paper); }
.semester-grid .semester > .planning-disclosure { margin:0; }
.semester-grid .semester.drag-over { outline:3px solid var(--orange); background:var(--orange-soft); }
.semester-grid .semester.drag-over > .planning-disclosure > summary { background:var(--orange-soft); }
.semester-grid .semester.drop-unavailable { outline:3px solid #b3261e; background:#fff4f2; }
@media (min-width:880px) {
  body:has(#semester-plan) .app-shell { max-width:1280px; }
  .semester-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  /* Give open course lists their own row so later collapsed headers stay together. */
  .semester-grid .semester:has(> .planning-disclosure[open]) { grid-column:1 / -1; }
  .semester-grid .semester-wide { grid-column:1 / -1; }
  .semester-grid .course { grid-template-columns:30px minmax(0,1fr); }
  .semester-grid .course-actions { grid-column:2; width:100%; grid-template-columns:minmax(0,1fr) auto; align-items:end; justify-items:stretch; }
  .semester-grid .course-actions .credits { grid-column:1; grid-row:1; align-self:center; }
  .semester-grid .course-actions .drag-handle { grid-column:2; grid-row:1; justify-self:end; }
  .semester-grid .course-status-label,.semester-grid .term-label { grid-column:1 / -1; width:100%; }
  .semester-grid .course-status-label select { max-width:none; width:100%; }
}
.print-sheet { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.choice-box { padding: 16px; border-radius: 18px; background: var(--orange-soft); border: 1px solid #ffd5be; margin-bottom: 12px; }
.choice-box label { display: block; margin-top: 10px; }
.elective-help { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius:12px; background:#f1f1f1; }
.elective-help summary { cursor: pointer; color: var(--black); font-size: 14px; font-weight: 800; }
.elective-help summary:focus-visible { outline: 3px solid rgba(254,92,0,.3); outline-offset: 3px; }
.elective-help ul { margin: 11px 0; padding-left: 21px; line-height: 1.5; }
.elective-help li { margin: 5px 0; font-size: 14px; }
.elective-help p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 7px; margin: 14px 0; }
.field span, .field > label { font-size: 13px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 13px; padding: 0 13px; background: white; color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid rgba(254,92,0,.24); border-color: var(--orange); }
.field textarea { width: 100%; min-height: 130px; border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; background: white; color: var(--ink); resize: vertical; }
.field textarea:focus { outline: 3px solid rgba(254,92,0,.24); border-color: var(--orange); }
.password-box { position: relative; display: block; width: 100%; }
.password-box input { padding-right: 72px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-width: 56px; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--accent-ink); font-size: 13px; font-weight: 800; }
.password-toggle:focus-visible { outline: 3px solid var(--orange); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #e9e9e9; border-radius: 14px; padding: 4px; margin: 18px 0; }
.tabs button { border: 0; border-radius: 11px; min-height: 42px; background: transparent; color: var(--muted); font-weight: 800; }
.tabs button.active { background: white; color: var(--black); box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.notice { padding: 13px 14px; border-radius: 14px; color: var(--black); background: #ededed; border-left: 3px solid var(--orange); font-size: 13px; line-height: 1.45; }
.notice.warn { background: var(--orange-soft); color: #78320c; }
.empty { padding: 28px 18px; text-align: center; border: 1px dashed #bbbbbb; border-radius: 20px; color: var(--muted); }
.bottom-nav { position:static; width:100%; display:grid; grid-template-columns:repeat(3,1fr); gap:4px; margin-top:auto; padding:12px 18px max(12px, env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--paper); }
.bottom-nav button { display: grid; gap: 2px; place-items: center; min-height: 54px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.bottom-nav button span { font-size: 22px; line-height: 1; }
.bottom-nav button.active { background: var(--black); color: var(--orange); }
.bottom-nav button.active span { color: var(--orange); }
/* Keep live regions mounted. Only movement animates; readable text never fades. */
#toast { position: fixed; z-index: 30; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: calc(100% - 36px); width: max-content; border-radius: 13px; background: var(--black); color: white; pointer-events: none; font-size: 13px; overflow-wrap: anywhere; max-height: calc(100dvh - 110px); overflow-y: auto; }
#toast.show { padding: 12px 16px; transform: translate(-50%, 0); transition: transform .2s ease; box-shadow: var(--shadow); pointer-events: auto; }
#dismissToast { margin-left: 12px; border: 1px solid currentColor; border-radius: 4px; padding: 4px 8px; background: transparent; color: inherit; font: inherit; }
#dismissToast:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #toast.show { transition: none; } }
.sync-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #999999; }
.sync-dot.online { background: var(--black); }
.sync-dot.pending { background: var(--orange); }
.semester { margin: 16px 0 22px; }
.semester-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.semester-head h3 { margin: 0; }
.semester-total { font-size: 12px; font-weight: 800; color: var(--muted); }
.footer-note { font-size: 12px; color: var(--muted); margin-top: 28px; }
.hidden { display: none !important; }

@media (min-width: 720px) {
  main { padding: 28px 32px 120px; }
  .hero { padding: 42px; }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-schedule-controls { grid-template-columns: minmax(300px, 1fr) minmax(240px, 1fr); column-gap: 20px; }
}
@media (max-width: 520px) {
  .grid.two { grid-template-columns: 1fr; }
  .plan-summary { grid-template-columns: 1fr; }
  .saved-plan-row { grid-template-columns: 1fr; }
  .saved-plan-controls { justify-content: start; }
  .course { grid-template-columns: 30px minmax(0, 1fr); }
  .course-actions { grid-column: 2; width: 100%; grid-template-columns: auto 1fr auto; align-items: end; justify-items: stretch; }
  .course-actions .credits { align-self: center; }
  .term-label { width: 100%; }
}
@media print {
  @page { size: letter; margin: .55in; }
  html, body, .app-shell { width: 100%; margin: 0; background: white; color: #111; font-family: Arial, sans-serif; }
  body:has(#semester-plan) .app-shell { max-width:none; }
  .topbar, .bottom-nav, #toast, main > :not(.print-sheet) { display: none !important; }
  main { padding: 0; }
  .print-sheet { display: block; }
  .print-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 3px solid #111; padding-bottom: 10px; }
  .print-header p { margin: 0 0 4px; font-size: 10pt; }
  .print-header h1 { margin: 0 0 7px; font: 700 20pt Georgia, serif; line-height: 1.1; }
  .print-header-total { min-width: 90px; text-align: right; }
  .print-header-total strong { display: block; font-size: 21pt; }
  .print-header-total span { font-size: 9pt; }
  .print-meta { margin: 10px 0 14px; font-size: 9pt; }
  .print-table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 9pt; }
  .print-table th, .print-table td { border: 1px solid #888; padding: 5px 7px; vertical-align: top; text-align: left; }
  .print-table thead th { background: #e7e7e7; border-color: #333; }
  .print-table th:nth-child(1), .print-table td:nth-child(1) { width: 18%; }
  .print-table th:nth-child(3), .print-table td:nth-child(3) { width: 10%; }
  .print-table th:nth-child(4), .print-table td:nth-child(4) { width: 15%; }
  .print-table .print-term-heading th { background: #f0f0f0; border-top: 2px solid #333; font-weight: 700; }
  .print-table .print-subtotal td { background: #f8f8f8; font-weight: 700; }
  .print-table .print-number { text-align: right; }
  .print-table .print-empty { color: #555; font-style: italic; }
  .print-table tfoot th, .print-table tfoot td { border-top: 2px solid #111; font-weight: 700; }
  .print-term { break-inside: avoid; }
  .print-note { margin-top: 14px; color: #444; font-size: 8pt; line-height: 1.35; overflow-wrap: anywhere; }
}

/* Degree planning: native buttons provide keyboard and touch access to SVG milestones. */
.graduation-roadmap h2,.graduation-readiness h2 { margin-top:0; }
.roadmap-layout { display:grid; grid-template-columns:minmax(190px,1fr) minmax(0,1.3fr); gap:24px; align-items:start; }
.roadmap-scroll { max-height:448px; overflow-y:auto; border-radius:12px; background:#faf8f5; }
.roadmap-map { position:relative; }
.roadmap-path { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.roadmap-milestones { position:relative; list-style:none; padding:0; margin:0; }
.roadmap-milestones li { height:112px; }
.roadmap-milestones button { display:block; position:relative; width:100%; height:112px; text-align:left; border:2px solid transparent; border-radius:10px; background:transparent; color:#111; padding:0; font:inherit; cursor:pointer; }
.roadmap-milestones button[aria-pressed="true"] { border-color:#555; background:transparent; }
.roadmap-milestones button:focus-visible { outline:3px solid #111; outline-offset:-4px; }
.roadmap-marker { position:absolute; top:14px; left:calc(11.25% - 32px); }
.roadmap-milestones li:nth-child(even) .roadmap-marker { left:auto; right:calc(11.25% - 32px); }
.milestone-label { position:relative; display:block; margin-left:23%; margin-right:6px; padding:6px; border-radius:6px; background:#faf8f5; }
.roadmap-milestones li:nth-child(even) .milestone-label { margin-left:6px; margin-right:23%; text-align:right; }
.milestone-label span { display:block; font-size:.85rem; margin-top:5px; }
.roadmap-courses { min-width:0; overflow-wrap:anywhere; }
.roadmap-courses ul { padding-left:20px; }
.roadmap-courses li { margin-bottom:12px; }
.pace-loads { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.pace-controls input { width:100%; min-height:44px; box-sizing:border-box; }
.graduation-checklist { display:grid; gap:14px; margin:20px 0; }
.graduation-checklist label { display:flex; align-items:start; gap:10px; }
.graduation-checklist input { flex:none; width:22px; height:22px; }
@media(max-width:600px) { .roadmap-layout { grid-template-columns:1fr; gap:12px; } .roadmap-scroll { max-height:336px; } .pace-loads { grid-template-columns:1fr; } }
@media print { .graduation-roadmap,.graduation-readiness,.pace-controls { display:none; } }

.published-schedule-summary h2 { margin-top:0; }
.course > .published-offering,.course > .offering-estimate,.course > .offering-unavailable { grid-column:1 / -1; margin:8px 0 0; overflow-wrap:anywhere; }
.published-offering { border-top:1px solid #ccc; padding-top:12px; min-width:0; }
.offering-badge { display:inline-block; color:#111; background:#fff2e6; border:1px solid #a54000; border-radius:6px; padding:4px 8px; font-weight:700; }
.offering-estimate { color:#444; font-style:italic; }
.offering-unavailable { color:#8c2300; font-weight:600; }
.published-offering select { max-width:100%; min-width:0; }
.schedule-alerts { margin-top:16px; }

/* Disclosures and reported progress stay inside the existing degree-plan page. */
.planning-disclosure { min-width:0; margin:8px 0; }
.planning-disclosure > summary,.elective-help > summary { display:grid; grid-template-columns:minmax(0,1fr) 28px; align-items:start; gap:8px 12px; min-height:48px; padding:10px 4px; cursor:pointer; list-style:none; border-radius:8px; }
.planning-disclosure > summary::-webkit-details-marker,.elective-help > summary::-webkit-details-marker { display:none; }
.planning-disclosure > summary:focus-visible,.elective-help > summary:focus-visible { outline:3px solid #111; outline-offset:2px; }
.disclosure-icon { display:inline-grid; place-items:center; width:28px; height:28px; grid-column:2; grid-row:1; justify-self:end; border:0; border-radius:0; outline:none; box-shadow:none; background:none; color:inherit; font-size:20px; font-weight:400; }
.disclosure-icon::before { content:'+'; }
.planning-disclosure[open] > summary > .disclosure-icon::before,.elective-help[open] > summary > .disclosure-icon::before { content:'−'; }
.disclosure-heading { font-weight:800; font-size:1.12rem; grid-column:1; grid-row:1; min-width:0; line-height:28px; text-align:left; overflow-wrap:anywhere; }
.disclosure-summary { display:block; grid-column:1 / -1; grid-row:2; padding-left:0; font-size:.85rem; color:#444; }
.disclosure-body { padding:4px 0 10px; min-width:0; }
.disclosure-body .planning-disclosure { border-top:1px solid #ddd; }
.course-offering-panel,.course-planning-labels { grid-column:1 / -1; min-width:0; }
.course-planning-labels p { margin:4px 0; font-size:.85rem; }
.planning-warning { color:#7f2300; border-left:3px solid #F56600; padding:6px 10px; background:#fff5ee; }
.planning-evidence,.student-course-status,.planning-disclaimer { color:#444; font-size:.85rem; }
.student-course-status { display:block; font-weight:600; margin-top:6px; }
.course-status-label { display:grid; gap:4px; font-size:.8rem; }
.course-status-label select { max-width:180px; min-height:44px; color:#111; border:1px solid #777; border-radius:8px; padding:8px; background:white; }
.published-table-scroll { width:100%; max-height:420px; overflow:auto; border:1px solid #bbb; border-radius:8px; }
.published-table { border-collapse:collapse; min-width:800px; width:100%; font-size:.82rem; }
.published-table th,.published-table td { text-align:left; vertical-align:top; padding:10px; border-bottom:1px solid #ddd; }
.published-table thead { background:#fff2e6; color:#111; position:sticky; top:0; }
.advisor-reminder { margin-top:12px; }
.semester > .planning-disclosure { margin-top:14px; }
@media(max-width:600px) { .course-status-label select { max-width:100%; } .disclosure-heading { font-size:1rem; } .disclosure-summary { padding-left:0; } }
.course input[data-course] { width:28px; height:28px; margin:0; cursor:pointer; accent-color:#F56600; }
.course input[data-course]:focus-visible { outline:3px solid #111; outline-offset:3px; }

.elective-recommendations { padding-left:20px; }
.elective-recommendations li { padding:8px 0; overflow-wrap:anywhere; }
.elective-recommendations .planning-evidence { display:block; }

/* Course-level planning: one availability result per requirement. */
.course-code { display:flex; align-items:center; flex-wrap:wrap; gap:6px 8px; }
.availability-badge { display:inline-block; padding:3px 7px; border:1px solid #777; border-radius:5px; background:#f3f3f3; color:#333; font-size:12px; line-height:1.5; font-weight:700; white-space:normal; }
.availability-badge[data-availability="Published"] { background:#fff2e6; border-color:#8a3900; color:#6a2900; }
.availability-badge[data-availability="Projected"] { background:#fff; border-style:dashed; color:#444; }
.availability-badge[data-availability="Not Offered"] { background:#fff0eb; color:#7f2300; border-color:#7f2300; }
.availability-badge[data-availability="Completed"] { background:#F56600; border-color:#111; color:#111; }
.semester-availability { padding:4px 0 12px; font-size:.85rem; }
.semester-availability p { margin:6px 0; }
.availability-counts { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:8px 0; }
.availability-confirmation { color:#333; font-weight:600; }
.source-note { color:#555; font-size:.8rem; }
.explore-panel { background:#f1f1f1; border:1px solid var(--line); border-radius:12px; padding:10px 14px; margin-bottom:18px; }
.explore-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.explore-filters select { width:100%; min-width:0; }
.explore-results { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-height:460px; overflow:auto; }
.explore-results li { display:flex; flex-direction:column; gap:6px; padding:12px; border:1px solid #ccc; background:white; border-radius:8px; overflow-wrap:anywhere; }
.explore-results small { color:#555; }
#semester-plan,#degree-plan-setup { min-width:0; margin-bottom:24px; }
@media(max-width:600px) { .explore-filters,.explore-results { grid-template-columns:1fr; } }

.explore-results:focus-visible { outline:3px solid #111; outline-offset:2px; }

.account-signin { min-height:40px; padding:8px 12px; border:1px solid #F56600; border-radius:10px; background:transparent; color:white; font-weight:700; }
.account-signin[hidden],.bottom-nav button[hidden] { display:none; }
.bottom-nav.is-signed-in { grid-template-columns:repeat(4,1fr); }
.account-profile-icon { display:block; width:22px; height:22px; }

.bottom-nav svg { display:block; width:22px; height:22px; }
.builder-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:20px 0; }
.builder-steps button { width:100%; min-height:64px; padding:10px 6px; border:1px solid #999; border-radius:10px; background:white; color:#222; font-size:.85rem; }
.builder-steps [aria-current="step"] { background:#fff1e8; border:2px solid #111; font-weight:800; }
.builder-steps button:focus-visible { outline:3px solid #111; outline-offset:2px; }
.builder-steps button:disabled { color:#666; background:#eee; cursor:not-allowed; }
.builder-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.builder-fields .field { min-width:0; }
.builder-fields input,.builder-fields select { width:100%; min-width:0; }
.builder-error { color:#8c2300; font-weight:700; }
.builder-review dl { display:grid; grid-template-columns:minmax(110px,1fr) 2fr; gap:10px; }
.builder-review dt { font-weight:700; }.builder-review dd { margin:0; overflow-wrap:anywhere; }
.builder-courses { max-height:380px; overflow:auto; padding:0 0 0 20px; }
.builder-warning label { display:flex; align-items:start; gap:10px; }.builder-warning input { min-width:24px; height:24px; }
.builder-catalog .program-list { max-height:360px; overflow:auto; }
.builder-step-heading:focus { outline:none; }
@media(max-width:600px) { .builder-fields { grid-template-columns:1fr; }.builder-steps button { font-size:.76rem; }.builder-review dl { grid-template-columns:1fr;gap:4px; }.builder-review dd { margin-bottom:10px; } }

.builder-choices { border:0; margin:0; padding:0; min-width:0; }
.prior-degree-import { margin:20px 0; padding:18px; border:1px solid #d9d9d9; border-radius:18px; background:#f7f7f7; }
.prior-degree-import h3 { margin-top:0; }
.prior-degree-import .field select { width:100%; }
.prior-degree-import .actions { justify-content:flex-start; flex-wrap:wrap; }

/* Shared saved-plan dashboard and URL-addressable semester details. */
.overview-stats { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0; }
.overview-stats .card { display:flex;flex-direction:column;gap:8px;padding:18px;min-width:0; }
.overview-stats strong { font-size:1.25rem;overflow-wrap:anywhere; }
.overview-stats small { color:var(--muted); }
.semester { scroll-margin-top:90px; }
.semester summary:focus-visible { outline:3px solid var(--orange);outline-offset:3px; }
@media(max-width:700px) { .overview-stats { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }.overview-stats .card { padding:14px; } }
.previous-coursework { display:grid;gap:14px;min-width:0; }
.previous-course-list { display:grid;gap:8px;max-height:420px;overflow:auto; }
.previous-course-row { display:grid;grid-template-columns:minmax(0,1fr) minmax(155px,190px);align-items:center;gap:12px;padding:10px;border:1px solid #d7d7d7;border-radius:10px;background:white; }
.previous-course-row[hidden] { display:none; }
.previous-course-row select { width:100%;min-height:44px; }
.previous-course-row:focus-within { outline:2px solid #F56600; }
@media(max-width:700px) { .builder-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }.previous-course-row { grid-template-columns:1fr; } }
