/* Map-only styling, inspired by mapcn's MarkerLabel. */
.service-map-card{min-width:0;display:flex;flex-direction:column;align-self:stretch}
.service-map-frame{isolation:isolate;position:relative;overflow:hidden;border-radius:18px;min-width:0;flex:1 1 auto;min-height:360px;background:#dce3d6;border:1px solid #c5d2bb;box-shadow:0 12px 34px #030a092c;color:#142419}
.service-map-viewport{position:absolute;inset:0;background:#eef1ed}
.service-map-viewport:focus-within{outline:2px solid #456f39;outline-offset:-4px}
.service-map-location,.service-map-status{position:absolute;left:12px;display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 24px);z-index:2;pointer-events:none}
.service-map-location{top:12px;padding:8px 11px;border-radius:10px;background:#f7f8f6f5;border:1px solid #d8ddda;color:#222a25;font-size:14px;font-weight:800;box-shadow:0 2px 12px #242b2520}
.service-map-status{bottom:42px;padding:7px 9px;border-radius:8px;background:#f6faf2f2;color:#283d29;border:1px solid #d3e0ce;font-size:11px;font-weight:750;line-height:1.2}
.service-map-marker{color:#182b1a;font-family:Manrope,Arial,sans-serif;pointer-events:none}
.service-map-marker-dot{display:block;width:14px;height:14px;background:#43834e;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 5px #25462975}
.service-map-marker-label{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:4px 7px;border-radius:6px;border:1px solid #d8e1d5;background:#fffffff2;font-size:11px;font-weight:800;line-height:1;box-shadow:0 1px 4px #25462921}
.service-map-card .maplibregl-ctrl-group{border-radius:9px;box-shadow:0 2px 10px #25462930}
.service-map-card .maplibregl-ctrl-group button{width:36px;height:36px}
.service-map-card .maplibregl-ctrl-bottom-right{font-family:Arial,sans-serif}
.service-map-frame:not([data-map-state="error"]) .service-map-fallback{display:none}
.service-map-frame[data-map-state="error"] .service-map-viewport{visibility:hidden}
.service-map-fallback,.service-map-no-js{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;padding:20px;background:#edf1e9;text-align:center}
.service-map-fallback p{margin:0 0 8px;color:#243526}
.service-map-fallback a{font-size:13px;color:#245d35}
@media(max-width:760px){.service-map-frame{flex:none;height:310px;min-height:0}.service-map-status{bottom:58px;max-width:200px}}
.service-map-area-key{display:inline-block;flex:none;width:13px;height:13px;border-radius:3px;border:1px dashed #2e783a;background:#72b75048}
.service-map-frame:not([data-boundary-state=ready]) .service-map-status{display:none}
#home .coverage-checker .coverage-limits a{color:#c4ebad;text-underline-offset:3px}

/* Highlighted Census statistical area is distinct from estimated coverage. */
.service-map-zip-status{position:absolute;bottom:76px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:7px;max-width:calc(100% - 24px);padding:6px 8px;border:1px solid #d59a43;background:#fff3dbf5;color:#603402;border-radius:8px;font-size:11px;font-weight:800;line-height:1.2;pointer-events:none}
.service-map-zip-status[hidden]{display:none}
.service-map-zip-key{width:13px;height:13px;flex:none;border:2px solid #a95508;border-radius:3px;background:#f7be59}
.service-map-frame:not([data-boundary-state=ready]) .service-map-zip-status{bottom:42px}
@media(max-width:760px){.service-map-zip-status{bottom:91px}.service-map-frame:not([data-boundary-state=ready]) .service-map-zip-status{bottom:58px}}

/* A map pin shows the approximate Census point, not rooftop precision. */
.service-map-address-pin{width:32px;height:40px;pointer-events:none;z-index:1}
.service-map-address-pin svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 3px #41220465)}
.service-map-address-pin path{fill:#a54c08;stroke:#fff8e9;stroke-width:2.4;stroke-linejoin:round}
.service-map-address-pin circle{fill:#fff2d5}
.service-map-address-key{display:block;width:11px;height:11px;flex:none;border:3px solid #a54c08;border-radius:50%;background:#fff8e9}

/* Desktop grid items share a bottom edge; the coverage panel absorbs spare height. */
@media(min-width:761px) {
  #home .area-grid > div:first-child {display:flex;flex-direction:column;min-width:0}
  #home .area-grid > div:first-child .coverage-checker {flex:1 0 auto}
  #home .area-grid > div:first-child .area-continue {align-self:start;margin-bottom:0}
}
