:root {
  --bg: #f7f5f2; --surface: #ffffff; --surface-2: #f1eee9; --text: #23201d; --muted: #6a625a; --line: #e2ddd6;
  --accent: #7a2e4d; --accent-ink: #ffffff; --accent-soft: #f5e8ee; --ok: #2f6b4f; --ok-soft: #e6f2ec; --warn: #8a5a00; --warn-soft: #fbf1dc;
  --info: #2c5a85; --info-soft: #e7eff7; --danger: #a33a2b; --radius: 12px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171514; --surface: #211e1c; --surface-2: #2a2624; --text: #f0ebe6; --muted: #b0a79e; --line: #3a3532;
    --accent: #e08bb0; --accent-ink: #1b1214; --accent-soft: #3a2430; --ok: #7cc8a2; --ok-soft: #1e3329; --warn: #e8bd6a; --warn-soft: #3a2f19;
    --info: #8fb8e0; --info-soft: #1d2a38; --danger: #f08a7a; --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 .4rem; }
h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
p { margin: .3rem 0 .8rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
header.site { background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
header.site .wrap { padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.brand span:not(.mark) { display: block; color: var(--muted); font-size: .875rem; }
footer.site { color: var(--muted); font-size: .85rem; padding-top: 24px; padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.stepper li { font-size: .82rem; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.stepper li.on { background: var(--accent); color: var(--accent-ink); }
.stepper li.done { color: var(--text); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choice { text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; font: inherit; color: inherit; }
.choice:hover:not([disabled]) { border-color: var(--accent); }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.choice[disabled] { opacity: .55; cursor: not-allowed; }
.choice strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.choice .meta { display: block; margin-top: 10px; font-size: .78rem; color: var(--muted); }
button, .btn { font: inherit; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 9px 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
button:hover, .btn:hover { border-color: var(--accent); }
.btn.primary, button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.btn.big { padding: 13px 22px; font-size: 1.05rem; }
button.link { border: 0; background: none; color: var(--accent); padding: 2px 4px; text-decoration: underline; }
button.danger { color: var(--danger); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }
.between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 4px; }
input[type=text], input[type=number], input[type=email], input[type=url], select, textarea { font: inherit; width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
textarea { min-height: 90px; }
.field { margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg label { font-weight: 400; margin: 0; display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; background: var(--surface); }
.seg input { accent-color: var(--accent); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chip { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.chip.doc { background: var(--info-soft); color: var(--info); }
.chip.manual { background: var(--surface-2); color: var(--text); }
.chip.corrected { background: var(--warn-soft); color: var(--warn); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; background: var(--surface-2); }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.entry { border-top: 1px solid var(--line); padding: 12px 0; }
.entry:first-child { border-top: 0; }
.entry .title { font-weight: 600; }
.alloc { font-size: .9rem; margin: 4px 0 0; padding-left: 18px; }
.alloc li { margin: 2px 0; }
.notice { border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.notice.warn { background: var(--warn-soft); }
.notice.info { background: var(--info-soft); }
.notice.ok { background: var(--ok-soft); }
.followup { background: var(--warn-soft); border-radius: 10px; padding: 12px 14px; margin: 8px 0; }
.followup .row input { width: 110px; }
.price { text-align: center; padding: 28px 20px; }
.price .label { color: var(--muted); margin: 0; }
.price .range { font-size: clamp(2rem, 7vw, 3rem); font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist > li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); }
.checklist > li:first-child { border-top: 0; }
.checklist > li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); }
.checklist > li.complete::before, .checklist > li.met::before { background: var(--ok); border-color: var(--ok); }
.checklist > li.review::before { border-color: var(--warn); }
.checklist ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.checklist .incl { font-size: .72rem; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; }
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(20,15,12,.5); }
dialog form { padding: 20px; }
.alloc-row { display: grid; grid-template-columns: 1.1fr 1.6fr .8fr auto; gap: 8px; align-items: end; padding: 8px 0; border-top: 1px dashed var(--line); }
.alloc-row .opts { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; font-size: .88rem; }
.alloc-row .opts label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 14px; }
.area-grid label { font-weight: 400; font-size: .85rem; }
.area-grid input { margin-top: 2px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loading { color: var(--muted); }
@media (max-width: 560px) {
  .alloc-row { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
}

/* ---------- one-page quick estimator ---------- */
.disabled { opacity: .6; cursor: not-allowed; pointer-events: none; }
.small-btn { padding: 6px 12px; font-size: .9rem; }
body.quick .intro { margin-bottom: 16px; }
body.quick .intro p { max-width: 62ch; }
.quick-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.quick-price { position: sticky; top: 16px; }
.price-label { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.quick-price .range { white-space: nowrap; font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 700; line-height: 1.15; margin: 4px 0 8px; letter-spacing: -.01em; }
.quick-price .range.is-loading { opacity: .55; }
.quick-price .notes { padding-left: 18px; color: var(--muted); }
.quick-price .how { margin-top: 12px; color: var(--muted); }
.seg-wide label { padding: 8px 14px; }
.hours-q { margin: 0; }
.hours-q legend { font-size: 1.05rem; }
.slider-row { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.slider-row input[type=range] { flex: 1; accent-color: var(--accent); height: 28px; min-width: 0; }
.slider-row .num { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.slider-row .num input { width: 88px; }
.hours-q.unanswered input[type=range] { opacity: .45; }
.hours-q.is-unsure input[type=range], .hours-q.is-unsure .num input { opacity: .4; }
.scale { display: flex; justify-content: space-between; margin-top: 2px; }
.q-foot { margin-top: 8px; }
.hours-q.unanswered .q-status { color: var(--muted); }
.chip-btn { font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
.chip-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.credits { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; }
.credits summary { cursor: pointer; color: var(--accent); font-size: .92rem; }
.price-bar { display: none; }
@media (max-width: 760px) {
  .quick-grid { grid-template-columns: 1fr; }
  .quick-price { position: static; }
  body.quick { padding-bottom: 84px; }
  .price-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .price-bar strong { display: block; font-size: 1.1rem; }
  .slider-row { flex-wrap: wrap; }
  .slider-row input[type=range] { flex-basis: 100%; }
}
.quick-price .range.personal { white-space: normal; font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

/* ---------- track finder ---------- */
.rec-name { font-size: 1.45rem; margin: 2px 0 4px; }
.lead { font-weight: 600; }
.small-h { font-size: .95rem; margin: 14px 0 4px; }
.reasons, .included, .notes, .plans { padding-left: 18px; margin: 4px 0; }
.price-label-sm { margin: 6px 0 0; }
.price-sm { font-size: 1.35rem; font-weight: 700; margin: 2px 0 6px; }
.compare { margin-top: 8px; }
.compare h2 { margin-top: 8px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.track-card h3 { margin: 6px 0 4px; }
.track-card.is-recommended { border: 2px solid var(--accent); }
.track-card.unavailable { background: var(--surface-2); }
.track-card .cta { margin-top: 10px; }
.modular-controls { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 10px 0; margin: 8px 0; }
.modular-controls .field input { max-width: 140px; display: block; margin-bottom: 2px; }
.lines { list-style: none; padding: 0; margin: 8px 0 0; }
.lines li { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 4px 0; }
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } }
.track-card .chip, .quick-price .chip { white-space: normal; }

/* ---------- live estimate bar (pinned to the top) ---------- */
.estimate-bar { position: sticky; top: 0; z-index: 20; background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 18px rgba(0,0,0,.12); margin-bottom: 20px; }
body.finder header.site { margin-bottom: 0; }
.estimate-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.estimate-text { display: grid; grid-template-columns: auto; line-height: 1.2; min-width: 0; }
.estimate-label { font-size: .85rem; opacity: .92; }
.estimate-value { font-size: clamp(1.6rem, 4.2vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; margin: 2px 0; border-radius: 8px; padding: 0 4px; margin-left: -4px; }
.estimate-value.muted-value { opacity: .6; }
.estimate-value.confirm-value { font-size: clamp(1.05rem, 2.6vw, 1.35rem); }
.estimate-sub { font-size: .8rem; opacity: .85; }
.estimate-bar .draft-chip { background: rgba(255,255,255,.2); color: inherit; }
.estimate-bar .chip.warn { background: rgba(255,255,255,.2); color: inherit; }
.estimate-bar .bar-btn { background: var(--surface); color: var(--accent); border-color: transparent; font-weight: 600; white-space: nowrap; }
.estimate-bar .disabled { color: inherit; }
@keyframes estimate-flash { 0% { background: rgba(255,255,255,.35); transform: scale(1.04); } 100% { background: transparent; transform: scale(1); } }
.estimate-value.flash { animation: estimate-flash .7s ease-out; }
@media (prefers-reduced-motion: reduce) { .estimate-value.flash { animation: none; text-decoration: underline; } }
body.finder .quick-price { top: 96px; }
@media (max-width: 760px) {
  body.finder { padding-bottom: 0; }
  .estimate-inner { gap: 10px; }
  .estimate-bar .bar-btn { padding: 8px 10px; font-size: .85rem; white-space: normal; text-align: center; max-width: 9.5em; }
  .estimate-sub { display: none; }
}
.bar-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* ---------- track finder v2 ---------- */
.q-group { font-size: 1.1rem; margin: 0 0 4px; }
.hours-q + .hours-q { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pif { margin: 2px 0 6px; }
.planning { background: var(--surface-2); border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.scholarship { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.scholarship summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .92rem; }
.compare > summary { cursor: pointer; list-style: none; }
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary h2 { display: inline; }
.compare > summary h2::before { content: "▸ "; color: var(--accent); }
.compare[open] > summary h2::before { content: "▾ "; }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
table.math { width: 100%; margin-top: 8px; }
table.math td { padding: 4px 6px; border-bottom: 1px solid var(--line); }
table.math td.amt { text-align: right; white-space: nowrap; }
table.math tr.sub td { font-weight: 600; }
table.math tr.total td { font-weight: 700; border-bottom: 0; }
table.math td.math-col { white-space: nowrap; }

/* live Modular comparison under a fixed package price */
.compare-live { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; border: 1px dashed var(--accent); border-radius: 10px; padding: 8px 12px; margin: 6px 0 10px; }
.compare-live strong { font-size: 1.25rem; border-radius: 6px; padding: 0 4px; }
.compare-live strong.flash { animation: compare-flash .7s ease-out; }
.compare-live a { flex-basis: 100%; }
@keyframes compare-flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .compare-live strong.flash { animation: none; } }

/* Modular: one total, expandable quantities list */
details.expand { margin: 8px 0; }
details.expand > summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .92rem; padding: 4px 0; }
.item-list { list-style: none; padding: 0; margin: 6px 0 4px; }
.item-list li { padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.item-list li:first-child { border-top: 0; }
.item-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.compare-live .based-on { flex-basis: 100%; margin: 2px 0 0; }
.compare-live details.expand { flex-basis: 100%; margin: 4px 0 0; }

/* two tiers: Core is the center; prior-training summary under it */
.track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } }
.prior-intro h2 { margin-top: 0; }
.prior-summary { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 12px 0; background: var(--surface-2); }
.prior-summary .small-h { margin-top: 0; }
.prior-summary .steps { padding-left: 20px; margin: 6px 0; }
.prior-summary .steps li { margin: 6px 0; }
.prior-summary .steps p { margin: 2px 0; }
.prior-summary .additional .field input { max-width: 140px; display: block; margin-bottom: 2px; }
.combined-table td { font-size: .95rem; }
.combined-table td.amt strong, [data-testid="combined-cost"] { font-weight: 700; }
[data-testid="combined-cost"].flash, [data-testid="price-alaCarte"].flash { animation: compare-flash .7s ease-out; }
.savings { margin: 4px 0; }

/* =====================================================================
   NWIOI brand (track finder page only), matched to nwioi.com:
   dark brown band, gold/tan square buttons, olive accent, serif headings
   (Libre Baskerville standing in for Bookmania) and Manrope for UI text.
   ===================================================================== */
body.finder {
  --brown: #482117; --tan: #d3a468; --tan-deep: #b17036; --olive: #3d4c28; --navy: #2c3f54;
  --bg: #faf8f5; --surface: #ffffff; --surface-2: #f6f1ea; --text: #1f1a17; --muted: #5f5852; --line: #e7e1dc;
  --accent: #482117; --accent-ink: #ffffff; --accent-soft: #f6ede4; --ok: #3d4c28; --ok-soft: #eaeee2;
  --btn-bg: #d3a468; --btn-ink: #2b130d; --btn-hover: #c8955a;
  --radius: 6px; --shadow: 0 1px 2px rgba(72,33,23,.06);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px; line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.finder {
    --bg: #17120f; --surface: #221b17; --surface-2: #2b221d; --text: #f3ece6; --muted: #bfb3a9; --line: #3d322b;
    --accent: #e3bd8b; --accent-ink: #1b120d; --accent-soft: #3a2b20; --ok: #b9c99a; --ok-soft: #27301c;
    --btn-bg: #d3a468; --btn-ink: #22100a; --btn-hover: #e0b47c; --navy: #c9d4e0; --shadow: none;
  }
}
:root[data-theme="dark"] body.finder {
  --bg: #17120f; --surface: #221b17; --surface-2: #2b221d; --text: #f3ece6; --muted: #bfb3a9; --line: #3d322b;
  --accent: #e3bd8b; --accent-ink: #1b120d; --accent-soft: #3a2b20; --ok: #b9c99a; --ok-soft: #27301c;
  --btn-bg: #d3a468; --btn-ink: #22100a; --btn-hover: #e0b47c; --navy: #c9d4e0; --shadow: none;
}
body.finder h1, body.finder h2, body.finder .opt-name, body.finder .brand strong { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
body.finder .brand-strip { height: 8px; background: var(--brown); }
body.finder header.site { border-bottom: 1px solid var(--line); }
body.finder .brand .mark { background: var(--brown); color: var(--tan); border-radius: 2px; font-family: var(--serif); }
body.finder main.wrap { max-width: 920px; }
body.finder .card { border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
body.finder .hero { margin: 26px 0 14px; }
body.finder .hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1.2; margin-bottom: .5rem; }
body.finder .hero h1::after { content: ""; display: block; width: 120px; height: 1px; background: var(--tan-deep); margin-top: 14px; }
body.finder .lede { font-size: 1.08rem; color: var(--navy); max-width: 60ch; }
body.finder a { color: var(--accent); }

/* buttons: square, tan, like the site */
body.finder .btn, body.finder button { border-radius: 2px; min-height: 44px; }
body.finder .btn.primary, body.finder button.primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); font-weight: 700; }
body.finder .btn.primary:hover, body.finder button.primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
body.finder .btn:focus-visible, body.finder button:focus-visible, body.finder input:focus-visible, body.finder summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
body.finder button.link { min-height: 0; color: var(--accent); font-weight: 600; }
body.finder .chip-btn { min-height: 36px; border-radius: 999px; }
body.finder .chip-btn[aria-pressed="true"], body.finder .seg label:has(input:checked) { border-color: var(--brown); background: var(--accent-soft); }
body.finder .seg label { min-height: 44px; padding: 8px 14px; border-radius: 2px; }
body.finder .picker fieldset { margin: 0; }
body.finder .picker legend { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; margin-bottom: 10px; }
body.finder .chip.ok { background: var(--ok-soft); color: var(--ok); }
body.finder input[type=range] { accent-color: var(--tan-deep); }

/* the two option cards, right under the picker */
.options-for { margin: 4px 0 8px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.opt-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--tan); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.opt-card[data-track="alaCarte"] { border-top-color: var(--olive); }
.opt-card.is-recommended { box-shadow: 0 0 0 2px var(--olive); }
.opt-h { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.opt-name { font-size: 1.5rem; }
.tier { font-family: Manrope, system-ui, sans-serif; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.opt-price { font-size: 2rem; font-weight: 700; line-height: 1.1; margin: 6px 0 0; letter-spacing: -.01em; }
.opt-price.confirm, .opt-price-text { font-size: 1.2rem; font-weight: 600; }
.opt-sub { margin: 0; color: var(--muted); }
.opt-key { font-weight: 600; margin: 8px 0 4px; }
.opt-btn { margin-top: auto; width: 100%; justify-content: center; text-align: center; }
.opt-card .scholarship { margin: 8px 0 0; }
.opt-card .chip { align-self: flex-start; }
.opt-price.flash, [data-testid="ala-card-price"].flash { animation: compare-flash .7s ease-out; }

/* full comparison, collapsed */
body.finder .compare { padding: 10px 16px; margin-bottom: 14px; border-radius: var(--radius); }
body.finder .compare > summary { font-weight: 600; color: var(--accent); min-height: 32px; display: flex; align-items: center; }
body.finder .compare > summary::before { content: "▸"; margin-right: 8px; color: var(--tan-deep); }
body.finder .compare[open] > summary::before { content: "▾"; }
.table-wrap { overflow-x: auto; }
.compare-table { margin: 8px 0; min-width: 0; }
.compare-table th[scope=row] { font-weight: 600; white-space: nowrap; color: var(--muted); }
.compare-table thead th { font-family: var(--serif); font-weight: 400; font-size: 1rem; }

/* flows: inputs, then the personalized result right beneath */
body.finder .flow { border-top: 4px solid var(--tan); scroll-margin-top: 12px; }
body.finder #ala-flow { border-top-color: var(--olive); }
.flow h2 { font-size: 1.45rem; margin-bottom: 6px; }
.result-box { margin-top: 14px; border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius); padding: 14px 16px; }
.save-lead { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; margin: 0 0 6px; color: var(--text); }
.save-lead strong { color: var(--olive); }
.remaining { margin: 0 0 8px; }
.result-box .additional .field input { max-width: 150px; display: block; margin-bottom: 2px; }
.result-box .cta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ala-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.ala-total strong { font-size: 1.6rem; border-radius: 4px; padding: 0 4px; }
.ala-total strong.flash { animation: compare-flash .7s ease-out; }
.switch { margin: 0 0 14px; }
.footnote { margin-top: 18px; }
.steps { padding-left: 20px; }

/* sticky bar: fixed, slides in only after the option cards scroll away */
body.finder .estimate-bar { position: fixed; top: 0; left: 0; right: 0; margin: 0; background: var(--brown); color: #fff; transform: translateY(-110%); transition: transform .2s ease; visibility: hidden; }
body.finder .estimate-bar.is-shown { transform: none; visibility: visible; }
body.finder .estimate-bar .bar-btn { background: var(--tan); color: #2b130d; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { body.finder .estimate-bar { transition: none; } }

@media (max-width: 680px) {
  .opt-grid { grid-template-columns: 1fr; gap: 10px; }
  .opt-card { padding: 14px 16px; }
  .opt-price { font-size: 1.75rem; }
  body.finder .hero { margin-top: 18px; }
  body.finder .card { padding: 16px; }
  .compare-table th[scope=row] { white-space: normal; }
}
@media (max-width: 680px) {
  body.finder .picker .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  body.finder .picker .seg label { padding: 8px 10px; font-size: .95rem; line-height: 1.25; }
  body.finder .picker legend { font-size: 1.05rem; margin-bottom: 8px; }
  body.finder .hero h1::after { margin-top: 10px; }
  body.finder .lede { font-size: 1rem; }
  .options-for { margin-top: 0; }
}
.prior-copy { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
/* keep section headings clear of the fixed estimate bar */
body.finder .flow { scroll-margin-top: 112px; }
@media (max-width: 760px) { body.finder .flow { scroll-margin-top: 124px; } }
.opt-label { margin: 6px 0 0; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.opt-ceus { font-size: 1.15rem; margin: 6px 0 0; }
.opt-ceus strong { font-size: 1.6rem; }
.opt-beyond { margin: 0 0 4px; }
.opt-addons { margin: 8px 0 0; }
.opt-addons .link { padding: 0 2px; }
.ala-line { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }
.optional-h { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
[data-testid="ala-coursework-cost"].flash { animation: compare-flash .7s ease-out; }
body.finder .flow h2[tabindex="-1"]:focus { outline: none; }

/* ---------- one short flow: question → result → two rows ---------- */
body.finder .start .picker { margin-bottom: 4px; }
body.finder .prior-q { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
body.finder .prior-q .hours-q legend { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; line-height: 1.35; }
body.finder details.categories { margin: 10px 0 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; background: var(--surface); }
body.finder details.categories[open] { padding-bottom: 12px; }
body.finder details.categories .hours-q { margin-top: 10px; }
.quick-result { margin-top: 14px; border-left: 4px solid var(--olive); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; }
.result-h { font-family: var(--serif); font-size: clamp(1.3rem, 3.6vw, 1.6rem); line-height: 1.3; margin: 0 0 6px; color: var(--text); border-radius: 4px; }
.result-h.flash { animation: compare-flash .7s ease-out; }
.result-lines { padding-left: 18px; margin: 6px 0; }
.result-lines li { margin: 4px 0; }
.quick-result .cta { margin: 10px 0 4px; }
body.finder .rows { padding: 16px 20px; }
.rows-h { font-size: 1.3rem; margin: 0 0 2px; }
.opt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; }
.opt-row .opt-h { font-size: 1rem; }
.opt-row .opt-name { font-size: 1.3rem; }
.opt-row p { margin: 2px 0; }
.row-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1px; }
.row-amt { font-size: 1.55rem; line-height: 1.15; }
.row-amt.confirm, .row-amt-text { font-size: 1rem; font-weight: 600; }
.row-amt.flash { animation: compare-flash .7s ease-out; }
.row-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.row-links details.compare { flex-basis: 100%; order: 3; border: 0; padding: 0; margin: 0; box-shadow: none; background: none; }
.row-links details.compare[open] { border-top: 1px dashed var(--line); padding-top: 6px; }
body.finder .row-links details.compare > summary { min-height: 32px; font-size: .92rem; }
body.finder .rows .scholarship { margin: 8px 0 4px; }
@media (max-width: 680px) {
  .opt-row { grid-template-columns: 1fr; }
  .row-price { align-items: flex-start; text-align: left; }
  body.finder .rows { padding: 14px 16px; }
}

/* ---------- page one: requirements guide + where you learned it ---------- */
body.finder .learned { padding-top: 16px; }
.guide-h { font-size: 1.25rem; margin: 0 0 8px; }
.guide-table { margin: 0; }
.guide-table th[scope=row] { font-weight: 400; width: 38%; }
.guide-table th[scope=row] strong { font-weight: 700; }
.guide-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.sar-note { margin: 8px 0 4px; }
.areas { margin: 4px 0 10px; padding-left: 22px; columns: 2; column-gap: 24px; }
.areas li { break-inside: avoid; margin: 2px 0; }
body.finder details#full-reqs { margin: 6px 0 0; }
.src-q { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.q-legend { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; line-height: 1.35; margin-bottom: 4px; }
.small-legend { font-size: .92rem; margin-bottom: 4px; }
.follow { margin-top: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius); }
.follow .field input { max-width: 160px; display: block; margin-bottom: 2px; }
.follow fieldset { margin-bottom: 8px; }
.result-big { font-size: 1.08rem; margin: 0 0 4px; }
.result-big strong { color: var(--olive); font-size: 1.2em; }
.planning-note { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 10px 12px; margin: 10px 0 4px; font-size: .9rem; }
@media (max-width: 680px) {
  .areas { columns: 1; }
  .guide-table th[scope=row] { width: auto; }
  .grid3 { grid-template-columns: 1fr; }
}

/* ---------- payoff: potential savings ---------- */
.savings-block { margin: 6px 0 10px; }
.savings-lead { font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; margin: 0 0 8px; }
.savings-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--olive); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.tile:nth-child(2) { border-top-color: var(--tan); }
.tile strong { font-size: 1.8rem; line-height: 1.1; color: var(--olive); border-radius: 4px; }
.tile:nth-child(2) strong { color: var(--text); }
.tile span { font-size: .88rem; color: var(--muted); }
.tile strong.flash { animation: compare-flash .7s ease-out; }
.savings-tiles { grid-template-columns: 1fr 1fr; }
.result-big { font-size: 1rem; }
@media (max-width: 680px) { .tile { padding: 8px 10px; } .tile strong { font-size: 1.45rem; } .tile span { font-size: .82rem; } }
.savings-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tile strong { white-space: nowrap; }
@media (max-width: 680px) { .tile strong { font-size: 1.3rem; } }
.tile .chip { white-space: normal; display: inline-block; max-width: 100%; margin-top: 4px; font-size: .75rem; }

/* ---------- Core tuition + payment options ---------- */
.payments { grid-column: 1 / -1; margin-top: 6px; }
.pay-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.pay-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pay-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name amt" "detail detail"; gap: 0 12px; padding: 9px 12px; border-top: 1px solid var(--line); }
.pay-opt:first-child { border-top: 0; }
.pay-name { grid-area: name; }
.pay-amt { grid-area: amt; text-align: right; white-space: nowrap; }
.pay-amt strong { font-size: 1.1rem; }
.pay-detail { grid-area: detail; color: var(--muted); }
.pay-off { font-size: .8rem; font-weight: 600; color: var(--olive); margin-left: 4px; white-space: nowrap; }
.pay-off.muted { color: var(--muted); font-weight: 400; }
.payments > .small.muted { margin: 6px 0 4px; }
body.finder details.equity { margin: 6px 0 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; background: var(--surface); }
body.finder details.equity > summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .95rem; min-height: 32px; display: flex; align-items: center; }
body.finder details.equity[open] { padding-bottom: 10px; }
@media (min-width: 681px) { .pay-opt { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr); grid-template-areas: "name amt detail"; align-items: baseline; } .pay-detail { text-align: right; } }
.after-core { grid-column: 1 / -1; margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; } .after-core p { margin: 2px 0; }

/* =====================================================================
   NWIOI brand, matched to the new www.nwioi.com (Astro site, src/styles/site.css):
   ink #201c19 · olive #384034 · gold #d3a468 · rule #9d8060 · brown #3d2118 · blue #263346;
   Baskervville headings, Manrope text, 2px gold buttons, #176889 focus ring. Light only, like the site.
   ===================================================================== */
:root:has(body.finder) { color-scheme: light; }
body.finder, :root:not([data-theme="light"]) body.finder, :root[data-theme="dark"] body.finder {
  --ink: #201c19; --brown: #3d2118; --tan: #d3a468; --gold: #d3a468; --tan-deep: #9d8060; --olive: #384034; --navy: #263346; --rule: #9d8060;
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f6efe7; --text: #201c19; --muted: #5b524a; --line: #e8e2da;
  --accent: #3d2118; --accent-ink: #ffffff; --accent-soft: #f6efe7; --ok: #384034; --ok-soft: #ecefe8;
  --btn-bg: #d3a468; --btn-ink: #261a0d; --btn-hover: #e0b987;
  --serif: 'Baskervville', Georgia, serif;
  --shadow: none;
  font-family: 'Manrope', Arial, sans-serif;
  color: var(--ink); background: #fff;
}
body.finder h1, body.finder h2, body.finder h3:not(.small-h), body.finder .opt-name, body.finder .q-legend, body.finder .result-h, body.finder .savings-lead { font-family: var(--serif); font-weight: 400; }
body.finder :focus-visible { outline: 3px solid #176889; outline-offset: 3px; }
body.finder .skip-link { position: absolute; left: -9999px; }
body.finder .skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 30; padding: .7rem 1rem; background: #fff; color: var(--ink); }
body.finder .brand-strip { display: none; }
body.finder .announcement { display: grid; min-height: 40px; place-items: center; padding: .3rem 1rem; background: var(--brown); font-weight: 650; }
body.finder .announcement a { color: #e3bc84; text-decoration: none; }
body.finder .announcement a:hover { text-decoration: underline; }
body.finder header.site { background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 0; }
body.finder .header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; max-width: 1100px; }
body.finder .header-logo img { width: auto; height: 72px; }
body.finder .header-title { display: flex; flex-direction: column; line-height: 1.25; }
body.finder .header-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rule); }
body.finder .header-title strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
body.finder .header-nav { display: flex; gap: 18px; font-weight: 600; font-size: .95rem; }
body.finder .header-nav a { color: var(--ink); text-decoration: none; }
body.finder .header-nav a:hover { text-decoration: underline; text-underline-offset: .15em; }
body.finder .btn.primary, body.finder button.primary, body.finder .estimate-bar .bar-btn { background: var(--gold); border-color: var(--gold); color: #261a0d; border-radius: 2px; }
body.finder .btn.primary:hover, body.finder button.primary:hover { background: #e0b987; border-color: #e0b987; }
body.finder .estimate-bar { background: var(--brown); }
body.finder .hero h1::after { background: var(--rule); }
body.finder .lede { color: #524c43; }
body.finder .opt-card, body.finder .flow, body.finder .rows, body.finder .card { border-color: var(--line); }
body.finder .quick-result { border-left-color: var(--olive); }
body.finder footer.site { background: var(--brown); color: #f3e7d8; padding: 28px 0 36px; margin-top: 28px; }
body.finder footer.site a { color: #e3bc84; }
body.finder .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 12px; font-weight: 600; }
body.finder main.wrap { max-width: 960px; }
@media (max-width: 760px) {
  body.finder .header-row { grid-template-columns: auto minmax(0, 1fr); }
  body.finder .header-nav { grid-column: 1 / -1; gap: 16px; font-size: .9rem; }
  body.finder .header-logo img { height: 52px; }
  body.finder .header-title strong { font-size: 1.1rem; }
}
/* question headings sit above the section rule, not on it */
body.finder .src-q > legend.q-legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; }
body.finder .src-q > legend.q-legend + * { clear: both; }
body.finder .learned .prior-q { border-top: 0; margin-top: 4px; padding-top: 0; }
