/* Follow the Money. Colors are the documented brand palette only (handoff/brand-sheet.html), as tokens. */
:root {
  --paper: #f8f8f2; --ink: #092c46; --logo-navy: #003563; --body: #33434f; --slate: #53636a;
  --red: #c70043; --link: #0759b5; --line: #cbd0cb; --soft: #e9ece5; --hover: #eef2f6; --white: #ffffff;
  --s1: 8px; --s2: 24px; --s3: 40px;
  --fade: 180ms;
}
body.ff-page { background: var(--paper); color: var(--body); margin: 0; } /* Oct 26, 2026: no default body margin, so the header, content and footer align with the other pages and nothing trails under the footer */
.ff { max-width: 1120px; margin: 0 auto; padding: var(--s2) 16px 64px; font-family: var(--font-ui); color: var(--body); }
.ff a { color: var(--link); }
.ff :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.ff-back { margin: 0 0 var(--s1); font-size: 16px; }
.ff-back a { display: inline-flex; align-items: center; min-height: 44px; }
.ff .eyebrow { font-size: 13px; letter-spacing: .09em; font-weight: 400; color: var(--red); margin: 0 0 var(--s1); }
body.ff-page main.ff h1 { font-family: Georgia, "Times New Roman", serif; font-size: 40px !important; line-height: 1.15 !important; letter-spacing: -.3px !important; font-weight: 400; color: var(--ink); margin: 0 0 var(--s1); max-width: 60ch; }  /* Oct 26, 2026: the page headline in the brand serif, Regular */
.ff-meta-line { font-size: 13px; color: var(--slate); margin: 0 0 var(--s1); max-width: 120ch; line-height: 1.5; }
.ff-toprow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s2); }
.ff-toprow .eyebrow, .ff-toprow .ff-back { margin: 0 0 var(--s1); }
.ff-lede { font-size: 16px; line-height: 1.6; max-width: 70ch; margin: 0 0 var(--s1); color: var(--body); }
.ff-also { font-size: 13px; color: var(--slate); margin: 0 0 var(--s3); }
.ff-also a { margin-left: var(--s1); }
.ff-h2 { font-size: 22px; font-weight: 600; color: var(--ink); margin: 0 0 var(--s1); }
.ff-h2-flow { font-size: 16px; font-weight: 400; color: var(--slate); }
.ff-h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: var(--s2) 0 var(--s1); }
.ff p, .ff li, .ff dd { font-size: 16px; line-height: 1.6; }
.ff-note, .ff-cite, .ff-date, .ff-limit, .ff-who, .ff-meta { color: var(--slate); }
.ff-cite, .ff-date, .ff-meta, .ff-who, .ff-limit { font-size: 13px; }
.ff-num, .ff-amt, .ff-step-amt, td.num { font-variant-numeric: tabular-nums; }
.ff-sec { border-top: 1px solid var(--line); padding-top: var(--s2); margin-top: var(--s3); }

/* legend */
.ff-legend { font-size: 13px; color: var(--slate); margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.ff-legend .ff-key { display: inline-flex; align-items: flex-start; max-width: 100%; }  /* the swatch stays with its label; long labels wrap inside the key (320px) */
.ff-legend .ff-key .sw { flex: none; margin-top: 4px; }
.sw { display: inline-block; width: 20px; height: 12px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--logo-navy); }
.sw.alloc { background: rgba(0, 53, 99, .18); }
.sw.appr { background: repeating-linear-gradient(45deg, rgba(0, 53, 99, .45) 0 2px, var(--soft) 2px 6px); }
.sw.paid { background: var(--logo-navy); }
.sw.rem { background: var(--soft); border-color: var(--slate); }

/* the reading path: three steps aligned with the chart's columns (not payment stages) */
.ff-track { margin: var(--s1) 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); }
.ff-track.ff-track-cols { display: block; position: relative; height: 52px; margin: var(--s1) 0 0; }
.ff-track.ff-track-cols ol { display: block; position: static; }
.ff-track.ff-track-cols li { position: absolute; top: 0; white-space: nowrap; }
.ff-track.ff-track-cols li + li::before { content: none; margin: 0; }
.ff-track-note { font-size: 13px; color: var(--slate); margin: 0; }
.ff-track ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }
.ff-track li + li::before { content: "→"; color: var(--slate); margin-right: var(--s1); }
.ff-track-step { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer; transition: border-color var(--fade), background var(--fade); }
.ff-track-step:hover { background: var(--hover); }
.ff-track-step:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.ff-track-step[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.ff-track-n { display: inline-flex; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; margin-right: 6px; }
.ff-chip { font: inherit; font-size: 13px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin: 2px 4px 2px 0; cursor: pointer; }
.ff-chip:hover { background: var(--hover); }

/* desktop diagram */
.ff-diagram { margin: 0; padding: 4px 0 var(--s1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ff-diagram svg { display: block; overflow: visible; max-width: 100%; }
.ff-diagram figcaption { font-size: 13px; color: var(--slate); margin-top: var(--s1); }
.ff-colhead { font-size: 13px; fill: var(--slate); letter-spacing: .02em; }
.ff-figtitle { font-size: 16px; font-weight: 600; fill: var(--ink); }
.ff-figsub { font-weight: 400; fill: var(--slate); }
.ff-source-label { font-size: 18px; fill: var(--white); pointer-events: none; }
.ff-source-label .ff-name { font-weight: 600; }
.ff-source-label .ff-amt { font-size: 20px; font-weight: 600; }
.ff-node.source { fill: var(--ink); }
.ff-node.source.on-route { fill: var(--red); }
.ff-groupcap { font-size: 13px; fill: var(--slate); letter-spacing: .02em; }
.ff-leaf-amt { fill: var(--ink); }
.ff-leaf.remainder .ff-leaf-amt { fill: var(--slate); }
.ff-leaf-amt-text { font-size: 16px; font-weight: 600; fill: var(--white); font-variant-numeric: tabular-nums; }
.ff-leaf-name { fill: var(--soft); }
.ff-leaf-name-text { font-size: 16px; fill: var(--ink); }
.ff-leaf-sub { font-size: 13px; fill: var(--slate); }
.ff-leaf-link { stroke: var(--line); stroke-width: 1; fill: none; }
.ff-band { cursor: pointer; stroke: rgba(0, 53, 99, .45); stroke-width: 1; transition: opacity var(--fade), fill var(--fade), stroke var(--fade); }
.ff-band.alloc { fill: rgba(0, 53, 99, .28); }
.ff-band.alloc.remainder { fill: var(--soft); stroke: var(--line); }
.ff-label.remainder .ff-name, .ff-label.remainder .ff-amt { fill: var(--slate); }
.ff-band.paid { fill: rgba(0, 53, 99, .55); }
.ff-band:hover { stroke: var(--logo-navy); }
.ff-band.on-route { stroke: var(--red); stroke-width: 1.5; }
.ff-band.alloc.on-route { fill: rgba(199, 0, 67, .16); }
.ff-band.dim { opacity: .45; }
.ff-node { fill: var(--logo-navy); cursor: pointer; transition: fill var(--fade); }
.ff-node.remainder { fill: var(--slate); }
.ff-node.on-route { fill: var(--red); }
.ff-label { font-size: 16px; fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.ff-label .ff-amt { font-variant-numeric: tabular-nums; }
.ff-label .ff-sub { font-size: 13px; fill: var(--slate); }
.ff-bandlabel { font-size: 13px; fill: var(--body); pointer-events: none; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }

/* details */
.ff-detail { padding: var(--s2) 0 0; }
.ff-detail[hidden] { display: none; }
.ff-hint { color: var(--slate); font-size: 16px; margin: 0; }
.ff-d-title { font-size: 22px; font-weight: 600; color: var(--ink); margin: 0 0 var(--s1); }
.ff-d { margin: 0; display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: var(--s2); }
.ff-d > div { display: contents; }
.ff-d dt { font-size: 13px; color: var(--slate); padding: 10px 0; border-top: 1px solid var(--line); }
.ff-d dd { margin: 0; padding: 8px 0 10px; border-top: 1px solid var(--line); color: var(--body); }
.ff-d .ff-num { color: var(--ink); }
.ff-src { margin: 0; padding-left: 18px; }
.ff-src li { font-size: 13px; line-height: 1.5; }
.ff-office { display: inline-block; margin-top: 4px; }
.ff-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* phone breakdown */
.ff-figtitle-phone { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.ff-figtitle-phone .ff-figsub { font-weight: 400; color: var(--slate); }
.ff-step-amt.ff-amtbox { display: inline-block; background: var(--ink); color: var(--white); font-weight: 600; padding: 2px 8px; border-radius: 2px; margin-right: var(--s1); font-variant-numeric: tabular-nums; }
.ff-step.on-route .ff-step-amt.ff-amtbox { background: var(--red); }
.ff-phase-explain { margin: 0 0 var(--s1); }
[data-ff-steps] .ff-scale { font-size: 13px; color: var(--slate); margin: 0 0 var(--s1); }
.ff-phase { margin: 0; }
.ff-phase-head { font-size: 16px; font-weight: 600; color: var(--ink); margin: var(--s1) 0; display: flex; gap: var(--s1); align-items: center; }
.ff-phase-n { display: inline-flex; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; }
.ff-phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.ff-step { display: grid; gap: 6px; width: 100%; min-height: 44px; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; transition: border-color var(--fade), background var(--fade); }
.ff-step:hover { background: var(--hover); }
.ff-step.on-route { border-color: var(--red); }
.ff-step.is-selected { box-shadow: inset 4px 0 0 var(--red); }
.ff-step-top { display: flex; justify-content: space-between; gap: var(--s1); font-size: 16px; }
.ff-step-amt { color: var(--ink); }
.ff-bar { display: block; height: 10px; background: var(--soft); border-radius: 2px; overflow: hidden; }
.ff-bar-fill { display: block; height: 100%; background: rgba(0, 53, 99, .55); }
.ff-bar-fill.approved { background: repeating-linear-gradient(45deg, rgba(0, 53, 99, .6) 0 2px, var(--soft) 2px 6px); }
.ff-bar-fill.remainder { background: var(--slate); }
.ff-step.on-route .ff-bar-fill { background: var(--red); }
.ff-step.on-route .ff-bar-fill.approved { background: repeating-linear-gradient(45deg, var(--red) 0 2px, var(--soft) 2px 6px); }
.ff-step-sub { font-size: 13px; color: var(--slate); }
.ff-step-stage { font-size: 13px; color: var(--ink); }
.ff-down { margin: var(--s1) 0; color: var(--slate); text-align: center; }
.ff-inline { padding: var(--s1) 4px var(--s2); }
.ff-inline .ff-d { grid-template-columns: 1fr; }
.ff-inline .ff-d dt { border-top: 1px solid var(--line); padding-bottom: 0; }
.ff-inline .ff-d dd { border-top: 0; }

/* sections below */
.ff-hbars { display: grid; gap: var(--s1); margin: var(--s1) 0 var(--s2); max-width: 560px; }
.ff-hbar-label { display: block; font-size: 13px; color: var(--body); }
.ff-hbar-track { display: block; height: 10px; background: var(--soft); }
.ff-hbar-fill { display: block; height: 100%; }
.ff-hbar-fill.t0 { background: var(--logo-navy); }
.ff-hbar-fill.t1 { background: var(--slate); }
.ff-hbar-fill.t2 { background: var(--line); }
.ff-verb { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.ff-scroll { overflow-x: auto; }
.ff table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; }
.ff caption { text-align: left; font-size: 13px; color: var(--slate); margin-bottom: var(--s1); }
.ff th, .ff td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; color: var(--body); }
.ff th { color: var(--ink); font-weight: 600; font-size: 13px; }
.ff .num { text-align: right; white-space: nowrap; }
.ff-checks ul { list-style: none; padding: 0; margin: 0; }
.ff-checks li { font-size: 13px; color: var(--body); }
.ff-checks li.bad { color: var(--red); }
.ff-srcs li { font-size: 13px; margin: 6px 0; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 2000; background: var(--white); padding: 12px; }
.skip:focus { top: 8px; }

@media (max-width: 719px) {
  body.ff-page main.ff h1 { font-size: 30px !important; }
  .ff { padding-top: 16px; }
  .ff-d { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ff * { transition: none !important; animation: none !important; } }

/* Shared by the records and the resident's question */
.ff-ask { margin-top: var(--s2); padding: 12px 16px; background: var(--soft); max-width: 90ch; }
.ff-ask .ff-h3 { margin-top: 0; }
.ff-quote { margin: var(--s1) 0; padding-left: 12px; border-left: 3px solid var(--logo-navy); color: var(--ink); }
.ff-ask-list { margin: 0 0 var(--s1); padding-left: 20px; }
.ff-ask-list li { margin: 2px 0; }
.ff-rules { max-width: 80ch; padding-left: 20px; margin: 0; }

/* From public money to public services: the process journey. Eight equal stages on one drawn path; labels are HTML. */
.jr-lede { font-size: 16px; line-height: 1.6; max-width: 70ch; margin: 0 0 var(--s1); color: var(--body); }
.jr-scale { color: var(--slate); }
.jr-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 var(--s1); }
.jr-key { display: inline-flex; align-items: center; gap: 6px; }
.jr-mark { display: inline-block; flex: none; width: 12px; height: 12px; border: 1.5px solid var(--logo-navy); border-radius: 50%; background: var(--paper); }
.jr-mark.documented { background: var(--logo-navy); }
.jr-mark.authorized { background: radial-gradient(circle at center, var(--logo-navy) 0 2.5px, transparent 3px); }
.jr-mark.not-found { border-style: dashed; }
.jr-mark.cannot { border-style: dashed; border-radius: 2px; }
.jr-stages { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin: var(--s1) 0 0; }
.jr-svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; overflow: visible; stroke: var(--logo-navy); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.jr-svg-v { display: none; }
.jr-svg .f-soft { fill: var(--soft); }
.jr-svg .f-paper { fill: var(--paper); }
.jr-svg .f-ink { fill: var(--logo-navy); stroke: none; }
.jr-svg .dash { stroke-dasharray: 4 3; }
.jr-svg .jr-loop { stroke: var(--slate); }
.jr-svg .jr-g.is-on { stroke-width: 3; }
.jr-svg .jr-g.is-on .f-ink { stroke: none; }
.jr-stage { display: grid; align-content: start; gap: 4px; width: 100%; min-height: 44px; text-align: left; font: inherit; line-height: 1.4; color: var(--ink); background: transparent; border: 1.5px solid transparent; border-radius: 8px; padding: 0 6px 10px; cursor: pointer; transition: border-color var(--fade), background var(--fade); }
.jr-stage:hover { background: var(--hover); }
.jr-stage:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.jr-stage[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.jr-gap { display: block; width: 100%; aspect-ratio: 100 / 210; }  /* the glyph row and the City recipient drawn in the SVG above sit here (GEO.H in journey.mjs) */
.jr-label { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.jr-n { display: inline-flex; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; font-weight: 400; margin-right: 6px; vertical-align: 2px; }
.jr-status { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--slate); }
.jr-status .jr-mark { margin-top: 3px; }
.jr-fact { font-size: 13px; font-weight: 400; color: var(--body); font-variant-numeric: tabular-nums; }
/* The City recipient: an HTML box under the last stage, where the County → City arrow drawn in the SVG ends (a straight
   drop from the glyph to y 128 of the 100×210 cell; the box starts at y 130). */
.jr-city { position: absolute; left: 87.5%; top: 0; width: 12.5%; aspect-ratio: 100 / 210; pointer-events: none; font-size: 13px; line-height: 1.3; }
.jr-city-box { position: absolute; left: 4%; right: 4%; top: 62%; min-height: 25%; display: grid; gap: 2px; align-content: center; justify-items: center; text-align: center; padding: 4px 6px; box-sizing: border-box; background: var(--white); border: 1.5px solid var(--logo-navy); border-radius: 4px; }
.jr-city-arrow { color: var(--slate); white-space: nowrap; }
.jr-city-name { color: var(--ink); font-weight: 600; }
.jr-panel { margin-top: var(--s2); padding: var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.jr-panel-title { margin: 0 0 4px; }
.jr-panel-status { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s1); }
.jr-panel-status strong { color: var(--ink); font-weight: 600; }
.jr-panel .ff-d dd p { margin: 0 0 6px; }
.jr-dates { margin: 0; padding-left: 18px; }
.jr-dates li { margin: 2px 0; }
.jr-dates strong { color: var(--ink); font-weight: 600; }
.jr-spent-link { margin: var(--s1) 0 0; font-size: 16px; }
.jr-text { margin-top: var(--s2); }
.jr-text summary { cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.jr-text ol { padding-left: 22px; margin: var(--s1) 0 0; max-width: 90ch; }
.jr-text li { margin: var(--s1) 0; }
@media (max-width: 699px) {
  .jr-stages { grid-template-columns: 1fr; }
  .jr-svg-h { display: none; }
  .jr-svg-v { display: block; width: 128px; height: auto; }
  .jr-gap { display: none; }
  .jr-stage { height: 136px; align-content: center; padding: 6px 6px 6px 140px; border-radius: 6px; }
  .jr-city { position: relative; left: 0; width: 100%; height: 100px; aspect-ratio: auto; }
  .jr-city-box { left: 14px; right: 6px; top: 24px; min-height: 56px; }
  .jr-panel { padding: 16px; }
}

/* Level 1: Understand the money. Oct 26, 2026 (owner's brief): subject, scope, four restrained summary blocks, then
   the proportional chart and the invitation to the records. Amounts, statuses, periods and sources read differently. */
.ff-level { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--slate); margin: 0 0 4px; }
.ff-overview { margin: var(--s2) 0 var(--s3); }
.ff-overview .ff-lede { margin-bottom: var(--s2); max-width: 80ch; }
.ff-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s2); margin: 0; border-top: 1px solid var(--line); }
.ff-sum { padding: 14px 0 12px; border-top: 2px solid var(--logo-navy); margin-top: -1px; min-width: 0; }
.ff-sum.st-not-found, .ff-sum.st-cannot { border-top-style: dashed; border-top-color: var(--slate); }
.ff-sum p { margin: 0; line-height: 1.4; }
.ff-sum-label { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin: 0 0 6px !important; }
.ff-sum-value { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -.2px; }
.ff-sum-status { display: flex; align-items: flex-start; gap: 8px; font-size: 18px; color: var(--ink); min-height: 39px; }
.ff-sum-status .jr-mark { margin-top: 7px; }
.ff-sum-period { font-size: 13px; color: var(--slate); margin-top: 4px !important; }
.ff-sum-note { font-size: 13px; color: var(--body); margin-top: var(--s1) !important; }
.ff-sum-link { font-size: 13px; margin-top: var(--s1) !important; }
.ff-sum-link a { display: inline-flex; align-items: center; min-height: 32px; }
.ff-summary-note { margin: var(--s1) 0 0; max-width: 90ch; }
.ff-invite { margin: var(--s3) 0 var(--s2); padding: var(--s2) 0 0; border-top: 1px solid var(--line); max-width: 70ch; }
.ff-invite p { margin: 0 0 var(--s1); }
.ff-invite-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink) !important; font-weight: 600; text-decoration: none; background: var(--white); }
.ff-invite-link:hover { background: var(--ink); color: var(--white) !important; }
.ff-invite-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Level 2: Explore the records. Four groups, an in-page nav, the journey as the one diagram, expandable records. */
.ff-records { scroll-margin-top: 16px; }
.ff-h2-records { font-size: 28px; }
.ff-groupnav { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s2) 0 var(--s1); }
.ff-groupnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); text-decoration: none; font-size: 16px; }
.ff-groupnav a:hover { background: var(--hover); border-color: var(--logo-navy); }
.ff-journey { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.ff-group { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.ff-group > .ff-note { margin: 0 0 var(--s1); max-width: 80ch; }
.ff-group-head { display: flex; align-items: center; gap: 10px; }
.ff-group-n { display: inline-flex; flex: none; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; font-weight: 400; }
.ff-reclist { border-top: 1px solid var(--line); }
.ff-reclist-method { margin-top: var(--s2); }
.rec { border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.rec-sum { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 4px var(--s1); align-items: start; padding: 14px 0; cursor: pointer; }
.rec-sum::-webkit-details-marker { display: none; }
.rec-sum::after { content: ""; grid-column: 2; grid-row: 1; justify-self: end; width: 28px; height: 28px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white) no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23092c46' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: transform var(--fade), border-color var(--fade); }
.rec[open] > .rec-sum::after { transform: rotate(180deg); border-color: var(--ink); }
.rec-sum:hover { background: var(--hover); box-shadow: 0 0 0 8px var(--hover); }
.rec-sum:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.rec[open] > .rec-sum { border-left: 3px solid var(--red); padding-left: 12px; }
.rec-head { grid-column: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s2); }
.rec-title { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rec-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); }
.rec-status .jr-mark { flex: none; }
.st-documented .rec-status { color: var(--ink); }
.rec-finding { grid-column: 1; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 90ch; }
.rec-meta { grid-column: 1; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.rec-body { padding: 4px 0 var(--s2) 15px; border-left: 3px solid var(--red); }
.rec-body .ff-d dd p { margin: 0 0 6px; }
.rec-body .ff-d dd .rec-amount { color: var(--ink); font-weight: 600; font-size: 18px; }
.rec-evidence { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--ink); }
.rec-evidence .jr-mark { margin-top: 6px; }
.ff-checked { color: var(--ink); }
.rec-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s2) 0 0; }
.ff-act { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--link); border-radius: 999px; color: var(--link); background: var(--white); text-decoration: none; font-size: 16px; }
.ff-act:hover { background: var(--link); color: var(--white); }
.ff-act-office { border-color: var(--ink); color: var(--ink); }
.ff-act-office:hover { background: var(--ink); color: var(--white); }
.ff-panel-items { margin: 0; }
.ff-panel-items > div { padding: 8px 0; border-top: 1px solid var(--line); }
.ff-panel-items dt { font-weight: 600; color: var(--ink); font-size: 16px; }
.ff-panel-items dd { margin: 2px 0 0; }
.ff-unknown { margin: var(--s1) 0 0; padding-left: 20px; max-width: 90ch; }
.ff-roles-list { padding-left: 22px; margin: 0; }
.ff-roles-list li { margin: var(--s1) 0; }
.ff-srcs { padding-left: 22px; }
@media (max-width: 1023px) { .ff-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .ff-summary { grid-template-columns: 1fr; } .ff-sum-value { font-size: 26px; } .ff-h2-records { font-size: 24px; } }

/* Nov 6, 2026 (design preview): the opening reads relationship, then the rounded amount, then the flow; the annual
   budget is the primary return and the graph a secondary route; the page shares the site's content width. */
body.ff-page main.ff { max-width: var(--ca-w, 1240px); }
.ff-return { margin: 0 0 var(--s2); font-size: 15px; }
.ff-lead-amt { margin: 0 0 var(--s2); font-size: 18px; line-height: 1.45; color: var(--body); max-width: 70ch; }
.ff-lead-big { font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 400; color: var(--ink); letter-spacing: -.02em; line-height: 1; display: block; margin: 0 0 6px; }
.ff-flow .ff-h2 { margin-top: var(--s3); }
/* Nov 6, 2026 (owner's decision, design preview): the compact accounting statement beneath the lead amount. */
.ff-lead-status { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--slate); max-width: 70ch; }
.ff-lead-status strong { color: var(--ink); font-weight: 600; }
.ff-lead-status a { color: var(--ink); font-weight: 600; }
