[data-healthcare-provider-map] {
  --hmp-ink: #153744;
  --hmp-muted: #617582;
  --hmp-teal: #126c6a;
  --hmp-teal-dark: #0b4e50;
  --hmp-line: #dce7e5;
  --hmp-soft: #f0f6f5;
  --hmp-paper: #fffdf8;
  --hmp-hospital: #2d647b;
  --hmp-general: #12786f;
  --hmp-dental: #8e5c8c;
  --hmp-eye: #51784b;
  --hmp-mental: #b16e39;
  --hmp-ent: #6774a0;
  color: var(--hmp-ink);
  font: inherit;
  scroll-margin-top: 105px;
}
[data-healthcare-provider-map] *,
[data-healthcare-provider-map] *::before,
[data-healthcare-provider-map] *::after { box-sizing: border-box; }
[data-healthcare-provider-map] [hidden] { display: none !important; }
.hmp-shell { overflow: hidden; border: 1px solid var(--hmp-line); border-radius: 18px; background: #fff; box-shadow: 0 6px 24px #203f4910; }
.hmp-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px 16px; padding: 22px 24px 15px; }
[data-healthcare-provider-map] .hmp-heading h2 { margin: 0; color: var(--hmp-ink); font-size: clamp(23px, 2.6vw, 31px); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; }
[data-healthcare-provider-map] .hmp-heading p { max-width: 55ch; margin: 7px 0 0; color: var(--hmp-muted); font-size: 13px; line-height: 1.5; }
.hmp-heading > a { color: var(--hmp-teal); font-weight: 650; font-size: 12px; text-underline-offset: 3px; }
.hmp-filters { display: grid; grid-template-columns: minmax(180px, 1.55fr) minmax(130px, 1fr) minmax(120px, .8fr) auto; gap: 10px; align-items: end; padding: 0 24px 18px; }
.hmp-filters label { display: grid; gap: 5px; min-width: 0; color: var(--hmp-muted); font-size: 11px; font-weight: 650; letter-spacing: .015em; }
.hmp-filters :is(input, select) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #c7d9d6; border-radius: 9px; padding: 10px 12px; background: #fff; color: var(--hmp-ink); font: inherit; font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: normal; transition: border-color .15s, box-shadow .15s; }
.hmp-filters input::placeholder { color: #819397; opacity: 1; }
.hmp-filters :is(input, select):focus { outline: none; border-color: var(--hmp-teal); box-shadow: 0 0 0 3px #126c6a14; }
.hmp-filters button { min-height: 44px; padding: 10px 14px; border: 1px solid #c7d9d6; border-radius: 9px; background: var(--hmp-soft); color: var(--hmp-teal-dark); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.hmp-filters button:hover { background: #e5f0ee; }
.hmp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 520px; border-top: 1px solid var(--hmp-line); }
.hmp-map-column { display: flex; flex-direction: column; min-width: 0; background: var(--hmp-paper); }
.hmp-map-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 10px 15px; border-bottom: 1px solid var(--hmp-line); background: #f8fbf6; font-size: 11px; color: #58736a; }
.hmp-map-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; }
.hmp-map-options input { width: 15px; height: 15px; margin: 0; accent-color: var(--hmp-teal); }
.hmp-map-options > span { margin-left: auto; color: #70867d; font-size: 10px; }
.hmp-detail-geography, .hmp-distance-scale { pointer-events: none; }
.hmp-context-road { fill: none; stroke: var(--hmp-road-color, #c9bfa5); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.hmp-road-key { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; padding: 9px 15px; border-top: 1px solid #dde7da; background: #f7faf2; color: #677a6d; font-size: 10px; }
.hmp-road-key strong { font-weight: 600; }
.hmp-road-key span { display: inline-flex; align-items: center; gap: 5px; }
.hmp-road-key i { width: 15px; height: 2px; border-radius: 2px; }
.hmp-road-label, .hmp-reference text { fill: #62736c; stroke: #f4f1e4; stroke-width: 5px; stroke-linejoin: round; paint-order: stroke; font: 500 13px Arial, sans-serif; text-anchor: middle; }
.hmp-road-label { fill: #82755e; font-size: 12px; letter-spacing: .025em; }
.hmp-reference > :is(rect,path:not(.hmp-reference-leader)) { fill: #f9fcf7; stroke: #658578; stroke-width: 1.8; }
.hmp-reference-transit > rect { stroke: #658197; }
.hmp-reference-transit text { fill: #5a7484; }
.hmp-reference-leader { fill: none; stroke: #87998b; stroke-width: .8; opacity: .65; }
.hmp-map-narrow .hmp-context-road { stroke-width: 1.6; }
.hmp-map-narrow :is(.hmp-reference text,.hmp-road-label) { font-size: 19px; stroke-width: 6px; }
.hmp-map-narrow .hmp-road-label { font-size: 16px; }
.hmp-map-narrow .hmp-reference-subtitle { font-size: 14px; }
.hmp-distance-scale path { fill: none; stroke: #5a7c72; stroke-width: 1.8; }
.hmp-distance-scale text { fill: #5a7c72; stroke: #f4f1e4; stroke-width: 4px; paint-order: stroke; font: 500 12px Arial, sans-serif; text-anchor: middle; }
.hmp-distance-scale-narrow text { font-size: 18px; }
.hmp-map-frame { position: relative; display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 390px; isolation: isolate; overflow: hidden; background: #ebf3ee; container: healthcare-board / inline-size; }
.hmp-view { width: 100%; min-width: 0; }
.hmp-view > svg, .hmp-main-board > svg { display: block; width: 100%; height: auto; overflow: visible; }
.hmp-main-board { position: relative; min-width: 0; }
.hmp-main-board > .hmp-map-narrow { display: none; }
.hmp-view > .hmp-map-narrow, .hmp-inset > .hmp-map-narrow { display: none; }
.hmp-map-area-title { fill: #507369; font: 650 18px Arial, sans-serif; letter-spacing: .01em; }
.hmp-area-labels { pointer-events: none; }
.hmp-area-label { fill: #526f63; stroke: #f4f1e4; stroke-width: 7px; paint-order: stroke; stroke-linejoin: round; text-anchor: middle; font: 700 21px Arial, sans-serif; letter-spacing: .13em; }
.hmp-area-label-neighborhood { fill: #607c6d; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.hmp-area-label-water { fill: #59858c; stroke: #cce6e7; font-size: 19px; font-weight: 500; font-style: italic; letter-spacing: .08em; }
.hmp-map-narrow .hmp-area-label { font-size: 25px; stroke-width: 8px; letter-spacing: .09em; }
.hmp-map-narrow .hmp-area-label-neighborhood { font-size: 22px; letter-spacing: .025em; }
.hmp-map-narrow .hmp-area-label-water { font-size: 23px; letter-spacing: .03em; }
[data-healthcare-provider-map] .sim-landmark { display: none; }
.hmp-leader { fill: none; stroke: #5c9389; stroke-width: 1.4; stroke-dasharray: 3 3; pointer-events: none; }
.hmp-exact-dot { fill: var(--hmp-color, #416f66); stroke: #fffef8; stroke-width: 1.7; pointer-events: none; }
[data-healthcare-provider-map] .sim-land { fill: #f4f1e4; stroke: #a8c6bc; stroke-width: 1.3; }
[data-healthcare-provider-map] .sim-park { fill: #dce8c9; stroke: #c0d1ac; stroke-width: .7; }
[data-healthcare-provider-map] .sim-road { fill: none; stroke: #fffdf4; stroke-width: 4; stroke-linecap: round; }
[data-healthcare-provider-map] .sim-waves { fill: none; stroke: #a6c9c9; stroke-width: 1.2; opacity: .7; }
[data-healthcare-provider-map] .aim-water { fill: #d8e9e7; stroke: #b5d3cf; stroke-width: .8; }
[data-healthcare-provider-map] .sim-compass { fill: #527c72; font: 650 15px Arial, sans-serif; }
.hmp-inset { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; margin: 0 14px 14px; overflow: hidden; border: 1px solid #c4d8cd; border-radius: 11px; background: #f8fbf3; box-shadow: 0 3px 10px #294f4510; }
.hmp-inset > :is(h3, p, strong) { display: block; margin: 0; padding: 8px 10px; font: 650 12px/1.2 Arial, sans-serif; color: #386253; background: #f7faf0; border-bottom: 1px solid #d8e2cc; }
.hmp-inset svg { display: block; width: 120px; height: auto; }
.hmp-inset > .hmp-map-narrow { display: none; }
.hmp-inset-heading { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; color: #386253; }
.hmp-inset-heading strong { font-size: 14px; line-height: 1.2; }
.hmp-inset-heading span { color: #7b9081; font-size: 11px; line-height: 1.35; }
.hmp-pin { color: var(--hmp-color, var(--hmp-hospital)); cursor: pointer; touch-action: manipulation; text-decoration: none; }
.hmp-pin-hit { fill: transparent; stroke: none; }
.hmp-marker { fill: var(--hmp-color, var(--hmp-hospital)); stroke: #fffdf8; stroke-width: 3; paint-order: stroke; filter: drop-shadow(0 2px 2px #193f4222); transition: stroke-width .16s, filter .16s; }
.hmp-marker-number { fill: #fff; font: 700 15px Arial, sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.hmp-map-narrow .hmp-marker { r: 25px; }
.hmp-map-narrow .hmp-marker-number { font-size: 24px; }
.hmp-map-narrow .hmp-pin-hit { r: 45px; }
.hmp-inset .hmp-marker { r: 115px; stroke-width: 16; }
.hmp-inset .hmp-marker-number { font-size: 94px; }
.hmp-inset .hmp-pin-hit { r: 210px; }
.hmp-inset .hmp-map-area-title, .hmp-inset .sim-compass { display: none; }
.hmp-pin-label { fill: #284f4b; font: 650 14px Arial, sans-serif; paint-order: stroke; stroke: #f8f6ed; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.hmp-pin:hover .hmp-marker, .hmp-pin:focus .hmp-marker, .hmp-pin.is-selected .hmp-marker { stroke: #fff; stroke-width: 5; filter: drop-shadow(0 0 5px #0e63585e); }
.hmp-inset .hmp-pin:is(:hover, :focus, .is-selected) .hmp-marker { stroke-width: 24; }
.hmp-pin:focus { outline: none; }
.hmp-pin:focus-visible .hmp-pin-hit { fill: #fff1b766; stroke: #235f56; stroke-width: 1.5; }
.hmp-pin.is-selected .hmp-pin-label { fill: #0b504d; font-weight: 750; }
.hmp-pin.is-filtered, [data-hmp-connector].is-filtered { opacity: .13; pointer-events: none; }
.hmp-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 12px 17px; border-top: 1px solid #d9e4dc; background: #fafbf4; color: #547266; font-size: 11px; line-height: 1.3; }
.hmp-legend > :is(span, li) { display: inline-flex; align-items: center; gap: 5px; }
.hmp-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--hmp-color, var(--hmp-hospital)); flex: 0 0 auto; }
.hmp-map-note { margin: 0 !important; padding: 9px 17px 12px; color: #6c8076; background: #fafbf4; font-size: 10px; line-height: 1.45; }
.hmp-map-note a { color: inherit; text-underline-offset: 2px; }
.hmp-attribution { display: block; padding: 0 17px 11px; color: #7b8d83; background: #fafbf4; font-size: 9px; line-height: 1.35; }
.hmp-attribution a { color: inherit; text-underline-offset: 2px; }
.hmp-sidebar { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--hmp-line); background: #fff; }
.hmp-results-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px; padding: 14px 15px 10px; color: var(--hmp-muted); font-size: 11px; border-bottom: 1px solid #e8efed; }
.hmp-results-header strong, .hmp-results-header h3 { margin: 0; color: var(--hmp-ink); font-size: 13px; font-weight: 700; }
.hmp-results { flex: 1; min-height: 0; max-height: 315px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9d8d2 transparent; list-style: none; margin: 0 !important; padding: 5px !important; }
.hmp-result { list-style: none; margin: 0 !important; padding: 0; }
.hmp-place { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 9px; row-gap: 3px; align-items: center; min-height: 61px; padding: 10px 9px; border: 1px solid transparent; border-radius: 8px; color: var(--hmp-ink); text-decoration: none !important; transition: background .15s; }
.hmp-place:hover { background: #f4f8f6; }
.hmp-place.is-selected { border-color: #bad7d0; background: #eaf4f0; }
.hmp-number { display: grid; place-items: center; grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; color: var(--hmp-color, var(--hmp-hospital)); background: #eff3f0; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; }
.hmp-place.is-selected .hmp-number { background: var(--hmp-color, var(--hmp-hospital)); color: #fff; }
.hmp-place-name { display: block; grid-column: 2; min-width: 0; font-size: 12px; font-weight: 700; line-height: 1.25; }
.hmp-place-copy { grid-column: 2; min-width: 0; }
.hmp-place-meta { display: block; grid-column: 2; min-width: 0; color: #708280; font-size: 10px; line-height: 1.3; }
.hmp-place-score { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: #56776a; font-size: 10px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hmp-detail { padding: 17px 16px; border-top: 1px solid var(--hmp-line); background: #f8fbf9; }
.hmp-detail-kicker { margin: 0 0 5px !important; color: var(--hmp-teal); font-size: 10px; font-weight: 750; letter-spacing: .025em; }
[data-healthcare-provider-map] .hmp-detail-title { margin: 0 !important; color: var(--hmp-ink); font-size: 17px; line-height: 1.24; font-weight: 750; letter-spacing: -.02em; }
.hmp-detail-address { margin: 8px 0 0 !important; color: #61766e; font-size: 11px; line-height: 1.5; }
.hmp-detail-meta { margin: 8px 0 0 !important; color: #517366; font-size: 10px; line-height: 1.4; }
.hmp-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.hmp-detail-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 10px; border: 1px solid #bfd4cb; border-radius: 7px; background: #fff; color: var(--hmp-teal-dark); font-size: 11px; font-weight: 650; line-height: 1.2; text-decoration: none; }
.hmp-detail-actions a:first-child { border-color: var(--hmp-teal); background: var(--hmp-teal); color: #fff; }
.hmp-detail-actions a:hover { filter: brightness(.96); }
[data-hmp-empty] { margin: 0 !important; padding: 20px 15px; color: var(--hmp-muted); font-size: 12px; line-height: 1.5; }
[data-healthcare-provider-map] :is(a, button):focus-visible { outline: 3px solid #2d8179; outline-offset: 3px; }
@media (max-width: 1100px) {
  .hmp-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .hmp-filters { grid-template-columns: minmax(150px, 1.4fr) minmax(100px, 1fr) minmax(100px, .8fr) auto; gap: 7px; }
  .hmp-heading { padding: 18px 17px 13px; }
  .hmp-filters { padding-inline: 17px; }
}
@media (max-width: 800px) {
  .hmp-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hmp-map-frame { min-height: 0; }
  .hmp-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--hmp-line); }
  .hmp-results-header { grid-column: 1; padding: 12px; }
  .hmp-results { grid-column: 1; max-height: 280px; }
  .hmp-detail { grid-column: 2; grid-row: 1 / span 3; border-top: 0; border-left: 1px solid var(--hmp-line); padding: 15px 14px; }
  [data-hmp-empty] { grid-column: 1; }
  .hmp-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .hmp-filters label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hmp-shell { border-radius: 13px; }
  .hmp-heading { padding: 16px 13px 12px; }
  .hmp-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 13px 14px; gap: 8px; }
  .hmp-filters :is(input, select) { min-height: 44px; padding-inline: 9px; font-size: 12px; }
  .hmp-filters button { grid-column: 1 / -1; min-height: 36px; padding: 6px 10px; }
  .hmp-sidebar { display: flex; }
  .hmp-results-header { padding: 12px 13px; }
  .hmp-results { max-height: 245px; }
  .hmp-place { min-height: 62px; padding: 10px; grid-template-columns: 30px minmax(0, 1fr) auto; }
  .hmp-place-name { font-size: 13px; }
  .hmp-place-meta { font-size: 11px; }
  .hmp-detail { border-left: 0; border-top: 1px solid var(--hmp-line); padding: 16px; }
  .hmp-detail-title { font-size: 18px; }
  .hmp-detail-address { font-size: 12px; }
  .hmp-detail-actions a { min-height: 42px; font-size: 12px; }
  .hmp-legend { gap: 7px 11px; padding: 10px 12px; font-size: 10px; }
  .hmp-map-note { padding: 7px 12px 10px; font-size: 9px; }
  .hmp-inset { margin: 0 9px 9px; border-radius: 8px; }
  .hmp-inset > :is(h3, p, strong) { padding: 6px; font-size: 10px; }
  .hmp-map-frame { padding-block: 0; }
}
@media (prefers-reduced-motion: reduce) {
  [data-healthcare-provider-map] * { transition: none !important; scroll-behavior: auto !important; }
}
@container healthcare-board (max-width: 620px) {
  .hmp-main-board > .hmp-map-wide { display: none; }
  .hmp-main-board > .hmp-map-narrow { display: block; }
  .hmp-view > .hmp-map-wide { display: none; }
  .hmp-view > .hmp-map-narrow { display: block; }
}
@media (max-width: 620px) {
  .hmp-main-board > .hmp-map-wide { display: none; }
  .hmp-main-board > .hmp-map-narrow { display: block; }
  .hmp-view > .hmp-map-wide { display: none; }
  .hmp-view > .hmp-map-narrow { display: block; }
}
@media print {
  .hmp-filters, .hmp-detail, .hmp-results { display: none !important; }
  .hmp-layout { display: block; }
  .hmp-shell { box-shadow: none; border-color: #aaa; }
  .hmp-map-frame { break-inside: avoid; }
}
