/* Continue the page gradient beyond the viewport, as on standard pages. */
body:has(.zsp-map-page) { background-repeat: no-repeat; background-color: #F1EFEC; }
/* Only the dedicated map page; header, footer and archive styles stay shared. */
.zsp-map-page { padding-block: 1.5rem 2.5rem; }
.zsp-map-page__header { margin-block-end: 1.5rem; }
.zsp-map-page__header h1 { font-size: clamp(1.65rem, 3.3vw, 2.65rem); line-height: 1.15; margin: .45rem 0 .65rem; }
.zsp-map-page__header p { margin: 0; }
.zsp-map-page__eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--zsp-color-text-muted); }
.zsp-map-page__filters { display: flex; gap: .75rem; align-items: end; }
.zsp-map-page__search { flex: 1; min-width: 0; }
.zsp-map-page__category { display: grid; gap: .25rem; min-width: 0; font-size: .8rem; }
.zsp-map-page input, .zsp-map-page select { width: 100%; min-width: 0; min-height: 46px; padding: .65rem .85rem; border: 1px solid var(--zsp-color-border); border-radius: var(--zsp-radius-lg); background: var(--zsp-color-surface); color: var(--zsp-color-text); font: inherit; font-size: 16px; }
.zsp-map-page :is(button, input, select, a):focus-visible { outline: 3px solid var(--zsp-color-warm-neutral); outline-offset: 3px; }
.zsp-map-page__feedback { display: flex; gap: .75rem; align-items: center; min-height: 2.5rem; font-size: .85rem; }
.zsp-map-page__feedback p { margin: .4rem 0; }
.zsp-map-page [data-map-location-status]:empty { display: none; }
.zsp-map-page__stage { position: relative; isolation: isolate; border-radius: var(--zsp-radius-lg); overflow: hidden; }
.zsp-map-page__canvas { height: clamp(420px, 68svh, 760px); background: var(--zsp-color-warm-soft); font-family: var(--zsp-font-sans); }
.zsp-map-page .leaflet-control-zoom a { min-width: 44px; min-height: 44px; line-height: 44px; }
.zsp-map-page .leaflet-control-attribution { max-width: 100%; font-size: 10px; }
.zsp-map-page__hint, .zsp-map-page__move { display: none; }
@media (pointer: coarse) {
 .zsp-map-page__hint, .zsp-map-page__move { display: block; }
 .zsp-map-page__hint { font-size: .8rem; }
 .zsp-map-page__canvas.leaflet-container { touch-action: pan-y; }
 .zsp-map-page__canvas[data-moving="true"] { touch-action: none; }
}
@media (max-width: 700px) {
 .zsp-map-page { padding-top: .75rem; }
 .zsp-map-page__filters { display: grid; grid-template-columns: minmax(0,1fr); gap: .65rem; }
 .zsp-map-page__header { margin-bottom: 1rem; }
 .zsp-map-page__canvas { height: clamp(440px, 72svh, 680px); }
}

.zsp-map-page .leaflet-control-zoom { display: flex; flex-direction: column; gap: 6px; border: 0; background: transparent; box-shadow: none; }
.zsp-map-page .leaflet-bar.leaflet-control-zoom a:first-child, .zsp-map-page .leaflet-bar.leaflet-control-zoom a:last-child { width: 44px; padding: 0; border-radius: 16px; margin: 0; }

.zsp-map-page .zsp-map-page__filters input, .zsp-map-page .zsp-map-page__filters select { height: 46px; min-height: 46px; box-sizing: border-box; }
.zsp-map-page .zsp-map-page__filters select { appearance: none; -webkit-appearance: none; line-height: 1.4; padding-right: 2.25rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.zsp-map-page [hidden] { display: none; }
