/* Late-loaded cascade for map templates: overrides legacy inline CSS */
/* v3.7.0 – unified map controls and popup surface */
body.ssw-map-page .ssw-filtercontrols #dateFilters[hidden],
body.ssw-map-page .ssw-filtercontrols .filterRow[hidden],
body.ssw-map-page .ssw-filtercontrols #verifiedWrap[hidden]{display:none!important}
body.ssw-map-page .ssw-verified-filter{display:flex!important;align-items:center!important;gap:11px!important;position:relative!important;margin-top:14px!important;cursor:pointer!important;font:700 12px/1.4 'DM Sans',sans-serif!important;color:#edf4ed!important}
body.ssw-map-page .ssw-verified-filter[hidden]{display:none!important}
body.ssw-map-page .ssw-verified-filter input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;opacity:0!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
body.ssw-map-page .ssw-verified-filter .ssw-verified-switch{display:block!important;position:relative!important;flex:0 0 37px!important;width:37px!important;height:22px!important;border:1px solid #68806e!important;border-radius:99px!important;background:#31453a!important}
body.ssw-map-page .ssw-verified-filter .ssw-verified-switch:before{content:''!important;display:block!important;position:absolute!important;top:3px!important;left:3px!important;width:14px!important;height:14px!important;background:#bccbc1!important;border-radius:50%!important;transition:transform .15s!important}
body.ssw-map-page .ssw-verified-filter input:checked + .ssw-verified-switch{background:#c9fd6b!important;border-color:#c9fd6b!important}
body.ssw-map-page .ssw-verified-filter input:checked + .ssw-verified-switch:before{transform:translateX(15px)!important;background:#1d291a!important}
body.ssw-map-page .ssw-verified-filter input:focus-visible + .ssw-verified-switch{outline:2px solid #c9fd6b!important;outline-offset:3px!important}
/* Same popup card/image layout, regardless of view-specific inline styles. */
body.ssw-map-page .leaflet-popup-content-wrapper{padding:0!important;margin:0!important;background:#142019!important;border:1px solid #47624a!important;border-radius:17px!important;overflow:hidden!important;box-shadow:0 18px 48px #0009!important}
body.ssw-map-page .leaflet-popup-content{width:292px!important;min-width:0!important;max-width:min(292px,calc(100vw - 60px))!important;margin:0!important;padding:0!important}
body.ssw-map-page .leaflet-popup-content .ssw-popup-card{margin:0!important;padding:0!important;background:#142019!important;border:0!important}
body.ssw-map-page .leaflet-popup-content .ssw-popup-image{height:166px!important;margin:0!important;padding:0!important;background:#22352a!important;overflow:hidden!important}
body.ssw-map-page .leaflet-popup-content .ssw-popup-image img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:cover!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}
body.ssw-map-page .leaflet-popup-content .ssw-popup-body{padding:18px 19px 19px!important}
body.ssw-map-page .leaflet-popup-content .ssw-popup-placeholder img.ssw-fallback-logo{width:auto!important;height:auto!important;max-width:90px!important;max-height:105px!important;object-fit:contain!important}
body.ssw-map-page .leaflet-popup-tip{background:#142019!important}
body.ssw-map-page a.leaflet-popup-close-button{display:flex!important;justify-content:center!important;align-items:center!important;position:absolute!important;z-index:1000!important;top:9px!important;right:9px!important;width:32px!important;height:32px!important;padding:0!important;margin:0!important;border:1px solid #77937b!important;border-radius:50%!important;background:#13231cef!important;color:#fff!important;font:normal 24px/1 Arial,sans-serif!important;text-decoration:none!important}
body.ssw-map-page a.leaflet-popup-close-button span{display:block!important;font:normal 25px/1 Arial,sans-serif!important;color:#fff!important;position:relative!important;top:-1px!important}
body.ssw-map-page a.leaflet-popup-close-button:hover{background:#c9fd6b!important;border-color:#c9fd6b!important}
body.ssw-map-page a.leaflet-popup-close-button:hover span{color:#102018!important}

