/* Map component (Leaflet + OpenFreeMap) */
.bs-map { position: relative; border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; background: #f4f1e7; min-height: 360px; }
.bs-map-canvas { position: absolute; inset: 0; }
.bs-map .leaflet-container { font: inherit; background: #f4f1e7; }
.bs-map-msg { position: absolute; z-index: 800; left: 10px; right: 10px; top: 10px; margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff4e5; color: #7a4b00; font-size: 12px; box-shadow: 0 2px 8px #0002; }
.bs-map-legend { position: absolute; z-index: 700; left: 10px; bottom: 28px; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 12px; border-radius: 10px; background: #fffffff0; font-size: 12px; box-shadow: 0 2px 8px #0002; } .bs-map-legend span { display: inline-flex; align-items: center; gap: 6px; } .bs-map-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #e39824; background: #182349; } .bs-map-legend i.site { border-radius: 4px; border: 2px solid #17795c; background: #e6f6ee; } .bs-map-legend i.sel { background: #e39824; } .bs-map-legend i.line { height: 0; width: 22px; border: 0; border-top: 3px dashed #17795c; border-radius: 0; background: none; }
.bs-map-fit { position: absolute; z-index: 700; right: 10px; top: 10px; padding: 6px 12px; border: 1px solid #c8cbd8; border-radius: 8px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; box-shadow: 0 1px 4px #0002; } .bs-map-fit:hover { background: #f1f2f8; }
.bs-pin-wrap { background: none; border: 0; }
.bs-pin { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 3px solid #e39824; border-radius: 50%; background: #182349; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px #0b172544; }
.bs-pin.cluster { box-shadow: 0 0 0 6px #e398242b, 0 2px 6px #0b172544; } .bs-pin.selected { background: #e39824; color: #101a30; box-shadow: 0 0 0 5px #18234940; }
.bs-pin-site { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid #17795c; border-radius: 6px; background: #e6f6ee; color: #0f4f3d; font-size: 9.5px; font-weight: 700; letter-spacing: -.3px; box-shadow: 0 1px 4px #0b172544; } .bs-pin-site.selected { background: #17795c; color: #fff; box-shadow: 0 0 0 4px #17795c40; }
.leaflet-marker-icon:focus-visible { outline: 3px solid #1b8cff; border-radius: 50%; outline-offset: 4px; }
@media (max-width: 700px) { .bs-map { min-height: 320px; } }
