:root {
  --bg: #070b14;
  --panel: #0d1424;
  --panel-2: #111a2d;
  --border: #26344e;
  --text: #f3f6fb;
  --muted: #9aa8be;
  --purple: #8b6df6;
  --green: #42d37a;
  --red: #ff5d69;
  --yellow: #ffc857;
  --blue: #5da9ff;
  --cyan: #4fd1c5;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ============================================================
   LOGIN
   ============================================================ */

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, #202a48 0, transparent 34%),
    radial-gradient(circle at bottom right, #25194a 0, transparent 38%),
    var(--bg);
}

.login-card {
  width: min(500px, 92vw);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(13,20,36,.97);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.brand {
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 900;
  color: #d8deea;
}

.login-card h1 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.login-card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.login-card label {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: #c7d0df;
  font-size: 14px;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  border: 1px solid #3a4966;
  border-radius: 12px;
  background: #0a1020;
  color: white;
  padding: 14px 15px;
  font-size: 16px;
  outline: none;
}

.login-card input:focus { border-color: var(--purple); }

.login-card button {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--purple);
  color: white;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.login-error {
  min-height: 21px;
  color: #ff8f98;
  font-size: 14px;
  margin-top: 10px;
}

/* ============================================================
   TV / PAINEL 16:9
   Otimizado para 1920x1080 e leitura a distância.
   ============================================================ */

.panel {
  height: 100vh;
  display: grid;
  grid-template-rows: 78px 1fr 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 9px;
  border-bottom: 1px solid var(--border);
  background: #090e1a;
}

.panel-title {
  font-size: clamp(21px, 1.35vw, 29px);
  font-weight: 950;
  margin-top: 2px;
  letter-spacing: .01em;
}

.topbar-right {
  display: flex;
  gap: 26px;
  align-items: center;
  text-align: right;
}

.fullscreen-button {
  border: 1px solid #33435f;
  border-radius: 10px;
  background: #111a2d;
  color: #dce4f0;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.fullscreen-button:hover {
  border-color: var(--purple);
  color: white;
}

:fullscreen .fullscreen-button {
  display: none;
}

.clock {
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}

.today {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 14px currentColor;
}

.connection.online .dot { background: var(--green); }
.connection.offline .dot { background: var(--red); }

.dashboard {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.18fr 1.72fr .96fr .90fr 1.38fr;
  gap: 9px;
  padding: 9px;
}

.column {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,26,45,.98), rgba(11,17,31,.99));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 9px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 62px;
}

.column-number {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #352a62;
  color: #d2c7ff;
  font-size: 15px;
  font-weight: 950;
}

.column-header h2 {
  margin: 0;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.05;
  font-weight: 950;
}

.column-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(10px, .62vw, 12px);
}

/* ============================================================
   COLUNA 1 - FORNOS
   ============================================================ */

.fornos-grid {
  min-height: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(9, minmax(0, 1fr));
  gap: 6px;
}

.forno-card {
  min-width: 0;
  border-radius: 9px;
  padding: 6px 7px;
  border: 1px solid #27344a;
  display: grid;
  align-content: center;
  gap: 2px;
  overflow: hidden;
}

/* PRODUZINDO: fundo verde mais escuro */
.forno-card.produzindo {
  background: linear-gradient(145deg, #92d7a5, #6ec488);
  border: 2px solid #1f8b45;
  color: #082313;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

/* PARADO: visual original do projeto */
.forno-card.parado {
  background: #111a2a;
  border: 1px solid #27344a;
  border-left: 4px solid var(--red);
  color: var(--text);
  box-shadow: none;
}

.forno-card.manutencao {
  background: linear-gradient(145deg, #fff2c7, #ffe6a1);
  border: 2px solid var(--yellow);
  color: #493700;
}

.forno-card.programado {
  background: linear-gradient(145deg, #dcecff, #c7e0ff);
  border: 2px solid var(--blue);
  color: #10325a;
}

.forno-top {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: clamp(11px, .69vw, 14px);
  font-weight: 950;
}

.forno-liga {
  color: #4a2297;
}

.forno-status,
.forno-prev,
.forno-tempo,
.forno-ultima {
  font-size: clamp(7.5px, .48vw, 9.5px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forno-status {
  font-weight: 950;
}

.forno-prev,
.forno-ultima {
  opacity: .86;
}

.forno-tempo {
  font-weight: 950;
}

.forno-card.produzindo .forno-status {
  color: #0a5b29;
}

.forno-card.produzindo .forno-tempo {
  color: #083d1c;
}

.forno-card.parado .forno-status {
  color: #ff9299;
}

.forno-card.parado .forno-liga {
  color: #c5b5ff;
}

.forno-card.manutencao .forno-liga,
.forno-card.programado .forno-liga {
  color: inherit;
}

/* ============================================================
   COLUNAS 2, 3 e 4
   ============================================================ */

.stack-list,
.feed-list {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 9px;
}

.stack-list::-webkit-scrollbar,
.feed-list::-webkit-scrollbar { display: none; }

.data-card,
.event-card {
  border: 1px solid #2a3a56;
  border-radius: 11px;
  background: rgba(11,17,31,.9);
  padding: 10px 11px;
  margin-bottom: 8px;
}

.data-card-title {
  font-size: clamp(12px, .78vw, 15px);
  font-weight: 950;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 7px;
}

.data-card-sub {
  margin-top: 5px;
  color: #aab6c9;
  font-size: clamp(10px, .62vw, 12px);
  line-height: 1.35;
}

.metric-row {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.metric {
  background: #0a1120;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 8px;
  padding: 7px;
}

.metric-label {
  color: var(--muted);
  font-size: clamp(9px, .55vw, 11px);
}

.metric-value {
  margin-top: 2px;
  font-size: clamp(13px, .82vw, 16px);
  font-weight: 950;
}

.positive { color: var(--green); }
.warning { color: var(--yellow); }
.negative { color: var(--red); }
.info { color: var(--blue); }

.empty {
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: var(--muted);
  font-size: clamp(12px, .72vw, 14px);
  text-align: center;
  padding: 24px 14px;
}

.empty::before {
  content: "—";
  display: block;
  font-size: 28px;
  color: #4b5b74;
  line-height: 1;
}



/* ============================================================
   COLUNA 2 - ESTOQUE PLANEJADO 40 DIAS
   ============================================================ */

#estoqueResumo {
  padding: 7px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.stock-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 5px 7px;
  color: #aebbd0;
  font-size: clamp(9px, .55vw, 11px);
  white-space: nowrap;
}

.stock-summary-line strong {
  color: #f7f9ff;
  font-weight: 950;
}

.stock-table-wrap {
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #2a3a56;
  border-radius: 10px;
  background: #0b111f;
  scrollbar-width: none;
}

.stock-table-wrap::-webkit-scrollbar {
  display: none;
}

.stock-table {
  min-width: 100%;
  width: max-content;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.stock-header,
.stock-row {
  display: grid;
  grid-template-columns:
    58px
    46px
    repeat(var(--ligas-count), minmax(70px, 1fr))
    82px;
  align-items: stretch;
}

.stock-header {
  position: sticky;
  top: 0;
  z-index: 4;
  min-width: 100%;
  background: #211b3b;
  border-bottom: 1px solid #4c426c;
  color: #f3efff;
  font-weight: 950;
  font-size: clamp(8px, .48vw, 10px);
}

.stock-body {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.stock-body::-webkit-scrollbar {
  display: none;
}

.stock-row {
  min-width: 100%;
  color: #e8edf7;
  font-size: clamp(8px, .47vw, 10px);
  border-bottom: 1px solid rgba(255,255,255,.085);
}

.stock-cell {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 5px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stock-header .stock-cell {
  padding-top: 7px;
  padding-bottom: 7px;
}

.stock-date,
.stock-day {
  background: #121b2c;
  font-weight: 850;
}

.stock-row.saturday .stock-date,
.stock-row.saturday .stock-day {
  background: #d39e20;
  color: #181100;
}

.stock-row.sunday .stock-date,
.stock-row.sunday .stock-day {
  background: #c94c59;
  color: #fff;
}

.stock-value {
  background: #0d1525;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.stock-row:nth-child(even) .stock-value {
  background: #101a2d;
}

.stock-warning {
  color: #ffd35c;
}

.stock-negative {
  color: #ff6677;
  background: rgba(255,91,103,.10) !important;
}

.stock-total,
.stock-total-head {
  background: #5a4698 !important;
  color: #fff !important;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.stock-liga-head {
  background: #2b2348;
}

/* Em telas maiores, aproveita a largura extra da coluna 2. */
@media (min-width: 1700px) {
  .stock-header,
  .stock-row {
    grid-template-columns:
      62px
      48px
      repeat(var(--ligas-count), minmax(78px, 1fr))
      90px;
  }

  .stock-cell {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

/* ============================================================
   COLUNA 5 - FEED AO VIVO
   ============================================================ */

.column-feed .column-header {
  background: linear-gradient(90deg, rgba(76,55,140,.18), transparent);
}

.event-card {
  position: relative;
  padding: 10px 11px 10px 14px;
  animation: event-in .35s ease-out;
}

.event-card:first-child {
  border-color: rgba(139,109,246,.72);
  background: linear-gradient(90deg, rgba(139,109,246,.12), rgba(11,17,31,.92) 35%);
  box-shadow: 0 0 0 1px rgba(139,109,246,.08);
}

.event-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 8px;
  background: var(--blue);
}

.event-card.sucesso::before { background: var(--green); }
.event-card.atencao::before { background: var(--yellow); }
.event-card.critico::before { background: var(--red); }

.event-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.event-user {
  font-size: clamp(10px, .62vw, 12px);
  color: #c7d0df;
  font-weight: 900;
}

.event-time {
  flex: 0 0 auto;
  font-size: clamp(10px, .59vw, 12px);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.event-title {
  margin-top: 4px;
  font-size: clamp(13px, .82vw, 16px);
  font-weight: 950;
  line-height: 1.18;
}

.event-desc {
  margin-top: 4px;
  color: #aab6c9;
  font-size: clamp(10px, .62vw, 12px);
  line-height: 1.35;
}


/* ============================================================
   V13 - COLUNA 5 EM DOIS BLOCOS VISUAIS INDEPENDENTES
   ============================================================ */

.column-feed-dual {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 48%) minmax(0, 52%);
  gap: 9px;
  overflow: hidden;
}

.feed-panel {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,26,45,.98), rgba(11,17,31,.99));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.feed-panel-live .column-header {
  background: linear-gradient(90deg, rgba(76,55,140,.18), transparent);
}

.feed-panel-ships .column-header {
  background: linear-gradient(90deg, rgba(69,173,255,.10), transparent);
}

.ship-panel-icon {
  font-size: 16px;
  background: #263759;
  color: white;
}

.feed-live-body {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.feed-subtitle {
  padding: 8px 10px 5px;
  color: #c7d0df;
  font-size: clamp(10px, .58vw, 12px);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.feed-live-body .feed-list {
  min-height: 0;
  padding-top: 3px;
  overflow-y: auto;
  scrollbar-width: none;
}

.feed-live-body .feed-list::-webkit-scrollbar {
  display: none;
}

.ship-month-section {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px;
  padding: 8px 9px 9px;
  background: linear-gradient(180deg, rgba(93,169,255,.035), rgba(11,17,31,.2));
}

.ship-month-block {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #2a3a56;
  border-radius: 10px;
  background: rgba(8,14,27,.92);
}

.ship-month-block.realized {
  border-left: 3px solid var(--green);
}

.ship-month-block.pending {
  border-left: 3px solid var(--yellow);
}

.ship-month-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: clamp(10px, .60vw, 12px);
  font-weight: 900;
}

.ship-month-block-head strong {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: white;
}

.ship-month-list {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 2px 7px 4px;
}

.ship-month-list::-webkit-scrollbar {
  display: none;
}

.ship-month-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  padding: 3px 1px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  font-size: clamp(9px, .56vw, 11px);
}

.ship-month-row:last-child {
  border-bottom: 0;
}

.ship-month-client {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d5dceb;
  font-weight: 800;
}

.ship-month-value {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}

.ship-month-empty {
  padding: 7px 2px;
  color: var(--muted);
  font-size: clamp(9px, .54vw, 11px);
}

@media (min-width: 2500px) {
  .feed-subtitle { font-size: 14px; }
  .ship-month-block-head { font-size: 15px; padding: 8px 10px; }
  .ship-month-row { min-height: 29px; font-size: 14px; }
}

/* ============================================================
   RODAPÉ
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  background: #090e1a;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  font-size: 10px;
}

@keyframes event-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   4K / telas grandes
   ============================================================ */

@media (min-width: 2500px) {
  .panel {
    grid-template-rows: 104px 1fr 42px;
  }

  .topbar { padding-inline: 28px; }
  .brand { font-size: 19px; }
  .panel-title { font-size: 38px; }
  .clock { font-size: 48px; }
  .today, .connection { font-size: 17px; }

  .dashboard {
    gap: 14px;
    padding: 14px;
  }

  .column-header {
    min-height: 82px;
    padding: 16px;
  }

  .column-number {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 20px;
  }

  .column-header h2 { font-size: 27px; }
  .column-header p { font-size: 16px; }

  .forno-top { font-size: 18px; }
  .forno-status, .forno-extra { font-size: 13px; }

  .data-card-title { font-size: 20px; }
  .data-card-sub { font-size: 16px; }
  .metric-label { font-size: 14px; }
  .metric-value { font-size: 21px; }

  .event-user, .event-time { font-size: 15px; }
  .event-title { font-size: 22px; }
  .event-desc { font-size: 16px; }
  .footer { font-size: 13px; }
}

/* ============================================================
   Notebook / manutenção
   ============================================================ */

@media (max-width: 1200px) {
  html, body { overflow: auto; }

  .panel {
    height: auto;
    min-height: 100vh;
  }

  .dashboard {
    grid-template-columns: 1fr 1fr;
    overflow: auto;
  }

  .column {
    min-height: 560px;
  }

  .column-feed {
    grid-column: span 2;
  }
}


/* V3 - aproveitamento da coluna de embarques */
.column:nth-child(4) .data-card {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Feed estável: sem rolagem automática.
   A lista só se move quando o usuário rolar manualmente ou quando
   chegar um novo evento, que volta imediatamente ao topo. */
.feed-list {
  scroll-behavior: auto;
}


/* V4 - reforço de leitura dos detalhes do forno em TV grande */
@media (min-width: 2500px) {
  .forno-status,
  .forno-prev,
  .forno-tempo,
  .forno-ultima {
    font-size: 13px;
  }
}


/* V6 - detalhes dos fornos parados no padrão original */
.forno-card.parado .forno-ultima,
.forno-card.parado .forno-prev {
  color: var(--muted);
  opacity: 1;
}


/* ============================================================
   CARGA FUTURA - ALERTA VISUAL NO CARD DO FORNO
   ============================================================ */

.forno-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px;
}

.forno-alerta-futuro {
  justify-self: center;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #111827;
  background: #ffd54f;
  border: 1px solid #ffb300;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 0 0 rgba(255, 193, 7, .65);
  animation: sigep-carga-futura-pulse 1.35s ease-in-out infinite;
}

.forno-futuro {
  margin-top: 2px;
  color: #5b3a00;
  font-size: clamp(8px, .46vw, 10px);
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes sigep-carga-futura-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 193, 7, .55);
  }

  50% {
    transform: scale(1.10);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0);
  }
}


/* ============================================================
   ALERTA DE CICLO > 7 DIAS - MINI GIROFLEX
   ============================================================
   - Só aparece para forno PRODUZINDO.
   - Só aparece quando a data da carga já passou.
   - Carga futura continua usando o alerta amarelo próprio.
   ============================================================ */

.forno-alerta-atraso {
  justify-self: center;
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  animation: sigep-giroflex-corpo 0.85s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(255, 55, 55, .75));
}

.giroflex-cupula {
  position: absolute;
  left: 3px;
  top: 1px;
  width: 12px;
  height: 10px;
  border-radius: 8px 8px 3px 3px;
  border: 1px solid rgba(90, 0, 0, .75);
  background:
    linear-gradient(
      90deg,
      #ff2e2e 0%,
      #ff2e2e 42%,
      #ffd34e 43%,
      #ffd34e 57%,
      #ff2e2e 58%,
      #ff2e2e 100%
    );
  box-shadow:
    -5px 0 7px rgba(255, 45, 45, .72),
     5px 0 7px rgba(255, 195, 40, .72);
  transform-origin: 50% 100%;
  animation: sigep-giroflex-luz 0.55s linear infinite alternate;
}

.giroflex-base {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: #202938;
  border: 1px solid rgba(0, 0, 0, .55);
}

.forno-alerta-atraso::before,
.forno-alerta-atraso::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 5px;
  height: 2px;
  border-radius: 4px;
  opacity: .25;
}

.forno-alerta-atraso::before {
  left: -4px;
  background: #ff3535;
  box-shadow:
    -3px 0 6px rgba(255, 45, 45, .9),
    -7px 0 9px rgba(255, 45, 45, .55);
}

.forno-alerta-atraso::after {
  right: -4px;
  background: #ffd12f;
  box-shadow:
    3px 0 6px rgba(255, 205, 45, .9),
    7px 0 9px rgba(255, 205, 45, .55);
}

@keyframes sigep-giroflex-luz {
  0% {
    transform: scaleX(.88);
    box-shadow:
      -7px 0 10px rgba(255, 45, 45, 1),
       2px 0 4px rgba(255, 205, 45, .35);
  }

  100% {
    transform: scaleX(1.06);
    box-shadow:
      -2px 0 4px rgba(255, 45, 45, .35),
       7px 0 10px rgba(255, 205, 45, 1);
  }
}

@keyframes sigep-giroflex-corpo {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-1px) scale(1.06);
  }
}


/* ============================================================
   V11 - CABEÇALHO DOS CARDS: FORNO À ESQUERDA / LIGA À DIREITA
   ============================================================ */
.forno-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  gap: 4px;
}

.forno-numero {
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
}

.forno-alert-slot {
  justify-self: center;
  display: inline-grid;
  place-items: center;
  width: 22px;
  min-width: 22px;
  height: 18px;
}

.forno-liga {
  justify-self: end;
  min-width: 0;
  white-space: nowrap;
  text-align: right;
}
