@charset "UTF-8";
@import url("./detail.css?v=3.1.0");

:root {
  color-scheme: light;
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --ink: #172131;
  --muted: #536174;
  --faint: #657386;
  --line: #dfe4eb;
  --accent: #285a97;
  --violet: #755d97;
  --green: #258065;
  --orange: #bd5b3b;
  --panel: var(--surface);
  --shadow: 0 12px 40px #17213120;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2,.7,.3,1);
  --radius: 8px;
  --header: 60px;
  --sidebar: 274px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161c25;
  --surface: #202833;
  --surface-2: #27313e;
  --ink: #ebeff5;
  --muted: #bbc6d5;
  --faint: #a3b1c5;
  --line: #374252;
  --accent: #91b8e8;
  --green: #83c6ad;
  --orange: #e5a28a;
  --violet: #b5a3d2;
  --shadow: 0 12px 40px #0004;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; padding: 0; background: transparent; cursor: pointer; }
button, a, input, summary, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { font-weight: 600; line-height: 1.4; letter-spacing: 0; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button svg { pointer-events: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #b7cbe5; color: #162c49; }
input[type=number] { appearance: textfield; }
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button { appearance: none; }
input[type=search]::-webkit-search-cancel-button { appearance: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 12px; background: var(--surface); padding: 12px; z-index: 200; }
.skip:focus { top: 8px; }

/* A compact navigation bar and a persistent, ordinary query workspace. */
.topbar { display: flex; align-items: center; gap: 24px; height: var(--header); padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand strong { font-size: 20px; letter-spacing: .03em; }
.brand-description { color: var(--faint); font-size: 13px; border-left: 1px solid var(--line); margin-left: 5px; padding-left: 14px; }
.topbar nav { display: flex; gap: 4px; height: 100%; align-items: stretch; margin-left: auto; }
.nav { padding: 0 18px; font-size: 14px; font-weight: 500; color: var(--muted); position: relative; white-space: nowrap; }
.nav:hover { color: var(--accent); background: var(--surface-2); }
.nav.active { color: var(--accent); }
.nav.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--accent); }
.nav > span { font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.command-button { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); min-height: 40px; }
kbd { font: 12px var(--font); padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--faint); background: var(--surface-2); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-height: 36px; border-radius: 5px; font-size: 24px; color: var(--muted); }
.icon-button:hover { background: var(--surface-2); color: var(--accent); }
.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); min-height: calc(100dvh - var(--header)); }
.query-sidebar { position: sticky; top: var(--header); height: calc(100dvh - var(--header)); overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 16px; border-right: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.shell { min-width: 0; padding: 26px 28px 40px; margin: 0; }
.position-card { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.panel-heading,.filter-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-heading h2,.filter-header h2 { font-size: 15px; }
.quiet-badge { display: inline-block; color: var(--faint); font-size: 12px; line-height: 1.5; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }
.position-top { margin-top: 14px; }
.segmented { display: flex; background: var(--surface-2); border: 1px solid var(--line); padding: 3px; border-radius: 6px; }
.segmented button { flex: 1; min-height: 34px; font-size: 14px; color: var(--muted); border-radius: 4px; }
.segmented button[aria-pressed=true] { background: var(--surface); box-shadow: 0 1px 3px #17213116; color: var(--ink); font-weight: 600; }
.score-edit { display: flex; align-items: center; gap: 6px; margin-top: 15px; height: 54px; }
.score-edit input { width: 96px; min-width: 0; padding: 0; background: transparent; border: 0; font-size: 40px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.score-edit > span { font-size: 14px; color: var(--muted); align-self: end; padding-bottom: 10px; }
.score-step { display: flex; flex-direction: column; gap: 3px; margin-left: 3px; }
.score-step button { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 4px; font-size: 16px; line-height: 1; }
.score-step button:hover { background: var(--surface-2); }
.mode-switch { font-size: 12px; color: var(--accent); margin-left: auto; white-space: nowrap; min-height: 38px; }
.rank-mode .score-edit input { font-size: 30px; width: 126px; }
.rank-mode .score-step { display: none; }
input[type=range] { appearance: none; width: 100%; height: 24px; background: transparent; margin: 8px 0 0; cursor: pointer; --progress: 80%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg,var(--accent) var(--progress),var(--line) var(--progress)); border-radius: 2px; }
input[type=range]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
input[type=range]::-moz-range-progress { height: 4px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 3px solid var(--accent); border-radius: 50%; background: var(--surface); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid var(--accent); border-radius: 50%; background: var(--surface); }
.range-labels { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; }
.position-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.position-metrics span { display: block; font-size: 12px; color: var(--muted); }
.position-metrics strong { display: block; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.6; }
.position-note { font-size: 12px; color: var(--faint); margin-top: 2px; line-height: 1.6; }
.position-note.error { color: var(--orange); }
.subject-button { display: flex; align-items: center; gap: 7px; width: 100%; padding: 10px 0 0; font-size: 12px; color: var(--muted); text-align: left; }
.subject-button strong { color: var(--ink); font-weight: 500; }
.subject-edit { margin-left: auto; color: var(--accent); }
.filter-panel { padding: 17px 0 12px; }
.filter-header { margin-bottom: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.filter-header .text-button { font-size: 12px; min-height: 24px; }
.filter-field { display: block; margin: 0 0 12px; }
.filter-field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.filter-field select { display: block; width: 100%; min-height: 36px; font-size: 14px; padding: 5px 9px; border: 1px solid var(--line); background: var(--surface); border-radius: 5px; cursor: pointer; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-height: 30px; margin-top: 5px; }
.filter-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.advanced-filters { border-top: 1px solid var(--line); padding-top: 8px; margin: 6px 0 10px; }
.advanced-filters > summary { color: var(--muted); cursor: pointer; font-size: 13px; min-height: 32px; }
.advanced-filters[open] > summary { margin-bottom: 8px; }
.sidebar-foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; color: var(--faint); }
.sidebar-foot > button { margin-right: 16px; font-size: 12px; min-height: 28px; color: var(--muted); }
.sidebar-foot p { font-size: 12px; line-height: 1.9; margin-top: 3px; }
body[data-route=plan] .filter-panel { display: none; }

/* Results have the largest share of the viewport. */
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 19px; }
.eyebrow { font-size: 12px; color: var(--faint); font-weight: 400; letter-spacing: 0; }
.workspace-heading h1 { font-size: 24px; margin-top: 3px; }
.workspace-actions { display: flex; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--surface); font-size: 14px; position: relative; white-space: nowrap; }
.button:hover { background: var(--surface-2); border-color: var(--faint); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.button.primary:hover { filter: brightness(.92); }
.button[aria-pressed=true] { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.button.primary[aria-pressed=true] { color: var(--surface); background: var(--accent); }
.mobile-filter { display: none; }
.explore-layout,.results-workspace { min-width: 0; }
.search-bar { display: flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 0 14px; }
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 10%, transparent); }
.search-bar > svg { color: var(--faint); width: 18px; height: 18px; }
.search-bar input { flex: 1; width: 0; min-width: 0; min-height: 42px; background: transparent; border: 0; outline: 0; font-size: 15px; }
.search-bar input::placeholder { color: var(--faint); }
.search-bar > .icon-button { width: 24px; min-height: 28px; }
.quick-picks { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 0 15px; font-size: 13px; color: var(--muted); }
.quick-picks > span { margin-right: 2px; font-size: 12px; color: var(--faint); }
.quick-picks button { min-height: 28px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 13px; }
.quick-picks button:hover { color: var(--accent); border-color: var(--accent); }
.tier-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.tier-tabs { display: flex; gap: 5px; min-width: 0; }
.tier-tabs button { position: relative; min-height: 42px; padding: 0 16px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.tier-tabs button b { font-size: 12px; color: var(--faint); font-weight: 400; padding-left: 3px; font-variant-numeric: tabular-nums; }
.tier-tabs button[aria-pressed=true] { color: var(--accent); font-weight: 600; }
.tier-tabs button[aria-pressed=true]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); }
.layout-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 4px; padding: 2px; }
.layout-switch button { padding: 2px 8px; min-height: 25px; font-size: 12px; color: var(--muted); border-radius: 2px; }
.layout-switch button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #17213112; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; }
.filter-chips:empty { display: none; }
.filter-chips button { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; min-height: 28px; font-size: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: 4px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0; }
#results-count { font-size: 14px; color: var(--muted); }
#results-count strong { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
#results-count span { font-size: 12px; color: var(--faint); }
.sort-control { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--faint); }
.sort-control select { min-height: 30px; max-width: 200px; padding: 4px 6px; background: transparent; border: 0; font-size: 13px; color: var(--muted); }
.distribution-panel { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); margin-bottom: 12px; }
.distribution-panel > summary { display: flex; align-items: center; gap: 14px; padding: 9px 13px; font-size: 13px; color: var(--muted); cursor: pointer; list-style: none; }
.distribution-panel > summary::before { content: "+"; color: var(--faint); font-size: 17px; line-height: 1; }
.distribution-panel[open] > summary::before { content: "−"; }
.distribution-panel > summary small { font-size: 12px; color: var(--faint); margin-left: auto; }
.atlas-card { padding: 0 18px 14px; border-top: 1px solid var(--line); }
.atlas-top { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.atlas-top p { font-size: 12px; color: var(--faint); }
.atlas-plot { height: 250px; position: relative; margin: 10px 0 0; }
.atlas-plot svg { width: 100%; height: 100%; stroke: none; overflow: visible; }
.atlas-plot text { fill: var(--muted); font: 11px var(--font); }
.atlas-plot .star-dot { cursor: pointer; stroke: transparent; stroke-width: 12px; paint-order: stroke fill; }
.atlas-plot .star-dot:hover,.atlas-plot .star-dot:focus { r: 5; opacity: 1; stroke: var(--accent); stroke-width: 2; outline: none; }
.atlas-plot .my-line { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.atlas-plot .my-label { fill: var(--accent); font-weight: 600; }
.atlas-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--faint); }
.atlas-legend { display: flex; gap: 14px; }
.atlas-legend > span { display: flex; align-items: center; gap: 5px; }
.atlas-legend > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.atlas-tooltip { position: fixed; z-index: 70; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 12px; border-radius: 5px; font-size: 13px; max-width: 275px; pointer-events: none; }
.atlas-tooltip small { display: block; font-size: 12px; color: var(--muted); }
.loading-orbit,.inline-loading { color: var(--faint); font-size: 14px; padding: 24px; text-align: center; }
.inline-loading::after { display: none; }

/* Seven explicit data columns, plus a responsive row format. */
.list-results { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; overflow-x: auto; }
.list-table { width: 100%; min-width: 805px; border-collapse: collapse; text-align: left; font-size: 14px; }
.list-table th { padding: 11px 13px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 500; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list-table td { padding: 14px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list-table tbody tr:last-child td { border-bottom: 0; }
.list-table tbody tr:hover { background: color-mix(in srgb,var(--accent) 3%,var(--surface)); }
.identity-cell { width: 37%; min-width: 285px; max-width: 500px; }
.school-line { display: flex; align-items: center; gap: 7px; }
.card-school { font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: var(--ink); white-space: normal; }
.card-school:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.row-meta { font-size: 12px; color: var(--faint); line-height: 1.6; margin: 2px 0 5px; }
.row-meta > span { margin-left: 10px; }
.row-group { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 13px; }
.row-group > button { color: var(--accent); font-weight: 500; min-height: 24px; }
.row-group > button:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-group > span { color: var(--muted); font-size: 12px; }
.row-majors { color: var(--muted); font-size: 12px; margin-top: 1px; max-width: 410px; line-height: 1.6; }
.list-table td > small { display: block; font-size: 12px; color: var(--faint); margin-top: 4px; line-height: 1.6; }
.list-table td strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.score-cell,.rank-cell,.plan-cell { white-space: nowrap; }
.score-cell .list-score { font-size: 20px; font-weight: 600; }
.list-score > span { font-size: 12px; font-weight: 400; color: var(--faint); }
.score-cell small { max-width: 130px; white-space: normal; }
.fee-cell { font-size: 13px; line-height: 1.6; min-width: 106px; max-width: 150px; }
.band-cell { white-space: nowrap; }
.band-badge { display: inline-flex; align-items: center; padding: 3px 6px; border-radius: 4px; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; line-height: 1.5; font-weight: 500; white-space: nowrap; }
.band-badge[data-band=chong] { color: var(--orange); background: color-mix(in srgb,var(--orange) 7%,var(--surface)); border-color: color-mix(in srgb,var(--orange) 18%,var(--line)); }
.band-badge[data-band=wen] { color: var(--accent); background: color-mix(in srgb,var(--accent) 7%,var(--surface)); border-color: color-mix(in srgb,var(--accent) 18%,var(--line)); }
.band-badge[data-band=bao] { color: var(--green); background: color-mix(in srgb,var(--green) 7%,var(--surface)); border-color: color-mix(in srgb,var(--green) 18%,var(--line)); }
.band-badge[data-band=risk] { color: var(--violet); }
.actions-cell { white-space: nowrap; }
.list-actions { display: flex; align-items: center; gap: 3px; }
.list-actions .text-button { font-size: 13px; min-height: 30px; margin-right: 4px; }
.mini-action { display: grid; place-items: center; min-width: 28px; width: 28px; min-height: 30px; border: 1px solid transparent; border-radius: 4px; color: var(--faint); }
.mini-action svg { width: 16px; height: 16px; }
.mini-action:hover { color: var(--accent); border-color: var(--line); background: var(--surface-2); }
.mini-action[aria-pressed=true] { color: var(--accent); background: color-mix(in srgb,var(--accent) 9%,var(--surface)); }
.mini-action[aria-pressed=true] .bookmark { fill: currentColor; }
.tag { display: inline-flex; align-items: center; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); border-radius: 3px; font-size: 12px; font-weight: 400; line-height: 1.5; padding: 1px 5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.result-card { min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.result-card:hover { border-color: color-mix(in srgb,var(--accent) 35%,var(--line)); }
.card-overline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.card-location { font-size: 13px; color: var(--faint); margin: 5px 0 10px; }
.card-majors { font-size: 14px; color: var(--muted); margin: 12px 0; line-height: 1.7; }
.card-metrics,.compact-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 14px 0 0; margin-top: 12px; border-top: 1px solid var(--line); }
.compact-metrics { grid-template-columns: 1fr 1fr 1fr; }
.card-metrics span,.compact-metrics span { display: block; font-size: 12px; color: var(--faint); }
.card-metrics strong,.compact-metrics strong { display: block; font-size: 23px; line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-metrics strong small,.compact-metrics strong small { font-size: 12px; font-weight: 400; margin-left: 3px; color: var(--faint); }
.card-info-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; font-size: 12px; color: var(--muted); padding-top: 8px; }
.card-actions { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px; }
.card-actions .text-button { margin-right: auto; }
.school-seal,.major-glyph { display: none; }
.school-card .card-overline { justify-content: flex-start; }
.major-card h3 { font-size: 18px; }
.major-card > p { font-size: 13px; color: var(--muted); }
.major-schools { margin-top: 12px; }
.more-area { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 0; }
.more-area > span { font-size: 12px; color: var(--faint); }
.more-button { padding: 6px 28px; }
.empty-state,.plan-empty { padding: 50px 20px; text-align: center; background: var(--surface); border-radius: 6px; }
.empty-state > span,.empty-orbit { display: none; }
.empty-state h3,.plan-empty h3 { font-size: 18px; }
.empty-state p,.plan-empty p { font-size: 14px; color: var(--muted); margin: 8px auto 18px; max-width: 540px; }
.empty-state .button,.plan-empty .button { margin: 0 3px; }
footer { border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 12px; }
footer > p { font-size: 12px; }
footer > div { display: flex; gap: 14px; white-space: nowrap; }
footer button,footer a { font-size: 12px; }
footer button:hover,footer a:hover { color: var(--accent); text-decoration: underline; }

/* The data detail, comparison and saved-plan flows keep their functionality. */
dialog { border-radius: 8px; padding: 20px 24px; box-shadow: var(--shadow); max-height: 90dvh; }
dialog::backdrop { background: #17213166; backdrop-filter: none; }
dialog[open],dialog.closing,.detail-dialog[open],.detail-dialog.closing,.compare-tray { animation: none; }
.dialog-top { margin-bottom: 16px; }
.dialog-top .eyebrow { color: var(--muted); font-size: 13px; }
.modal-dialog > h2 { font-size: 24px; font-weight: 600; letter-spacing: 0; margin: 8px 0 20px; }
.modal-dialog p { font-size: 16px; line-height: 1.8; }
.detail-dialog { width: 790px; height: 100dvh; max-height: 100dvh; max-width: 95vw; margin: 0 0 0 auto; border-radius: 0; padding: 0 28px 28px; overflow-x: hidden; }
.detail-dialog .dialog-top { padding: 12px 0; margin-bottom: 18px; }
.detail-head h2 { font-size: 28px; font-weight: 600; letter-spacing: 0; margin-top: 8px; }
.detail-head .detail-sub { font-size: 14px; }
.detail-head .detail-actions { margin-top: 16px; }
.detail-section { padding: 20px 0; }
.detail-section h3 { font-size: 17px; flex-wrap: wrap; }
.detail-section h3 > small { font-size: 12px; }
.detail-stat { border-radius: 6px; background: var(--surface-2); }
.detail-stat > span,.detail-stat > small { font-size: 13px; }
.detail-stat > strong { font-size: 25px; }
.note-box { font-size: 14px; background: var(--surface-2); border-radius: 5px; line-height: 1.8; }
.note-box.warn { color: var(--orange); background: color-mix(in srgb,var(--orange) 6%,var(--surface)); }
.detail-tabs { gap: 5px; }
.detail-tabs button { font-size: 14px; border-radius: 4px; }
.major-detail { border-radius: 5px; }
.major-detail > summary { font-size: 16px; gap: 10px; }
.major-detail > summary small { font-size: 12px; }
.major-data > div > span { font-size: 12px; }
.major-data > div > strong { font-size: 14px; }
.archive-section > div { font-size: 16px; line-height: 1.9; }
.archive-section > summary { font-size: 16px; }
.history-table,.field-table { font-size: 14px; }
.history-table th,.field-table td:first-child { font-size: 13px; }
.field-table td { overflow-wrap: anywhere; }
.detail-group-button { border-radius: 5px; }
.detail-group-button strong { font-size: 15px; }
.detail-group-button small { font-size: 12px; }
.compare-table-wrap { border-radius: 5px; max-width: 100%; overflow-x: auto; }
.compare-table { font-size: 14px; }
.compare-table th { font-size: 14px; }
.compare-table td small,.compare-table th small { font-size: 12px; }
.compare-tray { border-radius: 7px; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.compare-tray > div > strong { font-size: 14px; }
#compare-names { font-size: 12px; }
.compare-name { border-radius: 4px; }
.toast { border-radius: 5px; font-size: 14px; background: var(--ink); color: var(--surface); }
.command-dialog { border-radius: 7px; }
.command-search input { font-size: 16px; }
.command-item { font-size: 14px; border-radius: 4px; }
.command-item small { font-size: 12px; }
.command-item .command-icon { font-size: 18px; color: var(--faint); }
.modal-filters .filter-field { margin-bottom: 8px; }
.modal-filters .advanced-filters { grid-column: 1/-1; }
.modal-filters .advanced-filters[open] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-filters .advanced-filters > summary { grid-column: 1/-1; }
.settings-row select { background: var(--surface-2); border-radius: 5px; }
.subject-options button,.destination-grid button { border-radius: 5px; }
.plan-summary { border-radius: 7px; box-shadow: none; background: var(--surface); }
.plan-controls { gap: 10px; flex-wrap: wrap; }
.plan-controls > div { display: flex; flex-wrap: wrap; gap: 7px; }
.plan-controls select { background: var(--surface); border-radius: 5px; min-height: 36px; font-size: 14px; }
.plan-capacity { border-radius: 6px; }
.plan-capacity p { font-size: 13px; }
.plan-spectrum h3 { font-size: 16px; }
.spectrum-counts > div { font-size: 12px; }
.plan-other { font-size: 13px; }
.plan-row { border-radius: 6px; box-shadow: none; padding: 15px; }
.plan-row h3 { font-size: 17px; }
.plan-info > p { font-size: 14px; line-height: 1.8; }
.plan-note { font-size: 13px; }
.plan-note input { min-width: 0; font-size: 14px; background: var(--surface); border-radius: 4px; }
.preferred-majors button { border-radius: 4px; font-size: 13px; }
.diagnosis { border-radius: 5px; font-size: 14px; }
.plan-grip { touch-action: none; user-select: none; }
body.stage { font-size: 18px; }
body.stage .card-school { font-size: 20px; }
body.stage .list-table { font-size: 17px; }
body.stage .list-table th { font-size: 15px; }
body.stage .row-meta,body.stage .row-majors,body.stage .row-group { font-size: 15px; }
body.stage button,body.stage select { min-height: 44px; }
body.stage .filter-field span,body.stage .filter-field select { font-size: 16px; }
body.stage .score-edit { height: 72px; }
body.stage .score-edit input { font-size: 46px; }
body.stage .subject-button { flex-wrap: wrap; }
body.stage .compare-tray { bottom: 78px; }
.stage-dock { border-radius: 6px; font-size: 14px; }

@media (min-width: 1700px) {
  .shell { padding-left: 36px; padding-right: 36px; }
  .results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  :root { --sidebar: 248px; }
  .topbar { gap: 14px; padding: 0 20px; }
  .brand-description { display: none; }
  .query-sidebar { padding: 20px 16px; }
  .shell { padding: 22px 20px 36px; }
  .nav { padding: 0 13px; }
  .nav.active::after { left: 13px; right: 13px; }
  .identity-cell { min-width: 270px; }
}
@media (max-width: 960px) {
  .app-shell { display: block; }
  .query-sidebar { position: static; height: auto; padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .query-sidebar .filter-panel,.sidebar-foot { display: none; }
  .position-card { display: grid; grid-template-columns: minmax(210px,1fr) minmax(220px,1fr); gap: 0 28px; border: 0; padding: 0; position: relative; }
  .panel-heading { grid-column: 1; }
  .position-top { grid-column: 1; margin-top: 8px; }
  .score-edit { grid-column: 1; margin-top: 9px; }
  #score-range { grid-column: 1; margin-top: 5px; }
  .range-labels { grid-column: 1; }
  .position-metrics { grid-column: 2; grid-row: 2/4; margin-top: 8px; align-self: center; }
  .position-metrics strong { font-size: 25px; }
  .position-note { grid-column: 2; grid-row: 4; }
  .subject-button { grid-column: 2; grid-row: 5; padding-top: 0; }
  .mobile-filter { display: inline-flex; }
  .shell { padding-top: 20px; }
  .plan-summary { grid-template-columns: 1fr; }
  .list-table { min-width: 820px; }
}
@media (max-width: 680px) {
  :root { --header: 54px; }
  .topbar { padding: 0 16px; gap: 10px; justify-content: space-between; }
  .brand strong { font-size: 18px; }
  .brand img { width: 26px; height: 26px; }
  .top-actions { margin: 0; gap: 9px; }
  .command-button kbd { display: none; }
  .command-button { font-size: 13px; }
  .topbar nav { position: fixed; bottom: 0; left: 0; right: 0; height: calc(58px + env(safe-area-inset-bottom)); padding: 0 5px env(safe-area-inset-bottom); margin: 0; background: var(--surface); border-top: 1px solid var(--line); justify-content: space-around; z-index: 60; }
  .nav { flex: 1; padding: 0 4px; font-size: 13px; min-width: 0; }
  .nav.active::after { bottom: auto; top: 0; left: 25%; right: 25%; height: 2px; }
  .nav > span { padding: 0 3px; margin-left: 2px; font-size: 11px; }
  .query-sidebar { padding: 14px 16px 12px; }
  .position-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 16px; }
  .panel-heading { grid-column: 1/-1; }
  .panel-heading h2 { font-size: 14px; }
  .position-top { margin-top: 10px; }
  .segmented { padding: 2px; }
  .segmented button { min-height: 32px; font-size: 13px; }
  .score-edit { height: 50px; gap: 4px; }
  .score-edit input { width: 81px; font-size: 36px; }
  .score-edit > span { font-size: 12px; padding-bottom: 8px; }
  .score-step { display: none; }
  .mode-switch { font-size: 12px; min-height: 32px; }
  .rank-mode .score-edit input { width: 110px; font-size: 25px; }
  .rank-mode .score-edit { flex-wrap: wrap; height: 61px; column-gap: 2px; }
  .rank-mode .mode-switch { min-height: 20px; }
  .position-metrics { grid-column: 2; grid-row: 2/4; grid-template-columns: 1fr; gap: 3px; margin-top: 8px; border-left: 1px solid var(--line); padding-left: 15px; }
  .position-metrics span { font-size: 12px; }
  .position-metrics strong { font-size: 19px; line-height: 1.5; }
  .position-note { grid-column: 1/-1; grid-row: 6; margin-top: 5px; font-size: 12px; }
  .subject-button { grid-column: 2; grid-row: 4/6; flex-wrap: wrap; align-content: center; column-gap: 5px; border-left: 1px solid var(--line); padding-left: 15px; line-height: 1.5; }
  .subject-button > span:first-child { font-size: 12px; width: 100%; }
  .subject-button strong { font-size: 12px; }
  .subject-edit { font-size: 12px; }
  .shell { padding: 17px 16px calc(84px + env(safe-area-inset-bottom)); }
  .workspace-heading { margin-bottom: 14px; gap: 8px; }
  .workspace-heading .eyebrow { font-size: 12px; }
  .workspace-heading h1 { font-size: 20px; margin-top: 3px; }
  .workspace-actions { gap: 5px; }
  .workspace-actions .button { min-height: 34px; padding: 4px 9px; font-size: 12px; }
  .workspace-actions [data-action=destinations] { display: none; }
  .search-bar { min-height: 42px; padding: 0 11px; }
  .search-bar input { font-size: 14px; min-height: 40px; }
  .quick-picks { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 10px 0 11px; scrollbar-width: none; }
  .quick-picks > span { display: none; }
  .quick-picks button { flex-shrink: 0; font-size: 12px; min-height: 29px; padding: 3px 8px; }
  .tier-row { gap: 0; }
  .tier-tabs { gap: 0; flex: 1; }
  .tier-tabs button { padding: 0 10px; min-height: 40px; font-size: 13px; }
  .tier-tabs button:first-child { padding-left: 4px; }
  .tier-tabs button b { font-size: 11px; padding-left: 1px; }
  .tier-tabs button[aria-pressed=true]::after { left: 7px; right: 7px; }
  .layout-switch { border: 0; padding: 0; margin-left: 5px; gap: 4px; }
  .layout-switch button { font-size: 11px; padding: 3px; }
  .layout-switch button[aria-pressed=true] { color: var(--accent); background: transparent; box-shadow: none; }
  .result-heading { padding: 12px 0; gap: 7px; }
  #results-count { font-size: 13px; }
  #results-count strong { font-size: 16px; }
  #results-count > span { display: none; }
  .sort-control { font-size: 12px; gap: 1px; }
  .sort-control select { font-size: 12px; max-width: 145px; padding-right: 0; }
  .distribution-panel > summary { font-size: 12px; gap: 8px; padding: 8px 10px; }
  .distribution-panel > summary small { font-size: 11px; }
  .atlas-card { padding: 0 12px 12px; }
  .atlas-top p { font-size: 12px; }
  .atlas-plot { height: 230px; }
  .atlas-bottom { align-items: start; flex-direction: column; gap: 8px; font-size: 12px; }
  .list-results { border: 0; background: transparent; overflow: visible; }
  .list-table,.list-table tbody { display: block; min-width: 0; width: 100%; }
  .list-table thead { display: none; }
  .list-table tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; overflow: hidden; position: relative; padding: 14px; gap: 10px 12px; }
  .list-table td { border: 0; display: block; padding: 0; min-width: 0; max-width: none; min-height: 0; }
  .list-table .identity-cell { grid-column: 1/-1; width: auto; max-width: none; min-width: 0; padding-right: 67px; }
  .card-school { font-size: 16px; }
  .school-line { flex-wrap: wrap; gap: 4px; }
  .school-line .tag { font-size: 11px; }
  .row-meta { font-size: 12px; margin-top: 4px; }
  .row-meta > span { display: none; }
  .row-group { font-size: 13px; gap: 6px; margin-top: 5px; }
  .row-majors { font-size: 12px; margin-top: 3px; max-width: none; }
  .score-cell,.rank-cell,.plan-cell { border-top: 1px solid var(--line) !important; padding-top: 9px !important; }
  .score-cell::before,.rank-cell::before,.plan-cell::before { display: block; content: attr(data-label); font-size: 12px; color: var(--faint); margin-bottom: 2px; }
  .score-cell .list-score { font-size: 20px; }
  .rank-cell > strong,.plan-cell > strong { display: inline-block; font-size: 17px; line-height: 1.8; }
  .list-table td.score-cell > small { font-size: 11px; margin-top: 1px; max-width: none; }
  .list-table td.plan-cell > small { display: inline; margin-left: 3px; font-size: 12px; }
  .list-table .fee-cell { grid-column: 1/3; font-size: 12px; color: var(--muted); align-self: center; }
  .list-table .band-cell { position: absolute; top: 15px; right: 14px; }
  .list-table .actions-cell { grid-column: 3; justify-self: end; }
  .list-actions { gap: 1px; }
  .list-actions .text-button { font-size: 12px; margin-right: 2px; }
  .mini-action { min-width: 28px; width: 28px; min-height: 32px; }
  .mini-action svg { width: 15px; height: 15px; }
  .results-grid { grid-template-columns: 1fr; gap: 10px; }
  .result-card { padding: 15px; }
  .compact-metrics strong { font-size: 21px; }
  footer { flex-direction: column; gap: 8px; }
  footer > div { gap: 17px; }
  .detail-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; padding: 0 16px calc(22px + env(safe-area-inset-bottom)); }
  .detail-dialog .dialog-top { padding: calc(8px + env(safe-area-inset-top)) 0 8px; margin-bottom: 17px; }
  .detail-head h2 { font-size: 25px; }
  .detail-head .detail-sub { font-size: 13px; }
  .detail-head .detail-actions { gap: 6px; }
  .detail-head .detail-actions .button { font-size: 13px; padding: 5px 9px; }
  .detail-stats { grid-template-columns: 1fr; gap: 8px; }
  .detail-stat { display: flex; align-items: baseline; flex-wrap: wrap; padding: 12px; gap: 6px 14px; }
  .detail-stat > span { width: 110px; font-size: 13px; }
  .detail-stat > strong { margin: 0; font-size: 22px; flex: 1; }
  .detail-stat > small { width: 100%; font-size: 12px; margin: 0; }
  .detail-section h3 { font-size: 16px; }
  .detail-tabs { position: sticky; top: calc(54px + env(safe-area-inset-top)); z-index: 9; background: var(--surface); padding: 8px 0; margin: 0; }
  .detail-tabs button { flex: 1; padding: 7px 4px; font-size: 13px; }
  .detail-group-button { gap: 8px; }
  .detail-group-button > div { min-width: 0; }
  .detail-group-button strong { font-size: 14px; }
  .detail-group-button > span { flex-shrink: 0; }
  .major-detail > summary { padding: 12px; font-size: 15px; }
  .major-detail > summary > div { min-width: 0; }
  .major-detail > summary > span { min-width: 75px; font-size: 14px; }
  .major-body { padding: 0 12px 14px; }
  .major-data { grid-template-columns: 1fr 1fr; gap: 10px; }
  .major-body p { font-size: 14px; }
  .history-table th,.history-table td { padding: 8px 5px; font-size: 12px; }
  .field-table td { font-size: 12px; padding: 8px 5px; }
  .field-table td:first-child { width: 42%; }
  .comparison-numbers { gap: 12px; }
  .comparison-numbers strong { font-size: 22px; }
  .modal-dialog { width: 100%; max-width: 100%; max-height: 88dvh; margin: auto 0 0; border-radius: 10px 10px 0 0; padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); }
  .modal-dialog > h2 { font-size: 22px; }
  .modal-dialog p { font-size: 15px; }
  .modal-filters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal-filters .filter-field { min-width: 0; }
  .modal-filters .filter-field select { font-size: 14px; width: 100%; }
  .settings-row { align-items: start; gap: 8px; }
  .settings-row > div { min-width: 0; }
  .settings-row p { font-size: 13px; }
  .settings-row select { max-width: 112px; font-size: 14px; }
  .destination-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .destination-grid button { min-width: 0; font-size: 14px; padding: 9px 5px; }
  .destination-grid small { font-size: 11px; }
  .help-grid { grid-template-columns: 1fr; }
  .data-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .data-stats > div { min-width: 0; }
  .command-dialog { width: calc(100% - 24px); max-width: calc(100% - 24px); margin-top: 9dvh; padding: 0; }
  .command-search { padding: 12px; gap: 8px; }
  .command-search input { font-size: 15px; min-width: 0; width: 0; }
  .command-item { padding: 10px 12px; gap: 8px; }
  .command-item > span { min-width: 0; }
  .command-item small { font-size: 12px; }
  .compare-tray { bottom: calc(68px + env(safe-area-inset-bottom)); left: 12px; right: 12px; width: auto; transform: none; max-width: none; padding: 10px 12px; gap: 7px; }
  .compare-tray > div { flex: 1; min-width: 0; }
  #compare-names { display: none; }
  .compare-tray > div > strong { font-size: 13px; }
  .compare-tray .button { font-size: 13px; min-height: 34px; padding: 5px 9px; }
  .compare-tray .icon-button { min-height: 30px; width: 26px; }
  .compare-table { min-width: 570px; }
  .compare-table th:first-child { width: 100px; }
  .plan-controls { margin: 0 0 14px; gap: 9px; }
  .plan-controls > div { gap: 6px; }
  .plan-controls .button { min-height: 34px; font-size: 12px; padding: 5px 9px; }
  .plan-controls select { font-size: 13px; max-width: 195px; }
  .plan-summary { padding: 16px; grid-template-columns: 1fr; gap: 20px; margin-bottom: 18px; }
  .plan-capacity > strong { font-size: 40px; }
  .plan-capacity p { font-size: 12px; }
  .plan-spectrum { min-width: 0; }
  .spectrum-counts { flex-wrap: wrap; }
  .spectrum-counts > div { font-size: 11px; }
  .plan-row { grid-template-columns: 24px 24px minmax(0,1fr); gap: 5px; padding: 13px 11px; position: relative; }
  .plan-grip { padding: 0; font-size: 21px; width: 24px; min-height: 32px; }
  .plan-number { font-size: 14px; padding-top: 4px; }
  .plan-info { min-width: 0; }
  .plan-info h3 { font-size: 16px; padding-right: 0; }
  .plan-info > p { font-size: 13px; }
  .plan-row-actions { grid-column: 3; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; flex-direction: row; gap: 7px; padding-top: 8px; }
  .plan-row-actions button { width: 31px; min-height: 31px; font-size: 18px; }
  .plan-note { flex-direction: column; align-items: start; gap: 4px; margin-top: 10px; }
  .plan-note input { width: 100%; padding: 8px; }
  .preferred-majors { gap: 5px; }
  .preferred-majors button { min-height: 29px; font-size: 12px; padding: 4px 7px; }
  .stage-dock { bottom: calc(64px + env(safe-area-inset-bottom)); gap: 6px; padding: 8px; max-width: calc(100% - 20px); }
  .stage-dock strong { display: none; }
  .stage-dock .button { font-size: 12px; padding: 5px 8px; }
  .toast { bottom: calc(132px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); width: max-content; font-size: 13px; }
  .keyboard-open .topbar nav,.keyboard-open .compare-tray,.keyboard-open .stage-dock { display: none; }
}
@media (max-width: 370px) {
  .query-sidebar { padding-left: 12px; padding-right: 12px; }
  .shell { padding-left: 12px; padding-right: 12px; }
  .position-card { column-gap: 11px; }
  .score-edit input { width: 72px; font-size: 32px; }
  .score-edit { gap: 2px; }
  .mode-switch { font-size: 11px; }
  .tier-tabs button { padding: 0 7px; }
  .tier-tabs button b { font-size: 10px; }
  .layout-switch button { font-size: 11px; }
  .list-table tr { padding: 12px; column-gap: 8px; }
  .identity-cell .card-school { font-size: 15px; }
  .list-table .identity-cell { padding-right: 62px; }
  .list-table .band-cell { right: 12px; top: 13px; }
  .row-group { gap: 4px; }
  .band-badge { padding: 2px 5px; font-size: 11px; }
  .list-actions { gap: 0; }
  .mini-action { min-width: 25px; width: 25px; }
}
@media (pointer: coarse) {
  .icon-button { min-height: 40px; }
  .text-button { min-height: 38px; }
  .subject-button { min-height: 40px; }
  .mini-action { min-height: 36px; }
  .filter-field select { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .app-shell { display: block; }
  .query-sidebar { display: none !important; }
  .shell { padding: 0; }
  .workspace { padding: 0; }
}

/* Saved choices use the same compact workspace as search. */
.plan-summary { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.2fr); gap: 22px; padding: 16px 18px; margin: 14px 0; border: 1px solid var(--line); }
.plan-capacity, .plan-spectrum { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.plan-capacity > strong { display: inline-block; font-size: 30px; line-height: 1.3; margin: 6px 0 0; }
.plan-capacity > strong small { font-size: 15px; }
.capacity-bar { height: 3px; margin: 7px 0; }
.capacity-bar i { background: var(--accent); }
.plan-capacity p { font-size: 12px; line-height: 1.8; }
.plan-spectrum h3 { font-size: 14px; margin: 0 0 7px; }
.spectrum-counts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.spectrum-counts > div { color: var(--muted); font-size: 12px; }
.spectrum-counts strong { font-size: 22px; color: var(--ink); margin-top: 3px; }
.plan-distribution { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 7px; }
.plan-distribution > summary { cursor: pointer; font-size: 12px; color: var(--faint); }
.plan-distribution .spectrum-track { margin: 26px 0 15px; }
.position-comparison { border-radius: 6px; background: var(--surface-2); border-color: var(--line); }
.comparison-numbers strong { font-size: 31px; font-weight: 600; }
.comparison-scale { margin-top: 18px; }
.plan-diagnosis { margin: 10px 0; }
.diagnosis { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); }
.diagnosis.good { color: var(--muted); background: var(--surface); }
.plan-empty { border: 1px solid var(--line); }
@media (max-width:680px) {
 .plan-summary { grid-template-columns: 1fr; gap: 14px; padding: 14px; margin: 14px 0; }
 .plan-spectrum { padding-top: 12px; border-top: 1px solid var(--line); }
 .plan-capacity > strong { font-size: 28px; }
 .plan-capacity p { font-size: 12px; }
 .spectrum-counts { gap: 7px; }
 .spectrum-counts > div { font-size: 11px; }
 .spectrum-counts strong { font-size: 20px; }
 .comparison-numbers strong { font-size: 24px; }
 .plan-controls { margin-bottom: 10px; }
}
@media print { .plan-summary { display: none; } }
.plan-capacity { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; align-items: center; }
.plan-capacity .eyebrow { font-size: 13px; }
.plan-capacity > strong { margin: 0; font-weight: 600; letter-spacing: 0; }
.plan-capacity .capacity-bar,.plan-capacity > p { grid-column: 1/-1; }
.plan-diagnosis { grid-template-columns: 1fr; }
@media print { .plan-diagnosis { display: block; } }
