/* One persistent portal shell; each visited section keeps its own live view. */
body.workspace-host{height:100svh;min-height:0;overflow:hidden;padding-bottom:0}
.workspace-viewport{position:fixed;top:calc(var(--v2-topbar-height,72px) + 18px);left:calc(var(--side,220px) + 24px);right:24px;bottom:18px;min-width:0;min-height:0;isolation:isolate}
.workspace-view{position:absolute;inset:0;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain}
.workspace-view[hidden]{display:none!important}
.workspace-view.is-pending{visibility:hidden;pointer-events:none}
.workspace-view>main.v2-page{margin:0!important;width:100%!important;max-width:none!important;padding:0!important;min-height:0;height:100%!important;max-height:none!important}
.workspace-frame{width:100%;height:100%;display:block;border:0;background:transparent}
body.workspace-host>.legal-footer{display:none}
.workspace-splash{position:absolute;inset:0;z-index:40;display:grid;place-items:center;opacity:0;pointer-events:none;background:rgba(10,16,20,.82);backdrop-filter:blur(3px);transition:opacity .15s ease}
.workspace-splash[hidden]{display:none!important}.workspace-splash.is-visible{opacity:1;pointer-events:auto}
.workspace-splash-panel{display:grid;justify-items:center;gap:12px;padding:22px 26px;border:1px solid #394b56;border-radius:9px;background:#101a20;color:var(--text)}
.workspace-splash-track{width:160px;height:3px;overflow:hidden;border-radius:3px;background:#293a44}
.workspace-splash-track:after{content:"";display:block;width:45%;height:100%;background:var(--accent);animation:workspace-progress 1.2s ease-in-out infinite}
.workspace-splash .button[hidden]{display:none}.workspace-splash.has-error .workspace-splash-track{display:none}
.workspace-error-code{color:var(--muted);font-variant-numeric:tabular-nums}
.workspace-error-code[hidden]{display:none}
@keyframes workspace-progress{from{transform:translateX(-110%)}to{transform:translateX(350%)}}
body.workspace-embedded{--side:0px!important;--v2-topbar-height:0px!important;margin:0!important;padding:0!important;min-height:0!important;height:100svh;overflow:auto}
body.workspace-embedded>.topnav,body.workspace-embedded>.sidebar,body.workspace-embedded>.mobile-nav,body.workspace-embedded>.legal-footer,body.workspace-embedded>.v2-more-dialog{display:none!important}
body.workspace-embedded main.page,body.workspace-embedded main.v2-page,body.workspace-embedded main.news-main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:0!important;max-height:none!important}
body.workspace-embedded.collections-shell main.v2-page{height:100svh!important;max-height:100svh!important}
body.workspace-embedded .admin-console{margin:0!important;width:100%!important}
@media(max-width:960px){.workspace-viewport{left:18px;right:18px;bottom:78px}}
@media(max-width:760px){.workspace-viewport{top:calc(var(--v2-topbar-height,64px) + 12px);left:12px;right:12px;bottom:78px}}
html.launcher-embedded .workspace-viewport{left:18px;top:12px;bottom:12px}
@media(prefers-reduced-motion:reduce){.workspace-splash{transition:none}.workspace-splash-track:after{animation:none}}
