body { background: #0e1117; color: #fafafa; }
header { background: #262730; border-bottom: 3px solid #2a5886; }
#mapa { height: 400px; border-radius: 8px; }
.card-cubo { background: #262730; border: 1px solid #2a5886; border-radius: 8px; padding: 12px; height: 100%; }
.card-cubo .local { font-weight: 600; overflow-wrap: anywhere; }
.grafico { position: relative; height: 300px; }
.video-box { position: relative; background: #000; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; }
.video-box video, .video-box iframe { width: 100%; height: 100%; border: 0; background: #000; }
.video-estado { position: absolute; left: 8px; top: 8px; padding: 2px 10px; border-radius: 4px;
  background: rgba(0, 0, 0, .7); font-size: .9rem; pointer-events: none; }
.modal-content { background: #262730; color: #fafafa; }
.leaflet-container { background: #0e1117; }
#seletor { max-width: 100%; }
header h1 { overflow-wrap: anywhere; min-width: 0; }

/* Tiles OSM claros escurecidos para combinar com o tema */
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9); }
