.sm-map{width:100%;height:clamp(345px,56vh,610px);isolation:isolate;background:#e8edf0}
.sm-tools,.sm-key,.sm-file{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.sm-tools{padding:8px 14px;border-top:1px solid #dde4e4}
.sm-tools button,.sm-file button{font:600 .875rem/1.25 system-ui,sans-serif;padding:.48rem .7rem;color:#19395e;background:#fff;border:1px solid #a7b7c6;border-radius:5px;cursor:pointer}
.sm-tools button[aria-pressed=true]{color:#fff;background:#183d6c;border-color:#183d6c}
.sm-tools .sm-open{margin-left:auto}
.sm-key,.sm-file,.sm-warning{margin:8px 14px;font:normal .875rem/1.4 system-ui,sans-serif;color:#334954}
.sm-key span{display:inline-flex;align-items:center;gap:6px}
.sm-key i{width:18px;height:12px;border:2px solid var(--edge);background:var(--fill);display:inline-block;border-radius:2px}
.sm-key [data-g="1"]{--edge:#153b80;--fill:rgba(22,65,148,.66)}
.sm-key [data-g="2"]{--edge:#855914;--fill:#edbd61}
.sm-key [data-g="0"]{--edge:#6d377e;--fill:#be92ce}
.sm-file:empty{display:none}.sm-status{overflow-wrap:anywhere}
.sm-warning{color:#704811}.sm-map .leaflet-control-attribution{font-size:10px;line-height:1.2;max-width:85vw}
.sm-map .leaflet-tooltip,.sm-map .leaflet-popup-content{font:600 .875rem/1.4 system-ui,sans-serif}
.sm-map .leaflet-popup-content p{margin:4px 0}.sm-map:focus-visible{outline:3px solid #276bc0;outline-offset:-3px}
@media(max-width:620px){.sm-map{height:clamp(330px,52svh,440px)}.sm-tools{gap:6px;padding-inline:9px}.sm-tools .sm-open{margin-left:0}.sm-key{gap:6px 10px}}
