/* Map-specific overrides: site Geist typography, blue accent, accessible mobile controls. */
.wm-shell{background:#0f0f0f}.wm-map{height:min(72vh,680px);min-height:430px;background:#e7edf2;color:#14202c;isolation:isolate}.wm-map.leaflet-container{font-family:Geist,system-ui,sans-serif;z-index:0}.wm-map canvas{position:initial;opacity:1!important;cursor:inherit}.wm-shell .wm-src{padding:16px 20px;margin:0;color:#d0d7e2;line-height:1.6}.wm-src a{color:#f4f1ea}.wm-bar{padding:16px 16px 0}.wm-bar .select{min-height:42px}.wm-sum{flex-wrap:wrap;gap:10px}.cm-search{flex:1 1 220px;display:flex;align-items:center;gap:8px}.cm-search input{width:100%;border:1px solid #ffffff40;border-radius:10px;background:#ffffff0e;color:#fff;padding:10px 12px;font:inherit;font-size:14px;min-height:42px}.cm-search input::placeholder{color:#c0c8d2}.cm-search input:focus{outline:2px solid #f4f1ea;outline-offset:2px}.wmMapNote:empty{display:none}#wmMapNote{margin:0;padding:0 20px 14px;color:#d0d7e2;font-size:13px}.leaflet-container a{color:#0f0f0f}.leaflet-control-attribution{font-size:10px!important;max-width:80%}.leaflet-bar a,.leaflet-bar button{color:#14202c!important;background:#fff!important;min-height:34px;min-width:34px}.cm-reset button{font:24px system-ui;border:0;cursor:pointer}.cm-legend{background:#fffef8f2;color:#263448;border:1px solid #aebdcd66;border-radius:12px;padding:12px;box-shadow:0 3px 16px #0002;display:grid;gap:6px;font-size:11px}.cm-legend strong{font-size:12px}.cm-legend span{display:flex;align-items:center;gap:7px}.cm-legend small{font-size:10px;color:#506274}.cm-dot{height:12px;width:12px;background:#e33245;border:2px solid white;box-shadow:0 0 0 1px #d4283c;border-radius:50%;display:inline-block}.cm-cluster-sample{font:700 9px Geist,sans-serif;background:#d4283c;color:white;border-radius:50%;height:17px;width:17px;text-align:center;line-height:17px}.cm-scale{width:46px;height:9px;background:linear-gradient(90deg,#f4f1ea,#0f0f0f);border:1px solid #0f0f0f55}.cm-marker{background:none!important;border:0!important}.cm-marker span{display:block;width:100%;height:100%;border-radius:50%;background:#dd3045d9;border:2px solid white;box-shadow:0 1px 5px #6e10296b;box-sizing:border-box}.cm-marker.cm-reported span{background:#c77716dd}.cm-marker.cm-unknown span{background:#fff;border:3px solid #cc3046}.cm-marker.cm-reported.cm-unknown span{border-color:#b96b0c}.cm-marker:focus-visible,.cm-cluster:focus-visible{outline:3px solid #ff4d00;outline-offset:4px;border-radius:50%}.cm-cluster{background:none!important;border:0!important}.cm-cluster>div{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#cf283eea;color:white;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 4px #d4283c26,0 3px 10px #0003;box-sizing:border-box}.cm-cluster b{font-size:14px;line-height:1.2}.cm-cluster small{font-size:8px;white-space:nowrap}.cm-popup{font-family:Geist,system-ui,sans-serif;color:#1a2430}.cm-popup h3{font-size:18px;line-height:1.2;margin:8px 0 3px;letter-spacing:-.03em}.cm-popup p{margin:6px 0!important;font-size:13px;line-height:1.5}.cm-kind{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#54687e}.cm-workers{font-size:27px;display:block;margin:12px 0}.cm-workers small{font-size:13px;font-weight:400}.cm-popup dl{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:11px;margin:8px 0 12px}.cm-popup dt{color:#586b80}.cm-popup dd{margin:0;text-align:right}.cm-popup .cm-detail{font-size:11px;color:#586b80;max-height:85px;overflow:auto}.cm-popup-links{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;border-top:1px solid #dde4ec;padding-top:12px;margin-bottom:10px}.cm-popup>small{font-size:10px;color:#657488;line-height:1.4;display:block}.cm-table-kind{display:block;font-size:10px;color:var(--text-2);font-weight:400;margin-top:4px}.cm-help{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0;font-size:12px;color:var(--text-2)}.cm-help i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#dd3045;margin-right:4px}.cm-help .cm-news{background:#c77716}.leaflet-popup-content-wrapper{border-radius:14px}.leaflet-container a.leaflet-popup-close-button{font-size:22px;color:#54687e;padding-top:5px;width:28px;height:28px}.leaflet-marker-icon{max-width:none!important}.leaflet-tile{max-width:none!important}.leaflet-control-zoom a{font-size:23px!important}.wm-map .leaflet-control a:focus-visible,.wm-map button:focus-visible{outline:3px solid #ff4d00;outline-offset:1px}
@media(max-width:600px){.wm-map{height:65svh;min-height:390px}.cm-legend{padding:8px;gap:4px;max-width:210px}.cm-legend small{display:none}.cm-search{flex-basis:100%}.wm-sum{font-size:12px;padding:12px}.wm-bar{gap:8px;padding:12px 12px 0}.wm-shell .wm-src{padding:12px;font-size:11px}.wm-bar .select{flex:1;font-size:12px;min-width:0}.wm-bar .seg{width:100%;display:flex}.wm-bar .seg button{flex:1}.leaflet-popup-content{margin:14px 18px}.cm-popup h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.leaflet-zoom-animated,.leaflet-marker-icon{transition:none!important}}

/* Keep map actions available on phones; the table scrolls horizontally. */
@media(max-width:700px){.wm-table .btn-xs{display:inline-flex;white-space:nowrap}.wm-table{min-width:850px}}

#wmMore[hidden]{display:none!important}
/* Shared actual city map on homepage and dedicated map page. */
.wm-map{overflow:hidden}.cm-home-map{height:520px;min-height:520px;margin:0}.home-city-copy{padding:28px 28px 8px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}.home-city-copy>div:first-child{max-width:480px}.home-city-copy .h2{color:white;margin:12px 0}.home-city-copy p{font-size:14px;color:#c6d0df;line-height:1.5;margin:8px 0}.home-city-copy .chip{color:#e8eef7;border-color:#fff4}.home-city-totals{min-width:280px}.home-city-stat-label{font-size:11px!important;letter-spacing:.06em;text-transform:uppercase}.home-city-totals .wm-hero-stats{margin:14px 0;gap:22px}.home-city-updated{font-size:11px!important}.home-city-footer{display:flex;flex-wrap:wrap;align-items:center;gap:14px;justify-content:space-between;padding:18px 24px}.home-city-footer p{font-size:12px;color:#bdc9da;max-width:650px;margin:0}.cm-place-tools{padding:16px 20px;color:#eff5ff;position:relative;z-index:1}.cm-place-tools label{display:block;font-weight:600;margin-bottom:8px;font-size:16px}.cm-place-input{display:flex;gap:10px}.cm-place-input input{flex:1;min-width:0;background:#fff;color:#192634;font:14px Geist,system-ui,sans-serif;border:1px solid #d0dbe8;border-radius:12px;padding:12px 14px;min-height:46px}.cm-place-input input:focus{outline:3px solid #f4f1ea;outline-offset:2px}.cm-place-tools p{font-size:12px;line-height:1.5;color:#bdc9da;margin:9px 0 0}.cm-place-tools ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cm-place-tools ul:empty{display:none}.cm-place-tools li{margin-top:8px}.cm-place-tools li button{font:13px Geist,system-ui,sans-serif;background:#eef5ff;color:#132b46;border:0;border-radius:10px;min-height:42px;width:100%;text-align:left;padding:9px 12px;cursor:pointer}.cm-place-tools li button:hover{background:#cde6ff}.cm-found-label{font:600 14px Geist,system-ui,sans-serif;color:#0f0f0f;border:2px solid #ff4d00;padding:6px 10px}.cm-activate-overlay{position:absolute;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:18px;touch-action:pan-y;background:transparent}.cm-activate-overlay button{font:600 14px Geist,system-ui,sans-serif;color:#fff!important;background:#132c48ed!important;border:1px solid #fff8;border-radius:24px;box-shadow:0 2px 12px #0004;padding:12px 18px;cursor:pointer}.cm-activate-overlay span{font:10px Geist,system-ui,sans-serif;color:#142d4a;background:#fffffff0;border-radius:12px;margin-top:5px;padding:4px 9px}.cm-done{position:absolute;right:12px;top:12px;z-index:1000;background:#122d48!important;color:#fff!important;border:1px solid #fff8;border-radius:16px;padding:9px 12px;font:600 12px Geist,system-ui,sans-serif;cursor:pointer}.cm-activate-overlay[hidden],.cm-done[hidden]{display:none!important}.wm-map:not(.cm-interacting){touch-action:pan-y}.cm-interacting{touch-action:none}
@media(max-width:600px){.cm-home-map{height:420px;min-height:420px}.home-city-copy{padding:22px 20px 0;gap:14px}.home-city-copy .h2{font-size:28px;line-height:1.12}.home-city-copy>div:first-child{max-width:100%}.home-city-totals{min-width:0;width:100%}.home-city-totals .wm-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.home-city-footer{padding:16px 20px}.cm-place-tools{padding:16px 14px}.cm-place-tools ul{grid-template-columns:1fr 1fr}.cm-place-input{gap:7px}.cm-place-input input{font-size:16px;padding:10px;min-width:0}.cm-place-input .btn{padding:10px 15px;font-size:14px}.cm-legend{max-width:195px}.home-city-card{overflow:hidden}.cm-activate-overlay{padding-top:12px}}
/* Theme-matched map skin. Apply the appearance filter ONLY to the tile pane:
   labels retain contrast; markers, popups, controls and attribution are never inverted.
   CARTO now requires a separately authorized key; this uses existing key-free OSM tiles. */
.wm-shell[data-map-theme]{--cm-bg:#0f0f0f;--cm-panel:#f4f1ea;--cm-raised:#ece8df;--cm-text:#0f0f0f;--cm-muted:#6b6964;--cm-stroke:#0f0f0f22;--cm-red:#0f0f0f;--cm-link:#0f0f0f;--cm-input:#1a1a1a;--cm-cream:#f4f1ea;background:#0f0f0f;color:#f4f1ea;border:1px solid #f4f1ea14;box-shadow:0 28px 70px -32px #000b}
.wm-shell[data-map-theme=light]{--cm-bg:#0f0f0f;--cm-panel:#f4f1ea;--cm-raised:#ece8df;--cm-text:#0f0f0f;--cm-muted:#6b6964;--cm-stroke:#0f0f0f22;--cm-red:#0f0f0f;--cm-link:#0f0f0f;--cm-input:#1a1a1a;--cm-cream:#f4f1ea;background:#0f0f0f;color:#f4f1ea;box-shadow:0 28px 70px -32px #000b}
.wm-map[data-map-theme=dark]{background:#f4f1ea;color:#0f0f0f}.wm-map[data-map-theme=dark] .leaflet-tile-pane{filter:grayscale(1) contrast(.98) brightness(1.12)}.wm-map[data-map-theme=light]{background:#f4f1ea;color:#0f0f0f}.wm-map[data-map-theme=light] .leaflet-tile-pane{filter:grayscale(1) contrast(.98) brightness(1.12)}.wm-map .leaflet-tile{filter:none}
.wm-shell[data-map-theme] .home-city-copy .h2{color:var(--cm-text)}.wm-shell[data-map-theme] .home-city-copy p,.wm-shell[data-map-theme] .home-city-footer p,.wm-shell[data-map-theme] .cm-place-tools p,.wm-shell[data-map-theme] .wm-src,.wm-shell[data-map-theme] #wmMapNote{color:var(--cm-muted)}.wm-shell[data-map-theme] .home-city-copy .chip{color:var(--cm-text);border-color:var(--cm-stroke);background:var(--cm-raised)}.wm-shell[data-map-theme] .wm-hero-stats dt{color:var(--cm-muted)}.wm-shell[data-map-theme] .wm-hero-stats dd{color:var(--cm-red)}.wm-shell[data-map-theme] .cm-place-tools{color:var(--cm-text)}.wm-shell[data-map-theme] .cm-place-input input,.wm-shell[data-map-theme] .cm-search input{background:var(--cm-input);color:var(--cm-text);border:1px solid var(--cm-stroke);box-shadow:inset 0 1px 3px #0001;border-radius:14px;font-family:var(--sans)}.wm-shell[data-map-theme] input::placeholder{color:var(--cm-muted)}.wm-shell[data-map-theme] .cm-place-input input:focus,.wm-shell[data-map-theme] .cm-search input:focus{outline:2px solid var(--cm-red);outline-offset:2px;box-shadow:0 0 0 5px #ff5f6910}.wm-shell[data-map-theme] .cm-place-input>.btn{background:var(--cm-red);color:#fff;border:1px solid #fff1;box-shadow:0 4px 22px #ff4b5c20;border-radius:var(--r-pill)}.wm-shell[data-map-theme] .home-city-footer>.btn{background:var(--cm-raised);color:var(--cm-text);border:1px solid var(--cm-stroke)}.wm-shell[data-map-theme] .cm-place-tools li button{color:var(--cm-text);background:var(--cm-raised);border:1px solid var(--cm-stroke);border-radius:12px}.wm-shell[data-map-theme] .cm-place-tools li button:hover{border-color:var(--cm-red)}
#warnMap .leaflet-control-zoom,#warnMap .cm-reset{border:1px solid var(--cm-stroke);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #0004;background:var(--cm-panel)}#warnMap .leaflet-bar a,#warnMap .leaflet-bar button{background:var(--cm-panel)!important;color:var(--cm-text)!important;border-color:var(--cm-stroke);font-family:var(--sans)}#warnMap .leaflet-bar a:hover,#warnMap .leaflet-bar button:hover{background:var(--cm-raised)!important;color:var(--cm-red)!important}#warnMap .leaflet-control-zoom a{width:36px;height:36px;line-height:35px;font-weight:400}#warnMap .cm-reset button{width:36px;height:36px;font-size:23px}#warnMap .leaflet-control-zoom a:first-child{border-radius:0}#warnMap .leaflet-control-zoom a:last-child{border-radius:0}
.wm-shell[data-map-theme] .cm-legend{background:color-mix(in srgb,var(--cm-panel) 94%,transparent);color:var(--cm-text);border:1px solid var(--cm-stroke);box-shadow:0 6px 26px #0004;border-radius:16px;backdrop-filter:blur(12px);font-family:var(--sans)}.wm-shell[data-map-theme] .cm-legend small{color:var(--cm-muted)}.wm-shell[data-map-theme] .cm-scale{background:linear-gradient(90deg,var(--cm-panel),#d94e64);border-color:var(--cm-stroke);border-radius:3px}.wm-shell[data-map-theme] .cm-dot{background:var(--cm-red);border:1px solid #ffc5cc;box-shadow:0 0 8px #ff5c6b88}.wm-shell[data-map-theme] .cm-cluster-sample{background:#c53449;color:#fff;font-family:var(--mono)}
.cm-marker span{background:#f04d62e8;border:1.5px solid #ffbac2;box-shadow:0 0 0 3px #ff557516,0 0 14px #ff49606b,0 3px 8px #0007}.cm-marker.cm-reported span{background:#e28b59e8;border-color:#ffc59d;box-shadow:0 0 0 3px #ff985516,0 0 12px #fb8e4659}.cm-marker.cm-unknown span{background:#121d2c;border:2px solid #ff7d8a;box-shadow:0 0 12px #ff49606b}.cm-marker.cm-reported.cm-unknown span{border-color:#f9ad70}.cm-cluster>div{background:radial-gradient(circle at 35% 25%,#b6374e,#6b1429 90%);border:1.5px solid #ff8b9b;box-shadow:0 0 0 4px #fb4d6a13,0 0 22px #ff3d5f55,0 4px 14px #0008;color:#fff}.cm-cluster b{font-family:var(--sans);font-weight:600}.cm-cluster small{font-family:var(--mono);font-size:8px;color:#ffd6de}.wm-map[data-map-theme=light] .cm-cluster>div{background:radial-gradient(circle at 35% 25%,#ef5f73,#a71c37);border-color:#fff;box-shadow:0 0 0 4px #ed405620,0 4px 14px #6b132633}.wm-map[data-map-theme=light] .cm-marker.cm-unknown span{background:#fff}
.wm-shell[data-map-theme] .leaflet-popup-content-wrapper,.wm-shell[data-map-theme] .leaflet-popup-tip{background:var(--cm-panel);color:var(--cm-text);border:1px solid var(--cm-stroke);box-shadow:0 12px 42px #0006}.wm-shell[data-map-theme] .leaflet-popup-content-wrapper{border-radius:20px}.wm-shell[data-map-theme] .cm-popup{color:var(--cm-text);font-family:var(--sans)}.wm-shell[data-map-theme] .cm-popup h3{color:var(--cm-text)}.wm-shell[data-map-theme] .cm-kind,.wm-shell[data-map-theme] .cm-popup dt,.wm-shell[data-map-theme] .cm-popup .cm-detail,.wm-shell[data-map-theme] .cm-popup>small{color:var(--cm-muted)}.wm-shell[data-map-theme] .cm-workers{color:var(--cm-red);letter-spacing:-.035em}.wm-shell[data-map-theme] .cm-workers small{color:var(--cm-muted);letter-spacing:0}.wm-shell[data-map-theme] .cm-popup-links{border-color:var(--cm-stroke)}.wm-shell[data-map-theme] .cm-popup a,.wm-shell[data-map-theme] .wm-src a{color:var(--cm-link)}.wm-shell[data-map-theme] a.leaflet-popup-close-button{color:var(--cm-muted)}.wm-shell[data-map-theme] .cm-found-label{background:var(--cm-panel);color:var(--cm-text);border:1px solid var(--cm-red);box-shadow:0 2px 18px #0005;border-radius:12px}.wm-shell[data-map-theme] .cm-found-label:before{border-top-color:var(--cm-red)}
.wm-shell[data-map-theme] .cm-activate-overlay button{background:var(--cm-panel)!important;color:var(--cm-text)!important;border:1px solid #ff7d8a88;border-radius:24px;box-shadow:0 0 0 4px #ff5f6910,0 8px 26px #0006}.wm-shell[data-map-theme] .cm-activate-overlay span{background:var(--cm-panel);color:var(--cm-muted);border:1px solid var(--cm-stroke)}.wm-shell[data-map-theme] .cm-done{background:var(--cm-panel)!important;color:var(--cm-text)!important;border:1px solid var(--cm-red);box-shadow:0 5px 18px #0004}.wm-shell[data-map-theme] .leaflet-control-attribution{background:var(--cm-panel);color:var(--cm-muted);border-top-left-radius:8px;padding:2px 6px}.wm-shell[data-map-theme] .leaflet-control-attribution a{color:var(--cm-text)}.wm-shell[data-map-theme] .leaflet-control a:focus-visible,.wm-shell[data-map-theme] button:focus-visible{outline-color:var(--cm-red)}
/* Dense-city clusters: one legible count, never a worker sub-label outside the circle. */
.wm-map .cm-cluster>div{display:grid;place-items:center;overflow:hidden;padding:0 3px;line-height:1}.wm-map .cm-cluster b{display:block;font-family:var(--sans);font-size:17px;font-weight:700;line-height:1;white-space:nowrap;max-width:100%;text-align:center;text-shadow:0 1px 3px #270812e6;letter-spacing:-.025em}.wm-map .cm-cluster small{display:none}.wm-shell[data-map-theme] .cm-cluster-tip{background:var(--cm-panel);color:var(--cm-text);border:1px solid var(--cm-stroke);border-radius:12px;padding:8px 11px;font:500 12px var(--sans);box-shadow:0 5px 18px #0006;max-width:min(280px,80vw);white-space:normal}.wm-shell[data-map-theme] .cm-cluster-tip:before{border-top-color:var(--cm-panel)}
/* Keep the worker-scaled dot small but provide a generous transparent tap target. */
.wm-map .cm-marker{display:grid;place-items:center;touch-action:manipulation;background:transparent!important}.wm-map .cm-marker span{display:block;pointer-events:none;flex:none}.wm-map .cm-marker:focus-visible{outline:2px solid var(--cm-red);outline-offset:1px}
/* Give mobile popup details priority; avoid panning the selected dot under attribution. */
@media(pointer:coarse){.wm-map.cm-popup-open .leaflet-top.leaflet-left{visibility:hidden;pointer-events:none}.wm-map.cm-popup-open .cm-done{display:none!important}}

/* Black / cream map skin (2026-11-17). Orange only as a thin ring accent. */
.wm-shell[data-map-theme] .home-city-copy .h2{color:#f4f1ea;font-family:var(--htw-serif);font-weight:500;letter-spacing:-.03em}
.wm-shell[data-map-theme] .home-city-copy p,
.wm-shell[data-map-theme] .home-city-footer p,
.wm-shell[data-map-theme] .cm-place-tools p,
.wm-shell[data-map-theme] .wm-src,
.wm-shell[data-map-theme] #wmMapNote{color:#c9c4b8}
.wm-shell[data-map-theme] .home-city-copy .chip{color:#f4f1ea;border-color:#f4f1ea33;background:transparent}
.wm-shell[data-map-theme] .wm-hero-stats dt{color:#c9c4b8}
.wm-shell[data-map-theme] .wm-hero-stats dd{color:#f4f1ea;font-family:var(--htw-serif);font-weight:500}
.wm-shell[data-map-theme] .cm-place-tools{color:#f4f1ea}
.wm-shell[data-map-theme] .cm-place-tools label{color:#f4f1ea}
.wm-shell[data-map-theme] .cm-place-input input,
.wm-shell[data-map-theme] .cm-search input{background:#1a1a1a;color:#f4f1ea;border:1px solid #f4f1ea33}
.wm-shell[data-map-theme] input::placeholder{color:#9a958b}
.wm-shell[data-map-theme] .cm-place-input input:focus,
.wm-shell[data-map-theme] .cm-search input:focus{outline:2px solid #f4f1ea;outline-offset:2px;box-shadow:none}
.wm-shell[data-map-theme] .cm-place-input>.btn{background:#f4f1ea;color:#0f0f0f;border:1px solid #f4f1ea;box-shadow:none}
.wm-shell[data-map-theme] .home-city-footer>.btn{background:transparent;color:#f4f1ea;border:1px solid #f4f1ea55}
.wm-shell[data-map-theme] .cm-place-tools li button{color:#0f0f0f;background:#f4f1ea;border:1px solid #0f0f0f22}
.wm-shell[data-map-theme] .cm-place-tools li button:hover{border-color:#0f0f0f}
.wm-map .cm-cluster>div,
.wm-map[data-map-theme=light] .cm-cluster>div,
.wm-map[data-map-theme=dark] .cm-cluster>div{
  background:#0f0f0f;color:#ffffff;border:1.5px solid #ff4d00;box-shadow:0 3px 10px #0003;
}
.wm-map .cm-cluster b{color:#ffffff;text-shadow:none;font-family:var(--sans);font-weight:600}
.cm-cluster-sample{background:#0f0f0f;color:#ffffff;border:1px solid #ff4d00;box-sizing:border-box;font-family:var(--sans)}
.cm-dot{background:#0f0f0f;border:2px solid #ffffff;box-shadow:0 0 0 1px #0f0f0f}
.cm-marker span{background:#0f0f0f;border:2px solid #ffffff;box-shadow:0 1px 5px #0004}
.cm-marker.cm-reported span{background:#0f0f0f;border:2px solid #ff4d00;box-shadow:none}
.cm-marker.cm-unknown span{background:transparent;border:2px solid #0f0f0f;box-shadow:none}
.cm-marker.cm-reported.cm-unknown span{border-color:#ff4d00;background:transparent}
.cm-marker:focus-visible,.cm-cluster:focus-visible,.wm-map .cm-marker:focus-visible{outline:2px solid #0f0f0f;outline-offset:2px}
.cm-scale{background:linear-gradient(90deg,#f4f1ea,#0f0f0f);border:1px solid #0f0f0f33}
.wm-shell[data-map-theme] .cm-scale{background:linear-gradient(90deg,#f4f1ea,#0f0f0f);border-color:#0f0f0f33}
.leaflet-bar a,.leaflet-bar button,
.wm-shell[data-map-theme] .leaflet-bar a,
.wm-shell[data-map-theme] .leaflet-bar button{color:#0f0f0f!important;background:#f4f1ea!important;border-color:#0f0f0f22}
.wm-shell[data-map-theme] .leaflet-control-attribution{background:#f4f1ea;color:#6b6964}
.wm-shell[data-map-theme] .leaflet-control-attribution a{color:#0f0f0f}
.wm-shell[data-map-theme] .leaflet-control a:focus-visible,
.wm-shell[data-map-theme] button:focus-visible{outline-color:#0f0f0f}
.wm-shell[data-map-theme] .cm-legend{background:#f4f1eaf2;color:#0f0f0f;border:1px solid #0f0f0f22}
.wm-shell[data-map-theme] .cm-legend small{color:#6b6964}
.wm-shell[data-map-theme] .leaflet-popup-content-wrapper,
.wm-shell[data-map-theme] .leaflet-popup-tip{background:#f4f1ea;color:#0f0f0f;border:1px solid #0f0f0f22}
.wm-shell[data-map-theme] .cm-popup,
.wm-shell[data-map-theme] .cm-popup h3{color:#0f0f0f}
.wm-shell[data-map-theme] .cm-kind,
.wm-shell[data-map-theme] .cm-popup dt,
.wm-shell[data-map-theme] .cm-popup .cm-detail,
.wm-shell[data-map-theme] .cm-popup>small{color:#6b6964}
.wm-shell[data-map-theme] .cm-workers{color:#0f0f0f;font-family:var(--htw-serif);font-weight:500}
.wm-shell[data-map-theme] .cm-workers small{color:#6b6964;font-family:var(--sans)}
.wm-shell[data-map-theme] .cm-popup-links{border-color:#0f0f0f22}
.wm-shell[data-map-theme] .cm-popup a,
.wm-shell[data-map-theme] .wm-src a{color:#0f0f0f}
.wm-shell[data-map-theme] a.leaflet-popup-close-button{color:#6b6964}
.wm-shell[data-map-theme] .cm-found-label{background:#f4f1ea;color:#0f0f0f;border:1px solid #0f0f0f}
.wm-shell[data-map-theme] .cm-found-label:before{border-top-color:#f4f1ea}
.wm-shell[data-map-theme] .cm-activate-overlay button,
.wm-shell[data-map-theme] .cm-done{background:#f4f1ea!important;color:#0f0f0f!important;border:1px solid #0f0f0f33!important;box-shadow:0 5px 18px #0003}
.wm-shell[data-map-theme] .cm-activate-overlay span{background:#f4f1ea;color:#6b6964;border:1px solid #0f0f0f22}
.cm-help i{background:#0f0f0f;border:1px solid #0f0f0f}
.cm-help .cm-news{background:transparent;border:1.5px solid #ff4d00;box-sizing:border-box}
.wm-map{background:#f4f1ea}

.wm-shell[data-map-theme] .cm-cluster-sample,
.wm-shell[data-map-theme=light] .cm-cluster-sample,
.wm-shell[data-map-theme=dark] .cm-cluster-sample{background:#0f0f0f;color:#ffffff;border:1px solid #ff4d00;font-family:var(--sans);box-sizing:border-box}

/* land = cream: tiles multiply over the cream map background so tile white becomes #f4f1ea */
/* (multiply on the pane can't see the container background; tint with an in-pane cream layer instead) */
.wm-map[data-map-theme] .leaflet-tile-pane{filter:none}
.wm-map[data-map-theme] .leaflet-tile-pane .leaflet-layer img.leaflet-tile{filter:grayscale(1) contrast(.98) brightness(1.12)}
.wm-map .leaflet-tile-pane::after{content:"";position:absolute;left:-4000px;top:-4000px;width:8000px;height:8000px;background:#f4f1ea;mix-blend-mode:multiply;pointer-events:none;z-index:10}

/* links in the black map shell footer must be cream, not black */
.wm-shell[data-map-theme] .wm-src a{color:#f4f1ea}
