.location-map-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid #ddd6cd;border-radius:9px;background:#fff;color:#a64512;font:600 13px/1.5 system-ui,sans-serif;cursor:pointer;margin-top:8px;max-width:100%}
.location-map-dialog{width:min(860px,calc(100vw - 32px));max-width:860px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);border:0;border-radius:18px;padding:0;color:#25302b;background:#fff;box-shadow:0 18px 80px #0004;overflow:auto}
.location-map-dialog::backdrop{background:#14201ccc}
.location-map-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 12px}
.location-map-header h2{font-size:19px;line-height:1.5;margin:0}.location-map-header p{font-size:12px;color:#6b746f;margin:4px 0 0}
.location-map-close{flex-shrink:0;width:44px;height:44px;border:1px solid #e2e6e1;border-radius:50%;background:#fff;font:28px/1 system-ui;cursor:pointer;color:#3b4540}
.location-map-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0 20px 14px;font-size:12px}.location-map-legend span{display:flex;align-items:center;gap:7px}.location-map-legend i{width:9px;height:9px;border-radius:50%}
.location-map-canvas{min-height:240px;height:clamp(240px,48vh,490px);height:clamp(240px,48dvh,490px);width:100%;background:#eef0e9;isolation:isolate;font-family:system-ui,sans-serif}
.location-map-footer{padding:14px 20px 18px}.location-map-status{font-size:13px;line-height:1.7;margin:0;color:#46544b}.location-map-note{font-size:11px;line-height:1.7;color:#737c75;margin:10px 0 0}.location-map-actions{display:flex;flex-wrap:wrap;gap:8px}
.location-map-dialog [hidden]{display:none!important}.location-map-dialog .leaflet-control-zoom.leaflet-bar a{width:44px;height:44px;line-height:44px}.location-map-dialog .leaflet-control-attribution{font-size:10px;line-height:1.6;padding:3px 6px;background:#fffffff2}.location-map-dialog .leaflet-control-attribution a{color:#215577;text-decoration:underline}.location-map-dialog .leaflet-tooltip{font:12px/1.5 system-ui,sans-serif;white-space:nowrap}.location-map-dialog .leaflet-container img{max-width:none}.location-map-dialog .leaflet-container svg{width:auto;height:auto;fill:unset;stroke:unset;flex-shrink:initial}
@media(max-width:600px){.location-map-dialog{width:calc(100vw - 16px);max-width:none;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.location-map-header{padding:14px 14px 12px}.location-map-legend{padding:0 14px 12px}.location-map-footer{padding:12px 14px 16px}.location-map-canvas{height:clamp(240px,45vh,420px);height:clamp(240px,45dvh,420px)}}

.location-map-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14201ccc;z-index:10000}
.location-map-dialog.location-map-fallback[open]{display:block;position:fixed;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;z-index:10001}
.location-map-external{display:flex;flex-wrap:wrap;gap:0 8px}.location-map-external a{text-decoration:none}.location-map-external .location-map-note{flex-basis:100%;overflow-wrap:anywhere}
