html, body {
  height: 100%;
  margin: 0;
}

#map {
  width: 100%;
  height: 100vh;
}

/* Marcadores sem página de detalhe mapeada (nós de rede/concentrador) */
.marker-unmapped {
  filter: grayscale(1) opacity(0.7);
}

/* Legenda de comunicação (ver COMM_STYLES em map.js — as cores vivem lá, junto do
   status que elas representam; aqui é só o layout da caixinha). */
.comm-legend {
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  font: 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #333;
}

.comm-legend strong {
  display: block;
  margin-bottom: 4px;
}

.comm-legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comm-legend-row i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid;
  flex: none;
}
