#service-map-app[hidden], .pickup-grid[hidden], #area-options[hidden], .area-no-match[hidden] { display: none; }
.area-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.area-tabs button, .area-reset { font: inherit; cursor: pointer; }
.area-tabs button { padding: 11px 16px; min-height: 44px; border: 1px solid #ccd8e7; border-radius: 24px; background: white; color: #1c395e; font-size: .8rem; text-align: left; }
.area-tabs button[aria-pressed="true"] { background: #1c395e; color: white; border-color: #1c395e; }
.area-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(290px, 2fr); gap: 24px; align-items: start; }
.area-map-card, .area-panel { border: 1px solid var(--border); border-radius: 24px; background: white; min-width: 0; }
.area-map-card { overflow: hidden; }
#service-map { height: 490px; min-height: 420px; background: #eaf0f5; }
.area-map-hint { margin: 0; padding: 14px 20px; font-size: .73rem; line-height: 1.6; color: var(--text-light); }
.area-panel { padding: 28px; }
.area-panel label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 10px; }
.area-search-wrap { position: relative; }
#area-search { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #b9cce6; border-radius: 10px; background: #f5f8fd; color: var(--ink); font: inherit; font-size: .83rem; }
#area-options { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; max-height: 240px; overflow-y: auto; margin: 4px 0 0; padding: 6px; list-style: none; background: white; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px #1c395e18; }
#area-options li { padding: 10px; border-radius: 6px; cursor: pointer; font-size: .85rem; }
#area-options li:hover, #area-options li[aria-selected="true"] { background: #edf3fc; }
#area-search-status { font-size: .8rem; color: var(--blue-700); margin: 10px 0; min-height: 1.5em; }
.area-no-match { display: block; font-size: .85rem; margin-bottom: 20px; }
.area-details h3 { font: 500 1.4rem/1.3 var(--font-heading); margin: 8px 0 12px; }
#area-count { color: var(--text-light); font-size: .8rem; margin-bottom: 16px; }
#area-towns { max-height: 235px; overflow-y: auto; padding: 2px; }
.area-reset { display: block; border: 0; padding: 12px 0; min-height: 44px; background: transparent; color: var(--blue-700); font-size: .8rem; text-decoration: underline; margin: 12px 0; }
.area-base { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-light); font-size: .8rem; line-height: 1.8; }
.area-base strong { color: #1c395e; }
.area-pin { width: 28px; height: 28px; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.area-pin::before { content: ''; display: block; width: 11px; height: 11px; margin: auto; background: #1c395e; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #1c395e40; }
.area-pin-hub::before { width: 15px; height: 15px; }
.area-pin.is-muted::before { opacity: .4; }
.area-pin.is-selected::before, .area-pin-base::before { background: #d40732; }
.area-pin-base { z-index: 2; }
.area-pin-base::before { width: 21px; height: 21px; }
.area-pin-base span { position: absolute; bottom: 31px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #1c395e; background: white; border: 1px solid #ccd8e7; border-radius: 8px; padding: 5px 8px; font: 600 11px var(--font-heading); }
#service-map-app button:focus-visible, #area-search:focus-visible { outline: 3px solid #0064e8; outline-offset: 3px; }
#service-map .maplibregl-ctrl-attrib { font-size: 10px; }
@media (max-width: 850px) {
  .area-layout { grid-template-columns: minmax(0, 1fr); }
  #service-map { height: 390px; min-height: 360px; }
  .area-panel { padding: 24px; }
  .area-tabs { gap: 8px; }
  .area-tabs button { font-size: .75rem; padding: 9px 12px; }
}
