@font-face{font-family:Inter;src:url(Inter-Regular.woff2)}@font-face{font-family:Montserrat;src:url(Montserrat-Bold.woff2);font-weight:700}
*{box-sizing:border-box}body{margin:0;background:#101820;color:#e8f0f4;font:14px/1.55 Inter,Arial,sans-serif;height:100dvh;display:flex;flex-direction:column}h1,h2,h3,strong{font-family:Montserrat,Arial,sans-serif}header{height:78px;flex:none;display:flex;align-items:center;gap:24px;padding:12px 24px;border-bottom:1px solid #35434e;background:#101a28}header img{width:140px}header h1{font-size:24px;margin:0}header span{color:#a8c2c9;font-size:12px}header button{margin-left:auto}main{display:flex;position:relative;min-height:0;flex:1}#catalogue{width:300px;flex:none;overflow:auto;padding:25px 20px;background:#15212c;border-right:1px solid #34434c}h2{font-size:30px;line-height:1.15;margin:10px 0 18px}h3{font-size:16px}p{color:#b8cbd2}small,.hint{font-size:11px;color:#adc1c9}label{display:block;color:#b8cbd2;font-size:12px;margin-top:10px}button,input,select,textarea{font:inherit;color:#e7eef1;background:#22333f;border:1px solid #526671;border-radius:6px;padding:9px 12px}button{cursor:pointer}button:hover{background:#344c59}button:disabled{opacity:.45;cursor:default}input,select,textarea{width:100%}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e5c00b;outline-offset:2px}.carto{position:relative;flex:1;min-width:0}#map{height:100%;width:100%}.tools{position:absolute;top:15px;left:16px;right:15px;display:flex;flex-wrap:wrap;gap:6px}.tools button{background:#14212eed;box-shadow:0 3px 10px #0004}.map-caption{position:absolute;bottom:32px;left:14px;font-size:11px;background:#17252cdd;padding:5px 10px;border-radius:4px;pointer-events:none}#status{position:absolute;bottom:60px;left:14px;max-width:90%;padding:8px;background:#182d3a}#status:empty{display:none}.catalog-card{display:flex;text-align:left;gap:10px;align-items:center;width:100%;margin:7px 0;padding:12px;background:#1b2b36;border-color:#344752}.catalog-card i{width:8px;height:24px;border-radius:3px;flex:none}.catalog-card span{flex:1}.catalog-card small{display:block;font-size:10px}.catalog-card[aria-pressed=true]{border-color:#e5c00b;background:#293c46}footer{font-size:11px;color:#93aeb8;margin-top:25px}#sheet{position:absolute;right:16px;top:75px;bottom:35px;width:340px;overflow:auto;padding:24px;background:#14232ff5;border:1px solid #52646a;border-radius:12px;box-shadow:0 15px 45px #0007}#closeSheet{float:right;padding:0 10px;font-size:24px}.metric{border-left:3px solid #e5c00b;padding:8px 14px;background:#223a43;margin:15px 0}.metric strong{display:block;font-size:25px}details{border-top:1px solid #40545e;padding:12px 0}summary{cursor:pointer}#counts p{display:flex;justify-content:space-between;gap:10px;margin:8px 0}#counts strong{color:#79dcd8}dialog{color:#e8f0f4;background:#172630;border:1px solid #60717a;border-radius:12px;width:min(480px,94vw);max-height:88dvh;padding:24px;box-shadow:0 20px 100px #000a}dialog::backdrop{background:#0008}.wide{width:min(1000px,94vw)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-head h2{font-size:23px;margin:0}dialog a{color:#91dce6}#layerControls label{font-size:14px;display:flex;align-items:center;gap:10px;padding:8px 0}#layerControls input{width:auto}.layer-status{font-size:11px;color:#e3c378}#baseChoices{display:grid;gap:12px}.table-scroll{overflow:auto;max-height:52vh;margin:15px 0}table{border-collapse:collapse;width:100%;font-size:12px}td,th{padding:8px;border-bottom:1px solid #40545e;text-align:left;white-space:nowrap}th{position:sticky;top:0;background:#243a46}#printStatus{min-height:20px}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#526772;border-radius:6px}[hidden]{display:none!important}
@media(max-width:1000px){#catalogue{width:245px}#sheet{width:300px}.tools{gap:4px}.tools button{font-size:12px;padding:7px}}
@media(max-width:700px){header{height:70px;padding:10px;gap:12px}header img{width:100px}header h1{font-size:19px}header span{font-size:9px}header button{font-size:11px;padding:6px}main{display:block;overflow:auto}.carto{height:62dvh;min-height:350px}#catalogue{width:100%;height:auto;max-height:40dvh;border-right:0;padding:15px;position:relative}#catalogue h2{font-size:24px}#catalogue h2 br{display:none}#catalogue>p{margin:6px 0}main{display:flex;flex-direction:column}.carto{order:0;flex:none}#catalogue{order:1;flex:none}#sheet{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:57dvh;z-index:5;border-radius:15px 15px 0 0}.tools{top:8px;left:8px;right:8px}.map-caption{bottom:30px;font-size:10px}dialog{padding:18px}.dialog-head h2{font-size:19px}}

@media(max-width:700px){#catalogue h2 br:after{content:" "}#catalogue h2{word-spacing:.15em}}

/* The basin sheet occupies its own column on wide displays. */
:root{--calcite-color-brand:#77c9d2;--calcite-color-brand-hover:#9fdde4;--calcite-color-brand-press:#55aeb8}
header>calcite-button{margin-left:auto}
.tools calcite-button{box-shadow:0 3px 12px #0004}
#sheet{position:relative;inset:auto;flex:none;width:370px;height:100%;border-radius:0;box-shadow:none;border:0;border-left:1px solid #40545e;padding:22px;overflow:auto}
#catalogue{width:250px}
.report-block{padding:4px 0 18px;border-bottom:1px solid #40545e}
.report-block h3{color:#e6f4f8;margin:17px 0 10px}
.chart-row{margin:9px 0;font-size:12px}
.chart-label{display:flex;justify-content:space-between;gap:8px}
.chart-track{height:7px;background:#30434d;border-radius:4px;margin-top:4px;overflow:hidden}
.chart-fill{height:100%;border-radius:4px}
.summary-number{font-size:25px;color:#82dad9;font-family:Montserrat}
#riverSummary p,#stressSummary p{margin:8px 0}
#closeSheet{float:right}
#retry{margin:10px 0}
@media(max-width:1100px) and (min-width:701px){#catalogue{width:210px}#sheet{width:320px}.tools{right:8px;left:8px}}
@media(max-width:700px){#catalogue{width:100%}#sheet{position:fixed;top:auto;bottom:0;left:0;width:100%;height:62dvh;z-index:5;border-radius:15px 15px 0 0}header>calcite-button{max-width:95px}.tools calcite-button{--calcite-font-size--2:11px}}

.tools calcite-button{--calcite-button-background-color:#14232f;--calcite-button-background-color-hover:#263d4c}
.sheet-links{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.sheet-links a{font-size:12px;color:#9cdce6}
.report-block>calcite-button{margin-bottom:8px}
#sheet{background:#14232f}
@media(max-width:700px){header>calcite-button{max-width:none}header span{max-width:120px;display:block}header{gap:8px}header img{width:85px}header h1{font-size:16px}}
