/* Coverage and filtering additions; existing analysis keeps its visual language. */
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
.tile .v, .mini-stats .v, .count, table.data .num { font-variant-numeric: tabular-nums; }
section { scroll-margin-top: 190px; }
.coverage { margin: 18px 0 24px; }
.coverage summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.coverage summary::before { content: '+'; color: var(--c-blue); font-size: 20px; }
.coverage[open] summary::before { content: '−'; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 10px 0 14px; }
.coverage-source { border-left: 2px solid var(--border); padding-left: 14px; min-width: 0; }
.coverage-source h3 { font-size: 14px; margin-bottom: 5px; }
.coverage-source p { color: var(--muted); font-size: 12px; margin: 4px 0; }
.coverage-alert { color: var(--bad); }
.history-intro { margin: 26px 0 0; }
.history-intro p { max-width: 820px; color: var(--muted); margin: 8px 0; }
.history-empty { padding: 22px 0; color: var(--muted); }
.history-empty[hidden] { display: none; }
.history-empty button, .coverage button { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 7px; padding: 10px 14px; cursor: pointer; min-height: 42px; }
.search-row label { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.search-row select { min-height: 42px; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: 7px; padding: 8px; font: inherit; }
table.data th button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: inherit; padding: 6px 0; min-height: 40px; }
table.data td { vertical-align: top; }
.queue-empty { text-align: center; padding: 24px !important; color: var(--muted); }
.q-identity { display: block; color: var(--faint); font-size: 11px; }
.status-preliminary { color: var(--c-yellow); }
.filters select { max-width: 240px; }
@media (max-width: 760px) {
    .coverage-grid { grid-template-columns: 1fr; gap: 14px; }
    .filters label { flex: 1 1 140px; min-width: 0; }
    .filters select { max-width: 100%; width: 100%; min-width: 0; }
    .search-row label { flex-wrap: wrap; }
    section { scroll-margin-top: 130px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
