/* CAIN-42 OMEGA SEAL section + live lab. Class-only (no inline styles: clawx CSP allows none). */
.om{--om-bg:#0b1220;--om-card:#0f1a2e;--om-line:#334155;--om-gold:#fbbf24;--om-ok:#22c55e;--om-no:#f87171;--om-ink:#e5edf9;--om-dim:#cbd5e1;
  background:linear-gradient(160deg,#0b1220,#111a33 60%,#1c1405);border-bottom:3px solid #f59e0b;color:var(--om-ink);
  font:15px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;padding:28px 16px}
.om *{box-sizing:border-box}
.om-wrap{max-width:1080px;margin:0 auto}
.om-head{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.om-head svg{flex:0 0 auto;filter:drop-shadow(0 0 14px rgba(245,158,11,.45));animation:om-glow 3.2s ease-in-out infinite}
@keyframes om-glow{50%{filter:drop-shadow(0 0 26px rgba(245,158,11,.8))}}
.om-head>div{flex:1;min-width:240px}
.om-kicker{margin:0;font-size:12px;letter-spacing:.14em;color:var(--om-gold);font-weight:800}
.om h2{margin:4px 0 6px;font-size:28px;line-height:1.2;color:#fff}
.om p{margin:0 0 8px}
.om .dim{color:var(--om-dim)}
.om a{color:var(--om-gold);font-weight:700}
.om code{background:#020617;border:1px solid #1e293b;border-radius:4px;padding:0 4px;font:12.5px ui-monospace,monospace;color:#e2e8f0}
.om-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:14px 0}
.om-card{background:var(--om-card);border:1px solid var(--om-line);border-radius:10px;padding:14px 16px;margin:10px 0}
.om-grid .om-card{margin:0}
.om-big{font-size:24px;font-weight:900;color:var(--om-gold)}
.om-big.ok{color:var(--om-ok)}.om-big.no{color:var(--om-no)}.om-big.info{color:#93c5fd}
.om h3{margin:0 0 8px;font-size:17px;color:var(--om-gold)}
.om ol,.om ul{margin:0;padding-left:20px}
.om-proof{border:2px solid var(--om-ok);background:#06210f}
.om-proof h3,.om-proof a{color:#4ade80}
.om-arg{border-color:#f59e0b}
.om-lim{border-color:#7c2d12}
.om-pre{background:#020617;border:1px solid #1e293b;border-radius:6px;padding:10px;overflow-x:auto;font:12.5px/1.5 ui-monospace,monospace;color:#e2e8f0;white-space:pre;margin:0}
.om-foot{margin:10px 0 0;font-size:13px;color:#94a3b8}
.om-scope{font-size:13px;color:#a7f3d0}

/* ---- live lab ---- */
.om-lab{border:2px solid #38bdf8;background:#061829}
.om-lab h3{color:#7dd3fc}
.om-pipe{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0;position:relative}
.om-step{background:#0b2238;border:1px solid #1e3a5f;border-radius:8px;padding:10px 6px;text-align:center;font-size:12.5px;font-weight:700;
  color:#94a3b8;transition:all .35s ease;position:relative}
.om-step b{display:block;font-size:20px;line-height:1.1;margin-bottom:2px}
.om-step.on{color:#fff;border-color:#38bdf8;background:#0c3354;box-shadow:0 0 0 2px rgba(56,189,248,.35);animation:om-pulse .9s ease}
.om-step.yes{color:#052e16;background:#4ade80;border-color:#22c55e}
.om-step.no{color:#450a0a;background:#fca5a5;border-color:#ef4444}
@keyframes om-pulse{0%{transform:scale(.96)}60%{transform:scale(1.05)}100%{transform:scale(1)}}
.om-ctrl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
.om-ctrl select,.om-ctrl button{font:600 13px system-ui,sans-serif;border-radius:7px;border:1px solid #334155;background:#0f1a2e;color:#e5edf9;padding:7px 10px;cursor:pointer}
.om-ctrl button.primary{background:#f59e0b;color:#1c1405;border-color:#f59e0b}
.om-ctrl button.go{background:#22c55e;color:#052e16;border-color:#22c55e}
.om-ctrl button.bad{background:#3b0d0d;color:#fecaca;border-color:#7f1d1d}
.om-ctrl button:disabled{opacity:.45;cursor:not-allowed}
.om-out{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:720px){.om-out{grid-template-columns:1fr}.om-pipe{grid-template-columns:repeat(5,minmax(0,1fr))}.om-step{font-size:10.5px;padding:8px 2px}.om-step b{font-size:16px}.om h2{font-size:22px}}
.om-seal{width:100%;min-height:210px;background:#020617;color:#e2e8f0;border:1px solid #1e293b;border-radius:6px;padding:8px;font:11.5px/1.45 ui-monospace,monospace;resize:vertical}
.om-log{background:#020617;border:1px solid #1e293b;border-radius:6px;padding:8px;min-height:210px;max-height:320px;overflow:auto;font:12px/1.5 ui-monospace,monospace}
.om-log div{border-bottom:1px dashed #1e293b;padding:3px 0}
.om-log .y{color:#4ade80}.om-log .n{color:#fca5a5}.om-log .i{color:#93c5fd}
.om-badge{display:inline-block;border-radius:999px;padding:1px 9px;font:800 11px system-ui;letter-spacing:.05em}
.om-badge.y{background:#14532d;color:#86efac}.om-badge.n{background:#7f1d1d;color:#fecaca}.om-badge.w{background:#1e3a5f;color:#bfdbfe}
.om-timer{font:700 12px ui-monospace,monospace;color:#fde68a}
.om-hidden{display:none}

/* ---- rotating-portal OMEGA SEAL panels (omega-portal-ext.js) ---- */
.om-pi{width:30px;height:30px;flex:0 0 auto;filter:drop-shadow(0 0 6px rgba(245,158,11,.55))}
.om-pbig{display:flex;gap:14px;align-items:center}
.om-pbig .om-pi{width:86px;height:86px;animation:om-glow 3.2s ease-in-out infinite}
.om-pbig p{margin:0}
.om-ph{display:flex;gap:8px;align-items:center;font:700 12px system-ui,sans-serif;letter-spacing:.04em;color:#fbbf24;margin:0 0 8px}
.om-bar{margin:6px 0}
.om-bl{font-size:12.5px;margin-bottom:3px}
.om-bt{height:10px;background:#1e293b;border-radius:999px;overflow:hidden}
.om-bf{height:100%;border-radius:999px;transition:width 1.1s cubic-bezier(.2,.8,.2,1)}
.om-ul{margin:0 0 8px;padding-left:18px;font-size:13px}
.om-tw{overflow-x:auto}
.om-t{width:100%;border-collapse:collapse;font-size:12.5px}
.om-t th,.om-t td{border-bottom:1px solid #1e3a2a;padding:5px 6px;text-align:left;vertical-align:top}
.om-t th{color:#86efac;font-weight:800}
.om-sealicon{vertical-align:-4px;margin-right:4px}

/* Owner directive 2026-11-27: the evidence under the AGI-RSI portal uses the navy + gold theme,
   and the prominent gold text carries a slight neon glow pulse. Scoped to homepages that carry
   #cain-portal so the other .om surfaces are unchanged. */
body:has(#cain-portal) .om :is(.om-kicker,.om-t,.om-ph),
body:has(#cain-portal) .om h2,
body:has(#cain-portal) .om h3,
body:has(#cain-portal) .om .om-big:not(.ok):not(.no):not(.info){color:var(--om-gold,#fbbf24);text-shadow:0 0 6px rgba(251,191,36,.22)}
@media (prefers-reduced-motion:no-preference){
  body:has(#cain-portal) .om :is(.om-kicker,.om-t,.om-ph),
  body:has(#cain-portal) .om h2,
  body:has(#cain-portal) .om h3,
  body:has(#cain-portal) .om .om-big:not(.ok):not(.no):not(.info){animation:cain-gold-pulse 4.6s ease-in-out infinite}
}
@keyframes cain-gold-pulse{0%,100%{text-shadow:0 0 5px rgba(251,191,36,.2)}50%{text-shadow:0 0 3px rgba(255,236,170,.55),0 0 12px rgba(251,191,36,.42),0 0 24px rgba(251,191,36,.16)}}
