/* Standalone component styles; no global site/minified CSS changes.
 * Parent wrapper and sandboxed document share this file, each explicitly scoped.
 * Map controls retain 16px text; source credits use the requested 12px/20px.
 */
.ks-customer-map { clear: both; margin: 32px 0; }
.ks-customer-map h2 { margin-bottom: 16px; }
.ks-customer-map-embed { overflow: hidden; border: 1px solid #d6e0e4; border-radius: 12px; box-shadow: 0 4px 18px #003d5014; }
.ks-customer-map iframe { width: 100%; height: 560px; display: block; border: 0; }
.ks-customer-map .customer-map-credits { font-size: 12px; line-height: 20px; margin: 12px 0 0; }
.ks-customer-map .customer-map-credits a { color: var(--text-link, #1687c9); text-decoration: underline; }
.ks-customer-map .customer-map-credits a:hover { color: var(--primary, #a00000); }
.customer-map-frame { margin: 0; padding: 0; background: #fafafb; color: #003d50; font: 16px/24px Arial, sans-serif; }
.customer-map-frame *, .customer-map-frame *::before, .customer-map-frame *::after { box-sizing: border-box; }
.customer-map-document { position: relative; height: 100vh; }
.customer-map-canvas { width: 100%; height: 100%; background: #edf2f4; }
.customer-map-frame .customer-map-pin { display: grid; place-items: center; border-radius: 50%; background: #12868a; border: 2px solid #fff; box-shadow: 0 2px 8px #003d5060; color: #fff; font: 700 16px/20px Arial, sans-serif; }
.customer-map-frame .customer-map-cluster { background: #006c76; border: 3px solid #fff; }
.customer-map-frame .customer-map-pin span { white-space: nowrap; padding: 2px; }
.customer-map-frame .leaflet-popup-content { font: 16px/24px Arial, sans-serif; margin: 16px; max-width: 260px; }
.customer-map-frame .leaflet-popup-content p { margin: 8px 0 0; }
.customer-map-frame .leaflet-control-attribution { font-size: 16px; line-height: 22px; max-width: 100%; white-space: normal; }
.customer-map-frame .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
.customer-map-frame .leaflet-popup-close-button { font-size: 24px; }
.customer-map-frame .customer-map-status { position: absolute; z-index: 1000; left: 12px; right: 12px; bottom: 34px; margin: 0; padding: 12px 16px; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px #003d5030; font-size: 16px; line-height: 24px; }
.customer-map-frame .customer-map-status[hidden] { display: none; }
.customer-map-frame .customer-map-message { margin: 0; padding: 24px; font-size: 16px; line-height: 24px; }
@media (max-width: 600px) {
    .ks-customer-map { margin: 24px 0; }
    .ks-customer-map iframe { height: 400px; }
}
