/* monitor.mcubeusa.com — tunnel-style page + live machine panels (monitor-machines.js)
   and the 5-step infographic (monitor-flow.js).
   Page tokens match mcubeusa.com (css/tunnel.css). Chart tokens: --series-1..3 are the
   dataviz reference categorical slots 1-3, validated all-pairs against these surfaces in
   both modes (2026-11-15); single-series charts use --accent. Status colours are reserved
   for status and always come with an icon + label. */
:root {
  --bg: #05070d; --text: #eef4fa; --muted: #a9b6c4; --lead: #cfd9e3;
  --accent: #00e5ff; --on-accent: #021016;
  --panel: rgba(8, 12, 20, .62); --panel-border: rgba(255, 255, 255, .10);
  --surface: rgba(255, 255, 255, .045); --line: rgba(255, 255, 255, .14);
  --chip-bg: rgba(5, 7, 13, .45); --chip-on: rgba(255, 255, 255, .14);
  --shape: rgba(0, 229, 255, .16); --shape-line: rgba(0, 229, 255, .45);
  --panel-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  --live: #5fd39a;
  --tile: rgba(255, 255, 255, .035); --tile-solid: #0d121b; --tile-border: rgba(255, 255, 255, .08);
  --track: rgba(255, 255, 255, .10); --grid: #1b222c; --axis: #323b47; --tip-bg: #0d121b;
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70;
  --good: #0ca30c; --warn: #fab219; --crit: #d03b3b;
  color-scheme: dark;
  --font: "Space Grotesk", "Zen Kaku Gothic New", system-ui, sans-serif;
}
:root[data-theme="light"] {
  --bg: #eef3f7; --text: #0d1620; --muted: #45535f; --lead: #24323e;
  --accent: #0a6e7e; --on-accent: #fff;
  --panel: rgba(255, 255, 255, .74); --panel-border: rgba(13, 22, 32, .10);
  --surface: rgba(238, 243, 247, .9); --line: rgba(13, 22, 32, .14);
  --chip-bg: rgba(255, 255, 255, .6); --chip-on: rgba(13, 22, 32, .10);
  --shape: rgba(10, 110, 126, .10); --shape-line: rgba(10, 110, 126, .35);
  --panel-shadow: 0 18px 50px rgba(30, 50, 70, .14);
  --live: #1d7044;
  --tile: rgba(255, 255, 255, .72); --tile-solid: #ffffff; --tile-border: rgba(13, 22, 32, .08);
  --track: rgba(13, 22, 32, .08); --grid: #e6ebef; --axis: #c3ccd4; --tip-bg: #ffffff;
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a;
  --good: #0ca30c; --warn: #fab219; --crit: #d03b3b;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--accent) 16%, var(--bg)) 0%, var(--bg) 65%) fixed;
  background-color: var(--bg);
  color: var(--text); font-family: var(--font); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color .5s, color .5s;
}
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) p { word-break: auto-phrase; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* drifting cubes — the tunnel's shapes, without WebGL so the charts keep the CPU */
.shapes { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.shapes i { position: absolute; display: block; border: 1px solid var(--shape-line); background: var(--shape); border-radius: 4px; animation: drift 18s ease-in-out infinite alternate; }
.shapes i:nth-child(1) { width: 56px; height: 56px; left: 6%; top: 16%; transform: rotate(18deg); }
.shapes i:nth-child(2) { width: 28px; height: 28px; left: 3%; top: 70%; animation-delay: -4s; }
.shapes i:nth-child(3) { width: 84px; height: 84px; right: 4%; top: 52%; transform: rotate(-12deg); animation-delay: -9s; }
.shapes i:nth-child(4) { width: 22px; height: 22px; right: 14%; top: 14%; animation-delay: -2s; }
.shapes i:nth-child(5) { width: 40px; height: 40px; left: 46%; top: 88%; transform: rotate(30deg); animation-delay: -12s; }
.shapes i:nth-child(6) { width: 16px; height: 16px; left: 62%; top: 8%; animation-delay: -6s; }
@keyframes drift { to { translate: 0 -26px; rotate: 40deg; } }
@media (prefers-reduced-motion: reduce) { .shapes i { animation: none; } }
@media (max-width: 520px) { .shapes i:nth-child(1), .shapes i:nth-child(3) { display: none; } }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--panel-border);
}
.brand { font-weight: 700; letter-spacing: .14em; color: var(--text); text-decoration: none; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.spacer { flex: 1; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--panel-border); }
.lang-switch button, .theme-toggle { font: inherit; font-size: .78rem; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; }
.lang-switch button { padding: 4px 10px; border-radius: 999px; }
.lang-switch button[aria-pressed="true"] { background: var(--chip-on); color: var(--text); }
.theme-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--chip-bg); border: 1px solid var(--panel-border); color: var(--text); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.top-cta { padding: 7px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .top-cta { display: none; } }
@media (max-width: 420px) { .tag span:last-child { display: none; } }

/* content */
main { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; padding: 0 16px 24px; }
.eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero { padding: clamp(40px, 9vh, 96px) 0 clamp(28px, 6vh, 56px); text-align: center; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.15; letter-spacing: -.01em; }
.hero .hl { color: var(--accent); }
:lang(en) .hero .hl, :lang(pt-BR) .hero .hl { padding: 0 .02em; }
.lead { margin: 0 auto; max-width: 38em; font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--lead); }
.note { margin: 14px auto 0; font-size: .82rem; color: var(--muted); }

.block { margin: 0 0 clamp(48px, 9vh, 88px); }
.head { margin: 0 0 22px; }
.head h2, .cta h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.25; }
.sub { margin: 0; max-width: 46em; color: var(--muted); }

.panel {
  border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--panel-shadow);
}

/* connection state (set on <html> by monitor-machines.js) drives every live dot */
:root[data-conn="connecting"] .dot { background: var(--muted); animation: none; }
:root[data-conn="offline"] .dot { background: var(--crit); animation: none; }
.conn { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--panel-border); font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ---------- status summary (hero) ---------- */
.summary { width: min(760px, 100%); margin: 26px auto 0; padding: 14px 18px; text-align: left; }
.summary:empty { min-height: 92px; }
.sum-counts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 0; }
.sum-total { margin-right: 4px; font-weight: 700; }
.sum-c { --c: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 9px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.sum-c[data-s="good"], .sum-list a[data-s="good"] { --c: var(--good); }
.sum-c[data-s="warn"], .sum-list a[data-s="warn"] { --c: var(--warn); }
.sum-c[data-s="crit"], .sum-list a[data-s="crit"] { --c: var(--crit); }
.sum-ico { display: grid; color: var(--c); }
.sum-n { font-size: 1rem; font-variant-numeric: tabular-nums; }
.sum-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--tile-border); }
.sum-list a { --c: var(--muted); display: inline-flex; align-items: center; gap: 7px; padding: 2px 0; font-size: .82rem; color: var(--muted); text-decoration: none; }
.sum-list a:hover { color: var(--text); }
.sum-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.sum-list a[data-s="wait"] .sum-dot, .sum-list a[data-s="learn"] .sum-dot { background: none; border: 1.5px solid var(--muted); }
.machine { scroll-margin-top: 84px; }

/* ---------- 5-step infographic ---------- */
.flow { --pad: clamp(16px, 2.6vw, 28px); --node: 56px; position: relative; padding: var(--pad); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 1; }
.flow-rail { position: absolute; z-index: 0; top: calc(var(--pad) + var(--node) / 2 - 1px); height: 2px;
  left: calc(var(--pad) + (100% - 2 * var(--pad) - 72px) / 10); right: calc(var(--pad) + (100% - 2 * var(--pad) - 72px) / 10); }
.flow-line { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 20%, transparent) 22%, color-mix(in srgb, var(--accent) 20%, transparent) 72%, color-mix(in srgb, var(--accent) 55%, transparent)); }
.packet { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 14px var(--accent); animation: travel linear forwards; }
@keyframes travel { from { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } to { left: 100%; opacity: 0; } }
.fstep { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.f-node { display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; color: var(--accent);
  background: var(--tile-solid); border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent); transition: background-color .3s; }
.fstep[data-k="plan"] .f-node { border-style: dashed; color: var(--muted); border-color: var(--axis); }
.fstep.hit .f-node { animation: hit .9s ease-out; }
@keyframes hit { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 22%, var(--tile-solid)); } 100% { box-shadow: 0 0 0 14px transparent; } }
.f-num { margin: 12px 0 2px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.fstep[data-k="plan"] .f-num { color: var(--muted); }
.fstep h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; }
.fstep p { margin: 0 0 12px; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.f-tag { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.4; border: 1px solid var(--tile-border); background: var(--tile); color: var(--muted); }
.f-tag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; }
.fstep[data-k="live"] .f-tag { color: var(--text); }
.fstep[data-k="live"] .f-tag::before { background: var(--good); }
.fstep[data-k="sim"] .f-tag { color: var(--text); }
.fstep[data-k="sim"] .f-tag::before { border: 1.5px solid var(--accent); }
.fstep[data-k="plan"] .f-tag { border-style: dashed; border-color: var(--axis); }
.fstep[data-k="plan"] .f-tag::before { border: 1.5px dashed var(--muted); }
.flow-note { margin: 12px 4px 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) {
  .flow-steps { grid-template-columns: 1fr; gap: 0; }
  .flow-rail { display: none; }
  .fstep { display: grid; grid-template-columns: var(--node) 1fr; column-gap: 16px; align-items: start; text-align: left; padding-bottom: 20px; position: relative; }
  .fstep:last-child { padding-bottom: 0; }
  .fstep:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: calc(var(--node) + 4px); bottom: 4px; width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 22%, transparent); }
  .f-node { grid-row: 1 / span 4; }
  .f-num { margin-top: 2px; }
  .f-tag { margin-top: 0; justify-self: start; }
}

/* ---------- machine panels ---------- */
.machines { display: grid; gap: 22px; }
.machine-slot:empty { min-height: 160px; border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-border); }
.machine { padding: clamp(16px, 2.6vw, 24px); border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--panel-shadow); }
.m-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; }
.m-titles { min-width: 0; flex: 1 1 280px; }
.m-name { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.m-desc { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.m-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.m-status { --c: var(--muted); display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 12px 5px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.m-status[data-s="good"] { --c: var(--good); } .m-status[data-s="warn"] { --c: var(--warn); } .m-status[data-s="crit"] { --c: var(--crit); }
.m-ico { display: grid; color: var(--c); }
.m-status[data-s="learn"] .m-ico svg, .m-status[data-s="wait"] .m-ico svg { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-time { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.m-time:not(:empty)::before { content: "· "; }
.m-upd { margin: 0; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.m-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; background: var(--tile); border: 1px solid var(--tile-border); }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); }
.chip[data-on="true"] .chip-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.chip-state { font-weight: 600; color: var(--muted); }
.chip[data-on="true"] .chip-state { color: var(--text); }

.m-kpis, .m-charts { display: grid; gap: 14px; margin-top: 14px; }
.m-kpis { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.m-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-charts > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .m-charts { grid-template-columns: minmax(0, 1fr); } }

.tile { min-width: 0; padding: 14px 16px 16px; border-radius: 12px; background: var(--tile); border: 1px solid var(--tile-border); }
.t-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.t-title { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.unit { font-weight: 500; color: var(--muted); }
.t-title .unit { font-size: .82rem; }
.t-now { margin: 0; font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.t-now .unit, .t-now { font-variant-numeric: normal; }
.t-plot { position: relative; height: 180px; margin-top: 8px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; padding: 0; font-size: .8rem; }
.legend li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sw { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.lg-name { color: var(--muted); }
.lg-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.legend.rows { display: grid; gap: 6px; margin-top: 0; }
.legend.rows li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 3.5ch; gap: 8px; }
.legend.rows .lg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-pct { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.kpi { display: flex; flex-direction: column; }
.k-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.k-val { margin: 6px 0 0; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.k-val .unit { font-size: .9rem; }
.k-val.big { font-size: 2rem; }
.k-note { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.pill { --c: var(--muted); margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.pill:empty { display: none; }
.pill[data-s="good"] { --c: var(--good); } .pill[data-s="warn"] { --c: var(--warn); } .pill[data-s="crit"] { --c: var(--crit); }

.tk-bar { position: relative; height: 12px; margin: 16px 0 4px; border-radius: 6px; background: var(--track); }
.tk-fill { width: 0; height: 100%; border-radius: 6px; background: var(--accent); transition: width .6s ease; }
.tank[data-status="warning"] .tk-fill { background: var(--warn); }
.tank[data-status="critical"] .tk-fill, .tank[data-status="overfill"] .tk-fill { background: var(--crit); }
.tk-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--text); opacity: .4; }

.g-wrap { position: relative; width: min(220px, 100%); margin: 8px auto 0; }
.g-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-track, .g-fill { fill: none; stroke-width: 10; stroke-linecap: round; }
.g-track { stroke: var(--track); }
.g-fill { stroke: var(--accent); transition: stroke-dasharray .6s ease; }
.g-val { position: absolute; left: 0; right: 0; bottom: -2px; margin: 0; text-align: center; font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.g-val .unit { font-size: .85rem; }
.g-scale { display: flex; justify-content: space-between; width: min(220px, 100%); margin: 4px auto 0; padding: 0 2px; font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.mx-bar { display: flex; gap: 2px; height: 12px; margin: 12px 0; border-radius: 6px; overflow: hidden; }
.mx-seg { min-width: 4px; flex: 1 1 0; transition: flex-grow .6s ease; }
/* ---------- step 3: ML forecast tile ---------- */
.forecast { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 18px 24px; margin-top: 14px; }
.forecast[data-state="over"] { border-color: color-mix(in srgb, var(--crit) 55%, transparent); }
.forecast[data-state="forecast"]:has(.fc-eta[data-pill="soon"]) { border-color: color-mix(in srgb, var(--warn) 60%, transparent); }
.fc-info { display: flex; flex-direction: column; min-width: 0; }
.fc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ml-badge { padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.fc-label { margin: 16px 0 2px; font-size: .82rem; color: var(--muted); }
.fc-eta { margin: 0; font-size: 1.9rem; font-weight: 700; line-height: 1.15; }
.fc-eta[data-pill="over"] { color: var(--crit); }
.fc-range { margin: 6px 0 0; font-size: .86rem; color: var(--lead); }
.fc-meta { margin: 10px 0 0; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fc-model { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--tile-border); font-size: .76rem; line-height: 1.55; color: var(--muted); }
.fc-info .fc-model { margin-top: auto; }
.fc-chart { min-width: 0; }
.fc-chart .legend { margin: 0 0 4px; }
.forecast .t-plot { height: 230px; }
.sw-act { height: 3px; width: 16px; border-radius: 2px; background: var(--accent); }
.sw-fc { height: 3px; width: 16px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 8px); }
.sw-band { width: 14px; height: 10px; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.sw-lim { height: 2px; width: 16px; border-radius: 1px; background: var(--crit); }
@media (max-width: 760px) { .forecast { grid-template-columns: minmax(0, 1fr); } .fc-info .fc-model { margin-top: 14px; } }
@media (prefers-reduced-motion: reduce) { .tk-fill, .g-fill, .mx-seg { transition: none; } .m-ico svg { animation: none !important; } }

.cta { padding: clamp(28px, 6vw, 48px); text-align: center; }
.cta .sub { margin: 0 auto 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 26px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.btn:hover, .top-cta:hover { filter: brightness(1.08); }

footer { position: relative; z-index: 1; padding: 0 16px 24px; text-align: center; font-size: .8rem; color: var(--muted); }
footer a { color: var(--muted); }
