﻿[hidden] {
  display: none !important;
}

:root {
  --bg: #f6efe4;
  --bg-2: #efe2cb;
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: #fffaf1;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --ink: #1c2738;
  --muted: #5d6778;
  --line: rgba(28, 39, 56, 0.12);
  --navy: #17324d;
  --navy-soft: #2e506f;
  --gold: #c68322;
  --gold-deep: #9f6110;
  --green: #287e5d;
  --rose: #b35c49;
  --blue: #285d8e;
  --sand: #efe2cb;
  --shadow: 0 24px 70px rgba(23, 50, 77, 0.14);
  --shadow-soft: 0 12px 30px rgba(23, 50, 77, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#planner,
#workspace,
#shortlist {
  scroll-margin-top: 106px;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(198, 131, 34, 0.2), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(23, 50, 77, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 55%, #fbf7ef 100%);
}

a { color: inherit; }
strong { font-weight: 800; }
.shell { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 239, 0.85);
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
}
.topbar-inner,
.range-head,
.results-toolbar,
.card-top,
.shortlist-head,
.shortlist-actions,
.shortlist-row,
.planner-head,
.planner-actions,
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-inner { padding: 14px 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-logo-wrap {
  min-width: 0;
  padding: 4px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand-logo {
  width: 128px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
}
.brand-copy,
.topbar-actions,
.hero-actions,
.hero-points,
.tag-row,
.stack-actions,
.cta-actions,
.role-strip,
.hero-support-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-copy { flex-direction: column; gap: 2px; }
.brand-copy strong,
.hero-copy h1,
.planner-card h2,
.brief-card h2,
.panel h2,
.school-card h3,
.cta-card h2,
.journey-step strong {
  font-family: "Fraunces", serif;
}
.brand-copy strong { font-size: 1.1rem; }
.brand-copy span {
  line-height: 1.2;
}
.brand-copy span,
.rail-card span,
.rail-card p,
.small-copy,
.metric span,
.detail-grid span,
.shortlist-row span,
.legend,
.panel-intro,
.location,
.note,
.cta-card p,
.site-foot p,
.brief-summary,
.fit-note,
.recommendation-card p,
.recommendation-card small,
.support-card p,
.journey-step p,
.planner-copy,
.guide-card span,
.filter-actions-note p,
.shortlist-coach-note p,
.shortlist-coach-note span,
.footer-brand-note,
.brief-note span,
.planner-helper p {
  color: var(--muted);
}

.pill,
.button,
.ghost-btn,
.save-btn,
.tag,
.hero-points span,
.eyebrow,
.fit-pill,
.role-pill,
.support-label {
  border-radius: 999px;
}
.pill {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}
.pill.subtle {
  background: rgba(23, 50, 77, 0.05);
  color: var(--navy);
}
.button,
.ghost-btn,
.save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover,
.ghost-btn:hover,
.save-btn:hover {
  transform: translateY(-1px);
}
.button.primary,
.save-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 50, 77, 0.22);
}
.button.secondary,
.ghost-btn,
.save-btn {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border-color: rgba(23, 50, 77, 0.1);
}

.hero,
.stats {
  padding: 18px 0;
}
.hero { padding-top: 56px; }
.hero-grid,
.workspace-grid,
.planner-grid,
.stats-grid,
.metric-grid,
.detail-grid,
.cta-grid,
.brief-metrics,
.planner-fields,
.journey-grid,
.results-guide {
  display: grid;
  gap: 16px;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
}
.planner-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
}
.workspace-grid {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}
.hero-copy,
.hero-rail,
.panel,
.cta-card,
.planner-card,
.brief-card,
.stat-card,
.journey-step,
.guide-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: 30px;
}
.hero-copy,
.hero-rail,
.panel,
.shortlist-panel,
.cta-card,
.school-card,
.stat-card,
.planner-card,
.brief-card,
.journey-step,
.guide-card {
  padding: 24px;
}
.hero-copy {
  position: relative;
  overflow: hidden;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto auto 20px -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 68%);
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -34px -54px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 131, 34, 0.22), transparent 62%);
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(198, 131, 34, 0.12);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow.contrast {
  background: rgba(255, 255, 255, 0.1);
  color: #ffe0b2;
}
.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.97;
  max-width: 11ch;
}
.hero-copy p {
  margin: 0 0 18px;
  max-width: 58ch;
  font-size: 1.03rem;
  color: var(--muted);
}
.hero-points { margin: 24px 0 28px; }
.hero-points span,
.tag {
  padding: 9px 12px;
  background: rgba(23, 50, 77, 0.06);
  color: var(--navy);
  font-size: 0.88rem;
}
.hero-support-grid {
  margin-top: 22px;
}
.support-card {
  flex: 1 1 220px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(23, 50, 77, 0.08);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
}
.support-card.warm {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.95), rgba(255, 255, 255, 0.6));
}
.support-card.cool {
  background: linear-gradient(180deg, rgba(240, 247, 252, 0.95), rgba(255, 255, 255, 0.6));
}
.support-label {
  display: inline-flex;
  padding: 7px 11px;
  background: rgba(23, 50, 77, 0.08);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.support-card strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.hero-rail,
.results-side,
.shortlist-body,
.results-grid,
.filter-stack,
.recommendation-stack,
.filter-group {
  display: grid;
  gap: 16px;
}
.rail-card,
.metric,
.detail-grid > div,
.cta-tile,
.shortlist-row,
.shortlist-empty,
.empty-state,
.recommendation-card,
.fit-box,
.planner-helper,
.brief-note,
.guide-card,
.shortlist-coach-note {
  border-radius: 20px;
}
.rail-card,
.recommendation-card,
.fit-box,
.guide-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.52));
  border: 1px solid var(--line);
}
.feature-rail {
  background: linear-gradient(180deg, rgba(255,251,242,0.96), rgba(255,255,255,0.55));
}
.subtle-brand-card {
  background: linear-gradient(180deg, rgba(23, 50, 77, 0.05), rgba(255,255,255,0.4));
}
.rail-card strong,
.stat-card strong,
.brief-metric strong,
.recommendation-card strong {
  display: block;
  font-size: 2rem;
  color: var(--navy);
}
.rail-list { margin: 0; padding-left: 18px; color: var(--muted); }

.journey-strip { padding: 8px 0 10px; }
.quick-nav-strip {
  padding: 4px 0 12px;
}
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 50, 77, 0.1);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.quick-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(23, 50, 77, 0.16);
}
.quick-link.primary {
  background: linear-gradient(135deg, rgba(23, 50, 77, 0.96), rgba(46, 80, 111, 0.92));
  color: #fff;
  border-color: transparent;
}
.journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.journey-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}
.journey-step strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  color: var(--navy);
}
.journey-step p { margin: 0; }

.planner-wrap { padding: 14px 0 10px; }
.planner-card h2,
.brief-card h2,
.panel h2,
.results-toolbar h2,
.cta-card h2 {
  margin: 10px 0;
  font-size: 2rem;
}
.planner-copy {
  margin: 0;
  max-width: 54ch;
}
.planner-helper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(198, 131, 34, 0.08);
  border: 1px solid rgba(198, 131, 34, 0.14);
}
.helper-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(198, 131, 34, 0.12);
}
.planner-helper p { margin: 0; }
.planner-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}
.field { display: grid; gap: 7px; }
.field-span-2 { grid-column: span 2; }
.field label {
  font-size: 0.9rem;
  font-weight: 700;
}
.field input,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(23, 50, 77, 0.28);
  box-shadow: 0 0 0 4px rgba(23, 50, 77, 0.06);
}
.field-checkbox {
  align-content: start;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}
.checkbox-row span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}
.brief-card {
  background: linear-gradient(180deg, rgba(23,50,77,0.97), rgba(20,38,57,0.92));
  color: #fff9ef;
}
.brief-card h2,
.brief-card .brief-summary,
.brief-card .legend,
.brief-card small,
.brief-card p { color: #fff9ef; }
.brief-summary {
  margin-bottom: 18px;
  color: rgba(255,249,239,0.82);
}
.brief-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}
.brief-metric {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.brief-metric span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,249,239,0.72);
}
.brief-metric strong {
  margin-top: 6px;
  font-size: 1.45rem;
  color: #fff9ef;
}
.brief-note {
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.brief-note strong {
  display: block;
  margin-bottom: 6px;
  color: #ffe0b2;
}
.recommendation-card strong { font-size: 1.1rem; }
.recommendation-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.recommendation-card p {
  margin: 8px 0;
  color: rgba(255,249,239,0.82);
}
.recommendation-card small {
  color: rgba(255,249,239,0.68);
}

.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card {
  background: var(--surface-strong);
  border: 1px solid rgba(23, 50, 77, 0.08);
}
.stat-card.emphasis {
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.96), rgba(255,255,255,0.88));
}
.workspace { padding: 14px 0 72px; }
.filter-panel {
  position: sticky;
  top: 88px;
}
.panel-intro {
  margin: 0 0 18px;
}
.filter-group h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: var(--navy);
}
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.usage-card,
.filter-actions-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(23, 50, 77, 0.05);
  border: 1px solid rgba(23, 50, 77, 0.06);
}
.usage-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(255, 255, 255, 0.7));
  border-color: rgba(198, 131, 34, 0.18);
}
.usage-card strong {
  color: var(--navy);
  font-size: 1rem;
}
.usage-list {
  display: grid;
  gap: 10px;
}
.usage-list span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 50, 77, 0.07);
  color: var(--muted);
  font-weight: 600;
}

.preset-card {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 50, 77, 0.08);
}
.preset-card strong {
  color: var(--navy);
  font-size: 1rem;
}
.preset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.preset-btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(23, 50, 77, 0.05);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.preset-btn:hover {
  transform: translateY(-1px);
  background: rgba(23, 50, 77, 0.08);
}
.preset-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(23, 50, 77, 0.18);
}
.filter-actions-note p {
  margin: 0;
}
.more-options-toggle {
  width: 100%;
  justify-content: space-between;
  margin-top: 12px;
}
.more-options-toggle::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 800;
}
.more-options-toggle[aria-expanded="true"]::after {
  content: "−";
}
.more-options-toggle.has-active-filters {
  background: rgba(23, 50, 77, 0.08);
  border-color: rgba(23, 50, 77, 0.18);
}
.advanced-filters {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 50, 77, 0.08);
}
.stack-actions .button,
.stack-actions .ghost-btn {
  flex: 1 1 120px;
}
.polished-toolbar {
  padding: 0 4px;
}
.results-guide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
.guide-card {
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}
.guide-card strong {
  color: var(--navy);
  font-size: 1rem;
}
.results-side,
.shortlist-body,
.results-grid,
.recommendation-stack,
.result-card-stack,
.takeaway-points {
  display: grid;
  gap: 16px;
}
.results-takeaway {
  min-height: 0;
}
.results-focus {
  min-height: 0;
}
.focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.95), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(198, 131, 34, 0.18);
  box-shadow: var(--shadow-soft);
}
.focus-card h3 {
  margin: 8px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: var(--navy);
}
.focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.focus-actions {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: start;
}
.focus-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.06);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}
.focus-toggle {
  white-space: nowrap;
}
.takeaway-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(23, 50, 77, 0.96), rgba(38, 71, 104, 0.92));
  color: #f8f2e7;
  box-shadow: 0 24px 54px rgba(23, 50, 77, 0.18);
}
.takeaway-card h3 {
  margin: 8px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  color: #fff9ef;
}
.takeaway-card p {
  margin: 0;
  color: rgba(248, 242, 231, 0.82);
  line-height: 1.65;
}
.takeaway-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.takeaway-pill span {
  display: block;
  color: rgba(248, 242, 231, 0.68);
  margin-bottom: 5px;
}
.takeaway-pill strong {
  color: #fff9ef;
}
.subtle-pill {
  background: rgba(198, 131, 34, 0.15);
  border-color: rgba(198, 131, 34, 0.16);
}
.result-section {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(23, 50, 77, 0.08);
}
.result-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.result-section-head h3 {
  margin: 6px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--navy);
}
.result-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}
.section-count {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.06);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}
.result-section-reach {
  background: rgba(179, 92, 73, 0.05);
}
.result-section-target {
  background: rgba(40, 126, 93, 0.05);
}
.result-section-safer {
  background: rgba(40, 93, 142, 0.05);
}
.school-card {
  border-radius: 28px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(23,50,77,0.08);
  box-shadow: 0 18px 42px rgba(23,50,77,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.school-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), rgba(23, 50, 77, 0.4));
  opacity: 0.8;
}
.school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(23,50,77,0.12);
  border-color: rgba(23,50,77,0.14);
}
.school-card h3 {
  margin: 6px 0 8px;
  font-size: 1.62rem;
  line-height: 1.08;
  max-width: 16ch;
}
.metric-grid,
.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin: 18px 0;
}
.primary-metrics {
  margin: 10px 0 14px;
}
.metric,
.detail-grid > div,
.cta-tile,
.fit-box {
  padding: 14px;
  background: rgba(23, 50, 77, 0.05);
  border: 1px solid rgba(23, 50, 77, 0.06);
}
.metric strong,
.detail-grid strong,
.cta-tile strong,
.fit-box strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
}
.fit-box {
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.95), rgba(255,255,255,0.6));
}
.tag-good { background: rgba(40,126,93,0.12); color: var(--green); }
.tag-accent { background: rgba(179,92,73,0.12); color: var(--rose); }
.fit-pill,
.role-pill {
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}
.fit-pill { background: rgba(40,126,93,0.12); color: var(--green); }
.fit-pill.mid { background: rgba(40,93,142,0.12); color: var(--blue); }
.fit-pill.low { background: rgba(179,92,73,0.12); color: var(--rose); }
.role-pill.reach { background: rgba(179,92,73,0.12); color: var(--rose); }
.role-pill.target { background: rgba(40,126,93,0.12); color: var(--green); }
.role-pill.safer { background: rgba(40,93,142,0.12); color: var(--blue); }
.fit-note {
  margin-top: 10px;
  line-height: 1.6;
}
.card-why {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.card-why strong {
  color: var(--navy);
}
.card-details {
  margin-top: 8px;
  border-top: 1px solid rgba(23, 50, 77, 0.08);
  padding-top: 14px;
}
.card-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--navy);
}
.card-details summary::-webkit-details-marker {
  display: none;
}
.card-details summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
}
.card-details[open] summary::after {
  content: "−";
}
.card-details > *:not(summary) {
  margin-top: 14px;
}
.school-card-compact {
  background: rgba(255,255,255,0.74);
  box-shadow: 0 12px 30px rgba(23,50,77,0.06);
}
.school-card-compact .metric {
  padding: 12px;
}
.school-card-compact .tag-row {
  gap: 8px;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.06);
  border: 1px solid rgba(23, 50, 77, 0.08);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.source-link:hover {
  background: rgba(198, 131, 34, 0.12);
  border-color: rgba(198, 131, 34, 0.22);
  transform: translateY(-1px);
}
.note {
  margin: 0;
  line-height: 1.65;
}
.location {
  margin: 0;
}
.shortlist-panel {
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(23,50,77,0.96), rgba(25,44,66,0.92));
  color: #f8f2e7;
  box-shadow: 0 28px 60px rgba(23,50,77,0.24);
}
.shortlist-panel .small-copy,
.shortlist-panel .shortlist-row span,
.shortlist-summary,
.shortlist-coach-note p,
.shortlist-coach-note span {
  color: rgba(248,242,231,0.78);
}
.shortlist-coach-note {
  padding: 16px 18px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.compare-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.compare-head h3 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: #fff9ef;
}
.compare-summary {
  color: rgba(248,242,231,0.78);
  font-size: 0.92rem;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.compare-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.compare-card strong {
  color: #fff9ef;
}
.compare-card-top {
  display: grid;
  gap: 10px;
}
.compare-card-top strong {
  font-size: 1.02rem;
  color: #fff9ef;
}
.compare-metrics {
  display: grid;
  gap: 10px;
}
.compare-metric {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.compare-metric span {
  display: block;
  color: rgba(248,242,231,0.68);
  font-size: 0.82rem;
}
.compare-metric strong {
  display: block;
  margin-top: 4px;
  color: #fff9ef;
}
.compare-card-placeholder {
  align-content: center;
  justify-items: start;
  border-style: dashed;
  border-color: rgba(255,255,255,0.18);
}
.compare-card-placeholder p {
  margin: 0;
  color: rgba(248,242,231,0.74);
  line-height: 1.55;
}
.shortlist-coach-note span {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.shortlist-row,
.shortlist-empty {
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.shortlist-row {
  align-items: flex-start;
}
.shortlist-row strong,
.shortlist-row span {
  display: block;
}
.shortlist-row .ghost-btn {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}
.cta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}
.cta-tile {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.54));
}
.empty-state {
  padding: 28px;
  border: 1px dashed rgba(23,50,77,0.18);
  background: rgba(255,255,255,0.55);
  color: var(--muted);
  text-align: center;
}
.site-foot {
  padding: 0 0 54px;
}
.footer-inner {
  display: grid;
  gap: 8px;
}
.site-foot p {
  margin: 0;
  text-align: center;
}
.footer-brand-note {
  color: var(--navy-soft);
}

.family-summary-wrap {
  padding: 8px 0 4px;
}
.family-summary-card {
  display: grid;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(198, 131, 34, 0.16);
  box-shadow: var(--shadow-soft);
}
.family-summary-card h2 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.65rem;
  color: var(--navy);
}
.family-summary-body {
  display: grid;
  gap: 14px;
}
.family-summary-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.family-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.family-summary-pill {
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(23, 50, 77, 0.05);
  border: 1px solid rgba(23, 50, 77, 0.08);
}
.family-summary-pill strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}
.family-summary-pill span {
  color: var(--muted);
  font-size: 0.84rem;
}
.recommendation-badge,
.realism-badge,
.effort-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}
.recommendation-badge.recommendation-strong {
  background: rgba(40, 126, 93, 0.12);
  color: var(--green);
}
.recommendation-badge.recommendation-discuss {
  background: rgba(40, 93, 142, 0.12);
  color: var(--blue);
}
.recommendation-badge.recommendation-scholarship {
  background: rgba(198, 131, 34, 0.16);
  color: var(--gold-deep);
}
.recommendation-badge.recommendation-ambitious,
.recommendation-badge.recommendation-remove {
  background: rgba(179, 92, 73, 0.12);
  color: var(--rose);
}
.realism-badge.realism-likely,
.effort-badge.effort-low {
  background: rgba(40, 126, 93, 0.12);
  color: var(--green);
}
.realism-badge.realism-possible,
.effort-badge.effort-medium {
  background: rgba(40, 93, 142, 0.12);
  color: var(--blue);
}
.realism-badge.realism-hard,
.effort-badge.effort-high {
  background: rgba(179, 92, 73, 0.12);
  color: var(--rose);
}
.decision-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.decision-signal-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(23, 50, 77, 0.05);
  border: 1px solid rgba(23, 50, 77, 0.06);
}
.decision-signal-card.caution {
  background: rgba(179, 92, 73, 0.06);
  border-color: rgba(179, 92, 73, 0.1);
}
.decision-signal-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
}
.decision-signal-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.decision-board {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.decision-board-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.decision-board-head h3 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  color: #fff9ef;
}
.decision-board-summary {
  color: rgba(248,242,231,0.78);
  font-size: 0.92rem;
}
.decision-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.decision-column {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.decision-column h4 {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  color: #fff9ef;
}
.decision-column-count {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(248,242,231,0.82);
  font-size: 0.8rem;
  font-weight: 700;
}
.decision-board-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
}
.decision-board-card strong {
  color: #fff9ef;
}
.decision-card-meta {
  margin-top: 6px;
  color: rgba(248,242,231,0.74);
  font-size: 0.88rem;
  line-height: 1.55;
}
.decision-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.decision-tag-btn {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff9ef;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.decision-tag-btn.active {
  background: linear-gradient(135deg, rgba(255,249,239,0.98), rgba(252, 232, 197, 0.96));
  color: var(--navy);
  border-color: transparent;
}
.note-field {
  display: grid;
  gap: 6px;
}
.note-field span {
  color: rgba(248,242,231,0.74);
  font-size: 0.82rem;
  font-weight: 700;
}
.note-field textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}
.note-field textarea:focus {
  outline: none;
  border-color: rgba(23, 50, 77, 0.28);
  box-shadow: 0 0 0 4px rgba(23, 50, 77, 0.06);
}

@media (max-width: 1180px) {
  .hero-grid,
  .workspace-grid,
  .planner-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .results-guide,
  .compact-grid,
  .takeaway-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .focus-card {
    grid-template-columns: 1fr;
  }

  .compare-head,
  .decision-board-head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 860px) {
  .journey-grid,
  .results-guide,
  .stats-grid,
  .cta-grid,
  .brief-metrics,
  .planner-fields,
  .metric-grid,
  .detail-grid,
  .takeaway-points,
  .decision-signal-grid {
    grid-template-columns: 1fr;
  }

  .school-card,
  .planner-card,
  .brief-card,
  .panel,
  .shortlist-panel,
  .cta-card {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .topbar {
    position: static;
  }

  .topbar-inner,
  .results-toolbar,
  .card-top,
  .shortlist-head,
  .shortlist-actions,
  .shortlist-row,
  .range-head,
  .planner-head,
  .planner-actions,
  .panel-head,
  .result-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .field-span-2 {
    grid-column: span 1;
  }

  .checkbox-row {
    align-items: flex-start;
  }

  .brand-copy span,
  .pill {
    display: none;
  }

  .brand-logo {
    width: 112px;
    max-height: 38px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .hero-copy,
  .hero-rail,
  .journey-step {
    padding: 20px;
  }

  .guide-card,
  .support-card,
  .rail-card {
    padding: 16px;
  }

  .source-links {
    flex-direction: column;
  }

  .school-card h3 {
    max-width: none;
    font-size: 1.38rem;
  }

  .button,
  .ghost-btn,
  .save-btn {
    width: 100%;
  }

  .quick-link {
    flex: 1 1 calc(50% - 12px);
  }
  .preset-btn,
  .focus-toggle {
    width: 100%;
  }


  .mobile-jumpbar {
    display: grid;
  }
}


.header-trigger {
  white-space: nowrap;
}

.guided-banner {
  padding: 10px 0 4px;
}
.guided-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(23,50,77,0.92), rgba(41,77,111,0.88));
  color: #fff9ef;
  box-shadow: 0 24px 48px rgba(23, 50, 77, 0.18);
}
.guided-banner-inner h2 {
  margin: 8px 0 6px;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: #fff9ef;
}
.guided-banner-inner p {
  margin: 0;
  color: rgba(255,249,239,0.82);
}

.onboarding-modal[hidden] {
  display: none;
}
.onboarding-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.onboarding-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 30, 44, 0.58);
  backdrop-filter: blur(10px);
}
.onboarding-panel {
  position: relative;
  width: min(920px, calc(100% - 28px));
  max-height: min(92vh, 860px);
  overflow: auto;
  margin: 4vh auto;
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,252,246,0.98), rgba(248,242,231,0.98));
  box-shadow: 0 40px 90px rgba(16, 26, 38, 0.3);
  border: 1px solid rgba(255,255,255,0.78);
}
.onboarding-head,
.onboarding-actions,
.step-grid.two-up {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.onboarding-head {
  align-items: flex-start;
}
.onboarding-head h2 {
  margin: 10px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 2.1rem;
}
.onboarding-copy {
  margin: 0;
  color: var(--muted);
}
.modal-close {
  background: transparent;
  border: none;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.onboarding-progress {
  display: flex;
  gap: 10px;
  margin: 20px 0 10px;
}
.onboarding-step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.06);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.onboarding-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(23, 50, 77, 0.16);
}
.onboarding-dot.active {
  background: linear-gradient(135deg, var(--navy), var(--gold));
  box-shadow: 0 0 0 6px rgba(23, 50, 77, 0.08);
}
.onboarding-step {
  display: none;
}
.onboarding-step.active {
  display: block;
}
.step-grid {
  display: grid;
  gap: 16px;
}
.step-grid.two-up {
  margin-bottom: 18px;
}
.step-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.choice-card {
  flex: 1 1 0;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255,255,255,0.76);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.choice-card.active {
  border-color: rgba(23, 50, 77, 0.26);
  background: linear-gradient(180deg, rgba(23,50,77,0.08), rgba(255,255,255,0.88));
}
.choice-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.07);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.choice-card strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
}
.step-intro {
  margin-bottom: 14px;
}
.step-intro strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}
.step-intro p {
  margin: 0;
  color: var(--muted);
}
.onboarding-preview {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(198, 131, 34, 0.1);
  border: 1px solid rgba(198, 131, 34, 0.14);
  color: var(--navy);
  font-weight: 600;
}
.onboarding-actions {
  margin-top: 22px;
}

.mobile-jumpbar {
  display: none;
  position: fixed;
  left: calc(12px + env(safe-area-inset-left, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(251, 247, 239, 0.94);
  border: 1px solid rgba(23, 50, 77, 0.1);
  box-shadow: 0 18px 36px rgba(23, 50, 77, 0.18);
  backdrop-filter: blur(12px);
}
.jumpbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(23, 50, 77, 0.06);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}
.jumpbar-link:first-child {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
}

@media (max-width: 980px) {
  .guided-banner-inner,
  .onboarding-head,
  .onboarding-actions,
  .step-grid.two-up {
    flex-direction: column;
    align-items: stretch;
  }

  .step-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .guided-banner-inner h2,
  .onboarding-head h2 {
    font-size: 1.6rem;
  }

  .step-grid.four-up {
    grid-template-columns: 1fr;
  }

  .onboarding-panel {
    width: min(100% - 18px, 920px);
    padding: 20px;
    margin: 2vh auto;
  }
}






