.wlc-map-panel{margin:22px 0;padding:18px;border:1px solid var(--line,#dce5ee);border-radius:20px;background:var(--card,#fff);box-shadow:0 8px 30px #17345b08}
.wlc-map-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.wlc-map-heading h2{font-size:22px;line-height:1.3;margin:0}.wlc-map-heading p{font-size:13px;color:var(--muted,#62728c);margin:5px 0 0}
.wlc-map-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.wlc-map-panel .btn{font-size:12px;min-height:39px;padding:8px 12px}.wlc-network-map{height:440px;width:100%;border-radius:14px;border:1px solid #cfdce5;background:#dceef4;z-index:0;isolation:isolate;font:14px/1.5 system-ui,sans-serif;color:#182b43}
.wlc-map-legend{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;font-size:12px;padding:12px 0 2px}.wlc-map-legend>span{display:flex;align-items:center;gap:7px}.map-key{display:inline-block;width:11px;height:11px;background:#1762ee;border-radius:50%}.map-key.followed{background:#009b78}.wlc-map-status{color:var(--muted,#62728c);margin-left:auto}
.wlc-map-sources{font-size:11px;color:var(--muted,#62728c);margin-top:8px}.wlc-map-sources summary{cursor:pointer}.wlc-map-sources a{text-decoration:underline}.wlc-map-fallback{font-size:12px;padding:8px;border-radius:8px;background:#edf5ff;color:#254467}
.wlc-map-marker{background:none!important;border:0!important}.wlc-map-marker span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border:3px solid white;background:#1762ee;color:white;border-radius:50%;box-shadow:0 2px 8px #17345b70;font:bold 13px system-ui}.wlc-map-marker.is-followed span{background:#009b78}.wlc-map-marker:focus-visible{outline:3px solid #172c47;outline-offset:3px;border-radius:50%}
.wlc-map-cluster{background:#1762ee30;border-radius:50%;padding:4px}.wlc-map-cluster span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#1762ee;border:2px solid white;border-radius:50%;color:white;font:bold 12px system-ui;box-shadow:0 1px 5px #17345b40}
.wlc-city-popup{color:#172b45;font:13px/1.5 system-ui,sans-serif}.wlc-city-popup h3{font-size:18px;line-height:1.3;margin:6px 0}.wlc-city-popup p{margin:8px 0;color:#53677f}.wlc-map-city-kind{font-size:10px;font-weight:700;color:#52718b}.wlc-map-popup-actions{display:grid;gap:7px;margin-top:12px}.wlc-map-popup-actions .btn{border:1px solid #d8e2ee;border-radius:9px;color:#145cf0;background:white;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal}.wlc-map-popup-actions .btn.primary{color:white;background:#145cf0;border-color:#145cf0}.wlc-network-map .leaflet-popup-content{margin:16px 18px}.wlc-network-map .leaflet-popup-close-button{color:#354d69}.wlc-network-map .leaflet-control-attribution{font-size:9px;color:#263a50;max-width:280px;white-space:normal}.wlc-network-map .leaflet-control-attribution a{color:#215d92}.wlc-network-map .leaflet-tooltip{font:12px/1.4 system-ui;color:#1c3450}
@media(max-width:760px){.wlc-map-panel{padding:12px;border-radius:15px}.wlc-map-heading{display:block}.wlc-map-heading>.btn{margin-top:10px}.wlc-map-heading h2{font-size:20px}.wlc-network-map{height:390px}.wlc-map-toolbar{gap:5px}.wlc-map-toolbar .btn{font-size:11px;padding:7px 10px}.wlc-map-status{margin-left:0;flex-basis:100%}}
.phone-preview .wlc-map-panel{padding:12px}.phone-preview .wlc-map-heading{display:block}.phone-preview .wlc-map-heading>.btn{margin-top:10px}.phone-preview .wlc-network-map{height:390px}.phone-preview .wlc-map-status{margin-left:0;flex-basis:100%}
.wlc-map-country{background:transparent;border:0;color:#647f86;font:600 13px/22px system-ui;text-align:center;letter-spacing:.3px;white-space:nowrap;text-shadow:0 1px 2px white;pointer-events:none}
/* Leaflet owns the dimensions of its SVG renderers, independently of UI icons. */
.wlc-network-map svg{width:revert!important;height:revert!important;max-width:none!important;max-height:none!important}
/* Raster map tiles keep their native dimensions, independent of photo styles. */
.wlc-network-map .leaflet-tile{width:256px!important;height:256px!important;max-width:none!important;max-height:none!important;object-fit:fill!important;border:0!important;padding:0!important}
/* Imported commune markers stay red even when followed. */
.wlc-map-marker.is-public span,.wlc-map-marker.is-public.is-followed span{background:#d93645}.map-key.public{background:#d93645}.wlc-map-cluster.is-public{background:#d9364530}.wlc-map-cluster.is-public span{background:#d93645}.wlc-map-cluster.is-mixed{background:conic-gradient(#d93645 0 50%,#1762ee 50% 100%)}.unified-network-city{display:flex;flex-direction:column;gap:14px}.unified-network-title{display:flex;align-items:center;gap:11px}.unified-network-title h3{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.network-city-dot{display:block;width:13px;height:13px;border-radius:50%;background:#1762ee;flex-shrink:0}.network-city-dot.is-followed{background:#009b78}.network-city-dot.is-public{background:#d93645}.unified-network-city p{margin:0;font-size:12px;color:var(--muted)}.unified-network-city .space-actions{margin-top:auto}
