/**
 * NOC Telão – Palco macro
 * Sidebar esquerda + miolo direito (topo subdividido + faixa inferior).
 */

.noc-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.175rem;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  /* Mesma faixa de título/pills e o mesmo espaço até o conteúdo em todos os cards */
  --noc-header-top: clamp(0.25rem, 0.5vw, 0.5rem);
  --noc-header-band-height: clamp(1.6rem, 3vh, 2.2rem);
  --noc-gap-pill-to-content: clamp(0.35rem, 0.65vh, 0.5rem);
  --noc-content-inset-top: calc(
    var(--noc-header-top) + var(--noc-header-band-height) + var(--noc-gap-pill-to-content)
  );
}

.noc-stage__layout {
  --noc-left-ticker-h: clamp(44px, 6vh, 62px);
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr var(--noc-left-ticker-h);
  gap: clamp(0.25rem, 0.625vw, 0.5rem);
  align-items: stretch;
  padding-top: clamp(0.125rem, 0.25vw, 0.2rem);
  padding-right: clamp(0.125rem, 0.25vw, 0.2rem);
  padding-left: clamp(0.125rem, 0.25vw, 0.2rem);
  padding-bottom: 0;
  box-sizing: border-box;
}

.noc-stage__left-column {
  display: grid;
  grid-template-rows: minmax(0, 0.88fr) minmax(0, 2.12fr);
  gap: clamp(0.25rem, 0.625vw, 0.5rem);
  box-sizing: border-box;
  min-height: 0;
}

/* Card com faixa inferior vazia que preenche a coluna */
.noc-stage__card--stretch {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.noc-stage__card-placeholder {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.175rem, 0.3vw, 0.25rem);
  border-radius: 12.173px;
  background: rgba(77, 77, 77, 0.08);
}

/* Grade 2×2 de câmeras no card lateral (Fluxo) */
.noc-v3-cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.175rem, 0.3vw, 0.25rem);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.175rem, 0.3vw, 0.25rem);
  box-sizing: border-box;
}

.noc-v3-cam-cell {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 12.173px;
  background: rgba(77, 77, 77, 0.08);
}

/* Voos (partidas / chegadas) no lugar do antigo Panorama Hídrico 2 */
.noc-v3-flights-stack {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.32rem, 0.5vw, 0.45rem);
  margin: clamp(0.15rem, 0.25vw, 0.2rem) clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.175rem, 0.3vw, 0.25rem);
  box-sizing: border-box;
}

.noc-v3-flights-stack > .noc-stage__subcard {
  flex: 1 1 0;
  min-height: 0;
}

.noc-stage__main-column {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  display: grid;
  /*
     Left column row-1 = 0.88fr out of (0.88 + 2.12) = 29.33% of left-col height.
     Main column now only spans row-1 (ticker is full-width at row-2).
     --_ticker is 0px because we no longer span the ticker row.
  */
  --_ticker: 0px;
  --_gap: clamp(0.25rem, 0.625vw, 0.5rem);
  --_quad-h: calc((100% - var(--_ticker) - var(--_gap) * 3) * 0.2933);
  grid-template-rows: var(--_quad-h) var(--_quad-h) 1fr;
  gap: var(--_gap);
  padding-bottom: 0;
  box-sizing: border-box;
  min-height: 0;
}

.noc-stage__card {
  background: var(--noc-stage-box-bg);
  border-radius: var(--noc-stage-box-radius);
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.noc-stage__card::before {
  display: none;
}

.noc-stage__card--small {
  min-height: 0;
}

/* ── Panorama Hídrico card ── */
.noc-stage__card--hydro {
  --hyd-ok:  #4ebc2a;
  --hyd-warn: #f28c3f;
  --hyd-danger: #e53935;
  --hyd-ok-soft: rgba(78, 188, 42, 0.22);
  --hyd-warn-soft: rgba(242, 140, 63, 0.22);
  --hyd-danger-soft: rgba(229, 57, 53, 0.25);
  overflow: hidden;
}

.noc-stage__card--hydro .noc-stage__card-header .noc-stage__card-title {
  min-width: 0;
  flex: 1;
  margin-right: 0.35rem;
}

.noc-hydro__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.noc-hydro__head-updated {
  color: #999;
  text-align: right;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.noc-hydro__body {
  position: absolute;
  left: clamp(0.45rem, 0.9vw, 0.65rem);
  right: clamp(0.45rem, 0.9vw, 0.65rem);
  top: var(--noc-content-inset-top);
  bottom: clamp(0.18rem, 0.4vw, 0.38rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.08rem, 0.3vh, 0.22rem);
  min-height: 0;
  overflow: hidden;
  border-radius: 12.173px;
  background: rgba(77, 77, 77, 0.20);
  border: 1px solid rgba(46, 46, 46, 0.6);
  padding: clamp(4px, 0.75vh, 8px) clamp(5px, 0.65vw, 8px);
  box-sizing: border-box;
}

.noc-hydro__center {
  text-align: left;
  flex-shrink: 1;
}

.noc-hydro__label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: #6a6a6a;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}

.noc-hydro__val {
  font-family: var(--font-figure);
  font-size: clamp(1.2rem, 2.2vw, 2.4rem);
  font-weight: 800;
  color: var(--hyd-ok);
  text-shadow: 0 0 18px var(--hyd-ok-soft);
  line-height: 1.05;
  transition: color 0.5s, text-shadow 0.5s;
}

.noc-hydro__unit {
  font-size: 0.85em;
  font-weight: 400;
  color: #9a9aaa;
}

.noc-hydro__sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: #6a6a6a;
  margin-top: 0.1rem;
}

.noc-hydro__sub--abs {
  position: absolute;
  right: 10px;
  top: 10px;
  margin-top: 0;
  z-index: 2;
}

/* Gauge */
.noc-hydro__gauge {
  height: 3px;
  background: rgba(26, 26, 26, 0.6);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.noc-hydro__gauge-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hyd-ok), #1b5e20);
  transition: width 1s ease, background 0.5s;
}

.noc-hydro__gauge-glow {
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: 0;
  width: 8px;
  border-radius: 0 3px 3px 0;
  background: var(--hyd-ok);
  filter: blur(3px);
  opacity: 0.35;
  animation: noc-hydro-gaugeGlow 2s ease-in-out infinite;
  transition: background 0.5s;
}

@keyframes noc-hydro-gaugeGlow {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.45; }
}

.noc-hydro__gauge-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: #6a6a6a;
  font-weight: 500;
  flex-shrink: 0;
}

.noc-hydro__lbl-warn   { color: var(--hyd-warn); }
.noc-hydro__lbl-danger { color: var(--hyd-danger); }

/* Pumps -- visible when there's enough height, hidden on short viewports */
.noc-hydro__pumps-section {
  flex-shrink: 1;
  overflow: hidden;
}

@media (max-height: 680px) {
  .noc-hydro__pumps-section {
    display: none;
  }
}

.noc-hydro__pumps-title {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: #6a6a6a;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.noc-hydro__pumps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.noc-hydro__pd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hyd-ok);
  box-shadow: 0 0 5px var(--hyd-ok-soft);
  transition: all 0.5s;
  animation: noc-hydro-pumpPulse 3s ease-in-out infinite;
  /* stagger via nth-child so they don't all pulse together */
}

.noc-hydro__pd:nth-child(3n)   { animation-delay: 0.4s; }
.noc-hydro__pd:nth-child(3n+1) { animation-delay: 0.9s; }
.noc-hydro__pd:nth-child(3n+2) { animation-delay: 1.5s; }

@keyframes noc-hydro-pumpPulse {
  0%, 100% { box-shadow: 0 0 3px var(--hyd-ok-soft); opacity: 0.8; }
  50%      { box-shadow: 0 0 7px var(--hyd-ok-soft); opacity: 1; }
}

.noc-hydro__pd.off {
  background: rgba(255,255,255,0.07);
  box-shadow: none;
  animation: none;
}

@keyframes noc-hydro-pumpBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.noc-hydro__pd.blink {
  animation: noc-hydro-pumpBlink 0.8s ease 3;
}

.noc-hydro__pumps-info {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: #9a9aaa;
  margin-top: 0.25rem;
}

.noc-hydro__risk-ok     { color: var(--hyd-ok); }
.noc-hydro__risk-warn   { color: var(--hyd-warn); }
.noc-hydro__risk-danger { color: var(--hyd-danger); }

.noc-hydro__pumps-info b {
  font-family: var(--font-figure);
  font-size: 1rem;
  font-weight: 800;
  color: var(--hyd-ok);
  transition: color 0.5s;
}

.noc-hydro__risk-ok     { color: var(--hyd-ok);     font-weight: 600; transition: color 0.5s; }
.noc-hydro__risk-warn   { color: var(--hyd-warn);   font-weight: 600; transition: color 0.5s; }
.noc-hydro__risk-danger { color: var(--hyd-danger); font-weight: 600; transition: color 0.5s; }

/* SVG chart */
.noc-hydro__chart {
  width: 100%;
  flex: 1 1 0;
  min-height: 20px;
  display: block;
}

/* Radar decoration */
.noc-hydro__radar {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(74, 179, 214, 0.25);
  overflow: hidden;
  opacity: 0.35;
  pointer-events: none;
}

.noc-hydro__radar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1.5px;
  background: linear-gradient(90deg, #4ab3d6, transparent);
  transform-origin: left center;
  animation: noc-hydro-radarSpin 2.5s linear infinite;
}

.noc-hydro__radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(74, 179, 214, 0.25) 25deg, transparent 50deg);
  animation: noc-hydro-radarSpin 2.5s linear infinite;
}

@keyframes noc-hydro-radarSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Gráfico Nível do Rio Guaíba (Figma 498:2235–2259) ── */
.noc-guaiba__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.noc-guaiba__chart {
  display: flex;
  flex-direction: row;
  flex: 1 1 0;
  min-height: 0;
  gap: 0;
}

.noc-guaiba__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 26px;
  flex-shrink: 0;
  padding-right: 5px;
  box-sizing: border-box;
}

.noc-guaiba__y-axis span {
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 12.133px;
  font-style: normal;
  font-weight: 400;
  color: #aeaeae;
  line-height: normal;
  text-align: center;
}

.noc-guaiba__plot {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}

.noc-guaiba__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.noc-guaiba__thresh-lbl {
  position: absolute;
  left: 4px;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: normal;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(-50%);
}

.noc-guaiba__status {
  position: absolute;
  right: 6px;
  top: 4px;
  text-align: right;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.noc-guaiba__status-num {
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #2aa6bc;
  line-height: normal;
  transition: color 0.5s;
}

.noc-guaiba__status-unit {
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #2aa6bc;
  line-height: normal;
  transition: color 0.5s;
}

.noc-guaiba__status-label {
  display: inline;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  color: #2aa6bc;
  line-height: 1.05;
  transition: color 0.5s;
}

.noc-guaiba__x-axis {
  position: relative;
  height: 18px;
  flex-shrink: 0;
  padding-left: 26px;
  box-sizing: border-box;
}

.noc-guaiba__x-axis span {
  position: absolute;
  bottom: 0;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 12.133px;
  font-style: normal;
  font-weight: 400;
  color: #aeaeae;
  line-height: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* Primeiro quadro (484:737): box de fundo, altura para não cortar conteúdo */
.noc-stage__card--first {
  min-height: 0;
  border-radius: 20.568px;
  background: rgba(51, 51, 51, 0.2);
  padding: clamp(0.5rem, 1vw, 0.75rem);
  --alert-accent: #f4d627;
  --alert-text-muted: #aeaeae;
  --alert-surface: rgba(77, 77, 77, 0.2);
  --flag-color-bright: #F4D627;
  --flag-color-dark: #685900;
}

/* Cabeçalho do primeiro card: título e pill alinhados ao meio em altura */
.noc-stage__card-header {
  position: absolute;
  top: var(--noc-header-top);
  left: clamp(0.5rem, 1vw, 0.75rem);
  right: clamp(0.5rem, 1vw, 0.75rem);
  height: var(--noc-header-band-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.noc-stage__card-header .noc-stage__card-title {
  position: static;
  top: auto;
  left: auto;
}

.noc-stage__card-header .noc-stage__card-pill {
  position: static;
  top: auto;
  right: auto;
  height: auto;
}

/* Container para 2 pills lado a lado, alinhadas à direita no topo */
.noc-stage__card-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Pills EPTC e WAZE: largura conforme conteúdo */
.noc-stage__card--two-pills .noc-stage__card-header .noc-stage__card-pill {
  width: auto;
  min-width: 0;
  padding: 4px 10px 4px 4px;
}

.noc-stage__card--two-pills .noc-stage__card-pill-text {
  width: auto;
  min-width: 0;
}

/* Box do fundo do segundo card: mesma largura da bandeira do card de cima */
.noc-stage__card--two-pills .noc-stage__alert-content {
  top: var(--noc-content-inset-top);
  padding: 0.35rem;
  grid-template-columns: clamp(95px, 30%, 140px) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
}

.noc-stage__card--two-pills .noc-stage__alert-panel {
  min-width: 0;
  overflow: hidden;
}

.noc-stage__card--two-pills .noc-stage__alert-panel--traffic {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 3px;
  padding: 4px;
  overflow: hidden;
}

/* Segundo card: box do semáforo = mesma largura e estilo da bandeira (bordas, opaco), sem cortar */
.noc-stage__alert-flag--semaforo {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  min-height: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20.568px;
  background: rgba(26, 26, 26, 0.60);
  box-sizing: border-box;
  overflow: hidden;
  /* borda em pseudo-elemento para não ser coberta pelo filtro SVG */
  position: relative;
}

.noc-stage__alert-flag--semaforo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20.568px;
  border: 1px solid rgba(46, 46, 46, 0.7);
  pointer-events: none;
  z-index: 10;
}

.noc-stage__alert-flag--semaforo .noc-stage__alert-flag-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 0;
  min-width: 0;
  background: rgba(26, 26, 26, 0.60);
  padding: 4px 8px;
  box-sizing: border-box;
}

.noc-stage__alert-flag-image--semaforo {
  display: block;
  width: auto;
  height: 90%;
  max-height: 100%;
  max-width: none;
  min-width: 0;
  flex-shrink: 0;
  align-self: center;
  filter: drop-shadow(-8.539px 20.495px 27.326px rgba(0, 0, 0, 0.5));
}

.noc-stage__card-title {
  position: absolute;
  top: var(--noc-header-top);
  left: clamp(0.5rem, 1vw, 0.75rem);
  display: inline-block;
  padding: 0.22em 0.65em;
  background: rgba(51, 51, 51, 0.2);
  border-radius: 42px;
  color: #ccc;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  z-index: 1;
}

/* Pill (Defesa Civil, DMAE, EPTC…) – canto superior direito */
.noc-stage__card-pill {
  position: absolute;
  top: var(--noc-header-top);
  right: clamp(0.5rem, 1vw, 0.75rem);
  display: flex;
  width: auto;
  height: auto;
  padding: 4px 12px 4px 4px;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  background: #1f1f1f;
  box-sizing: border-box;
  z-index: 1;
}

.noc-stage__card-pill-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  transform: none;
}

/* Ícone do pill */
.noc-stage__card-pill-icon {
  fill: #BCBCBC;
  stroke-width: 1.469px;
  stroke: #E4E4E4;
  filter: drop-shadow(0 0 6px rgba(188, 188, 188, 0.50));
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: visible;
}

.noc-stage__card-pill-text {
  display: block;
  width: auto;
  height: auto;
  color: #888;
  text-align: left;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.noc-stage__alert-content {
  position: absolute;
  left: clamp(0.5rem, 1vw, 0.75rem);
  right: clamp(0.5rem, 1vw, 0.75rem);
  top: var(--noc-content-inset-top);
  bottom: clamp(0.3rem, 0.6vw, 0.5rem);
  display: grid;
  grid-template-columns: clamp(95px, 30%, 140px) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
  min-height: 0;
  min-width: 0;
}

.noc-stage__card--first .noc-stage__alert-content {
  top: var(--noc-content-inset-top);
  bottom: clamp(0.3rem, 0.6vw, 0.5rem);
}

.noc-stage__alert-flag {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  border-radius: 20.568px;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.60);
  box-sizing: border-box;
  position: relative;
}

.noc-stage__alert-flag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20.568px;
  border: 1px solid rgba(46, 46, 46, 0.7);
  pointer-events: none;
  z-index: 10;
}

.noc-stage__alert-flag-body {
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.60);
  border: none;
  position: relative;
}

.noc-stage__alert-flag-image {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(110px, 90%, 170px);
  height: auto;
  max-height: 100%;
  transform: translateX(-50%);
  display: block;
}

.noc-stage__alert-flag-base {
  width: 100%;
  height: clamp(24px, 4vh, 43px);
  min-height: 24px;
  flex-shrink: 0;
  margin-top: -2px;
  background: #212121;
  border: 1.303px solid #2e2e2e;
  border-top: 1.303px solid #2e2e2e;
  border-radius: 0 0 18px 18px;
  box-sizing: border-box;
}

/* ── Bandeira (Alerta Meteorológico) — posiciona colada na base ── */
.noc-stage__card--first .noc-stage__alert-flag {
  overflow: hidden;
}

.noc-stage__card--first .noc-stage__alert-flag-body {
  position: relative;
  overflow: visible;
}

/* Bandeira SVG: preenche 95% da altura, ancorada na base */
.noc-stage__card--first .noc-stage__alert-flag-image {
  position: absolute;
  left: 50%;
  bottom: -31px;
  margin-left: -2px;
  height: 95%;
  width: auto;
  max-width: 100%;
  transform: translateX(-50%);
  display: block;
  transition: opacity 400ms ease;
}

/* Coloração da bandeira controlada por CSS custom properties (--flag-color-bright / --flag-color-dark) */

/* Ícone relâmpago: oculto quando não há alerta (is-green) */
.is-green .noc-stage__alert-banner-icon { display: none; }

/* Título "Alerta Meteorológico" — fonte menor para o card--first */
.noc-stage__card--first .noc-stage__card-title {
  font-size: 14px;
  padding: 0.22em 0.65em;
}

/* card--first herda o padrão global do pill */

/* ── Sistema de cores por severidade ── */
.noc-stage__card--first.is-green  {
  border-color: rgba(46,204,113,0.3);
  --alert-accent: #4ebc2a;
  --alert-surface: rgba(77, 77, 77, 0.2);
  --flag-color-bright: #4EBC2A;
  --flag-color-dark: #1B5E20;
}
.noc-stage__card--first.is-yellow {
  border-color: rgba(245,197,24,0.55);
  --alert-accent: #f5c518;
  --alert-surface: rgba(245,197,24,0.1);
  --flag-color-bright: #F4D627;
  --flag-color-dark: #685900;
}
.noc-stage__card--first.is-red {
  border-color: rgba(244,67,54,0.55);
  --alert-accent: #ff5252;
  --alert-surface: rgba(244,67,54,0.1);
  --flag-color-bright: #FF5252;
  --flag-color-dark: #A5002C;
}

/* Gradiente da bandeira — cascata via .flag-stop-* */
.is-green  .flag-stop-1 { stop-color: #2ecc71; }
.is-green  .flag-stop-2 { stop-color: #00e676; }
.is-green  .flag-stop-3 { stop-color: #00c853; }
.is-green  .flag-stop-4 { stop-color: #1b8a3d; }

.is-yellow .flag-stop-1 { stop-color: #ffe27a; }
.is-yellow .flag-stop-2 { stop-color: #ffd54f; }
.is-yellow .flag-stop-3 { stop-color: #f5c518; }
.is-yellow .flag-stop-4 { stop-color: #b28500; }

.is-red    .flag-stop-1 { stop-color: #ff8ca3; }
.is-red    .flag-stop-2 { stop-color: #ff5f7e; }
.is-red    .flag-stop-3 { stop-color: #ff1744; }
.is-red    .flag-stop-4 { stop-color: #a5002c; }

/* Ícone do banner herda a cor de destaque */
.noc-stage__alert-banner-icon {
  color: var(--alert-accent, #f4d627);
}

/* ── Carrossel de alertas ── */
.noc-alert-carousel-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}

.noc-alert-carousel-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.noc-alert-carousel-btn:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.noc-alert-carousel-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.noc-alert-carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 200ms;
}

.noc-alert-carousel-dot.active {
  background: var(--alert-accent, #f4d627);
}

/* Hora de atualização */
.noc-alert-time {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  display: block;
  text-align: right;
  padding-right: 4px;
}

.noc-stage__alert-panel {
  min-height: 0;
  min-width: 0;
  height: 100%;
  border-radius: 16.231px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(46, 46, 46, 0.6);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(2px, 0.5vh, 6px);
  padding: clamp(3px, 0.5vh, 6px) clamp(4px, 0.5vw, 6px) clamp(4px, 0.6vh, 8px);
  overflow: hidden;
}

.noc-stage__alert-banner {
  background: var(--alert-surface);
  border-radius: 12.173px;
  border: 1px solid rgba(46, 46, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(6px, 1.2vh, 13px) clamp(8px, 1vw, 12px) clamp(6px, 1.2vh, 13px) clamp(10px, 1.5vw, 19px);
  gap: clamp(6px, 1.2vh, 13px);
  min-height: 0;
}

.noc-stage__alert-banner-title {
  color: var(--alert-accent);
  font-family: "Special Gothic Condensed One", var(--font-figure);
  font-size: 17.854px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Título composto: evento/título , severidade (mesmo tratamento amarelo e vermelho) */
.noc-alert-banner-sep {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 300;
}

.noc-stage__card--first.is-yellow .noc-stage__alert-banner,
.noc-stage__card--first.is-red .noc-stage__alert-banner {
  min-height: clamp(38px, 6.5vh, 52px);
}

.noc-stage__card--first.is-yellow .noc-stage__alert-description,
.noc-stage__card--first.is-red .noc-stage__alert-description {
  min-height: 2.75em;
}

.noc-stage__alert-banner-icon {
  width: 17.822px;
  height: 15.321px;
  flex-shrink: 0;
}

.noc-stage__alert-banner-icon path {
  fill: var(--alert-accent);
}

/* Banner tipo status: bolinha + label + tempo (só no segundo card) */
.noc-stage__alert-banner--status {
  width: 100%;
  min-width: 0;
  background: #1a1a1a;
  border-radius: 999px;
  padding: 9px 12px;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  min-height: 52px;
  box-sizing: border-box;
  overflow: hidden;
}

.noc-stage__alert-panel--traffic .noc-stage__alert-banner--status {
  min-height: 0;
  flex: 1 1 0;
  padding: 4px 8px;
  gap: 6px;
}

.noc-stage__alert-banner-bolinha {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-self: center;
  overflow: hidden;
}

.noc-stage__alert-banner-bolinha-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 39.5px;
  height: 38.3px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  /* Compensa a área vazia interna do SVG fornecido */
  transform: translate(-58%, -56%);
}

/* Pulsar opacidade nos círculos (velocidades diferentes) – sem girar */
@keyframes noc-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.noc-stage__alert-banner-bolinha-icon--spin-1 {
  animation: noc-pulse-dot 2s ease-in-out infinite;
}

.noc-stage__alert-banner-bolinha-icon--spin-2 {
  animation: noc-pulse-dot 2.5s ease-in-out infinite;
}

.noc-stage__alert-banner-bolinha-icon--spin-3 {
  animation: noc-pulse-dot 1.8s ease-in-out infinite;
}

.noc-stage__alert-banner-bolinha-icon--spin-4 {
  animation: noc-pulse-dot 3s ease-in-out infinite;
}

.noc-stage__alert-banner-label {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 100%;
  color: #AEAEAE;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 16.231px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: center;
}

.noc-stage__alert-banner-time {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 8px;
  color: #4EBC2A;
  text-align: right;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 16.231px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
  align-self: center;
}

.noc-stage__alert-description {
  margin: 0;
  min-height: 0;
  min-width: 0;
  background: var(--alert-surface);
  border-radius: 12.173px;
  border: 1px solid rgba(46, 46, 46, 0.4);
  padding: 7px 10px 7px 12px;
  color: var(--alert-text-muted);
  font-family: Bahnschrift, var(--font-figure);
  font-size: 15.022px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
}

.noc-stage__alert-description .noc-stage__alert-desc-muted {
  color: #AEAEAE;
  font-weight: 400;
}

.noc-stage__alert-description .noc-stage__alert-desc-data {
  color: var(--alert-accent);
  font-weight: 400;
}

/* Centro do alerta: cinza no texto fixo; destaque (trecho da descrição) na cor do alerta */
.is-yellow .noc-stage__alert-description,
.is-red .noc-stage__alert-description {
  color: #AEAEAE;
}

.is-green .noc-stage__alert-description .noc-alert-desc-destaque,
.is-yellow .noc-stage__alert-description .noc-alert-desc-destaque,
.is-red .noc-stage__alert-description .noc-alert-desc-destaque {
  color: var(--alert-accent);
  font-weight: 500;
}

.noc-stage__alert-validity {
  margin: 0;
  display: flex;
  max-width: 100%;
  min-width: 0;
  height: 19.82px;
  flex-direction: column;
  justify-content: center;
  color: #AEAEAE;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 10.432px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.noc-stage__card--top-grid {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.noc-stage__card--top-grid > .noc-v3-quad-stack {
  flex: 1 1 0;
  min-height: 0;
}

.noc-stage__card--bottom-strip {
  --strip-bottom-gap: 5px;
  --strip-axis-bottom: 24px;
  min-height: 0;
  position: relative;
  left: 0;
  width: 100%;
  margin-top: 0;
  background-color: #000;
  background-image: url(../imagens/fundo_temp.svg);
  background-repeat: no-repeat;
  background-position: center bottom calc(var(--strip-axis-bottom) + 3px);
  background-size: auto 100%;
}

/* Zoom out (~19% vs 1.0): 0.9 × 0.9 — mantém getBoundingClientRect no mesmo elemento que o JS */
#v2StripCard {
  zoom: 0.81;
}

.noc-stage__card--bottom-strip::before {
  display: none;
}

/* ── Timeline track ── */
.noc-strip__track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--strip-axis-bottom);
  height: 21px;
  display: flex;
  align-items: center;
}

.noc-strip__track-seg {
  height: 1.54px;
}

.noc-strip__dashed-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.noc-strip__dashed-wrap .noc-strip__track-seg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.noc-strip__dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -2rem;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  align-items: flex-start;
  pointer-events: none;
}

.noc-strip__dot {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.noc-strip__dot-line {
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Desloca a bolinha um pouco para cima para a linha passar no centro */
  margin-top: -9px;
}

.noc-strip__dot-circle {
  width: 16.51px;
  height: 16.51px;
  border-radius: 50%;
  border: 1.54px solid rgba(255, 255, 255, 0.55);
  background: #000;
  flex-shrink: 0;
}

.noc-strip__dot-time {
  color: #fff;
  text-align: center;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16.182px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: 4px;
  white-space: nowrap;
}

.noc-strip__track-seg--dashed-dim {
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 4px,
    transparent 4px,
    transparent 12px
  );
}

.noc-strip__track-seg--solid {
  flex: 4.1;
  background: rgba(255, 255, 255, 0.55);
}

.noc-strip__track-seg--dashed-light {
  flex: 1;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5) 0px,
    rgba(255, 255, 255, 0.5) 4px,
    transparent 4px,
    transparent 12px
  );
}

.noc-strip__mark-cell {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-end;
}

/* Marco esquerdo: traço colado ao início da linha contínua (à direita da célula) */
.noc-strip__mark-cell--left .noc-strip__track-mark {
  align-self: flex-end;
}

/* Marco fim (DIA 19): traço colado ao fim da linha contínua (à esquerda da célula); texto centralizado */
.noc-strip__mark-cell--end .noc-strip__track-mark {
  align-self: flex-start;
}

.noc-strip__mark-cell--end .noc-strip__mark-day {
  width: 100%;
  text-align: center;
}

.noc-strip__mark-cell .noc-strip__track-mark {
  height: 21px;
}

.noc-strip__mark-day {
  margin: 0 0 4px 0;
  color: #fff;
  text-align: center;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15.422px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
}

.noc-strip__mark-day-prefix {
  color: #b3b3b3;
  font-weight: 300;
}

.noc-strip__mark-day-num {
  color: #fff;
  font-weight: 700;
}

.noc-strip__track-mark {
  flex-shrink: 0;
  align-self: stretch;
}

.noc-strip__track-mark--left {
  width: 1.54px;
  background: rgba(255, 255, 255, 0.55);
}

.noc-strip__track-mark--end {
  width: 1.54px;
  background: rgba(255, 255, 255, 0.55);
}

.noc-strip__now-circle {
  position: absolute;
  bottom: calc(var(--strip-axis-bottom) + 21px / 2 - 16.51px / 2);
  left: 50%;
  transform: translateX(-50%);
  width: 16.51px;
  height: 16.51px;
  border-radius: 50%;
  border: 1.54px solid #4EBC2A;
  background: #4EBC2A;
  box-shadow: 0 0 10px rgba(78, 188, 42, 0.55);
  pointer-events: none;
  z-index: 2;
}

/* ── Now Weather Popup ── */
.noc-strip__now-popup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--strip-axis-bottom) + 21px / 2 + 16.51px / 2 + 4px);
  top: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

.noc-strip__now-greeting {
  font-family: "Special Gothic Condensed One", var(--font-figure);
  font-size: 28.616px;
  font-weight: 400;
  color: #aeaeae;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.noc-strip__now-temp-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noc-strip__now-temp-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #050505;
  border: 1.5px solid rgba(80, 80, 80, 0.5);
  box-shadow:
    0 0 0 6px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noc-strip__now-temp {
  font-family: "Special Gothic Condensed One", var(--font-figure);
  font-size: 42px;
  font-weight: 400;
  color: #d9d9d9;
  line-height: 1;
  letter-spacing: -0.01em;
}

.noc-strip__now-weather-icon {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.noc-strip__now-weather-icon svg {
  display: block;
}

.noc-strip__now-line {
  width: 3px;
  flex: 1 1 0;
  min-height: 10px;
  margin-top: 8px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55) 0px,
    rgba(255, 255, 255, 0.55) 4px,
    transparent 4px,
    transparent 8px
  );
}

.noc-strip__now-time-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: var(--strip-bottom-gap);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16.182px;
  font-style: normal;
  font-weight: 300;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.noc-stage__right-subgrid {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.52fr) minmax(0, 0.52fr);
  grid-template-rows: repeat(2, minmax(70px, 1fr));
  grid-template-areas:
    "leftTop rightA_top rightB_top"
    "leftBottom rightA_bottom rightB_bottom";
  gap: clamp(0.4rem, 0.95vw, 0.75rem);
  padding: clamp(0.55rem, 1vw, 0.8rem);
}

/* ── 2 blocos (Panorama + faixa inferior); direita removida para liberar altura à temperatura ── */
.noc-v3-quad-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas:
    "main small";
  height: 100%;
  width: 100%;
  min-height: 0;
  gap: clamp(0.25rem, 0.625vw, 0.5rem);
  padding: 0;
  box-sizing: border-box;
}

.noc-v3-quad-block {
  background: rgba(26, 26, 26, 0.6);
  border-radius: 14px;
  border: 1px solid rgba(46, 46, 46, 0.6);
  min-height: 0;
  height: 100%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
}

.noc-v3-quad-stack > *:nth-child(1) { grid-area: main; }
.noc-v3-quad-stack > *:nth-child(2) { grid-area: small; }


/* ── Mini Hydro — título usa o mesmo padrão global (14px) ── */

/* noc-v3-quad-block pill herda o padrão global (22px ícone, 13px texto) */

/* ── Lençol freático — Figma 651:243, 651:331, 653:1011, 653:1076 ── */
.noc-lencol {
  --lencol-gauge-col: clamp(32px, 7.5vw, 42px);
}

.noc-lencol .noc-stage__card-header .noc-stage__card-title {
  min-width: 0;
  flex: 1;
  margin-right: 0.35rem;
  font-size: clamp(10px, 0.95vw, 13px);
  line-height: 1.2;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noc-lencol__body {
  position: absolute;
  left: clamp(0.45rem, 0.85vw, 0.65rem);
  right: clamp(0.45rem, 0.85vw, 0.65rem);
  top: var(--noc-content-inset-top);
  bottom: clamp(0.12rem, 0.35vw, 0.35rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(0.22rem, 0.55vw, 0.42rem);
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Estilos do card Quantidade de Chuva: homev3/css/noc-chuva.css (evita cache stale só no stage) */

.noc-lencol__viz {
  position: relative;
  min-height: 0;
  min-width: 115px;
  height: 100%;
  display: flex;
  align-items: stretch;
}

/* 651:243 — caixa #212121 + borda #2E2E2E; 651:331 — área interna do tanque */
.noc-lencol__tank-outer {
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #212121;
  border: 1.665px solid #2e2e2e;
  border-radius: clamp(12px, 1.6vw, 16px);
  border-bottom-left-radius: clamp(14px, 2vw, 22px);
  border-bottom-right-radius: clamp(14px, 2vw, 22px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  padding: clamp(3px, 0.5vw, 6px);
  box-sizing: border-box;
}

/* Replica do encaixe usado no card de chuva:
   box esquerdo com dimensão fixa e linhas à direita mais coladas. */
.noc-lencol--condicao .noc-lencol__body {
  grid-template-columns: minmax(115px, max-content) minmax(0, 1fr);
  column-gap: 10px;
}

.noc-lencol--condicao .noc-lencol__viz {
  justify-content: flex-start;
}

.noc-lencol--condicao .noc-lencol__tank-outer {
  flex: 0 0 auto;
  width: clamp(115px, 100%, 144.155px);
  max-width: 144.155px;
  min-width: 115px;
  height: 100%;
  aspect-ratio: 144.155 / 215;
}

/* Card "Status do sistema pluvial":
   esquerda vazia (somente box) e direita apenas 1 linha */
.noc-lencol--pluvial .noc-lencol__body {
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 10px;
}

.noc-lencol--pluvial .noc-lencol__viz {
  justify-content: flex-start;
}

.noc-lencol--pluvial .noc-lencol__tank-outer {
  flex: 0 0 auto;
  width: clamp(115px, 100%, 144.155px);
  max-width: 144.155px;
  min-width: 115px;
  height: 100%;
  aspect-ratio: 144.155 / 215;
}

.noc-lencol--pluvial .noc-lencol__tank-outer--empty {
  background: #212121;
  border: 1.665px solid #2e2e2e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  position: relative;
  overflow: hidden;
}

.noc-lencol__pluvial-top-label {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 3;
  color: #BEBEBE;
  text-align: left;
  padding-left: 14px;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 13.091px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.noc-lencol--pluvial .noc-lencol__rows {
  gap: 8px;
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.noc-lencol__pluvial-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  background: radial-gradient(197% 57.69% at 54.53% -4.36%, #BCAB2A 0%, rgba(42, 188, 108, 0.50) 24.04%, rgba(0, 0, 0, 0.00) 100%);
  transition: height 520ms ease;
}

.noc-lencol__pluvial-fill::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 2px solid #2AA6BC;
}

.noc-lencol__pluvial-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding-left: 14px;
  pointer-events: none;
}

.noc-lencol__pluvial-pct {
  color: #8BAE9F;
  text-align: left;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.noc-lencol__pluvial-status {
  color: #699280;
  text-align: left;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 16.444px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  max-width: 90%;
}

/* Sem medição hoje — laranja */
.noc-lencol--pluvial.is-sem-dados .noc-lencol__pluvial-fill {
  background: radial-gradient(197% 57.69% at 54.53% -4.36%,
    #BC762A 0%, rgba(188, 120, 42, 0.50) 24.04%, rgba(0, 0, 0, 0.00) 100%);
}
.noc-lencol--pluvial.is-sem-dados .noc-lencol__pluvial-fill::before {
  border-top-color: #FA8F00;
}
.noc-lencol--pluvial.is-sem-dados .noc-lencol__pluvial-pct {
  color: #FA8F00;
}
.noc-lencol--pluvial.is-sem-dados .noc-lencol__pluvial-status {
  color: #FA8F00;
}
/* "Atual. 0%" — linha superior direita */
.noc-lencol--pluvial.is-sem-dados .noc-lencol__val--current .noc-lencol__val-prefix,
.noc-lencol--pluvial.is-sem-dados .noc-lencol__val--current .noc-lencol__val-num,
.noc-lencol--pluvial.is-sem-dados .noc-lencol__val--current .noc-lencol__val-unit {
  color: #FA8F00;
}
/* Linha do gráfico de tendência */
.noc-lencol--pluvial.is-sem-dados #pluvTrendLine,
.noc-lencol--pluvial.is-sem-dados #pluvTrendShadow {
  stroke: #FA8F00;
}
.noc-lencol--pluvial.is-sem-dados #pluvTrendArea {
  fill: rgba(250, 143, 0, 0.14);
}

.noc-lencol--pluvial .noc-pluvial-trend {
  flex: 1;
  min-height: 0;
}

.noc-pluvial-trend {
  position: relative;
  width: 100%;
  min-height: 80px;
  flex: 1 1 0;
  height: auto;
  padding: 6px 8px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.86) 0%, rgba(9, 10, 11, 0.92) 100%);
  border: 1px solid rgba(46, 46, 46, 0.65);
  box-sizing: border-box;
  overflow: hidden;
}

.noc-pluvial-trend__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.noc-pluvial-trend__col {
  position: relative;
  padding-top: 6px;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
}

.noc-pluvial-trend__col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 34px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(110, 110, 110, 0.38) 0 7px,
    transparent 7px 14px
  );
}

.noc-pluvial-trend__max {
  color: #656666;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  white-space: nowrap;
}

.noc-pluvial-trend__max-prefix {
  color: #656666;
}

.noc-pluvial-trend__max-val {
  color: #656666;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.01em;
}

.noc-pluvial-trend__day {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  color: #656666;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.noc-pluvial-trend__day-prefix {
  color: #656666;
  font-size: 10px;
  font-weight: 400;
}

.noc-pluvial-trend__day-prefix--hide {
  display: none;
}

.noc-pluvial-trend__day .noc-pluvial-trend__day-num {
  color: #656666;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* Coluna atual: "max." permanece cinza; porcentagem e label em destaque */
.noc-pluvial-trend__col--today .noc-pluvial-trend__max-prefix {
  color: #656666;
}

.noc-pluvial-trend__col--today .noc-pluvial-trend__max-val {
  color: #8bae9f;
}

.noc-pluvial-trend__col--today .noc-pluvial-trend__day .noc-pluvial-trend__day-num {
  color: #e8e8e8;
}

.noc-pluvial-trend__line-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  width: 100%;
  height: auto;
  min-height: 56px;
  max-height: 80px;
  aspect-ratio: 300 / 52;
  display: block;
  pointer-events: none;
}

.noc-pluvial-trend__chart.noc-hydro__chart {
  flex: 0 0 auto;
  min-height: 0;
}

.noc-lencol__tank-host {
  flex: 1;
  min-height: 0;
  min-width: 115px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.noc-lencol__tank-host svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* Onda JS — sem animação CSS duplicada */

.noc-lencol__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(0.04rem, 0.18vh, 0.09rem);
  min-height: 0;
  min-width: 0;
  flex: 1;
  justify-content: flex-start;
  /* Sem rolagem: se não couber, linhas extra são simplesmente recortadas */
  overflow: hidden;
}

.noc-lencol__row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) var(--lencol-gauge-col);
  align-items: center;
  column-gap: clamp(0.2rem, 0.5vw, 0.38rem);
  flex: 0 0 auto;
  min-height: 0;
  padding: clamp(0.05rem, 0.22vh, 0.15rem) clamp(0.35rem, 0.7vw, 0.5rem);
  background: rgba(77, 77, 77, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Linha atual (mês corrente): valor ocupa colunas 2+3, sem bolinha.
   Padding e min-height idênticos às demais linhas para mesma altura. */
.noc-lencol__row--current {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) var(--lencol-gauge-col);
}

.noc-lencol__gauge-slot {
  display: block;
  visibility: hidden;
  width: var(--lencol-gauge-col);
  height: var(--lencol-gauge-col);
  flex-shrink: 0;
  pointer-events: none;
}

.noc-lencol__month {
  color: #808080;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  white-space: nowrap;
}

.noc-lencol__row--current .noc-lencol__month {
  color: #e8e8e8;
  font-weight: 600;
}

.noc-lencol__val {
  margin: 0;
  text-align: right;
  min-width: 0;
  font-family: Bahnschrift, var(--font-figure), sans-serif;
  line-height: 1.05;
  justify-self: end;
  padding-right: 0.08rem;
}

.noc-lencol__val-prefix {
  font-size: clamp(8px, 0.68vw, 10px);
  font-weight: 400;
  color: #666;
}

.noc-lencol__val--current .noc-lencol__val-prefix {
  color: #2aa6bc;
}

.noc-lencol__val-num {
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 700;
  color: #666;
}

.noc-lencol__val-unit {
  font-size: clamp(10px, 0.88vw, 13px);
  font-weight: 700;
  color: #666;
}

.noc-lencol__val--current .noc-lencol__val-num,
.noc-lencol__val--current .noc-lencol__val-unit {
  color: #2aa6bc;
}

.noc-lencol__gauge-wrap {
  width: var(--lencol-gauge-col);
  height: var(--lencol-gauge-col);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  justify-self: end;
}

.noc-lencol__gauge-svg {
  width: clamp(26px, 6.5vw, 34px);
  height: auto;
  max-height: var(--lencol-gauge-col);
  display: block;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .noc-lencol__body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(140px, 0.38fr) minmax(0, 1fr);
    overflow: auto;
  }

  .noc-lencol__tank-outer {
    min-height: clamp(120px, 22vh, 200px);
  }

}

@media (max-width: 560px) {
  .noc-lencol__row {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) var(--lencol-gauge-col);
  }
}

/* ── Mini Hydro (5× Guaíba) ── */
.noc-v3-hydro-mini__inner {
  position: absolute;
  inset: clamp(0.45rem, 0.9vh, 0.7rem) clamp(0.45rem, 0.7vw, 0.7rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.1rem, 0.35vh, 0.28rem);
  overflow: hidden;
}

.noc-v3-hydro-mini__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}

.noc-v3-hydro-mini__label {
  font-family: var(--font-body);
  font-size: clamp(0.42rem, 0.52vw, 0.56rem);
  color: #6a6a6a;
  letter-spacing: 0.13em;
  font-weight: 600;
  text-transform: uppercase;
}

.noc-v3-hydro-mini__upd {
  font-family: var(--font-body);
  font-size: clamp(0.4rem, 0.48vw, 0.52rem);
  color: #555;
  white-space: nowrap;
}

.noc-v3-hydro-mini__val-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}

.noc-v3-hydro-mini .noc-hydro__val {
  font-size: clamp(0.9rem, 1.3vw, 1.7rem);
  line-height: 1;
}

.noc-v3-hydro-mini .noc-hydro__gauge {
  flex-shrink: 0;
}

.noc-v3-hydro-mini .noc-hydro__chart {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  width: 100%;
}

.noc-stage__subcard {
  background: rgba(26, 26, 26, 0.6);
  border-radius: 16.231px;
  min-height: 0;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, grid-row 220ms ease, grid-column 220ms ease;
}

/* Base para expansão futura via classe/atributo sem refatorar grid */
.noc-stage__subcard.is-expanded,
.noc-stage__subcard[data-expanded="true"] {
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.35);
}

.noc-stage__subcard--left {
  grid-area: center;
  background: #141414;
}

.noc-stage__subcard--mid-top {
  grid-area: leftTop;
}

.noc-stage__subcard--mid-bottom {
  grid-area: leftBottom;
}

/* ── Flight boxes ── */
.noc-stage__subcard[data-flight-type] {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(46, 46, 46, 0.6);
  background: rgba(18, 20, 24, 0.88);
  overflow: hidden;
  min-height: 0;
}

.noc-stage__subcard-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  width: 100%;
  padding: 0.58rem 0.9rem 0.5rem;
  font-family: Bahnschrift, var(--font-figure);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.noc-stage__subcard-label::before {
  content: '';
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #4ebc2a;
  box-shadow: 0 0 0.5rem rgba(78, 188, 42, 0.6);
  flex-shrink: 0;
}

.noc-stage__subcard--mid-top .noc-stage__subcard-label::before {
  background: #4ebc2a;
  box-shadow: 0 0 0.5rem rgba(78, 188, 42, 0.6);
}

.noc-stage__subcard-frapor-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 0.18rem 0.55rem 0.18rem 0.22rem;
  flex-shrink: 0;
}

.noc-stage__subcard-frapor-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.noc-stage__subcard-frapor-text {
  font-family: Bahnschrift, var(--font-figure);
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Flights wrapper -- no scroll, overflow hidden with bottom fade */
.noc-stage__subcard-flights {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  padding: 0 clamp(0.35rem, 0.7vw, 0.6rem) 0;
}

.noc-stage__subcard-flights::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, rgba(18, 20, 24, 0.97));
  pointer-events: none;
  z-index: 1;
}

/* Table */
.noc-flt-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.noc-flt-table thead tr {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(12, 14, 18, 0.97);
}

.noc-flt-table thead th {
  padding: 0.3rem 0.4rem 0.28rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.32);
  font-family: Bahnschrift, var(--font-figure);
  font-weight: 400;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  overflow: hidden;
}

/* Status: cabeçalho à direita, alinhado ao fim dos pills (sobrepõe text-align:left do thead) */
.noc-flt-table thead th.noc-flt-col-status {
  text-align: right;
}

.noc-flt-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 180ms ease;
}

.noc-flt-table tbody tr:last-child { border-bottom: none; }

.noc-flt-table tbody tr.noc-flt-row--board  { background: transparent; }
.noc-flt-table tbody tr.noc-flt-row--urgent { background: transparent; }

.noc-flt-table tbody td {
  padding: 0.3rem 0.4rem;
  vertical-align: middle;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #AEAEAE;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Column widths */
.noc-flt-col-cia    { width: 2.6rem; }
.noc-flt-col-voo    { width: 3.4rem; }
.noc-flt-col-dest   { /* flex 1 — remaining space */ }
.noc-flt-col-hora   { width: 2.8rem; text-align: left; }
.noc-flt-col-status { width: 6rem; text-align: right; padding-right: 0.45rem; }

/* Airline label */
.noc-flt-cia {
  display: inline-block;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #AEAEAE;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.noc-flt-cia--latam { background: transparent; }
.noc-flt-cia--gol   { background: transparent; }
.noc-flt-cia--azul  { background: transparent; }
.noc-flt-cia--copa  { background: transparent; }
.noc-flt-cia--other { background: transparent; }

/* Flight code */
.noc-flt-code {
  font-family: Bahnschrift, var(--font-figure);
  color: #AEAEAE;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

/* Destination */
.noc-flt-dest {
  font-family: Bahnschrift, var(--font-figure);
  color: #AEAEAE;
  font-size: 0.60rem;
}

/* Portão */
.noc-flt-gate {
  font-family: Bahnschrift, var(--font-figure);
  color: #AEAEAE;
  font-size: 0.6rem;
  margin-left: 0.3em;
}

/* Time */
.noc-flt-hora {
  font-family: Bahnschrift, var(--font-figure);
  color: #AEAEAE;
  font-weight: 400;
  font-size: 0.62rem;
  text-align: left;
}

/* Status pill */
.noc-flt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.14em 0.38em;
  border-radius: 999px;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.noc-flt-pill--on      { background: rgba(78,188,42,0.14);  color: #4ebc2a; border: 1px solid rgba(78,188,42,0.28); }
.noc-flt-pill--board   { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }
.noc-flt-pill--urgent  { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }
.noc-flt-pill--delay   { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }
.noc-flt-pill--landed  { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }
.noc-flt-pill--cancel  { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }
.noc-flt-pill--soon    { background: rgba(244,214,39,0.16); color: #f4d627; border: 1px solid rgba(244,214,39,0.35); }

/* Empty / error state */
.noc-flt-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  color: rgba(255,255,255,0.28);
  font-family: var(--font-body);
  font-size: 0.68rem;
}

.noc-flt-empty--error {
  color: #f2a74b;
}

.noc-stage__subcard--right-top {
  grid-area: rightA_top;
}

.noc-stage__subcard--right-mid-top {
  grid-area: rightA_bottom;
}

.noc-stage__subcard--right-mid-bottom {
  grid-area: rightB_top;
}

.noc-stage__subcard--right-bottom {
  grid-area: rightB_bottom;
}

.noc-stage__subcard-cam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.noc-stage__subcard-cam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.noc-stage__subcard-map {
  position: absolute;
  inset: 15px;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #141414;
  --map-scale: 1.22;
  --map-offset-x: -6%;
  --map-offset-y: -12%;
}

.noc-stage__subcard-map::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: #141414;
  pointer-events: none;
  z-index: 3;
}

/* Película preta sobre o mapa — opacidade 0.3 */
.noc-stage__subcard-map-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
  pointer-events: none;
  border-radius: inherit;
}

.noc-stage__subcard-map-frame {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .noc-stage__layout {
    grid-template-columns: 1fr 1fr 2fr;
  }

  .noc-stage__card--small {
    min-height: 0;
  }

  .noc-stage__main-column {
    grid-row: 1;
    grid-template-rows: var(--_quad-h) var(--_quad-h) 1fr;
    padding-bottom: 0;
  }

  .noc-stage__alert-content {
    grid-template-columns: clamp(100px, 34%, 150px) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .noc-stage__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto;
  }

  .noc-stage__left-column {
    grid-template-rows: minmax(0, 0.88fr) minmax(0, 2.12fr);
  }

  .noc-stage__main-column {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-rows: minmax(160px, auto) minmax(140px, auto) minmax(280px, auto);
    padding-bottom: 0;
  }

  .noc-stage__layout > .noc-stage__card--weather-ticker {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .noc-stage__card--bottom-strip {
    left: 0;
    width: 100%;
  }

  .noc-stage__card--small,
  .noc-stage__card--top-grid {
    min-height: clamp(140px, 22vh, 220px);
  }

  .noc-stage__card--bottom-strip {
    min-height: clamp(184px, 21vh, 268px);
  }

  .noc-stage__alert-content {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: clamp(4rem, 9vw, 4.8rem);
    height: calc(100% - clamp(4rem, 9vw, 4.8rem));
  }

}

@media (max-width: 560px) {
  .noc-stage__layout {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
  }

  .noc-stage__main-column {
    grid-column: 1;
    grid-row: 2;
  }

  .noc-stage__layout > .noc-stage__card--weather-ticker {
    grid-column: 1;
    grid-row: 3;
  }
}

/* === TICKER METEOROLÓGICO (484:1213 + 484:1231) === */
.noc-stage__card--weather-ticker {
  background: rgba(51, 51, 51, 0.2);
  border-radius: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  position: static;
  left: auto;
  width: 100%;
}


/* Ticker como filho direto do layout — ocupa as 3 colunas na linha inferior (full-width) */
.noc-stage__layout > .noc-stage__card--weather-ticker {
  grid-column: 1 / -1;
  grid-row: 2;
  position: static;
  width: auto;
  height: var(--noc-left-ticker-h);
  min-height: var(--noc-left-ticker-h);
  align-self: end;
  margin-top: 0;
  z-index: auto;
}

.noc-stage__card--weather-ticker::before {
  display: none;
}

.noc-weather-ticker__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.noc-weather-ticker__inner {
  display: inline-flex;
  white-space: nowrap;
  animation: noc-ticker-scroll 70s linear infinite;
  will-change: transform;
}

.noc-weather-ticker__segment {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 300;
  color: #b3b3b3;
  padding: 0 3rem;
  line-height: 1;
}

.noc-weather-ticker__segment b {
  color: #ffffff;
  font-weight: 400;
}

@keyframes noc-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Separador vertical entre blocos do ticker (Figma 484:1214 — Line 30, 0×53px) */
.noc-ticker__sep {
  display: inline-block;
  width: 1px;
  height: 36px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 25%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.18) 75%,
    transparent 100%
  );
  vertical-align: middle;
  margin: 0 2rem;
  flex-shrink: 0;
}

/* Dot colorido dentro do ticker */
.noc-ticker__dot {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0.45em;
  display: inline-block;
}

/* === FLUXO DE TRÂNSITO — cores dinâmicas por stage === */
.noc-stage__alert-banner-time.v2-rt-ok  { color: #4EBC2A; }
.noc-stage__alert-banner-time.v2-rt-mid { color: #FFD600; }
.noc-stage__alert-banner-time.v2-rt-bad { color: #ff1744; }

.v2-dot-ok  { filter: none; }
.v2-dot-mid { filter: none; }
.v2-dot-bad { filter: hue-rotate(240deg) saturate(2) brightness(1); }

/* ── Timeline History Dots ── */
.noc-strip__hist-popup {
  position: absolute;
  transform: translateX(-50%);
  bottom: calc(var(--strip-axis-bottom) + 21px / 2 + 16.51px / 2 + 4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.noc-strip__hist-temp {
  font-family: Bahnschrift, var(--font-figure);
  font-size: 24.272px;
  font-weight: 300;
  color: #ccc;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 4px;
}

.noc-strip__hist-icon {
  display: flex;
  align-items: center;
}

.noc-strip__hist-icon svg {
  display: block;
}

.noc-strip__hist-line {
  width: 1.54px;
  height: 16px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.noc-strip__hist-circle {
  position: absolute;
  transform: translateX(-50%);
  bottom: calc(var(--strip-axis-bottom) + 21px / 2 - 16.51px / 2);
  width: 16.51px;
  height: 16.51px;
  border-radius: 50%;
  /* sun default: solid white dot */
  border: 1.54px solid #fff;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 2;
}

.noc-strip__hist-circle--cloud {
  border-color: #b0b0b0;
  background: #b0b0b0;
  box-shadow: 0 0 6px rgba(176, 176, 176, 0.4);
}

.noc-strip__hist-circle--rain {
  background: #FF8B2C;
  border-color: #FF8B2C;
  box-shadow: 0 0 8px rgba(255, 139, 44, 0.55);
}

.noc-strip__hist-time {
  position: absolute;
  transform: translateX(-50%);
  bottom: var(--strip-bottom-gap);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16.182px;
  font-style: normal;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

/* ── Temperature decimal sub-sizing ── */
.noc-temp-dec {
  font-size: 0.70em;
  vertical-align: top;
  line-height: 1.4;
}

/* ── Day weather popups (Ontem / Amanhã) ── */
.noc-strip__day-label {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 3px;
}

.noc-strip__day-minmax {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: Bahnschrift, var(--font-figure);
  font-size: 13px;
  margin-bottom: 3px;
}

.noc-strip__day-max {
  color: #ff9944;
}

.noc-strip__day-min {
  color: #69b4ff;
}

.noc-strip__day-temp-value {
  color: #ffffff;
}

.noc-strip__day-circle {
  position: absolute;
  transform: translateX(-50%);
  bottom: calc(var(--strip-axis-bottom) + 21px / 2 - 16.51px / 2);
  width: 16.51px;
  height: 16.51px;
  border-radius: 50%;
  border: 1.54px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.noc-strip__day-circle--cloud {
  border-color: rgba(176, 176, 176, 0.6);
  background: rgba(176, 176, 176, 0.2);
}

.noc-strip__day-circle--rain {
  border-color: rgba(255, 139, 44, 0.8);
  background: rgba(255, 139, 44, 0.25);
  box-shadow: 0 0 7px rgba(255, 139, 44, 0.4);
}
