.reporting-analytics {margin:20px 0;padding:20px;border:1px solid #dbe6e2;border-radius:14px;background:#fff}
.reporting-analytics>summary {font-size:1.12rem;font-weight:650;cursor:pointer;min-height:28px}
.analytics-content {padding-top:12px}
.analytics-filters {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:14px 0}
.analytics-filters label {display:flex;flex-direction:column;gap:6px;font-weight:550}
.analytics-filters input,.analytics-filters select {width:100%;min-width:0}
.analytics-tenants {display:flex;flex-wrap:wrap;gap:12px 22px;border:1px solid #dbe6e2;border-radius:9px;padding:12px 16px;margin:12px 0}
.analytics-tenants label {display:flex;gap:8px;align-items:center;font-weight:450}
.analytics-tenants input {width:auto;margin:0}
.analytics-actions {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.analytics-actions button[aria-pressed=true] {background:#e7f2ee;border-color:#397a6e}
.analytics-result-heading {margin-top:20px}
.analytics-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0}
.analytics-cards>div {padding:14px;border-radius:10px;background:#f1f6f4}
.analytics-cards span {display:block;font-size:.85rem;color:#4d6560;margin-bottom:7px}
.analytics-cards strong {font-size:1.15rem;font-weight:650}
#analytics-results details {border-top:1px solid #e2eae7;padding:13px 0}
#analytics-results details>summary {cursor:pointer;font-weight:600;min-height:25px}
#analytics-results table caption {text-align:left;font-weight:600;padding:14px 0 8px}
#analytics-results svg {width:100%;min-width:540px;max-height:330px}
#analytics-results svg text {fill:#4b625c;font:12px system-ui,sans-serif}
.analytics-chart-legend {display:flex;gap:18px;flex-wrap:wrap;font-size:.86rem;margin-top:15px}
.analytics-chart-legend span:before {content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;background:#25746b}
.analytics-chart-legend .analytics-series-false:before {background:#bd4d52}
.analytics-chart-legend .analytics-series-inconclusive:before {background:#8b6a2f}
.analytics-chart-legend .analytics-series-staff-reported-missed:before {background:#a56e16}
.analytics-exposure-list {max-height:55vh;overflow-y:auto}
.analytics-exposure {padding:12px 0;border-bottom:1px solid #dbe6e2}
.analytics-exposure.removed {opacity:.65}
.analytics-dimension-options {max-height:220px;overflow-y:auto;display:grid;gap:8px;padding:10px 2px}
.analytics-dimension-options label {display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5}
.analytics-dimension-options input {width:16px;height:16px;flex-shrink:0;margin-top:2px}
.analytics-type-legend {display:flex;gap:18px;flex-wrap:wrap;margin:10px 0;font-size:12px}
.analytics-type-legend span {display:inline-flex;align-items:center;gap:6px}
.analytics-type-legend i {width:10px;height:10px;border-radius:50%}
.analytics-type-OOB {background:#25746b}
.analytics-type-OOR {background:#486c9b}
.analytics-type-FALL {background:#bd4d52}
.analytics-type-OTHER {background:#8b6a2f}
.analytics-focused {margin-top:24px;padding:20px;border:2px solid #9fbcb5;border-radius:14px;background:#f7faf9}
.analytics-focused h3 {margin-top:0}
@media(max-width:600px){.reporting-analytics{padding:14px}.analytics-filters{grid-template-columns:1fr}.analytics-tenants{display:grid;grid-template-columns:1fr}.analytics-cards{grid-template-columns:1fr 1fr}}
