:root{color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182e35;background:#eef3ef;line-height:1.55}
*{box-sizing:border-box}body{margin:0}a{color:#155f59}button,input,select{font:inherit}button{cursor:pointer;min-height:46px;padding:.65rem 1.2rem;border:0;border-radius:10px;background:#17695f;color:#fff;font-weight:650}button:hover{background:#105249}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b87521;outline-offset:4px}
.card{width:min(92%,480px);margin:10vh auto;background:white;border:1px solid #d9e4dc;border-radius:20px;padding:clamp(1.3rem,5vw,2.3rem);box-shadow:0 12px 40px #18362a0b}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:750;color:#496c62;margin:0 0 .35rem}h1{font-size:clamp(1.65rem,5vw,2.25rem);line-height:1.2;margin:.1rem 0 1rem;letter-spacing:-.025em}h2{font-size:1.45rem;margin:.7rem 0 .25rem}form{display:grid;gap:.65rem;margin:1.8rem 0 1rem}input{width:100%;border:1px solid #a7bcb1;border-radius:8px;padding:.7rem;background:#fbfdfb}label{font-weight:600}.card>button{width:100%;margin:.5rem 0 1rem}
.dashboard{width:min(100% - 2rem,1000px);margin:2rem auto}header{display:flex;align-items:center;justify-content:space-between;gap:1rem}header h1{margin-bottom:0}.secondary{background:#fff;color:#155d53;border:1px solid #b5cdc0}.secondary:hover{background:#e2eee7}.status-panel{margin:1.6rem 0 1rem;padding:1.2rem 1.4rem;border:1px solid #d9e4dc;border-radius:14px;background:#fff}.status-panel p{margin:.35rem 0}.badge{display:inline-block;padding:.25rem .65rem;border-radius:6px;background:#edf2ee;font-size:.85rem;font-weight:700}.badge.fresh{background:#deeee1;color:#255c35}.badge.warning{background:#fff0cb;color:#775011}.badge.outdated{background:#f8ded8;color:#8b3025}#map{height:clamp(300px,52vh,600px);border:1px solid #c7d8cc;border-radius:14px;z-index:0}#map[hidden]{display:none}#tile-status{font-size:.9rem;color:#775011}footer{font-size:.85rem;color:#53695f;margin:1.4rem 0}footer p{margin:.5rem 0}.leaflet-control-attribution{max-width:calc(100vw - 5rem)}#message:empty,#tile-status:empty{display:none}
@media(max-width:480px){.dashboard{width:calc(100% - 1.2rem);margin:1.2rem auto}.status-panel{padding:1rem}header{align-items:flex-start}.secondary{font-size:.9rem;padding:.5rem .7rem}.card{margin-top:6vh}#map{height:48vh}}

.timeline-controls{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.timeline-controls select{flex:1;min-width:160px;min-height:46px;border:1px solid #a7bcb1;border-radius:8px;background:#fbfdfb;padding:.5rem}#timeline-slider{padding:.4rem 0;accent-color:#17695f}#timeline-count,#position-detail{font-size:.9rem;color:#496c62}
