/* Cartografia e instrumentos da tela Início. Nenhum seletor altera o app. */
.ni-map {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  isolation: isolate;
  color: #a8c5cf;
}
.ni-map-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ni-map-instruments { pointer-events: none; }
.ni-map-grid { fill: none; stroke: #5291a7; stroke-width: .6; opacity: .13; }
.ni-map-grid path { stroke-dasharray: 2 7; }
.ni-map-crosshairs { fill: none; stroke: #619bae; stroke-width: .8; opacity: .42; }
.ni-map-axis {
  fill: #7495a5;
  font: 8px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 1.7px;
}
.ni-map-sweep {
  transform-origin: 340px 300px;
  animation: ni-map-scan 24s linear infinite;
  opacity: .6;
}
.ni-map-sweep-edge { fill: none; stroke: #77e4db; stroke-width: .7; opacity: .28; }
.ni-map-state { cursor: pointer; outline: none; }
.ni-map-shape {
  fill: var(--ni-map-fill, rgba(26,156,168,.035));
  stroke: #316274;
  stroke-width: .7;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}
.ni-map-state--has-cases .ni-map-shape { stroke: #46908f; }
.ni-map-state:hover .ni-map-shape {
  fill: rgba(56,180,184,.3);
  stroke: #8de1d9;
  stroke-width: 1.25;
}
.ni-map-state--selected .ni-map-shape {
  fill: rgba(47,194,177,.38);
  stroke: #83ead8;
  stroke-width: 1.6;
}
.ni-map-state:focus-visible .ni-map-shape {
  stroke: #e0fff9;
  stroke-width: 2.4;
  fill: rgba(65,192,184,.34);
}
.ni-map-label {
  fill: #789aa9;
  font: 500 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 1px;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: #081621;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.ni-map-state--has-cases .ni-map-label { fill: #bededc; }
.ni-map-state:is(:hover, :focus-visible) .ni-map-label,
.ni-map-state--selected .ni-map-label { fill: #e3fff6; }
.ni-map-leader {
  fill: none;
  stroke: #528893;
  stroke-width: .65;
  opacity: .65;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}
.ni-map-marker { pointer-events: none; }
.ni-map-point { fill: #94fce2; }
.ni-map-point-ring { fill: rgba(82,225,202,.08); stroke: #69d8c4; stroke-width: .7; opacity: .65; }
.ni-map-pulse {
  fill: none;
  stroke: #66ead2;
  stroke-width: .75;
  transform-box: fill-box;
  transform-origin: center;
  animation: ni-map-pulse 3.6s ease-out infinite;
  animation-delay: var(--ni-map-delay, 0s);
}
.ni-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -1px 28px 0;
  padding: 13px 0 0;
  border-top: 1px solid rgba(87,137,152,.13);
  font-size: 10px;
  line-height: 1.5;
  color: #829eac;
}
.ni-map-legend { display: inline-flex; align-items: center; gap: 8px; }
.ni-map-legend-point {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94fce2;
  box-shadow: 0 0 0 3px rgba(101,226,203,.12);
}
.ni-map-heat { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 9px; }
.ni-map-heat i {
  display: inline-block;
  width: 64px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(26,156,168,.3), rgba(221,181,114,.6), rgba(240,98,88,.85));
}
.ni-map-credit { color: #829eac; text-decoration: none; white-space: nowrap; }
.ni-map-credit:hover { color: #b4e9dd; text-decoration: underline; }
.ni-map-credit:focus-visible { outline: 2px solid #94fce2; outline-offset: 4px; }
.ni-paused .ni-map-sweep,
.ni-paused .ni-map-pulse { animation-play-state: paused; }
@keyframes ni-map-scan { to { transform: rotate(360deg); } }
@keyframes ni-map-pulse {
  0% { transform: scale(.8); opacity: .8; }
  75%, 100% { transform: scale(2.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ni-map-sweep { display: none; animation: none; }
  .ni-map-pulse { animation: none; opacity: .3; }
  .ni-map-shape { transition: none; }
}
@media (max-width: 600px) {
  .ni-map-caption { margin-inline: 12px; font-size: 9px; }
  .ni-map-axis { font-size: 9px; letter-spacing: 1px; }
  .ni-map-label { font-size: 12px; }
}
