/* ============================================
   PAGES — Hero, marquee, platform dashboard
   ============================================ */

/* --- HERO --- */
#page-home { width: 100%; max-width: 100%; overflow-x: clip; }
#page-home .hero { padding: 60px 48px 0; max-width: 1160px; margin: 0 auto; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 40px 0; min-width: 0; }
.hero-inner > * { min-width: 0; }
.hero-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1 } 50% { opacity: 0.4 } }
h1 em { font-style: normal; font-weight: 400; position: relative; background: linear-gradient(110deg, #ffffff 0%, #8b91b0 25%, var(--accent-2) 50%, #8b91b0 75%, #ffffff 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: premium-shine 8s linear infinite; }
[data-theme="light"] h1 em { background: linear-gradient(110deg, #111320 0%, #4a4f6a 25%, var(--accent-2) 50%, #4a4f6a 75%, #111320 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes premium-shine { to { background-position: 200% center } }
h1 em::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px; background: var(--accent); border-radius: 2px; opacity: 0.5; }
.hero-sub { font-size: 0.9375rem; color: var(--text-2); line-height: 1.75; max-width: 46ch; margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-metrics { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.metric-val { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.metric-label { font-size: 0.775rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; pointer-events: none; min-height: 420px; }
#hero-globe { width: 100%; max-width: 480px; aspect-ratio: 1 / 1; display: block; }

/* --- MARQUEE --- */
.marquee-section { padding: 20px 0; overflow: hidden; position: relative; background: transparent; }
.marquee-section::before, .marquee-section::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-section::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent) }
.marquee-section::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent) }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 40s linear infinite; will-change: transform; }
.marquee-track:hover { animation-play-state: paused }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.marquee-item { font-family: var(--ff-display); font-size: 0.95rem; font-weight: 300; font-style: italic; letter-spacing: 0.08em; color: var(--text-3); flex-shrink: 0; display: flex; align-items: center; gap: 56px; transition: color .5s; opacity: 0.6; }
.marquee-item:hover { color: var(--accent-2); opacity: 1; }
.marquee-sep { color: var(--accent); font-size: 0.5rem; opacity: 0.3; }

/* --- PLATFORM DASHBOARD --- */
.platform-dashboard { width: 100%; height: 540px; max-height: 540px; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; margin-top: 48px; font-family: var(--ff-mono); }
.platform-window { width: 100%; height: 100%; max-width: 100%; box-sizing: border-box; display: flex; flex-direction: column; background: #0a0c18; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.28); }
.platform-topbar { height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: space-between; width: 100%; box-sizing: border-box; padding: 10px 16px; background: #080a14; border-bottom: 1px solid rgba(255,255,255,0.06); }
.platform-dots { flex: 0 0 120px; box-sizing: border-box; display: flex; gap: 8px; }
.platform-dot { width: 10px; height: 10px; border-radius: 50%; }
.platform-title { flex: 1 1 auto; min-width: 0; text-align: center; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8b91b0; }
.platform-live { flex: 0 0 120px; box-sizing: border-box; justify-content: flex-end; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid rgba(34,212,114,0.18); border-radius: 100px; color: #22d472; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.platform-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22d472; box-shadow: 0 0 0 0 rgba(34,212,114,0.45); animation: pfPulse 1.5s infinite; }
@keyframes pfPulse { 70% { box-shadow: 0 0 0 8px rgba(34,212,114,0); } 100% { box-shadow: 0 0 0 0 rgba(34,212,114,0); } }
.platform-body { display: grid; grid-template-columns: 200px 1fr; width: 100%; height: calc(540px - 44px); flex: 1; overflow: hidden; box-sizing: border-box; }
.platform-sidebar { width: 200px; height: 100%; min-width: 0; box-sizing: border-box; background: #06080f; border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 0; overflow: hidden; }
.platform-nav { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; color: #4e5470; background: transparent; border: 0; border-left: 2px solid transparent; text-align: left; cursor: pointer; font-family: var(--ff-mono); transition: background .18s, color .18s, border-color .18s; }
.platform-nav:hover { background: rgba(255,255,255,0.03); color: #8b91b0; }
.platform-nav.active { color: #eaedf8; background: rgba(61,58,255,0.12); border-left-color: #6b69ff; }
.platform-nav-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: currentColor; opacity: .9; }
.platform-main { position: relative; width: 100%; height: 100%; min-width: 0; overflow: hidden; box-sizing: border-box; background: radial-gradient(circle at 72% 10%, rgba(61,58,255,0.08), transparent 28%), #0a0c18; }
.platform-panel { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; box-sizing: border-box; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; overflow: hidden; }
.platform-panel.active { opacity: 1; pointer-events: auto; }
.pf-title { font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #4e5470; margin-bottom: 20px; }
.pf-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; min-width: 0; box-sizing: border-box; margin-top: 16px; }
.pf-stat-grid.four { grid-template-columns: repeat(4, 1fr); }
.pf-card { width: 100%; min-width: 0; box-sizing: border-box; background: #06080f; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 16px; }
.pf-value { font-size: 22px; font-weight: 700; color: #eaedf8; line-height: 1.1; font-family: var(--ff-display); }
.pf-label { font-size: 11px; color: #4e5470; margin-top: 8px; font-family: var(--ff-mono); }
.pf-delta { font-size: 11px; color: #22d472; margin-top: 8px; font-family: var(--ff-mono); }
.orbit-stage { position: relative; height: 240px; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; background: #06080f; overflow: hidden; display: grid; place-items: center; }
.orbit-svg { width: 100%; height: 200px; overflow: hidden; display: block; }
.chart-card, .pf-box { width: 100%; min-width: 0; box-sizing: border-box; background: #06080f; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 16px; overflow: hidden; }
.compliance-row { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: #eaedf8; font-size: 12px; min-width: 0; }
.compliance-row:last-child { border-bottom: 0; }
.pf-progress { height: 5px; border-radius: 100px; background: rgba(255,255,255,0.05); overflow: hidden; }
.pf-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d3aff, #22d472); animation: pfFill 1.1s ease both; }
@keyframes pfFill { from { width: 0; } }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d472; animation: pfPulse 1.5s infinite; }
.bom-log { display: grid; gap: 8px; width: 100%; min-width: 0; overflow: hidden; box-sizing: border-box; }
.bom-row { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.8fr) minmax(0, .8fr) auto; gap: 12px; align-items: center; background: #06080f; border: 1px solid rgba(255,255,255,0.05); border-radius: 7px; padding: 10px 12px; font-size: 11px; color: #8b91b0; min-width: 0; box-sizing: border-box; }
.badge-sync, .badge-pending, .badge-ok, .badge-info, .badge-warn { justify-self: start; border-radius: 100px; padding: 3px 8px; font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.badge-sync, .badge-ok { color: #22d472; background: rgba(34,212,114,0.08); border: 1px solid rgba(34,212,114,0.18); }
.badge-pending, .badge-info { color: #ffbd2e; background: rgba(255,189,46,0.08); border: 1px solid rgba(255,189,46,0.18); }
.badge-warn { color: #ff5f57; background: rgba(255,95,87,0.08); border: 1px solid rgba(255,95,87,0.18); }
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; min-width: 0; box-sizing: border-box; }
.qa-frame { background: #06080f; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 14px; min-height: 116px; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.qa-id { color: #8b91b0; font-size: 10px; letter-spacing: .1em; }
.qa-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; margin: 12px 0; }
.qa-bar span { display: block; height: 100%; border-radius: inherit; }
.telemetry-log { width: 100%; height: 288px; display: grid; gap: 8px; align-content: start; overflow: hidden; box-sizing: border-box; }
.telemetry-line { display: grid; grid-template-columns: minmax(0, .9fr) auto minmax(0, 2fr); gap: 10px; align-items: center; background: #06080f; border: 1px solid rgba(255,255,255,0.05); border-radius: 7px; padding: 9px 10px; font-size: 11px; color: #8b91b0; animation: logIn .25s ease both; min-width: 0; box-sizing: border-box; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --- COMPLIANCE FLOW SHELL --- */
.compliance-flow-shell {
  position: relative; overflow: hidden; border: 1px solid var(--glass-border); border-radius: 16px;
  background: var(--glass-bg); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  padding: 18px; contain: layout paint;
}
.compliance-flow-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(107,105,255,0.08), transparent 38%),
    linear-gradient(315deg, rgba(34,212,114,0.06), transparent 42%);
}
.compliance-flow-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.compliance-flow-stars span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: rgba(255,255,255,0.42); animation: compliance-star-pulse 2.8s ease-in-out infinite; animation-play-state: paused; transform: translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: opacity, transform; }
.compliance-flow-shell.is-running .compliance-flow-stars span { animation-play-state: running; }
@keyframes compliance-star-pulse { 0%, 100% { opacity: 0.16; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.8); } }
.compliance-flow-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.compliance-flow-step { width: 100%; min-width: 0; min-height: 200px; padding: 20px 14px; border-radius: 12px; background: rgba(6,8,15,0.72); border: 1px solid var(--glass-border); display: flex; flex-direction: column; position: relative; overflow: visible; cursor: pointer; appearance: none; font: inherit; text-align: left; transform: translateZ(0); transition: border-color .25s, transform .25s, background .25s, box-shadow .25s; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.compliance-flow-step::before { content: ''; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 100px; background: #3d3aff; opacity: 0; transition: opacity .25s; transform: translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.compliance-flow-step::after { content: '\203A'; position: absolute; right: -11px; top: 73px; z-index: 2; color: #3d3aff; font-size: 18px; line-height: 1; }
.compliance-flow-step:last-child::after { content: none; }
.compliance-flow-step:last-child::before { background: #22d472; }
.compliance-flow-step:hover, .compliance-flow-step.active { border-color: var(--glass-border-hi); background: rgba(10,12,24,0.82); transform: translateY(-2px) translateZ(0); box-shadow: var(--glass-shadow); }
.compliance-flow-step:hover::before, .compliance-flow-step.active::before { opacity: 1; }
.compliance-flow-step:last-child:hover, .compliance-flow-step:last-child.active { border-color: rgba(34,212,114,0.34); }
.compliance-flow-badge { align-self: flex-start; font-family: var(--ff-mono); font-size: 9px; color: #6b69ff; border: 1px solid rgba(107,105,255,0.2); padding: 2px 8px; border-radius: 100px; letter-spacing: 0.08em; margin-bottom: 20px; }
.compliance-flow-step:last-child .compliance-flow-badge { color: #22d472; border-color: rgba(34,212,114,0.24); }
.compliance-flow-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(107,105,255,0.10); border: 1px solid rgba(107,105,255,0.20); color: #6b69ff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.compliance-flow-icon svg { width: 17px; height: 17px; }
.compliance-flow-step:last-child .compliance-flow-icon { color: #22d472; }
.compliance-flow-title { font-size: 12px; font-weight: 600; color: #eaedf8; line-height: 1.35; flex: 1; }
.compliance-flow-desc { font-size: 11px; color: #8b91b0; margin-top: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compliance-flow-progress { position: relative; z-index: 1; margin-top: 26px; padding-top: 18px; }
.compliance-flow-track { position: relative; height: 2px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.compliance-flow-fill { height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d3aff, #22d472); transform: scaleX(0) translateZ(0); transform-origin: left center; transition: transform .35s ease; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.compliance-flow-ticks { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 10px; font-family: var(--ff-mono); font-size: 9px; color: #3a3f60; }
.compliance-flow-ticks span { position: relative; text-align: center; }
.compliance-flow-ticks span::before { content: ''; position: absolute; left: 50%; top: -16px; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%); background: #111525; border: 1px solid rgba(255,255,255,0.14); }
.compliance-flow-ticks span.active { color: #eaedf8; }
.compliance-flow-ticks span.active::before { background: #6b69ff; border-color: #6b69ff; }
.compliance-flow-ticks span:last-child.active::before { background: #22d472; border-color: #22d472; }
.compliance-flow-status { position: relative; z-index: 1; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #6f7594; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.compliance-flow-live { display: inline-flex; align-items: center; gap: 8px; color: #b9c2d9; }
.compliance-flow-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d472; box-shadow: 0 0 0 0 rgba(34,212,114,0.45); animation: compliance-live-pulse 1.6s infinite; animation-play-state: paused; transform: translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.compliance-flow-shell.is-running .compliance-flow-live-dot { animation-play-state: running; }
@keyframes compliance-live-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,212,114,0); } 100% { box-shadow: 0 0 0 0 rgba(34,212,114,0); } }

[data-theme="light"] .compliance-flow-shell {
  border-color: rgba(78,84,112,0.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,255,255,0.46)),
    rgba(244,245,251,0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 24px 64px rgba(17,19,32,0.08);
}
[data-theme="light"] .compliance-flow-step {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(255,255,255,0.34)),
    rgba(244,245,251,0.56);
  border-color: rgba(78,84,112,0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 32px rgba(17,19,32,0.06);
}
[data-theme="light"] .compliance-flow-step:hover,
[data-theme="light"] .compliance-flow-step.active {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(107,105,255,0.08)),
    rgba(244,245,251,0.72);
  border-color: rgba(85,83,255,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 20px 48px rgba(85,83,255,0.12);
}
[data-theme="light"] .compliance-flow-step.active::before { opacity: 1; }
[data-theme="light"] .compliance-flow-badge {
  color: #5553ff;
  background: rgba(85,83,255,0.08);
  border-color: rgba(85,83,255,0.22);
}
[data-theme="light"] .compliance-flow-step:last-child .compliance-flow-badge {
  color: #17a858;
  background: rgba(23,168,88,0.08);
  border-color: rgba(23,168,88,0.22);
}
[data-theme="light"] .compliance-flow-icon {
  background: rgba(85,83,255,0.08);
  border-color: rgba(85,83,255,0.18);
  color: #5553ff;
}
[data-theme="light"] .compliance-flow-step:last-child .compliance-flow-icon { color: #17a858; background: rgba(23,168,88,0.08); border-color: rgba(23,168,88,0.18); }
[data-theme="light"] .compliance-flow-step::after { color: #5553ff; opacity: 0.72; }
[data-theme="light"] .compliance-flow-title { color: #171a2b; }
[data-theme="light"] .compliance-flow-desc { color: #636985; }
[data-theme="light"] .compliance-flow-track { background: rgba(78,84,112,0.13); }
[data-theme="light"] .compliance-flow-ticks { color: #8a90ab; }
[data-theme="light"] .compliance-flow-ticks span::before {
  background: #dfe3f1;
  border-color: rgba(78,84,112,0.18);
}
[data-theme="light"] .compliance-flow-ticks span.active { color: #5553ff; }
[data-theme="light"] .compliance-flow-status { color: #6f7594; }
[data-theme="light"] .compliance-flow-live { color: #7b829c; }

/* --- RESPONSIVE (pages) --- */
@media(max-width:960px) {
  #page-home .hero { padding: 40px 20px 0 }
  .hero-inner { grid-template-columns: 1fr; gap: 40px }
  .hero-right { display: none }
  .hero-metrics { gap: 24px; flex-wrap: wrap }
  .platform-dashboard { height: 700px; max-height: 700px; }
  .platform-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: calc(700px - 44px); }
  .platform-sidebar { width: 100%; height: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 10px; gap: 6px; }
  .platform-nav { border-left: 0; border-radius: 8px; padding: 10px; }
  .platform-nav.active { border-left: 0; box-shadow: inset 0 0 0 1px rgba(107,105,255,0.24); }
  .platform-main { height: 100%; }
  .platform-panel { overflow-y: auto; scrollbar-width: none; }
  .platform-panel::-webkit-scrollbar { display: none; }
  .pf-stat-grid, .pf-stat-grid.four, .qa-grid { grid-template-columns: 1fr 1fr; }
  .platform-dots, .platform-live { flex-basis: auto; }
  .compliance-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-flow-step::after { display: none; }
  .compliance-flow-status { align-items: flex-start; flex-direction: column; }
}
@media(max-width:640px) {
  #page-home { overflow-x: hidden; }
  #page-home .hero { padding: 28px 16px 0; overflow: hidden; }
  .hero-inner { padding: 28px 0 32px; gap: 28px; }
  #page-home h1 { max-width: 100%; overflow-wrap: break-word; }
  .hero-kicker { font-size: 0.66rem; letter-spacing: 0.16em; gap: 8px; margin-bottom: 20px; }
  .hero-sub { font-size: 0.9rem; line-height: 1.65; }
  .badge-row { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
  .hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 32px; margin-top: 36px; }
  .metric-label { font-size: 0.68rem; letter-spacing: 0.04em; }
  .platform-dashboard { display: none; }
  .platform-topbar { gap: 8px; height: 44px; padding: 8px 14px; }
  .platform-dots { flex: 0 0 auto; }
  .platform-live { flex: 0 0 auto; justify-content: center; padding: 5px 8px; }
  .platform-title { font-size: 10px; letter-spacing: 0.08em; }
  .platform-body { height: calc(760px - 44px); grid-template-rows: auto 1fr; }
  .platform-sidebar {
    display: flex; width: 100%; height: 58px; overflow-x: auto; overflow-y: hidden;
    padding: 8px; gap: 6px; scrollbar-width: none;
  }
  .platform-sidebar::-webkit-scrollbar { display: none; }
  .platform-nav {
    flex: 0 0 auto; width: auto; min-width: max-content; padding: 9px 12px;
    font-size: 12px; white-space: nowrap;
  }
  .platform-panel { padding: 16px; }
  .pf-stat-grid, .pf-stat-grid.four, .qa-grid { grid-template-columns: 1fr; }
  .pf-card { padding: 14px; }
  .pf-value { font-size: 20px; }
  .bom-row { grid-template-columns: 1fr; gap: 5px; }
  .compliance-row { grid-template-columns: 1fr; gap: 8px; }
  .telemetry-line { grid-template-columns: 1fr; gap: 5px; }
  .telemetry-log { height: 360px; }
  .orbit-stage { height: 190px; }
  .orbit-stage svg { height: 170px; }
  .compliance-flow-shell { padding: 14px; }
  .compliance-flow-grid { grid-template-columns: 1fr; }
  .compliance-flow-step { min-height: 156px; }
}

@media(max-width:767px) {
  [data-compliance-flow] * {
    animation: none !important;
  }

  .compliance-flow-stars { display: none !important; }

  .compliance-flow-step {
    transition: border-color 0.2s ease, opacity 0.2s ease !important;
    transform: none !important;
    will-change: border-color, opacity;
    box-shadow: none !important;
  }

  .compliance-flow-step.active {
    transform: none !important;
    box-shadow: none !important;
    border-color: #3d3aff !important;
    opacity: 1 !important;
  }

  .compliance-flow-step:not(.active) {
    opacity: 0.5 !important;
    transform: none !important;
  }

  .compliance-flow-fill {
    transition: transform 0.3s ease !important;
  }

  .compliance-flow-ticks span {
    transition: background 0.2s ease !important;
  }

  .compliance-flow-ticks {
    display: none !important;
  }
}
