/* Optional login choreography only; canonical workspace layout is untouched. */
@view-transition { navigation: none; }
html[data-orb-page="login"] .login-topbar,html[data-orb-page="login"] .login-layout{position:relative;z-index:1}
html[data-orb-departure] .login-topbar,html[data-orb-departure] .login-layout{opacity:0;transition:opacity 180ms ease}
html[data-orb-departure] body,html[data-orb-scene] body{background:#f7f8fa}
html[data-orb-scene] body > :not([data-orb-flight]){visibility:hidden}
html[data-orb-scene] [data-orb-flight]{visibility:visible}
html[data-orb-scene="waiting"] [data-orb-flight] .hub-ring,
html[data-orb-scene="waiting"] [data-orb-flight] .hub-rim-labels,
html[data-orb-scene="waiting"] [data-orb-flight] .cortex-state,
html[data-orb-scene="waiting"] [data-orb-flight] .hub-context,
html[data-orb-scene="sliding"] [data-orb-flight] .hub-ring,
html[data-orb-scene="sliding"] [data-orb-flight] .hub-rim-labels,
html[data-orb-scene="sliding"] [data-orb-flight] .cortex-state,
html[data-orb-scene="sliding"] [data-orb-flight] .hub-context,
html[data-orb-scene="fallback"] [data-orb-flight] .hub-ring,
html[data-orb-scene="fallback"] [data-orb-flight] .hub-rim-labels,
html[data-orb-scene="fallback"] [data-orb-flight] .cortex-state,
html[data-orb-scene="fallback"] [data-orb-flight] .hub-context{opacity:0}
html[data-orb-scene="details"] [data-orb-flight] .hub-ring,
html[data-orb-scene="details"] [data-orb-flight] .hub-rim-labels,
html[data-orb-scene="details"] [data-orb-flight] .cortex-state,
html[data-orb-scene="details"] [data-orb-flight] .hub-context{animation:cortex-entry-reveal 220ms ease both}
html[data-orb-scene="workspace"] body > :not([data-orb-flight]){visibility:visible;animation:cortex-entry-reveal 250ms ease both}
#login-cortex::after,[data-orb-flight]::after{inset:9px;border:1.5px solid #f64f7270;box-shadow:0 0 22px 5px #ed315025,0 0 65px 16px #ed315016;opacity:.7;z-index:1}
html[data-orb-page="login"] #login-cortex:not([data-orb-flight])::after{animation:cortex-crimson-breathe 2.8s ease-in-out infinite}
[data-orb-flight]::after{border-color:#ff668bbc;box-shadow:0 0 0 1px #ed315021,0 0 27px 7px #ed31504a,0 0 78px 20px #ed315022;opacity:1}
html[data-orb-scene="details"] [data-orb-flight]::after{border-color:#f64f7270;box-shadow:0 0 20px 5px #ed31502c,0 0 55px 12px #ed315017;opacity:.65;transition:opacity 220ms ease,box-shadow 220ms ease}
html[data-orb-scene="workspace"] [data-orb-flight]::after{animation:cortex-crimson-settle 250ms ease forwards}
@keyframes cortex-entry-reveal{from{opacity:0}to{opacity:1}}
@keyframes cortex-crimson-settle{from{opacity:.65}to{opacity:0}}
@keyframes cortex-crimson-breathe{0%,100%{opacity:.4;box-shadow:0 0 18px 3px #ed315018,0 0 48px 10px #ed315010}50%{opacity:.95;box-shadow:0 0 28px 7px #ed31503a,0 0 76px 18px #ed315020}}
@media(prefers-reduced-motion:reduce){#login-cortex::after,[data-orb-flight]::after{animation:none!important;transition:none!important}html[data-orb-departure] .login-topbar,html[data-orb-departure] .login-layout{transition:none}}
