:root {
  --ink: #10263d;
  --ink-soft: #536274;
  --paper: #f5f3ee;
  --white: #fffefd;
  --line: #dcded9;
  --jade: #14746c;
  --jade-dark: #0e5f59;
  --sand: #e8dfd1;
  --warm: #f7ede0;
  --serif: "DM Serif Display", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(20,116,108,.3); outline-offset: 3px; }
.app-shell { min-height: 100dvh; padding-bottom: 78px; overflow: hidden; }
.site-header, .sub-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.site-header { position: relative; z-index: 2; }
.brand, .profile-link, .back-button, .text-button { border: 0; background: transparent; color: var(--ink); padding: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; color: white; background: var(--ink); border-radius: 50% 50% 45% 50%; font-size: 13px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.profile-link { color: var(--ink-soft); font-size: 13px; }
main { max-width: 660px; margin: 0 auto; }
.view { display: none; animation: arrive .35s ease both; }
.view.active { display: block; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero { position: relative; padding: 42px 24px 45px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 245px; height: 245px; top: -95px; right: -110px; border: 1px solid rgba(16,38,61,.14); border-radius: 48% 52% 40% 60%; box-shadow: 0 0 0 28px rgba(16,38,61,.035), 0 0 0 56px rgba(16,38,61,.025); }
.eyebrow, .section-kicker, .card-overline { margin: 0 0 12px; color: var(--jade); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .form-intro h1, .plan-hero h1 { position: relative; z-index: 1; margin: 0; font: 42px/1.11 var(--serif); letter-spacing: -.035em; }
.hero h1 em { color: var(--jade); font-style: italic; }
.hero-copy { position: relative; z-index: 1; max-width: 310px; margin: 20px 0 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 50px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; color: white; background: var(--ink); font-weight: 600; transition: transform .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-2px); background: #1b3957; }
.primary-button span, .outline-button span { font-size: 19px; font-weight: 400; line-height: 1; }
.trust-line { display: flex; gap: 8px; align-items: center; margin-top: 20px; color: #71808b; font-size: 11px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }

.search-panel { margin: 0 16px 36px; padding: 23px 20px 19px; border-radius: 9px; background: var(--white); box-shadow: 0 8px 28px rgba(16,38,61,.06); }
.search-panel h2, .journey-section h2, .school-teaser h2, .candidate-school-section h2, .school-workbench-section h2 { margin: 0; font: 27px/1.2 var(--serif); letter-spacing: -.02em; }
.search-box { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.search-box:focus-within { border-color: var(--jade); }
.search-box svg { width: 19px; fill: none; stroke: var(--ink-soft); stroke-width: 1.7; }
.search-box input { width: 100%; min-width: 0; height: 49px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #9da6a9; }
.search-filters { display: grid; gap: 16px; margin-top: 15px; }.filter-group { margin: 0; }.filter-label { margin: 0 0 8px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }.filter-chip { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: var(--white); font-size: 12px; transition: background .18s ease, border-color .18s ease, color .18s ease; }.filter-chip.is-active { border-color: var(--jade); color: white; background: var(--jade); }.filter-chip.is-unavailable, .filter-chip:disabled { border-color: #e5e7e4; color: #b3bab7; background: #f4f5f2; cursor: not-allowed; }.school-list-heading { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; }
.search-results { display: grid; gap: 8px; margin-top: 4px; }
.search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 2px 2px; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.search-result strong { display: block; font-size: 14px; }.search-result small { color: var(--ink-soft); font-size: 11px; }.school-list-markers { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }.school-marker { display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border-radius: 99px; font-size: 9px; font-weight: 700; line-height: 1; }.school-marker--traditional { color: #704c12; background: #fff1d7; }.school-marker--history { color: #5d5a70; background: #f0eff7; }.school-marker--pathway { color: #236358; background: #e5f4ef; }.school-marker--placement { color: #7a4d26; background: #fceee4; }.school-marker--category { color: #3b5d78; background: #e9f1f8; }
.search-empty { padding: 7px 2px 0; color: var(--ink-soft); font-size: 12px; }.school-marker-note { margin: 12px 0 0; color: #68777a; font-size: 10px; line-height: 1.65; }
.ai-service-note { margin: 18px 0 0; padding: 10px 11px; border-left: 2px solid var(--jade); color: #597069; background: #f5fbf8; font-size: 11px; line-height: 1.7; }

.journey-section { padding: 0 20px; }.section-heading { margin-bottom: 17px; }.journey-list { display: grid; gap: 1px; border-top: 1px solid var(--line); }
.journey-card { display: grid; grid-template-columns: 29px 1fr 18px; gap: 8px; align-items: center; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.journey-index { align-self: start; padding-top: 2px; color: var(--jade); font: 17px/1 var(--serif); }.journey-content strong { display: block; margin-bottom: 3px; font-size: 15px; }.journey-content small { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }.arrow { color: var(--jade); font-size: 18px; }
.quiet-note { display: flex; gap: 12px; align-items: flex-start; margin: 35px 20px 20px; padding: 17px 16px; border-radius: 5px; background: var(--sand); color: #5d5c56; font-size: 12px; line-height: 1.75; }.quiet-note p { margin: 0; }.note-symbol { color: var(--jade); }

.sub-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }.back-button { color: var(--ink-soft); font-size: 13px; }.step-label { color: var(--ink-soft); font-size: 11px; font-weight: 400; }.text-button { color: var(--jade); font-size: 13px; }
.form-intro { padding: 38px 24px 27px; }.form-intro h1 { font-size: 36px; }#assessmentView .form-intro h1 { font-family: var(--sans); font-weight: 700; line-height: 1.18; letter-spacing: 0; }.form-intro > p:last-child { margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; }.assessment-form { padding: 0 20px 32px; }.profile-block { padding: 20px 0 4px; border-top: 1px solid var(--line); }.profile-block h2 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.35; }.profile-block > p { margin: 7px 0 2px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }.profile-block-optional { margin-top: 8px; padding: 18px 14px 4px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,254,253,.52); }.assessment-form fieldset { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); }.profile-block fieldset:first-of-type { border-top: 0; }.profile-block-optional fieldset:first-of-type { border-top: 1px solid var(--line); }.assessment-form legend { margin-bottom: 15px; padding: 0; font-size: 14px; font-weight: 700; }.choice-grid { display: grid; gap: 8px; }.age-grid, .grade-grid { grid-template-columns: repeat(3, 1fr); }.gender-grid { grid-template-columns: repeat(2, 1fr); }.choice-grid label, .choice-stack label { position: relative; display: block; }.choice-grid input, .choice-stack input { position: absolute; opacity: 0; }.choice-grid span { display: grid; min-height: 47px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-weight: 600; }.choice-stack { display: grid; gap: 8px; }.choice-stack span { display: block; padding: 12px 14px 12px 39px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13px; }.choice-stack span::before { content: ""; position: absolute; top: 15px; left: 14px; width: 13px; height: 13px; border: 1px solid #9ba4a6; border-radius: 50%; }.choice-grid input:checked + span, .choice-stack input:checked + span { border-color: var(--jade); color: var(--jade); background: #f4faf8; }.choice-stack input:checked + span::before { border: 4px solid var(--jade); }.assessment-form select, .assessment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); }.assessment-form select { height: 49px; padding: 0 13px; }.assessment-form textarea { min-height: 74px; margin-top: 10px; padding: 10px 12px; resize: vertical; font-size: 13px; line-height: 1.6; }.assessment-form textarea::placeholder { color: #9da6a9; }.submit-button { width: 100%; margin-top: 18px; }
#assessmentView .choice-grid, #assessmentView .choice-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
#assessmentView .choice-grid span, #assessmentView .choice-stack span { display: grid; min-height: 48px; align-content: center; padding: 10px 12px 10px 36px; place-items: initial; font-size: 13px; font-weight: 700; line-height: 1.35; }
#assessmentView .choice-grid span::before, #assessmentView .choice-stack span::before { content: ""; position: absolute; top: 14px; left: 13px; width: 12px; height: 12px; border: 1px solid #9ba4a6; border-radius: 50%; background: var(--white); }
#assessmentView .choice-grid input:checked + span::before, #assessmentView .choice-stack input:checked + span::before { border: 4px solid var(--jade); }

.plan-hero { padding: 38px 24px 27px; }.plan-meta { margin: 0 0 13px; color: var(--ink-soft); font-size: 12px; }.plan-hero h1 { max-width: 330px; font-size: 38px; }.plan-hero > p:last-child { margin: 18px 0 0; color: var(--ink-soft); font-size: 14px; }.workbench-hero { padding-bottom: 12px; }.school-teaser { margin: 37px 24px 0; }.school-teaser h2 { font-size: 32px; }.school-teaser p:not(.section-kicker) { max-width: 290px; color: var(--ink-soft); font-size: 13px; }.outline-button { display: inline-flex; align-items: center; gap: 20px; margin-top: 3px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 13px; font-weight: 700; }.disclaimer { margin: 40px 24px 20px; color: #7d8789; font-size: 10px; line-height: 1.7; }
.school-workbench-section { margin: 18px 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fcfaf5; }
.school-workbench-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.school-workbench-heading h2 { font-size: 30px; }
.school-workbench-heading .outline-button { flex: 0 0 auto; margin-top: 2px; color: #7a6044; border-bottom-color: #b7a58e; font-weight: 400; }
.school-workbench-intro { margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.school-workbench-board { display: grid; gap: 10px; margin-top: 15px; }
.school-workbench-column { border: 1px solid #e0d8ca; border-radius: 9px; background: var(--white); overflow: hidden; }
.school-workbench-column-header { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 12px; border-bottom: 1px solid #eee8dc; color: #6c563c; background: #fbf4e9; font-size: 12px; }
.school-workbench-column-header span { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #6c563c; background: #fff; font-size: 11px; }
.school-workbench-list { display: grid; gap: 8px; padding: 10px; }
.school-workbench-empty { margin: 0; color: #8a8075; font-size: 11px; line-height: 1.65; }
.school-workbench-item { display: grid; gap: 5px; padding: 10px; border: 1px solid #eee8dc; border-radius: 7px; background: #fffefd; }
.school-workbench-name { padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: 12px; font-weight: 700; line-height: 1.45; }
.school-workbench-item small { color: var(--ink-soft); font-size: 10px; }
.school-workbench-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.school-workbench-actions button { min-height: 27px; padding: 0 8px; border: 1px solid #d8ded8; border-radius: 99px; color: #315d55; background: #f6fbf8; font-size: 10px; }
.candidate-school-section { margin: 18px 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.candidate-school-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.candidate-school-heading h2 { font-size: 30px; }
.candidate-school-heading .outline-button { flex: 0 0 auto; margin-top: 2px; color: #24594f; border-bottom-color: #24594f; font-weight: 400; }
.candidate-school-intro { margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.candidate-generate-button { width: 100%; margin-top: 15px; }
.candidate-school-status { margin: 12px 0 0; color: #5d6d70; font-size: 12px; line-height: 1.65; }
.candidate-school-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 15px; }
.candidate-school-card { display: grid; gap: 10px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fffefd; text-align: left; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.candidate-school-card:hover { transform: translateY(-1px); border-color: #b8cfc8; box-shadow: 0 10px 24px rgba(16,38,61,.06); }
.candidate-school-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.candidate-layer { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 99px; color: #24594f; background: #e7f5f0; font-size: 10px; font-weight: 700; }
.candidate-school-card--backup .candidate-layer { color: #3b5d78; background: #e9f1f8; }
.candidate-school-card--verify .candidate-layer { color: #805826; background: #fff1d7; }
.candidate-save-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid #d8ded8; border-radius: 99px; color: #6d7774; background: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.candidate-save-tag.is-saved { border-color: #b8d5ce; color: #24594f; background: #edf8f4; cursor: default; }
.candidate-school-card strong { display: block; font-size: 15px; line-height: 1.45; }
.candidate-school-card small { color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.candidate-decision-list { display: grid; gap: 8px; margin: 0; padding-top: 8px; border-top: 1px solid #edf0ec; }
.candidate-decision-list dt { color: #315d55; font-size: 10px; font-weight: 700; }
.candidate-decision-list dd { margin: 2px 0 0; color: #4f6265; font-size: 12px; line-height: 1.65; }
.candidate-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.candidate-card-actions button { min-height: 31px; padding: 0 10px; border: 1px solid #d8ded8; border-radius: 99px; color: #315d55; background: #fff; font-size: 11px; }
.candidate-card-actions button:disabled { color: #8c9692; background: #f1f3f0; cursor: not-allowed; }
.plan-analysis-card { margin: 16px 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.plan-analysis-card .section-kicker { margin-bottom: 10px; }
.plan-analysis-status { margin: 0; color: var(--ink-soft); font-size: 12px; font-weight: 400; line-height: 1.7; }
.plan-analysis-output { display: grid; gap: 18px; margin-top: 14px; }
.plan-overview-card { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.plan-overview-header { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-overview-avatar { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #a72f66; background: #fde9f1; font-size: 18px; font-weight: 400; }
.plan-overview-identity h3 { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.4; }
.plan-overview-identity p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; font-weight: 400; line-height: 1.5; }
.plan-overview-summary { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.plan-tab-shell { display: grid; gap: 18px; }
.plan-tab-list { display: flex; gap: 22px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.plan-tab-button { flex: 0 0 auto; min-height: 42px; padding: 0 2px; border: 0; border-bottom: 3px solid transparent; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 400; }
.plan-tab-button.is-active { border-bottom-color: #171717; color: #111; }
.plan-tab-panel[hidden] { display: none; }
.plan-tab-card-list { display: grid; gap: 12px; }
.plan-tab-card { display: grid; grid-template-columns: 24px 1fr; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.plan-tab-card-icon { display: grid; width: 20px; min-width: 20px; height: 20px; place-items: center; color: #3d4545; font-size: 14px; font-weight: 800; line-height: 1; }
.plan-tab-card-body strong { display: block; color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.55; }
.plan-tab-card-body p { margin: 6px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.route-card-list { display: grid; gap: 16px; }
.route-card { display: grid; gap: 16px; padding: 20px; border: 1px solid #e1e3df; border-radius: 12px; background: var(--white); box-shadow: 0 8px 24px rgba(16,38,61,.04); font-size: 13px; }
.route-badge { display: inline-flex; width: fit-content; align-items: center; min-height: 38px; padding: 0 13px; border: 1px solid #8abafd; border-radius: 12px; color: #174f98; background: #dcebff; font-size: inherit; font-weight: 700; }
.route-card h3 { margin: 8px 0 0; color: #080b0f; font-size: inherit; line-height: 1.45; letter-spacing: 0; }
.route-subtitle { margin: -8px 0 0; color: #555; font-size: inherit; line-height: 1.65; }
.route-divider { height: 1px; margin-top: 8px; background: #e6e6e2; }
.route-insight-grid { display: grid; gap: 12px; }
.route-insight-card { display: grid; gap: 10px; padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(16,38,61,.035); }
.route-insight-card--tradeoff { border: 1px solid #f0a21d; background: #ffe2a6; box-shadow: none; }
.route-insight-card strong { color: #8a8c87; font-size: inherit; line-height: 1.45; }
.route-insight-card--tradeoff strong { color: #7a561c; }
.route-insight-card p { margin: 0; color: #080b0f; font-size: inherit; line-height: 1.65; }
.route-action-card { display: grid; gap: 10px; padding: 16px; border: 1px solid #68c76b; border-radius: 10px; color: #025b0c; background: #d3f2cf; }
.route-action-card strong { font-size: inherit; line-height: 1.45; }
.route-action-card p { margin: 0; color: #061407; font-size: inherit; line-height: 1.65; }
.route-school-options { display: grid; gap: 10px; padding-top: 2px; }
.route-school-options > strong { color: #4b5d62; font-size: inherit; line-height: 1.4; }
.route-school-option-list { display: grid; gap: 8px; }
.route-school-option { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 10px; align-items: start; width: 100%; padding: 12px; border: 1px solid #d8e4e0; border-radius: 8px; color: var(--ink); background: #fbfefd; text-align: left; }
.route-school-option-main { display: grid; gap: 5px; min-width: 0; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.route-school-option-name { font-size: inherit; font-weight: 700; line-height: 1.45; }
.route-school-option small { color: var(--ink-soft); font-size: inherit; line-height: 1.45; }
.route-school-option-reason { color: #2d3b3d; font-size: inherit; line-height: 1.65; }
.route-school-option em { color: #667477; font-size: inherit; font-style: normal; line-height: 1.55; }
.route-school-save-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d7e1dd; border-radius: 50%; color: #7b8b8a; background: #fff; font-size: 18px; line-height: 1; }
.route-school-save-button.is-saved { color: #9b6b14; border-color: #f0d79a; background: #fff7dc; }
.plan-analysis-button { margin-top: 16px; color: #24594f; border-bottom-color: #24594f; font-weight: 400; }
.plan-analysis-button:disabled { color: #87938f; border-bottom-color: #c8d0cc; cursor: not-allowed; }
.membership-card { margin: 16px 16px 0; padding: 18px; border: 1px solid #d9ded8; border-radius: 12px; background: #fffefd; }
.membership-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.membership-card h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.membership-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 99px; color: #315d55; background: #e8f4f0; font-size: 11px; font-weight: 700; white-space: nowrap; }
.membership-pill.is-empty { color: #81552b; background: #fff1d7; }
.membership-pill.is-unlimited { color: #254e76; background: #e9f1f8; }
.membership-status { margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.payment-return-status { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #c9dcd5; border-radius: 6px; color: #234f47; background: #f1faf6; font-size: 12px; line-height: 1.65; }
.membership-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.membership-buy-button { justify-content: space-between; min-height: 42px; margin: 0; padding: 0 10px; border: 1px solid #d8ded8; border-radius: 4px; color: #214d46; background: #fbfefd; font-size: 12px; font-weight: 700; }
.membership-buy-button:hover { border-color: #9fc5bb; background: #f2faf7; }
.membership-note { margin: 12px 0 0; color: #6a7674; font-size: 10px; line-height: 1.65; }

.membership-hero { padding-bottom: 18px; }
.membership-page-panel { margin: 18px 16px 32px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.membership-page-panel h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.membership-plan-grid { display: grid; gap: 10px; margin-top: 16px; }
.membership-plan-card { display: grid; gap: 8px; padding: 14px; border: 1px solid #e1e6e1; border-radius: 9px; background: #fffefd; }
.membership-plan-card span { color: #315d55; font-size: 10px; font-weight: 700; }
.membership-plan-card strong { color: var(--ink); font-size: 15px; line-height: 1.4; }
.membership-plan-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.membership-plan-button { width: 100%; min-height: 42px; margin-top: 4px; padding: 0 13px; font-size: 12px; }
.membership-plan-button span { font-size: 15px; }
.auth-panel { max-width: 520px; margin-top: 16px; padding: 16px; border: 1px solid #dfe6e1; border-radius: 8px; background: #fbfefd; }
.auth-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.auth-panel h3 { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.35; }
.auth-current { margin: 10px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.auth-mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 14px; padding: 3px; border: 1px solid #dfe6e1; border-radius: 6px; background: #f5f8f5; }
.auth-mode-button { min-height: 32px; border: 0; border-radius: 4px; color: #536260; background: transparent; font-size: 12px; font-weight: 700; }
.auth-mode-button.is-active { color: #fff; background: #315d55; }
.auth-form { display: none; gap: 12px; margin-top: 14px; }
.auth-form.is-active { display: grid; }
.auth-field { display: grid; gap: 6px; min-width: 0; color: #52625f; font-size: 11px; font-weight: 700; line-height: 1.35; }
.auth-field span { display: block; }
.auth-field input { display: block; width: 100%; min-width: 0; height: 42px; box-sizing: border-box; border: 1px solid #d9ded8; border-radius: 4px; padding: 0 11px; color: var(--ink); background: #fff; font: 14px var(--sans); }
.auth-field input::placeholder { color: #8c9396; }
.auth-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 9px; align-items: end; }
.auth-code-row .outline-button { justify-content: center; min-height: 42px; margin: 0; padding: 0 10px; border: 1px solid #c8d6d1; border-radius: 4px; color: #24594f; background: #fff; font-size: 12px; white-space: nowrap; }
.auth-submit-button { width: 100%; min-height: 44px; margin: 2px 0 0; font-size: 13px; }
.auth-form-note { margin: -2px 0 0; color: #6a7976; font-size: 11px; line-height: 1.55; }
.auth-link-button { justify-self: center; min-height: 28px; border: 0; color: #315d55; background: transparent; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-message { min-height: 18px; margin: 10px 0 0; color: #315d55; font-size: 12px; line-height: 1.55; }
.auth-message.is-error { color: #9a4b2d; }
.mobile-action-bar { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: 68px; padding: 7px 10px env(safe-area-inset-bottom); border-top: 1px solid rgba(16,38,61,.08); background: rgba(255,254,253,.96); box-shadow: 0 -8px 22px rgba(16,38,61,.07); backdrop-filter: blur(12px); }.mobile-action-bar button { display: grid; place-content: center; gap: 1px; border: 0; color: var(--ink-soft); background: transparent; font-size: 10px; }.mobile-action-bar button span { font-size: 18px; line-height: 1; }.mobile-action-bar button.is-active { margin: 0 4px; border-radius: 4px; color: white; background: var(--jade); font-weight: 600; }.mobile-action-bar button.is-active span { font-size: 14px; }

.sheet-backdrop { position: fixed; z-index: 20; inset: 0; visibility: hidden; opacity: 0; background: rgba(8,22,35,.42); transition: opacity .25s, visibility .25s; }.school-sheet { position: fixed; z-index: 21; right: 0; bottom: 0; left: 0; max-width: 660px; max-height: 88dvh; margin: auto; padding: 8px 20px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 20px 20px 0 0; background: var(--white); transform: translateY(105%); transition: transform .32s cubic-bezier(.22,.8,.27,1); }.school-sheet [hidden] { display: none !important; }.sheet-open .school-sheet { transform: translateY(0); }.sheet-open .sheet-backdrop { visibility: visible; opacity: 1; }.sheet-handle { width: 37px; height: 4px; margin: 0 auto 16px; border-radius: 3px; background: #d7d9d5; }.sheet-topline { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 12px; }.close-button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--ink); background: #eef0ed; font-size: 23px; line-height: 1; }.school-tag { display: inline-block; margin-top: 19px; padding: 3px 8px; border-radius: 30px; color: var(--jade); background: #e8f4f0; font-size: 10px; font-weight: 700; }.school-sheet h2 { margin: 11px 0; font: 34px/1.05 var(--serif); }.sheet-summary { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }.school-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 23px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.school-facts div { padding: 0 9px; border-left: 1px solid var(--line); }.school-facts div:first-child { padding-left: 0; border-left: 0; }.school-facts dt { color: var(--ink-soft); font-size: 10px; }.school-facts dd { margin: 4px 0 0; font-size: 11px; line-height: 1.45; }.sheet-section { margin-top: 22px; }.sheet-section .section-kicker { margin-bottom: 7px; }.sheet-section > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }.sheet-section > p + p { margin-top: 9px; }.sheet-section strong { color: var(--ink); }.observation-note { padding-left: 10px; border-left: 2px solid var(--jade); color: #405a56 !important; }.detail-note { color: #59686d !important; font-size: 11px !important; }.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }.profile-facts div { min-height: 55px; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }.profile-facts div:nth-child(even) { padding-left: 11px; border-left: 1px solid var(--line); }.profile-facts dt { color: var(--ink-soft); font-size: 10px; }.profile-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 12px; line-height: 1.4; }.source-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.source-links a { display: inline-flex; align-items: center; min-height: 27px; padding: 0 8px; border: 1px solid #c9d7d1; border-radius: 3px; color: #24594f; background: #f4faf7; font-size: 11px; text-decoration: none; }.source-links--primary a { color: #445b6b; border-color: #d6dfe3; background: #fff; }.warm-section { padding: 15px; border-radius: 5px; background: var(--warm); }.warm-section ul { margin: 8px 0 0; padding-left: 17px; color: #625d55; font-size: 12px; line-height: 1.9; }.sheet-cta { width: 100%; margin-top: 23px; }
.ai-settings { margin-top: 18px; padding: 0 2px; border-top: 1px solid var(--line); }.ai-settings summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }.ai-settings summary span { color: var(--jade); font-size: 11px; font-weight: 500; }.ai-settings-intro, .ai-security-note { margin: 0 0 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }.ai-settings form { display: grid; gap: 11px; padding-bottom: 17px; }.ai-settings label { display: grid; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }.ai-settings input, .ai-settings select { width: 100%; height: 41px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 400; }.ai-settings-actions, .ai-evaluation-actions { display: flex; align-items: center; gap: 13px; }.ai-settings-actions .primary-button, .ai-evaluation-actions .primary-button { min-height: 41px; padding: 0 13px; font-size: 12px; }.ai-settings-actions .primary-button span, .ai-evaluation-actions .primary-button span { font-size: 15px; }.ai-evaluation-section { padding: 15px; border: 1px solid #cde1da; border-radius: 6px; background: #f5fbf8; }.ai-evaluation-status { color: #476761 !important; font-size: 12px !important; }.ai-evaluation-actions { margin-top: 13px; }.ai-evaluation-actions .primary-button:disabled { border-color: #c8d0cc; color: #85908c; background: #e3e9e5; cursor: not-allowed; }.ai-evaluation-output { margin-top: 14px; padding-top: 13px; border-top: 1px solid #d7e7e0; }.ai-evaluation-summary { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.7; }.ai-evaluation-output section { margin-top: 12px; }.ai-evaluation-output strong { display: block; color: #315d55; font-size: 11px; }.ai-evaluation-output ul { display: grid; gap: 4px; margin: 5px 0 0; padding-left: 17px; color: #526863; font-size: 11px; line-height: 1.65; }.ai-evaluation-output a { color: #21665b; }.ai-evaluation-limit { margin: 12px 0 0; color: #6a7875; font-size: 10px; line-height: 1.65; }
.contact-script-section { padding: 15px; border: 1px solid #e0d8ca; border-radius: 6px; background: #fffaf1; }
.contact-script-box { display: grid; gap: 7px; margin-top: 12px; padding: 12px; border: 1px solid #eee0ca; border-radius: 6px; background: #fffefd; }
.contact-script-box p { margin: 0; color: #5f5b52; font-size: 12px; line-height: 1.7; }
.contact-copy-button { margin-top: 12px; color: #7a6044; border-bottom-color: #b7a58e; font-weight: 400; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.secondary-section { padding: 15px; border: 1px solid #cfe1dc; border-radius: 6px; background: #f6fbf9; }
.secondary-section .section-kicker { color: #396b60; }
.secondary-block + .secondary-block { margin-top: 15px; padding-top: 14px; border-top: 1px solid #d9e8e2; }
.secondary-highlight { margin: 0; color: var(--ink) !important; font: 21px/1.25 var(--serif) !important; }
.secondary-heading { margin: 0 0 8px; color: #315d55 !important; font-size: 11px !important; font-weight: 700; }
.secondary-pathway { display: grid; gap: 10px; }
.secondary-pathway div { padding-left: 10px; border-left: 2px solid var(--jade); }
.secondary-pathway strong { display: block; font-size: 12px; line-height: 1.5; }
.secondary-pathway p { margin: 3px 0 0; color: #59686d; font-size: 11px; line-height: 1.65; }

@media (max-width: 420px) {
  .auth-code-row { grid-template-columns: 1fr; }
  .auth-code-row .outline-button { width: 100%; }
}

@media (min-width: 760px) {
  body { background: #e7e5df; }.app-shell { max-width: 1120px; min-height: 100vh; margin: 0 auto; background: var(--paper); box-shadow: 0 0 70px rgba(16,38,61,.12); }.site-header { padding: 22px 44px; }.hero { padding: 72px 72px 65px; }.hero h1 { font-size: 59px; }.hero-copy { max-width: 400px; font-size: 15px; }.search-panel { margin: 0 44px 55px; padding: 28px; }.journey-section { padding: 0 48px; }.journey-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }.journey-card { min-height: 155px; grid-template-columns: 1fr 18px; align-content: start; padding: 20px 18px; border-right: 1px solid var(--line); border-bottom: 0; }.journey-card:first-child { padding-left: 0; }.journey-index { grid-column: 1 / -1; }.quiet-note { max-width: 520px; margin: 52px 48px 38px; }.form-intro, .assessment-form, .plan-hero { max-width: 640px; margin: auto; }.assessment-form { padding-bottom: 55px; }.mobile-action-bar { display: none; }.app-shell { padding-bottom: 0; }.school-sheet { right: 28px; bottom: 24px; left: auto; width: 450px; border-radius: 15px; }.sub-header { padding: 23px 44px; }
  #assessmentView .form-intro, #assessmentView .assessment-form { max-width: 1040px; }
  #assessmentView .choice-grid, #assessmentView .choice-stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .school-workbench-board { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
  .candidate-school-list { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .membership-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-card { padding: 32px 42px; gap: 20px; }
  .route-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .route-insight-card, .route-action-card { padding: 28px 36px; }
  .route-insight-card p, .route-action-card p { line-height: 1.75; }
}
