/* Legenda bij de kaart (zie legenda.js) */
.map-legend{margin:14px 0 0;border:1px solid rgba(0,0,0,.18);border-radius:10px;background:#fff;color:var(--c-ink-deep)}
.map-legend summary{cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 14px;font-weight:700;list-style:none;color:var(--c-ink-deep)}
.map-legend summary::-webkit-details-marker{display:none}
.map-legend summary::after{content:"";margin-left:auto;margin-right:4px;width:9px;height:9px;border-right:2px solid var(--c-orange);border-bottom:2px solid var(--c-orange);transform:rotate(45deg);transition:transform .25s}
.map-legend[open] summary::after{transform:rotate(-135deg)}
.map-legend-body{padding:2px 14px 14px}
.map-legend h3{margin:12px 0 6px;font-size:.9rem;font-weight:700;color:var(--c-ink-deep);opacity:.8}
.map-legend ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.map-legend li{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--c-ink-deep)}
.map-legend-sw{flex:none;width:64px;height:auto}
.map-legend-note{margin:12px 0 0;font-size:.85rem;color:var(--c-ink-deep);opacity:.7}
