:root {
  color-scheme: dark;
  --ink: #e8edf5;
  --muted: #acb9ca;
  --navy: #e9f0f8;
  --navy-soft: #bad5e6;
  --green: #50d59a;
  --green-light: #183b30;
  --red: #ff9ba5;
  --red-light: #40222a;
  --amber: #f2ca75;
  --amber-light: #3d311a;
  --line: #364456;
  --surface: #1c2838;
  --canvas: #111a26;
  --shadow: 0 16px 44px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.55; }
a { color: #075b7a; text-decoration-thickness: .08em; text-underline-offset: .17em; }
a:hover { color: #003c55; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #e3a400; outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; border-radius: .5rem; color: white; background: var(--navy); }
.skip-link:focus { top: .75rem; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-shell { width: min(1180px, calc(100% - 3rem)); margin: auto; min-height: 76px; display: flex; align-items: center; gap: 2.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; line-height: 1.05; font-size: .85rem; flex: 0 0 auto; }
.brand strong { font-size: 1.03rem; letter-spacing: .015em; }
.brand-mark { display: inline-flex; width: 28px; height: 32px; overflow: hidden; border-radius: 5px; box-shadow: 0 0 0 1px rgba(16,35,63,.1); }
.brand-mark i { display: block; flex: 1; }
.brand-mark i:nth-child(1) { background: #009246; }
.brand-mark i:nth-child(2) { background: #fff; }
.brand-mark i:nth-child(3) { background: #ce2b37; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); margin-left: auto; }
.site-header nav a { color: #344256; text-decoration: none; font-size: .94rem; font-weight: 650; }
.site-header nav a:hover { color: var(--green); }
.language-toggle { border: 1px solid var(--line); background: white; color: var(--navy); padding: .52rem .8rem; border-radius: 999px; font-weight: 750; cursor: pointer; }
.language-toggle[aria-pressed="true"] { background: var(--navy); color: white; }

.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #10233f, #143753 72%, #146248); color: white; }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 3rem)); margin: auto; padding: clamp(4rem, 7vw, 6.4rem) 0 4.3rem; display: grid; grid-template-columns: 1.2fr .75fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.hero-copy { max-width: 650px; }
.eyebrow { color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; margin: 0 0 .75rem; }
.eyebrow.light { color: #a7d9bf; }
.hero h1, .page-hero h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: .99; letter-spacing: -.06em; margin: .3rem 0 1.2rem; max-width: 750px; }
.hero h1 span { color: #a7d9bf; }
.hero-lede { max-width: 620px; color: #e2e9f0; font-size: clamp(1.05rem, 1.45vw, 1.2rem); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.15rem; border-radius: 8px; text-decoration: none; font-weight: 750; }
.button-primary { color: #10233f; background: #b7e4c8; border: 1px solid #b7e4c8; }
.button-primary:hover { background: white; color: #10233f; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.52); background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.12); color: white; }
.hero-reviewed { color: #c6d3df; font-size: .86rem; margin: 1.15rem 0 0; }
.hero-card { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.085); border-radius: 16px; padding: 1.6rem 1.7rem; box-shadow: 0 20px 50px rgba(4,18,33,.18); backdrop-filter: blur(10px); }
.hero-card .eyebrow { color: #c0d2df; margin-bottom: 1.05rem; }
.hero-stat { display: grid; grid-template-columns: 3.25rem 1fr; align-items: center; gap: .8rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stat strong { color: #b7e4c8; font-size: 2rem; letter-spacing: -.04em; line-height: 1; }
.hero-stat span { font-size: .93rem; font-weight: 700; }
.hero-stat small { color: #c6d3df; font-size: .76rem; font-weight: 450; }
.hero-orbit { position: absolute; pointer-events: none; border: 1px solid rgba(255,255,255,.07); width: 610px; height: 610px; border-radius: 50%; right: -260px; top: -390px; box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 142px rgba(255,255,255,.015); }

.notice-band { width: min(1180px, calc(100% - 3rem)); margin: -1.4rem auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: 2.7rem 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem 1.35rem; background: #fff9ec; border: 1px solid #f0dba8; border-radius: 12px; box-shadow: var(--shadow); }
.notice-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #704500; background: #ffe8a5; font-weight: 900; }
.notice-band h2 { margin: 0 0 .15rem; font-size: 1.02rem; }
.notice-band p { margin: 0; color: #624f2a; font-size: .89rem; }
.notice-band > a { white-space: nowrap; font-weight: 750; font-size: .9rem; }

.section { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(3.6rem, 6vw, 5.4rem) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.section-heading h2 { color: var(--navy); font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.07; letter-spacing: -.045em; margin: 0 0 .45rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 680px; margin: 0; }
.directory-section { padding-top: 4rem; }
.directory-tools { display: flex; flex-wrap: wrap; gap: .55rem; }
.small-button { min-height: 40px; border: 1px solid #c8d2dc; border-radius: 7px; padding: .48rem .78rem; color: #20314a; background: white; cursor: pointer; font-weight: 680; font-size: .84rem; }
.small-button:hover { border-color: #7d95a8; background: #f7f9fa; }
.small-button[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.status-legend { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; padding: .95rem 0 1rem; border-bottom: 1px solid var(--line); color: #46546a; font-size: .83rem; }
.status-legend > span { display: inline-flex; align-items: center; gap: .42rem; }
.legend-dot { width: .66rem; height: .66rem; display: inline-block; border-radius: 50%; }
.dot-confirmed { background: #007a52; }
.dot-pending { background: #a96800; }
.dot-unavailable { background: #677387; }
.status-legend strong { color: #24354d; }
.filter-panel { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 20px rgba(16,35,63,.04); }
.filter-panel > summary { cursor: pointer; padding: .88rem 1rem; color: #263950; font-weight: 750; list-style: none; }
.filter-panel > summary::-webkit-details-marker { display: none; }
.filter-panel > summary::after { content: "−"; float: right; color: var(--green); font-size: 1.2rem; line-height: 1; }
.filter-panel:not([open]) > summary::after { content: "+"; }
.filter-grid { padding: .3rem 1rem 1rem; border-top: 1px solid #edf0f3; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .8rem; }
.filter-control { display: grid; gap: .28rem; min-width: 0; }
.filter-control > span { color: #4d5b6d; font-size: .77rem; font-weight: 700; }
.filter-control input, .filter-control select, .university-search input { width: 100%; min-height: 42px; border: 1px solid #c7d1dc; background: white; border-radius: 7px; padding: .55rem .65rem; color: #1d2a3d; }
.filter-control input::placeholder, .university-search input::placeholder { color: #798695; }
.filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; border-top: 1px solid #edf0f3; padding-top: .75rem; }
.back-to-top { width: min(1180px, calc(100% - 3rem)); margin: 1rem auto 0; text-align: right; font-size: .88rem; font-weight: 700; }
.check-control { display: inline-flex; align-items: center; gap: .52rem; font-size: .88rem; font-weight: 700; }
.check-control input { width: 1.08rem; height: 1.08rem; accent-color: var(--green); }
.text-button { background: transparent; border: 0; padding: .4rem .2rem; color: #075b7a; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font-weight: 700; font-size: .86rem; }
.result-count { color: #4e5b6f; font-size: .9rem; margin: 1rem 0; }
.noscript-note { padding: .8rem 1rem; border-left: 4px solid var(--amber); background: var(--amber-light); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.program-card, .university-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 1.25rem; box-shadow: 0 5px 20px rgba(16,35,63,.035); }
.program-card:hover, .university-card:hover { box-shadow: 0 10px 28px rgba(16,35,63,.08); }
.card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.card-title-row h3 { margin: .18rem 0 0; color: var(--navy); font-size: 1.18rem; line-height: 1.27; letter-spacing: -.025em; }
.card-title-row h3 a { color: inherit; text-decoration: none; }
.card-title-row h3 a:hover { color: #075b7a; text-decoration: underline; }
.card-title-row .eyebrow { color: #5a687a; font-size: .7rem; margin: 0; letter-spacing: .04em; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: .3rem .62rem; font-size: .72rem; line-height: 1.25; font-weight: 780; border: 1px solid transparent; }
.status-confirmed { color: #07563e; background: #e8f5ee; border-color: #b5ddc8; }
.status-pending { color: #704900; background: #fff4d9; border-color: #eed69a; }
.status-conflict { color: #792638; background: #fff0f1; border-color: #efc7cd; }
.status-unavailable { color: #475365; background: #edf0f3; border-color: #d1d7de; }
.tag-row { display: flex; flex-wrap: wrap; gap: .42rem; margin: .75rem 0; }
.tag { display: inline-block; border-radius: 6px; background: #f0f3f6; padding: .25rem .48rem; color: #405065; font-size: .74rem; }
.tag-date { color: #07563e; background: #e7f5ed; }
.card-summary { margin: .72rem 0; color: #435066; font-size: .89rem; }
.official-link { margin: .75rem 0 0; font-size: .88rem; font-weight: 700; }
.last-checked { color: #697789; font-size: .76rem; margin: .78rem 0 0; }
.card-actions { display: flex; gap: .5rem; margin-top: .8rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.pagination span { color: #4e5b6f; font-size: .88rem; }
.empty-state { text-align: center; padding: 1.3rem; color: var(--muted); }

.university-section { border-top: 1px solid var(--line); }
.university-search { display: grid; gap: .28rem; max-width: 460px; color: #4d5b6d; font-size: .77rem; font-weight: 700; }
.university-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; }
.university-card { padding: 1.05rem; }
.university-card .card-title-row { display: block; }
.university-card .card-title-row .status { margin-top: .55rem; }
.university-card .card-title-row h3 { font-size: 1rem; }
.university-card .card-summary { margin: .5rem 0; font-size: .83rem; }
.card-links { display: flex; flex-wrap: wrap; gap: .45rem .9rem; font-size: .82rem; font-weight: 700; }
.research-summary { margin: .8rem 0; color: #46546a; }
.guide-cta { width: min(1180px, calc(100% - 3rem)); margin: 0 auto 4rem; padding: clamp(1.8rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-radius: 16px; color: white; background: linear-gradient(110deg, #15334c, #116046); }
.guide-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; margin: 0 0 .4rem; }
.guide-cta p:not(.eyebrow) { margin: 0; color: #dce8e3; max-width: 620px; }

.page-hero { padding: clamp(3.2rem, 6vw, 5.2rem) max(1.5rem, calc((100% - 1180px) / 2)); color: white; background: linear-gradient(120deg, #10233f, #173e58); }
.page-hero h1 { max-width: 920px; font-size: clamp(2.7rem, 5vw, 4.5rem); margin-bottom: .85rem; }
.page-hero p:not(.eyebrow) { color: #dfe7ef; max-width: 850px; font-size: 1.06rem; margin: .5rem 0 0; }
.page-hero .status { margin-top: .8rem; }
.content-layout { width: min(1180px, calc(100% - 3rem)); margin: auto; padding: 3rem 0 5rem; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 3rem; align-items: start; }
.prose { color: #334258; max-width: 820px; }
.prose h2, .detail-page h2 { color: var(--navy); font-size: 1.55rem; letter-spacing: -.025em; margin: 2.5rem 0 .6rem; scroll-margin-top: 6.5rem; }
.prose h2:first-of-type { margin-top: 1.6rem; }
.prose p { margin: .65rem 0 1rem; }
.prose li { margin: .35rem 0; }
.prose a { font-weight: 650; }
.prose .callout { padding: 1.1rem 1.2rem; border: 1px solid #d5e3dc; border-left: 4px solid var(--green); border-radius: 8px; background: white; }
.contents-card { position: sticky; top: 96px; display: grid; gap: .48rem; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 1.1rem; }
.contents-card h2 { margin: 0 0 .3rem; color: var(--navy); font-size: 1rem; }
.contents-card a { color: #405065; font-size: .83rem; text-decoration: none; }
.contents-card a:hover { text-decoration: underline; }
.glossary { display: grid; grid-template-columns: 170px 1fr; gap: .45rem 1rem; }
.glossary dt { font-weight: 800; color: var(--navy); }
.glossary dd { margin: 0; }
.faq { margin: .65rem 0; border: 1px solid var(--line); border-radius: 8px; padding: .75rem .9rem; background: #fff; }
.faq summary { cursor: pointer; font-weight: 750; color: #233550; }
.faq p { margin-bottom: .2rem; }
.source-note { color: #66758a; font-size: .83rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem !important; }
.narrow { width: min(820px, calc(100% - 3rem)); margin: auto; padding: 2rem 0 5rem; }
.status-definitions { display: grid; grid-template-columns: 210px 1fr; gap: .8rem 1rem; align-items: start; }
.status-definitions dt { padding-top: .25rem; }
.status-definitions dd { margin: 0; }
.table-section { padding-top: 2.5rem; }
.table-scroll { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .88rem; }
caption { text-align: left; padding: .9rem 1rem; font-weight: 750; color: var(--navy); }
th, td { text-align: left; padding: .7rem .8rem; border-top: 1px solid #e6ebef; vertical-align: top; }
th { background: #f6f8fa; color: #425168; font-size: .77rem; text-transform: uppercase; letter-spacing: .04em; }

.detail-page { padding-top: 2rem; }
.detail-page > .program-card, .detail-page > .university-card { max-width: 950px; margin: 0 auto; padding: clamp(1.2rem, 3vw, 2rem); }
.detail-page > .program-card .card-title-row h3 { font-size: 1.65rem; }
.detail-page .detail-fields h2, .detail-page .detail-sources h2, .detail-page .university-programs h2 { font-size: 1.35rem; margin: 1.7rem 0 .6rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.fact-item { min-width: 0; border: 1px solid #e1e6eb; border-radius: 8px; background: #fafbfc; }
.fact-item summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; cursor: pointer; padding: .62rem .7rem; color: #2d3c53; font-weight: 720; font-size: .82rem; list-style-position: inside; }
.mini-status { display: inline-block; flex: 0 0 auto; color: #5a6677; font-weight: 550; font-size: .68rem; }
.fact-content { padding: 0 .75rem .7rem; font-size: .81rem; overflow-wrap: anywhere; }
.fact-content ul { padding-left: 1.2rem; }
.fact-note { margin: .6rem 0; color: #566478; }
.fact-value { margin: .55rem 0; color: #23354d; }
.fact-value ul { margin: .25rem 0; }
.value-lines { display: grid; gap: .15rem; }
.value-pairs { display: grid; grid-template-columns: minmax(105px,.5fr) 1fr; gap: .2rem .6rem; }
.value-pairs dt { color: #5b687a; font-weight: 650; }
.value-pairs dd { margin: 0; }
.source-list { padding-left: 1.2rem; margin: .5rem 0; }
.source-list li { margin: .3rem 0; }
.source-list a { font-weight: 650; }
.muted { color: var(--muted); }
.university-programs .program-list { display: grid; gap: .45rem; }
.program-list article { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .65rem; background: #f8f9fb; border-radius: 6px; }
.program-list article > a { font-weight: 700; }

.site-footer { color: #dbe4ed; background: #10233f; padding: 3rem max(1.5rem, calc((100% - 1180px) / 2)) 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: white; }
.footer-grid > div:first-child p { color: #bdc9d5; max-width: 360px; font-size: .9rem; }
.footer-grid h2 { color: #fff; font-size: .94rem; margin: 0 0 .65rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.footer-grid a:not(.brand) { color: #d2dce6; font-size: .87rem; text-decoration: none; }
.footer-grid a:hover { color: #a7d9bf; text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.15); margin: 2rem 0 0; padding-top: 1rem; color: #aebdca; font-size: .78rem; }
.compare-tray { position: fixed; z-index: 60; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 999px; background: var(--navy); color: white; box-shadow: 0 12px 36px rgba(0,0,0,.24); }
.compare-tray[hidden] { display: none !important; }
.compare-tray .small-button { border: 0; background: #b7e4c8; color: var(--navy); }
.icon-button { border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: inherit; font-size: 1.3rem; width: 2rem; height: 2rem; line-height: 1; }
#compare-dialog { width: min(960px, calc(100% - 2rem)); max-height: min(85vh, 800px); border: 0; border-radius: 14px; padding: 1.3rem; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
#compare-dialog::backdrop { background: rgba(8,20,35,.68); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-head h2 { margin: .3rem 0 1rem; color: var(--navy); }
.compare-table { width: 100%; min-width: 600px; }
.compare-table th:first-child { min-width: 150px; }
.compare-table td { overflow-wrap: anywhere; }

:root body { color: var(--ink); background: var(--canvas); }
:root a { color: #83d3e9; }
:root a:hover { color: #b7eff8; }
:root .site-header { background: rgba(17,26,38,.97); }
:root .site-header nav a { color: #d1dbea; }
:root a.button-primary { color: #10233f; background: #b7e4c8; border-color: #b7e4c8; }
:root a.button-primary:hover { color: #10233f; background: #fff; border-color: #fff; }
:root .language-toggle { background: #1c2838; color: #e9f0f8; border-color: #435269; }
:root .language-toggle[aria-pressed="true"] { background: #e9f0f8; color: #182538; }
:root .notice-band { background: #342b1b; border-color: #6d592f; }
:root .notice-icon { color: #ffe5a1; background: #604d25; }
:root .notice-band p { color: #e4d4b0; }
:root .small-button { color: #e4ebf4; background: #202d3e; border-color: #45556a; }
:root .small-button:hover { background: #29394d; border-color: #8295ac; }
:root .small-button[aria-pressed="true"] { color: #fff; background: #24533f; border-color: #4d9e78; }
:root .status-legend { color: #c0cad8; }
:root .status-legend strong { color: #eef3fa; }
:root .dot-confirmed { background: #50d59a; }
:root .dot-pending { background: #f2c36c; }
:root .dot-unavailable { background: #9ba8b8; }
:root .filter-panel > summary { color: #e8edf5; }
:root .filter-grid { border-color: #354357; }
:root .filter-control > span,
:root .university-search { color: #c1ccda; }
:root .filter-control input,
:root .filter-control select,
:root .university-search input { color: #e8edf5; background: #121d2a; border-color: #4a5a70; }
:root .filter-control input::placeholder,
:root .university-search input::placeholder { color: #99a8ba; }
:root .filter-actions { border-color: #354357; }
:root .text-button { color: #83d3e9; }
:root .result-count,
:root .pagination span { color: #c0cad8; }
:root .noscript-note { color: #f1dfb8; background: #352d1d; }
:root .card-title-row h3 { color: #edf3fa; }
:root .card-title-row h3 a:hover { color: #9ce7f4; }
:root .card-title-row .eyebrow { color: #bac7d6; }
:root .status-confirmed { color: #aaf0cc; background: #15392c; border-color: #2f7958; }
:root .status-pending { color: #ffe2a1; background: #3c3019; border-color: #75602d; }
:root .status-conflict { color: #ffc2ca; background: #402129; border-color: #783946; }
:root .status-unavailable { color: #d3dbe5; background: #303b4a; border-color: #4a586a; }
:root .tag { color: #cbd5e2; background: #2a3647; }
:root .tag-date { color: #aaf0cc; background: #15392c; }
:root .card-summary,
:root .research-summary { color: #c1ccda; }
:root .last-checked { color: #a8b5c5; }
:root .university-section { border-color: var(--line); }
:root .page-hero { background: linear-gradient(120deg, #0d1b2a, #15344b); }
:root .prose { color: #d0d9e5; }
:root .prose .callout,
:root .contents-card,
:root .faq,
:root .table-scroll { color: var(--ink); background: #1b2737; border-color: var(--line); }
:root .contents-card a { color: #c4cfdd; }
:root .faq summary { color: #e7edf5; }
:root .source-note { color: #acb9ca; border-color: var(--line); }
:root th,
:root td { border-color: #364456; }
:root th { color: #d4deea; background: #263446; }
:root caption { color: #e9f0f8; }
:root .fact-item { background: #182434; border-color: #39495e; }
:root .fact-item summary { color: #e3eaf3; }
:root .mini-status,
:root .fact-note,
:root .value-pairs dt { color: #b1bdcd; }
:root .fact-value { color: #dbe4ef; }
:root .program-list article { background: #253244; }
:root #compare-dialog { color: var(--ink); background: #1b2737; }
:root .dialog-head h2 { color: #e9f0f8; }
:root .compare-table th { background: #263446; }
:root .table-scroll { background: #1b2737; }
:root .compare-tray { color: #e9f0f8; background: #203247; }
:root .compare-tray .small-button { color: #d9f8e7; background: #24533f; }

@media (max-width: 900px) {
  .nav-shell { gap: 1.2rem; }
  .site-header nav { gap: .9rem; }
  .site-header nav a { font-size: .85rem; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .university-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-layout { grid-template-columns: minmax(0,1fr) 210px; gap: 1.5rem; }
}
@media (min-width: 681px) {
  .filter-panel { position: sticky; top: 76px; z-index: 30; max-height: calc(100vh - 88px); overflow-y: auto; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 5.5rem; }
  .nav-shell { width: min(100% - 1.25rem, 1180px); min-height: 66px; gap: .65rem; }
  .brand { font-size: .74rem; gap: .45rem; }
  .brand strong { font-size: .9rem; }
  .brand-mark { width: 23px; height: 28px; }
  .site-header nav { flex: 1; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: .35rem .65rem; }
  .site-header nav a { font-size: .72rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .language-toggle { padding: .43rem .55rem; font-size: .78rem; }
  .hero-inner { width: calc(100% - 2rem); grid-template-columns: 1fr; padding: 3.4rem 0 3rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-card { padding: 1.1rem 1.2rem; }
  .hero-stat { padding: .58rem 0; }
  .notice-band { width: calc(100% - 1.5rem); grid-template-columns: 2.2rem 1fr; gap: .6rem; margin-top: -.8rem; padding: .95rem; }
  .notice-band > a { grid-column: 2; }
  .section { width: calc(100% - 1.5rem); padding: 3rem 0; }
  .directory-section { padding-top: 3rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .directory-tools { width: 100%; }
  .directory-tools .small-button { flex: 1; }
  .status-legend { display: grid; gap: .55rem; }
  .filter-panel { border-radius: 10px; }
  .filter-panel > summary { padding: .8rem .9rem; }
  .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; padding: .65rem .8rem .85rem; }
  .filter-control input, .filter-control select { min-height: 40px; font-size: .82rem; }
  .filter-control > span { font-size: .71rem; }
  .filter-search, .filter-actions { grid-column: 1 / -1; }
  .filter-actions { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .program-grid, .university-grid { grid-template-columns: 1fr; }
  .program-card, .university-card { padding: 1rem; }
  .card-title-row { flex-direction: column; }
  .card-title-row .status { align-self: flex-start; }
  .guide-cta { width: calc(100% - 1.5rem); flex-direction: column; align-items: flex-start; margin-bottom: 2.5rem; padding: 1.4rem; }
  .page-hero { padding: 3rem 1rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .content-layout { width: calc(100% - 1.5rem); grid-template-columns: 1fr; padding-top: 2rem; }
  .contents-card { position: static; grid-row: 1; }
  .narrow { width: calc(100% - 1.5rem); }
  .glossary { grid-template-columns: 1fr; gap: .15rem; }
  .glossary dd { margin-bottom: .8rem; }
  .status-definitions { grid-template-columns: 1fr; gap: .25rem; }
  .status-definitions dd { margin: 0 0 .8rem; }
  .detail-page { width: calc(100% - 1rem); }
  .fact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding: 2.3rem 1rem 1rem; }
  .back-to-top { width: 100%; }
  .compare-tray { width: calc(100% - 1rem); border-radius: 12px; justify-content: space-between; gap: .35rem; font-size: .76rem; }
  .compare-tray .small-button { font-size: .72rem; padding: .45rem .55rem; }
  .table-section { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.application-state { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.program-context { border-left: 3px solid var(--green); padding-left: .8rem; }
.previous-cycle { border: 1px dashed var(--muted); border-left: 3px solid var(--muted); border-radius: 8px; padding: 1rem; margin: 1rem 0; font-size: .85rem; overflow-wrap: anywhere; }
.previous-cycle > strong { display: block; }
.previous-cycle p { margin: .65rem 0; }
.previous-cycle ul { padding-left: 1.2rem; }
.decision-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0; }
.decision-field { min-width: 0; overflow-wrap: anywhere; border-left: 3px solid var(--line); padding: .6rem .7rem; }
.decision-field dt { font-weight: 750; font-size: .85rem; margin-bottom: .3rem; }
.decision-field dd { margin: 0; font-size: .85rem; }
.decision-field small { display: block; color: var(--muted); margin-top: .3rem; font-size: .72rem; }
.decision-field .decision-cycle { font-weight: 700; }
.decision-previous { border-left-color: #c7a15d; background: #302919; }
.decision-previous .decision-cycle { color: #ecd195; }
.decision-current { border-left-color: var(--green); }
.decision-partial { border-left-color: #d9af62; }
.decision-partial .decision-cycle, .decision-missing { color: #ecd195; }
.decision-structure { border-left-color: #7bbbd3; }
.decision-unknown-summary, .decision-conflict-summary { font-size: .8rem; color: var(--muted); margin: .6rem 0; }
.decision-summary:empty { display: none; }
.decision-conflict { border-left: 3px solid #d9af62; padding: .7rem 1rem; margin: 1rem 0; overflow-wrap: anywhere; }
.profile-selector { position: static; margin-bottom: 1rem; max-height: none; overflow: visible; }
.profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-help { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin: 0; }
#profile-status { margin: 0; color: var(--muted); font-size: .8rem; flex: 1 1 18rem; }
.profile-route-label { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.profile-fields { display: grid; gap: .8rem; }
.profile-other-routes { margin: 1rem 0; overflow-wrap: anywhere; }
.profile-other-routes > summary, .national-rule > summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.profile-alternatives { margin: .8rem 0; }
.has-profile > .application-state, .has-profile > .tag-row .profile-base-deadline { display: none; }
.profile-current[hidden], .profile-other-routes[hidden] { display: none; }
@media (max-width: 680px) {
  .profile-grid { grid-template-columns: 1fr; }
  #profile-status { flex: initial; }
}
.decision-details { margin: 1.5rem 0; }
.decision-details > dl { display: grid; gap: .8rem; }
.decision-details p { font-size: .85rem; }
@media (max-width: 480px) { .decision-summary { grid-template-columns: 1fr; } }
