.dwa-map {
    --dwa-blue: #287cab;
    --dwa-green: #9abb43;
    --dwa-fill-opacity: .28;
    --dwa-ink: #233c48;
    color: var(--dwa-ink);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr);
    gap: clamp(1rem, 3vw, 2.25rem);
    align-items: start;
    font: inherit;
}
.dwa-map:has(> .dwa-map__controls) {
    grid-template:
        "map controls" auto
        "map sidebar" 1fr / minmax(0, 2fr) minmax(245px, 1fr);
    gap: 1rem clamp(1rem, 3vw, 2.25rem);
}
.dwa-map:has(> .dwa-map__controls) > .dwa-map__mapcol { grid-area: map; }
.dwa-map > .dwa-map__controls { grid-area: controls; }
.dwa-map:has(> .dwa-map__controls) > .dwa-map__sidebar { grid-area: sidebar; }
.dwa-map [hidden] { display: none !important; }
.dwa-map__mapcol { min-width: 0; }
.dwa-map__mapcol:has(.dwa-map__canvas[hidden]) { display: none; }
.dwa-map:has(.dwa-map__canvas[hidden]) { display: block; }
.dwa-map__canvas { height: clamp(420px, 74vh, 780px); background: #edf0ec; isolation: isolate; border: 1px solid #abbabf; }
.dwa-map .leaflet-tile-pane { filter: saturate(.68) contrast(.86) brightness(1.08); }
.dwa-map .leaflet-control-attribution { color: #263a40; background: #fffe; }
.dwa-map__controls { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.dwa-map__controls label { flex: 1 1 100%; font-size: .95rem; font-weight: 650; }
.dwa-map__marker-filter { min-width: 0; overflow-wrap: anywhere; }
.dwa-map__marker-filter label { display: flex; align-items: baseline; gap: .5em; cursor: pointer; font-weight: 400; }
.dwa-map__marker-filter small { display: block; margin-top: .25rem; }
.dwa-map button.dwa-map__reset { width: auto; min-height: 2rem; padding: .25rem .625rem; background: white; color: #263a40; border: 1px solid #abbabf; font: inherit; cursor: pointer; }
.dwa-map button.dwa-map__reset:hover { background: #f4f4f4; }
.dwa-map .dwa-map__region-tooltip { width: max-content; max-width: min(14rem, 40vw); white-space: normal; overflow-wrap: anywhere; }
.dwa-map__controls select { box-sizing: border-box; font: inherit; color: inherit; border-radius: 3px; }
.dwa-map__controls select { display: block; padding: .55em; margin-top: .4rem; width: 100%; min-height: 44px; background: white; border: 1px solid #71848d; }
.dwa-map__sidebar { min-width: 0; }
.dwa-map__sidebar > .dwa-map__controls { margin-bottom: 1rem; }
.dwa-map__sidebar a { color: #075d85; text-decoration: underline; overflow-wrap: anywhere; }
.dwa-map :focus-visible { outline: 3px solid #975600; outline-offset: 2px; }
.dwa-map__prompt { margin: 0; }
.dwa-map__region summary { border-top: 1px solid #cbd5d9; padding: .7rem 0; cursor: pointer; }
.dwa-map__label { white-space: nowrap; color: #34434a; font: 700 13px/1.2 system-ui,sans-serif; text-shadow: 0 0 3px white, 0 0 4px white; }
.dwa-map__label span { position: absolute; transform: translate(-50%, -50%); }
.dwa-map__pin span { display: block; width: 17px; height: 17px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #064461; border: 2px solid white; box-shadow: 0 1px 4px #263a4099; }
.dwa-map__cluster { display: grid; place-items: center; box-sizing: border-box; border: 2px solid white; border-radius: 50%; background: #064461; color: white; font: 700 13px/1 system-ui,sans-serif; box-shadow: 0 1px 4px #263a4099; }
.dwa-map__cluster span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dwa-map__status { margin: .5rem 0; }
.dwa-map .leaflet-popup-content { white-space: pre-line; }
@media (max-width: 899px) {
    .dwa-map { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .dwa-map:has(> .dwa-map__controls) {
        grid-template: "controls" "map" "sidebar" / minmax(0, 1fr);
    }
    .dwa-map__canvas { height: clamp(300px, 42svh, 420px); }
}

