/* Loaded last: controls with ID-specific light backgrounds must still be legible. */
[data-theme="dark"] select,[data-theme="dark"] select option,[data-theme="dark"] select optgroup{background-color:#202933!important;color:#edf1f6!important;border-color:#697787!important;color-scheme:dark}
[data-theme="dark"] input:not([type="range"]):not([type="checkbox"]):not([type="radio"]){background-color:#202933!important;color:#edf1f6!important;border-color:#697787!important}
[data-theme="dark"] input::placeholder{color:#b6c1cd!important;opacity:1}
[data-theme="light"] select option,[data-theme="light"] select optgroup{background-color:#fff;color:#172b37;color-scheme:light}
[data-theme="dark"] .env-chart-card{background-color:#182029;color:#dce3eb}
[data-theme="dark"] .env-chart-card h3,[data-theme="dark"] .env-table,[data-theme="dark"] .env-table summary,[data-theme="dark"] .env-table th,[data-theme="dark"] .env-table td{color:#dce3eb}
[data-theme="dark"] .env-plot .xtick text,[data-theme="dark"] .env-plot .ytick text,[data-theme="dark"] .env-plot .g-xtitle text,[data-theme="dark"] .env-plot .g-ytitle text,[data-theme="dark"] .env-plot .legendtext,[data-theme="dark"] .env-plot .annotation-text{fill:#dce3eb!important}
[data-theme="dark"] .env-plot .hovertext text{fill:#dce3eb!important}
[data-theme="dark"] .env-plot .modebar-btn::before{background:#202c39;color:#dce3eb}
[data-theme="dark"] .env-plot .modebar-btn::after{border-bottom-color:#202c39}
.basemap-toolbar .boundary-toggle{display:flex;align-items:center;gap:7px;width:auto;letter-spacing:0;font-size:12px;font-weight:500}.boundary-toggle input{accent-color:#365578;width:16px;height:16px}.basemap-labels{filter:none!important}.leaflet-control-attribution{max-width:100%;line-height:1.35!important;font-size:9px!important}.leaflet-control-container .leaflet-bottom.leaflet-right{max-width:88%}
[data-theme="dark"] .street-basemap{filter:brightness(.9) saturate(.8)}
@media(max-width:650px){.basemap-toolbar .boundary-toggle{flex-basis:100%;margin-top:3px}}
