:root {
  color-scheme: light;
  --bg: #fff; --surface: #f4f6f9; --ink: #15233f; --muted: #56647c;
  --line: #dfe4ec; --accent: #15233f; --accent-hover: #263b60;
  --gold: #f4b400; --gold-heading: #b47b00; --estimate: #885c00;
  --estimate-bg: #fff8e8; --soft-blue: #e4e9f2;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif; font-size: 1rem; line-height: 1.6; padding: 32px 20px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, select { font: inherit; color: var(--ink); }
button { cursor: pointer; }
a, button, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, .chart:focus-visible, .table-scroll:focus-visible, .growth:focus-visible, .budget-table:focus-visible { outline: 3px solid var(--gold-heading); outline-offset: 4px; border-radius: 3px; }
[hidden] { display: none !important; }
.bg-corner { position: fixed; width: 320px; height: 320px; z-index: 0; pointer-events: none; }
.bg-corner--tl { top: 0; left: 0; background: linear-gradient(135deg, var(--ink) 0 45%, var(--gold) 45% 52%, transparent 52%); clip-path: polygon(0 0, 100% 0, 0 100%); }
.bg-corner--br { bottom: 0; right: 0; background: linear-gradient(315deg, var(--ink) 0 45%, var(--gold) 45% 52%, transparent 52%); clip-path: polygon(100% 100%, 0 100%, 100% 0); }
.page-panel { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 24px 44px 36px; box-shadow: 0 24px 60px rgb(21 35 63 / 16%); }
.shell { width: 100%; margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; background: #fff; padding: 14px; z-index: 30; }
.skip:focus { top: 12px; }
.site-header { margin-bottom: 28px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 135px; height: auto; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8125rem; text-decoration: none; }
nav a[aria-current=page] { font-weight: 700; }
p { margin: 0 0 16px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 5vw, 2.625rem); font-weight: 800; margin: 12px 0 22px; }
h2 { font-size: 1.625rem; margin: 6px 0 14px; font-weight: 750; }
h3 { font-size: 1.25rem; margin: 0 0 16px; }
.overview { text-align: center; }
.title { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: .6px; margin: 12px 0 26px; }
.title-gold { color: var(--gold-heading); }
.referendum-banner { --referendum-ink: #001d51; position: relative; isolation: isolate; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); align-items: center; gap: 28px; min-height: 216px; margin: 0; padding: 18px 26px; overflow: hidden; border-radius: 10px; background: var(--gold); color: var(--referendum-ink); }
.referendum-banner::before, .referendum-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; pointer-events: none; }
.referendum-banner::before { clip-path: polygon(25% 0, 55% 0, 40% 35%); }
.referendum-banner::after { clip-path: polygon(30% 100%, 45% 65%, 60% 100%); }
.referendum-ballot { position: absolute; z-index: 2; left: 52%; top: 52%; width: min(18cqw, 7.5rem); height: auto; overflow: visible; transform: translate(-50%, -50%); }
.referendum-city { position: absolute; z-index: 0; bottom: -17.15%; left: 0; width: auto; height: 115%; max-width: none; transform: translateX(-2.15%); pointer-events: none; }
.referendum-feature { margin: 0 0 26px; }
.referendum-credit { padding-top: 8px; color: var(--muted); font-size: clamp(.4375rem, 2.1vw, .6875rem); line-height: 1.6; }
.referendum-credit a { display: inline-flex; align-items: center; min-height: 44px; margin-inline: 3px; color: inherit; }
.referendum-credit > span { display: block; }
.referendum-copy { position: relative; z-index: 2; align-self: start; margin: 14px 0 0; font-weight: 900; line-height: 1.08; text-align: left; text-transform: uppercase; }
.referendum-copy > span, .referendum-copy > strong { -webkit-text-stroke: 4px var(--gold); paint-order: stroke fill; }
.referendum-copy > span { display: block; margin-bottom: 4px; font-size: clamp(1rem, 3.5cqw, 1.5rem); }
.referendum-copy > strong { display: block; font-size: clamp(1.125rem, 5.6cqw, 2.5rem); font-weight: 900; letter-spacing: -.035em; }
.referendum-date { position: relative; z-index: 2; display: grid; justify-items: center; margin: 0; font-weight: 900; line-height: 1; text-transform: uppercase; }
.referendum-day { color: #fff; font-size: clamp(4.5rem, 20cqw, 8rem); line-height: .82; letter-spacing: -.065em; -webkit-text-stroke: 2px var(--referendum-ink); paint-order: stroke fill; }
.referendum-month { margin-top: 8px; font-size: clamp(.75rem, 3.1cqw, 1.25rem); line-height: 1.2; }
.referendum-year { margin-top: 6px; font-size: clamp(1.75rem, 5.8cqw, 2.5rem); line-height: 1; }
.city-banner { margin: 0 0 26px; }
.city-banner img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center 25%; background: var(--surface); border-radius: 14px; box-shadow: 0 10px 28px rgb(21 35 63 / 18%); }
.city-banner figcaption { color: var(--muted); font-size: clamp(.4375rem, 2.1vw, .6875rem); padding-top: 8px; line-height: 1.6; }
.city-banner figcaption a { color: inherit; }
.counter-label { color: var(--muted); font-size: 0.9375rem; letter-spacing: .3px; }
.estimate-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-heading); margin-right: 6px; }
.year-label { display: block; font-size: 0.75rem; margin-top: 3px; }
.counter-box { isolation: isolate; background: var(--ink); border-radius: 14px; padding: 26px 14px 24px; margin: 20px auto 16px; box-shadow: inset 0 0 0 2px rgb(244 180 0 / 25%); }
.counter-line { white-space: normal; line-height: 1.2; }
.counter-value { display: block; color: var(--gold); -webkit-text-fill-color: currentColor; font-size: clamp(2rem, 6vw, 4.125rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 1px; text-shadow: 0 2px 8px rgb(0 0 0 / 30%); }
.counter-unit { font-size: 0.8125rem; color: #d4deee; letter-spacing: 4px; margin-top: 9px; }
.counter-plan { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 0.875rem; margin: 0 0 14px; }
.counter-plan-date { flex-basis: 100%; font-size: 0.75rem; color: var(--muted); }
.counter-plan strong { font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.counter-context { color: var(--muted); font-size: 0.8125rem; margin-bottom: 8px; }
.counter-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }
.rate { font-size: 0.9375rem; font-weight: 700; }
.rate > span { color: var(--estimate); }
.rate small { display: none; }
.text-link, .source-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; min-height: 44px; font-weight: 600; }
.counter-meta { font-size: 0.6875rem; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.quiet-button { border: 0; background: transparent; font-size: 0.6875rem; color: var(--muted); padding: 8px 0; min-height: 44px; text-decoration: underline; }
.status-note { color: var(--estimate); font-size: 0.8125rem; }
.status-note:empty { display: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 28px; }
.stat { background: var(--surface); border-top: 3px solid var(--gold); border-radius: 12px; padding: 15px 10px; display: flex; flex-direction: column; }
.stat-label { color: var(--muted); text-transform: uppercase; font-size: 0.6875rem; letter-spacing: .7px; margin-bottom: 8px; min-height: 2.8em; }
.stat-value { font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: auto; white-space: nowrap; }
.official-strip { border-top: 1px solid var(--line); padding: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; text-align: left; }
.official-value { font-size: 1.4375rem; font-weight: 750; margin: 5px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.official-value > span { font-size: 0.9375rem; font-weight: 500; }
.eyebrow, .small-label { color: var(--muted); font-size: 0.6875rem; letter-spacing: .7px; text-transform: uppercase; }
.small-label { display: block; margin-bottom: 6px; }
.official-strip .muted { font-size: 0.75rem; margin: 0; }
.official-change p { font-size: 0.9375rem; margin: 5px 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.change-percent { font-size: 0.75rem; font-weight: 400; }
.official-strip .source-link { grid-column: 1 / -1; margin: 0 auto; }
.download-hint { font-size: 0.6875rem; color: var(--muted); margin: 0 0 12px; }
.scope-note { font-size: 0.75rem; color: var(--muted); margin: 0 0 26px; }
.growth { margin: 24px 0 20px; text-align: left; }
.growth h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1.3px; text-align: center; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; text-align: left; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-size: 0.75rem; color: var(--muted); padding: 0 0 12px; line-height: 1.6; }
th, td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
thead th { font-size: 0.6875rem; color: var(--muted); }
td.amount, th.amount { text-align: right; white-space: nowrap; }
.growth-table th { font-weight: 400; text-transform: uppercase; font-size: 0.75rem; color: var(--muted); letter-spacing: .5px; }
.growth-table td { font-size: 0.9375rem; font-weight: 700; }
.growth-table tr:last-child > * { border-top: 2px solid var(--gold); border-bottom: 0; color: var(--estimate); font-weight: 700; }
.date-note { font-size: 0.6875rem; color: var(--muted); }
.section { padding-block: 34px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.section-heading p { font-size: 0.8125rem; margin: 0; }
.muted { color: var(--muted); }
.segmented { display: flex; border-radius: 8px; background: var(--surface); padding: 4px; gap: 4px; }
.segmented button { border: 0; border-radius: 6px; background: transparent; padding: 10px 17px; font-size: 0.8125rem; min-height: 44px; }
.segmented button[aria-pressed=true] { background: var(--ink); color: #fff; font-weight: 600; }
.history-summary { display: flex; gap: 34px; margin: 24px 0; }
.history-summary p { margin: 0; }
.history-summary strong { display: block; font-size: 1.4375rem; font-weight: 750; }
.history-summary span { font-size: 0.6875rem; color: var(--muted); display: block; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.6875rem; color: var(--muted); margin-bottom: 14px; }
.chart-legend > span { display: flex; gap: 7px; align-items: center; }
.legend-line { width: 20px; border-top: 2px solid var(--accent); }
.legend-line.dashed { border-top: 2px dashed var(--estimate); }
.chart { overflow-x: auto; padding-bottom: 8px; overscroll-behavior-x: contain; }
.chart svg { width: 100%; min-width: 620px; height: auto; display: block; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 1rem; }
.chart .actual-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .actual-area { fill: var(--soft-blue); opacity: .7; }
.chart .estimate-line { fill: none; stroke: var(--estimate); stroke-width: 2.5; stroke-dasharray: 6 6; }
.chart .actual-point { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.chart .selected-point { fill: var(--accent); }
.chart .estimate-point { fill: var(--estimate); }
.chart-detail { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 18px 0; margin: 14px 0; border-block: 1px solid var(--line); }
.chart-detail strong { font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-detail select { appearance: none; -webkit-appearance: none; min-height: 44px; min-width: 96px; height: 3rem; font-size: 1rem; background-image: url("/assets/chevron-down.svg"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; background-color: var(--surface); border: 1px solid var(--muted); border-radius: 6px; padding: 8px 28px 8px 12px; font-weight: 700; }
.chart-note, .small-note, .method-note { font-size: 0.75rem; color: var(--muted); line-height: 1.7; margin-top: 18px; }
.data-table summary { padding: 12px 0; min-height: 44px; cursor: pointer; font-size: 0.875rem; }
.table-scroll { overflow-x: auto; }
.data-table table { min-width: 570px; }
.data-table td a { display: inline-flex; align-items: center; min-height: 44px; }
.download { margin-top: 14px; }
.budget-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.spending-total { font-size: 3.375rem; font-weight: 800; line-height: 1.2; margin: 8px 0 20px; }
.spending-total span { font-size: 1.375rem; font-weight: 400; color: var(--muted); }
.spending-breakdown { border-top: 1px solid var(--line); padding-top: 12px; }
.spending-breakdown p { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; margin: 8px 0; }
.spending-breakdown strong { white-space: nowrap; }
.spending > .muted { font-size: 0.8125rem; margin-top: 20px; }
.budget-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.budget-table th { font-weight: 400; }
.method-intro { display: grid; grid-template-columns: 1fr; gap: 20px; }
.method-intro h2 { font-size: 1.875rem; margin: 10px 0 18px; }
.method-intro > div > p { font-size: 0.875rem; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; padding: 11px 20px; margin-top: 10px; background: var(--ink); color: #fff; border-radius: 7px; text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.button:hover { background: var(--accent-hover); }
.calculation p { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 0.8125rem; }
.calculation strong { color: var(--ink); font-weight: 700; white-space: nowrap; }
.calculation-total { font-weight: 700; }
.calculation .per-second { border-bottom: 0; align-items: center; }
.calculation .per-second strong { font-size: 1.625rem; color: var(--estimate); margin-left: auto; }
.method-note { border-top: 1px solid var(--line); padding-top: 18px; }
.site-footer { border-top: 2px solid var(--gold); padding-top: 30px; text-align: center; }
.footer-slogan { font-size: clamp(1rem, 3vw, 1.375rem); font-weight: 800; letter-spacing: 2px; margin: 0; }
.party-link { display: block; width: fit-content; margin: 14px auto 0; }
.party-logo { display: block; width: 245px; max-width: 100%; height: auto; }
.site-footer .publisher { font-size: 0.875rem; font-weight: 700; margin: 8px 0; }
.site-footer > p:not(.footer-slogan):not(.publisher) { font-size: 0.75rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: 0.75rem; }
.footer-links a { min-height: 44px; display: flex; align-items: center; }
.footer-bottom { margin: 12px 0 0; }
.method-header { padding: 12px 0 30px; }
.method-header h1 { margin: 12px 0 20px; }
.method-header p { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.method-layout { display: block; }
.method-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.method-nav a { font-size: 0.8125rem; }
.method-article section { scroll-margin-top: 24px; margin-bottom: 42px; }
.method-article section:last-child { margin-bottom: 0; }
.method-article h2 { font-size: 1.5rem; margin-bottom: 18px; }
.method-article p { font-size: 0.9375rem; color: var(--muted); }
.formula { background: var(--surface); padding: 22px; border-radius: 12px; margin: 22px 0; overflow-wrap: anywhere; }
.formula p { font-size: 0.875rem; font-weight: 600; line-height: 1.9; color: var(--ink); margin: 0; }
.formula .formula-result { color: var(--estimate); font-size: 1.25rem; margin-top: 12px; }
.method-article .callout { padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--estimate-bg); color: var(--ink); font-size: 0.875rem; }
.source-list { list-style: none; padding: 0; }
.source-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.source-list a { font-size: 0.9375rem; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.source-list span { display: block; font-size: 0.75rem; color: var(--muted); }
.provenance { font-size: 0.75rem !important; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Reflow text and controls when people enlarge browser text. */
.page-panel { overflow-wrap: anywhere; }
.header-inner, nav { flex-wrap: wrap; }
nav a, button, select { min-width: 44px; }
nav a { justify-content: center; padding-inline: 6px; }
.counter-plan a, .method-article p > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.method-note a { display: inline-flex; align-items: center; min-height: 44px; }
.calculation a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; vertical-align: middle; }
.city-banner figcaption a { display: inline-flex; align-items: center; min-height: 44px; margin-inline: 4px; }
.counter-plan strong, .stat-value, .official-value, .spending-breakdown strong, .calculation strong { white-space: normal; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat, .official-strip > *, .chart-detail > * { min-width: 0; }
.history-summary, .spending-breakdown p, .calculation p { flex-wrap: wrap; }
.history-summary p { flex: 1 1 140px; }
.spending-breakdown strong, .calculation strong { margin-left: auto; }
.calculation p { align-items: center; }
.growth, .budget-table { overflow-x: auto; }
.table-scroll, .chart, .growth, .budget-table { max-width: 100%; }
button:active, .button:active { background: var(--soft-blue); color: var(--ink); }
nav a:active, .text-link:active, .source-link:active { background: var(--surface); }
button:disabled { cursor: default; opacity: .65; }
@media (max-width: 620px) {
  body { padding: max(20px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); font-size: 1.0625rem; }
  .page-panel { padding: 20px 22px 28px; }
  .bg-corner { width: 190px; height: 190px; }
  .header-inner { flex-direction: column; gap: 8px; padding-bottom: 10px; }
  .brand img { width: 124px; }
  .site-header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 4px 8px; }
  nav a { font-size: 0.9375rem; }
  .site-header { margin-bottom: 24px; }
  .title { font-size: clamp(1.5625rem, 6.3vw, 2.25rem); letter-spacing: .2px; }
  .referendum-banner { gap: 12px; min-height: 146px; padding: 14px 16px; }
  .referendum-ballot { left: 47%; top: 70%; }
  .referendum-feature { margin-bottom: 4px; }
  .referendum-credit { padding-top: 3px; line-height: 1.2; }
  .referendum-credit a { display: inline; min-height: 0; margin-inline: 2px; }
  .referendum-credit > span { margin-top: 1px; }
  .referendum-copy { margin-top: 6px; }
  .referendum-copy > span { font-size: .875rem; }
  .referendum-copy > strong { font-size: clamp(1.0625rem, 6cqw, 1.375rem); }
  .referendum-day { font-size: 4.5rem; }
  .referendum-month { margin-top: 6px; font-size: .75rem; }
  .referendum-year { margin-top: 5px; font-size: 1.75rem; }
  .city-banner { margin-bottom: 4px; }
  .city-banner img { height: 180px; }
  .city-banner figcaption { padding-top: 3px; line-height: 1.2; }
  .city-banner figcaption a { display: inline; min-height: 0; margin-inline: 2px; }
  /* Give changing digits their own paint layer in iOS browser web views. */
  .counter-value { font-size: clamp(1.6875rem, 7.5vw, 2.625rem); letter-spacing: .3px; text-shadow: none; transform: translateZ(0); }
  .counter-box { padding: 24px 8px 22px; margin-top: 6px; }
  .counter-unit { font-size: 0.6875rem; letter-spacing: 2.5px; }
  .counter-label { font-size: .6875rem; line-height: 1.15; letter-spacing: 0; }
  .counter-label .estimate-dot { width: 5px; height: 5px; margin-right: 4px; }
  .counter-label .year-label { font-size: .625rem; line-height: 1.1; margin-top: 1px; }
  .counter-context { font-size: 0.9375rem; }
  .counter-actions { gap: 0 14px; }
  .counter-meta { gap: 0 10px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 12px; }
  .stat-label { min-height: 0; margin-bottom: 5px; }
  .stat-value { font-size: 1.25rem; }
  .official-strip { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .official-value { font-size: 1.5625rem; }
  .history-summary { gap: 22px; }
  .history-summary strong { font-size: 1.25rem; }
  .history-summary span { font-size: 0.6875rem; }
  .chart-detail { align-items: flex-start; gap: 18px; }
  .chart-detail .text-link { width: 100%; }
  .section { padding-block: 30px; }
  .spending-total { font-size: 3rem; }
  .calculation p { font-size: 0.9375rem; gap: 10px; }
  .method-intro h2 { font-size: 1.6875rem; }
  .method-article h2 { font-size: 1.375rem; }
  .method-article p, .method-article li { font-size: 1.0625rem; }
  .formula { padding: 18px; }
  .formula p { font-size: 1rem; }
  .formula .formula-result { font-size: 1.125rem; }
  .footer-links { gap: 14px; }
  /* Body copy stays readable without competing with the counter. */
  .counter-meta, .date-note, .eyebrow, .small-label, .stat-label { font-size: 0.75rem; }
  .quiet-button { font-size: 0.875rem; padding-inline: 10px; }
  .scope-note, .download-hint, .method-note, .small-note, caption, .source-list span, .history-summary span, .chart-legend, .official-strip .muted, .change-percent { font-size: 0.875rem; }
  .section-heading p, .method-intro > div > p, .spending > .muted { font-size: 0.9375rem; }
  table, .spending-breakdown p, .growth-table th, .footer-links { font-size: 0.875rem; }
  .method-article .callout { font-size: 1rem; }
  .provenance { font-size: 0.8125rem !important; }
  .site-footer > p:not(.footer-slogan):not(.publisher) { font-size: 0.875rem; }
  .method-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .method-nav a { font-size: 0.9375rem; }
}
@media (max-width: 360px) {
  .page-panel { padding-inline: 16px; }
  nav { gap: 12px; }
  .official-value { font-size: 1.375rem; }
  .spending-breakdown p { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-contrast: more) { :root { --muted: var(--ink); --line: var(--ink); } }
@media (forced-colors: active) { .counter-box, .stat, .page-panel, .referendum-banner { border: 1px solid CanvasText; } .bg-corner { display: none; } }
@media print {
  body { padding: 0; background: #fff; }
  .page-panel { max-width: none; padding: 0; box-shadow: none; }
  .site-header, .bg-corner, .city-banner, .counter-meta button, .segmented, .method-nav { display: none !important; }
  .counter-box { background: #fff; box-shadow: none; border: 1px solid #000; }
  .counter-value, .counter-unit { color: #000; text-shadow: none; }
  .chart { break-inside: avoid; }
}
