/* estilos da planta (TV e editor) */
/* planta */
.pl-galpao { fill: var(--piso); stroke: var(--grade); stroke-width: 0.35; }
.pl-titulo { fill: var(--texto-3); font-size: 1.6px; font-weight: 600; letter-spacing: 0.25px; }
.pl-area { stroke: var(--borda-vidro); stroke-width: 0.1; }
.pl-area-t { fill: var(--texto-1); font-size: 1.05px; font-weight: 700; }
.pl-setor { fill: var(--texto-3); font-size: 1.1px; font-weight: 700; letter-spacing: .1px; text-transform: uppercase; }
.pl-texto { fill: var(--parede); font-weight: 700; }
.maq rect.corpo { stroke: var(--sombra); stroke-width: 0.12; }
.maq .cod { font-weight: 700; letter-spacing: -0.01px; }
.maq .nome { font-size: 0.85px; font-weight: 700; opacity: .92; }
.maq .tempo { font-weight: 700; font-variant-numeric: tabular-nums; }
.maq .aura { fill: none; opacity: 0; }

/* ---------------- TV: planta em duas camadas (js/planta-tv.js) */
.planta-pilha { position: relative; width: 100%; height: 100%; }
.planta-pilha svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; text-rendering: geometricPrecision; overflow: hidden; }
.planta-fundo { will-change: transform; }      /* camada própria: o pisca da frente não repinta o fundo */
.forma { width: .85em; height: .85em; flex: 0 0 auto; }
/* pisca: só a opacidade do corpo do bloco (o código e o tempo ficam firmes) */
.mq.pisca-rapido rect.corpo { animation: pisca-corpo 1s ease-in-out infinite; }
.mq.pisca-lento rect.corpo { animation: pisca-corpo 2.4s ease-in-out infinite; }
@keyframes pisca-corpo { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
body.leve .mq.pisca-lento rect.corpo { animation: none; }
body.leve .mq.pisca-rapido rect.corpo { animation-timing-function: steps(1, end); }
body.leve .tela { transition: none; }
/* chamado novo: contorno pulsante em volta do bloco */
.anel-alerta { fill: none; stroke: var(--perigo-texto); stroke-width: 4px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: anel 1.2s ease-out infinite; }
@keyframes anel { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
