/* Scene 09 · Kiểm thử và sẵn sàng pilot (LỆNH 14, 23/10/2026). A WebGL canvas of its own (.l7-gl, pb-lab.js: five light cabinets, then
   the launch pad and its gate, on the stage's navy) under the DOM that scene-pilot07.js writes from one clock (NQ_CK). Blue = checks that
   passed, the money cabinets' seals, what is ready; amber = the four that did not pass. HUD as the deck: ONE label (LỆNH 42 §B4: a dark see-through pill, a 1 px light edge, 24 px semibold, tokens at the end of pitch.css), a 1 px leader with a dot at its head.
   Text ≥ 20 px; sentences ≥ 24 px. */
#s-pilot,#s-pilot.active{filter:none!important;transform:none!important}
#s-pilot .head .h1{font-size:56px}
#s-pilot .l7{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:#070D1C}
#s-pilot .l7 *{box-sizing:border-box}
#s-pilot .l7 p{margin:0}
#s-pilot .l7>*{position:absolute;margin:0;left:0;top:0}
#s-pilot .head{z-index:6}
#s-pilot .l7 .l7-gl{width:1920px;height:1080px;display:block}
#s-pilot .l7-still{width:1920px;height:1080px;max-width:none;display:none}
#s-pilot.l7-still-on .l7-still{display:block}
#s-pilot.l7-still-on .l7 .l7-gl{display:none}
#s-pilot .l7-svg{width:1920px;height:1080px;overflow:visible}
#s-pilot .l7-svg path{fill:none}
#s-pilot .l7-svg .ld{stroke:var(--nq-ld);stroke-width:1;marker-end:url(#nq-ld-dot)}
#s-pilot .l7-svg .ld.bl{stroke:rgba(143,192,255,.9)}
#s-pilot .l7-svg .brk{stroke:rgba(240,166,58,.9);stroke-width:2;stroke-linejoin:round}
/* the honest label: the one from the page (.l7-src, index.html) is replaced by the scene's own */
#s-pilot .l7-src{display:none!important}
#s-pilot .l7 .l7-corner{left:auto;right:160px;top:148px;opacity:0;font-size:20px;font-weight:500;color:#9FB0CA;white-space:nowrap}

/* ---- beat 1 ---- */
#s-pilot .l7-big{display:flex;align-items:baseline;gap:6px;opacity:0;white-space:nowrap;transform:translate(160px,196px)}
#s-pilot .l7-big b{font-size:112px;font-weight:800;line-height:1.08;letter-spacing:-.03em;font-variant-numeric:tabular-nums;padding-top:4px;color:#F2F6FF;
  text-shadow:0 0 40px rgba(90,150,255,.45),0 2px 0 rgba(120,160,230,.35)}
#s-pilot .l7-big b.p{display:inline-block;margin-right:16px;transform-origin:30% 70%}
#s-pilot .l7-big span{font-size:34px;font-weight:600;line-height:1.2;color:#DDE7F6}
#s-pilot .l7-cab{opacity:0;white-space:nowrap;text-align:center;padding:6px 22px 9px;border-radius:999px;font:var(--nq-pill-font);color:var(--nq-pill-ink);background:var(--nq-pill-bg);
  box-shadow:inset 0 0 0 1px var(--nq-pill-edge)}
#s-pilot .l7-cab b{display:block;font-size:24px;font-weight:600}
#s-pilot .l7-cab .ct{display:block;margin-top:3px;font:700 26px/1.2 "JetBrains Mono",ui-monospace,monospace;color:#7FA6E8;font-variant-numeric:tabular-nums}
#s-pilot .l7-cab.done .ct{color:#AECBFF}
#s-pilot .l7-cab .ct i{font-style:normal}
#s-pilot .l7-cab .ct em{font:600 20px/1.2 var(--f,inherit);font-style:normal;color:rgba(222,232,248,.86)}
#s-pilot .l7-cab .pv{display:block;margin-top:2px;font-size:20px;font-weight:500;color:rgba(222,232,248,.86)}
#s-pilot .l7-stamp{opacity:0;white-space:nowrap;display:flex;align-items:center;gap:12px;padding:5px 20px 6px 6px;border-radius:999px;font:var(--nq-pill-font);color:#fff;
  background:var(--nq-pill-ai);box-shadow:inset 0 0 0 1px var(--nq-pill-ai-edge)}
#s-pilot .l7-stamp i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-style:normal;font-size:20px;font-weight:800;color:#2A63E6;background:#fff}
#s-pilot .l7-amb{opacity:0;white-space:nowrap;padding:var(--nq-pill-pad);border-radius:999px;font:var(--nq-pill-font);color:var(--nq-pill-ink);background:var(--nq-pill-bg);
  box-shadow:inset 0 0 0 1px rgba(240,166,58,.92);transition:box-shadow .15s}
#s-pilot .l7-amb.lit{box-shadow:inset 0 0 0 1.5px #F0A63A,0 0 18px rgba(240,166,58,.5)}
/* the AI switch: a track and its knob (on: blue, the knob right · off: grey, the knob left) */
#s-pilot .l7-ai{opacity:0;display:flex;align-items:center;gap:26px;white-space:nowrap}
#s-pilot .l7-ai .sw{display:inline-flex;align-items:center;gap:12px;padding:8px 14px;border-radius:30px;background:rgba(9,16,34,.88);box-shadow:inset 0 0 0 1px rgba(214,226,246,.18)}
#s-pilot .l7-ai .sw b{font:700 24px/1 "JetBrains Mono",ui-monospace,monospace;color:#fff}
#s-pilot .l7-ai .tr{position:relative;display:block;width:72px;height:38px;border-radius:19px;background:#2A63E6;box-shadow:0 0 16px rgba(42,99,230,.6);transition:background .25s,box-shadow .25s}
#s-pilot .l7-ai .kn{position:absolute;top:4px;left:38px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.4);transition:left .25s cubic-bezier(.3,1.4,.5,1)}
#s-pilot .l7-ai .sw.off .tr{background:#4A5366;box-shadow:none}
#s-pilot .l7-ai .sw.off .kn{left:4px}
#s-pilot .l7-ai .st{font-style:normal;font-size:20px;font-weight:700;letter-spacing:.06em;color:#AFC0D8}
#s-pilot .l7-ai .tx{font-size:40px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:#fff;opacity:0}
#s-pilot .l7-ev{opacity:0;white-space:nowrap;display:block}
#s-pilot .l7-ev .nq-lab{display:flex}
#s-pilot .l7-ev .nq-txt{display:block;font-size:26px}
#s-pilot .l7-ev .nq-txt i{font-style:normal;color:#9FC2FF}

/* ---- beat 2 ---- */
#s-pilot .l7-board{opacity:0;width:660px;padding:28px 32px 28px}
#s-pilot .l7-board .bt{margin:0 0 14px;font-size:40px;font-weight:800;line-height:1.15;letter-spacing:-.01em;color:#DCE8FF;transition:text-shadow .4s,color .4s}
#s-pilot .l7-board .bt.on{color:#fff;text-shadow:0 0 24px rgba(90,150,255,.85)}
#s-pilot .l7-board .bi{display:flex;align-items:center;gap:16px;margin:10px 0 0;font-size:28px;font-weight:600;line-height:1.25;color:#EAF2FF}
#s-pilot .l7-board .bi i{position:relative;flex:none;width:22px;height:22px;border-radius:50%;background:rgba(143,163,196,.24);transition:background .2s,box-shadow .2s}
#s-pilot .l7-board .bi i::after{content:"";position:absolute;inset:0;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6.2 11.4l3.3 3.3 6.3-6.6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/22px 22px no-repeat;opacity:.5;transition:opacity .2s}   /* a round ✓ badge: grey until the line is lit */
#s-pilot .l7-board .bi.on i{background:#2F80FF;box-shadow:0 0 0 3px rgba(47,128,255,.25),0 0 14px rgba(47,128,255,.7)}
#s-pilot .l7-board .bi.on i::after{opacity:1}
#s-pilot .l7-main{opacity:0;white-space:nowrap;font-size:34px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:#DDE7F6}
#s-pilot .l7-main b{color:#fff}
#s-pilot .l7-meas{opacity:0;white-space:nowrap;font-size:24px;font-weight:500;line-height:1.3;color:#C9D6EA}
#s-pilot .l7-meas b{font-weight:600;color:#E6EEF9}
#s-pilot :is(.l7-cab,.l7-stamp,.l7-amb,.l7-ai,.l7-ev,.l7-board,.l7-big){will-change:opacity,transform}
