/* Results overview and isolated first-run sample. No scan/controller state is stored in CSS. */
.results-overview{margin:8px 0 16px;padding:14px;border:1px solid var(--edge);border-radius:10px;background:var(--fill)}
.results-overview-head{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.results-overview-head h3{margin:0;font-size:16px}
.overview-status{font-size:12px;font-weight:700;color:var(--muted);border:1px solid var(--edge);border-radius:50px;padding:3px 10px}
.overview-status[data-state="complete"]{color:var(--green)}
.overview-status[data-state="partial"],.overview-status[data-state="unknown"]{color:var(--amber)}
.overview-scope,.overview-breakdown,.overview-fine{margin:6px 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.results-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}
.overview-metric{background:var(--paper);border:1px solid var(--edge);border-radius:8px;padding:11px;min-width:0}
.overview-metric strong{display:block;font-size:clamp(18px,2vw,25px);line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.overview-metric span{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.overview-coverage{display:flex;gap:3px;flex-direction:column;border-top:1px solid var(--edge);padding-top:10px;font-size:12px}
.overview-coverage span{color:var(--muted)}
.sample-view-button{font-weight:650}
.sample-results-panel{margin:12px 0 4px}
.sample-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--fill);border:2px solid var(--amber);border-radius:10px}
.sample-banner p{margin:3px 0 0;font-size:12px;color:var(--muted)}
.sample-banner button{flex-shrink:0}
.sample-overview{margin-top:12px}
.sample-cards-title{font-size:15px;margin:16px 0 10px}
.sample-cards .simple-result-row{display:flex;flex-direction:column;gap:6px;min-width:0}
.sample-cards .simple-result-row strong{font-size:15px}
.sample-sparkline{display:block;width:100%;height:65px;color:var(--muted)}
.sample-cards small{color:var(--muted);font-size:11px}
html[data-ui-mode="simple"] .scan-filter-help,
html[data-ui-mode="simple"] .simple-rating-history-options{display:none!important}
html[data-ui-mode="simple"] .scan-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
html[data-ui-mode="simple"] .scan-actions{padding-top:0;margin-top:12px}
html[data-ui-mode="simple"] .scan-setup-panel .section-options-gear{display:none!important}
html[data-ui-mode="simple"] .scan-setup-panel #scan-target-list{min-height:42px}
html[data-ui-mode="simple"] .scan-setup-panel #start-scan{min-height:42px;max-width:270px}
@media(max-width:760px){.results-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-ui-mode="simple"] .scan-grid{grid-template-columns:1fr}}
@media(max-width:480px){.sample-banner{align-items:stretch;flex-direction:column}.sample-banner button{align-self:flex-start}.overview-metric{padding:9px}.overview-metric strong{font-size:20px}}
