/* Healthcare Data Factory site layer, loaded after the CMS Design System Core theme (cmsds/css). It maps the site's
   tokens onto CMSDS Core tokens, so colors, type and focus come from the design system; independent branding stays
   in the header and footer. CMSDS Core is a light theme, so the site no longer switches to a dark palette. No JavaScript. */
:root {
  --page: var(--color-gray-lightest, #f2f2f2);
  --surface: var(--color-background, #ffffff);
  --ink: var(--color-base, #262626);
  --ink-soft: var(--color-gray-dark, #5a5a5a);
  --rule: var(--color-border, #d9d9d9);
  --verified: var(--color-success-dark, #12890e);
  --verified-soft: var(--color-success-lightest, #f6faf5);
  --pending: var(--color-warn-darkest, #8a5c00);
  --pending-soft: var(--color-warn-lightest, #fffaf0);
  --withheld: var(--color-gray-dark, #5a5a5a);
  --withheld-soft: var(--color-gray-lightest, #f2f2f2);
  --focus: var(--color-focus-dark, #bd13b8);
  --link: var(--color-primary, #0071bc);
  --serif: var(--font-family-heading, "Open Sans", Arial, sans-serif);
  --sans: var(--font-family-body, "Open Sans", Arial, sans-serif);
  --measure: 68ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
}
a { color: var(--link); text-decoration-color: currentColor; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 2; }

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { border-bottom: 1px solid var(--rule); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; padding-block: 1rem; }
.brand { color: var(--ink); font: 700 1.125rem/1.2 var(--serif); text-decoration: none; letter-spacing: -0.005em; }
nav.primary { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.9375rem; }
nav.primary a { text-decoration: none; color: var(--ink-soft); padding-block: 0.25rem; }
nav.primary a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--verified); }

main.wrap { padding-block: 2.5rem 4rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); margin: 0 0 0.75rem; max-width: 24ch; }
h2 { font-size: 1.5rem; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.125rem; margin: 1.75rem 0 0.5rem; }
p, li { max-width: var(--measure); }
.lede { font: 1.1875rem/1.6 var(--serif); color: var(--ink-soft); max-width: 60ch; margin: 0 0 1.5rem; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }

/* The lifecycle track: the one distinctive element. Five real steps, in order. */
.track { display: inline-grid; grid-template-columns: repeat(5, 1.6rem); gap: 3px; vertical-align: middle; }
.track span { height: 0.5rem; border-radius: 1px; background: var(--rule); }
.track span.on { background: var(--verified); }
.track.withheld span { background: var(--withheld-soft); }
.status { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.status b { font-weight: 600; font-size: 0.875rem; }
.status.published b, .status.validated b { color: var(--verified); }
.status.withheld b { color: var(--withheld); }
.status.discovered b, .status.profiled b, .status.ingested b { color: var(--ink-soft); }

.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); border: 1px solid var(--rule);
          background: var(--surface); margin: 1.5rem 0 2rem; }
.ledger div { padding: 1rem 1.1rem; border-right: 1px solid var(--rule); }
.ledger div:last-child { border-right: 0; }
.ledger strong { display: block; font: 600 2rem/1 var(--serif); margin-bottom: 0.35rem; }
.ledger span { font-size: 0.875rem; color: var(--ink-soft); }
.ledger span.sub { display: block; font-size: 0.8125rem; margin-top: 0.2rem; }
.ledger .step { font-size: 0.75rem; color: var(--ink-soft); display: block; margin-bottom: 0.4rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
caption { text-align: left; padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink-soft); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 1rem; border-top: 1px solid var(--rule); }
thead th { font-weight: 600; font-size: 0.8125rem; color: var(--ink-soft); border-top: 0; background: var(--page); white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.years { white-space: nowrap; }
table.sample td:nth-child(2) { min-width: 18ch; }
td code, li code, p code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em;
          background: var(--page); padding: 0.05em 0.3em; border-radius: 2px; }
tr.unavailable td:first-child a { color: var(--ink-soft); }
.def { max-width: 52ch; color: var(--ink-soft); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; margin: 1rem 0 1.5rem; }
.facts dt { color: var(--ink-soft); font-size: 0.9375rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.note { border-left: 3px solid var(--pending); background: var(--pending-soft); padding: 0.75rem 1rem; margin: 1.25rem 0; max-width: 70ch; }
.note.ok { border-color: var(--verified); background: var(--verified-soft); }
.note.withheld { border-color: var(--withheld); background: var(--withheld-soft); }
.note p { margin: 0.25rem 0; }

ol.steps { padding-left: 1.4rem; }
ol.steps li { margin-bottom: 0.75rem; }
.release-log li { margin-bottom: 0.35rem; }
.changelog-entry { border-top: 1px solid var(--rule); padding-top: 0.5rem; }

footer.site { border-top: 1px solid var(--rule); padding-block: 1.5rem 2.5rem; font-size: 0.875rem; color: var(--ink-soft); }
footer.site p { margin: 0.25rem 0; }

@media (max-width: 640px) {
  .ledger div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 0.5rem; }
  th, td { padding: 0.5rem 0.65rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* research pages and charts */
:root { --series-1: #2a78d6; --series-1-band: rgba(42, 120, 214, 0.18); }
.study-card { border-top: 1px solid var(--rule); padding: 1rem 0; }
.study-card h2 { margin: 0 0 .25rem; }
.meta, .kicker { color: var(--ink-soft); font-size: .9375rem; }
.note { color: var(--ink-soft); font-size: .9375rem; max-width: var(--measure); }
.findings li { margin-bottom: .5rem; max-width: var(--measure); }
figure { margin: 1.25rem 0 1rem; }
figcaption { font-weight: 600; margin-bottom: .5rem; }
svg.chart { width: 100%; height: auto; max-width: 680px; display: block; background: var(--surface); }
svg.chart .grid { stroke: var(--rule); stroke-width: 1; }
svg.chart .baseline { stroke: var(--ink-soft); stroke-width: 1; }
svg.chart .marker { stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 3 3; }
svg.chart .tick, svg.chart .note { fill: var(--ink-soft); font: 12px var(--sans); }
svg.chart .value { fill: var(--ink); font: 600 12px var(--sans); }
svg.chart .bar { fill: var(--series-1); }
svg.chart .band { fill: var(--series-1-band); }
svg.chart .line { fill: none; stroke: var(--series-1); stroke-width: 2; }
svg.chart .dot { fill: var(--series-1); stroke: var(--surface); stroke-width: 2; }
svg.chart .hit { fill: transparent; }
svg.chart .mark:hover .bar, svg.chart .mark:hover .dot { opacity: .8; }
svg.chart .mark:hover .hit { fill: var(--rule); fill-opacity: .35; }
.cite { font-family: var(--serif); max-width: var(--measure); }
.roster-filter { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: end; margin: 1rem 0; }
.roster-filter .ds-c-field { max-width: 22rem; }
/* Participants search: CMSDS sets checkboxes to display:inline-grid, which collapses this bare checkbox to 0px wide. */
#participant-form label:has(> #participant-changed) { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0; }
#participant-changed { display: inline-block; appearance: auto; flex: none; width: 1.25rem; height: 1.25rem; margin: 0; }
table.roster td.num { text-align: center; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 400; padding: 0 0.35rem; margin-left: 0.25rem; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-soft); }
.explorer-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem 1.25rem; margin: 1.25rem 0; align-items: end; }
.explorer-filter .ds-c-field { max-width: 100%; }
.explorer-filter .ds-c-label { margin-top: 0; }
table.ds-c-table th[scope="row"] a { display: inline-block; min-width: 14ch; }
svg.chart .line.second { stroke: var(--ink); stroke-dasharray: 6 4; }
svg.chart .dot.second { fill: var(--ink); }
svg.chart .bar-neg-bg { fill: var(--surface); }
svg.chart .bar-neg-line { stroke: var(--series-1); stroke-width: 3; }
svg.chart .bar.neg { stroke: var(--series-1); stroke-width: 1; }

/* WO-LAUNCH: public beta badge in the header (CMSDS badge) */
header.site .beta { align-self: center; }

/* Long identifiers (column names, hashes) wrap instead of widening the page (changelog at narrow widths and high zoom) */
main { overflow-wrap: anywhere; }
main li { min-width: 0; }

/* ACO Compare: two named ACOs first, extra slots on demand; stacked matrix on narrow screens */
.cmp-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem 1.25rem; margin: 1rem 0 0.5rem; align-items: start; }
.cmp-slot .ds-c-field { max-width: 100%; }
.cmp-note { min-height: 1.25rem; margin: 0.25rem 0 0; font-size: 0.9375rem; }
.cmp-pick { min-height: 44px; }
#c-add { min-height: 44px; }
.cmp-out section { margin: 2rem 0; }
.cmp-geo { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.cmp-bar { display: block; height: 6px; background: var(--rule); margin-top: 4px; }
.cmp-bar i { display: block; height: 100%; background: var(--ink-soft); }
.cmp-matrix td, .cmp-matrix th { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.cmp-matrix td.num { text-align: left; }
.cmp-all summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.cmp-form select:focus-visible, .cmp-form input:focus-visible, .cmp-form button:focus-visible, .cmp-all summary:focus-visible { outline: 3px solid var(--focus, #2491ff); outline-offset: 2px; }
@media (max-width: 40rem) {
  .cmp-matrix, .cmp-matrix tbody, .cmp-matrix tr, .cmp-matrix th, .cmp-matrix td { display: block; width: 100%; }
  .cmp-matrix caption { display: block; width: 100%; text-align: left; }
  .cmp-matrix tr > * { box-sizing: border-box; }
  .cmp-matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp-matrix tr { border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
  .cmp-matrix td::before { content: attr(data-label) ": "; font-weight: 600; }
  .cmp-matrix td:empty { display: none; }
}

/* ACO profile: terms, summary and four headline figures lead the page */
.pf-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem 1.5rem; margin: 1rem 0; }
.pf-figures div { border-top: 3px solid var(--rule); padding-top: 0.5rem; }
.pf-figures dt { color: var(--ink-soft); font-size: 0.9375rem; }
.pf-figures dd { margin: 0; font-size: 1.5rem; font-weight: 600; overflow-wrap: anywhere; }
.pf-figures dd .meta { display: block; font-size: 0.875rem; font-weight: 400; }
.pf-jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; }
.pf-jump a, .pf-source summary, .pf-geo summary { min-height: 44px; display: inline-flex; align-items: center; }
.pf-geo .cmp-bar { max-width: 14rem; margin-left: auto; }

/* ---------- ACO operating review: lead finding, homepage actions, advisor questions, printable packet */
.pf-lead { margin: 1.5rem 0; }
.pf-lead-sentence { font-size: 1.1875rem; line-height: 1.5; max-width: 72ch; }
.pf-prompt pre, .cmp-lead pre, .aq pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 80ch; max-height: 22rem; overflow: auto; }
.hdf-featured, .hdf-hero .hdf-wrap.hdf-featured { display: block; margin: 1.75rem auto 0.5rem; }
.hdf-hero .hdf-featured .ds-c-label, .hdf-hero .hdf-featured .meta { color: #fff; }
.hdf-hero .hdf-featured .meta { color: #d5e4e8; }
.hdf-featured .hdf-entry .hdf-card-foot span { overflow-wrap: anywhere; }
.hdf-aco-go { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: flex-end; margin-bottom: 1rem; }
.hdf-aco-go .ds-c-label { flex-basis: 100%; }
.hdf-aco-go .ds-c-field { flex: 1 1 18rem; max-width: 28rem; margin-top: 0; }
.hdf-aco-go .meta { flex-basis: 100%; margin: 0; min-height: 1.25rem; }
.hdf-entries--2 { display: grid; list-style: none; padding: 0; margin: 0; gap: var(--hdf-gap, 1rem); grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.aq { margin: 0.75rem 0; }
.aq summary { cursor: pointer; }
.aq summary .meta { display: block; font-weight: 400; }
.cmp-lead { margin: 1rem 0 1.5rem; }
@media print {
  .hdf-header, footer.site, .no-print, .skip { display: none !important; }
  main.wrap { max-width: none; padding: 0; }
  .pk-page { break-before: page; }
  .pk-page:first-of-type { break-before: auto; }
  .table-scroll { overflow: visible; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75rem; overflow-wrap: anywhere; }
  .no-print-border { border: 0; }
  body.ds-base { font-size: 10pt; line-height: 1.35; }
  h1 { font-size: 18pt; margin: 0 0 4pt; } h2 { font-size: 13pt; margin: 6pt 0 4pt; } h3 { font-size: 11pt; }
  .lede { font-size: 10pt; }
  .pf-figures dd { font-size: 13pt; }
  .ds-c-table { font-size: 8.5pt; } .ds-c-table th, .ds-c-table td { padding: 2pt 4pt; }
  svg.chart { max-height: 2.6in; width: 100%; }
  p, li, dd { margin-top: 2pt; margin-bottom: 2pt; }
}
.hdf-entry h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.hdf-hero .hdf-entry h3 a, .hdf-hero .hdf-featured .hdf-entry a { color: var(--hdf-ink); }

/* ACO settlement lead: result first, then reason */
.fin-lead { margin: 12px 0 20px; }
.fin-kicker { margin: 0 0 4px; font: 600 14px var(--sans); color: var(--ink-soft); }
.fin-headline { margin: 0 0 8px; font-size: clamp(1.5rem, 4.2vw, 2.25rem); line-height: 1.15; }
.fin-lead .pf-lead-sentence { margin: 0 0 8px; }
.fin-change { margin: 0 0 8px; }
.fin-facts { margin: 8px 0; }
.fin-fig { margin: 8px 0; }
.fin-fig figcaption { font-weight: 600; margin-bottom: 4px; }
.fin-sub { margin: 14px 0 4px; font-size: 1.05rem; }
svg.chart .zero-zone { fill: var(--series-1-band); stroke: var(--series-1); stroke-width: 1; stroke-dasharray: 4 3; }
svg.chart .rate-mark { fill: var(--ink); stroke: var(--surface); stroke-width: 2; }
svg.chart .sq { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
svg.chart .ring { fill: none; stroke: var(--ink); stroke-width: 1.5; }
@media print { .fin-lead details, .fin-lead details > * { display: block; } }

/* Compare: settlements first */
.cmp-settle { margin: 12px 0 18px; }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 8px 0; }
.cmp-card { border: 1px solid var(--rule); border-left: 4px solid var(--series-1); padding: 10px 12px; background: var(--surface); }
.cmp-card h3 { margin: 0 0 4px; font-size: 1rem; }
.cmp-amount { margin: 0; font: 700 clamp(1.25rem, 3.6vw, 1.75rem)/1.2 var(--sans); }
.cmp-pp { margin: 4px 0 0; }
.cmp-finding { margin: 8px 0; }
.cmp-edit { margin: 8px 0 16px; }
.cmp-edit > summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
svg.chart.chart-dots { max-width: 680px; }
svg.chart .rowlabel { fill: var(--ink); font: 13px var(--sans); }
svg.chart .connect { stroke: var(--ink-soft); stroke-width: 2; stroke-dasharray: 5 3; }
svg.chart .dot-1 { fill: var(--ink); }
svg.chart .dot-2 { fill: var(--series-1-band); stroke: var(--series-1); }
svg.chart .dot-3 { fill: var(--surface); stroke: var(--ink); }
svg.chart-dots .value, svg.chart-dots .note { paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.cmp-settle > h2, .fin-lead > .fin-kicker:first-child { margin-top: 0; }

/* What to investigate in the planning year */
.opp { margin: 1.25rem 0; }
.opp h2 { margin-top: 0; }
.opp-sel, .opp-withheld { max-width: 70ch; }
.opp-withheld { border-left: 4px solid #8a5a00; padding: .4rem .75rem; background: #fff7e6; }
.opp-card { border-top: 1px solid #d0d7de; padding: 1rem 0 .5rem; }
.opp-lead { border-top: 0; }
.opp-lead h3 { font-size: 1.3rem; }
.opp-supporting h3, .opp-historical h3 { font-size: 1.05rem; }
.opp-kicker { margin: 0 0 .25rem; font-size: .85rem; color: #4a5560; }
.opp-label { font-weight: 700; color: #1b3a5c; }
.opp-card h3 { margin: .1rem 0 .5rem; }
.opp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem 1.25rem; margin: .75rem 0; }
.opp-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #4a5560; }
.opp-facts dd { margin: .1rem 0 0; }
.opp-calc, .opp-copy { margin: .5rem 0; }
.opp-q { white-space: pre-wrap; background: #f4f6f8; padding: .6rem .8rem; border-radius: 4px; font-size: .85rem; }
@media (max-width: 600px) { .opp-facts { grid-template-columns: 1fr; } }

/* Figma hierarchy: dark settlement hero, KPI row, paired cards, follow-up list */
.fin-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 2.5rem; align-items: center; margin: 12px 0 16px; padding: 1.75rem 2rem;
  background: #103b40; color: #fff; border-radius: 14px; }
.fin-hero .fin-kicker { color: #8fe3c4; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.fin-hero .fin-headline { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); margin: .25rem 0 .75rem; }
.fin-hero .pf-lead-sentence, .fin-hero .fin-change { color: #e6f4f0; font-size: 1.15rem; }
.fin-hero .fin-change { font-size: 1rem; }
.fin-tags { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .75rem 0 0; color: #cfe7e1; font-size: .95rem; }
.fin-tags span + span::before { content: "·"; margin-right: 1rem; }
.fin-hero-chart { background: #fff; color: var(--ink); border-radius: 10px; padding: .75rem 1rem; margin: 0; }
.fin-hero-chart figcaption { font-weight: 600; font-size: .9rem; }
.fin-kpis { border-radius: 14px; }
.fin-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem 2rem; margin: 0 0 .75rem; }
.fin-kpi-row dt { font-size: .85rem; color: var(--ink-soft); }
.fin-kpi-row dd { margin: .1rem 0 0; font: 700 clamp(1.4rem, 3vw, 1.9rem)/1.2 var(--sans); }
.fin-exact > summary { cursor: pointer; font-weight: 700; color: #0f6a55; min-height: 44px; display: flex; align-items: center; }
.fin-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; align-items: start; }
.fin-pair > section { margin: 0; border-radius: 14px; }
.fin-pair .fin-kicker { text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: #0f6a55; }
.fin-bars { list-style: none; margin: .5rem 0; padding: 0; }
.fin-bars li { display: grid; grid-template-columns: 8.5rem 1fr auto; align-items: center; gap: .5rem; margin: .35rem 0; }
.fin-bars i { display: block; height: 14px; background: #93b8ad; border-radius: 2px; }
.fin-bars li:first-child i { background: #14695a; }
.fin-follow { border-radius: 14px; }
.fin-follow ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.fin-follow li { border-top: 1px solid var(--rule); }
.fin-follow a { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; padding: .85rem 0; text-decoration: none; color: var(--ink); min-height: 44px; }
.fin-follow a:hover strong, .fin-follow a:focus-visible strong { text-decoration: underline; }
.fin-source { margin: 1rem 0; }
@media (max-width: 800px) {
  .fin-hero { grid-template-columns: 1fr; padding: 1.25rem; }
  .fin-pair { grid-template-columns: 1fr; }
  .fin-follow a { grid-template-columns: 1fr; gap: .15rem; }
  .fin-bars li { grid-template-columns: 6.5rem 1fr auto; }
}

/* Compare, per the Figma frames: dark settlement panel, green difference card, two scale cards */
.cmp-settle { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: transparent; border: 0; padding: 0; box-shadow: none; }
.cmp-settle > h2, .cmp-settle > .cmp-cards, .cmp-settle > .cmp-diff, .cmp-settle > .cmp-finding, .cmp-settle > .cmp-context, .cmp-settle > .cmp-exact { grid-column: 1 / -1; }
.cmp-settle > h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #0f6a55; margin: 0; }
.cmp-cards { background: #103b40; color: #fff; border-radius: 14px; padding: 1.25rem 1.5rem; gap: 0; margin: 0; }
.cmp-card { background: transparent; border: 0; border-left: 0; padding: .25rem 1.5rem; color: #fff; }
.cmp-card + .cmp-card { border-left: 1px solid rgba(255, 255, 255, .25); }
.cmp-card h3, .cmp-card h3 a, .cmp-card .meta, .cmp-pp { color: #e6f4f0; }
.cmp-card .cmp-amount { font-size: clamp(1.6rem, 4.5vw, 2.5rem); color: #fff; }
.cmp-diff { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: #dff2ea; border-radius: 14px; padding: 1.25rem 1.5rem; }
.cmp-diff-n span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #0f6a55; font-weight: 700; }
.cmp-diff-n strong { font: 700 clamp(2rem, 5vw, 2.75rem)/1.1 var(--sans); color: #0f6a55; }
.cmp-diff .cmp-finding { margin: 0; max-width: 60ch; }
.cmp-settle > .fin-fig { background: var(--surface); border-radius: 14px; padding: 1rem 1.25rem; margin: 0; border: 1px solid var(--rule); }
.cmp-settle > .fin-fig figcaption { font-weight: 700; }
.cmp-opp { border-radius: 14px; }
@media (max-width: 800px) {
  .cmp-settle { grid-template-columns: 1fr; }
  .cmp-cards { display: block; padding: 1rem; }
  .cmp-card { padding: .5rem 0; }
  .cmp-card + .cmp-card { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: .5rem; padding-top: 1rem; }
  .cmp-diff { grid-template-columns: 1fr; gap: .5rem; }
}
.hdf-card.cmp-settle { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: transparent; border: 0; padding: 0; box-shadow: none; }
.hdf-card.cmp-settle > h2, .hdf-card.cmp-settle > .cmp-cards, .hdf-card.cmp-settle > .cmp-diff, .hdf-card.cmp-settle > .cmp-finding,
.hdf-card.cmp-settle > .cmp-context, .hdf-card.cmp-settle > .cmp-exact { grid-column: 1 / -1; }
.cmp-settle .cmp-cards .cmp-card h3, .cmp-settle .cmp-cards .cmp-card h3 a, .cmp-settle .cmp-cards .cmp-card .meta,
.cmp-settle .cmp-cards .cmp-card .cmp-pp { color: #e6f4f0; }
.cmp-settle .cmp-cards .cmp-card .cmp-amount { color: #fff; }
.cmp-settle .cmp-cards .cmp-card h3 a { text-decoration: underline; }
/* ux.css makes a card's h3 link cover its .hdf-card; here that layer would cover the whole settlement card, so turn it off. */
.cmp-settle .cmp-card h3 a::after { content: none; }
@media (max-width: 800px) { .hdf-card.cmp-settle { grid-template-columns: 1fr; } }

/* Shared ACO financial profile (Figma 3:2 desktop, 3:93 mobile): one renderer for acos/profile/ and acos/<ID>/ */
.pf-shared { min-height: 40rem; }  /* reserves the first screen while the profile data loads */
.pf-crumbs { margin: 0 0 .25rem; font-weight: 600; }
.pf-shared .pf-name { margin: 0 0 .25rem; }
.pf-idline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: 0 0 1rem; color: var(--ink-soft); }
.pf-idline p { margin: 0; font-size: 1.05rem; }
.pf-yearpick { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; }
.pf-yearpick select { min-height: 44px; padding: 0 .5rem; border: 1px solid var(--rule); border-radius: 6px; font: inherit; background: #fff; }
.pf-switch { min-height: 44px; display: inline-flex; align-items: center; }
.pf-hero .fin-headline { overflow-wrap: anywhere; }
.pf-hl-unit { display: block; font-size: 1.1rem; font-weight: 600; color: #e6f4f0; margin-top: .25rem; }
.pf-reset { color: #e6f4f0; margin: .5rem 0; }
.pf-pcflex { color: #e6f4f0; margin: .5rem 0; max-width: 72ch; }
.fin-hero .fin-tags span + span::before { content: " · "; }
.pf-hero-chart { margin: 0; color: #fff; }
.pf-hero-chart figcaption { font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: #e6f4f0; margin-bottom: .25rem; }
.pf-thr { width: 100%; height: auto; display: block; }
.pf-thr-axis { stroke: #6c8f93; stroke-width: 6; stroke-linecap: round; }
.pf-thr-zone { fill: #9fe8cb; }
.pf-thr-tick, .pf-thr-pin { stroke: #fff; stroke-width: 2; }
.pf-thr-zero { stroke: #103b40; stroke-width: 2; }
.pf-thr-dot { fill: #103b40; stroke: #fff; stroke-width: 3; }
.pf-thr-lab, .pf-thr-act { fill: #fff; font: 700 15px var(--sans); }
.pf-thr-sub { fill: #cfe6e0; font: 13px var(--sans); }
.pf-kpis .fin-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-exact > summary { font-weight: 700; color: #0f6a55; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.pf-note { margin: .25rem 0; }
.pf-sources p { margin: .2rem 0; }
.pf-actions a { font-weight: 700; display: inline-block; min-height: 44px; line-height: 44px; }
.pf-pick { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem 1rem; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.pf-pick .ds-c-field { max-width: 10rem; }
.pf-pick .meta { flex-basis: 100%; }
.pf-archive-h { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--rule); }
@media (max-width: 760px) {
  .pf-kpis .fin-kpi-row { grid-template-columns: 1fr; }
  .pf-idline { flex-direction: column; align-items: flex-start; }
  .pf-hl-unit { font-size: 1rem; }
}

/* Compare (Figma 4:15 desktop, 4:111 mobile): named awards, signed gap, two labelled plots, edit behind a disclosure */
.cmp-sub { margin: -.25rem 0 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.cmp-settle .cmp-kicker { font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: #0f6a55; margin: 0 0 .5rem; }
.cmp-card h3 { font-size: 1.2rem; font-weight: 600; }
.cmp-card .cmp-amount { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1; margin: .25rem 0; }
.cmp-diff-how { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; }
.cmp-plots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.cmp-plot { margin: 0; border-radius: 14px; }
.cmp-plot h3 { margin: .1rem 0 .1rem; font-size: 1.25rem; }
.cmp-plot .fin-kicker { text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: #0f6a55; }
.cmp-ref { border-top: 1px solid var(--rule); padding-top: .4rem; margin: .25rem 0 0; }
.cmp-why { max-width: 70ch; }
.cmp-edit > summary { font-weight: 700; color: #0f6a55; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cmp-ws { margin: .5rem 0 1rem; }
@media (max-width: 760px) { .cmp-plots { grid-template-columns: 1fr; } }
.cmp-title { max-width: none; }
.cmp-settle > .cmp-plots, .cmp-settle > .cmp-why, .hdf-card.cmp-settle > .cmp-plots, .hdf-card.cmp-settle > .cmp-why { grid-column: 1 / -1; }
.pf-hero .pf-change { color: #e6f4f0; font-size: .95rem; margin: .5rem 0 0; }
.pf-hero .pf-reset { display: inline; }
.pf-hero .fin-tags { margin: .5rem 0 0; }
.pf-follow .fin-kicker { text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: #0f6a55; font-weight: 700; }
.pf-follow ul, .pf-follow h2 { max-width: none; }
.fin-pair .fin-kicker + h2, .pf-follow .fin-kicker + h2, .cmp-plot .fin-kicker + h3 { margin-top: .15rem; }
.cmp-exact > summary { font-weight: 700; color: #0f6a55; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* ACO name-or-ID combobox (aco-search.js) */
.aco-search { position: relative; }
.aco-search-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: .25rem 0; list-style: none; background: #fff; border: 1px solid #5a6e6a; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); max-height: 22rem; overflow-y: auto; }
.aco-search-list li { padding: .5rem .75rem; cursor: pointer; line-height: 1.35; }
.aco-search-list li span { color: #4b605d; }
.aco-search-list li small { display: block; color: #4b605d; }
.aco-search-list li[aria-selected="true"], .aco-search-list li:hover { background: #e3efe9; outline: 2px solid #086c60; outline-offset: -2px; }
.pf-candidates { margin: .5rem 0 1rem; }
/* Footprint change card in the shared profile */
.pf-foot { margin-top: 1.25rem; }
.pf-foot td:last-child { white-space: nowrap; font-size: .875rem; }
.pf-foot th[scope="row"] { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.pf-local { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #d6ddd4; }
.pf-local h3 { font-size: 1.125rem; margin: 0 0 .5rem; }
.pf-later { padding: .5rem .75rem; border-left: 4px solid #f2c94c; background: rgba(242, 201, 76, .12); }
.pf-all { margin-top: 1.25rem; }
.pf-all-table th[scope="row"] { white-space: nowrap; }
.pf-all-table th[scope="row"] small { display: block; font-weight: 400; white-space: normal; max-width: 14rem; }
.pf-all-table tr.pf-sel { background: #eff4eb; }
.pf-all-table tr.pf-sel th[scope="row"] { box-shadow: inset 4px 0 0 #086c60; }
.pf-finding { margin: 1rem 0; border-left: 6px solid #086c60; }
.pf-finding h2 { font-size: 1.25rem; margin: .25rem 0 .5rem; }
.pf-finding ul { margin: 0; padding-left: 1.1rem; }
.pf-finding li { margin: 0 0 .5rem; }
.pf-finding .meta { display: block; font-size: .8125rem; }
/* Complete history: three small multiples on one shared year axis (aco-profile.js historyCharts).
   Earned #0e8a73 / owed #c4561f pass the dataviz validator (lightness, chroma, CVD ΔE 11.5, contrast) in light and dark. */
.pf-hc-lead { font-weight: 600; margin: .25rem 0 .5rem; }
.pf-hc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; padding: 0; margin: 0 0 .5rem; font-size: .875rem; color: #3d4f4c; }
.pf-hc-legend li { display: flex; align-items: center; gap: .4rem; }
.pf-hc-k { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.pf-hc-k.pf-hc-earned { background: #0e8a73; } .pf-hc-k.pf-hc-owed { background: #c4561f; }
.pf-hc-zero-k { height: 3px !important; background: #5f6f6c; }
.pf-hc-corr-k { background: #e7ebe6; border: 1px solid #9aa8a5; }
.pf-hc-period-k { background: #f4f6f2; border: 1px solid #e1e6df; }
.pf-hc-wrap { position: relative; }
.pf-hc-h { font-size: .9375rem; margin: .75rem 0 .1rem; color: #3d4f4c; }
.pf-hc { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.pf-hc-period { fill: #f4f6f2; } .pf-hc-period-alt { fill: #fbfcfa; }
.pf-hc-plab { font-size: 10px; fill: #5f6f6c; }
.pf-hc-sel { fill: #086c60; fill-opacity: .08; }
.pf-hc-grid { stroke: #e1e6df; stroke-width: 1; }
.pf-hc-zero { stroke: #5f6f6c; stroke-width: 1; }
.pf-hc-y, .pf-hc-x { font-size: 11px; fill: #4b605d; font-variant-numeric: tabular-nums; }
.pf-hc-strong { font-weight: 700; fill: #1b2b29; }
.pf-hc-v { font-size: 11px; fill: #3d4f4c; font-variant-numeric: tabular-nums; }
path.pf-hc-earned, circle.pf-hc-earned { fill: #0e8a73; } path.pf-hc-owed, circle.pf-hc-owed { fill: #c4561f; }
circle.pf-hc-zero { fill: #5f6f6c; } circle.pf-hc-missing { fill: none; stroke: #5f6f6c; }
.pf-hc-zero-mark { fill: #5f6f6c; }
.pf-hc-na { font-size: 10px; fill: #5f6f6c; }
.pf-hc-dot { stroke: #fff; stroke-width: 2; }
.pf-hc-corridor { fill: #e7ebe6; }
.pf-hc-thr { stroke: #9aa8a5; stroke-width: 1.5; }
.pf-hc-line { fill: none; stroke: #0e8a73; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pf-hc-mk { fill: #0e8a73; stroke: #fff; stroke-width: 2; }
.pf-hc-hits { position: absolute; top: 0; bottom: 0; display: flex; }
.pf-hc-hit { flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pf-hc-hit[aria-disabled="true"] { cursor: default; }
.pf-hc-hit:hover { background: rgba(8, 108, 96, .05); }
.pf-hc-hit:focus-visible { outline: 3px solid #086c60; outline-offset: -3px; }
.pf-hc-tip { position: absolute; top: 2.2rem; z-index: 5; width: 17rem; max-width: 100%; padding: .55rem .7rem; background: #fff; border: 1px solid #9aa8a5; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.14); font-size: .8125rem; line-height: 1.4; pointer-events: none; }
.pf-hc-tip strong, .pf-hc-tip span { display: block; }
.pf-hc-legend li { flex: 0 0 auto; width: auto; max-width: none; margin: 0; }
.pf-hc-thr-k { height: 2px !important; background: #9aa8a5; }
.pf-all .pf-hc-legend { flex-direction: row; }
.pf-prompt { margin-top: 1.25rem; }
.pf-prompt-text { width: 100%; max-width: none; font: .875rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
/* Footprint map (aco-profile.js drawMap): ordinal ramp #7bbfad..#0a4a3c passes the dataviz ordinal checks */
.pf-map { position: relative; margin: 1rem 0; }
.pf-map figcaption { margin-bottom: .5rem; }
.pf-map-svg { display: block; width: 100%; max-width: 44rem; height: auto; }
.pf-map-c { stroke: #fff; stroke-width: .6; }
.pf-map-c:hover { stroke: #1b2b29; stroke-width: 1.5; }
.pf-map-state { fill: none; stroke: #4b605d; stroke-width: 1; pointer-events: none; }
.pf-map-lab { font-size: 12px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: #0a4a3c; stroke-width: 3px; pointer-events: none; }
.pf-map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; margin: .5rem 0; font-size: .8125rem; }
.pf-map-legend li { display: flex; align-items: center; gap: .35rem; flex: 0 0 auto; margin: 0; }
.pf-map-legend i { display: inline-block; width: 14px; height: 12px; border-radius: 2px; }
.pf-map-hatch { background: repeating-linear-gradient(45deg, #f4f6f2 0 3px, #8a9a97 3px 5px); }
.pf-map-none { background: #fbfcfa; border: 1px solid #c9d2cf; }
.pf-map-tip { position: absolute; z-index: 5; padding: .45rem .6rem; background: #fff; border: 1px solid #9aa8a5; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.14); font-size: .8125rem; pointer-events: none; }
.pf-map-tip strong, .pf-map-tip span { display: block; }
.pf-map .pf-map-legend { flex-direction: row; }
/* Released fields beyond the settlement (aco_context) */
.pf-ctx { margin-top: 1.25rem; }
.pf-ctx-ask { padding: .5rem .75rem; background: #eff4eb; border-left: 4px solid #086c60; }
.pf-ctx-table th[scope="row"] small, .pf-ctx-table td small { display: block; font-weight: 400; }
@media screen and (max-width: 40rem) {
  .pf-ctx[aria-labelledby="pf-bm-h"] .pf-ctx-table { min-width: 38rem; }
  .pf-ctx[aria-labelledby="pf-bm-h"] th[scope="row"] { min-width: 12rem; }
}
.pf-ctx-ages { margin-top: .75rem; }
.pf-idx-fig { margin: 1rem 0; } .pf-idx-fig figcaption { font-size: .875rem; color: #3d4f4c; margin-bottom: .25rem; }
.pf-idx { display: block; width: 100%; height: auto; }
.pf-idx-med { stroke: #4b605d; stroke-width: 1.5; }
.pf-idx-stem { stroke: #9aa8a5; stroke-width: 2; }
.pf-ctx-src { margin-top: .75rem; }
.pf-map-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr); gap: 1.5rem; align-items: start; }
.pf-map-denoms { margin: .25rem 0 .5rem; }
.pf-map-acct { font-size: .875rem; margin: .5rem 0; } .pf-map-acct th { font-weight: 600; }
.pf-region { padding: 1rem; background: #f4f6f2; border-left: 4px solid #086c60; border-radius: 4px; }
.pf-region h3 { margin-top: 0; font-size: 1.125rem; }
.pf-region-t { font-size: .875rem; } .pf-region-t td small { display: block; }
@media (max-width: 60rem) { .pf-map-row { grid-template-columns: 1fr; } }
.pf-map { min-width: 0; }
.pf-map-acct { width: 100%; table-layout: fixed; }
.pf-map-acct th, .pf-map-acct td { overflow-wrap: anywhere; vertical-align: top; }
.pf-map-acct th { width: 42%; }
/* Comparison set: subject + three rule-chosen comparators (reference categorical order, shapes as secondary encoding) */
.pf-peers { margin-top: 1.25rem; }
.pf-peer-legend { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .5rem; }
.pf-peer-legend li { display: flex; gap: .5rem; align-items: flex-start; margin: 0; }
.pf-peer-legend small { display: block; }
.pf-peer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.pf-peer-panel { margin: 0; } .pf-peer-panel figcaption { font-size: .875rem; font-weight: 600; color: #3d4f4c; }
.pf-peer-panel svg { display: block; width: 100%; height: auto; overflow: visible; }
.pf-peer-local { margin: 1rem 0; } .pf-peer-local figcaption { font-size: .875rem; font-weight: 600; color: #3d4f4c; margin-bottom: .4rem; }
.pf-peer-local ul { list-style: none; padding: 0; margin: 0; }
.pf-peer-local li { display: grid; grid-template-columns: 13rem 1fr 5.5rem; gap: .5rem; align-items: center; margin: .3rem 0; }
.pf-peer-local i { display: block; height: 12px; border-radius: 0 3px 3px 0; }
.pf-peer-local b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 44rem) { .pf-peer-grid { grid-template-columns: 1fr; } .pf-peer-local li { grid-template-columns: 9rem 1fr 4.8rem; } }
.pf-peer-end { font-size: 11px; fill: #3d4f4c; }
/* Profile a region (region.js): area emphasised, state and nation as gray references */
.rg-intro { max-width: 52rem; }
.rg-head { margin: 1rem 0 .25rem; }
.rg-chg-fig { margin: .75rem 0; } .rg-chg-fig figcaption { font-size: .875rem; color: #3d4f4c; margin-bottom: .25rem; }
.rg-chg { display: block; width: 100%; height: auto; }
.rg-bar-area { fill: #2a78d6; background: #2a78d6; } .rg-bar-state { fill: #8a9a97; background: #8a9a97; } .rg-bar-us { fill: #c9d2cf; background: #c9d2cf; }
.rg-k { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin: 0 .25rem 0 .6rem; vertical-align: middle; }
.rg-sel { fill: none; stroke: #b3261e; stroke-width: 3; pointer-events: none; }
.rg-cmp-row a[aria-disabled="true"] { opacity: .55; pointer-events: auto; }
.rg-aco td:first-child { width: 2.5rem; }
.rg-page .aco-search { display: inline-block; width: min(28rem, 100%); vertical-align: top; } .rg-page .aco-search .ds-c-field { width: 100%; max-width: none; }
.rg-aco input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; display: inline-block; width: 18px; height: 18px; margin: 0; }
.rg-page table th[scope="row"], .rg-page table td { word-break: normal; overflow-wrap: normal; hyphens: manual; }
.rg-page table th[scope="row"] { min-width: 10rem; }
.rg-chg .pf-hc-x { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
/* Compare over time (compare-trends.js) */
.ct-card { margin: 1rem 0 2rem; }
.ct-chips { list-style: none; padding: 0; margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ct-chips li { display: flex; align-items: center; gap: .35rem; padding: .3rem .4rem .3rem .6rem; border: 1px solid #c9d2cf; border-radius: 999px; background: #fff; margin: 0; }
.ct-btn { border: 0; background: transparent; cursor: pointer; font-size: 1rem; padding: .1rem .35rem; border-radius: 4px; }
.ct-btn:disabled { opacity: .3; cursor: default; }
.ct-btn:focus-visible { outline: 3px solid #086c60; }
.ct-add { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; } .ct-add .aco-search { width: min(22rem, 100%); }
.ct-add .ds-c-label { width: 100%; }
.ct-range { display: flex; flex-wrap: wrap; gap: 1rem; } .ct-range select { margin-left: .35rem; }
.ct-snap-h { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }

/* Comparison standard (MetricDelta): semantic tokens, WCAG AA on white. Never use these for organization identity. */
:root { --delta-favorable: #1b6b3a; --delta-unfavorable: #b3261e; --delta-neutral: #4a5560;
  --delta-favorable-bg: #e8f4ec; --delta-unfavorable-bg: #fbeceb; --delta-neutral-bg: #eef0f2; }
.hdf-delta { display: inline-flex; align-items: baseline; gap: .35em; font-variant-numeric: tabular-nums; font-weight: 600;
  padding: .05em .45em; border-radius: 3px; border: 1px solid currentColor; white-space: normal; }
.hdf-delta--favorable { color: var(--delta-favorable); background: var(--delta-favorable-bg); }
.hdf-delta--unfavorable { color: var(--delta-unfavorable); background: var(--delta-unfavorable-bg); }
.hdf-delta--neutral { color: var(--delta-neutral); background: var(--delta-neutral-bg); }
.hdf-delta__values { font-weight: 400; }
.hdf-delta:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
@media print { .hdf-delta { background: none; border-color: #000; color: #000; } }

/* Comparison standard, charts: signed settlements use the semantic tokens (earned = favorable, owed = unfavorable).
   Organization identity colors (--series-*) and geographic scales are unchanged. Sign is also carried by position, hatching and tooltip text. */
svg.chart .bar-fav { fill: var(--delta-favorable); }
svg.chart .bar.neg { stroke: var(--delta-unfavorable); }
svg.chart .bar-neg-line { stroke: var(--delta-unfavorable); }
svg.chart .bar-zero { fill: var(--delta-neutral); }
svg.chart rect.bar:focus-visible { outline: 3px solid #1a1a1a; }

/* Comparison standard, Compare tables: compact markers inside numeric cells; stack on small screens. */
table.cmp-matrix td .hdf-delta { font-size: .875rem; }
@media (max-width: 600px) { table.cmp-matrix td .hdf-delta { display: flex; } }

/* Annual financial profile */
.pf-shared .pf-agreement { grid-column:1/-1; min-width:0; border-top:1px solid #68928f; padding-top:1rem; }
.pf-agreement h3, .pf-agreement dd, .pf-agreement summary { color:white; }
.pf-agreement h3 { margin:0 0 .75rem; font-size:1rem; }
.pf-agreement summary { display:list-item; cursor:pointer; width:fit-content; padding:.55rem 0; text-decoration:underline; }
.pf-agreement a { color:#bcf1df; }
.pf-agreement details p { color:#e6f4f0; }
.pf-terms { display:grid; grid-template-columns:repeat(auto-fit,minmax(9rem,1fr)); gap:.8rem 1.1rem; margin:0; }
.pf-terms dt { font-size:.8rem; color:#b9ddd7; }
.pf-terms dd { margin:.2rem 0 0; font-weight:650; }
.pf-agreement details[open] .pf-terms { padding:.65rem 0; }
.pf-shared .pf-finding h2 { max-width:55ch; line-height:1.35; }
.pf-changes { border-collapse:collapse; width:100%; margin:.85rem 0; font-variant-numeric:tabular-nums; }
.pf-changes th,.pf-changes td { text-align:right; padding:.55rem .4rem; border-bottom:1px solid #d2dfdb; }
.pf-changes th:first-child { text-align:left; }
.pf-changes td small { display:none; }
.pf-delta { font-weight:700; }
.pf-shared .pf-history-bars,.pf-shared .pf-bars,.pf-explore ul { list-style:none; padding:0; margin:.75rem 0; }
.pf-history-bars li { padding:.55rem .65rem; border-top:1px solid #d2dfdb; }
.pf-history-bars li[aria-current] { background:#eaf5f1; border-inline-start:3px solid #14695a; }
.pf-series { display:grid; grid-template-columns:6.2rem minmax(1rem,1fr) 9.6rem; gap:.35rem; align-items:center; font-size:.85rem; font-variant-numeric:tabular-nums; }
.pf-series b { text-align:right; }
.pf-axis { height:1rem; position:relative; background:linear-gradient(to right,transparent calc(50% - 1px),#738481 50%,transparent calc(50% + 1px)); }
.pf-axis i { position:absolute; left:50%; top:20%; height:60%; background:#32766b; }
.pf-axis .negative { left:auto; right:50%; background:#884422; }
.pf-axis .payment { height:35%; top:33%; background:#254c60; }
.pf-benchmark { margin:.6rem 0; }
.pf-benchmark > div,.pf-bars li { border-top:1px solid #d2dfdb; padding:.6rem 0; }
.pf-benchmark > div { display:grid; grid-template-columns:minmax(12rem,1fr) 1.3fr; gap:.6rem; }
.pf-benchmark dd { margin:0; display:flex; align-items:baseline; gap:.5rem 1.2rem; flex-wrap:wrap; font-variant-numeric:tabular-nums; }
.pf-add { color:#146457; }
.pf-subtract { color:#853d20; }
.pf-bars li { display:grid; grid-template-columns:1fr auto; gap:.25rem 1rem; align-items:baseline; }
.pf-bars strong { font-variant-numeric:tabular-nums; }
.pf-bar-track { grid-column:1/-1; display:block; background:#eef2f2; height:.45rem; }
.pf-bar-track i { display:block; height:100%; background:#466c85; }
.pf-ctx details > summary { cursor:pointer; padding:.7rem 0; }
.pf-shared .pf-ctx h2 { margin-top:.2rem; }
.pf-ctx .table-scroll table { min-width:44rem; }
.pf-explore ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr)); gap:.8rem; }
.pf-explore li { border:1px solid #cedbd5; padding:1rem; border-radius:.45rem; }
.pf-explore li a { display:block; font-weight:700; }
.pf-explore small { display:block; margin:.5rem 0; }
.pf-explore li p { margin:0; }
@media (max-width:600px) {
  .pf-terms { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pf-changes thead { position:absolute; clip-path:inset(50%); height:1px; width:1px; overflow:hidden; }
  .pf-changes tbody { display:block; }
  .pf-changes tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.3rem .75rem; border-top:1px solid #d2dfdb; padding:.65rem 0; }
  .pf-changes th,.pf-changes td { border:0; padding:0; text-align:left; }
  .pf-changes td:nth-child(3),.pf-changes .pf-delta { text-align:right; }
  .pf-changes td small { display:block; color:#425957; font-size:.8rem; }
  .pf-changes .pf-delta { grid-column:2; grid-row:1; }
  .pf-series { font-size:.85rem; }
  .pf-benchmark > div { grid-template-columns:1fr; gap:.15rem; }
  .pf-shared .fin-pair > section,.pf-hero>* { min-width:0; }
}
.pf-foot .pf-map-row > *, .pf-region .table-scroll { min-width:0; max-width:100%; }
.pf-foot .pf-map, .pf-foot .pf-region { overflow-wrap:break-word; }
.pf-region .pf-region-t { min-width:26rem; }
.pf-foot .pf-note { border-inline-start:3px solid #a4681f; padding:.5rem .75rem; background:#faf3e8; color:#3c382d; }
.pf-history-bars li { border-inline-start:3px solid transparent; }
.pf-axis .payment.negative { background:#884422; }
.pf-benchmark > div:first-child { background:#eff6f3; padding:.65rem; font-weight:650; }
.pf-changes tbody tr:nth-child(4) { border-top:2px solid #aec2bb; }
@media (max-width:600px) {
  .pf-map-row { grid-template-columns:minmax(0,1fr); }
  .pf-series { grid-template-columns:minmax(0,1fr) auto; gap:0 .4rem; margin:.3rem 0; }
  .pf-series b { grid-column:2; grid-row:1; }
  .pf-series .pf-axis { grid-column:1/-1; grid-row:2; height:.65rem; }
  .pf-hero .fin-hero-main { display:contents; }
  .pf-hero { gap:.6rem; }
  .pf-hero .fin-headline { grid-row:2; margin:0; }
  .pf-hero-chart { grid-row:3; }
  .pf-hero .pf-agreement { margin-top:.5rem; }
}
.pf-foot .pf-map-acct th, .pf-foot .pf-map-acct td, .pf-foot .pf-map-acct caption { white-space:normal; overflow-wrap:anywhere; }
.pf-shared .pf-hc-legend { flex-wrap:wrap; }
.pf-shared .pf-hc-legend li { max-width:100%; white-space:normal; }

/* Release-scoped ACO intelligence. The original profile is rendered when its selected year has no validated review. */
.ai-icon { display:inline-block; width:1.3rem; height:1.3rem; flex:none; vertical-align:middle; }
.ai-card, .ai-review, .ai-hero, .ai-research, .ai-explorer, .ai-highlight {
  --ai-ink:#142b3d; --ai-muted:#4e626c; --ai-rule:#cdd9dc; --ai-blue:#326984; --ai-pos:#146b50; --ai-neg:#a4313c; --ai-zero:#84580e;
}
.ai-card, .ai-card:visited, .pf-explore li .ai-card, .hl .ai-card, .hl #hi-options a.ai-card {
  display:flex; flex-direction:column; width:100%; height:100%; min-width:0; padding:clamp(.9rem,1.65vw,1.4rem); border-radius:11px;
  border:1px solid var(--ai-rule); border-top:4px solid var(--accent); background:white; color:var(--ai-ink); text-decoration:none;
  text-align:left; font-family:var(--sans); font-weight:400; line-height:1.4; overflow-wrap:anywhere;
}
.ai-card.ai-positive { --accent:var(--ai-pos); --tint:#e5f3eb; }
.ai-card.ai-negative { --accent:var(--ai-neg); --tint:#fbecef; }
.ai-card.ai-zero { --accent:var(--ai-zero); --tint:#faf1db; }
.ai-card:hover, .hl .ai-card:hover, .pf-explore .ai-card:hover { border-color:var(--accent); box-shadow:0 3px 12px #142b3d1a; color:var(--ai-ink); }
.ai-card:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.ai-card .ai-outcome { display:flex; align-items:center; gap:.35rem; align-self:flex-start; padding:.25rem .5rem; border-radius:.25rem; background:var(--tint); color:var(--accent); font:700 .76rem/1.4 var(--sans); }
.ai-outcome .ai-icon { width:1rem; height:1rem; }
.ai-card .ai-card-name { margin:.8rem 0 .25rem; color:var(--ai-ink); font:700 clamp(1.1rem,1.65vw,1.42rem)/1.22 var(--sans); }
.ai-meta, .ai-comparison, .ai-related-reason { font:.83rem/1.45 var(--sans); color:var(--ai-muted); }
.ai-card .ai-amount { margin:.75rem 0 .1rem; color:var(--accent); font:700 clamp(1.45rem,2.05vw,2rem)/1.2 var(--sans); font-variant-numeric:tabular-nums; letter-spacing:-.025em; }
.ai-card .ai-insight { font-size:.93rem; color:var(--ai-ink); }
.ai-chart-mini { display:grid; align-items:center; min-height:4.3rem; margin:.45rem 0; }
.ai-chart-mini .ai-history { width:100%; height:4.3rem; }
.ai-history { display:block; max-width:100%; overflow:visible; }
.ai-history text { fill:#4b6069; font:12px var(--sans); }
.ai-axis { stroke:#687c84; stroke-width:1.2; }
.ai-bar-positive { fill:#20785c; }.ai-bar-negative { fill:#b54149; }.ai-bar-zero { fill:#986810; }
.ai-threshold-mini { position:relative; background:#efe8d9; height:.65rem; margin-right:.35rem; border-right:3px solid var(--accent); }
.ai-threshold-mini i { position:absolute; height:100%; background:var(--accent); left:0; }
.ai-card .ai-go { margin-top:auto; padding-top:1rem; display:flex; gap:.4rem; align-items:center; font-size:.86rem; font-weight:700; color:var(--accent); }
.ai-go .ai-icon { width:1rem; }.ai-related-reason { margin-top:.7rem; }
.hl #hi-options .ai-compact { gap:.15rem; border-radius:6px; padding:.65rem .8rem; }
.ai-card.ai-compact .ai-chart-mini,.ai-card.ai-compact .ai-meta { display:none; }
.ai-card.ai-compact .ai-card-name,.ai-card.ai-compact .ai-amount,.ai-card.ai-compact .ai-go { margin:0; padding:0; font-size:1rem; }
.ai-card.ai-compact .ai-go { font-size:.8rem; }
.ai-explorer { margin:2rem 0; }
.ai-explorer ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; list-style:none; padding:0; }
.pf-explore li.ai-related { padding:0; border:0; }

.pf-shared:has(.ai-review) .pf-name { color:#142b3d; margin:.35rem 0; letter-spacing:-.035em; }
.pf-shared:has(.ai-review) .pf-idline { gap:.4rem 1rem; margin:.4rem 0; }
.ai-identity, .ai-identity-terms { color:#4e626c; font-size:.9rem; margin:.25rem 0; max-width:none; }
.ai-identity-terms:empty { display:none; }
.pf-shared .ai-hero { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:1rem 2.25rem; background:var(--ai-ink); color:white; border-radius:12px; padding:clamp(1.25rem,2.8vw,2.2rem); margin:1rem 0; }
.ai-hero .ai-hero-label { margin:0; color:#d5e8e8; font-size:.82rem; font-weight:650; letter-spacing:.05em; text-transform:uppercase; }
.ai-hero #pf-set-h { color:white; font:700 clamp(2.5rem,5vw,4.75rem)/1.1 var(--sans); letter-spacing:-.05em; margin:.4rem 0; }
.ai-hero .ai-hero-outcome { display:flex; gap:.4rem; align-items:center; margin:.25rem 0; color:#a9e8cb; font-weight:700; }
.ai-hero[data-state=owed] .ai-hero-outcome { color:#ffb9bf; }.ai-hero[data-state=zero] .ai-hero-outcome { color:#ffe1a0; }
.ai-hero .ai-hero-explanation { margin:.65rem 0 0; color:#e1edef; font-size:.98rem; max-width:60ch; }
.ai-hero .pf-hero-chart { grid-row:auto; width:100%; background:#1c384a; border:1px solid #3c5a6a; border-radius:9px; padding:.9rem; }
.ai-hero .pf-hero-chart figcaption { display:flex; align-items:center; gap:.4rem; text-transform:none; letter-spacing:normal; font-size:.92rem; }
.ai-hero .pf-hero-chart p { margin:0; color:#e1edef; font-size:.85rem; }
.ai-hero-stats { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; margin:0; padding:1.1rem 0 0; border-top:1px solid #536a77; }
.ai-hero-stats dt { color:#c7dade; font-size:.83rem; }.ai-hero-stats dd { margin:.2rem 0 0; color:white; font-size:clamp(1rem,1.6vw,1.4rem); font-weight:700; }
.ai-highlight { display:flex; align-items:flex-start; gap:1rem; padding:1.2rem 1.5rem; margin:1rem 0; background:#e7eff0; border-left:4px solid var(--ai-blue); border-radius:0 9px 9px 0; }
.ai-symbol { padding:.45rem; color:var(--ai-blue); }.ai-highlight h2 { font-size:1rem; margin:0 0 .3rem; color:var(--ai-ink); }.ai-highlight p { margin:0; max-width:88ch; }
.ai-review { background:white; color:var(--ai-ink); margin:1.5rem 0 2rem; border:1px solid #a9c1cc; border-top:4px solid var(--ai-blue); border-radius:12px; }
.ai-review header { display:flex; justify-content:space-between; align-items:center; gap:.5rem; padding:1rem clamp(1rem,2.4vw,2rem); border-bottom:1px solid var(--ai-rule); }
.ai-review-brand,.ai-priorities h3,.ai-research > h2,.ai-research-section > h3,.ai-feature-chart figcaption { display:flex; align-items:center; gap:.55rem; }
.ai-review-brand { color:var(--ai-blue); }.ai-review-brand h2 { color:var(--ai-ink); font-size:1.15rem; margin:0; }.ai-review header > span { padding:.2rem .5rem; border-radius:4px; background:#edf3f5; color:#315265; font-size:.8rem; font-weight:700; }
.ai-review-body { padding:clamp(1rem,2.4vw,2rem); }
.ai-review h3.ai-headline { max-width:33ch; margin:0 0 .65rem; color:var(--ai-ink); font:700 clamp(1.65rem,3.25vw,2.85rem)/1.13 var(--serif); letter-spacing:-.035em; text-wrap:balance; }
.ai-executive { max-width:82ch; margin:0 0 1.4rem; font-size:1.05rem; }
.ai-findings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
.ai-finding { padding:1rem 1.15rem; border:1px solid var(--ai-rule); border-radius:9px; background:#f7fafb; }
.ai-finding h4 { display:flex; align-items:center; gap:.5rem; font-size:1rem; color:var(--ai-blue); margin:0; }
.ai-strength { background:#f1f8f4; }.ai-strength h4 { color:var(--ai-pos); }.ai-risk { background:#fdf5f4; }.ai-risk h4 { color:var(--ai-neg); }
.ai-opportunity { background:#f8f7f0; }.ai-opportunity h4 { color:#765d1b; }.ai-finding p { margin:.55rem 0; }
.ai-review summary { display:flex; align-items:center; gap:.45rem; cursor:pointer; color:var(--ai-blue); width:fit-content; min-height:44px; font-size:.85rem; font-weight:700; }
.ai-review summary::-webkit-details-marker { display:none; }.ai-review summary .ai-icon { width:1rem; height:1rem; }.ai-review details[open] > summary .ai-icon:last-child { transform:rotate(180deg); }
.ai-review details ul { margin:.2rem 0 .55rem; padding-left:1.1rem; overflow-wrap:anywhere; font-size:.86rem; color:var(--ai-muted); }
.ai-feature-chart { display:grid; grid-template-columns:minmax(8rem,.65fr) minmax(0,1.35fr); align-items:center; gap:1rem; margin:1.25rem 0; padding:1rem 1.2rem; background:#f4f7f8; border-radius:9px; }
.ai-feature-chart figcaption { align-items:flex-start; font-weight:700; color:var(--ai-ink); }
.ai-feature-chart small { display:block; font-size:.82rem; font-weight:400; color:var(--ai-muted); }
.ai-feature-chart .ai-history { width:100%; max-height:10rem; }
.ai-priorities h3,.ai-outlook h3 { font-size:1.18rem; margin:1.3rem 0 .5rem; }
.ai-priorities ol { padding-left:1.55rem; margin:0; }.ai-priorities li { padding:.55rem .25rem; border-bottom:1px solid #dae4e6; }.ai-priorities li::marker { color:var(--ai-blue); font-weight:700; }
.ai-priorities h4,.ai-use-metrics h4 { margin:0 0 .3rem; font-size:1rem; }.ai-priorities p { margin:.25rem 0; max-width:84ch; }.ai-outlook p { margin:.25rem 0 1rem; }
.ai-references { border-top:1px solid var(--ai-rule); }.ai-provenance { margin:.4rem 0 0; color:var(--ai-muted); font-size:.8rem; overflow-wrap:anywhere; }
.ai-research { margin:2rem 0; }.ai-research > h2 { margin:0 0 .75rem; color:var(--ai-ink); }.ai-research nav { display:flex; flex-wrap:wrap; gap:.4rem 1rem; border-block:1px solid var(--ai-rule); padding:.5rem 0; }
.ai-research nav a { display:inline-flex; align-items:center; min-height:40px; color:var(--ai-blue); font-size:.87rem; font-weight:650; }
.ai-research nav a[hidden],.ai-research-section[hidden] { display:none; }
.ai-research-section { scroll-margin-top:1rem; margin:1.5rem 0; padding:1.2rem clamp(1rem,2.4vw,2rem); border:1px solid var(--ai-rule); border-radius:10px; background:white; }
.ai-research-section > h3 { margin:0 0 .65rem; color:var(--ai-ink); font-size:1.35rem; }.ai-research-section > h3 .ai-icon { color:var(--ai-blue); }
.ai-research-section .hdf-card { margin:1rem 0 0; padding:1rem 0 0; border:0; border-top:1px solid var(--ai-rule); box-shadow:none; border-radius:0; background:none; }
.ai-research-section .hdf-card h2 { font-size:1.2rem; }.ai-research-section .pf-agreement { margin-top:1rem; }.ai-research-section .pf-agreement :is(h3,dd,summary,p) { color:var(--ai-ink); }
.ai-research-section .pf-agreement dt { color:var(--ai-muted); }.ai-research-section .pf-agreement a { color:var(--ai-blue); }
.ai-research-section .pf-ctx-src { color:var(--ai-muted); }.ai-research-section .pf-sources { border:none; }.ai-research-section .pf-sources p { max-width:90ch; }
.ai-section-lead { max-width:82ch; margin:0 0 1rem; }
.ai-benchmark,.ai-peer { margin:1.2rem 0; max-width:52rem; }.ai-benchmark figcaption,.ai-peer figcaption { font-weight:700; }
.ai-chart-note { margin:.25rem 0 .8rem; font-size:.85rem; color:var(--ai-muted); }
.ai-bench-pair { display:grid; grid-template-columns:4rem minmax(0,1fr); gap:.75rem; align-items:center; padding:.6rem 0; border-top:1px solid var(--ai-rule); }
.ai-bench-row,.ai-peer-row { display:grid; grid-template-columns:6rem minmax(1rem,1fr) minmax(6rem,auto); gap:.6rem; align-items:center; font-size:.87rem; }
.ai-bench-row i,.ai-peer-row i { display:block; position:relative; height:.5rem; background:#edf2f3; }
.ai-bench-row b,.ai-peer-row b { display:block; height:100%; background:#42758d; }.ai-bench-row + .ai-bench-row b { background:#183d50; }
.ai-bench-row strong,.ai-peer-row strong { text-align:right; }.ai-peer-row { grid-template-columns:8rem minmax(0,1fr) 4.1rem; margin:.6rem 0; }
.ai-peer-row b,.ai-peer-row em { position:absolute; }.ai-peer-row em { height:.85rem; top:-.175rem; border-left:1px solid #526874; }
.ai-use-metrics { margin:1.25rem 0; }.ai-use-metrics > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; }
.ai-use-metrics article { background:#f4f7f8; border-radius:7px; padding:.85rem; }.ai-use-metrics h5,.ai-use-metrics p { font-size:.85rem; margin:.2rem 0; }.ai-use-metrics article > strong { font-size:1.2rem; color:var(--ai-ink); }
@media (max-width:48rem) {
  .ai-explorer ul { grid-template-columns:1fr; }.ai-use-metrics > div { grid-template-columns:1fr; }
  .pf-shared .ai-hero { grid-template-columns:1fr; }.ai-hero-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pf-shared:has(.ai-review) .pf-idline { flex-direction:row; align-items:center; }.pf-shared:has(.ai-review) .pf-idline p { flex-basis:100%; }
}
@media (max-width:40rem) {
  .ai-findings,.ai-feature-chart { grid-template-columns:1fr; }.ai-highlight { padding:1rem; gap:.4rem; }.ai-symbol { padding:.2rem; }
  .ai-card .ai-amount { font-size:1.65rem; }.ai-card .ai-card-name { font-size:1.2rem; }.ai-chart-mini { min-height:3rem; }.ai-chart-mini .ai-history { height:3rem; }
  .ai-bench-pair { grid-template-columns:1fr; gap:.3rem; }.ai-bench-row { grid-template-columns:4.8rem minmax(1rem,1fr) auto; gap:.35rem; }
}
.ai-source-ref { display:block; color:var(--ai-muted); margin:.2rem 0 .5rem; }.ai-hero .pf-hero-chart small { display:block; color:#c7dade; margin:.35rem 0 0; }
.ai-finding .ai-key-metric { padding-top:.5rem; border-top:1px solid var(--ai-rule); color:var(--ai-muted); font-size:.82rem; font-weight:650; }
.ai-card.ai-preview { --accent:#476875; --tint:#edf3f4; }.ai-card.ai-preview .ai-card-name { margin-top:0; }
.ai-card.ai-preview.ai-compact .ai-meta { display:block; }
.ai-scenario { border-left:3px solid #956c23; background:#fbf6e9; margin:1rem 0; padding:.9rem 1.1rem; }.ai-scenario h4 { display:flex; align-items:center; gap:.4rem; margin:0; font-size:1rem; }.ai-scenario > strong { display:block; font-size:1.4rem; margin:.35rem 0; }.ai-scenario p { margin:.35rem 0; }.ai-scenario summary { display:flex; align-items:center; gap:.4rem; min-height:44px; width:fit-content; cursor:pointer; font-size:.83rem; font-weight:650; }
.ai-chart-mini .ai-history { height:auto; max-height:4.8rem; }
.ai-chart-mini .ai-history text { font-size:13px; }
@media(min-width:64rem) {
  .pf-shared:has(.ai-review) .pf-name { font-size:clamp(2rem,2.6vw,2.35rem); }
  .ai-hero #pf-set-h { font-size:clamp(2.6rem,4.1vw,3.65rem); }
}
.ai-peer-method summary { display:flex; align-items:center; cursor:pointer; width:fit-content; min-height:44px; color:var(--ai-blue); font-size:.85rem; font-weight:650; }
.ai-peer-method summary::after { content:"⌄"; margin-left:.4rem; }.ai-peer-method p { color:var(--ai-muted); font-size:.9rem; margin:.1rem 0 .6rem; }
.ai-bench-row { grid-template-columns:6rem minmax(1rem,1fr) 9rem; }
@media(max-width:40rem){ .ai-bench-row { grid-template-columns:4.8rem minmax(1rem,1fr) 7.9rem; } }
