/* Isolated claimant statistics experiment. No global reader-design changes. */
.claimant-statistics { --stat-false: #922e3e; --stat-misleading: #a66c19; --stat-true: #356d52; --stat-unverified: #68727a; border-top: 3px solid var(--heritage-ink, #272420); margin-top: 2rem; padding-top: 1.35rem; }
.claimant-statistics *, .claimant-statistics *::before { box-sizing: border-box; }
.claimant-statistics h2, .claimant-statistics h3, .claimant-statistics p { margin-top: 0; }
.claimant-statistics h2 { font-size: clamp(1.8rem, 3.7vw, 2.7rem); line-height: 1.15; margin-bottom: .75rem; }
.claimant-statistics h3 { font-size: 1.45rem; line-height: 1.3; margin-bottom: .65rem; }
.claimant-statistics p { line-height: 1.6; }
.stats-heading-row { display: flex; justify-content: space-between; gap: 1rem; align-items: start; flex-wrap: wrap; }
.stats-kicker { color: var(--muted); font-size: .85rem; margin-bottom: .45rem; }
.stats-baseline { font-size: .8rem; min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: underline; }
.stats-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding: 1.15rem 0 1.6rem; }
.stats-filters > div { min-width: 0; flex: 1 1 12rem; max-width: 24rem; }
.stats-filters label { display: block; font-size: .85rem; margin-bottom: .35rem; font-weight: 600; }
.stats-filters select { width: 100%; min-height: 2.8rem; background: var(--heritage-surface, #fffaf2); border: 1px solid var(--heritage-rule, #c7beb0); padding: .55rem .7rem; font: inherit; border-radius: 3px; color: var(--ink); }
.stats-filters button, .stats-share-actions button, .stats-share-actions a { padding: .65rem .85rem; border: 1px solid var(--heritage-rule, #c7beb0); border-radius: 3px; min-height: 2.8rem; background: transparent; color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: none; }
.stats-filters button { background: var(--stat-false); border-color: var(--stat-false); color: #fff; }
.stats-overview { display: grid; gap: 1.75rem; padding: 1.5rem 0; border-top: 1px solid var(--heritage-rule, #c7beb0); border-bottom: 1px solid var(--heritage-rule, #c7beb0); }
.stats-percentage { font-family: system-ui, sans-serif; font-size: clamp(4rem, 9vw, 7rem); font-weight: 750; line-height: 1 !important; letter-spacing: -.055em; font-variant-numeric: tabular-nums; color: var(--stat-false); margin-bottom: .7rem; }
.stats-percentage span { font-size: .48em; padding-left: .07em; }
.stats-main-number h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.stats-denominator { margin-bottom: .75rem; }
.stats-combined { color: var(--muted); font-size: .85rem; max-width: 47ch; margin-bottom: 0; }
.stats-monthly-average { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: start; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--heritage-rule, #c7beb0); }
.stats-monthly-average-value { margin: 0; font-family: system-ui, sans-serif; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 750; line-height: 1 !important; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--stat-false); white-space: nowrap; }
.stats-monthly-average-value span { display: block; margin-top: .25rem; font-size: .32em; line-height: 1.2; letter-spacing: 0; color: var(--muted); }
.stats-monthly-average h4 { margin: 0 0 .3rem; font-size: 1.05rem; line-height: 1.25; }
.stats-monthly-average p:not(.stats-monthly-average-value) { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; max-width: 47ch; }
.stats-caution { border-left: 3px solid var(--stat-misleading); padding-left: .75rem; font-size: .9rem; margin-top: 1rem !important; margin-bottom: 0; }

/* A distinct target-side signal, only for a meaningful (>=10) editorial sample. */
.stats-distribution-column { min-width: 0; }
.stats-target-highlight { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .85rem; padding: 0 0 1.2rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--heritage-rule, #c7beb0); }
.stats-target-highlight-value { margin: 0 !important; font-family: system-ui, sans-serif; font-size: clamp(3.3rem, 6vw, 5rem); font-weight: 750; line-height: 1 !important; letter-spacing: -.045em; color: var(--stat-false); font-variant-numeric: tabular-nums; }
.stats-target-highlight h3 { margin: 0 0 .3rem; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.25; }
.stats-target-highlight p:not(.stats-target-highlight-value) { margin: .2rem 0 0; font-size: .88rem; line-height: 1.45; }
.stats-target-highlight-context { color: var(--muted); }
.stats-target-highlight-context a { font-weight: 650; }
.stats-distribution { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: .75rem; min-width: 0; }
.stats-donut { display: block; width: 100%; overflow: visible; }
.stats-track { stroke: var(--heritage-rule, #d6cdbf); }
.stats-fill-false { --stat-color: var(--stat-false); }
.stats-fill-misleading { --stat-color: var(--stat-misleading); }
.stats-fill-true { --stat-color: var(--stat-true); }
.stats-fill-unverified { --stat-color: var(--stat-unverified); }
.claimant-statistics rect[class*="stats-fill"] { fill: var(--stat-color); }
.claimant-statistics circle[class*="stats-fill"] { stroke: var(--stat-color); fill: none; }
.stats-donut-total { font-family: system-ui, sans-serif; font-size: 36px; font-weight: 750; fill: var(--ink, #272420); }
.stats-donut-label { font-family: system-ui, sans-serif; font-size: 12px; fill: var(--muted, #625950); }
.stats-legend { margin: 0; min-width: 0; }
.stats-legend > div { padding: .7rem 0; border-bottom: 1px solid var(--heritage-rule, #c7beb0); }
.stats-legend > div:last-child { border-bottom: 0; }
.stats-legend dt a { display: inline-flex; gap: .5rem; align-items: center; min-height: 1.65rem; font-size: .85rem; text-decoration: none; }
.stats-legend dt a:hover { text-decoration: underline; }
.stats-dot { display: inline-block; width: .55rem; height: .55rem; background: var(--stat-color); flex-shrink: 0; }
.stats-legend dd { display: flex; gap: .75rem; margin: .15rem 0 0 1.05rem; font-size: .9rem; font-variant-numeric: tabular-nums; }
.stats-legend dd span { color: var(--muted); }
.stats-scope-notes { margin: 1.1rem 0 2.5rem; max-width: 110ch; }
.stats-scope-note { font-size: .9rem; margin: 0 !important; }
.stats-scope-note + .stats-scope-note { margin-top: .65rem !important; }
.stats-chart-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1rem; }
.stats-chart-heading > div { max-width: 45rem; }
.stats-chart-heading p, .stats-topics > p { color: var(--muted); font-size: .9rem; }
.stats-metric { display: inline-flex; border: 1px solid var(--heritage-rule, #c7beb0); border-radius: 3px; }
.stats-metric a { display: inline-flex; align-items: center; padding: .7rem .85rem; font-size: .85rem; min-height: 2.75rem; text-decoration: none; }
.stats-metric a:hover { background: #eae1d3; }
.stats-timeline { margin: 1.25rem 0 .75rem; }
.stats-chart-scroll { display: flex; align-items: start; overflow-x: auto; gap: .45rem; padding-bottom: .5rem; }
.stats-chart-axis { display: flex; flex-direction: column; justify-content: space-between; flex-shrink: 0; height: 10rem; width: 2.7rem; margin-top: 1.6rem; font-size: .7rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.stats-chart-axis span { transform: translateY(-50%); }
.stats-chart-bars { display: flex; align-items: stretch; flex: 1; gap: .3rem; min-width: 0; }
.stats-period { flex: 1 0 2.2rem; min-width: 2.2rem; max-width: 7rem; text-decoration: none; text-align: center; color: var(--ink); display: flex; flex-direction: column; }
.stats-period:hover, .stats-period:focus-visible { background: #eae1d3; }
.stats-period-count { font-size: .75rem; line-height: 1.6rem; font-variant-numeric: tabular-nums; }
.stats-period svg { display: block; width: 100%; height: 10rem; border-bottom: 1px solid var(--heritage-rule, #c7beb0); }
.stats-period-label { font-size: .75rem; line-height: 1.3; padding-top: .55rem; }
.stats-period-label small { display: block; color: var(--muted); font-size: .65rem; margin-top: .2rem; }
.stats-gridline { stroke: var(--heritage-rule, #c7beb0); }
.stats-timeline figcaption { margin-top: .65rem; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.stats-date-note { font-size: .8rem; color: var(--muted); }
.stats-data-table, .stats-topics, .stats-method { border-top: 1px solid var(--heritage-rule, #c7beb0); padding: .5rem 0; }
.stats-data-table { padding-bottom: 0; }
.stats-data-table + .stats-topics { padding-top: 0; }
.claimant-statistics summary { cursor: pointer; min-height: 2.75rem; padding: .65rem 0; font-weight: 600; font-size: .9rem; }
.stats-table-scroll { overflow-x: auto; }
.stats-table-scroll table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.stats-table-scroll th, .stats-table-scroll td { text-align: right; padding: .65rem; border-bottom: 1px solid var(--heritage-rule, #c7beb0); white-space: nowrap; }
.stats-table-scroll th:first-child { text-align: left; }
.stats-table-scroll caption { text-align: left; color: var(--muted); padding: .75rem 0; }
.stats-topics > p { margin: .25rem 0 .7rem; }
.stats-topic-list { display: grid; gap: 0; }
.stats-topic-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .65rem 1rem; border-top: 1px solid var(--heritage-rule, #c7beb0); padding: .85rem 0; text-decoration: none; }
.stats-topic-row:hover .stats-topic-name { text-decoration: underline; }
.stats-topic-name { font-weight: 600; font-size: .95rem; }
.stats-topic-row svg { width: 100%; height: .75rem; grid-row: 2; grid-column: 1 / -1; }
.stats-topic-count { text-align: right; font-size: .8rem; color: var(--muted); }
.stats-share-panel { margin-top: 2rem; padding: 1.4rem; border: 1px solid var(--heritage-rule, #c7beb0); background: var(--heritage-surface, #fffaf2); }
.stats-share-panel p { max-width: 70ch; font-size: .9rem; }
.stats-share-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.stats-share-actions button[hidden] { display: none; }
.stats-share-actions > :hover { background: #eae1d3; }
.stats-share-status { margin: .6rem 0 0; color: var(--muted); }
.stats-share-status:empty { display: none; }
.stats-method { margin-top: 1rem; }
.stats-method p { max-width: 90ch; font-size: .9rem; }
.stats-history-note { padding: .8rem 0; line-height: 1.6; }
@media (min-width: 40rem) {
  .stats-distribution { grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: 1.4rem; }
  .stats-legend > div { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
  .stats-legend dd { margin: 0; }
  .stats-topic-row { grid-template-columns: minmax(10rem, 1fr) 2fr 8rem; }
  .stats-topic-row svg { grid-row: auto; grid-column: auto; }
}
@media (min-width: 58rem) {
  .stats-overview { grid-template-columns: .95fr 1.05fr; gap: 3rem; }
  .stats-distribution { grid-template-columns: 9rem minmax(0, 1fr); }
}
@media print {
  .stats-filters, .stats-share-actions, .stats-baseline, .stats-metric { display: none; }
  .stats-data-table { display: block; }
}


/* One-click overview switch, separate from the timeline; floats above the target statistics. */
.stats-overview-action { justify-self: end; grid-column: 1 / -1; margin-bottom: -.75rem; }
.stats-overview-action a { white-space: normal; text-align: center; }
