:root {
  --st-boot-bg-0: #020617;
  --st-boot-bg-1: #06162a;
  --st-boot-bg-2: #0b1120;
  --st-boot-cyan: #22d3ee;
  --st-boot-blue: #3b82f6;
  --st-boot-violet: #8b5cf6;
  --st-boot-green: #34d399;
  --st-boot-amber: #f59e0b;
  --st-boot-red: #ef4444;
  --st-boot-text: #e0f2fe;
  --st-boot-muted: rgba(224, 242, 254, .68);
  --st-boot-soft: rgba(125, 211, 252, .14);
}

html.st-boot-lock,
html.st-boot-lock body {
  overflow: hidden !important;
}
html.st-boot-lock #builder-root {
  visibility: hidden;
  opacity: 0;
}

#st-boot-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(34,211,238,.18), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(139,92,246,.18), transparent 26%),
    radial-gradient(circle at 68% 82%, rgba(59,130,246,.14), transparent 30%),
    linear-gradient(135deg, var(--st-boot-bg-0), var(--st-boot-bg-1) 48%, var(--st-boot-bg-2));
  color: var(--st-boot-text);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  transition: opacity .55s ease, visibility .55s ease;
  overflow: hidden;
  isolation: isolate;
}
#st-boot-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#st-boot-loader::before,
#st-boot-loader::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
}
#st-boot-loader::before {
  background:
    linear-gradient(rgba(34,211,238,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 0 68%, transparent 88%);
  animation: stBootGridDrift 14s linear infinite;
  opacity: .8;
}
#st-boot-loader::after {
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.12), transparent);
  height: 12%;
  top: -12%;
  animation: stBootScan 5.6s ease-in-out infinite;
}

.st-boot-shell {
  position: relative;
  z-index: 1;
  width: calc(100vw - 20px);
  min-height: calc(100vh - 20px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.72), rgba(2,6,23,.84)),
    radial-gradient(circle at 14% 0%, rgba(34,211,238,.12), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(139,92,246,.10), transparent 24%);
  box-shadow: 0 32px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(56,189,248,.07);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.st-boot-shell::before,
.st-boot-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.st-boot-shell::before {
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(34,211,238,.09);
}
.st-boot-shell::after {
  inset: auto -20% 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.42), transparent);
  animation: stBootSweepX 8s linear infinite;
}

.st-boot-top-caption {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(34,211,238,.05), rgba(139,92,246,.08), rgba(34,211,238,.05)),
    rgba(15,23,42,.38);
  color: #cffafe;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 24px rgba(34,211,238,.08);
  font-size: clamp(10px, .9vw, 13px);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
}
.st-boot-top-caption::before,
.st-boot-top-caption::after {
  content: "";
  width: min(120px, 12vw);
  height: 1px;
  margin: 0 14px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.58));
  opacity: .85;
}
.st-boot-top-caption::after {
  background: linear-gradient(90deg, rgba(34,211,238,.58), transparent);
}

.st-boot-gridline {
  position: relative;
}
.st-boot-gridline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.18), transparent);
}

.st-boot-head {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(420px, .9fr);
  align-items: stretch;
  gap: 16px;
}
.st-boot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.st-boot-brand--full {
  padding: 12px 14px;
  border: 1px solid rgba(125,211,252,.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,23,42,.48), rgba(2,6,23,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.st-boot-logo-image {
  width: min(48vw, 520px);
  max-width: 100%;
  min-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(34,211,238,.20));
}
.st-boot-donut-panel {
  flex: 1 1 auto;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.st-boot-donut {
  --p: 0;
  --accent: #22d3ee;
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125,211,252,.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 48%),
    rgba(2,6,23,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 18px rgba(34,211,238,.06);
  overflow: hidden;
}
.st-boot-donut::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 120deg, transparent, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30%);
  animation: stBootRotate 8s linear infinite;
  opacity: .55;
}
.st-boot-donut__ring {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--accent) calc(var(--p) * 1%), rgba(125,211,252,.11) 0),
    radial-gradient(circle, rgba(2,6,23,.96) 0 57%, transparent 58%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent), inset 0 0 18px rgba(255,255,255,.04);
}
.st-boot-donut__ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px dashed rgba(224,242,254,.16);
}
.st-boot-donut__value {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
}
.st-boot-donut__value strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  color: #f0fdfa;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 38%, transparent);
}
.st-boot-donut__value span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(224,242,254,.62);
}
.st-boot-head-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px,1fr));
  gap: 12px;
}
.st-boot-time {
  display: grid;
  gap: 4px;
  align-content: center;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 18px;
  background: rgba(15,23,42,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.st-boot-time--wide { min-height: 90px; }
.st-boot-time span:first-child,
.st-boot-total-box span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  color: rgba(224,242,254,.58);
  text-transform: uppercase;
}
.st-boot-time strong,
.st-boot-total-box strong {
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 950;
  color: #67e8f9;
  font-style: normal;
}
.st-boot-time small {
  font-size: 12px;
  color: rgba(224,242,254,.72);
}
.st-boot-warning-panel { border-color: rgba(245,158,11,.18); }
.st-boot-long-line {
  display: flex; align-items: center; gap: 8px;
  font-style: normal;
}
.st-boot-long-line em { font-style: normal; color: #bbf7d0; font-size: 14px; }
.st-boot-long-indicator {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--st-boot-green);
  box-shadow: 0 0 16px rgba(52,211,153,.55);
  flex: 0 0 auto;
}
.st-boot-warning-panel.is-slow .st-boot-long-indicator {
  background: var(--st-boot-red);
  box-shadow: 0 0 18px rgba(239,68,68,.65);
  animation: stBootPulse 1s ease-in-out infinite;
}
.st-boot-warning-panel.is-slow .st-boot-long-line em {
  color: #fecaca;
}

.st-boot-main {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(500px, 1.45fr) minmax(300px, .95fr);
  align-items: stretch;
  gap: 16px;
}
.st-boot-card {
  border: 1px solid rgba(125,211,252,.16);
  border-radius: 24px;
  background: rgba(2,6,23,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.st-boot-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(125,211,252,.10);
  color: rgba(224,242,254,.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.st-boot-dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--st-boot-green);
  box-shadow: 0 0 18px rgba(52,211,153,.60);
  animation: stBootPulse 1.2s ease-in-out infinite;
}

.st-boot-radar {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 0;
}
.st-boot-radar-map {
  position: absolute;
  inset: 68px 18px 128px 18px;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(34,211,238,.08), transparent 66%);
}
.st-boot-radar-map i {
  position: absolute;
  left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 999px;
  background: rgba(34,211,238,.95); box-shadow: 0 0 16px rgba(34,211,238,.8);
  animation: stBootPing 2.4s ease-in-out infinite;
  animation-delay: var(--d);
}

/* [00352][BOOT RADAR MICRO MOTION]
   Two radar signal dots move only a few pixels diagonally every second.
   They do not fly away from the radar; this is a subtle live-signal effect. */
.st-boot-radar-map i.st-radar-drift-dot {
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform, opacity;
}
.st-boot-radar-map i.st-radar-drift-dot--a {
  animation-name: stBootRadarMicroDriftA;
}
.st-boot-radar-map i.st-radar-drift-dot--b {
  animation-name: stBootRadarMicroDriftB;
}
@keyframes stBootRadarMicroDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .78; }
  100% { transform: translate3d(7px, -5px, 0) scale(1.18); opacity: 1; }
}
@keyframes stBootRadarMicroDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .78; }
  100% { transform: translate3d(-6px, 6px, 0) scale(1.14); opacity: 1; }
}

.st-boot-ring {
  --p: 0;
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, rgba(34,211,238,.95) calc(var(--p) * 1%), rgba(34,211,238,.10) 0),
    radial-gradient(circle, rgba(15,23,42,.96) 0 58%, rgba(34,211,238,.06) 59% 66%, transparent 67%);
  box-shadow: 0 0 44px rgba(34,211,238,.18), inset 0 0 32px rgba(34,211,238,.08);
}
.st-boot-ring::before {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  border: 1px solid rgba(125,211,252,.18);
  background:
    linear-gradient(90deg, transparent 49%, rgba(125,211,252,.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(125,211,252,.16) 50%, transparent 51%);
  animation: stBootRotate 10s linear infinite;
}
.st-boot-ring::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px dashed rgba(34,211,238,.18); animation: stBootRotateReverse 14s linear infinite;
}
.st-boot-ring__orbit {
  position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(34,211,238,.16);
}
.st-boot-ring__orbit--a { animation: stBootRotate 12s linear infinite; }
.st-boot-ring__orbit--b { inset: -30px; border-style: dashed; opacity: .7; animation: stBootRotateReverse 18s linear infinite; }
.st-boot-percent { text-align: center; display: grid; gap: 8px; }
.st-boot-percent strong { font-size: clamp(42px, 6vw, 76px); line-height: 1; font-weight: 950; letter-spacing: -.05em; }
.st-boot-percent small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--st-boot-muted); }

.st-boot-mini-metrics {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0 18px 12px;
}
.st-boot-mini-metrics > div,
.st-boot-total-box {
  padding: 12px; border: 1px solid rgba(125,211,252,.12); border-radius: 16px; background: rgba(15,23,42,.32);
}
.st-boot-mini-metrics span { display:block; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color: rgba(224,242,254,.56); }
.st-boot-mini-metrics b { display:block; margin-top:6px; font-size:18px; color:#67e8f9; font-variant-numeric:tabular-nums; }
.st-boot-total-boxes { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 18px 18px; }
.st-boot-total-box strong { display:block; margin-top:8px; }

.st-boot-centerdeck { min-height: 500px; display:grid; grid-template-rows:auto 1fr; }
.st-boot-hero-grid {
  display:grid; grid-template-columns: 1.15fr .95fr; gap:14px; padding:14px;
}
.st-boot-hero-panel,
.st-boot-status-panel { min-height: 0; }
.st-boot-hero-screen {
  position: relative; overflow:hidden; min-height: 100%; border-radius: 22px; padding: 20px;
  border: 1px solid rgba(125,211,252,.14);
  background: linear-gradient(180deg, rgba(11,17,32,.86), rgba(15,23,42,.48));
}
.st-boot-hero-screen__glow {
  position:absolute; inset:-20% -15%;
  background: radial-gradient(circle at 50% 32%, rgba(34,211,238,.22), transparent 28%), radial-gradient(circle at 68% 72%, rgba(139,92,246,.12), transparent 26%);
  animation: stBootDriftGlow 10s ease-in-out infinite;
}
.st-boot-hero-screen__title, .st-boot-hero-screen__subtitle, .st-boot-priority-wrap, .st-boot-wave-grid { position:relative; z-index:1; }
.st-boot-hero-screen__title { font-size: 18px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #e0f2fe; }
.st-boot-hero-screen__subtitle { margin-top: 10px; max-width: 540px; color: rgba(224,242,254,.70); line-height: 1.45; font-size: 14px; }
.st-boot-priority-wrap { margin-top: 20px; display:grid; gap:10px; }
.st-boot-priority-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(224,242,254,.56); }
.st-boot-priority-marquee { position: relative; height: 220px; overflow: hidden; border-radius: 18px; border: 1px solid rgba(125,211,252,.12); background: rgba(15,23,42,.30); }
.st-boot-priority-marquee::before,
.st-boot-priority-marquee::after { content:""; position:absolute; left:0; right:0; height:44px; z-index:1; pointer-events:none; }
.st-boot-priority-marquee::before { top:0; background: linear-gradient(180deg, rgba(15,23,42,.92), transparent); }
.st-boot-priority-marquee::after { bottom:0; background: linear-gradient(0deg, rgba(15,23,42,.92), transparent); }
.st-boot-priority-track { display:grid; gap:10px; padding: 16px; animation: stBootScrollUp 20s linear infinite; }
.st-boot-priority-track span { padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(34,211,238,.12); background: rgba(2,6,23,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); font-weight: 700; color: #c6f4ff; }
.st-boot-wave-grid { margin-top: 18px; display:grid; grid-template-columns: repeat(12,1fr); align-items:end; gap:8px; min-height: 100px; }
.st-boot-wave-grid span { height: var(--h); min-height: 16px; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, rgba(34,211,238,.95), rgba(59,130,246,.30)); box-shadow: 0 0 14px rgba(34,211,238,.18); animation: stBootWave 2.8s ease-in-out infinite; }
.st-boot-wave-grid span:nth-child(odd) { animation-duration: 3.4s; }

.st-boot-status-panel { display:grid; grid-template-rows: auto auto 1fr; gap:14px; }
.st-boot-stage { padding: 18px; border:1px solid rgba(125,211,252,.12); border-radius:18px; background: rgba(15,23,42,.26); }
#st-boot-stage-label { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
#st-boot-stage-desc { margin-top: 8px; color: rgba(224,242,254,.72); font-size: 14px; line-height: 1.45; }
.st-boot-command-strip { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.st-boot-command-strip span {
  padding: 8px 10px; border-radius: 999px; border:1px solid rgba(125,211,252,.14); background: rgba(2,6,23,.34);
  font-size:10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: rgba(224,242,254,.72);
}
.st-boot-command-strip span.is-active { color:#022c22; background: rgba(52,211,153,.92); border-color: rgba(52,211,153,.92); box-shadow: 0 0 18px rgba(52,211,153,.26); }

.st-boot-bars { display:grid; gap:12px; }
.st-boot-bar { padding: 0 4px; }
.st-boot-bar__label { display:flex; justify-content:space-between; gap:10px; font-size:12px; font-weight:700; color: rgba(224,242,254,.80); margin-bottom:7px; }
.st-boot-track { position:relative; height: 10px; border-radius:999px; background: rgba(15,23,42,.54); border:1px solid rgba(125,211,252,.10); overflow:hidden; }
.st-boot-fill { --v: 0%; position:absolute; inset:0 auto 0 0; width: var(--v); min-width: 0%; border-radius:inherit; background: linear-gradient(90deg, rgba(34,211,238,.95), rgba(59,130,246,.88), rgba(139,92,246,.78)); box-shadow: 0 0 18px rgba(34,211,238,.25); transition: width .28s ease; }
.st-boot-dual-graphs { display:grid; gap:12px; }
.st-boot-line-grid { position:relative; min-height: 86px; border-radius: 16px; border:1px solid rgba(125,211,252,.10); background: linear-gradient(180deg, rgba(15,23,42,.34), rgba(2,6,23,.28)); overflow:hidden; }
.st-boot-line-grid i { position:absolute; left:0; right:0; height:1px; background: rgba(125,211,252,.06); }
.st-boot-line-grid i:nth-child(1){top:15%;}.st-boot-line-grid i:nth-child(2){top:30%;}.st-boot-line-grid i:nth-child(3){top:45%;}.st-boot-line-grid i:nth-child(4){top:60%;}.st-boot-line-grid i:nth-child(5){top:75%;}.st-boot-line-grid i:nth-child(6){top:90%;}
.st-boot-line-grid svg { position:absolute; inset:10px 10px 10px 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.st-boot-line-grid polyline { fill:none; stroke:#67e8f9; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; filter: drop-shadow(0 0 12px rgba(34,211,238,.25)); stroke-dasharray: 400; stroke-dashoffset: 400; animation: stBootLineTrace 3s ease infinite; }
.st-boot-line-grid--alt polyline { stroke:#a78bfa; animation-delay: .3s; }

.st-boot-sidepanel { display:grid; grid-template-rows:auto auto auto auto 1fr; min-height: 500px; }
.st-boot-modules { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; padding: 14px; }
.st-boot-module { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:16px; border:1px solid rgba(125,211,252,.10); background: rgba(15,23,42,.28); min-width:0; }
.st-boot-module i { width: 10px; height: 10px; border-radius: 999px; background: rgba(148,163,184,.54); box-shadow: 0 0 12px rgba(148,163,184,.20); flex:0 0 auto; }
.st-boot-module span { min-width:0; flex:1 1 auto; font-size:12px; color: rgba(224,242,254,.82); font-weight:700; }
.st-boot-module b { font-size:11px; letter-spacing:.08em; color: rgba(224,242,254,.56); }
.st-boot-module.is-active i { background: #22d3ee; box-shadow: 0 0 16px rgba(34,211,238,.6); }
.st-boot-module.is-active b { color:#67e8f9; }
.st-boot-module.is-done i { background: #34d399; box-shadow: 0 0 16px rgba(52,211,153,.6); }
.st-boot-module.is-done b { color:#bbf7d0; }

.st-boot-calendar-box { margin: 0 14px 14px; padding: 14px; border-radius: 18px; border:1px solid rgba(125,211,252,.12); background: rgba(15,23,42,.26); }
.st-boot-calendar-head { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom: 12px; }
.st-boot-calendar-head strong { font-size:16px; color:#e0f2fe; }
.st-boot-calendar-head span { font-size:11px; text-transform:uppercase; letter-spacing:.14em; color: rgba(224,242,254,.52); }
.st-boot-calendar-weekdays,
.st-boot-calendar-grid { display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; }
.st-boot-calendar-weekdays span { text-align:center; font-size:11px; color: rgba(224,242,254,.55); padding-bottom:4px; }
.st-boot-calendar-grid span {
  display:grid; place-items:center; min-height: 30px; border-radius: 10px; font-size: 12px; color: rgba(224,242,254,.80);
  border:1px solid rgba(125,211,252,.08); background: rgba(2,6,23,.26);
}
.st-boot-calendar-grid span.is-muted { color: rgba(224,242,254,.28); }
.st-boot-calendar-grid span.is-today { background: rgba(34,211,238,.14); border-color: rgba(34,211,238,.34); color: #cffafe; box-shadow: 0 0 16px rgba(34,211,238,.16); font-weight: 900; }
.st-boot-telemetry-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin: 0 14px 12px; }
.st-boot-telemetry-grid span { padding:8px 10px; border-radius: 12px; background: rgba(2,6,23,.28); border:1px solid rgba(125,211,252,.10); text-align:center; font-size:11px; color: rgba(224,242,254,.74); }
.st-boot-chart { display:grid; grid-template-columns: repeat(8,1fr); align-items:end; gap:8px; margin: 0 14px 14px; min-height: 96px; }
.st-boot-chart span { height: var(--h); min-height: 18px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, rgba(34,211,238,.92), rgba(59,130,246,.24)); box-shadow: 0 0 18px rgba(34,211,238,.18); animation: stBootBars 2.8s ease-in-out infinite; animation-delay: var(--d); }

.st-boot-foot {
  display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top: 4px;
}
.st-boot-log {
  min-width: 0; flex:1 1 auto; padding: 14px 16px; border-radius: 18px; border:1px solid rgba(125,211,252,.12); background: rgba(15,23,42,.34);
  color: rgba(224,242,254,.78); font-size: 13px; line-height: 1.45; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-boot-ready {
  flex: 0 0 auto; padding: 14px 16px; border-radius: 18px; border:1px solid rgba(34,211,238,.14);
  background: rgba(2,6,23,.34); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(224,242,254,.72);
}

#st-boot-loader.is-complete .st-boot-shell { animation: stBootCompleteFlash .72s ease both; }

@keyframes stBootGridDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-38px,-38px,0); } }
@keyframes stBootScan { 0% { transform: translateY(0); opacity:.0; } 20% { opacity:.7; } 100% { transform: translateY(120vh); opacity:0; } }
@keyframes stBootPulse { 0%, 100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.16); opacity:.8; } }
@keyframes stBootPing { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.9); opacity:.35; } }
@keyframes stBootRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes stBootRotateReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes stBootDriftGlow { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(3%, -2%, 0) scale(1.03); } }
@keyframes stBootScrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes stBootWave { 0%,100% { transform: scaleY(.82); opacity:.72; } 50% { transform: scaleY(1.08); opacity:1; } }
@keyframes stBootLineTrace { 0% { stroke-dashoffset: 400; } 40%,100% { stroke-dashoffset: 0; } }
@keyframes stBootBars { 0%,100% { transform: scaleY(.82); opacity:.72; } 50% { transform: scaleY(1.12); opacity:1; } }
@keyframes stBootSweepX { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
@keyframes stBootCompleteFlash {
  0% { box-shadow: 0 0 0 rgba(34,211,238,0), 0 32px 100px rgba(0,0,0,.42); }
  50% { box-shadow: 0 0 40px rgba(34,211,238,.18), 0 32px 100px rgba(0,0,0,.42); }
  100% { box-shadow: 0 32px 100px rgba(0,0,0,.42); }
}

@media (max-width: 1200px) {
  .st-boot-head { grid-template-columns: 1fr; }
  .st-boot-head-panels { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .st-boot-main { grid-template-columns: 1fr; }
  .st-boot-centerdeck,
  .st-boot-sidepanel,
  .st-boot-radar { min-height: auto; }
  .st-boot-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .st-boot-shell { width: calc(100vw - 12px); min-height: calc(100vh - 12px); padding: 10px; border-radius: 18px; }
  .st-boot-logo-image { min-width: 0; width: 100%; max-width: 360px; }
  .st-boot-brand--full { flex-direction: column; align-items: stretch; }
  .st-boot-donut-panel { width: 100%; min-width: 0; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .st-boot-donut { min-height: 104px; }
  .st-boot-donut__ring { width: 70px; height: 70px; }
  .st-boot-head-panels { grid-template-columns: 1fr; }
  .st-boot-mini-metrics, .st-boot-total-boxes { grid-template-columns: 1fr; }
  .st-boot-modules { grid-template-columns: 1fr; }
  .st-boot-foot { flex-direction: column; align-items: stretch; }
  .st-boot-priority-marquee { height: 180px; }
}


/* [00345][BOOT LOADER CINEMATIC HUD BLUEPRINT UPGRADE] */
.st-boot-blueprint-screen {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(125, 211, 252, .14);
  background:
    linear-gradient(180deg, rgba(15,23,42,.46), rgba(2,6,23,.34)),
    repeating-linear-gradient(90deg, rgba(34,211,238,.05) 0 1px, transparent 1px 32px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 30px rgba(34,211,238,.08);
  overflow: hidden;
}
.st-boot-blueprint-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(34,211,238,.13) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: stBootBlueprintSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}
.st-boot-blueprint-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(224,242,254,.80);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.st-boot-blueprint-title b {
  color: #67e8f9;
  font-size: 10px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}
.st-boot-blueprint {
  position: relative;
  z-index: 1;
  height: 180px;
  display: grid;
  grid-template-columns: 70px 1fr 92px;
  grid-template-rows: 34px 1fr 26px;
  gap: 8px;
}
.st-boot-bp-part {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(125,211,252,.16);
  background: rgba(15,23,42,.44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  opacity: .58;
  transition: opacity .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.st-boot-bp-part::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.10), transparent);
  transform: translateX(-100%);
  animation: stBootSkeletonShimmer 2.8s ease-in-out infinite;
}
.st-boot-bp-part span {
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  color: rgba(224,242,254,.70);
  text-transform: uppercase;
}
.st-boot-bp-header { grid-column: 1 / 4; grid-row: 1; }
.st-boot-bp-sidebar { grid-column: 1; grid-row: 2 / 4; }
.st-boot-bp-canvas { grid-column: 2; grid-row: 2; display:grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); gap: 8px; padding: 28px 10px 10px; }
.st-boot-bp-canvas i {
  border-radius: 10px;
  border: 1px solid rgba(34,211,238,.10);
  background: rgba(34,211,238,.055);
}
.st-boot-bp-inspector { grid-column: 3; grid-row: 2 / 4; }
.st-boot-bp-footer { grid-column: 2; grid-row: 3; }
.st-boot-bp-part.is-active,
.st-boot-bp-part.is-done {
  opacity: 1;
  border-color: rgba(34,211,238,.42);
  box-shadow: 0 0 24px rgba(34,211,238,.14), inset 0 1px 0 rgba(255,255,255,.08);
}
.st-boot-bp-part.is-active {
  transform: translateY(-1px);
}
.st-boot-bp-part.is-done {
  border-color: rgba(52,211,153,.34);
}

.st-boot-system-map {
  position: relative;
  z-index: 1;
  height: 92px;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(125,211,252,.10);
  background:
    radial-gradient(circle at 50% 50%, rgba(34,211,238,.10), transparent 44%),
    linear-gradient(180deg, rgba(2,6,23,.28), rgba(15,23,42,.18));
  overflow: hidden;
}
.st-boot-system-map::before,
.st-boot-system-map::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70%;
  height: 1px;
  background: rgba(34,211,238,.14);
  transform-origin: left center;
}
.st-boot-system-map::before { transform: rotate(16deg) translateX(-50%); }
.st-boot-system-map::after { transform: rotate(-19deg) translateX(-50%); }
.st-boot-system-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,.18);
  background: rgba(2,6,23,.62);
  color: #cffafe;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  box-shadow: 0 0 16px rgba(34,211,238,.12);
}

.st-boot-module-radar {
  position: relative;
  width: min(220px, 55vw);
  aspect-ratio: 1;
  margin: 16px auto -6px;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,.18);
  background:
    radial-gradient(circle, transparent 0 20%, rgba(34,211,238,.055) 21% 22%, transparent 23% 40%, rgba(34,211,238,.045) 41% 42%, transparent 43% 62%, rgba(34,211,238,.035) 63% 64%, transparent 65%),
    linear-gradient(90deg, transparent 49%, rgba(125,211,252,.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(125,211,252,.12) 50%, transparent 51%);
  overflow: hidden;
}
.st-boot-module-radar::before {
  content: "";
  position: absolute;
  inset: 50% 50% auto 50%;
  width: 50%;
  height: 50%;
  background: conic-gradient(from -8deg, rgba(34,211,238,.26), transparent 38deg);
  transform-origin: left top;
  animation: stBootRadarSweep 4.4s linear infinite;
}
.st-boot-radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(34,211,238,.9);
  box-shadow: 0 0 22px rgba(34,211,238,.8);
}
.st-radar-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 5px 7px;
  border-radius: 999px;
  border: 1px solid rgba(125,211,252,.16);
  background: rgba(2,6,23,.72);
  color: rgba(224,242,254,.62);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .10em;
  opacity: .72;
  transition: .28s ease;
}
.st-radar-node.is-active,
.st-radar-node.is-done {
  opacity: 1;
  color: #ecfeff;
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 0 18px rgba(34,211,238,.22);
}
.st-radar-node.is-done {
  border-color: rgba(52,211,153,.42);
  color: #bbf7d0;
}

.st-boot-mission-log {
  display: grid;
  gap: 8px;
  max-height: 112px;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(125,211,252,.10);
  background: rgba(2,6,23,.30);
}
.st-boot-mission-log div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.34);
  border: 1px solid rgba(125,211,252,.08);
  animation: stBootMissionIn .26s ease both;
}
.st-boot-mission-log span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #67e8f9;
  font-variant-numeric: tabular-nums;
}
.st-boot-mission-log b {
  min-width: 0;
  color: rgba(224,242,254,.78);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-boot-data-streams {
  display: grid;
  gap: 8px;
  margin: 0 14px 12px;
}
.st-boot-stream {
  position: relative;
  height: 32px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(125,211,252,.10);
  background: rgba(2,6,23,.30);
}
.st-boot-stream-track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  animation: stBootStreamMove 18s linear infinite;
}
.st-boot-stream--reverse .st-boot-stream-track {
  animation-direction: reverse;
  animation-duration: 22s;
}
.st-boot-stream span {
  color: rgba(224,242,254,.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.st-boot-stream span::before {
  content: "◆";
  color: rgba(34,211,238,.72);
  margin-right: 8px;
}

@keyframes stBootBlueprintSweep {
  0%, 22% { transform: translateX(-120%); opacity: 0; }
  36% { opacity: .7; }
  78%,100% { transform: translateX(120%); opacity: 0; }
}
@keyframes stBootSkeletonShimmer {
  0% { transform: translateX(-120%); opacity: .0; }
  36% { opacity: .9; }
  100% { transform: translateX(120%); opacity: .0; }
}
@keyframes stBootRadarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes stBootStreamMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes stBootMissionIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1200px) {
  .st-boot-blueprint { height: 160px; }
  .st-boot-module-radar { width: min(260px, 70vw); margin-bottom: 8px; }
}
@media (max-width: 820px) {
  .st-boot-blueprint { grid-template-columns: 58px 1fr 70px; height: 145px; gap: 6px; }
  .st-boot-mission-log div { grid-template-columns: 54px 1fr; }
}

/* [00347][BOOT LOADER ADAPTIVE FIT]
   Масштабування заставки під фактичний viewport / діагональ екрана.
   JS рахує --st-boot-scale, --st-boot-shell-w, --st-boot-shell-h до першого кадру. */
:root {
  --st-boot-scale: 1;
  --st-boot-shell-w: calc(100vw - 16px);
  --st-boot-shell-h: calc(100vh - 16px);
  --st-boot-fit-gap: 16px;
}

#st-boot-loader {
  padding: 0;
  box-sizing: border-box;
}

.st-boot-shell {
  width: var(--st-boot-shell-w) !important;
  height: var(--st-boot-shell-h) !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  transform: scale(var(--st-boot-scale)) !important;
  transform-origin: center center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: clamp(8px, calc(14px * var(--st-boot-scale)), 16px) !important;
  padding: clamp(9px, calc(22px * var(--st-boot-scale)), 24px) !important;
  border-radius: clamp(18px, calc(28px * var(--st-boot-scale)), 28px) !important;
}

.st-boot-head,
.st-boot-main,
.st-boot-hero-grid,
.st-boot-status-panel,
.st-boot-sidepanel,
.st-boot-radar,
.st-boot-centerdeck,
.st-boot-card {
  min-height: 0 !important;
  min-width: 0 !important;
}

.st-boot-main {
  height: 100%;
  overflow: hidden;
  grid-template-columns: minmax(280px, 1.02fr) minmax(520px, 1.55fr) minmax(300px, .95fr) !important;
  gap: clamp(10px, calc(16px * var(--st-boot-scale)), 16px) !important;
}

.st-boot-card {
  overflow: hidden !important;
}

.st-boot-radar,
.st-boot-centerdeck,
.st-boot-sidepanel {
  min-height: 0 !important;
  height: 100%;
}

.st-boot-radar {
  grid-template-rows: auto minmax(0, 1fr) auto auto !important;
}

.st-boot-centerdeck {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.st-boot-sidepanel {
  grid-template-rows: auto auto auto auto minmax(0, 1fr) !important;
}

.st-boot-hero-grid {
  height: 100%;
  overflow: hidden;
  grid-template-columns: minmax(300px, 1.12fr) minmax(280px, .95fr) !important;
}

.st-boot-hero-screen,
.st-boot-status-panel {
  overflow: hidden;
}

.st-boot-priority-marquee {
  height: clamp(132px, calc(220px * var(--st-boot-scale)), 220px) !important;
}

.st-boot-wave-grid {
  min-height: clamp(54px, calc(100px * var(--st-boot-scale)), 100px) !important;
}

.st-boot-calendar-grid span {
  min-height: clamp(18px, calc(30px * var(--st-boot-scale)), 30px) !important;
}

.st-boot-chart {
  min-height: clamp(54px, calc(96px * var(--st-boot-scale)), 96px) !important;
}

.st-boot-logo-image {
  width: clamp(220px, calc(520px * var(--st-boot-scale)), 520px) !important;
  min-width: 0 !important;
}

.st-boot-donut-panel {
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: clamp(8px, calc(12px * var(--st-boot-scale)), 12px) !important;
}

.st-boot-donut {
  min-height: clamp(82px, calc(112px * var(--st-boot-scale)), 112px) !important;
}

html.st-boot-compact .st-boot-top-caption {
  min-height: 28px !important;
  padding-block: 5px !important;
  font-size: 10px !important;
}

html.st-boot-compact .st-boot-head-panels .st-boot-time {
  min-height: 68px !important;
  padding: 8px 10px !important;
}

html.st-boot-compact .st-boot-time strong,
html.st-boot-compact .st-boot-total-box strong {
  font-size: 15px !important;
}

html.st-boot-short .st-boot-priority-marquee,
html.st-boot-short .st-boot-calendar-box {
  max-height: 150px;
}

html.st-boot-short .st-boot-chart,
html.st-boot-short .st-boot-telemetry-grid {
  display: none !important;
}

html.st-boot-very-short .st-boot-data-streams,
html.st-boot-very-short .st-boot-priority-wrap,
html.st-boot-very-short .st-boot-dual-graphs {
  display: none !important;
}

html.st-boot-narrow .st-boot-main {
  grid-template-columns: 1fr !important;
  overflow: auto !important;
  padding-right: 4px;
}

html.st-boot-narrow .st-boot-shell {
  overflow: hidden auto !important;
}

html.st-boot-narrow .st-boot-head {
  grid-template-columns: 1fr !important;
}

html.st-boot-narrow .st-boot-hero-grid {
  grid-template-columns: 1fr !important;
}

html.st-boot-narrow .st-boot-head-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html.st-boot-ultrawide .st-boot-main {
  grid-template-columns: minmax(300px, .95fr) minmax(620px, 1.75fr) minmax(320px, .9fr) !important;
}

/* [00348][BOOT LOADER TRUE VIEWPORT FIT]
   Previous adaptive version still used an oversized layout box inside CSS grid;
   on some browsers/monitors the transformed panel could drift and clip.
   Now the HUD shell is an absolutely centered design canvas scaled as one unit.
   The visual bounding box always fits inside visualViewport. */
:root {
  --st-boot-fit-scale: .8;
  --st-boot-design-w: 2140px;
  --st-boot-design-h: 900px;
  --st-boot-fit-gap: 14px;
}

#st-boot-loader {
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.st-boot-shell {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: var(--st-boot-design-w) !important;
  height: var(--st-boot-design-h) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate3d(-50%, -50%, 0) scale(var(--st-boot-fit-scale)) !important;
  transform-origin: center center !important;
  contain: layout paint style !important;
  overflow: hidden !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 14px !important;
  padding: 22px !important;
  border-radius: 28px !important;
}

/* In true fit mode we scale the full canvas once. Do not shrink the inner layout twice. */
.st-boot-main {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  gap: 16px !important;
  grid-template-columns: minmax(330px, 1.05fr) minmax(660px, 1.55fr) minmax(360px, .98fr) !important;
}
.st-boot-head {
  min-height: 0 !important;
  grid-template-columns: minmax(720px, 1.1fr) minmax(620px, .9fr) !important;
}
.st-boot-head-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.st-boot-hero-grid {
  height: 100% !important;
  grid-template-columns: minmax(360px, 1.12fr) minmax(330px, .95fr) !important;
  overflow: hidden !important;
}
.st-boot-radar,
.st-boot-centerdeck,
.st-boot-sidepanel,
.st-boot-card {
  height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
}
.st-boot-logo-image {
  width: 520px !important;
  min-width: 0 !important;
  max-width: 520px !important;
}
.st-boot-donut-panel {
  grid-template-columns: repeat(3, minmax(110px, 1fr)) !important;
  gap: 12px !important;
}
.st-boot-donut {
  min-height: 112px !important;
}
.st-boot-priority-marquee {
  height: 220px !important;
}
.st-boot-wave-grid {
  min-height: 100px !important;
}
.st-boot-calendar-grid span {
  min-height: 30px !important;
}
.st-boot-chart {
  min-height: 96px !important;
}

html.st-boot-fit-small .st-boot-shell {
  padding: 18px !important;
  gap: 12px !important;
}
html.st-boot-fit-small .st-boot-top-caption {
  min-height: 30px !important;
  padding-block: 6px !important;
}
html.st-boot-fit-small .st-boot-head-panels .st-boot-time {
  min-height: 74px !important;
}

html.st-boot-fit-tiny .st-boot-data-streams,
html.st-boot-fit-tiny .st-boot-dual-graphs {
  display: none !important;
}
html.st-boot-fit-tiny .st-boot-priority-marquee {
  height: 150px !important;
}
html.st-boot-fit-tiny .st-boot-chart,
html.st-boot-fit-tiny .st-boot-telemetry-grid {
  display: none !important;
}

/* Prevent old narrow mode from turning the HUD into a scrollable vertical page on laptops. */
html.st-boot-narrow .st-boot-main,
html.st-boot-narrow .st-boot-shell,
html.st-boot-narrow .st-boot-head,
html.st-boot-narrow .st-boot-hero-grid {
  overflow: hidden !important;
}
html.st-boot-narrow .st-boot-main {
  grid-template-columns: minmax(330px, 1.05fr) minmax(660px, 1.55fr) minmax(360px, .98fr) !important;
}
html.st-boot-narrow .st-boot-head {
  grid-template-columns: minmax(720px, 1.1fr) minmax(620px, .9fr) !important;
}
html.st-boot-narrow .st-boot-hero-grid {
  grid-template-columns: minmax(360px, 1.12fr) minmax(330px, .95fr) !important;
}

/* [00349][BOOT LOADER WIDE LOW-HEIGHT LAYOUT]
   Спеціальна композиція для ноутбуків/моніторів з малою висотою:
   - HUD ширший і нижчий;
   - головне кільце прогресу перенесене у верхній правий блок;
   - лівий блок став чистим великим радаром;
   - нижні блоки стискаються/переносяться без обрізання. */
:root {
  --st-boot-design-w: 2140px;
  --st-boot-design-h: 900px;
}

.st-boot-shell {
  width: var(--st-boot-design-w, 2140px) !important;
  height: var(--st-boot-design-h, 900px) !important;
  grid-template-rows: 34px 158px minmax(0, 1fr) 52px !important;
  gap: 10px !important;
  padding: 18px !important;
}

.st-boot-top-caption {
  min-height: 30px !important;
  padding: 0 16px !important;
}

.st-boot-head {
  grid-template-columns: minmax(760px, 1.05fr) minmax(920px, 1.25fr) !important;
  gap: 12px !important;
}

.st-boot-brand--full {
  min-height: 142px !important;
  padding: 10px 14px !important;
  gap: 16px !important;
}

.st-boot-logo-image {
  width: 500px !important;
  max-width: 500px !important;
  flex: 0 0 auto !important;
}

.st-boot-donut-panel {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(112px, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.st-boot-donut {
  min-height: 102px !important;
  border-radius: 16px !important;
}

.st-boot-head-panels {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.st-boot-time--wide {
  min-height: 142px !important;
  padding: 12px 14px !important;
}

.st-boot-top-progress-panel {
  position: relative;
  overflow: hidden;
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  justify-items: center !important;
  align-items: center !important;
  border-color: rgba(34, 211, 238, .24) !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(34,211,238,.14), transparent 46%),
    rgba(15,23,42,.42) !important;
}

.st-boot-top-progress-panel .st-boot-ring {
  width: 104px !important;
  margin: 0 !important;
  align-self: center !important;
}

.st-boot-top-progress-panel .st-boot-ring__orbit--a {
  inset: -10px !important;
}

.st-boot-top-progress-panel .st-boot-ring__orbit--b {
  inset: -18px !important;
}

.st-boot-top-progress-panel .st-boot-percent strong {
  font-size: 31px !important;
}

.st-boot-top-progress-panel .st-boot-percent small {
  font-size: 8px !important;
  letter-spacing: .12em !important;
}

.st-boot-main {
  grid-template-columns: minmax(430px, 1.05fr) minmax(760px, 1.72fr) minmax(510px, 1.22fr) !important;
  gap: 12px !important;
  height: 100% !important;
}

.st-boot-radar {
  grid-template-rows: auto minmax(0, 1fr) auto auto !important;
}

.st-boot-radar .st-boot-radar-map {
  inset: 54px 18px 86px 18px !important;
}

.st-boot-module-radar {
  width: min(420px, 90%) !important;
  height: min(420px, 100%) !important;
  margin: 16px auto 8px !important;
  align-self: center !important;
}

.st-boot-radar-core {
  inset: 42% !important;
}

.st-boot-mini-metrics {
  padding: 0 14px 8px !important;
  gap: 8px !important;
}

.st-boot-mini-metrics > div,
.st-boot-total-box {
  padding: 9px 10px !important;
  border-radius: 14px !important;
}

.st-boot-total-boxes {
  padding: 0 14px 12px !important;
  gap: 8px !important;
}

.st-boot-centerdeck {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.st-boot-hero-grid {
  grid-template-columns: minmax(390px, 1.05fr) minmax(360px, .95fr) !important;
  gap: 10px !important;
  padding: 12px !important;
  height: 100% !important;
}

.st-boot-hero-screen {
  padding: 14px !important;
}

.st-boot-hero-screen__title {
  font-size: 15px !important;
}

.st-boot-hero-screen__subtitle {
  margin-top: 6px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.st-boot-blueprint-screen {
  margin-top: 10px !important;
}

.st-boot-blueprint {
  height: 156px !important;
}

.st-boot-system-map {
  margin-top: 8px !important;
}

.st-boot-priority-wrap {
  margin-top: 10px !important;
}

.st-boot-priority-marquee {
  height: 118px !important;
}

.st-boot-priority-track {
  gap: 7px !important;
  padding: 10px !important;
}

.st-boot-priority-track span {
  padding: 7px 10px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

.st-boot-wave-grid {
  min-height: 56px !important;
  margin-top: 10px !important;
  gap: 6px !important;
}

.st-boot-status-panel {
  gap: 10px !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) !important;
}

.st-boot-stage {
  padding: 13px !important;
}

#st-boot-stage-label {
  font-size: 17px !important;
}

#st-boot-stage-desc {
  font-size: 12px !important;
  margin-top: 6px !important;
}

.st-boot-command-strip {
  margin-top: 10px !important;
}

.st-boot-mission-log {
  gap: 6px !important;
}

.st-boot-mission-log div {
  padding: 7px 9px !important;
}

.st-boot-bars {
  gap: 8px !important;
}

.st-boot-dual-graphs {
  gap: 8px !important;
  min-height: 0 !important;
}

.st-boot-line-grid {
  min-height: 72px !important;
}

.st-boot-sidepanel {
  grid-template-rows: auto auto minmax(0, auto) auto auto !important;
}

.st-boot-modules {
  padding: 12px !important;
  gap: 8px !important;
}

.st-boot-module {
  padding: 8px 10px !important;
  border-radius: 13px !important;
}

.st-boot-calendar-box {
  margin: 0 12px 10px !important;
  padding: 10px !important;
}

.st-boot-calendar-head {
  margin-bottom: 8px !important;
}

.st-boot-calendar-grid,
.st-boot-calendar-weekdays {
  gap: 4px !important;
}

.st-boot-calendar-grid span {
  min-height: 22px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
}

.st-boot-data-streams {
  margin: 0 12px 8px !important;
  gap: 6px !important;
}

.st-boot-telemetry-grid {
  display: none !important;
}

.st-boot-chart {
  min-height: 62px !important;
  margin: 0 12px 10px !important;
}

.st-boot-foot {
  min-height: 44px !important;
  gap: 10px !important;
}

.st-boot-log,
.st-boot-ready {
  padding: 10px 13px !important;
  border-radius: 15px !important;
}

/* На дуже низьких екранах зберігаємо всю композицію без обрізання: прибираємо лише другорядні ефекти. */
html.st-boot-wide-low .st-boot-wave-grid,
html.st-boot-fit-tiny .st-boot-wave-grid {
  display: none !important;
}
html.st-boot-wide-low .st-boot-priority-marquee,
html.st-boot-fit-tiny .st-boot-priority-marquee {
  height: 92px !important;
}
html.st-boot-wide-low .st-boot-line-grid,
html.st-boot-fit-tiny .st-boot-line-grid {
  min-height: 58px !important;
}
html.st-boot-wide-low .st-boot-chart,
html.st-boot-fit-tiny .st-boot-chart {
  min-height: 48px !important;
}

/* [00350][BOOT LOADER FLUID FULLSCREEN + LOGO CONTAIN]
   Fix for real monitors: use the available viewport as the shell instead of
   scaling a fixed canvas into the center. This removes large side margins and
   keeps the logo inside its own block. */
#st-boot-loader {
  padding: 0 !important;
}

.st-boot-shell {
  position: absolute !important;
  left: 4px !important;
  right: 4px !important;
  top: 4px !important;
  bottom: 4px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  transform: none !important;
  transform-origin: center center !important;
  display: grid !important;
  grid-template-rows: 28px clamp(118px, 17.5vh, 150px) minmax(0, 1fr) 42px !important;
  gap: clamp(6px, .85vh, 10px) !important;
  padding: clamp(8px, .85vw, 16px) !important;
  border-radius: clamp(18px, 1.4vw, 28px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.st-boot-top-caption {
  min-height: 0 !important;
  height: 28px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.st-boot-head {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(610px, 1.08fr) minmax(650px, .92fr) !important;
  gap: clamp(8px, .8vw, 12px) !important;
  overflow: hidden !important;
}

.st-boot-brand--full {
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(230px, .95fr) minmax(310px, 1.05fr) !important;
  align-items: center !important;
  gap: clamp(8px, .8vw, 14px) !important;
  padding: clamp(7px, .65vw, 12px) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.st-boot-logo-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  display: block !important;
  flex: 0 1 auto !important;
}

.st-boot-donut-panel {
  height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(74px, 1fr)) !important;
  align-items: center !important;
  gap: clamp(6px, .55vw, 10px) !important;
  overflow: hidden !important;
}

.st-boot-donut {
  min-height: 0 !important;
  height: clamp(74px, 11vh, 104px) !important;
  border-radius: 16px !important;
}

.st-boot-head-panels {
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(8px, .75vw, 12px) !important;
  overflow: hidden !important;
}

.st-boot-time--wide {
  min-height: 0 !important;
  height: 100% !important;
  padding: clamp(8px, .7vw, 12px) !important;
  overflow: hidden !important;
}

.st-boot-top-progress-panel .st-boot-ring {
  width: clamp(72px, 8.5vh, 104px) !important;
}

.st-boot-top-progress-panel .st-boot-percent strong {
  font-size: clamp(22px, 3.2vh, 31px) !important;
}

.st-boot-main {
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(320px, .9fr) minmax(520px, 1.25fr) minmax(420px, 1.02fr) !important;
  gap: clamp(8px, .85vw, 12px) !important;
  overflow: hidden !important;
}

.st-boot-radar,
.st-boot-centerdeck,
.st-boot-sidepanel,
.st-boot-card {
  height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.st-boot-radar {
  grid-template-rows: 34px minmax(0, 1fr) auto auto !important;
}

.st-boot-radar .st-boot-radar-map {
  inset: 44px 14px 80px 14px !important;
}

.st-boot-module-radar {
  width: min(88%, 360px) !important;
  height: min(88%, 360px) !important;
  margin: 8px auto 4px !important;
}

.st-boot-mini-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  padding: 0 12px 6px !important;
  gap: 7px !important;
}

.st-boot-total-boxes {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  padding: 0 12px 10px !important;
  gap: 7px !important;
}

.st-boot-mini-metrics > div,
.st-boot-total-box {
  padding: 8px 9px !important;
  overflow: hidden !important;
}

.st-boot-centerdeck {
  grid-template-rows: 34px minmax(0, 1fr) !important;
}

.st-boot-hero-grid {
  height: 100% !important;
  min-height: 0 !important;
  grid-template-columns: minmax(340px, 1fr) minmax(330px, .96fr) !important;
  gap: 8px !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.st-boot-hero-screen,
.st-boot-status-panel {
  min-height: 0 !important;
  overflow: hidden !important;
}

.st-boot-priority-marquee {
  height: clamp(92px, 15vh, 145px) !important;
}

.st-boot-wave-grid {
  min-height: clamp(38px, 7vh, 70px) !important;
}

.st-boot-sidepanel {
  grid-template-rows: 34px auto auto auto minmax(0, 1fr) !important;
}

.st-boot-calendar-box {
  margin: 0 12px 8px !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.st-boot-calendar-grid span {
  min-height: clamp(18px, 3.2vh, 27px) !important;
}

.st-boot-chart {
  min-height: clamp(42px, 7vh, 70px) !important;
  margin-bottom: 10px !important;
}

.st-boot-foot {
  min-height: 0 !important;
  height: 42px !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.st-boot-log,
.st-boot-ready {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
  overflow: hidden !important;
}

@media (min-width: 1700px) {
  .st-boot-shell {
    left: 2px !important;
    right: 2px !important;
    top: 2px !important;
    bottom: 2px !important;
  }
}

@media (max-height: 760px) {
  .st-boot-shell {
    grid-template-rows: 24px clamp(104px, 16.5vh, 126px) minmax(0, 1fr) 38px !important;
    padding: 8px !important;
    gap: 6px !important;
  }
  .st-boot-top-caption { height: 24px !important; font-size: 9px !important; }
  .st-boot-module-radar { width: min(82%, 300px) !important; height: min(82%, 300px) !important; }
  .st-boot-priority-wrap { display: none !important; }
  .st-boot-dual-graphs { display: none !important; }
  .st-boot-telemetry-grid { display: none !important; }
  .st-boot-calendar-box { padding: 8px !important; margin-bottom: 6px !important; }
  .st-boot-chart { min-height: 44px !important; }
}

@media (max-width: 1380px) {
  .st-boot-head {
    grid-template-columns: minmax(520px, 1fr) minmax(560px, 1fr) !important;
  }
  .st-boot-brand--full {
    grid-template-columns: minmax(190px, .9fr) minmax(260px, 1.1fr) !important;
  }
  .st-boot-main {
    grid-template-columns: minmax(280px, .85fr) minmax(460px, 1.15fr) minmax(350px, 1fr) !important;
  }
}

/* [00351][BOOT LOADER LARGE SCREEN PRIORITY STRETCH]
   On full/large monitors the command-center left panel had enough vertical
   space, but the priorities list was still locked to a short fixed height.
   Stretch only this block on large screens; keep notebook/low-height layouts compact. */
@media (min-width: 1500px) and (min-height: 820px) {
  .st-boot-hero-screen {
    display: grid !important;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    min-height: 0 !important;
  }

  .st-boot-priority-wrap {
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-self: stretch !important;
  }

  .st-boot-priority-marquee {
    height: 100% !important;
    min-height: clamp(210px, 30vh, 380px) !important;
  }

  .st-boot-priority-track span {
    padding-top: clamp(8px, .75vh, 13px) !important;
    padding-bottom: clamp(8px, .75vh, 13px) !important;
  }
}

/* [00372][BOOT CINEMATIC REVEAL]
   Smooth final transition: the startup HUD expands and dissolves into the
   already mounted builder instead of disappearing with a hard jump. */
html.st-boot-revealing #builder-root {
  visibility: visible !important;
  opacity: 1 !important;
  animation: stBuilderBootReveal 1180ms cubic-bezier(.16, 1, .3, 1) both;
  transform-origin: center center;
}

#st-boot-loader.is-revealing {
  pointer-events: none !important;
  animation: stBootOverlayDissolve 1320ms cubic-bezier(.16, 1, .3, 1) forwards;
}

#st-boot-loader.is-revealing::before,
#st-boot-loader.is-revealing::after {
  animation-play-state: paused !important;
  opacity: .18 !important;
  transition: opacity 520ms ease;
}

#st-boot-loader.is-revealing .st-boot-shell {
  animation: stBootShellUnfoldToBuilder 1320ms cubic-bezier(.16, 1, .3, 1) forwards !important;
  transform-origin: center center !important;
  will-change: transform, opacity, filter, border-radius, box-shadow;
}

#st-boot-loader.is-revealing .st-boot-shell::before,
#st-boot-loader.is-revealing .st-boot-shell::after {
  opacity: 0 !important;
  transition: opacity 460ms ease;
}

#st-boot-loader.is-revealing .st-boot-top-caption,
#st-boot-loader.is-revealing .st-boot-head,
#st-boot-loader.is-revealing .st-boot-main,
#st-boot-loader.is-revealing .st-boot-foot {
  animation: stBootHudContentDissolve 920ms cubic-bezier(.16, 1, .3, 1) forwards;
  will-change: transform, opacity, filter;
}

#st-boot-loader.is-revealing .st-boot-head { animation-delay: 90ms; }
#st-boot-loader.is-revealing .st-boot-main { animation-delay: 140ms; }
#st-boot-loader.is-revealing .st-boot-foot { animation-delay: 180ms; }

@keyframes stBootShellUnfoldToBuilder {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0) saturate(1);
    border-radius: 28px;
    box-shadow: 0 32px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(56,189,248,.07);
  }
  32% {
    transform: translate3d(0, 0, 0) scale(1.018);
    opacity: .98;
    filter: blur(.2px) saturate(1.08);
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0,0,0,.32), 0 0 60px rgba(34,211,238,.16);
  }
  68% {
    transform: translate3d(0, 0, 0) scale(1.065);
    opacity: .58;
    filter: blur(3px) saturate(1.18);
    border-radius: 6px;
    box-shadow: 0 0 80px rgba(34,211,238,.12);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1.13);
    opacity: 0;
    filter: blur(10px) saturate(1.25);
    border-radius: 0;
    box-shadow: none;
  }
}

@keyframes stBootHudContentDissolve {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
  55% {
    transform: translate3d(0, -4px, 0) scale(.992);
    opacity: .45;
    filter: blur(1.5px);
  }
  100% {
    transform: translate3d(0, -10px, 0) scale(.975);
    opacity: 0;
    filter: blur(7px);
  }
}

@keyframes stBootOverlayDissolve {
  0% {
    opacity: 1;
    background-color: rgba(2, 6, 23, 1);
    backdrop-filter: blur(0);
  }
  58% {
    opacity: .88;
    background-color: rgba(2, 6, 23, .42);
    backdrop-filter: blur(2px);
  }
  100% {
    opacity: 0;
    background-color: rgba(2, 6, 23, 0);
    backdrop-filter: blur(0);
  }
}

@keyframes stBuilderBootReveal {
  0% {
    opacity: 0;
    transform: scale(.992);
    filter: blur(5px) brightness(.82);
  }
  48% {
    opacity: .72;
    transform: scale(.997);
    filter: blur(2px) brightness(.93);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.st-boot-revealing #builder-root,
  #st-boot-loader.is-revealing,
  #st-boot-loader.is-revealing .st-boot-shell,
  #st-boot-loader.is-revealing .st-boot-top-caption,
  #st-boot-loader.is-revealing .st-boot-head,
  #st-boot-loader.is-revealing .st-boot-main,
  #st-boot-loader.is-revealing .st-boot-foot {
    animation-duration: 260ms !important;
    transition-duration: 260ms !important;
  }
}
