/* Statistics follow the existing site palette and reader text preferences. */
.ev-statistics { max-width: 100%; }
.ev-statistics-overview { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: 1rem; margin-block: 1.5rem; }
.ev-statistics-number { min-width: 0; padding: 1rem 1.2rem; border: 1px solid var(--ev-line); border-radius: 12px; background: var(--ev-panel); color: var(--ev-text); }
.ev-statistics-number strong { display: block; color: var(--ev-heading); font-size: 2em; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ev-statistics-number span { display: block; margin-block-start: .4em; overflow-wrap: anywhere; }
.ev-statistics-table-wrap { max-width: 100%; }
.ev-statistics .ev-statistics-table { width: 100%; margin-block: 1.5rem; border-color: var(--ev-line); background: var(--ev-panel); color: var(--ev-text); }
.ev-statistics-table caption { text-align: start; padding-block-end: .6em; font-weight: 600; }
.ev-statistics .ev-statistics-table th,.ev-statistics .ev-statistics-table td { padding: .65em .8em; border-color: var(--ev-line); text-align: start; white-space: normal; overflow-wrap: anywhere; }
.ev-statistics .ev-statistics-table th { background: var(--ev-raised); color: var(--ev-text); }
.ev-statistics .ev-statistics-table td { font-variant-numeric: tabular-nums; }
.ev-statistics-home { position: relative; }
.ev-home .ev-statistics-home .ev-card-link,.ev-home .ev-statistics-home .ev-card-link a { position: static; }
.ev-home .ev-statistics-home a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ev-home .ev-statistics-home:focus-within { outline: 3px solid var(--ev-gold); outline-offset: 4px; }
.ev-home .ev-statistics-home:hover { box-shadow: 0 0 0 2px var(--ev-gold); }
@media(max-width:760px) {
 .ev-statistics-table,.ev-statistics-table tbody { display: block; }
 .ev-statistics-table caption { display: block; box-sizing: border-box; width: 100%; padding: .6em .8em; }
 .ev-statistics-table .ev-statistics-column-headings { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .ev-statistics-table tr { display: block; padding-block: .5rem; border-block-end: 1px solid var(--ev-line); }
 .ev-statistics .ev-statistics-table th[scope=row] { display: block; border: 0; }
 .ev-statistics .ev-statistics-table td { display: flex; justify-content: space-between; gap: 1rem; border: 0; }
 .ev-statistics-table td::before { content: attr(data-label); font-weight: 600; }
}
