/* Self-contained PLM opening, independent of Tailwind and the catalog. */
html { background:#05070c; }
html::after { content:''; position:fixed; inset:0; z-index:2147483647; background:#05070c; opacity:0; pointer-events:none; transition:opacity .4s ease-in-out; }
html.portal-arriving::after { opacity:1; transition:none; }
html.portal-leaving::after { opacity:1; pointer-events:auto; }
body.bh-intro-active { overflow:hidden!important; }
body.bh-intro-active > :not(#bhIntroOverlay):not(script):not(style):not(noscript) { visibility:hidden!important; opacity:0!important; pointer-events:none!important; }
body > header, body > main { transition:opacity .55s ease; }
#bhIntroOverlay { position:fixed; inset:0; width:100%; height:100vh; height:100dvh; max-width:none; margin:0; overflow:hidden; isolation:isolate; z-index:10000; background:#05070c; opacity:1; transition:opacity .55s ease; }
#bhIntroOverlay[hidden] { display:none!important; }
#bhIntroOverlay.bh-intro-exit { opacity:0; pointer-events:none; }
#bhIntroCanvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
#bhIntroHud { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:space-between; width:100%; height:100%; padding:16px; padding: max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); box-sizing:border-box; color:#f8fafc; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; pointer-events:none; }
.bh-telemetry { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; font-size:10px; letter-spacing:.12em; text-transform:uppercase; }
.bh-telemetry > div { padding:7px 10px; border:1px solid #22d3ee40; border-radius:999px; background:#05070cbf; color:#67e8f9; line-height:1.5; }
.bh-telemetry > div:last-child { border-color:#fbbf2440; color:#fcd34d; white-space:nowrap; }
#bhTimerText { color:#fff; font-weight:700; font-variant-numeric:tabular-nums; }
.bh-bottom { display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:auto; padding-bottom:8px; text-align:center; }
#bhBrandReveal { display:flex; flex-direction:column; align-items:center; max-width:100%; gap:10px; padding:14px 16px; border:1px solid #ffffff14; border-radius:24px; background:#05070cbf; }
.bh-wordmark { display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; }
.bh-wordmark img { width:32px; height:32px; flex-shrink:0; }
.bh-wordmark span { color:#fff; font:800 18px/1.4 system-ui,sans-serif; letter-spacing:.18em; }
#bhBrandTagline { color:#a5f3fc; font-size:10px; line-height:1.6; letter-spacing:.14em; }
.bh-progress-row { display:flex; align-items:center; gap:12px; width:100%; max-width:448px; pointer-events:auto; }
.bh-progress-track { flex:1; height:4px; overflow:hidden; background:#0f172a; border:1px solid #ffffff14; border-radius:999px; }
#bhProgressFill { width:0; height:100%; background:linear-gradient(to right,#22d3ee,#bae6fd,#fbbf24); }
#bhSkipBtn { min-height:44px; padding:9px 14px; border:1px solid #ffffff26; border-radius:999px; background:#020617d9; color:#e2e8f0; font:11px ui-monospace,monospace; white-space:nowrap; cursor:pointer; }
#bhSkipBtn:focus-visible { outline:2px solid #67e8f9; outline-offset:3px; }
@media(max-width:359px) { .bh-telemetry { font-size:9px; letter-spacing:.06em; gap:6px; } .bh-telemetry > div { padding:6px 8px; } .bh-wordmark span { font-size:17px; letter-spacing:.12em; } }
@media(min-width:640px) { #bhIntroHud { padding:32px; padding:max(32px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left)); } .bh-telemetry { font-size:11px; } .bh-wordmark span { font-size:24px; } #bhBrandTagline { font-size:12px; } }
@media(max-height:420px) { #bhIntroHud { padding-top:10px; padding-bottom:10px; } .bh-bottom { gap:8px; padding-bottom:0; } #bhBrandReveal { padding:8px 14px; gap:4px; } .bh-wordmark span { font-size:17px; } .bh-wordmark img { width:24px; height:24px; } }
@media(prefers-reduced-motion:reduce) { html::after, #bhIntroOverlay, body > header, body > main { transition:none; } }
