.service-map-page {
  --map-water: #bfd8dd;
  --map-land: #ebe7d7;
  --map-boundary: #a8b0a5;
  --map-label: #56605b;
  --map-label-halo: #ebe7d7;
  display: grid;
  gap: 16px;
  padding-block: 20px 12px;
}
.service-map-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.service-map-header .page-title { font-size: clamp(1.75rem,4vw,2.75rem); }
.service-map-header p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.service-map-header nav,.map-header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.service-map-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--text);
  overflow: auto;
}
.service-map-fullscreen::backdrop { background: var(--paper); }
body:has(.service-map-fullscreen[open]) { overflow: hidden; }
.service-map-fullscreen .service-map-page {
  --expanded-edge: clamp(12px,2vw,28px);
  width: 100%;
  height: 100%;
  padding: var(--expanded-edge);
  gap: 12px;
  grid-template-rows: auto auto minmax(0,1fr);
}
.service-map-fullscreen .service-map-header { align-items: center; }
.service-map-fullscreen .service-map-header :is(p,nav) { display: none; }
.service-map-fullscreen .service-map-layout { height: auto; min-height: 185px; }
.service-map-toolbar {
  display: grid;
  grid-template-columns: minmax(270px,1fr) auto;
  align-items: end;
  gap: 10px 14px;
  margin: 0;
  min-width: 0;
  padding: 0;
  border: 0;
}
.service-map-toolbar .search-form { gap: 6px; }
.service-map-toolbar .search-submit { min-width: 78px; padding-inline: 12px; }
.service-map-toolbar .search-field { min-width: 0; }
.service-map-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.map-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.2;
}
.map-filter:hover { border-color: var(--accent); }
.map-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.map-filter .icon { width: 18px; height: 18px; filter: brightness(0); }
.map-filter[aria-pressed="true"] .icon { filter: none; }
.service-map-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(234px,288px);
  height: clamp(460px,calc(100svh - 260px),720px);
  border: 1px solid var(--border);
}
.service-map-stage { position: relative; isolation: isolate; min-width: 0; --map-marker: #28312e; }
.service-map-stage[data-map-service="fasttrack"] { --map-marker: #963b30; }
.service-map-stage[data-map-service="lounges"] { --map-marker: #296158; }
.service-map-stage[data-map-service="assistance"] { --map-marker: #65537a; }
.service-map-stage[data-map-service="vip"] { --map-marker: #655329; }
.service-map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--map-water); }
.service-map-canvas .map-label span {
  display: block;
  width: max-content;
  transform: translate(-50%,-50%);
  font: 600 10px/1.1 Geist,system-ui,sans-serif;
  letter-spacing: .025em;
  color: var(--map-label);
  text-shadow: 0 1px 2px var(--map-label-halo),0 -1px 2px var(--map-label-halo);
}
.map-pin,.map-cluster {
  display: grid;
  place-items: center;
  border: 2px solid var(--map-marker);
  box-shadow: 0 1px 4px #14251b30;
  line-height: 1;
}
.map-cluster { border-radius: 50%; background: #faf7ef; color: var(--map-marker); font: 500 15px/1 var(--mono); }
.map-pin { background: var(--map-marker); color: #faf7ef; font: 500 12px/1 var(--mono); }
.map-pin-active { background: #faf7ef; color: var(--map-marker); box-shadow: 0 0 0 2px var(--map-marker); }
.map-pin:hover,.map-cluster:hover { box-shadow: 0 0 0 2px #faf7ef; }
.map-camera {
  position: absolute;
  z-index: 800;
  inset: 12px 12px auto auto;
  display: grid;
  grid-template-columns: 44px 44px auto;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.map-camera button { min-height: 44px; border: 0; background: var(--surface); color: var(--text); padding-inline: 10px; font-size: 13px; }
.map-camera :is([data-map-zoom]) { font: 500 20px/1 var(--mono); }
.map-camera button:hover:not([disabled]) { background: var(--elevated); }
.map-camera button[disabled] { opacity: .55; }
.map-attribution,.map-layer-status {
  position: absolute;
  z-index: 800;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  padding: 2px 6px;
}
.map-attribution { inset: auto 0 0 auto; }
.map-layer-status { inset: 8px auto auto 8px; }
.map-attribution a:hover { text-decoration: underline; }
.map-google-credit {
  position: absolute;
  z-index: 800;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  pointer-events: none;
}
.map-google-credit img { height: 18px; width: auto; max-width: none; margin: 10px 0 5px 10px; }
.map-google-credit .map-attribution { position: static; max-width: 65%; overflow-wrap: anywhere; }
.map-results { border-left: 1px solid var(--border); background: var(--surface); overflow-y: auto; min-width: 0; }
.map-result-count {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--on-ink);
  background: var(--ink);
  font: 500 12px/17px var(--mono);
  padding: 10px 12px;
}
.map-result-body { padding: 12px; }
.map-result-body h2 { font-size: 18px; line-height: 1.25; font-weight: 600; }
.map-result-body h2:focus { outline-offset: 2px; }
.map-airports,.map-selected-services { list-style: none; padding: 0; margin: 9px 0 0; }
.map-airport,.map-service-link {
  display: grid;
  width: 100%;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: start;
  gap: 8px;
  padding: 9px 5px;
  border: 0;
  border-top: 1px solid var(--border);
  background: none;
  text-align: start;
  font-size: 13px;
  line-height: 1.35;
}
.map-airport:hover,.map-service-link:hover { background: var(--elevated); }
.map-iata { color: var(--accent); font: 500 14px/1.3 var(--mono); }
.map-result-body small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.map-more { margin-top: 8px; width: 100%; }
.map-empty { color: var(--muted); margin-block: 8px; font-size: 14px; }
.map-text-action { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--accent); font-size: 13px; border: 0; background: none; }
.map-text-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-selected-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 8px; margin-block: 5px 12px; }
.map-selected-heading .map-iata { font-size: 25px; }
.map-selected-heading h2,.map-selected-heading p { grid-column: 1/-1; }
.map-selected-heading p { font-size: 13px; color: var(--muted); }
.map-service-link { align-items: center; grid-template-columns: 33px minmax(0,1fr); }
.map-service-link strong { font-weight: 600; }
.map-service-icon { display: grid; place-items: center; width: 33px; height: 33px; background: var(--ink); }
.map-service-icon img { width: 21px; height: 21px; }
.map-google-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 950px) {
  .service-map-toolbar { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .service-map-layout { grid-template-columns: minmax(0,1fr); height: auto; }
  .service-map-stage { height: clamp(300px,48svh,470px); }
  .map-results { border-left: 0; border-top: 1px solid var(--border); overflow: visible; }
  .map-result-count { position: static; }
  .map-filter { min-height: 40px; padding-inline: 8px; }
  .service-map-fullscreen .service-map-header .board { --tile-w: 15px; --tile-h: 25px; --letter: 13px; --tile-gap: 1px; }
  .service-map-fullscreen .service-map-header .button { padding-inline: 9px; }
  .service-map-fullscreen .service-map-layout { min-height: 260px; grid-template-rows: minmax(145px,1.65fr) minmax(115px,1fr); }
  .service-map-fullscreen .service-map-stage { height: auto; }
  .service-map-fullscreen .map-results { min-height: 0; overflow-y: auto; }
  .service-map-fullscreen .map-result-count { position: sticky; }
}
@media (max-width: 760px) and (min-width: 560px) and (orientation: landscape) {
  .service-map-fullscreen .service-map-layout {
    min-height: 155px;
    grid-template-columns: minmax(0,1fr) minmax(180px,32%);
    grid-template-rows: minmax(0,1fr);
  }
}
