:root{font-family:system-ui,sans-serif;color:#19332e;background:#f3f6f2;line-height:1.6}*{box-sizing:border-box}body{margin:0}main{max-width:68rem;padding:2rem 1.25rem;margin:auto}h1{font-size:clamp(2rem,5vw,3rem);line-height:1.15}h2{font-size:1.35rem}a{color:#17634d}.eyebrow{font-weight:700;letter-spacing:.12em;text-transform:uppercase}.muted,footer{color:#4a6159;font-size:.9rem}form,section section{padding:1.25rem;background:white;border:1px solid #cbd9cf;border-radius:1rem;margin:1.5rem 0}.auth-controls,.controls{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.auth-controls input{flex:1;min-width:0}input,select,button{font:inherit;border:1px solid #8baba0;border-radius:.5rem;padding:.6rem .8rem;max-width:100%}button{cursor:pointer;background:#185a45;color:white;font-weight:600}button:disabled,select:disabled{opacity:.65;cursor:wait}:focus-visible{outline:3px solid #b36a13;outline-offset:3px}label{font-weight:600}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.card{background:#e3eee5;padding:1rem;border-radius:.75rem}.card strong{display:block;font-size:2rem}.chart{display:flex;gap:.6rem;overflow-x:auto;align-items:end;padding:.8rem .2rem;min-height:14rem}.chart-day{flex:0 0 6.5rem;text-align:center;font-size:.8rem}.chart-bar{background:#277659;border-radius:.3rem .3rem 0 0;min-height:2px;max-height:9rem;width:2.8rem;margin:.4rem auto}.chart-day time{white-space:nowrap}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #dce5df;padding:.55rem .25rem}th:last-child,td:last-child{text-align:right;font-variant-numeric:tabular-nums}footer{margin-top:2rem}[hidden]{display:none!important}@media(max-width:580px){main{padding:1rem}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-controls{align-items:stretch;flex-direction:column}form,section section{padding:1rem}.controls{align-items:stretch}.controls label{width:100%}}
/* Keep the aggregate overview short; detailed counters remain available on demand. */
main{padding-top:1.25rem;padding-bottom:1.25rem}h1{margin:.25rem 0 .6rem}h2{margin:0 0 .6rem}header p{margin:.4rem 0}.eyebrow{font-size:.8rem}.controls{margin-top:1rem}#stats-status{margin:.65rem 0}#stats-period{margin:.6rem 0}.card{padding:.8rem 1rem}.card strong{font-size:1.8rem}section section{margin:1rem 0;padding:1rem}.chart{min-height:10rem;padding:.5rem .2rem}.chart-bar{max-height:6.25rem}.summary-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:1rem}.summary-grid>section{min-width:0;margin:0 0 1rem}.summary-grid p{font-size:.85rem;margin:.25rem 0 .5rem}.summary-grid th,.summary-grid td{padding:.4rem .25rem}.events-detail{background:white;border:1px solid #cbd9cf;border-radius:.75rem;padding:.75rem 1rem}.events-detail summary{cursor:pointer;font-weight:600}.events-detail[open] summary{margin-bottom:.6rem}footer{margin-top:1rem}footer p{margin:.5rem 0}@media(max-width:580px){.summary-grid{grid-template-columns:1fr;gap:0}main{padding-top:1rem}.card{padding:.65rem}.card strong{font-size:1.65rem}}
