:root {
  --ink: #2b2529;
  --deep: #251b20;
  --purple: #bd1e2a;
  --lime: #c51f2c;
  --red: #c51f2c;
  --red-soft: #fbebea;
  --paper: #f8f6f2;
  --white: #ffffff;
  --muted: #74676d;
  --line: #e9e1df;
  --shadow: 0 10px 35px #38202908;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.6; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; outline-offset: 4px; }
button { min-height: 44px; color: inherit; border: 0; cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: default; opacity: .48; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #da3d48; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; background: white; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Original FUTURE artwork; the image itself is never recoloured or stretched. */
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand-logo-frame { display: block; position: relative; width: 184px; height: 56px; flex-shrink: 0; overflow: hidden; border-radius: 4px; background: #ed2025; }
.brand-logo { display: block; position: absolute; width: 184px; height: 184px; max-width: none; left: 0; top: -65px; object-fit: contain; }
.topbar { min-height: 94px; padding: 17px max(5vw, 30px); display: flex; align-items: center; gap: 36px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-link { position: relative; padding: 10px 2px; background: none; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-link.active { color: var(--red); }
.nav-link.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--red); }
.nav-link span { display: inline-flex; justify-content: center; align-items: center; min-width: 21px; height: 21px; margin-left: 5px; border-radius: 6px; background: #f7eceb; color: var(--red); font-size: 11px; }
.private { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #e4dbd9; border-radius: 7px; font-size: 11px; font-weight: 600; color: #796c70; white-space: nowrap; }
.private svg { flex-shrink: 0; }
.developer-credit { position: fixed; left: 6px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 15; pointer-events: none; white-space: nowrap; font-size: 9px; letter-spacing: 1px; line-height: 1.4; padding: 11px 5px; border: 1px solid #e9d7d5; border-radius: 4px; background: #fffdf9f5; color: #7b6269; }
.developer-credit strong { margin-top: 5px; color: #a91e2a; font-weight: 700; }

/* A spacious editorial opening, with the existing original course illustration. */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; max-width: 1600px; min-height: 390px; margin: 0 auto; padding: 32px 5vw 28px; overflow: hidden; color: white; background: radial-gradient(ellipse at 78% 34%, #832b37 0, transparent 52%), linear-gradient(120deg, #241b20 0%, #3d2028 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; top: -200px; border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 64px #ffffff03, 0 0 0 128px #ffffff03; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 750; line-height: 1.5; letter-spacing: 1.7px; }
.dot, .pulse { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; }
.dot { background: #ffb1b4; box-shadow: 0 0 0 4px #ffb1b412; }
h1 { margin: 18px 0; font-size: clamp(44px, 4.7vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -3.5px; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #ffb6b8; }
.hero-copy > p { margin: 0 0 20px; color: #e3cfd3; font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 47px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 12px; font-weight: 750; line-height: 1.4; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn.lime { color: white; background: #c51f2c; box-shadow: 0 5px 18px #74132118; }
.btn.lime:hover { background: #aa1824; transform: translateY(-1px); }
.btn span { font-size: 20px; line-height: 1; }
.btn.secondary { color: var(--red); background: #fff; border-color: #e4c7c8; box-shadow: none; }
.btn.secondary:hover { background: #fff3ef; border-color: #cba0a5; }
.hero-caption { color: #d9bac2; font-size: 11px; }
.hero-numbers { display: flex; gap: 25px; margin-top: 24px; color: #d7bbc3; font-size: 11px; line-height: 1.4; }
.hero-numbers span { display: flex; align-items: baseline; gap: 6px; }
.hero-numbers span + span { border-left: 1px solid #ffffff25; padding-left: 28px; }
.hero-numbers b { font-size: 20px; font-weight: 650; color: #fff; letter-spacing: -.6px; }
.hero-art { position: relative; width: 100%; max-width: 630px; justify-self: end; margin: -5px -10px -5px 0; }
.hero-art img { display: block; width: 100%; height: 330px; object-fit: contain; filter: drop-shadow(0 16px 24px #160b1625); }
.art-label { position: absolute; right: 28px; bottom: 6px; color: #d5b5bd; font-size: 9px; letter-spacing: 2px; }
.snapshot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; min-height: 62px; padding: 8px 5vw; background: #f1e9e4; border-bottom: 1px solid #e5d9d4; font-size: 11px; }
.snapshot > div { display: flex; align-items: center; gap: 11px; }
.snapshot strong { font-size: 11px; font-weight: 650; }
.pulse { background: #a8363c; }
.snapshot-extra { color: #77676c; padding-left: 13px; border-left: 1px solid #d8c7c1; }
.snapshot-actions { gap: 18px !important; margin-left: auto; }
.snapshot button { padding: 5px 0; background: none; font-size: 11px; font-weight: 650; white-space: nowrap; }
.snapshot button:hover { color: var(--red); }
.snapshot button span { margin-left: 10px; }

/* Scannable pathway launchers. */
.pathway-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 25px 0 34px; }
.pathway-tile { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; min-height: 122px; padding: 17px 12px; border: 1px solid #e9dfdc; border-radius: 13px; background: white; box-shadow: 0 4px 15px #38202903; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.pathway-tile:hover { transform: translateY(-3px); border-color: #dcafb1; box-shadow: 0 8px 20px #592c3610; }
.pathway-tile[aria-pressed="true"], .pathway-tile.active { border-color: #c51f2c; background: #fff5f2; box-shadow: 0 0 0 1px #c51f2c; }
.pathway-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: #b82430; background: #faece9; }
.pathway-icon svg { width: 23px; height: 23px; stroke: currentColor; }
.pathway-label { font-size: 12px; line-height: 1.3; font-weight: 700; }
.pathway-label small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.pathway-count { font-size: 11px; line-height: 1.3; color: var(--muted); }

/* Explorer. */
.explorer { max-width: 1600px; margin: auto; padding: 48px 5vw 62px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.purple { color: var(--red); }
h2 { margin: 10px 0 0; font-size: clamp(27px, 2.45vw, 36px); font-weight: 650; line-height: 1.18; letter-spacing: -1.3px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.explorer-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 20px; padding: 22px 20px; max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid #e7dedb; border-radius: 13px; background: white; box-shadow: var(--shadow); scrollbar-width: thin; scrollbar-color: #d6c4c4 transparent; }
.filter-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.filter-title h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.7px; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px 2px; background: none; color: var(--red); font-size: 11px; font-weight: 600; text-decoration: none; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.field { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 650; }
.field small { color: var(--muted); font-size: 10px; font-weight: 450; }
.field input, .field select { display: block; width: 100%; min-height: 45px; margin-top: 7px; padding: 10px 11px; border: 1px solid #a58b91; border-radius: 7px; background: #fff; color: #44383e; font-size: 12px; line-height: 1.4; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:hover, .field select:hover { border-color: #cdb6b8; }
.field input:focus, .field select:focus { border-color: #c51f2c; box-shadow: 0 0 0 3px #c51f2c0b; }
.field select:disabled { background: #f5f1ee; color: #8f8085; }
.field option:disabled { color: #9b8c91; }
.search-wrap { position: relative; padding-top: 7px; }
.search-wrap span { position: absolute; left: 12px; top: calc(50% + 3px); transform: translateY(-50%); color: #967d83; font-size: 24px; line-height: 1; }
.search-wrap input { margin-top: 0; padding-left: 36px; font-size: 12px; }
.facet-help, .field-help { display: block; margin-top: 7px; color: #837177; font-size: 11px; line-height: 1.5; font-weight: 400; }
.filters details { padding-top: 7px; border-top: 1px solid var(--line); }
.filters summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: #5e4b53; cursor: pointer; font-size: 12px; font-weight: 650; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary span { font-size: 20px; line-height: 1; transition: transform .18s ease; }
#moreFilterCount { font-size: 11px; font-weight: 600; color: var(--red); }
.filters details[open] #moreFilterCount { transform: none; }
.more-fields { padding-top: 8px; }
.filter-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.counsellor { margin: 22px -3px -3px; padding: 18px 16px 13px; border: 1px solid #efded9; border-radius: 9px; background: linear-gradient(145deg, #fff6f0, #f9ebe7); }
.counsellor > span { display: block; margin-bottom: 10px; color: var(--red); font-size: 28px; line-height: 1; }
.counsellor b { font-size: 12px; }
.counsellor p { margin: 7px 0 4px; color: #7c656c; font-size: 11px; line-height: 1.7; }
.counsellor button { justify-content: start; font-size: 11px; }
.filter-mobile-toggle { display: none; align-items: center; justify-content: space-between; min-height: 46px; width: 100%; margin-bottom: 12px; padding: 11px 15px; border: 1px solid #e2d3d0; border-radius: 9px; background: white; color: #5f414b; font-size: 13px; font-weight: 650; }
.results { min-width: 0; }
.route-tabs { display: flex; gap: 4px; align-items: center; overflow-x: auto; padding: 5px; border: 1px solid #e7dfdc; border-radius: 11px; background: white; scrollbar-width: none; }
.route-tabs::-webkit-scrollbar { display: none; }
.route-tab { display: inline-flex; align-items: center; justify-content: center; flex: 1 0 auto; min-height: 44px; padding: 10px 14px; border-radius: 7px; background: none; color: #7e6c74; font-size: 12px; font-weight: 650; white-space: nowrap; transition: color .18s ease, background .18s ease; }
.route-tab:hover { color: var(--red); background: #fcf5f1; }
.route-tab.active, .route-tab[aria-pressed="true"] { color: white; background: #b91c2a; box-shadow: 0 3px 10px #b91c2a18; }
.route-tab span { display: inline-flex; justify-content: center; align-items: center; min-width: 24px; height: 22px; margin-left: 7px; padding: 2px 5px; border-radius: 5px; background: #ffffff25; font-size: 10px; font-weight: 650; }
.results-summary { margin: 14px 0 0; padding: 11px 15px; border-left: 3px solid #c51f2c; border-radius: 0 7px 7px 0; background: #f4e9e4; color: #7c525c; font-size: 12px; line-height: 1.65; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 21px 0 11px; color: var(--muted); font-size: 12px; }
.results-toolbar strong { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.results-toolbar label { display: flex; align-items: center; gap: 7px; font-size: 11px; white-space: nowrap; }
.results-toolbar select { max-width: 175px; min-height: 44px; padding: 9px 9px 9px 3px; border: 0; border-radius: 6px; background: transparent; color: #5e454f; font-size: 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.active-filters button { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin-bottom: 8px; padding: 7px 10px; border: 1px solid #e9c9c9; border-radius: 7px; background: #fff0ed; color: #a13541; font-size: 11px; line-height: 1.4; }
.active-filters button:hover { background: #fbe0dc; }
.group-heading { display: flex; align-items: flex-start; gap: 11px; margin: 25px 0 16px; }
.group-heading:first-child { margin-top: 14px; }
.group-heading > div { flex: 1; }
.group-number { display: inline-grid; place-items: center; min-width: 31px; height: 31px; margin-top: 1px; border-radius: 8px; background: #f1dfda; color: #a93a43; font-size: 11px; font-weight: 700; }
.group-heading h3 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.35; letter-spacing: -.5px; }
.group-heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.group-count { display: inline-block; margin-left: 7px; padding: 2px 7px; border: 1px solid #e2d4d0; border-radius: 5px; color: #87676e; background: #f6eeea; font-size: 10px; font-weight: 600; vertical-align: middle; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.exam-card { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 23px; border: 1px solid #e7dedb; border-radius: 14px; background: white; box-shadow: 0 4px 20px #35202c04; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.exam-card:hover { border-color: #d8a8af; transform: translateY(-2px); box-shadow: 0 12px 27px #4b25320c; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.path-tag { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: #ad3440; font-size: 11px; font-weight: 750; letter-spacing: .7px; line-height: 1.5; text-transform: uppercase; }
.path-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.card-path-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #f4dcd8; border-radius: 11px; background: #fff2ed; color: #b62d3a; }
.card-path-icon svg { width: 22px; height: 22px; }
.bookmark { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 12px; border-radius: 10px; color: #9e8189; background: transparent; }
.bookmark:hover { background: #f9f0ec; color: #b32835; }
.bookmark[aria-pressed="true"] { background: #fae5e2; color: #b51d2b; }
.bookmark svg { width: 17px; height: 21px; }
.bookmark[aria-pressed="true"] svg { fill: #c51f2c16; }
.card-heading { min-width: 0; margin-top: 15px; }
.card-title { display: block; width: 100%; min-height: 44px; margin: 15px 0 5px; padding: 0; background: none; color: #34282f; text-align: left; font-size: 25px; font-weight: 650; line-height: 1.15; letter-spacing: -.8px; }
.card-title:hover { color: #b62131; }
.card-heading .card-title { margin-top: 0; }
.card-subtitle { min-height: 36px; margin: 0 0 14px; color: #7d616a; font-size: 11px; line-height: 1.6; }
.course-line { margin-bottom: 11px; color: #4d3942; font-size: 13px; font-weight: 650; line-height: 1.55; }
.exam-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 20px; margin: 0 0 14px; color: #7c626c; font-size: 11px; line-height: 1.65; }
.fit-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 19px; color: #7c626c; font-size: 11px; }
.fit-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 6px; border: 1px solid #e6dad7; border-radius: 5px; color: #795c66; background: #fdfbf9; font-size: 11px; line-height: 1.3; }
.role-tag { margin-left: auto; color: #80636e; font-size: 10px; }
.exam-summary .role-tag { margin-left: 0; padding: 2px 6px; border: 1px solid #e6d7d2; border-radius: 5px; background: #faf4f0; }
.card-dates { display: grid; gap: 13px; margin-top: auto; padding: 16px 14px; border: 1px solid #efe5e1; border-radius: 10px; background: #fcf9f6; }
.date-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.date-row > div { min-width: 0; }
.date-row + .date-row { padding-top: 13px; border-top: 1px solid #eae0db; }
.date-label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #7b5d68; font-size: 10px; font-weight: 600; letter-spacing: 1px; line-height: 1.5; text-transform: uppercase; }
.date-value { margin-top: 5px; color: #5c414b; font-size: 12px; font-weight: 600; line-height: 1.5; }
.badge { display: inline-block; flex-shrink: 0; padding: 5px 7px; border: 1px solid transparent; border-radius: 5px; font-size: 10px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.official { color: #496b39; background: #edf4e7; border-color: #dfe9d3; }
.expected { color: #825a26; background: #fff4e0; border-color: #f0dfba; }
.tentative { color: #845464; background: #f6e8ee; border-color: #e9d2dd; }
.status { display: inline-block; padding: 2px 5px; border-radius: 4px; color: #806875; background: #eee7e9; font-size: 10px; font-weight: 650; letter-spacing: 0; line-height: 1.3; text-transform: none; white-space: nowrap; }
.status.open { color: #48723c; background: #e8f1df; }
.status.closed { color: #a04f46; background: #fae7df; }
.card-review { margin-top: 11px; color: #7e636d; font-size: 11px; line-height: 1.55; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 8px; border-top: 1px solid #f0e7e3; }
.compare-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 0; background: none; color: #82656f; font-size: 11px; }
.check { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid #a58b91; border-radius: 4px; color: white; font-size: 11px; line-height: 1; }
.compare-toggle[aria-pressed="true"] { color: #b11e2e; }
.compare-toggle[aria-pressed="true"] .check { background: #b71e2d; border-color: #b71e2d; }
.details-link { min-height: 44px; padding: 7px 0 7px 8px; background: none; color: #b42131; font-size: 11px; font-weight: 750; }
.details-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.result-foot { margin-top: 30px; padding-top: 21px; border-top: 1px solid var(--line); color: #7f636e; font-size: 11px; line-height: 1.8; }
.result-foot button { font-size: 11px; }
.empty { margin-top: 20px; padding: 48px 25px; border: 1px solid #e9d5d2; border-radius: 14px; background: white; text-align: center; box-shadow: var(--shadow); }
.empty > span { display: inline-grid; place-items: center; width: 65px; height: 65px; margin-bottom: 7px; border-radius: 50%; background: #faebe6; color: #be3441; font-size: 32px; }
.empty h3 { margin: 12px 0; font-size: 24px; font-weight: 650; letter-spacing: -.8px; }
.empty p { max-width: 390px; margin: 12px auto 22px; color: #7b606b; font-size: 12px; line-height: 1.8; }
.empty .btn { color: white; background: #4a2936; }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.path-callout { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1440px; margin: 0 5vw 52px; padding: 35px 42px; border: 1px solid #b62732; border-radius: 15px; overflow: hidden; background: linear-gradient(115deg, #b71d2a 0%, #c82b38 80%); color: #fff; }
.path-callout .eyebrow { color: #ffced0; font-size: 9px; }
.path-callout h2 { color: white; font-size: 30px; letter-spacing: -1px; }
.path-callout p { position: relative; z-index: 1; margin-right: 60px; color: #ffe5e5; font-size: 12px; line-height: 1.8; }
.callout-star { position: absolute; right: 14px; bottom: -30px; color: #ffffff12; font-size: 190px; line-height: 1; transform: rotate(12deg); pointer-events: none; }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 34px 5vw 0; border-top: 1px solid #e8dfda; background: #fff; }
.footer-brand .brand-logo-frame { width: 155px; height: 48px; }
.footer-brand .brand-logo { width: 155px; height: 155px; top: -54px; }
footer > p { margin: 0; color: #7e626b; font-size: 11px; line-height: 1.8; }
footer > a { display: inline-flex; align-items: center; min-height: 44px; color: #5b424c; font-size: 12px; font-weight: 650; text-decoration: none; }
.ios-install-link { min-height: 44px; padding: 7px 0; background: none; color: #ad2535; font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; width: 100%; gap: 22px; padding: 18px 0 24px; border-top: 1px solid #ece4e0; color: #80656f; font-size: 10px; }

/* Comparison and focused details. */
.compare-tray { position: fixed; bottom: 20px; left: 50%; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(900px, calc(100% - 36px)); padding: 17px 21px; transform: translateX(-50%); border: 1px solid #76505c; border-radius: 12px; background: #35232e; box-shadow: 0 15px 55px #2a112638; color: white; }
.compare-tray > div:first-child { min-width: 0; }
.compare-tray b { display: block; font-size: 13px; font-weight: 650; }
.compare-tray #trayNames { display: block; max-width: 540px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8bdc9; font-size: 11px; }
.tray-actions { display: flex; align-items: center; flex-shrink: 0; gap: 19px; }
.tray-actions .text-btn { color: #ead0da; }
.tray-actions .btn { min-height: 44px; gap: 19px; padding: 10px 17px; }
body:has(.compare-tray:not([hidden])) { padding-bottom: 100px; }
dialog { width: min(830px, calc(100% - 36px)); max-height: 88vh; padding: 32px; border: 1px solid #e0d2d4; border-radius: 16px; color: var(--ink); background: #faf7f2; box-shadow: 0 30px 90px #20101c55; }
dialog::backdrop { background: #22131c9e; backdrop-filter: blur(5px); }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.modal-heading h2 { font-size: 29px; }
.close { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border-radius: 50%; background: #f1e2dd; color: #b22a39; font-size: 28px; line-height: 1; }
.close:hover { background: #ebd2ce; }
.modal-intro { margin: 15px 0 24px; color: #7e606d; font-size: 12px; }
.detail-subtitle { margin: 6px 0 16px; color: #7b606b; font-size: 13px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0; }
.detail-actions .btn { gap: 15px; font-size: 12px; color: #9b3c4b; background: #f2dfd8; }
.detail-actions .btn.lime { color: white; background: #bd1e2a; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.detail-box { padding: 20px; border: 1px solid #e6d9d4; border-radius: 10px; background: white; }
.detail-box h3 { margin: 0 0 12px; color: #80616c; font-size: 10px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; }
.detail-box > strong { display: block; margin-bottom: 12px; color: #5b3746; font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.2px; }
.detail-section { padding: 19px 0; border-bottom: 1px solid #e5d9d3; }
.detail-section h3 { margin: 0 0 9px; color: #5f3748; font-size: 14px; font-weight: 650; }
.detail-section p { margin: 0; color: #80626f; font-size: 13px; line-height: 1.8; }
.detail-note { margin: 19px 0; padding: 16px 18px; border-left: 3px solid #ca5760; border-radius: 0 8px 8px 0; background: #f4e5df; color: #8a505f; font-size: 12px; line-height: 1.8; }
.detail-sources a { display: block; margin: 7px 0; padding: 7px 0; color: #ad2c40; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-sources small { display: block; margin-top: 12px; color: #7e626e; font-size: 11px; line-height: 1.7; }
.compare-dialog { width: min(1180px, calc(100% - 28px)); }
.table-scroll { overflow-x: auto; border: 1px solid #e2d5d1; border-radius: 10px; background: white; }
table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 18px; border-right: 1px solid #eadfd9; border-bottom: 1px solid #eadfd9; vertical-align: top; text-align: left; font-size: 12px; line-height: 1.75; overflow-wrap: break-word; }
thead th { color: #663545; background: #f4e4dd; font-size: 20px; font-weight: 650; line-height: 1.3; letter-spacing: -.4px; }
thead th:first-child { width: 142px; color: #8b6876; font-size: 11px; letter-spacing: .4px; }
tbody th { width: 142px; color: #81616e; background: #fcf8f4; font-size: 11px; font-weight: 650; }
td:last-child, th:last-child { border-right: 0; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
td p { margin: 7px 0 0; }
td .badge { margin-top: 7px; }
td a { display: block; margin: 7px 0 0; color: #a02c41; }
thead small { display: block; margin-top: 8px; color: #7c5b69; font-size: 10px; font-weight: 400; letter-spacing: 0; }
.guide-content h3 { margin: 27px 0 11px; color: #653c4b; font-size: 16px; font-weight: 650; }
.guide-content p { color: #846874; font-size: 13px; line-height: 1.8; }
.date-key { padding: 9px 18px; border: 1px solid #e6d7d1; border-radius: 9px; background: white; }
.date-key .badge { margin-right: 8px; font-size: 10px; }
.guide-bottom { margin-top: 27px; padding-top: 22px; border-top: 1px solid #e3d5cf; color: #a33246; font-size: 13px; font-weight: 650; }
.toast { position: fixed; top: 20px; left: 50%; z-index: 100; max-width: calc(100vw - 32px); padding: 13px 20px; transform: translateX(-50%); border: 1px solid #80616e; border-radius: 10px; color: white; background: #3b2632; box-shadow: 0 8px 28px #32102526; font-size: 12px; line-height: 1.6; }

@media (min-width: 1600px) {
  .path-callout { margin-left: auto; margin-right: auto; }
}
@media (max-width: 1200px) {
  .topbar { gap: 25px; }
  .topbar nav { gap: 20px; }
  .hero { gap: 5px; min-height: 375px; padding-top: 30px; }
  h1 { font-size: 55px; }
  .hero-art img { height: 310px; }
  .hero-caption { display: none; }
  .explorer-layout { grid-template-columns: 238px minmax(0, 1fr); gap: 22px; }
  .filters { padding: 18px 17px; }
  .exam-card { padding: 20px; }
  .card-title { font-size: 23px; }
  .role-tag { margin-left: 0; }
  .date-row { align-items: flex-start; gap: 7px; }
  .badge { padding: 4px 6px; font-size: 10px; }
  .snapshot-extra { display: none; }
}
@media (max-width: 960px) {
  .topbar { padding: 14px 28px; min-height: 84px; gap: 22px; }
  .brand-logo-frame { width: 165px; height: 51px; }
  .brand-logo { width: 165px; height: 165px; top: -58px; }
  .nav-link { font-size: 12px; }
  .private { font-size: 0; gap: 0; padding: 9px; }
  .private svg { display: block; }
  .developer-credit { left: 0; padding: 9px 3px; font-size: 8px; letter-spacing: .5px; border-left: 0; border-radius: 0 4px 4px 0; }
  .hero { min-height: 365px; padding: 30px 28px 26px; grid-template-columns: 1.1fr 1fr; }
  h1 { font-size: 49px; letter-spacing: -2.5px; }
  .hero-copy > p { font-size: 14px; }
  .hero-art { margin-right: -22px; }
  .hero-art img { height: 285px; }
  .hero-numbers { gap: 21px; margin-top: 23px; font-size: 10px; }
  .hero-numbers b { font-size: 19px; }
  .hero-numbers span + span { padding-left: 21px; }
  .snapshot { padding-left: 28px; padding-right: 28px; }
  .explorer { padding: 38px 28px 46px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { font-size: 11px; }
  .pathway-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 28px; }
  .pathway-tile { display: grid; grid-template-columns: 37px 1fr; grid-template-rows: auto auto; column-gap: 11px; row-gap: 2px; min-height: 76px; padding: 13px; text-align: left; }
  .pathway-icon { grid-row: 1/3; }
  .pathway-label { align-self: end; font-size: 12px; }
  .pathway-count { align-self: start; font-size: 10px; }
  .explorer-layout { grid-template-columns: 1fr; gap: 22px; }
  .filters { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-height: none; padding: 20px; overflow: visible; }
  .filter-title { grid-column: 1/-1; margin: 0; }
  .field { margin: 0; }
  .filters details { grid-column: 1/-1; padding-top: 6px; }
  .more-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .filter-note { grid-column: 1/-1; margin: 0; }
  .counsellor { display: none; }
  .filter-mobile-toggle { display: flex; }
  .filters.is-collapsed > .field, .filters.is-collapsed > details, .filters.is-collapsed > .filter-note { display: none; }
  .results-toolbar { margin-top: 18px; }
  .exam-card { padding: 23px; }
  .card-title { font-size: 25px; }
  .role-tag { margin-left: auto; }
  .path-callout { margin: 0 28px 38px; padding: 30px; }
  .path-callout h2 { font-size: 26px; }
  .path-callout p { margin-right: 38px; font-size: 11px; }
  footer { padding-left: 28px; padding-right: 28px; }
  .compare-tray #trayNames { max-width: 420px; }
}
@media (max-width: 650px) {
  .topbar { flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 16px 22px 0; }
  .topbar nav { order: 3; justify-content: space-between; width: 100%; gap: 12px; margin: 2px 0 0; padding-bottom: 6px; }
  .nav-link { padding: 13px 1px; font-size: 11px; }
  .private { gap: 7px; padding: 7px 9px; font-size: 10px; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 29px 24px 5px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { max-width: 320px; font-size: 9px; letter-spacing: 1.3px; }
  h1 { margin: 18px 0 16px; font-size: 49px; letter-spacing: -3px; }
  .hero-copy > p { font-size: 13px; margin-bottom: 18px; }
  .hero-caption { display: inline; font-size: 10px; }
  .hero-actions { gap: 15px; }
  .hero-actions .btn { gap: 25px; min-height: 46px; }
  .hero-numbers { gap: 20px; margin-top: 22px; font-size: 10px; }
  .hero-numbers b { font-size: 19px; }
  .hero-numbers span + span { padding-left: 20px; }
  .hero-art { justify-self: center; max-width: 390px; margin: -6px auto -8px; }
  .hero-art img { height: 172px; max-height: 172px; object-fit: contain; }
  .art-label { right: 24px; bottom: 7px; font-size: 8px; letter-spacing: 1.7px; }
  .snapshot { gap: 0 10px; padding: 8px 22px; min-height: 68px; }
  .snapshot > div:first-child { min-width: 0; flex: 1; }
  .snapshot strong { max-width: 235px; font-size: 10px; line-height: 1.6; }
  .snapshot-actions { gap: 14px !important; }
  .snapshot button { font-size: 10px; }
  .snapshot #datesBtn { font-size: 0; }
  .snapshot #datesBtn span { margin-left: 0; font-size: 20px; }
  .explorer { padding: 32px 22px 40px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading h2 { font-size: 29px; letter-spacing: -1.1px; }
  .section-heading > p { margin-top: 12px; font-size: 12px; }
  .section-heading > p br { display: none; }
  .pathway-rail { display: flex; gap: 9px; margin: 22px -2px 27px; padding: 3px 2px 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #e1c7c2 transparent; }
  .pathway-tile { display: flex; flex: 0 0 125px; flex-direction: column; gap: 6px; min-height: 112px; padding: 13px 9px; border-radius: 11px; text-align: center; scroll-snap-align: start; }
  .pathway-icon { width: 35px; height: 35px; border-radius: 9px; }
  .pathway-icon svg { width: 21px; height: 21px; }
  .pathway-label { align-self: center; font-size: 11px; }
  .pathway-count { align-self: center; font-size: 10px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 19px 16px; border-radius: 11px; }
  .filter-title h3 { font-size: 19px; }
  .filters > .field:first-of-type { grid-column: 1/-1; }
  .field { font-size: 11px; }
  .field input, .field select { min-height: 46px; padding: 10px 8px; font-size: 12px; }
  .search-wrap input { padding-left: 35px; }
  .field small { display: inline; font-size: 9px; }
  .more-fields { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .filter-note, .facet-help, .field-help { font-size: 10px; }
  .route-tabs { gap: 3px; padding: 4px; border-radius: 9px; }
  .route-tab { min-height: 44px; padding: 9px 10px; font-size: 10px; }
  .route-tab span { min-width: 21px; height: 19px; margin-left: 5px; font-size: 9px; }
  .results-summary { margin-top: 12px; padding: 10px 12px; font-size: 11px; }
  .results-toolbar { gap: 8px; margin: 17px 0 9px; font-size: 11px; }
  .results-toolbar strong { font-size: 15px; }
  .results-toolbar label { gap: 1px; font-size: 10px; }
  .results-toolbar select { max-width: 145px; padding-right: 0; font-size: 11px; }
  .active-filters { gap: 6px; }
  .active-filters button { min-height: 44px; padding: 7px 9px; font-size: 10px; }
  .group-heading { margin-top: 22px; gap: 10px; }
  .group-heading h3 { font-size: 17px; }
  .group-heading p { font-size: 10px; }
  .group-number { min-width: 29px; height: 29px; font-size: 10px; }
  .group-count { font-size: 9px; }
  .card-grid { grid-template-columns: 1fr; gap: 15px; }
  .exam-card { padding: 21px; border-radius: 13px; }
  .card-title { font-size: 27px; }
  .card-subtitle { min-height: 0; margin-bottom: 14px; font-size: 11px; }
  .course-line { font-size: 13px; }
  .exam-summary { font-size: 11px; }
  .fit-line { margin-bottom: 18px; }
  .date-row { align-items: center; }
  .date-value { font-size: 12px; }
  .date-label { font-size: 10px; }
  .badge { padding: 5px 7px; font-size: 10px; }
  .card-footer { margin-top: 11px; }
  .compare-toggle, .details-link { font-size: 12px; }
  .result-foot { margin-top: 24px; font-size: 10px; }
  .path-callout { display: block; margin: 0 22px 32px; padding: 28px; border-radius: 13px; }
  .path-callout .eyebrow { font-size: 8px; }
  .path-callout h2 { font-size: 28px; }
  .path-callout p { margin-top: 20px; margin-right: 25px; font-size: 12px; }
  .callout-star { right: -30px; bottom: -10px; font-size: 180px; }
  footer { display: block; padding: 30px 22px 0; }
  footer > p { margin: 22px 0 10px; font-size: 11px; }
  footer > a { margin-right: 25px; }
  .footer-bottom { margin-top: 19px; padding: 16px 0 23px; font-size: 9px; }
  .footer-bottom span { max-width: 48%; }
  .compare-tray { bottom: 10px; width: calc(100% - 20px); padding: 13px 15px; gap: 9px; border-radius: 10px; }
  .compare-tray b { font-size: 11px; }
  .compare-tray #trayNames { max-width: 174px; font-size: 10px; }
  .tray-actions { gap: 10px; }
  .tray-actions .text-btn { min-width: 44px; font-size: 10px; }
  .tray-actions .btn { gap: 8px; padding: 10px 13px; font-size: 11px; }
  dialog { width: calc(100% - 28px); max-height: 90vh; padding: 24px 21px; border-radius: 13px; }
  .modal-heading { gap: 15px; }
  .modal-heading h2 { font-size: 25px; }
  .modal-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .detail-grid { gap: 10px; }
  .detail-box { padding: 14px; }
  .detail-box h3 { font-size: 9px; letter-spacing: .7px; }
  .detail-box > strong { font-size: 15px; }
  .detail-section p { font-size: 12px; }
  .detail-actions .btn { gap: 12px; font-size: 11px; }
  .guide-content p { font-size: 12px; }
  .compare-dialog { width: calc(100% - 20px); padding: 22px 16px; }
  th, td { padding: 15px 13px; }
  .toast { width: max-content; max-width: calc(100vw - 30px); padding: 12px 16px; font-size: 11px; text-align: center; }
}
@media(max-width:560px) {
  .hero h1 { font-size: 48px; }
  .results-toolbar strong { font-size: 14px; }
  .pathway-tile { flex-basis: 120px; }
}
@media (max-width: 380px) {
  .topbar { padding-left: 20px; padding-right: 20px; }
  .hero { padding-left: 22px; padding-right: 22px; }
  h1 { font-size: 44px; }
  .hero-caption { display: none; }
  .hero-numbers { gap: 19px; }
  .hero-numbers span + span { padding-left: 19px; }
  .hero-art img { height: 155px; max-height: 155px; }
  .explorer { padding-left: 20px; padding-right: 20px; }
  .route-tab { padding-left: 9px; padding-right: 9px; font-size: 10px; }
  .route-tab span { margin-left: 4px; }
  .exam-card { padding: 19px; }
  .role-tag { margin-left: 0; }
  .compare-tray #trayNames { max-width: 145px; }
}
@media (display-mode: standalone) { .ios-install-link { display: none; } }
@media print { .developer-credit { position: absolute; } .compare-tray { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.empty-icon{display:inline-grid;place-items:center;width:58px;height:58px;margin-bottom:8px;border:1px solid #f0d9d5;border-radius:17px;background:#fff2ed;color:var(--red)}
.empty-icon svg{width:28px;height:28px}
.field .field-help{display:block;margin-top:8px;margin-bottom:0;color:var(--muted);font-size:10px;line-height:1.55;font-weight:400}
@media(max-width:960px){.pathway-label small{display:none}}
