/* Live map drawn with the Maps JavaScript API; shares its box with the iframe fallback in pages.css. */
.area-map-canvas { display: block; width: 100%; height: 480px; border-radius: 12px; background: #edf3f0; }
.area-map-canvas:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.area-map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0 8px; list-style: none; font-size: 14px; color: var(--muted); }
.area-map-legend li { display: flex; align-items: center; gap: 8px; }
.area-map-legend .legend-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.area-map-legend .legend-ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); background: rgb(15 127 116 / 10%); box-shadow: none; }
.area-map-note { margin: 10px 0 0; padding: 0 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.area-map-info { font-family: inherit; color: var(--ink); max-width: 260px; }
.area-map-info-name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.area-map-info-address { margin: 6px 0 10px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.area-map-info a { font-size: 13px; }
@media (max-width: 780px) {
  .area-map-canvas { height: 380px; }
  .area-map-legend { font-size: 13px; gap: 8px 14px; }
}
@media print { .area-map-canvas { display: none; } }

.area-map-views { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.area-map-views[hidden] { display: none; }
.area-map-views button { appearance: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--green); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.area-map-views button[aria-pressed="true"] { color: #fff; background: var(--deep-green); }
.area-map-views button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Screen-space callouts follow their geographic anchors at every zoom level. */
.area-map-leaders { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.area-map-leaders line { stroke-width: 2; }
.area-map-leaders circle { stroke: #fff; stroke-width: 1; }
.area-map-place { position: absolute; transform: translate(-50%, -50%); box-sizing: border-box; width: 64px; height: 44px; margin: 0; padding: 0 4px; border: 2px solid #fff; border-radius: 22px; background: var(--place-color); color: #fff; box-shadow: 0 2px 6px #0003; font: 700 13px/1.2 sans-serif; text-align: center; white-space: nowrap; cursor: pointer; }
.area-map-place:hover { filter: brightness(.9); }
.area-map-place:focus-visible { outline: 3px solid #203c36; outline-offset: 3px; }
