/* Estilos da seção Status dos servidores (#status), fora do estilo.css desde 12/11/2026 (item 10 de velocidade, 5ª leva do CSS partido).
   Baixado sem travar a página (index.html). As classes st- da seção Para streamers ficam em estilo-streamers.css (st-grade, st-caixa, st-passos)
   e a animação st-pulso. */
.st-luz { width: 14px; height: 14px; border-radius: 50%; background: #2fbf71; flex: none; box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); }
.st-item { display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.st-item .st-nome { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.st-item .st-estado { font-size: .9rem; font-weight: 700; color: #2fbf71; white-space: nowrap; }
.st-item[data-st="degraded_performance"] .st-luz, .st-item[data-st="partial_outage"] .st-luz { background: #ffb020; }
.st-item[data-st="degraded_performance"] .st-estado, .st-item[data-st="partial_outage"] .st-estado { color: #ffb020; }
.st-item[data-st="major_outage"] .st-luz { background: #e0352b; }
.st-item[data-st="major_outage"] .st-estado { color: #e0352b; }
.st-item[data-st="under_maintenance"] .st-luz { background: #4c8dff; }
.st-item[data-st="under_maintenance"] .st-estado { color: #4c8dff; }
.st-cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 6px 0 26px; }
.st-cartao { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; align-content: start; --tom: #2fbf71; }
.st-cartao[data-tom="aviso"] { --tom: #f0a020; }
.st-cartao[data-tom="fora"], .st-cartao[data-tom="erro"] { --tom: #e0352b; }
.st-cartao[data-tom="manut"] { --tom: #4c8dff; }
.st-cartao[data-tom="neutro"], .st-cartao[data-tom="carregando"] { --tom: var(--muted); }
.st-cartao-topo { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tom); color: #fff; }
.st-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-rot { display: block; font: 700 .78rem/1.2 var(--data); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.st-val { display: block; margin-top: 3px; font: 900 clamp(1.5rem, 3vw, 1.9rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--tom); overflow-wrap: anywhere; }
.st-cartao[data-tom="ok"] .st-val::before { content: ""; display: inline-block; width: .38em; height: .38em; margin-right: .3em; border-radius: 50%; background: currentColor; vertical-align: .18em; box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); }
.st-dl { margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.st-dl > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.st-dl dt { color: var(--muted); flex: none; }
.st-dl dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; color: var(--muted); }
.st-dl dd b { color: var(--ink); }
.st-secao { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; flex-wrap: wrap; }
.st-secao h3 { margin: 0; font: 900 1.5rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.st-secao::after { content: ""; flex: 1; min-width: 20px; height: 1px; background: var(--line); order: 1; }
.st-secao > :last-child:not(h3) { order: 2; }
.st-periodos { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.st-periodos button { border: 0; background: none; color: var(--muted); font: 800 .85rem var(--data); padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.st-periodos button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.st-periodos button:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; }
.st-hist, .st-ev-caixa { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.st-up { margin: 0 0 12px; color: var(--muted); }
.st-up strong { color: var(--ink); font-size: 1.05rem; }
.st-barras { display: flex; gap: 3px; height: 38px; }
.st-b { flex: 1; min-width: 2px; border-radius: 4px; background: #2fbf71; }
.st-b[data-n="fila"] { background: #f0a020; }
.st-b[data-n="fora"] { background: #e0352b; }
.st-b[data-n="manut"] { background: #4c8dff; }
.st-b[data-n="sem"] { background: var(--line); }
.st-b:hover { filter: brightness(1.15); transform: scaleY(1.08); }
.st-eixo { display: flex; justify-content: space-between; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.st-legenda { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--muted); }
.st-legenda li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #2fbf71; }
.st-legenda [data-n="fila"]::before { background: #f0a020; }
.st-legenda [data-n="fora"]::before { background: #e0352b; }
.st-legenda [data-n="manut"]::before { background: #4c8dff; }
.st-legenda [data-n="sem"]::before { background: var(--line); }
.st-ev-caixa h4 { margin: 0 0 10px; font: 900 1.15rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.st-ev-n { color: var(--muted); margin-left: 4px; }
.st-ev-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.st-ev { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 10px; border-radius: 12px; }
.st-ev:hover { background: rgba(127, 160, 200, .1); }
.st-ev strong { display: block; overflow-wrap: anywhere; }
.st-ev .leve { display: block; font-size: .85rem; }
.st-ev p { margin: 4px 0 0; font-size: .9rem; }
.st-ponto { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #f0a020; }
.st-ev[data-n="fora"] .st-ponto { background: #e0352b; }
.st-ev[data-n="manut"] .st-ponto { background: #4c8dff; }
.st-ev-link { font-size: .82rem; white-space: nowrap; align-self: center; }
.st-ev-vazio { padding: 10px; }
.st-aovivo { font-size: .85rem; color: var(--muted); }
.st-aovivo::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .25); }
@media (prefers-reduced-motion: no-preference) { .st-aovivo::after { animation: st-pulso 2s ease-in-out infinite; } }
.st-grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; align-items: start; }
.st-grupo { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.st-grupo header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.st-grupo h4 { margin: 0; font: 900 1.15rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.st-grupo-st { font: 800 .78rem var(--data); text-transform: uppercase; letter-spacing: .05em; color: #2fbf71; }
.st-grupo-st::before { content: "● "; }
.st-grupo-st[data-n="fila"] { color: #f0a020; }
.st-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; }
.st-grupo .st-item { background: none; border-radius: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.st-grupo .st-item:first-child { border-top: 0; }
.st-item .st-nome small { display: block; font-size: .78rem; margin-top: 2px; }
.st-fonte { margin-top: 18px; }
@media (max-width: 520px) { .st-ev { grid-template-columns: auto 1fr; } .st-ev-link { grid-column: 2; justify-self: start; } .st-barras { gap: 1px; height: 32px; } .st-b { border-radius: 2px; min-width: 1px; } }
