/* CareerEquation. Brand tokens first (from brand/tokens.json); see brand/GUIDELINES.md.
   Colour carries meaning: blue = Education, mint = Earnings, amber = Personal fit. Bright blue, mint and amber
   are for shapes and dark backgrounds only; on light backgrounds text uses the darker "ink" versions. */
:root {
  --navy: #102238;
  --edu: #477BE8;
  --earn: #48D9B1;
  --fit: #F4B65C;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --edu-ink: #204EAE;
  --earn-ink: #087A63;
  --fit-ink: #855000;
  --muted: #475569;
  --border: #DCE3EA;
  --edu-tint: #EAF0FF;
  --earn-tint: #E4F8F1;
  --fit-tint: #FFF3DD;
  --navy-2: #1A3250;
  --on-navy-muted: #C9D3DF;
  --surface: #FFFFFF;
  --text: #102238;
  --wordmark: #102238;
  --field-line: #9AA8B8;
  --edu-line: #C6D5FA;
  --earn-line: #9EE5CF;
  --fit-line: #F0D29A;
  --err-bg: #FFF0F0;
  --err-ink: #8A1C1C;
  --err-line: #E8B4B4;
  --solid: #102238;
  --on-solid: #FFFFFF;
  --line-2: #5B6B82;
  --grid: #E5EAF0;
  --show-on-light: inline;
  --show-on-dark: none;
  color-scheme: light;
  --radius: 14px;
  --radius-s: 8px;
  --head: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Dark theme. Follows the device setting unless the visitor picks one with the header button (data-theme on <html>).
   The two blocks must stay identical (kit/check.js compares them). In dark, the "ink" tokens hold the bright or
   lightened colours, which the brand allows on dark backgrounds. */
:root[data-theme="dark"] {
  --paper: #0B1626;
  --surface: #13243A;
  --text: #E8EEF5;
  --wordmark: #FFFFFF;
  --muted: #A9B7C8;
  --border: #2A3E57;
  --field-line: #5C718C;
  --edu-ink: #8FB0F2;
  --earn-ink: #48D9B1;
  --fit-ink: #F4B65C;
  --edu-tint: #182C4D;
  --earn-tint: #0F2E2D;
  --fit-tint: #2F2614;
  --edu-line: #36538C;
  --earn-line: #1F6652;
  --fit-line: #6B5528;
  --err-bg: #3A1B20;
  --err-ink: #FFB8B8;
  --err-line: #7A3A42;
  --solid: #E8EEF5;
  --on-solid: #0B1626;
  --line-2: #9AA8B8;
  --grid: #22364F;
  --show-on-light: none;
  --show-on-dark: inline;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1626;
    --surface: #13243A;
    --text: #E8EEF5;
    --wordmark: #FFFFFF;
    --muted: #A9B7C8;
    --border: #2A3E57;
    --field-line: #5C718C;
    --edu-ink: #8FB0F2;
    --earn-ink: #48D9B1;
    --fit-ink: #F4B65C;
    --edu-tint: #182C4D;
    --earn-tint: #0F2E2D;
    --fit-tint: #2F2614;
    --edu-line: #36538C;
    --earn-line: #1F6652;
    --fit-line: #6B5528;
    --err-bg: #3A1B20;
    --err-ink: #FFB8B8;
    --err-line: #7A3A42;
    --solid: #E8EEF5;
    --on-solid: #0B1626;
    --line-2: #9AA8B8;
    --grid: #22364F;
    --show-on-light: none;
    --show-on-dark: inline;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.6 var(--body); overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; margin-top: 1.2em; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--edu-ink); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
code { font-size: .92em; background: var(--edu-tint); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--edu-ink); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.na { color: var(--muted); font-style: italic; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: var(--radius-s); }
.skip:focus { top: 12px; }
.no-js .js-only, .js .nojs { display: none !important; }
/* The hidden attribute must win over component display rules (.btn is inline-flex), or "Show more" never hides. */
[hidden] { display: none !important; }
.todo { background: var(--err-bg); color: var(--err-ink); border: 1px dashed var(--err-ink); padding: 0 .3em; border-radius: 4px; font-weight: 600; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li + li { margin-top: .35em; }

/* ---------- Brand bits ---------- */
.wordmark { font: 800 1.35rem/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.wordmark--light { color: var(--wordmark); }
.wordmark--light span { color: var(--earn-ink); }
.wordmark--dark { color: var(--white); }
.wordmark--dark span { color: var(--earn); }
.vdot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .45em; vertical-align: .02em; flex: none; }
.vdot--edu { background: var(--edu); }
.vdot--earn { background: var(--earn); }
.vdot--fit { background: var(--fit); }
.chip { display: inline-block; font: 600 .75rem/1 var(--body); padding: .35em .6em; border-radius: 999px; white-space: nowrap; vertical-align: .1em; }
.chip--edu { background: var(--edu-tint); color: var(--edu-ink); border: 1px solid var(--edu-line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .55em 1.1em; border-radius: 999px; font: 700 1rem/1.2 var(--head); text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--earn); color: var(--navy); border-color: var(--earn); }
.btn--primary:hover { background: #6BE3C3; }
.btn--primary[aria-pressed="true"] { background: var(--surface); border-color: var(--earn-ink); color: var(--earn-ink); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--quiet { color: var(--text); border-color: var(--text); background: var(--surface); }
.btn--quiet:hover { background: var(--edu-tint); }
.btn--small { min-height: 36px; font-size: .9rem; padding: .4em .9em; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 32px; width: auto; }
.logo__on-light { display: var(--show-on-light); }
.logo__on-dark { display: var(--show-on-dark); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin-left: auto; border: 2px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: var(--show-on-dark); }
.theme-toggle .icon-moon { display: var(--show-on-light); }
.country { font-size: .78rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: .15em .6em; }
.nav-toggle { min-height: 40px; padding: 0 14px; border: 2px solid var(--text); background: var(--surface); color: var(--text); border-radius: 999px; font: 700 .95rem var(--head); cursor: pointer; }
.no-js .nav-toggle, .no-js .theme-toggle { display: none; }
.no-js .site-nav { margin-left: auto; }
.site-nav { width: 100%; display: none; }
.no-js .site-nav, .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 4px 0 14px; }
.site-nav a { display: block; padding: 10px 2px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.site-nav a[aria-current="page"] { color: var(--edu-ink); }
@media (min-width: 900px) {
  .site-header__in { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; margin-left: auto; }
  .theme-toggle { order: 2; margin-left: 8px; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 12px; border-radius: 999px; }
  .site-nav a:hover { background: var(--paper); }
  .site-nav a[aria-current="page"] { background: var(--edu-tint); }
}

/* ---------- Page furniture ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 32px 0 24px; }
.page-head .lede { font-size: 1.1rem; max-width: 70ch; color: var(--muted); }
.page-head--career .lede { color: var(--text); }
.eyebrow { font: 600 .85rem/1.4 var(--body); color: var(--muted); margin-bottom: .6em; display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.eyebrow--dark { color: var(--on-navy-muted); }
.section { padding-top: 48px; padding-bottom: 48px; }
.section__lede { max-width: 70ch; color: var(--muted); }
.section--tint { background: var(--surface); border-block: 1px solid var(--border); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2 { color: var(--white); }
.link-light { color: var(--earn); font-weight: 600; }
.notice { background: var(--fit-tint); border: 1px solid var(--fit-line); border-radius: var(--radius-s); padding: 12px 16px; }
.prose { max-width: 78ch; padding-top: 28px; padding-bottom: 48px; }
.prose h2 { margin-top: 1.6em; scroll-margin-top: 16px; }
.cite { font-size: .85rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: 12px 14px 6px; font-family: var(--head); }
th, td { text-align: left; padding: 9px 14px; border-top: 1px solid var(--border); vertical-align: top; }
thead th { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--paper); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num--median { font-weight: 700; }
td.src { font-size: .8rem; color: var(--muted); min-width: 160px; }
table.compact th, table.compact td { padding: 6px 12px; }
.notes { font-size: .85rem; color: var(--muted); padding-left: 1.1em; }
sup { font-size: .7em; }

/* ---------- Home ---------- */
.hero { background: radial-gradient(ellipse at 85% 0%, #1F3D63 0%, var(--navy) 60%); color: var(--white); padding: 48px 0 56px; }
.hero__in { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.6rem); max-width: 14ch; }
.hero__lede { font-size: 1.15rem; max-width: 52ch; color: #E6ECF3; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.equation { display: grid; grid-template-columns: 1fr; gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 18px; }
.term { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: var(--navy-2); border-radius: var(--radius); padding: 12px 14px; }
.term b { font: 700 1.05rem var(--head); }
.term small { grid-column: 2; color: var(--on-navy-muted); font-size: .85rem; }
.term .vdot { width: 14px; height: 14px; margin: 0; }
.term--you { grid-template-columns: 1fr; background: var(--white); color: var(--navy); }
.term--you small { grid-column: 1; color: #475569; }
.op { text-align: center; font: 800 1.3rem/1 var(--head); color: var(--on-navy-muted); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero__in { grid-template-columns: 1.1fr .9fr; }
}
.three { display: grid; gap: 16px; }
.q { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; border-top: 5px solid; }
.q--edu { border-top-color: var(--edu); }
.q--earn { border-top-color: var(--earn); }
.q--fit { border-top-color: var(--fit); }
.q h3 { display: flex; align-items: center; }
@media (min-width: 760px) { .three { grid-template-columns: repeat(3, 1fr); } }
.routes { list-style: none; padding: 0; display: grid; gap: 12px; }
.route { display: grid; gap: 6px; height: 100%; padding: 16px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.route:hover { border-color: var(--edu); background: var(--edu-tint); }
.route .chip { justify-self: start; }
.route__n { font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) { .routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.fields { columns: 1; padding-left: 1.1em; }
.fields li { break-inside: avoid; margin-bottom: .4em; }
@media (min-width: 760px) { .fields { columns: 2; column-gap: 40px; } }
.numbers { display: grid; gap: 24px; }
.sourcelist { list-style: none; padding: 0; display: grid; gap: 12px; }
.sourcelist li { background: var(--navy-2); border-radius: var(--radius); padding: 14px 16px; color: #E6ECF3; }
@media (min-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Explore ---------- */
.explore { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 48px; }
.filter-drawer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.filter-drawer > summary { cursor: pointer; padding: 12px 16px; font: 700 1rem var(--head); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.filter-drawer > summary::-webkit-details-marker { display: none; }
.filter-drawer > summary::after { content: "Show"; font: 600 .85rem var(--body); color: var(--edu-ink); }
.filter-drawer[open] > summary::after { content: "Hide"; }
.filters { padding: 0 16px 16px; display: grid; gap: 14px; }
.field { display: grid; gap: 4px; margin: 0; }
fieldset.field, fieldset.settings { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .field > label { font-weight: 600; font-size: .92rem; padding: 0; }
input[type="search"], input[type="number"], input[type="text"], input:not([type]), select {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--field-line); border-radius: var(--radius-s); font: inherit; color: var(--text); background: var(--surface);
}
input:focus-visible, select:focus-visible { outline: 3px solid var(--edu-ink); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--edu-ink); }
.hint { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.seg { display: inline-flex; border: 1.5px solid var(--field-line); border-radius: 999px; overflow: hidden; width: max-content; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { padding: 8px 16px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.seg input:checked + label { background: var(--solid); color: var(--on-solid); }
.seg input:focus-visible + label { outline: 3px solid var(--edu-ink); outline-offset: -3px; }
.assumptions summary { cursor: pointer; font-size: .9rem; color: var(--edu-ink); font-weight: 600; }
.count { font-weight: 600; margin-bottom: 12px; min-height: 1.6em; }
.cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 14px; display: grid; gap: 6px; }
.card__head { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.card h3 { font-size: 1.05rem; margin: 0; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card__meta { font-size: .82rem; color: var(--muted); margin: 0; }
.wage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 0; padding: 10px 12px; background: var(--earn-tint); border-radius: var(--radius-s); border-left: 4px solid var(--earn); }
.wage dt { font-size: .75rem; color: var(--muted); }
.wage dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.wage__median dd { font-weight: 800; color: var(--earn-ink); }
.wage--na { display: block; font-style: italic; color: var(--muted); grid-template-columns: none; }
.wage__unit, .wage__alt { font-size: .8rem; color: var(--muted); margin: 0; }
.compare-btn { justify-self: start; margin-top: 4px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--text); background: var(--surface); color: var(--text); font: 600 .88rem var(--head); cursor: pointer; }
.compare-btn[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }
.compare-btn[aria-pressed="true"]::before { content: "✓ "; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .explore { grid-template-columns: 300px 1fr; align-items: start; }
  .filter-drawer { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
  .filter-drawer > summary { display: none; }
  .filters { padding-top: 16px; }
}

/* ---------- Career pages ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .88rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.also { font-size: .95rem; max-width: 80ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.career { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 48px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.toc--inline { margin-bottom: 8px; }
.var { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; border-left: 6px solid; scroll-margin-top: 12px; min-width: 0; }
.var--edu { border-left-color: var(--edu); }
.var--earn { border-left-color: var(--earn); }
.var--fit { border-left-color: var(--fit); }
.var__label { font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .3em; display: flex; align-items: center; }
.var--edu .var__label { color: var(--edu-ink); }
.var--earn .var__label { color: var(--earn-ink); }
.var--fit .var__label { color: var(--fit-ink); }
.var h3 { margin-top: 1.3em; }
.var ul { padding-left: 1.2em; }
.var li + li { margin-top: .3em; }
.callout { border-radius: var(--radius-s); padding: 12px 16px; margin-bottom: 1em; }
.callout p { margin: 0 0 .3em; }
.callout--edu { background: var(--edu-tint); }

/* ---------- Pathways: what people studied, official routes, programs, sponsor box ---------- */
.bars { list-style: none; padding: 0 !important; margin: .4em 0 1em; display: grid; gap: 10px; max-width: 640px; }
.var .bars li + li { margin-top: 0; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.bars__label { font-size: .95rem; }
.bars__pct { font: 700 .95rem/1.2 var(--head); font-variant-numeric: tabular-nums; text-align: right; }
.bars__track { grid-column: 1 / -1; height: 8px; background: var(--paper); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.bars__fill { display: block; height: 100%; background: var(--edu); border-radius: 999px; min-width: 0; }
.bars--field .bars__fill { background: #8FB0F2; }
.official { background: var(--edu-tint); border-radius: var(--radius-s); padding: 14px 16px 6px; margin: 1.4em 0 1em; }
.official h3 { margin-top: 0; }
.official ul.plain { margin-bottom: .6em; }
.programs { list-style: none; padding: 0 !important; margin: .6em 0 1em; display: grid; gap: 10px; }
.var .programs li + li { margin-top: 0; }
.program { display: grid; gap: 2px; border: 1px solid var(--border); border-radius: var(--radius-s); padding: 12px 14px; background: var(--surface); }
.program__name { font: 700 1.02rem/1.3 var(--head); color: var(--text); }
.program__where { font-size: .92rem; }
.program__seats { font-size: .92rem; font-weight: 600; }
.program__sources { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.program__weights { font-size: .92rem; margin-top: 4px; }
.program__weights summary { cursor: pointer; color: var(--edu-ink); font-weight: 600; }
.program__weights ul.plain { margin: .4em 0 0; padding: 0; }
.program__weights li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 3px 0; }
.program__weights .small { margin: .3em 0 0; }
table.hs { min-width: 420px; }
table.hs thead th { color: var(--text); font: 700 .95rem/1.25 var(--head); }
.hs__prog { display: block; font: 400 .8rem/1.3 var(--body); color: var(--muted); margin-top: 2px; }
table.hs tbody th { font-weight: 600; white-space: nowrap; }
table.hs td.na { color: var(--muted); }
table.hs tr.hs__extra th { font-weight: 400; color: var(--muted); }
/* Phones: one course at a time, each school's answer under it. */
@media (max-width: 599px) {
  table.hs { min-width: 0; }
  table.hs thead { display: none; }
  table.hs tr { display: block; border-top: 1px solid var(--border); padding: 8px 12px; }
  table.hs tbody tr:first-child { border-top: 0; }
  table.hs th[scope="row"], table.hs td { display: block; border: 0; padding: 2px 0; white-space: normal; }
  table.hs td::before { content: attr(data-l) ": "; font-weight: 600; color: var(--text); }
  table.hs.hs--one td::before { content: none; }
  table.hs td.na { display: none; }
}
.program__meta { font-weight: 600; color: var(--edu-ink); font-size: .92rem; }
.program__note { font-size: .92rem; }
@media (min-width: 760px) { .programs { grid-template-columns: repeat(2, 1fr); } }
.sponsor { margin: 1.4em 0 .4em; padding: 12px 16px 4px; border: 2px dashed var(--muted); border-radius: var(--radius-s); background: var(--paper); max-width: 640px; }
.sponsor__label { font: 700 .75rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .6em; }
.sponsor__head { font: 700 1.02rem/1.3 var(--head); margin: 0 0 .3em; }
.sponsor__text { margin: 0 0 .5em; }
.sponsor__from { font-size: .8rem; color: var(--muted); }
.titles summary { cursor: pointer; font-weight: 600; color: var(--edu-ink); margin: 1em 0 .5em; }
.cols { columns: 1; column-gap: 28px; font-size: .9rem; }
.cols li { break-inside: avoid; }
@media (min-width: 640px) { .cols { columns: 2; } }
@media (min-width: 980px) { .cols { columns: 3; } }
table.wages td, table.wages th { white-space: nowrap; }
table.wages tbody th { font-weight: 400; }
@media (max-width: 599px) { table.wages tbody th { white-space: normal; min-width: 7.5em; } table.wages th, table.wages td { padding-left: 10px; padding-right: 10px; } }
table.wages td.src, table.wages td.na { white-space: normal; }
.sources { padding: 4px 4px 0; font-size: .9rem; }
.sources h2 { font-size: 1.2rem; }
.sources ul { padding-left: 1.1em; }
.az { padding-top: 20px; padding-bottom: 48px; }
.az__nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.az__nav a { display: inline-block; padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: .88rem; text-decoration: none; }
.az section { margin-top: 28px; scroll-margin-top: 12px; }
.az__list { columns: 1; column-gap: 32px; padding-left: 1.1em; }
.az__list li { break-inside: avoid; margin-bottom: .35em; }
@media (min-width: 760px) { .az__list { columns: 2; } }

/* ---------- Compare ---------- */
.compare { padding-top: 24px; padding-bottom: 48px; }
.compare__controls { display: grid; gap: 14px; margin-bottom: 18px; }
@media (min-width: 760px) { .compare__controls { grid-template-columns: 260px 1fr auto; align-items: end; } .compare__controls p { margin: 0; } }
.empty { background: var(--surface); border: 1px dashed var(--field-line); border-radius: var(--radius); padding: 22px; }
table.cmp { min-width: 560px; }
table.cmp thead th { font: 700 1rem var(--head); color: var(--text); background: var(--surface); min-width: 180px; }
table.cmp thead th a { color: var(--text); }
table.cmp tbody th { width: 190px; font-weight: 600; font-size: .9rem; }
table.cmp td.num { text-align: left; }
.cmp__group th { font: 700 .95rem var(--head); }
.cmp__group--edu th { background: var(--edu-tint); color: var(--edu-ink); }
.cmp__group--earn th { background: var(--earn-tint); color: var(--earn-ink); }
.cmp__group--fit th { background: var(--fit-tint); color: var(--fit-ink); }
.unit { font-size: .78rem; color: var(--muted); font-weight: 400; }
.tray__x { margin-left: 6px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; vertical-align: middle; }
.tray__x:hover { background: var(--paper); }

/* ---------- Compare tray ---------- */
.tray { position: sticky; bottom: 0; z-index: 20; background: var(--surface); border-top: 3px solid var(--earn); box-shadow: 0 -6px 18px rgba(16, 34, 56, .12); }
.tray__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 10px; padding-bottom: 10px; }
.tray__label { margin: 0; font-size: .9rem; white-space: nowrap; }
.tray .short { display: none; }
.tray__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; flex: 1 1 260px; }
.tray__list li { display: inline-flex; align-items: center; background: var(--paper); border-radius: 999px; padding: 2px 4px 2px 12px; font-size: .85rem; max-width: 100%; }
.tray__list a { color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.tray__msg { margin: 0; font-size: .85rem; color: var(--fit-ink); width: 100%; }
.tray__msg:empty { display: none; }
/* On phones the tray is one line: count and button. Careers are removed on the compare page or with their own button. */
@media (max-width: 699px) {
  .tray__in { flex-wrap: nowrap; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
  .tray__list { display: none; }
  .tray .long { display: none; }
  .tray .short { display: inline; }
  .tray__msg { position: absolute; bottom: 100%; left: 0; right: 0; background: var(--fit-tint); padding: 6px 20px; }
}
@media (max-width: 519px) {
  .country { display: none; }
  .wordmark { font-size: 1.2rem; }
  .logo img { height: 28px; }
}

/* ---------- Study to Salary ---------- */
.salary { padding-top: 24px; padding-bottom: 48px; }
.paths { display: grid; gap: 16px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.path { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.path legend { font: 700 1.05rem var(--head); padding: 0 6px; }
.path__rm { justify-self: start; }
.settings { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--border) !important; border-radius: var(--radius); padding: 16px !important; margin-top: 8px !important; }
.settings legend { font: 700 1.05rem var(--head); padding: 0 6px; }
@media (min-width: 760px) { .settings { grid-template-columns: 1fr 1fr; } }
.salary__out { margin-top: 28px; }
.runs { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 900px) { .runs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.run { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.run h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.run__total { margin: 0 0 4px; display: grid; }
.run__total strong { font: 800 1.6rem var(--head); color: var(--earn-ink); font-variant-numeric: tabular-nums; }
.run__vs { margin: 8px 0 0; font-weight: 600; }
.key { display: inline-block; width: 28px; flex: none; border-top: 3px solid var(--text); }
.key--1 { border-top: 3px dashed var(--line-2); }
.key--2 { border-top: 4px dotted var(--text); }
.chart { display: block; width: 100%; height: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; font-family: var(--body); }
.chart .grid { stroke: var(--grid); }
.chart .zero { stroke: var(--text); stroke-width: 1.5; }
.chart .ytick { font-size: 12px; fill: var(--muted); text-anchor: end; }
.chart .xtick { font-size: 12px; fill: var(--muted); text-anchor: middle; }
.chart .line--0 { stroke: var(--text); }
.chart .line--1 { stroke: var(--line-2); }
.chart .line--2 { stroke: var(--text); }
.chart .lbl { font-size: 13px; font-weight: 600; fill: var(--text); }
.errors { background: var(--err-bg); border: 1px solid var(--err-line); border-radius: var(--radius-s); padding: 12px 16px; color: var(--err-ink); }
.salary__about { margin-top: 32px; max-width: 78ch; }
.notice--career { background: var(--earn-tint); border-color: var(--earn-line); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 40px 0 28px; }
.site-footer a { color: var(--white); }
.site-footer__in { display: grid; gap: 24px; }
.site-footer h2 { font-size: 1rem; color: var(--on-navy-muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.logo--footer img { height: 40px; }
.tagline { font-style: italic; color: var(--on-navy-muted); margin-top: 10px; }
.site-footer__small { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: var(--on-navy-muted); }
.site-footer__small a { color: var(--on-navy-muted); }
.owner { display: flex; align-items: center; gap: 12px; color: var(--white); }
.owner-mark { width: 40px; height: 40px; flex: none; }
@media (min-width: 760px) { .site-footer__in { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print {
  /* Print in the light colours whatever the screen theme. */
  :root, :root[data-theme="dark"], :root:not([data-theme="light"]) { --paper: #F5F7FA; --surface: #FFFFFF; --text: #102238; --wordmark: #102238; --muted: #475569; --border: #DCE3EA; --field-line: #9AA8B8; --edu-ink: #204EAE; --earn-ink: #087A63; --fit-ink: #855000; --edu-tint: #EAF0FF; --earn-tint: #E4F8F1; --fit-tint: #FFF3DD; --edu-line: #C6D5FA; --earn-line: #9EE5CF; --fit-line: #F0D29A; --err-bg: #FFF0F0; --err-ink: #8A1C1C; --err-line: #E8B4B4; --solid: #102238; --on-solid: #FFFFFF; --line-2: #5B6B82; --grid: #E5EAF0; --show-on-light: inline; --show-on-dark: none; color-scheme: light; }
  .site-header, .site-footer, .tray, .skip, .compare__controls, .actions, .toc, .salary__form, #add-path, .filter-drawer { display: none !important; }
  body { background: var(--white); }
  .table-wrap { overflow: visible; border: 0; }
  a { color: var(--navy); }
}
