html, body { margin: 0; padding: 0; height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#map { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #0c0f14; }

#legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 500;
  background: rgba(20, 22, 28, 0.92);
  color: #eaeaea;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
#legend h3 { margin: 0 0 6px 0; font-size: 13px; font-weight: 600; }
#legend ul { list-style: none; padding: 0; margin: 0; }
#legend li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
#legend .swatch {
  display: inline-block; width: 16px; height: 12px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}
#info { margin-top: 8px; font-size: 11px; opacity: 0.75; }
.leaflet-control-attribution { font-size: 10px; opacity: 0.7; }
