/* Three GIS presentations share the same coordinates, alerts and genuine OSM river banks. */
.gis-basemap-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 8px; flex-wrap:wrap; }
.gis-basemap-switch { display:inline-flex; padding:3px; gap:3px; border:1px solid #dce6f2; border-radius:9px; background:#f1f5fa; }
.gis-basemap-switch button { display:inline-flex; align-items:center; gap:5px; border:0; background:transparent; border-radius:6px; color:#667b98; padding:6px 9px; min-height:32px; font:500 12px 'Be Vietnam Pro',sans-serif; cursor:pointer; }
.gis-basemap-switch button[aria-pressed="true"] { color:#2160ad; background:white; box-shadow:0 1px 5px #25436b18; }
.gis-basemap-switch button svg { width:15px; height:15px; }
.gis-basemap-toolbar > span { font-size:11px; color:#71849d; }
.gis-basemap-switch button:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-hydrology #geographic-map { background:#f5f7f6 !important; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night #geographic-map { background:#132137 !important; }
.gis-style-night .leaflet-control-zoom a { background:#203047; color:#e3f0fc; border-color:#40536c; }
.gis-style-night .leaflet-control-scale-line { color:#d5e6f5; background:#203047cc; border-color:#88aac8; }
.gis-style-night .leaflet-control-attribution { background:#203047e6; color:#b2c7da; }
.gis-style-night .leaflet-control-attribution a { color:#c1e1ff; }
:root body:is(.observatory-interface,.community-view) .gis-style-night .gis-view-coordinate { background:#203047ed; color:#c3d8eb; border-color:#47647e; }
:root body:is(.observatory-interface,.community-view) .gis-style-night .map-compass { background:#203047ed; color:#c4e3ff; border-color:#47647e; }
.gis-style-night .beacon-wave { border-width:2px; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night .gis-beacon .map-pin-label { background:#1c2e46f5; border-color:color-mix(in srgb,var(--point-color) 65%,#607793); box-shadow:0 4px 14px #0005; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night .gis-beacon .map-pin-label > strong { color:#e7f1fc; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night .gis-beacon .map-pin-label :is(small,em) { color:color-mix(in srgb,var(--point-color) 60%,white); }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night .gis-beacon .map-pin-label em { background:#ffffff0d; }
:root body:is(.observatory-interface,.community-view) .gis-beacon-map.gis-style-night .gis-beacon .map-pin-label > span { color:#9baec5; }
.atlas-place-label { text-align:center; color:#798991; font:500 10px/20px 'Be Vietnam Pro',sans-serif; letter-spacing:.1px; text-shadow:0 1px 2px white,0 -1px 2px white,1px 0 2px white,-1px 0 2px white; pointer-events:none; }
.atlas-place-label.atlas-label-night { color:#8b9eaf; text-shadow:0 1px 2px #132137,0 -1px 2px #132137,1px 0 2px #132137,-1px 0 2px #132137; }
.gis-water-key { display:inline-block; width:17px; height:9px; border:1px solid #459cbe; border-radius:3px; background:#9ed8ef; }
.gis-style-geography .atlas-water-legend { display:none; }

/* Every axis label sits inside an allocated SVG gutter, including unit and date/time rows. */
:root body.observatory-interface .chart { overflow:visible; }
:root body.observatory-interface .chart .chart-axis-label { fill:#5a7090; font-size:14px; font-weight:500; }
:root body.observatory-interface .chart .chart-unit-label { fill:#607891; font-size:14px; font-weight:600; }
:root body.observatory-interface .chart .chart-time-label tspan { fill:#8798ac; font-size:11px; }
:root body.observatory-interface .chart-legend { flex-wrap:wrap; gap:6px 12px; line-height:1.6; margin-top:8px; }
@media(max-width:760px) {
    :root body.observatory-interface .chart .chart-axis-label,
    :root body.observatory-interface .chart .chart-unit-label { font-size:16px; }
    :root body.observatory-interface .chart .chart-time-label tspan { font-size:14px; }
}
@media(max-width:600px) {
    .gis-basemap-toolbar > span { display:none; }
    .gis-basemap-switch { width:100%; }
    .gis-basemap-switch button { justify-content:center; flex:1; padding:6px 4px; min-height:36px; }
}
