/* EPA V135: shared Leaflet layer control, minimal footprint. */
.leaflet-control-layers.epa-map-switch-v131{padding:1px!important;margin:5px 5px 0 0!important;border:1px solid #d6e2ea!important;border-radius:7px!important;box-shadow:0 1px 3px #082b471a!important;background:#fffef9!important;max-width:calc(100% - 10px)!important}
.epa-map-switch-v131 .leaflet-control-layers-list{padding:0!important;margin:0!important;display:block!important}
.epa-map-switch-v131 .leaflet-control-layers-base{display:flex!important;align-items:center!important;gap:0!important}
.epa-map-switch-v131 .leaflet-control-layers-base label{margin:0!important;padding:0!important;display:block!important;cursor:pointer!important}
.epa-map-switch-v131 .leaflet-control-layers-base label span{display:flex!important;align-items:center!important;justify-content:center!important;padding:4px 7px!important;min-width:0!important;min-height:23px!important;border-radius:6px!important;font:600 10px/1.1 Arial,system-ui,sans-serif!important;color:#50687b!important;white-space:nowrap!important}
.epa-map-switch-v131 .leaflet-control-layers-base label input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.epa-map-switch-v131 .leaflet-control-layers-base label:has(input:checked) span{background:#0b607d!important;color:#fff!important}
.epa-map-switch-v131 .leaflet-control-layers-separator{display:none!important}
@media(max-width:600px){.epa-map-switch-v131 .leaflet-control-layers-base label span{padding:3px 6px!important;font-size:9px!important;min-height:22px!important}}

/* V137: smaller switch on every Leaflet map; keep touch targets usable. */
.leaflet-control-layers.epa-map-switch-v131{margin:4px 4px 0 0!important;padding:1px!important;border-radius:6px!important;box-shadow:0 1px 2px #092c4c22!important}
.epa-map-switch-v131 .leaflet-control-layers-base label span{padding:3px 5px!important;min-height:22px!important;font-size:9px!important;font-weight:600!important;border-radius:5px!important;line-height:1!important}
@media(max-width:600px){.epa-map-switch-v131 .leaflet-control-layers-base label span{padding:3px 5px!important;min-height:21px!important;font-size:9px!important}}

/* V142: Leaflet's nested label spans must not both receive button styling. */
.leaflet-control-layers.epa-map-switch-v131{box-sizing:border-box!important;overflow:hidden!important;padding:2px!important;margin:8px 8px 0 0!important;border:1px solid #d5e2ea!important;border-radius:10px!important;background:#fff!important;box-shadow:0 2px 7px rgba(13,45,68,.12)!important;line-height:normal!important}
.epa-map-switch-v131 .leaflet-control-layers-base{display:flex!important;align-items:stretch!important;gap:2px!important}
.epa-map-switch-v131 .leaflet-control-layers-base label{display:block!important;flex:1 1 0!important;min-width:0!important;margin:0!important;padding:0!important;line-height:normal!important}
.epa-map-switch-v131 .leaflet-control-layers-base label > span{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;margin:0!important;padding:0 9px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;background:transparent!important;color:#526578!important;font:600 11px/1 Arial,system-ui,sans-serif!important;white-space:nowrap!important}
.epa-map-switch-v131 .leaflet-control-layers-base label > span > span{display:inline!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font:inherit!important;line-height:inherit!important}
.epa-map-switch-v131 .leaflet-control-layers-base label:has(input:checked) > span{background:#075b79!important;color:white!important}
.epa-map-switch-v131 .leaflet-control-layers-base label input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.epa-map-switch-v131 .leaflet-control-layers-base label:focus-within > span{outline:2px solid #65a9c4!important;outline-offset:-2px!important}
@media(max-width:600px){.epa-map-switch-v131 .leaflet-control-layers-base label > span{height:28px!important;min-height:28px!important;padding:0 8px!important;font-size:10px!important}}
