/* Park map. Colours come only from the brand tokens; fallbacks match dist/tokens.css. */
.dp-map {
    box-sizing: border-box;
    height: min(80svh, 720px);
    min-height: 320px;
    width: 100%;
    border: 1px solid var(--border, #E3E3E3);
    border-radius: var(--radius-card, 14px);
    background: var(--surface, #FAFAF7);
    overflow: hidden;
}

.dp-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 8px;
}

.dp-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ink, #4E7C4C);
    border-radius: 999px;
    background: var(--surface, #FAFAF7);
    color: var(--ink, #4E7C4C);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.dp-map-btn[aria-pressed="true"] {
    background: var(--green, #97BD21);
    border-color: var(--green, #97BD21);
    color: var(--surface, #FAFAF7);
}

.dp-map-btn:focus-visible,
.dp-map .leaflet-control a:focus-visible {
    outline: 3px solid var(--green, #97BD21);
    outline-offset: 2px;
}

.dp-map-btn[hidden] {
    display: none;
}

.dp-map-status {
    min-height: 1.5em;
    margin: 8px 0 0;
    color: var(--ink-2, #4E7C4C);
}

.dp-map .leaflet-control-zoom a {
    width: 44px;
    height: 44px;
    line-height: 44px;
}

.dp-map .leaflet-control-attribution {
    font-size: 12px;
}

@media (max-width: 480px) {
    .dp-map-actions .dp-map-btn {
        flex: 1 1 100%;
    }
}

/* Illustrated pins: a light halo and a soft shadow keep them readable on the watercolour. */
.leaflet-marker-icon.dp-pin {
	/* Pins take the winter colour (#5b8cd1): the art is olive, hue ~69deg; 146deg turns it blue. */
	filter: hue-rotate(var(--pin-hue, 146deg)) saturate(1.6) drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 3px 4px rgba(0, 0, 0, .45));
}
