.acquisition-page { --income-accent: #d6e79c; --pilot: #7ea9ad; }
.acquisition-page main { max-width: 1440px; margin: auto; padding: 0 var(--gutter); }
.acquisition-page h1 { font-size: clamp(38px, 4.3vw, 64px); line-height: 1.04; }
.acquisition-page h2 { font-size: clamp(27px, 2.8vw, 38px); }
.acquisition-page h3 { font-size: 23px; }
.acquisition-page button { background: transparent; border: 0; }
.acquisition-page select { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 34px 10px 13px; min-height: 46px; width: 100%; }
.income-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(35px,7vw,105px); padding: 54px 0 38px; }
.income-intro .eyebrow { margin-bottom: 15px; }
.lede { max-width: 570px; font-size: 17px; color: var(--muted); margin-top: 19px; line-height: 1.6; }
.budget-intro { padding-top: 8px; }
.budget-total { font-size: 21px; color: var(--muted); line-height: 1; }
.budget-total strong { font-size: clamp(48px,5vw,72px); letter-spacing: -.06em; font-weight: 450; color: var(--income-accent); margin-right: 5px; }
.budget-ruler { display: flex; gap: 3px; height: 7px; margin-top: 22px; }
.budget-ruler span:first-child { width: 25%; background: var(--pilot); }
.budget-ruler span:last-child { width: 75%; background: var(--income-accent); }
.budget-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin: 10px 0 16px; }
.budget-labels strong { color: var(--ink); font-weight: 500; }
.budget-intro .small { max-width: 410px; }
.load-state { padding: 24px 0; }
.load-error { padding: 22px; border-left: 3px solid #efa585; background: var(--surface-raised); margin: 25px 0; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.steps button { text-align: left; padding: 18px 10px 18px 0; font-size: 14px; color: var(--muted); position: relative; min-height: 62px; }
.steps button span { display: inline-block; margin-right: 12px; font-size: 11px; }
.steps button[aria-current="step"] { color: var(--income-accent); }
.steps button::after { content: ''; position: absolute; left: 0; right: 15px; bottom: -1px; height: 2px; background: var(--income-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.steps button[aria-current="step"]::after { transform: scaleX(1); }
.stage-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding: 32px 0 25px; }
.stage-heading .eyebrow { margin-bottom: 10px; }
.stage-heading h2 { font-size: clamp(25px,2.5vw,35px); }
.stage-heading p:not(.eyebrow) { max-width: 740px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.progress { min-width: 175px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.progress>strong { font-size: 26px; font-weight: 450; line-height: 1.25; font-variant-numeric: tabular-nums; }
.progress>span { font-size: 11px; color: var(--muted); }
.progress button { margin-top: 9px; padding: 8px 0 8px 15px; font-size: 13px; color: var(--income-accent); }
.method-choice { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.method-choice>div { min-width: 335px; }
.method-choice label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.method-choice p { max-width: 610px; font-size: 13px; color: var(--muted); padding-bottom: 3px; }
.investigation-layout { display: grid; grid-template-columns: 1fr 280px; border-bottom: 1px solid var(--line); }
.allocation-workspace { padding: 25px 36px 26px 0; }
.section-heading { display: flex; align-items: flex-end; gap: 35px; justify-content: space-between; }
.section-heading>p { max-width: 480px; font-size: 13px; color: var(--muted); }
.allocation-workspace .section-heading { align-items: flex-start; gap: 18px; }
.allocation-workspace .section-heading p { max-width: 210px; font-size: 12px; text-align: right; }
.legend { display: flex; gap: 21px; flex-wrap: wrap; margin: 22px 0 9px; color: var(--muted); font-size: 11px; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { display: block; width: 14px; height: 6px; }
.initial-swatch { background: #334850; }
.pilot-swatch { background: var(--pilot); }
.final-swatch { background: var(--income-accent); }
.county-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 30px; }
.county-group { padding: 17px 0 14px; border-bottom: 1px solid var(--line); }
.county-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.county-heading h4 { font-weight: 450; font-size: 15px; }
.county-heading span { font-size: 10px; color: var(--muted); }
.cell { display: block; width: 100%; text-align: left; padding: 8px 9px; margin: 0 -9px; width: calc(100% + 18px); min-height: 58px; transition: background .16s ease; }
.cell:hover { background: #152e38; }
.cell[aria-pressed="true"] { background: #18323a; }
.cell-label { display: flex; align-items: baseline; justify-content: space-between; font-size: 11px; gap: 12px; color: var(--muted); margin-bottom: 8px; }
.cell-label strong { color: var(--ink); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cell-track { display: flex; height: 12px; width: var(--group-width); min-width: 1px; background: #334850; }
.cell-track span { display: block; height: 100%; transition: width .35s cubic-bezier(.22,1,.36,1); flex: 0 0 auto; }
.cell-pilot { background: var(--pilot); }
.cell-final { background: var(--income-accent); }
.chart-note { margin-top: 16px; font-size: 11px; color: var(--muted); }
.group-inspector { padding: 27px 0 24px 27px; border-left: 1px solid var(--line); }
.group-inspector .eyebrow { margin-bottom: 12px; }
.group-inspector h3 { margin-bottom: 7px; font-size: 25px; }
.group-inspector dl { margin-top: 18px; }
.group-inspector dl div { display: flex; justify-content: space-between; gap: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.group-inspector dt { color: var(--muted); }
.group-inspector dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.group-inspector>p:not(.eyebrow):not(.small) { font-size: 13px; margin: 19px 0 12px; }
.group-inspector .small { font-size: 11px; }
.records-section,.estimate-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.records-section h2,.estimate-section h2 { font-size: 27px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.acquisition-page table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.acquisition-page caption { text-align: left; color: var(--muted); font-size: 11px; padding: 19px 0 12px; }
.acquisition-page th,.acquisition-page td { padding: 12px 15px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.acquisition-page th { color: var(--muted); font-weight: 450; font-size: 11px; }
.acquisition-page th:first-child,.acquisition-page td:first-child { text-align: left; padding-left: 0; }
.acquisition-page th:last-child,.acquisition-page td:last-child { padding-right: 0; }
.records-section .small { margin-top: 13px; font-size: 11px; }
.records td:last-child { color: var(--pilot); font-size: 11px; }
.records .unknown { color: var(--muted); }
.estimate-plot { margin: 28px 0 15px; }
.estimate-line { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; min-height: 44px; font-size: 12px; }
.estimate-track { position: relative; height: 1px; background: var(--line); }
.estimate-marker { position: absolute; top: -5px; width: 10px; height: 10px; transform: translateX(-50%); border: 2px solid var(--income-accent); border-radius: 50%; }
.estimate-marker.truth { background: var(--ink); border: none; border-radius: 0; width: 2px; height: 22px; top: -11px; }
.estimate-marker.reference { background: var(--income-accent); }
.estimate-marker.adaptive { border-color: var(--pilot); background: var(--surface); top: 5px; }
.estimate-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; margin-left: 110px; padding-top: 10px; }
.estimate-legend { display: flex; gap: 24px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.estimate-legend span { display: flex; align-items: center; gap: 8px; }
.estimate-legend i { display: inline-block; width: 9px; height: 9px; }
.truth-symbol { background: var(--ink); width: 2px !important; height: 15px !important; }
.reference-symbol { border-radius: 50%; background: var(--income-accent); }
.adaptive-symbol { border-radius: 50%; border: 2px solid var(--pilot); }
.episode-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 24px 0 16px; }
.episode-reading h3 { font-size: 17px; margin-bottom: 9px; }
.episode-reading p { font-size: 13px; color: var(--muted); }
.episode-reading strong { color: var(--ink); }
.replay-actions { display: flex; gap: 23px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.replay-actions button { font-size: 12px; padding: 8px 0; color: var(--income-accent); }
.replay-actions p { margin-right: auto; font-size: 11px; color: var(--muted); }
.study-context { padding: 49px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-bottom: 1px solid var(--line); }
.study-context h2 { font-size: clamp(28px,3vw,40px); }
.study-context>div>p:not(.eyebrow):not(.small) { font-size: 18px; margin-bottom: 16px; }
.study-facts { display: flex; flex-wrap: wrap; gap: 30px; padding-top: 22px; }
.study-facts dt { font-size: 11px; color: var(--muted); }
.study-facts dd { margin: 5px 0 0; font-size: 22px; }
.provenance { margin-bottom: 25px; }
.provenance-body { max-width: 860px; padding-bottom: 25px; color: var(--muted); font-size: 13px; }
.provenance-body p { margin-bottom: 15px; }
.provenance-body ul { padding-left: 20px; }
.provenance-body li { margin: 10px 0; }
.provenance-body a { color: var(--income-accent); }
.source-digest { margin: 10px 0; }
.source-digest code { display: block; overflow-wrap: anywhere; font: 10px/1.7 monospace; }
.acquisition-page footer { margin-top: 15px; }
.method-comparison { display: grid; grid-template-columns: 1fr 1.25fr; gap: 45px; padding: 35px 0; border-top: 1px solid var(--line); }
.method-comparison h2 { margin: 9px 0 16px; }
.method-comparison p { color: var(--muted); font-size: 14px; }
.method-comparison p+p { margin-top: 13px; }
.method-comparison pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; color: var(--income-accent); font-size: 12px; line-height: 1.8; }
.method-comparison code { overflow-wrap: anywhere; }
@media (max-width: 950px) {
  .income-intro { gap: 30px; }
  .investigation-layout { grid-template-columns: 1fr 240px; }
  .allocation-workspace { padding-right: 23px; }
  .county-groups { column-gap: 22px; }
  .allocation-workspace .section-heading { display: block; }
  .allocation-workspace .section-heading p { text-align: left; max-width: none; margin-top: 7px; }
  .group-inspector { padding-left: 22px; }
}
@media (max-width: 700px) {
  .method-comparison { grid-template-columns: 1fr; gap: 22px; }
  .acquisition-page .masthead { gap: 15px; min-height: 66px; }
  .acquisition-page .masthead nav { gap: 15px; margin-left: auto; }
  .acquisition-page .masthead nav a { font-size: 11px; }
  .acquisition-page .masthead nav a:first-child { display: none; }
  .income-intro { grid-template-columns: 1fr; gap: 25px; padding: 30px 0; }
  .income-intro h1 br { display: none; }
  .income-intro h1 { max-width: 390px; font-size: 41px; }
  .lede { font-size: 15px; margin-top: 14px; }
  .budget-intro .eyebrow { display: none; }
  .budget-total strong { font-size: 46px; }
  .budget-intro .small { font-size: 11px; }
  .budget-ruler { margin-top: 15px; }
  .steps button { font-size: 11px; line-height: 1.4; padding: 13px 10px 12px 0; }
  .steps button span { display: block; margin-bottom: 5px; }
  .stage-heading { gap: 15px; padding: 25px 0 20px; }
  .stage-heading h2 { font-size: 24px; }
  .stage-heading p:not(.eyebrow) { font-size: 12px; }
  .progress { min-width: 87px; }
  .progress>strong { font-size: 22px; }
  .progress>span { font-size: 9px; }
  .progress button { font-size: 12px; }
  .method-choice { display: block; }
  .method-choice>div { min-width: 0; }
  .method-choice p { margin-top: 12px; font-size: 12px; }
  .investigation-layout { grid-template-columns: 1fr; }
  .allocation-workspace { padding: 23px 0; }
  .county-groups { gap: 0 27px; }
  .county-heading span { display: none; }
  .cell-label { font-size: 10px; }
  .group-inspector { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  .group-inspector dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .group-inspector dl div { font-size: 11px; }
  .group-inspector>p:not(.eyebrow) { max-width: 500px; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 13px; }
  .acquisition-page table { font-size: 12px; }
  .acquisition-page td,.acquisition-page th { padding: 10px 10px; }
  .replay-actions { flex-wrap: wrap; gap: 8px 20px; }
  .replay-actions p { order: 4; width: 100%; }
  .study-context { grid-template-columns: 1fr; gap: 24px; padding: 35px 0; }
  .episode-reading { grid-template-columns: 1fr; gap: 20px; }
  .estimate-line { grid-template-columns: 60px 1fr; gap: 16px; }
  .estimate-axis { margin-left: 76px; }
  .estimate-legend { gap: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cell,.cell-track span,.steps button::after { transition: none; }
}
