
/* Water-capacity legend follows the published raster classes. */
.leaflet-control.water-capacity-map-legend { box-sizing:border-box; display:grid; gap:5px; width:260px; max-width:calc(100vw - 24px); padding:11px 13px; border:1px solid #d8cab4; border-radius:10px; background:rgba(255,253,248,.96); box-shadow:0 2px 10px #16293326; color:#20343f; font-family:Arial,sans-serif; font-size:12px; line-height:1.3; }
.leaflet-control.water-capacity-map-legend[hidden] { display:none!important; }
.leaflet-control.water-capacity-map-legend > strong { font-size:13px; }
.leaflet-control.water-capacity-map-legend ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px 8px; padding:0; margin:3px 0; list-style:none; }
.leaflet-control.water-capacity-map-legend li { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.leaflet-control.water-capacity-map-legend i { display:block; flex:0 0 16px; height:13px; border:1px solid #20343f40; border-radius:2px; }
.leaflet-control.water-capacity-map-legend small { display:block; font-size:10px; }
@media(max-width:600px) { .leaflet-control.water-capacity-map-legend { width:238px; padding:8px 10px; gap:3px; } }
