.cs-map-root { min-height: 520px; }
/* Leaflet's own panes stack up to z-index 1000 (the zoom control), and the
   .leaflet-container it builds inside .cs-map has no z-index of its own —
   only position:relative — so it never contains them. Without a stacking
   context here, those panes compare directly against page siblings in the
   root stacking context, including the sticky header's z-index:50, and win:
   the map renders OVER the header once you scroll past it. Giving .cs-map
   its own z-index (any value, contained under 1 here) traps Leaflet's whole
   0-1000 range inside this element's stacking context, so the header's 50
   only has to beat this ONE number, not Leaflet's internal maximum. */
.cs-map { height: 560px; border: 1px solid var(--cs-line, #c9ccd4); position: relative; z-index: 1; }
.cs-map-consent {
	height: 560px; display: flex; flex-direction: column; gap: 16px;
	align-items: center; justify-content: center; text-align: center;
	background: #fff; border: 2px dashed var(--cs-green, #4C6B61); padding: 24px;
}
.cs-map-consent p { max-width: 52ch; color: var(--cs-green, #4C6B61); }
.cs-map-load {
	background: var(--cs-navy, #233F6C); color: #fff; border: 0;
	font-weight: 700; padding: 12px 22px; cursor: pointer;
}
.cs-map-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-map-chips button {
	border: 2px solid var(--cs-green, #4C6B61); background: #fff;
	color: var(--cs-green, #4C6B61); border-radius: 99px;
	padding: 6px 16px; font-weight: 700; cursor: pointer;
}
.cs-map-chips button.on { background: var(--cs-navy, #233F6C); border-color: var(--cs-navy, #233F6C); color: #fff; }
.cs-map-chips select { padding: 6px 10px; border: 1px solid var(--cs-line, #c9ccd4); }
@media (max-width: 760px) { .cs-map, .cs-map-consent { height: 420px; } }

.cs-map-filters {
	display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 12px;
}
.cs-map-filters label {
	display: flex; flex-direction: column; gap: 4px;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	color: var(--cs-green, #4C6B61);
}
.cs-map-filters select {
	font: inherit; text-transform: none; letter-spacing: 0; font-weight: 400;
	padding: 8px 10px; border: 1px solid var(--cs-line, #c9ccd4);
	background: #fff; color: #22314e; min-width: 190px;
}
.cs-f-reset {
	background: #fff; border: 2px solid var(--cs-green, #4C6B61);
	color: var(--cs-green, #4C6B61); font-weight: 700;
	padding: 7px 16px; cursor: pointer;
}
.cs-f-reset:hover { background: var(--cs-navy, #233F6C); border-color: var(--cs-navy, #233F6C); color: #fff; }
.cs-f-count { font-size: 13px; font-weight: 700; color: var(--cs-green, #4C6B61); margin-left: auto; }
@media (max-width: 600px) {
	.cs-map-filters { gap: 10px; }
	.cs-map-filters label, .cs-map-filters select { width: 100%; min-width: 0; }
	.cs-f-count { margin-left: 0; }
}
