:root {
  --navy: #071a36;
  --navy-2: #0d2b53;
  --navy-3: #153d6c;
  --ink: #102a49;
  --blue: #1678e5;
  --blue-2: #56b3ff;
  --sky: #eaf6ff;
  --sky-2: #f5faff;
  --line: #d4e2ed;
  --line-dark: rgba(170, 216, 255, .2);
  --lime: #d8f18c;
  --green: #38a66b;
  --amber: #d99019;
  --red: #d55454;
  --white: #fff;
  --muted: #607790;
  --sidebar: 286px;
  --shadow: 0 24px 70px rgba(25, 59, 94, .11);
  --soft-shadow: 0 12px 34px rgba(25, 59, 94, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f5faff; font-family: "Manrope", Arial, sans-serif; font-size: 16px; }
button, input, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(22, 120, 229, .3); outline-offset: 3px; }
a { color: inherit; }
[hidden] { display: none !important; }

.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { height: 100vh; position: sticky; top: 0; z-index: 30; display: flex; flex-direction: column; overflow-y: auto; background: #fff; border-right: 1px solid var(--line); padding: 28px 22px 20px; scrollbar-width: thin; }
.sidebar-head { padding: 0 8px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 20px; font-weight: 800; letter-spacing: -.8px; text-decoration: none; }
.brand b { color: var(--blue); }
.brand-mark { width: 39px; height: 39px; display: inline-grid; place-items: center; border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); font: 500 12px "DM Mono", monospace; letter-spacing: -.8px; }
.service-label { margin: 10px 0 0 49px; color: #7290aa; font: 500 9px "DM Mono", monospace; letter-spacing: 1.3px; }
.profile-card { margin: 26px 0 24px; display: grid; grid-template-columns: 42px 1fr 8px; gap: 11px; align-items: center; padding: 14px; border: 1px solid #c9def0; border-radius: 13px; background: linear-gradient(135deg, #f5fbff, #eef7ff); }
.avatar { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: #1375c9; color: #fff; font-weight: 800; font-size: 14px; }
.avatar.meera { background: #118f81; }
.profile-card strong { display: block; color: var(--navy); font-size: 14px; }
.profile-card div span { display: block; margin-top: 3px; color: #54738f; font-size: 11px; line-height: 1.3; }
.profile-status { width: 7px; height: 7px; border-radius: 50%; background: #46b879; box-shadow: 0 0 0 4px #dcf5e7; }
.nav-label { margin: 0 8px 9px; color: #8aa0b4; font: 500 9px "DM Mono", monospace; letter-spacing: 1.2px; }
.primary-nav, .secondary-nav { display: grid; gap: 6px; }
.secondary-nav { margin-top: 20px; }
.nav-item { width: 100%; min-height: 62px; display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #4e6c87; text-align: left; transition: .2s ease; }
.nav-item:hover { background: #f3f9fe; color: #184f7e; }
.nav-item.active { background: #eaf6ff; border-color: #b8dbf6; color: #075da8; }
.nav-number, .nav-glyph { color: #1475c7; font: 600 11px "DM Mono", monospace; }
.nav-glyph { width: 20px; height: 20px; display: inline-grid; place-items: center; border: 1px solid #acd3f1; border-radius: 50%; font-size: 11px; }
.nav-item strong { display: block; font-size: 13px; line-height: 1.3; }
.nav-item small { display: block; margin-top: 3px; color: #71889d; font-size: 10px; line-height: 1.3; }
.nav-item.active small { color: #487da8; }
.compact-item { min-height: 48px; }
.compact-item small { margin-top: 2px; }
.sidebar-foot { margin-top: auto; padding: 22px 8px 0; border-top: 1px solid var(--line); }
.prototype-note { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; }
.prototype-note > span { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #7fcea3; box-shadow: 0 0 0 4px #e9f8ef; }
.prototype-note strong, .prototype-note small { display: block; }
.prototype-note strong { color: var(--navy); font-size: 11px; }
.prototype-note small { margin-top: 2px; color: #71879c; font-size: 10px; }
.quiet-action { display: block; padding: 4px 0; border: 0; background: transparent; color: #1767a9; font-size: 11px; font-weight: 700; text-align: left; }
.quiet-action:hover { text-decoration: underline; }
.mobile-close, .mobile-menu { display: none; }
.sidebar-scrim { display: none; }

.main-column { min-width: 0; background: #f6fbff; }
.topbar { height: 70px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #7690a8; font: 500 10px "DM Mono", monospace; letter-spacing: .8px; }
.breadcrumb b { color: #b1c3d2; }
.breadcrumb strong { color: #22577f; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.plan-shortcut { display: flex; align-items: center; gap: 9px; padding: 7px 8px 7px 12px; border: 1px solid #caddeb; border-radius: 999px; background: #fff; color: #55738e; font-size: 11px; }
.plan-shortcut strong { padding: 4px 7px; border-radius: 999px; background: #eaf6ff; color: #0d68b6; font: 600 10px "DM Mono", monospace; }
.avatar-button { width: 35px; height: 35px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #0c6ebd; color: white; font-size: 12px; font-weight: 800; }

.view { display: none; min-height: calc(100vh - 70px); padding: clamp(42px, 5vw, 78px) clamp(28px, 5vw, 76px) 90px; animation: view-in .32s ease both; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0 0 15px; color: #256496; font: 600 11px "DM Mono", monospace; letter-spacing: 1.15px; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 8px 3px 0; background: var(--blue); }
.eyebrow.light { color: #a7d9ff; }
.eyebrow.light span { background: #66bfff; }
.view-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; max-width: 1240px; margin: 0 auto 38px; }
.view-intro > div:first-child { max-width: 760px; }
.view-intro h1, .route-context-bar h1, .task-hero h1 { margin: 0; color: var(--navy); font-size: clamp(38px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -3.4px; }
.view-intro > div:first-child > p:last-child { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.principle-note { flex: 0 0 300px; display: flex; gap: 13px; align-items: flex-start; padding: 18px; border: 1px solid #cde1ef; border-radius: 13px; background: #fff; box-shadow: var(--soft-shadow); }
.note-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #e5f4ff; color: #0b68b5; font: 600 11px "DM Mono", monospace; }
.principle-note strong { color: var(--navy); font-size: 14px; }
.principle-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.route-builder-card { max-width: 1240px; min-height: 440px; margin: 0 auto; padding: clamp(24px, 3.3vw, 44px); border: 1px solid #cbddea; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.builder-topline { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.builder-topline > div { max-width: 780px; }
.builder-topline span, .question-meta, .mini-label { color: #2c6b9d; font: 500 10px "DM Mono", monospace; letter-spacing: 1.1px; }
.builder-topline h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(24px, 2.5vw, 35px); letter-spacing: -1.7px; line-height: 1.15; }
.text-action { padding: 7px 0; border: 0; background: transparent; color: #126db8; font-size: 13px; font-weight: 800; }
.text-action:hover { text-decoration: underline; }
.builder-progress { height: 4px; margin: 25px 0; overflow: hidden; border-radius: 99px; background: #e4edf4; }
.builder-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1678e5, #64c2ff); transition: width .28s ease; }
.route-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.route-option { min-height: 128px; padding: 18px; border: 1px solid #d4e1eb; border-radius: 12px; background: #fff; color: var(--navy); text-align: left; transition: .2s ease; }
.route-option:hover, .route-option.active { transform: translateY(-2px); border-color: var(--blue); background: #f1f8ff; box-shadow: 0 9px 22px rgba(22, 120, 229, .09); }
.route-option .route-no { display: block; margin-bottom: 15px; color: #0b6cba; font: 600 12px "DM Mono", monospace; }
.route-option strong { display: block; font-size: 14px; line-height: 1.3; }
.route-option small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.condition-stage { animation: slide-question .28s ease both; }
@keyframes slide-question { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.question-meta { display: flex; justify-content: space-between; gap: 20px; }
.question-meta span:last-child { color: #7994ab; }
.condition-stage h3 { max-width: 760px; margin: 22px 0 7px; color: var(--navy); font-size: clamp(25px, 3vw, 39px); letter-spacing: -2px; line-height: 1.13; }
.condition-stage > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.diagnostic-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 28px; }
.diagnostic-option { min-height: 94px; padding: 18px; border: 1px solid #cfdeea; border-radius: 11px; background: #fff; color: #365b79; text-align: left; font-size: 14px; font-weight: 700; line-height: 1.4; transition: .18s ease; }
.diagnostic-option:hover, .diagnostic-option.active { border-color: var(--blue); background: #eaf6ff; color: #075ca5; box-shadow: inset 0 0 0 1px var(--blue); }
.generate-button { max-width: 280px; margin: 24px 0 0 auto; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 18px; border-radius: 8px; font-size: 13px; font-weight: 800; text-decoration: none; transition: .18s ease; }
.primary-button { border: 0; background: var(--lime); color: #102f51; }
.primary-button:hover { background: #e4f7a9; transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.primary-button span { font-size: 17px; }
.secondary-button { border: 1px solid #bfd4e6; background: #fff; color: #1767a7; }
.secondary-button:hover { border-color: #75b1df; background: #f2f9ff; }
.trust-strip { max-width: 1240px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px auto 0; border: 1px solid #d5e2ec; border-radius: 14px; background: rgba(255,255,255,.76); }
.trust-strip article { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 19px 22px; border-right: 1px solid #d5e2ec; }
.trust-strip article:last-child { border-right: 0; }
.trust-strip article > span { color: #2679bd; font: 600 11px "DM Mono", monospace; }
.trust-strip strong { color: var(--navy); font-size: 13px; }
.trust-strip p { margin: 4px 0 0; color: #6b8094; font-size: 11px; line-height: 1.45; }

#view-now { padding-top: 0; background: linear-gradient(#071a36 0 305px, #f5faff 305px); }
.route-context-bar { min-height: 290px; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: white; }
.route-context-bar > div { max-width: 775px; }
.route-context-bar h1 { color: #fff; font-size: clamp(28px, 3.4vw, 48px); }
.route-context-bar > div > p:last-child { max-width: 660px; margin: 14px 0 0; color: #bad2e7; font-size: 14px; line-height: 1.6; }
.context-change { flex: 0 0 auto; padding: 10px 13px; border: 1px solid rgba(179,221,255,.28); border-radius: 7px; background: rgba(255,255,255,.07); color: #c9e8ff; font-size: 12px; font-weight: 700; }
.focus-layout { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 18px; margin: -5px auto 0; }
.focus-card, .parallel-card { border-radius: 18px; box-shadow: var(--shadow); }
.focus-card { min-height: 440px; padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; background: #fff; border: 1px solid #cfe0ec; position: relative; overflow: hidden; }
.focus-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -115px; top: -115px; border-radius: 50%; border: 1px solid #c6e3f8; box-shadow: 0 0 0 34px #f2f9ff, 0 0 0 70px #f8fcff; }
.focus-heading { display: flex; align-items: center; gap: 9px; position: relative; z-index: 1; }
.focus-heading p { margin: 0; color: #1768ab; font: 600 11px "DM Mono", monospace; letter-spacing: 1.3px; }
.focus-heading > span:last-child { margin-left: auto; padding: 6px 8px; border-radius: 999px; background: #eaf7ee; color: #267b4f; font: 600 9px "DM Mono", monospace; letter-spacing: .7px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3dae71; box-shadow: 0 0 0 5px #e4f6eb; }
.focus-card h2 { max-width: 730px; margin: 28px 0 13px; color: var(--navy); font-size: clamp(34px, 4vw, 58px); letter-spacing: -3px; line-height: 1.02; position: relative; z-index: 1; }
.focus-card > p { max-width: 680px; margin: 0; color: #56718a; font-size: 16px; line-height: 1.65; }
.focus-reason { max-width: 650px; display: grid; grid-template-columns: 110px 1fr; gap: 14px; margin: 27px 0 32px; padding-top: 18px; border-top: 1px solid #dce7ef; }
.focus-reason span { color: #2c709f; font: 600 9px "DM Mono", monospace; letter-spacing: 1px; }
.focus-reason p { margin: 0; color: #405f7a; font-size: 13px; line-height: 1.5; }
.focus-actions { display: flex; gap: 10px; margin-top: auto; }
.focus-actions .primary-button { min-width: 250px; }
.parallel-card { padding: 28px; background: #0d2a50; border: 1px solid #23496f; color: white; }
.parallel-heading { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid rgba(179,217,247,.18); }
.parallel-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(106,191,255,.12); color: #79c8ff; }
.parallel-heading p { margin: 2px 0 4px; color: #b5ddfb; font: 600 10px "DM Mono", monospace; letter-spacing: 1px; }
.parallel-heading div span { color: #a9c1d6; font-size: 11px; line-height: 1.45; }
.parallel-list { display: grid; gap: 9px; margin-top: 20px; }
.parallel-item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid rgba(183,219,246,.15); border-radius: 9px; background: rgba(255,255,255,.045); }
.parallel-item > span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #5b8ab3; border-radius: 50%; color: #8ed0ff; font-size: 11px; }
.parallel-item strong { display: block; font-size: 12px; }
.parallel-item small { display: block; margin-top: 2px; color: #a9c2d7; font-size: 10px; line-height: 1.35; }
.parallel-footnote { margin: 18px 0 0; color: #8ea9c1; font-size: 10px; line-height: 1.5; }
.conditions-row { max-width: 1240px; margin: 18px auto 0; display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; padding: 20px 22px; border: 1px solid #d6e2eb; border-radius: 13px; background: #fff; }
.condition-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.condition-pills span { padding: 6px 9px; border: 1px solid #cfe1ee; border-radius: 999px; background: #f5faff; color: #476984; font-size: 11px; font-weight: 600; }
.context-companion { max-width: 1240px; margin: 18px auto 0; }
.companion-card { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; padding: 25px 28px; border: 1px solid #cfdeea; border-radius: 14px; background: linear-gradient(110deg, #fff, #f0f8ff); }
.companion-card[data-type="evidence"] { background: linear-gradient(110deg, #0d2a50, #153d6c); border-color: #244d75; color: white; }
.companion-card .mini-label { margin: 0 0 7px; }
.companion-card[data-type="evidence"] .mini-label { color: #89ccff; }
.companion-card h3 { margin: 0; color: var(--navy); font-size: 20px; letter-spacing: -.7px; }
.companion-card[data-type="evidence"] h3 { color: white; }
.companion-card p:last-child { max-width: 720px; margin: 6px 0 0; color: #637b91; font-size: 12px; line-height: 1.55; }
.companion-card[data-type="evidence"] p:last-child { color: #bfd6e9; }
.companion-card .primary-button { min-width: 210px; }

.plan-intro { align-items: center; }
.route-progress-card { min-width: 330px; display: flex; gap: 15px; align-items: center; padding: 16px 18px; border: 1px solid #cfdfeb; border-radius: 14px; background: white; box-shadow: var(--soft-shadow); }
.progress-ring { --p: 20; width: 64px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--p) * 1%), #e4edf4 0); position: relative; }
.progress-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: white; }
.progress-ring span { position: relative; z-index: 1; color: #176ab0; font: 600 11px "DM Mono", monospace; }
.route-progress-card strong, .route-progress-card small { display: block; }
.route-progress-card strong { color: var(--navy); font-size: 13px; }
.route-progress-card small { max-width: 190px; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.status-legend { max-width: 1240px; display: flex; flex-wrap: wrap; gap: 18px; margin: 0 auto 18px; color: #61778c; font-size: 11px; }
.status-legend span { display: flex; align-items: center; gap: 7px; }
.status-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status-legend [data-legend="done"]::before { background: #45a66f; }
.status-legend [data-legend="current"]::before { background: var(--blue); box-shadow: 0 0 0 3px #dcefff; }
.status-legend [data-legend="parallel"]::before { background: #74b6dd; }
.status-legend [data-legend="upcoming"]::before { border: 1px solid #9db4c8; background: white; }
.route-board { max-width: 1240px; display: grid; gap: 10px; margin: 0 auto; }
.route-step { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(220px, .75fr) 110px 22px; gap: 18px; align-items: center; min-height: 104px; padding: 17px 20px; border: 1px solid #d2e0ea; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; transition: .2s ease; }
.route-step:hover { transform: translateX(4px); border-color: #8ec5ec; box-shadow: var(--soft-shadow); }
.step-number { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid #bbd1e2; border-radius: 50%; color: #57748c; font: 600 12px "DM Mono", monospace; }
.route-step strong { display: block; color: var(--navy); font-size: 16px; }
.route-step small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.step-dependency { color: #647b90; font-size: 11px; line-height: 1.45; }
.step-state { justify-self: end; padding: 6px 8px; border-radius: 999px; background: #f0f4f7; color: #60778d; font: 600 9px "DM Mono", monospace; letter-spacing: .6px; text-transform: uppercase; }
.step-arrow { color: #6c9abe; font-size: 17px; }
.route-step[data-state="complete"] { background: #f7fcf9; border-color: #bfdfcc; }
.route-step[data-state="complete"] .step-number { background: #e7f7ed; border-color: #99c9aa; color: #248052; }
.route-step[data-state="complete"] .step-state { background: #e5f6eb; color: #287c50; }
.route-step[data-state="current"] { border-color: var(--blue); box-shadow: inset 4px 0 0 var(--blue), var(--soft-shadow); }
.route-step[data-state="current"] .step-number { background: #e7f4ff; border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px #f1f8ff; }
.route-step[data-state="current"] .step-state { background: #e4f3ff; color: #0b66b3; }
.route-step[data-state="parallel"] { border-style: dashed; background: #f7fbff; }
.route-step[data-state="parallel"] .step-state { background: #eaf6ff; color: #397aa6; }
.route-step[data-state="blocked"] { background: #fafbfd; }
.route-step[data-state="blocked"] .step-state { background: #fff2dc; color: #996310; }
.return-focus { max-width: 1240px; display: flex; justify-content: space-between; gap: 25px; align-items: center; margin: 18px auto 0; padding: 22px 25px; border-radius: 14px; background: var(--navy); color: white; }
.return-focus strong { font-size: 14px; }
.return-focus p { margin: 4px 0 0; color: #acc7dc; font-size: 11px; }
.small-primary { width: auto; min-width: 210px; }

#view-task { padding-top: 28px; }
.back-link { padding: 5px 0; border: 0; background: transparent; color: #176bb1; font-size: 13px; font-weight: 800; }
.task-hero { max-width: 1240px; min-height: 330px; display: flex; justify-content: space-between; gap: 45px; align-items: flex-end; margin: 22px auto 0; padding: clamp(32px, 5vw, 65px); border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 85% 15%, #194d80 0, #0e315a 28%, #071a36 68%); color: white; position: relative; }
.task-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -180px; border: 1px solid rgba(139,207,255,.3); border-radius: 50%; box-shadow: 0 0 0 42px rgba(105,187,246,.05), 0 0 0 84px rgba(105,187,246,.04); }
.task-hero > div:first-child { max-width: 800px; position: relative; z-index: 1; }
.task-route-label { color: #91ccf7; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.task-hero h1 { max-width: 780px; margin-top: 17px; color: white; font-size: clamp(36px, 4.2vw, 58px); }
.task-hero > div:first-child > p:last-child { max-width: 710px; margin: 16px 0 0; color: #bfd5e7; font-size: 15px; line-height: 1.65; }
.task-hero-status { flex: 0 0 185px; padding: 18px; border: 1px solid rgba(174,218,250,.2); border-radius: 13px; background: rgba(255,255,255,.07); position: relative; z-index: 1; }
.task-hero-status span, .task-hero-status strong, .task-hero-status small { display: block; }
.task-hero-status span { color: #9bd5ff; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.task-hero-status strong { margin-top: 12px; font-size: 14px; }
.task-hero-status small { margin-top: 4px; color: #9fb8cd; font-size: 10px; }
.task-tabs { max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 18px auto 0; padding: 7px; border: 1px solid #d3e1ec; border-radius: 12px; background: white; }
.task-tab { padding: 13px; border: 0; border-radius: 8px; background: transparent; color: #53718a; font-size: 12px; font-weight: 800; }
.task-tab.active { background: #e8f5ff; color: #0964ad; }
.task-detail-grid { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 17px; margin: 17px auto 0; }
.task-content, .task-aside { border: 1px solid #d3e1eb; border-radius: 16px; background: white; }
.task-content { min-height: 440px; padding: clamp(28px, 4vw, 48px); }
.task-content .section-kicker { margin: 0 0 10px; color: #2372ad; font: 500 10px "DM Mono", monospace; letter-spacing: 1px; }
.task-content h2 { max-width: 720px; margin: 0; color: var(--navy); font-size: clamp(25px, 3vw, 38px); letter-spacing: -1.8px; line-height: 1.12; }
.task-content .lead { max-width: 760px; margin: 15px 0 0; color: #526f87; font-size: 15px; line-height: 1.7; }
.detail-callout { display: grid; grid-template-columns: 105px 1fr; gap: 16px; margin-top: 28px; padding: 20px; border-radius: 11px; background: #eff8ff; }
.detail-callout > span { color: #246b9e; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.detail-callout p { margin: 0; color: #355a77; font-size: 13px; line-height: 1.6; }
.numbered-actions { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: task; }
.numbered-actions li { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid #dce7ef; counter-increment: task; }
.numbered-actions li::before { content: counter(task, decimal-leading-zero); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #eaf6ff; color: #0a68b6; font: 600 10px "DM Mono", monospace; }
.numbered-actions strong { display: block; color: var(--navy); font-size: 14px; }
.numbered-actions p { margin: 4px 0 0; color: #5d758a; font-size: 12px; line-height: 1.55; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; }
.check-list li { position: relative; padding: 14px 14px 14px 43px; border-top: 1px solid #dbe6ee; color: #46647e; font-size: 13px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 10px; top: 13px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e6f6eb; color: #287b51; font-weight: 800; }
.task-aside { padding: 26px; }
.aside-section + .aside-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid #dce7ef; }
.aside-section > p { margin: 0 0 11px; color: #2b6b9b; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.aside-section h3 { margin: 0; color: var(--navy); font-size: 17px; letter-spacing: -.6px; }
.aside-section ul { margin: 10px 0 0; padding-left: 17px; color: #597188; font-size: 12px; line-height: 1.6; }
.aside-section li + li { margin-top: 7px; }
.resource-link { width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 8px; padding: 11px; border: 1px solid #d4e2ec; border-radius: 8px; color: #1765a4; background: #f8fcff; font-size: 11px; font-weight: 700; text-decoration: none; }
.resource-link.mock { color: #5b7185; }
.resource-link span { font: 500 8px "DM Mono", monospace; letter-spacing: .7px; }
.task-complete-bar { max-width: 1240px; display: flex; justify-content: space-between; gap: 25px; align-items: center; margin: 17px auto 0; padding: 22px 25px; border: 1px solid #cbddea; border-radius: 14px; background: white; }
.task-complete-bar span, .task-complete-bar strong { display: block; }
.task-complete-bar span { color: #3473a2; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.task-complete-bar strong { margin-top: 5px; color: var(--navy); font-size: 13px; }
.complete-button { width: auto; min-width: 250px; }

.readiness-intro { align-items: center; }
.privacy-note { flex: 0 0 300px; display: flex; gap: 13px; padding: 17px; border: 1px solid #bde0ca; border-radius: 13px; background: #f4fcf7; }
.privacy-note > span { color: #2a9a60; }
.privacy-note strong { display: block; color: #1d5c3c; font-size: 13px; }
.privacy-note p { margin: 4px 0 0; color: #5c7868; font-size: 11px; line-height: 1.45; }
.readiness-layout { max-width: 1240px; display: grid; grid-template-columns: minmax(220px, .62fr) minmax(300px, .85fr) minmax(340px, 1fr); gap: 14px; margin: 0 auto; align-items: stretch; }
.document-selector, .review-panel, .result-panel { min-height: 520px; padding: 25px; border: 1px solid #d2e0ea; border-radius: 16px; background: white; }
.panel-heading { display: grid; grid-template-columns: 35px 1fr; gap: 11px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #dde7ef; }
.panel-heading > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #eaf6ff; color: #0c68b4; font: 600 10px "DM Mono", monospace; }
.panel-heading p { margin: 0 0 3px; color: #30719f; font: 500 9px "DM Mono", monospace; letter-spacing: .8px; }
.panel-heading strong { display: block; color: var(--navy); font-size: 13px; }
.document-types { display: grid; gap: 6px; margin-top: 16px; }
.document-type { width: 100%; display: grid; grid-template-columns: 31px 1fr; gap: 9px; align-items: center; min-height: 51px; padding: 9px 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #4a6881; text-align: left; font-size: 11px; font-weight: 700; }
.document-type span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; background: #eff5f9; color: #52738f; font: 600 9px "DM Mono", monospace; }
.document-type > div { min-width: 0; line-height: 1.3; }
.document-type > div small { display: block; margin-top: 3px; color: #8193a3; font: 500 8px "DM Mono", monospace; letter-spacing: .25px; text-transform: uppercase; }
.document-type:hover, .document-type.active { border-color: #aad2ee; background: #edf8ff; color: #0c65ad; }
.document-type.active span { background: #d9efff; color: #0662ac; }
.sample-files { display: grid; gap: 8px; margin-top: 17px; }
.sample-file { width: 100%; display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid #d5e2ec; border-radius: 9px; background: #fff; color: #42617b; text-align: left; }
.sample-file:hover, .sample-file.active { border-color: #68afe4; background: #f1f9ff; }
.sample-file > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: #edf4f8; color: #52748e; font: 600 9px "DM Mono", monospace; }
.sample-file strong { display: block; font-size: 11px; }
.sample-file small { display: block; margin-top: 2px; color: #74899c; font-size: 9px; }
.sample-file > span:last-child { padding: 4px 6px; border-radius: 999px; color: #a46408; background: #fff3df; font: 500 8px "DM Mono", monospace; }
.sample-file.corrected > span:last-child { color: #267b50; background: #e4f6eb; }
.upload-zone { min-height: 135px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 13px; padding: 18px; border: 1px dashed #9fc7e4; border-radius: 10px; background: #f8fcff; text-align: center; cursor: pointer; }
.upload-zone:hover { background: #eff8ff; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 50%; background: #e3f3ff; color: #0e6ab5; font-weight: 800; }
.upload-zone strong { color: #1b527f; font-size: 12px; }
.upload-zone small { margin-top: 4px; color: #7b90a1; font-size: 9px; line-height: 1.35; }
.review-button { width: 100%; margin-top: 13px; }
.result-panel { background: var(--navy); border-color: var(--navy); color: white; }
.result-panel.empty { display: grid; place-items: center; }
.empty-result { max-width: 240px; text-align: center; }
.empty-result > span { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 15px; border: 1px solid #416b91; border-radius: 50%; color: #8bcbf9; font: 600 10px "DM Mono", monospace; }
.empty-result strong { display: block; font-size: 15px; }
.empty-result p { margin: 7px 0 0; color: #9fb8cc; font-size: 11px; line-height: 1.5; }
.result-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid rgba(185,220,246,.16); }
.result-score { font: 700 40px "DM Mono", monospace; letter-spacing: -3px; color: var(--lime); }
.result-score small { color: #9ebbd3; font-size: 11px; letter-spacing: 0; }
.result-head p { margin: 0 0 5px; color: #8ecfff; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.result-head h3 { max-width: 210px; margin: 0; font-size: 17px; line-height: 1.25; }
.check-results { list-style: none; margin: 16px 0; padding: 0; }
.check-result { display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(185,220,246,.14); }
.check-result > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 11px; }
.check-result.fail > span { background: #ffe9c2; color: #9d6100; }
.check-result.pass > span { background: #dcf4e5; color: #24784e; }
.check-result strong { display: block; font-size: 12px; }
.check-result p { margin: 3px 0 0; color: #afc7d9; font-size: 10px; line-height: 1.45; }
.fix-box { padding: 13px; border-left: 2px solid var(--lime); background: rgba(255,255,255,.06); }
.fix-box span { color: #bde3ff; font: 500 8px "DM Mono", monospace; letter-spacing: 1px; }
.fix-box p { margin: 5px 0 0; color: #d4e5f2; font-size: 10px; line-height: 1.5; }
.correct-file { width: 100%; margin-top: 14px; }
.official-source-note { max-width: 1240px; margin: 14px auto 0; padding: 14px 17px; border: 1px solid #d5e2ec; border-radius: 10px; background: #fff; color: #667d91; font-size: 10px; line-height: 1.5; }
.official-source-note a { color: #0b66ae; font-weight: 800; }
.readiness-gate { max-width: 900px; min-height: 420px; display: grid; place-items: center; margin: 40px auto; padding: 60px; border: 1px solid #d2e1ec; border-radius: 18px; background: white; text-align: center; box-shadow: var(--soft-shadow); }
.gate-inner { max-width: 600px; }
.gate-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #eaf6ff; color: #0d69b7; font-size: 22px; }
.gate-inner h1 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 47px); letter-spacing: -2.5px; line-height: 1.05; }
.gate-inner p { margin: 16px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.school-tool { max-width: 1240px; display: grid; grid-template-columns: 360px 1fr; gap: 15px; margin: 0 auto; }
.school-filters, .school-result { padding: 30px; border: 1px solid #d2e0ea; border-radius: 16px; background: white; }
.filter-block + .filter-block { margin-top: 25px; }
.filter-block > p { margin: 0 0 9px; color: #365f7e; font-size: 12px; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-row.stacked { display: grid; }
.choice { padding: 9px 10px; border: 1px solid #cfdeea; border-radius: 7px; background: white; color: #547087; font-size: 10px; font-weight: 700; text-align: left; }
.choice.active { border-color: #5da9df; background: #eaf6ff; color: #0b64aa; }
.fine-print { margin: 28px 0 0; padding-top: 17px; border-top: 1px solid #dde7ef; color: #7a8fa1; font-size: 9px; line-height: 1.5; }
.school-result { min-height: 520px; }
.school-result-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.school-result-head > span { padding: 6px 8px; border-radius: 999px; background: #e7f5ff; color: #1467a8; font: 500 8px "DM Mono", monospace; }
.school-result h2 { max-width: 580px; margin: 7px 0 0; color: var(--navy); font-size: 30px; letter-spacing: -1.6px; line-height: 1.12; }
.school-result > p { margin: 13px 0 0; color: #5d758a; font-size: 13px; line-height: 1.6; }
.comparison-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.comparison-box { padding: 20px; border: 1px solid #d7e3ec; border-radius: 11px; background: #f9fcff; }
.comparison-box p { margin: 0 0 12px; color: #2f6f9f; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.comparison-box ul { margin: 0; padding-left: 17px; color: #4f6b83; font-size: 11px; line-height: 1.6; }
.comparison-box li + li { margin-top: 7px; }
.alumni-questions { margin-top: 22px; padding-top: 20px; border-top: 1px solid #dbe6ee; }
.alumni-questions h3 { margin: 0; color: var(--navy); font-size: 17px; }
.question-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.question-chips span { padding: 8px 10px; border-radius: 6px; background: #edf7fe; color: #376786; font-size: 10px; }
.cost-planning-section, .source-shortlist { margin-top: 26px; padding-top: 24px; border-top: 1px solid #dbe6ee; }
.section-headline { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.section-headline h3 { margin: 7px 0 0; color: var(--navy); font-size: 22px; letter-spacing: -1px; }
.section-headline > span { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; background: #eef6fb; color: #52738b; font: 500 8px "DM Mono", monospace; }
.section-note { max-width: 720px; margin: 10px 0 0; color: #657c90; font-size: 11px; line-height: 1.55; }
.cost-driver-grid { display: grid; gap: 10px; margin-top: 16px; }
.cost-driver-card { padding: 18px; border: 1px solid #d6e3ed; border-radius: 12px; background: #f9fcff; }
.cost-driver-card > div:first-child { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.cost-driver-card > div:first-child span { order: 2; color: #2570a7; font: 500 8px "DM Mono", monospace; letter-spacing: .7px; }
.cost-driver-card h3 { margin: 0; color: var(--navy); font-size: 15px; }
.cost-driver-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.cost-driver-columns p { margin: 0 0 8px; color: #3a749e; font: 500 8px "DM Mono", monospace; letter-spacing: .7px; }
.cost-driver-columns ul { margin: 0; padding-left: 16px; color: #5b7288; font-size: 10px; line-height: 1.55; }
.source-shortlist { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px; border: 1px solid #cfe0ec; border-radius: 13px; background: #f0f8fe; }
.source-shortlist h3 { margin: 6px 0 7px; color: var(--navy); font-size: 18px; }
.source-shortlist p:not(.mini-label) { max-width: 650px; margin: 0; color: #5e7589; font-size: 11px; line-height: 1.55; }
.source-shortlist .link-button { width: auto; min-width: 215px; margin: 0; border-color: #b8d6ea; background: #fff; color: #1269ad; text-align: center; text-decoration: none; }
.alumni-question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.alumni-question { border: 1px solid #d7e4ed; border-radius: 10px; background: #fff; overflow: hidden; }
.alumni-question summary { display: grid; grid-template-columns: 29px 1fr; gap: 9px; align-items: start; min-height: 62px; padding: 12px; color: #294f6e; font-size: 11px; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.alumni-question summary::-webkit-details-marker { display: none; }
.alumni-question summary span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #eaf6ff; color: #1470b7; font: 600 8px "DM Mono", monospace; }
.alumni-question[open] summary { background: #f6fbff; }
.alumni-question > p { margin: 0; padding: 0 13px 14px 50px; color: #6a7f91; font-size: 10px; line-height: 1.55; }

.notification-toggle { flex: 0 0 300px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 17px; border: 1px solid #cfe0ec; border-radius: 13px; background: white; }
.notification-toggle strong, .notification-toggle small { display: block; }
.notification-toggle strong { color: var(--navy); font-size: 12px; }
.notification-toggle small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.switch { width: 43px; height: 24px; padding: 3px; border: 0; border-radius: 999px; background: #b9c9d5; }
.switch span { display: block; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .2s ease; }
.switch.active { background: #3187c9; }
.switch.active span { transform: translateX(19px); }
.notices-layout { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 15px; margin: 0 auto; }
.notice-feed { display: grid; gap: 10px; }
.notice-card { display: grid; grid-template-columns: 115px 1fr 25px; gap: 20px; align-items: center; padding: 22px; border: 1px solid #d3e1eb; border-radius: 13px; background: white; text-decoration: none; transition: .18s ease; }
.notice-card:hover { transform: translateY(-2px); border-color: #8bc2e8; box-shadow: var(--soft-shadow); }
.notice-meta span, .notice-meta small { display: block; }
.notice-meta span { color: #266e9f; font: 500 9px "DM Mono", monospace; letter-spacing: .8px; }
.notice-meta small { margin-top: 5px; color: #8295a5; font-size: 9px; }
.notice-card h2 { margin: 0; color: var(--navy); font-size: 17px; letter-spacing: -.5px; }
.notice-card p { margin: 5px 0 0; color: #61778d; font-size: 11px; line-height: 1.5; }
.notice-card > span:last-child { color: #3980b6; }
.notice-aside { padding: 28px; border-radius: 15px; background: var(--navy); color: white; align-self: start; }
.notice-aside .mini-label { color: #8dcef9; }
.notice-aside h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -1px; }
.notice-aside > p:not(.mini-label) { color: #aac3d8; font-size: 11px; line-height: 1.55; }
.watch-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 22px; }
.watch-tags span { padding: 7px 8px; border: 1px solid rgba(171,214,245,.18); border-radius: 6px; background: rgba(255,255,255,.06); color: #c8e3f6; font-size: 10px; }
.link-button { width: 100%; margin-top: 8px; border-color: rgba(184,222,249,.2); background: rgba(255,255,255,.07); color: #d0ebff; }
.link-button:hover { background: rgba(255,255,255,.12); }

.guide-search { max-width: 920px; margin: 0 auto; padding: 30px; border: 1px solid #d1e0eb; border-radius: 16px; background: white; box-shadow: var(--soft-shadow); }
.guide-search label { display: block; margin-bottom: 10px; color: var(--navy); font-size: 13px; font-weight: 800; }
.guide-search > div { display: grid; grid-template-columns: 1fr 150px; gap: 9px; }
.guide-search input { min-height: 50px; padding: 0 15px; border: 1px solid #cbdde9; border-radius: 8px; color: var(--ink); font-size: 14px; }
.quick-questions { max-width: 920px; display: flex; flex-wrap: wrap; gap: 7px; margin: 12px auto 0; }
.quick-questions button { padding: 8px 10px; border: 1px solid #cee0ed; border-radius: 999px; background: white; color: #416985; font-size: 10px; }
.guide-answer { max-width: 920px; display: grid; grid-template-columns: 55px 1fr; gap: 22px; margin: 20px auto 0; padding: 33px; border-radius: 16px; background: var(--navy); color: white; }
.guide-mark { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #4c7ba3; border-radius: 50%; color: #9bd8ff; font: 600 11px "DM Mono", monospace; }
.guide-answer div > p { margin: 2px 0 8px; color: #89caf6; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.guide-answer h2 { margin: 0; font-size: 26px; letter-spacing: -1.2px; }
.answer-body { margin-top: 12px; color: #c3d8e8; font-size: 13px; line-height: 1.7; }
.answer-body a { color: #bde4ff; font-weight: 800; }
.guide-answer .answer-body > .guide-estimate { margin: 0 0 15px; padding: 10px 12px; border-left: 2px solid var(--lime); background: rgba(255,255,255,.06); color: #d5e7f3; font: 600 11px "Manrope", sans-serif; letter-spacing: 0; }
.guide-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-plan-grid section { padding: 14px; border: 1px solid rgba(174,218,250,.16); border-radius: 10px; background: rgba(255,255,255,.04); }
.guide-plan-grid strong { color: #8fd0fb; font: 500 8px "DM Mono", monospace; letter-spacing: .8px; }
.guide-plan-grid ul, .guide-plan-grid ol { margin: 10px 0 0; padding-left: 17px; color: #c9ddea; font-size: 11px; line-height: 1.55; }
.guide-caution { margin: 14px 0 8px; color: #a9c3d7; font-size: 10px; line-height: 1.55; }
.hour-building-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 15px 0; }
.hour-building-grid article { padding: 13px; border: 1px solid rgba(174,218,250,.16); border-radius: 10px; background: rgba(255,255,255,.04); }
.hour-building-grid article > span { color: #8fd0fb; font: 500 8px "DM Mono", monospace; letter-spacing: .7px; }
.hour-building-grid h3 { margin: 7px 0 5px; color: #fff; font-size: 13px; }
.hour-building-grid p { margin: 0; color: #b8d0e1; font-size: 10px; line-height: 1.5; }

.community-grid { max-width: 1240px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 0 auto; }
.community-grid article { min-height: 350px; display: flex; flex-direction: column; padding: 29px; border: 1px solid #d2e0ea; border-radius: 16px; background: white; }
.community-grid article:nth-child(2) { background: var(--navy); color: white; border-color: var(--navy); }
.community-type { color: #2e72a4; font: 500 9px "DM Mono", monospace; letter-spacing: 1px; }
.community-grid article:nth-child(2) .community-type { color: #88cffd; }
.community-grid h2 { margin: 29px 0 12px; color: var(--navy); font-size: 24px; letter-spacing: -1.2px; line-height: 1.15; }
.community-grid article:nth-child(2) h2 { color: white; }
.community-grid p { margin: 0; color: #60778c; font-size: 13px; line-height: 1.65; }
.community-grid article:nth-child(2) p { color: #b3cadd; }
.community-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 21px 0; }
.community-meta span { padding: 6px 8px; border-radius: 999px; background: #eef6fb; color: #56748b; font-size: 9px; }
.community-grid article:nth-child(2) .community-meta span { background: rgba(255,255,255,.08); color: #bfdcf0; }
.community-action { width: 100%; margin-top: auto; }
.community-grid article:nth-child(2) .community-action { border-color: rgba(186,220,244,.2); background: rgba(255,255,255,.07); color: white; }
.former-student-box { max-width: 1240px; display: flex; justify-content: space-between; gap: 30px; align-items: center; margin: 15px auto 0; padding: 27px 30px; border-radius: 15px; background: #eaf6ff; }
.former-student-box > div { max-width: 760px; }
.former-student-box h2 { margin: 8px 0 5px; color: var(--navy); font-size: 25px; letter-spacing: -1.3px; }
.former-student-box p:last-child { margin: 0; color: #5b748a; font-size: 12px; line-height: 1.55; }

.login-view { display: none; min-height: calc(100vh - 70px); place-items: center; background: radial-gradient(circle at 75% 10%, #e3f4ff 0, #f7fbff 45%, #edf7fe 100%); }
.login-view.active { display: grid; }
.login-card { width: min(620px, 100%); padding: clamp(35px, 6vw, 60px); border: 1px solid #cbdde9; border-radius: 21px; background: white; box-shadow: var(--shadow); }
.login-brand { margin-bottom: 43px; }
.login-card h1 { margin: 0; color: var(--navy); font-size: clamp(37px, 5vw, 55px); letter-spacing: -3px; line-height: 1.02; }
.login-card > p:not(.eyebrow):not(.login-note) { margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.account-form { display: grid; gap: 17px; margin-top: 27px; padding: 22px; border: 1px solid #c9e0f1; border-radius: 16px; background: linear-gradient(145deg, #f7fbff, #eef8ff); }
.account-name-label { display: grid; gap: 8px; color: #29567a; font-size: 13px; font-weight: 750; }
.account-name-label input { width: 100%; padding: 12px 13px; border: 1px solid #b8d5e9; border-radius: 10px; background: white; color: var(--navy); font: inherit; font-size: 14px; outline: none; }
.account-name-label input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #dcefff; }
.account-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.account-form legend { margin-bottom: 10px; color: #29567a; font-size: 13px; font-weight: 750; }
.journey-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.journey-picker label { position: relative; display: block; cursor: pointer; }
.journey-picker input { position: absolute; opacity: 0; pointer-events: none; }
.journey-picker label > span { display: grid; grid-template-columns: 26px 1fr; column-gap: 9px; min-height: 74px; padding: 12px; border: 1px solid #c9dcea; border-radius: 11px; background: white; transition: .2s ease; }
.journey-picker label > span b { grid-row: span 2; color: #1970b8; font: 700 11px "DM Mono", monospace; }
.journey-picker label > span strong { align-self: end; color: var(--navy); font-size: 12px; }
.journey-picker label > span small { align-self: start; margin-top: 3px; color: #637d94; font-size: 10px; line-height: 1.35; }
.journey-picker input:checked + span { border-color: #1875c5; background: #eaf6ff; box-shadow: inset 0 0 0 1px #1875c5; }
.journey-picker label:hover > span { border-color: #5ba7e0; transform: translateY(-1px); }
.account-submit { width: 100%; justify-content: center; margin-top: 1px; }
.login-divider { display: flex; align-items: center; gap: 11px; margin: 24px 0 16px; color: #7d96aa; font: 500 10px "DM Mono", monospace; letter-spacing: .8px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: #d6e3ec; }
.demo-profiles { display: grid; gap: 9px; margin-top: 27px; }
.login-divider + .demo-profiles { margin-top: 0; }
.demo-profiles button { display: grid; grid-template-columns: 44px 1fr 20px; gap: 12px; align-items: center; padding: 15px; border: 1px solid #cfe0ec; border-radius: 11px; background: white; color: var(--ink); text-align: left; }
.demo-profiles button:hover { border-color: var(--blue); background: #f0f8ff; }
.demo-profiles strong, .demo-profiles small { display: block; }
.demo-profiles strong { color: var(--navy); font-size: 13px; }
.demo-profiles small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.demo-profiles b { color: #2375b7; }
.login-note { margin: 17px 0 0; color: #8295a6; font-size: 9px; line-height: 1.45; }
.signed-out .sidebar, .signed-out .topbar, .signed-out .site-footer { display: none; }
.signed-out .app-shell { grid-template-columns: 1fr; }

.site-footer { display: flex; justify-content: space-between; gap: 35px; align-items: center; min-height: 95px; padding: 25px 42px; border-top: 1px solid #17395e; background: #06152d; color: white; }
.site-footer div strong, .site-footer div span { display: block; }
.site-footer div strong { font-size: 13px; }
.site-footer div span { margin-top: 3px; color: #83bce6; font: 500 8px "DM Mono", monospace; letter-spacing: .8px; }
.site-footer p { max-width: 700px; margin: 0; color: #9cb6cc; font-size: 10px; line-height: 1.55; text-align: right; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px; padding: 13px 16px; border-radius: 10px; background: #0b284c; color: white; box-shadow: 0 15px 40px rgba(0,0,0,.22); font-size: 12px; line-height: 1.45; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Readability floor: navigation and working labels remain clear at laptop distance. */
.service-label, .nav-label, .breadcrumb, .eyebrow, .builder-topline span, .question-meta,
.mini-label, .focus-heading p, .focus-heading > span:last-child, .parallel-heading p,
.task-route-label, .task-hero-status span, .task-content .section-kicker,
.aside-section > p, .panel-heading p, .result-head p, .fix-box span,
.community-type, .notice-meta span, .notice-meta small { font-size: 12px; }
.nav-item strong, .profile-card strong, .route-option strong, .parallel-item strong,
.panel-heading strong, .sample-file strong { font-size: 14px; }
.nav-item small, .profile-card div span, .route-option small, .parallel-heading div span,
.parallel-item small, .parallel-footnote, .condition-pills span, .trust-strip p,
.route-step small, .step-dependency, .task-hero-status small, .resource-link,
.document-type, .sample-file small, .upload-zone small, .check-result p,
.choice, .fine-print, .notice-card p, .notification-toggle small,
.community-meta span, .official-source-note, .site-footer p { font-size: 12px; }
.quiet-action, .plan-shortcut, .trust-strip strong, .focus-reason p,
.companion-card p:last-child, .route-progress-card strong, .route-progress-card small,
.status-legend, .task-content .lead, .numbered-actions p, .task-aside ul,
.check-result strong, .notice-aside > p:not(.mini-label), .comparison-box ul,
.guide-search label, .quick-questions button { font-size: 13px; }

@media (max-width: 1120px) {
  :root { --sidebar: 250px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .route-options { grid-template-columns: repeat(2, 1fr); }
  .focus-layout { grid-template-columns: 1.25fr .75fr; }
  .readiness-layout { grid-template-columns: .7fr 1fr; }
  .result-panel { grid-column: 1 / -1; min-height: 360px; }
  .route-step { grid-template-columns: 52px 1fr 180px 100px 18px; gap: 12px; }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { width: min(320px, 88vw); position: fixed; left: 0; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(7,26,54,.2); }
  .nav-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 25; background: rgba(4,18,36,.5); }
  .nav-open .sidebar-scrim { display: block; }
  .mobile-close { display: block; position: absolute; right: 0; top: -7px; padding: 4px 8px; border: 0; background: transparent; color: #446983; font-size: 23px; }
  .mobile-menu { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #c8dbe9; border-radius: 8px; background: white; color: #185d94; }
  .topbar { padding: 0 22px; }
  .breadcrumb span, .breadcrumb b { display: none; }
  .focus-layout, .task-detail-grid, .school-tool, .notices-layout { grid-template-columns: 1fr; }
  .focus-card { min-height: 400px; }
  .parallel-card { min-height: 320px; }
  .view-intro { display: block; }
  .principle-note, .route-progress-card, .privacy-note, .notification-toggle { margin-top: 24px; max-width: 420px; }
  .route-progress-card { min-width: 0; }
  .route-step { grid-template-columns: 48px 1fr 100px 20px; }
  .step-dependency { grid-column: 2 / -1; grid-row: 2; }
  .task-hero { display: block; }
  .task-hero-status { max-width: 220px; margin-top: 25px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-grid article { min-height: 300px; }
}

@media (max-width: 640px) {
  .topbar { height: 62px; padding: 0 14px; }
  .plan-shortcut span { display: none; }
  .view { padding: 36px 15px 65px; min-height: calc(100vh - 62px); }
  .view-intro h1, .route-context-bar h1, .task-hero h1 { font-size: 38px; letter-spacing: -2.3px; }
  .view-intro > div:first-child > p:last-child { font-size: 14px; }
  .route-builder-card { padding: 20px 15px; min-height: 400px; border-radius: 14px; }
  .builder-topline { display: block; }
  .builder-topline .text-action { margin-top: 8px; }
  .route-options { grid-template-columns: 1fr; }
  .route-option { min-height: 95px; }
  .diagnostic-options { grid-template-columns: 1fr; }
  .diagnostic-option { min-height: 70px; }
  .generate-button { max-width: none; width: 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid #d5e2ec; }
  .trust-strip article:last-child { border-bottom: 0; }
  #view-now { background: linear-gradient(#071a36 0 335px, #f5faff 335px); }
  .route-context-bar { min-height: 320px; display: block; padding-top: 48px; }
  .context-change { margin-top: 18px; }
  .focus-card { padding: 27px 22px; }
  .focus-card h2 { font-size: 37px; letter-spacing: -2.2px; }
  .focus-reason { grid-template-columns: 1fr; }
  .focus-actions, .conditions-row, .return-focus, .task-complete-bar, .former-student-box { display: block; }
  .focus-actions .primary-button, .focus-actions .secondary-button { width: 100%; }
  .focus-actions .secondary-button { margin-top: 8px; }
  .conditions-row .text-action { margin-top: 13px; }
  .companion-card { grid-template-columns: 1fr; }
  .companion-card .primary-button { width: 100%; }
  .status-legend { gap: 10px; }
  .route-step { grid-template-columns: 44px 1fr 18px; padding: 15px; }
  .step-state { grid-column: 2; grid-row: 2; justify-self: start; }
  .step-dependency { grid-column: 2 / -1; grid-row: 3; }
  .step-arrow { grid-column: 3; grid-row: 1; }
  .return-focus .primary-button, .task-complete-bar .primary-button, .former-student-box .primary-button { width: 100%; margin-top: 15px; }
  .task-hero { padding: 30px 22px; border-radius: 14px; }
  .task-tabs { grid-template-columns: 1fr 1fr; }
  .task-content, .task-aside { padding: 23px 19px; }
  .detail-callout { grid-template-columns: 1fr; }
  .readiness-layout { grid-template-columns: 1fr; }
  .document-selector, .review-panel, .result-panel { min-height: 0; }
  .result-panel { grid-column: auto; min-height: 360px; }
  .comparison-columns { grid-template-columns: 1fr; }
  .cost-driver-columns, .alumni-question-grid, .guide-plan-grid, .hour-building-grid { grid-template-columns: 1fr; }
  .source-shortlist { display: block; }
  .source-shortlist .link-button { width: 100%; margin-top: 16px; }
  .section-headline { display: block; }
  .section-headline > span { display: inline-block; margin-top: 10px; }
  .notice-card { grid-template-columns: 1fr 20px; }
  .notice-meta { grid-column: 1 / -1; }
  .guide-search { padding: 20px; }
  .guide-search > div { grid-template-columns: 1fr; }
  .guide-answer { grid-template-columns: 1fr; padding: 24px; }
  .login-card { padding: 34px 20px; }
  .journey-picker { grid-template-columns: 1fr; }
  .journey-picker label > span { min-height: 66px; }
  .site-footer { display: block; padding: 25px 18px; }
  .site-footer p { margin-top: 14px; text-align: left; }
  .toast { right: 14px; left: 14px; bottom: 14px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
