/* Small render-blocking guard: document data can initialize without painting the old layout. */
html[data-ws-boot]:not([data-ws-boot=ready]){background:#f5f4f0!important}
html[data-ws-boot]:not([data-ws-boot=ready])[data-pm-theme=dark]{background:#161918!important}
@media screen{
 html[data-ws-boot]:not([data-ws-boot=ready]) body{visibility:hidden!important}
 html[data-ws-boot=pending]::before{content:'';position:fixed;top:50%;left:50%;width:168px;height:68px;transform:translate(-50%,-50%);border-radius:12px;background:#121716 url('../assets/brand/pec-logo-white.svg') center / 140px auto no-repeat;pointer-events:none}
 .ws-boot-error{visibility:visible;position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;background:#f5f4f0;color:#252b2a;font:14px/1.7 system-ui,sans-serif;z-index:100}
 html[data-pm-theme=dark] .ws-boot-error{background:#161918;color:#f2f2df}
 .ws-boot-error button{font:inherit;padding:12px 20px;border:0;border-radius:8px;background:var(--ws-accent,#4358db);color:white;cursor:pointer}
}
