:root{color-scheme:dark;font:16px/1.5 system-ui,sans-serif;background:#141518;color:#eaeaf0}
body{margin:0}
main{max-width:1180px;margin:auto;padding:20px clamp(12px,3vw,34px) 48px}
header p,#status{color:#c5c7d0}
h1{font-size:clamp(1.7rem,4vw,2.7rem);margin:.35rem 0}
h2{font-size:1.35rem}
p{margin:.5rem 0 1rem}
a{color:#f4c810}
button,select{font:inherit;color:inherit;background:#262830;border:1px solid #525560;border-radius:6px;padding:.25rem .55rem}
button{cursor:pointer}
button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #f4c810;outline-offset:3px}
.controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:.75rem}
fieldset{display:flex;flex-wrap:wrap;gap:.3rem .9rem;border:1px solid #40434c;border-radius:7px;margin:0;padding:.3rem .6rem}
fieldset label{display:flex;align-items:center;gap:.3rem}
input{accent-color:#e4b900}
summary{cursor:pointer}
#map{height:clamp(410px,65vh,680px);border:1px solid #464953;border-radius:10px;background:#242a33}
.map-area{position:relative}
#selection{position:absolute;left:1rem;bottom:2rem;width:min(380px,calc(100% - 4rem));max-height:46%;overflow:auto;padding:1rem;border:1px solid #464953;border-radius:10px;background:#202229;z-index:2}
#selection .close{float:right;padding:0 .45rem;margin-left:.5rem}
#selection h2{margin-top:0}
.river{color:#f4c810;padding:0;background:none;border:0;text-decoration:underline}
.table-wrap{overflow:auto;max-height:34rem}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th,td{padding:.45rem .6rem;border-bottom:1px solid #40434c;text-align:right}
th:first-child{text-align:left}
thead th{position:sticky;top:0;background:#24262c;z-index:1}
.department{padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:.2rem;color:#f4c810;text-align:left}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
