.entry-brand { gap: 12px; }
.entry-moon-pair { display: grid; flex: 0 0 auto; }
.entry-moon { grid-area: 1 / 1; width: 45px; height: 40px; object-fit: contain; transition: opacity .25s ease; }
.entry-moon-light { opacity: 0; }
.entry-header[data-tone="light"] .entry-moon { opacity: 0; }
.entry-header[data-tone="light"] .entry-moon-light { opacity: 1; }
.intro-frame { grid-template-columns: 1fr 400px; gap: 48px; }
.intro-question-card { max-height: calc(100svh - 230px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #72cccb70 transparent; }
.intro input[type="number"] { display: block; width: 100%; padding: 12px 14px; min-height: 46px; border-radius: 11px; border: 1px solid #ffffff33; background: #091a2e70; color: #fff; margin-top: 8px; font-size: 16px; }
.intro-disclosure { margin-top: 15px; color: #dfebf6; font-size: 12px; border-top: 1px solid #ffffff26; padding-top: 12px; }
.intro-disclosure summary { cursor: pointer; padding-block: 4px; }
.intro-disclosure .intro-fields { margin-top: 10px; }
.intro-disclosure .exam-options { margin-top: 12px; }
.intro-disclosure .custom-exam-field { display: block; margin-top: 12px; }
.interest-options { margin-top: 16px; gap: 7px; }
.interest-options span { padding: 8px 12px; font-size: 12px; }
.compact-fields { margin-top: 12px; }
.profile-edit-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.profile-edit-links button { color: #d4eeee; background: #ffffff0a; border: 1px solid #ffffff29; border-radius: 8px; font-size: 11px; padding: 7px 9px; }

.route-section { position: relative; padding-block: 95px 105px; background: radial-gradient(ellipse at 0% 0%, #72cccb24, transparent 36%), radial-gradient(ellipse at 100% 42%, #b89bf824, transparent 35%), linear-gradient(160deg, #f4faff, #fff 45%, #fbf5fd); }
.route-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 70px; align-items: start; }
.route-pass { max-height: calc(100svh - 140px); overflow-y: auto; scrollbar-width: thin; position: sticky; top: 112px; padding: 30px; border-radius: 28px; isolation: isolate; background: radial-gradient(ellipse at 5% 0%, #72cccb3d, transparent 70%), linear-gradient(145deg, #fff9, #eef3ff99 65%, #e4daf766); border: 1px solid #fff; box-shadow: 0 24px 65px #24529b12, inset 0 2px 2px #fff, inset 0 -2px 6px #b89bf829; backdrop-filter: blur(24px) saturate(150%); }
.route-overline { display: block; font: 10px var(--ai-sans); color: var(--ai-navy); letter-spacing: 1.8px; margin-bottom: 20px; }
.route-pass h2 { font-size: 27px; line-height: 1.45; }
.route-pass h2 em { color: var(--ai-navy); font-style: normal; }
.route-pass-summary { margin-top: 20px; font-size: 13px; color: #4c6379; overflow-wrap: anywhere; }
.route-pass .text-link { font-size: 12px; margin-top: 8px; }
.route-progress { position: relative; display: grid; gap: 6px; margin-top: 22px; }
.route-progress::before { content: ""; position: absolute; left: 16px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--ai-mint), var(--ai-violet), var(--ai-pink)); }
.route-progress a { position: relative; display: flex; align-items: center; gap: 12px; border-radius: 12px; font-size: 13px; padding: 8px 0; color: #536b7f; }
.route-progress a > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #f9fbff; border: 1px solid #d7e4ef; font: 12px var(--ai-heading); }
.route-progress a[aria-current] { color: var(--ai-navy); font-weight: 600; }
.route-progress a[aria-current] > span { background: var(--ai-navy); color: #fff; border-color: var(--ai-navy); box-shadow: 0 4px 12px #24529b29; }
.route-guide { display: flex; align-items: center; gap: 0; margin-top: 18px; }
.route-guide img { width: 100px; height: 100px; object-fit: contain; margin-left: -12px; }
.route-guide p { font-size: 12px; color: #5b5487; }
.route-content { min-width: 0; }
.route-phase { position: relative; padding: 22px 0 44px; scroll-margin-top: 0; }
.route-phase + .route-phase { padding-top: 38px; border-top: 1px solid #dce6ef; }
.route-phase .eyebrow { color: #607184; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 15px; }
.route-phase h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.35; max-width: 730px; }
.route-phase h3, .route-next h3 { font-size: 29px; line-height: 1.45; }
.route-lead { color: #5b6b7b; margin-top: 16px; max-width: 670px; }
.route-interest-tabs, .route-exam-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px; }
.route-interest-tabs button, .route-exam-tabs button { background: #fff9; border: 1px solid #cfdeea; color: #455e75; border-radius: 999px; min-height: 44px; padding: 10px 16px; font-size: 13px; }
.route-interest-tabs button[aria-pressed="true"] { background: var(--ai-mint-soft); border-color: #72cccb; color: var(--ai-mint-text); box-shadow: inset 0 1px 1px #fff, 0 3px 8px #72cccb24; }
.route-exam-tabs button[aria-pressed="true"] { background: var(--ai-navy); color: #fff; border-color: var(--ai-navy); }
.route-context-card { background: #fff9; border: 1px solid #d7e5ef; border-radius: 18px; padding: 23px; box-shadow: inset 0 2px 3px #fff; }
.route-label { display: block; font-size: 12px; color: #49627b; margin-bottom: 10px; }
.route-context-card p { font-size: 14px; color: #304d69; overflow-wrap: anywhere; }
.route-refine { margin-top: 22px; }
.route-refine label { display: block; font-size: 13px; color: #425b72; margin-bottom: 8px; }
.route-refine select { width: 100%; padding: 13px; min-height: 48px; background: #fff; color: #234d77; border: 1px solid #d1dfeb; border-radius: 12px; font-size: 14px; }
.route-refine p { color: #677787; font-size: 12px; margin-top: 7px; }
.route-record-card { margin-top: 24px; padding: 30px; border-radius: 24px; background: radial-gradient(ellipse at 0% 0%, #72cccb26, transparent 50%), linear-gradient(135deg, #ffffffdb, #eff5ffb3); border: 1px solid #fff; box-shadow: 0 14px 50px #24529b12, inset 0 2px 2px #fff, inset 0 -1px 4px #b89bf826; }
.route-badge { display: inline-flex; padding: 7px 12px; border: 1px solid #72cccb66; border-radius: 9px; background: #e6f5f4; color: #1b6264; font-size: 12px; }
.route-record-card[data-match="historical_reference"] .route-badge { background: #f4edff; border-color: #d8c7f5; color: #614994; }
.route-record-card[data-match="unavailable"] .route-badge { background: #f5f6f9; border-color: #d6dde4; color: #526574; }
.route-record-card h4 { font-size: 26px; margin-top: 17px; color: #1d416c; }
#route-record-meta { font-size: 13px; color: #5e6f83; margin-top: 8px; white-space: pre-line; }
.route-score-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 25px; margin-top: 25px; }
.route-weight { display: flex; align-items: center; gap: 16px; }
.route-weight p { font-size: 13px; color: #49627b; }
.route-ring { display: grid; place-items: center; flex: 0 0 auto; width: 145px; height: 145px; border-radius: 50%; background: conic-gradient(var(--ai-blue) 0 15%, #dfeaf4 15% 100%); box-shadow: 0 8px 18px #24529b0d; }
.route-ring > span { width: 119px; height: 119px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #f8fbff; font-size: 11px; color: #45637f; }
.route-ring strong { font: 46px/1.1 var(--ai-heading); color: var(--ai-navy); }
.route-ring small { font-size: 19px; }
.route-minimum { border-left: 1px solid #d3dfec; padding-left: 24px; }
.route-minimum > span { font-size: 12px; color: #5d5379; }
.route-minimum > strong { display: block; font: 38px var(--ai-heading); color: #6750a5; }
.route-minimum p { font-size: 12px; color: #5d5379; }
.route-record-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid #d4e1ec; font-size: 14px; color: #405b75; }
.route-record-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 9px; }
.route-record-actions .text-link { font-size: 12px; }
.route-footnote { color: #627286; font-size: 12px; line-height: 1.8; margin-top: 12px; }
#route-record-fallback { color: #4c6176; font-size: 14px; margin-top: 20px; }
.route-stat-card { border: 1px solid #dde6f4; background: linear-gradient(145deg, #f9f5ffe6, #fff); padding: 27px; border-radius: 22px; box-shadow: inset 0 1px 2px #fff; }
.route-stat-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-block: 18px; }
.route-stat-values > div > span { display: block; font-size: 12px; color: #637186; }
.route-stat-values strong { display: block; font: 38px var(--ai-heading); color: #385d91; white-space: nowrap; }
.route-stat-values strong small { font: 16px var(--ai-font); color: #6b7c92; margin-left: 4px; }
.route-stat-values > div + div strong { font-size: 28px; }
.route-stat-values small, .route-stat-card > p { font-size: 12px; color: #617187; }
.route-blueprint { margin-top: 18px; padding: 24px; background: #eaf6f566; border: 1px solid #cce7e5; border-radius: 18px; }
.route-blueprint > div:first-child { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #21666c; }
.route-reading-bar { height: 9px; border-radius: 999px; background: #d9e9e8; margin-top: 17px; overflow: hidden; }
.route-reading-bar span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--ai-mint); }
.route-blueprint p { font-size: 13px; color: #4b6979; margin-top: 13px; }
.route-blueprint small { display: block; color: #586f7c; font-size: 11px; }
.route-countdowns { display: grid; gap: 14px; margin-top: 24px; }
.route-countdown-card { padding: 24px; border-radius: 20px; border: 1px solid #d8e5ed; background: linear-gradient(140deg, #fff, #eef9fa); box-shadow: 0 8px 25px #24529b08; }
.route-countdown-card h4 { color: #315a88; font-size: 18px; }
.route-time-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.route-time-tags span { font-size: 10px; background: #e1f3f0; color: #22615e; padding: 4px 8px; border-radius: 6px; }
.route-time-tags .criteria-tag { background: #e8edfc; color: #365d9c; }
.route-time-tags .personal-tag { background: #f4e8f8; color: #825c90; }
.route-clock { font: 30px/1.4 var(--ai-heading); color: #1d416c; margin-top: 18px; font-variant-numeric: tabular-nums; }
.route-date { font-size: 13px; color: #47667d; margin-top: 8px; }
.route-countdown-card .text-link { font-size: 12px; }
.route-empty { padding: 23px; border: 1px dashed #bacede; border-radius: 17px; color: #566d82; font-size: 14px; background: #fff9; }
.route-calendar { border-top: 1px solid #d5e4eb; margin-top: 26px; padding-top: 22px; }
.route-calendar-title { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }
.route-calendar-title strong { color: #345776; font-size: 14px; }
.route-calendar-title span { color: #637689; font-size: 11px; }
.route-timeline { display: flex; align-items: flex-start; gap: 20px; position: relative; margin-top: 23px; padding-top: 19px; }
.route-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: linear-gradient(90deg, var(--ai-mint), var(--ai-violet), var(--ai-pink)); }
.route-exam-marker { position: relative; flex: 1; min-width: 0; }
.route-exam-marker::before, .route-today::before { content: ""; position: absolute; width: 12px; height: 12px; top: -19px; left: 0; border: 3px solid #fff; border-radius: 50%; background: var(--ai-navy); box-shadow: 0 0 0 1px #c4d6e6; }
.route-exam-marker strong { display: block; font-size: 12px; color: #3f5f7b; }
.route-exam-marker small { display: block; font-size: 10px; color: #657c8b; }
.route-today { position: relative; font-size: 11px; color: #4a6a7b; }
.route-today::before { background: var(--ai-mint); }
.route-week-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)); gap: 5px; margin-top: 20px; }
.route-week-blocks span { height: 22px; border-radius: 5px; background: #72cccb91; border: 1px solid #72cccb; }
.route-week-blocks .after-first { background: #b89bf86b; border-color: #b89bf8; }
.route-calendar p { font-size: 12px; color: #4e6d7b; margin-top: 12px; }
.route-calendar > small { display: block; color: #647b8a; font-size: 11px; margin-top: 6px; }
.route-personal-date { border: 1px solid #e1d9ec; border-radius: 16px; padding: 18px; background: #faf5ff; font-size: 13px; color: #5e557a; }
.route-personal-date summary { cursor: pointer; }
.route-personal-date > p { margin-top: 12px; }
.route-personal-date label { display: block; margin-top: 12px; }
.route-personal-date input { display: block; min-height: 44px; width: 100%; padding: 8px; border: 1px solid #d4cce6; border-radius: 8px; background: #fff; color: #4e536b; font-size: 16px; }
.route-personal-date button { margin-top: 16px; }
.route-next { padding: 30px; border-radius: 24px; border: 1px solid #ebd9f0; background: radial-gradient(ellipse at 0 0, #f59add26, transparent 70%), #fff; scroll-margin-top: 0; box-shadow: 0 10px 40px #b89bf81a; }
.route-next .eyebrow { font-size: 10px; color: #946586; }
.route-next > p { color: #5e6a7c; margin-top: 16px; }
.route-next .button-row { margin-top: 24px; }
.route-next .button { font-size: 13px; }
.route-intent { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e6ddec; font-size: 13px; color: #5f5779; }
.route-intent summary { cursor: pointer; }
.route-intent summary small { display: block; color: #716980; margin-top: 4px; }
.route-intent-options { display: grid; gap: 9px; margin-top: 17px; }
.route-intent-options a, .route-intent-options button { padding: 13px; text-align: left; background: #f6f3fb; color: #5e5a81; border: 1px solid #e5dfee; border-radius: 11px; font-size: 13px; }
.route-intent-options small { display: block; margin-top: 3px; }
#route-source-dialog p { margin-top: 15px; font-size: 14px; color: #55667c; }
#route-source-dialog ul { color: #55667c; font-size: 13px; padding-left: 22px; margin-top: 15px; }
.route-source-links { margin-top: 20px; }
body.motion-paused .route-pass { max-height: none; position: relative; top: auto; }
body:not(.js-ready) .route-pass { max-height: none; position: relative; top: auto; }
@media (max-width: 1100px) {
  .intro-frame { grid-template-columns: 1fr 360px; gap: 30px; }
  .route-layout { grid-template-columns: 285px minmax(0, 1fr); gap: 34px; }
  .route-pass { padding: 23px; }
  .route-pass h2 { font-size: 24px; }
  .route-score-grid { grid-template-columns: 1fr; gap: 20px; }
  .route-minimum { border-left: 0; border-top: 1px solid #d3dfec; padding: 17px 0 0; }
}
@media (max-width: 800px) {
  .entry-brand { gap: 9px; }
  .entry-moon { width: 37px; height: 32px; }
  .intro-frame { grid-template-columns: 1fr; }
  .intro-question-card { max-height: none; overflow: visible; }
  .route-layout { grid-template-columns: 1fr; gap: 28px; }
  .route-pass { max-height: none; position: relative; top: auto; }
  .route-progress { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .route-progress::before { display: none; }
  .route-guide { display: none; }
  .route-section { padding-block: 110px 60px; }
  .route-score-grid { grid-template-columns: 1fr 1fr; }
  .route-minimum { border-top: 0; border-left: 1px solid #d3dfec; padding: 0 0 0 20px; }
}
@media (max-width: 640px) {
  .route-section { padding-top: 140px; }
  .entry-brand { gap: 8px; }
  .entry-moon { width: 34px; height: 30px; }
  .route-phase { padding-bottom: 32px; scroll-margin-top: 0; }
  .route-phase h2 { font-size: 30px; }
  .route-phase h3, .route-next h3 { font-size: 24px; }
  .route-lead { font-size: 14px; }
  .route-record-card, .route-stat-card, .route-next { padding: 22px; }
  .route-score-grid { grid-template-columns: 1fr; }
  .route-weight { gap: 18px; }
  .route-minimum { border-left: 0; border-top: 1px solid #d3dfec; padding: 16px 0 0; }
  .route-ring { width: 125px; height: 125px; }
  .route-ring > span { width: 103px; height: 103px; }
  .route-ring strong { font-size: 39px; }
  .route-stat-values { grid-template-columns: 1fr; gap: 16px; }
  .route-stat-values strong { font-size: 39px; }
  .route-clock { font-size: 24px; }
  .route-countdown-card { padding: 21px; }
  .route-next .button { width: 100%; }
  .route-next { scroll-margin-top: 0; }
  .route-timeline { flex-direction: column; gap: 17px; padding-top: 0; padding-left: 22px; }
  .route-timeline::before { width: 2px; height: auto; left: 4px; right: auto; top: 3px; bottom: 14px; background: linear-gradient(var(--ai-mint), var(--ai-violet), var(--ai-pink)); }
  .route-exam-marker::before, .route-today::before { left: -23px; top: 4px; }
}
@media (max-width: 380px) { .entry-brand { gap: 6px; } .route-progress { gap: 2px 7px; } .route-progress a { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .route-pass { max-height: none; position: relative; top: auto; } .entry-moon { transition: none; } }

.route-clock-units { display: block; color: #62798d; font-size: 10px; margin-top: 3px; }

#route-source-dialog { background: linear-gradient(135deg, #f7fffe, #fff 50%, #f5f0ff); }

.intro.is-stacked .intro-question-card { max-height: none; overflow: visible; }
