.gsw-map-canvas{position:relative;width:100%;height:65vh;min-height:340px;max-height:760px;margin:1rem 0;border:1px solid #bda66c;border-radius:12px;overflow:hidden}.gsw-maptiler-logo{position:absolute;bottom:28px;left:10px;z-index:2}.gsw-map-panel label{display:block;margin:.75rem 0}.gsw-map-panel input:not([type=checkbox]),.gsw-map-panel select{display:block;max-width:100%;width:24rem}.gsw-map-panel li{margin:.65rem 0}.gsw-map-panel details{padding:.75rem 0}.gsw-map-panel [role=alert]{color:#f3c191}.gsw-map-panel .maplibregl-ctrl button{min-height:29px;padding:0}.gsw-map-panel .maplibregl-ctrl-attrib{color:#222}

.gsw-map-critical{border:1px solid #ec4747;background:#521e22;color:#fff;padding:.75rem;border-radius:8px;font-weight:700}.gsw-map-sources{max-height:36rem;overflow:auto}.gsw-map-sources details{border-bottom:1px solid #4d6659}

.gsw-map-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}

.gsw-map-coverage{padding:.75rem;border:1px solid #9a8a50;border-radius:8px;background:#243d29}

/* Consistent phone actions above the map and inside its source records. */
@media(max-width:600px){
 .gsw-map-panel>button[data-map="reload"],.gsw-map-panel>button[data-act="mapsettings"]{display:block;width:100%;min-height:46px;margin:10px 0;padding:11px 14px;line-height:1.35}
 .gsw-map-panel>button[data-act="mapsettings"]{background:transparent;border-color:#819078}
 .gsw-map-panel>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;margin:16px 0}
 .gsw-map-panel>.actions>button{width:100%;min-width:0;min-height:52px;padding:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
 .gsw-map-sources>details{margin:10px 0;padding:12px;border:1px solid #8b80544d;border-radius:12px;background:#10352966}
 .gsw-map-sources>details>summary{cursor:pointer;line-height:1.5;overflow-wrap:anywhere}
 .gsw-map-sources>details>small{display:block;overflow-wrap:anywhere;color:#adc1b3}
 .gsw-map-sources>details>button{display:block;width:100%;min-height:44px;margin:10px 0 0;padding:10px 14px;line-height:1.35;white-space:normal}
 .gsw-map-sources>details>button[data-map="sourceHistory"]{background:transparent;border-color:#819078}
 .gsw-map-sources>details>button[data-map="source"]{background:#226449;border-color:#789f78}
}

.maplibregl-popup{z-index:5}.maplibregl-popup-content{background:#0b2c22;color:#f4f1e8;border:1px solid #bda66c;border-radius:14px;padding:18px;max-height:260px;overflow:auto}.maplibregl-popup-tip{border-top-color:#bda66c!important}.maplibregl-popup-close-button{color:#f4f1e8;padding:2px 8px}.gsw-map-feature-card h3{font-size:16px;margin:4px 0;overflow-wrap:anywhere}.gsw-map-feature-card p{font-size:12px;margin:4px 0 10px}.gsw-map-feature-card article+article{border-top:1px solid #48634f;margin-top:12px;padding-top:12px}

.map-direct-choice{width:min(440px,calc(100vw - 28px));box-sizing:border-box;max-height:85dvh;overflow:auto}.map-direct-choice select{width:100%;min-width:0;box-sizing:border-box}.map-direct-actions{display:flex;flex-wrap:wrap;gap:8px}.map-direct-actions button{flex:1 1 100px}

.gsw-map-precision-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px}.gsw-map-precision-legend span{display:flex;align-items:center;gap:8px;max-width:100%}.gsw-map-precision-legend i{display:inline-block;width:14px;height:14px;box-sizing:border-box;border-radius:50%;flex:0 0 14px}.map-exact-key{background:#e5c983;border:2px solid #103f30}.map-reference-key{border:3px solid #e5c983;background:transparent}.gsw-map-precision-note{color:#e5c983;line-height:1.4}
