/* PY2025 Compare (compare-py2025.js) and the homepage comparison example (templates/_home_compare.html).
   Two series only: the reference (solid, circle) and the compared ACO (dashed, square), so nothing depends on colour.
   No figure lives in this file. */
.c25, .hc { --c25-ref: #0b5f80; --c25-oth: #8a4b08; --c25-earned: var(--verified, #12890e); --c25-owed: var(--delta-unfavorable, #b3261e);
  --c25-zero: var(--ink-soft, #5a5a5a); font-variant-numeric: tabular-nums; }
.c25-examples a { margin-right: .25rem; }
.c25-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.c25-card { border: 1px solid var(--rule, #d9d9d9); border-radius: var(--hdf-radius, 6px); padding: 1rem 1.125rem; background: var(--surface, #fff); }
/* the outcome as a small mark beside the role label; the card's own text ("earned", "owed") says it without colour */
.c25-card .c25-role::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .375rem; border-radius: 50%;
  background: var(--c25-zero); vertical-align: .05em; }
.c25-card.c25-earned .c25-role::before { background: var(--c25-earned); }
.c25-card.c25-owed .c25-role::before { background: var(--c25-owed); }
.c25-card.c25-locked { border-style: dashed; background: var(--withheld-soft, #f2f2f2); }
.c25-card.c25-locked .c25-role::before { display: none; }
.c25-card h3 { margin: 0 0 .25rem; font-size: 1.125rem; line-height: 1.3; }
.c25-card h3 span { color: var(--ink-soft, #5a5a5a); font-weight: 400; font-size: .9375rem; }
.c25-role { margin: 0 0 .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft, #5a5a5a); }
.c25-outcome { margin: .25rem 0 .75rem; font-size: 1.375rem; font-weight: 700; }
.c25-card dl, .hc-side dl { margin: 0; display: grid; gap: .25rem; }
.c25-card dl div, .hc-side dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule, #d9d9d9); padding: .25rem 0; }
.c25-card dt, .hc-side dt { color: var(--ink-soft, #5a5a5a); }
.c25-card dd, .hc-side dd { margin: 0; font-weight: 600; text-align: right; flex: none; white-space: nowrap; }
.c25-card dt, .hc-side dt { min-width: 0; }
.c25-src { color: var(--ink-soft, #5a5a5a); font-size: .8125rem; overflow-wrap: anywhere; }
.c25-read ul, .c25-brief ul { padding-left: 1.25rem; max-width: var(--measure, 48rem); }
.c25-read li, .c25-brief li { margin-bottom: .5rem; }
.c25-comp tr.c25-diff th { font-weight: 700; }
.c25-comp tr.c25-same th { font-weight: 400; }
.c25-comp td:last-child { color: var(--ink-soft, #5a5a5a); font-size: .9375rem; min-width: 14rem; }
.c25-sec { margin: 2rem 0; }
.c25-table td, .c25-table th { vertical-align: top; }
.c25-rates { display: grid; gap: .75rem; margin: 1rem 0; max-width: 40rem; }
.c25-rate-h, .c25-rate-v { margin: 0; font-size: .9375rem; }
.c25-rate-h { font-weight: 700; }
.c25-track { position: relative; height: 1.25rem; background: var(--withheld-soft, #f2f2f2); border-radius: 2px; margin: .25rem 0; }
.c25-zero-mark { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink, #262626); }
.c25-bar { position: absolute; top: .25rem; bottom: .25rem; }
.c25-bar.c25-s0 { background: var(--c25-ref); }
.c25-bar.c25-s1 { background: repeating-linear-gradient(90deg, var(--c25-oth) 0 6px, transparent 6px 9px); border: 1px solid var(--c25-oth); }
.c25-msr, .c25-mlr { position: absolute; top: 0; width: .75rem; height: 1.25rem; margin-left: -.375rem; border: 2px solid var(--ink, #262626); box-sizing: border-box; background: var(--surface, #fff); }
.c25-mlr { border-style: dashed; }
.c25-legend { font-size: .9375rem; }
.c25-key0 { color: var(--c25-ref); font-weight: 700; }
.c25-key1 { color: var(--c25-oth); font-weight: 700; }
.c25-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.c25-charts figure { margin: 0; }
svg.c25-chart { width: 100%; height: auto; display: block; background: var(--surface, #fff); }
.c25-chart .c25-zero { stroke: var(--ink-soft, #5a5a5a); stroke-width: 1; }
.c25-chart .c25-tick { fill: var(--ink-soft, #5a5a5a); font: 11px var(--sans, sans-serif); }
.c25-chart .c25-line { fill: none; stroke-width: 2; }
.c25-chart .c25-line.c25-s0 { stroke: var(--c25-ref); }
.c25-chart .c25-line.c25-s1 { stroke: var(--c25-oth); stroke-dasharray: 5 3; }
.c25-chart .c25-dot.c25-s0 { fill: var(--c25-ref); }
.c25-chart .c25-dot.c25-s1 { fill: var(--c25-oth); }
.c25-chart .c25-mark { font: 9px var(--sans, sans-serif); }
.c25-chart .c25-mark.c25-s0 { fill: var(--c25-ref); }
.c25-chart .c25-mark.c25-s1 { fill: var(--c25-oth); }
.c25-wait { margin: 1rem 0; }

/* Homepage: one compact editorial comparison, below the free scorecards and above the national finding. */
.hl section.hc { padding: 3rem 0; background: var(--surface, #fff); border-top: 1px solid var(--rule, #d9d9d9); }
.hc-kicker { margin: 0 0 .25rem; font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hl-muted, #475a61); }
.hc h2 { margin-bottom: 1.25rem; }
.hc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; max-width: 52rem; }
.hc-side { border-top: 4px solid var(--c25-zero); padding-top: .75rem; }
.hc-side.hc-earned { border-top-color: var(--c25-earned); }
.hc-side.hc-owed { border-top-color: var(--c25-owed); }
.hc-side h3 { margin: 0 0 .5rem; font-size: 1.0625rem; line-height: 1.3; }
.hc-side h3 span { font-weight: 400; color: var(--hl-muted, #475a61); }
.hc-rate { margin-top: .75rem; }
.hc-read { max-width: 52rem; margin: 1.25rem 0 1rem; }
.hc-lead { max-width: 46rem; margin: .5rem 0 1.25rem; font-size: 1.0625rem; line-height: 1.5; }
.hc-pro { font-weight: 600; }
/* Compare page: the free sample's label and the membership step (non-members only; members see neither) */
.c25-sample { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin: 0 0 1rem; padding: .625rem .875rem;
  border: 1px solid var(--rule, #d9d9d9); border-radius: var(--hdf-radius, 6px); background: var(--ds-color-gray-lightest, #f4f6f7); }
.c25-sample strong { font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
.c25-unlock { margin: 0 0 1.25rem; }
.c25-unlock h2 { margin-top: 0; }
/* the membership links: a wrapping row spaced by the gap, so no separator is left at the end of a line */
.c25-go { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.hc-go { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: 0 0 .75rem; }
.hc-src { max-width: 52rem; margin: 0; font-size: .8125rem; color: var(--hl-muted, #475a61); overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .hc-pair { grid-template-columns: 1fr; }
  .c25-cards { grid-template-columns: 1fr; }
}
