/* Sigma OS startup isolation: visual isolation only. Never disable pointer events on the live app. */
@media(max-width:768px){
html:not(.sigma-splash-done),html:not(.sigma-splash-done) body{background:#030304!important;overflow:hidden!important;overscroll-behavior:none!important}
/* IMPORTANT: do not set pointer-events:none on #root. The startup class can persist after the visual splash exits on mobile, which previously made the entire rendered dashboard untouchable. */
html:not(.sigma-splash-done) body>#root{visibility:hidden!important;opacity:0!important}
html:not(.sigma-splash-done) body>*:not(#sigmaStartupSplash):not(.sigma-install-sheet){visibility:hidden!important}
html:not(.sigma-splash-done) #sigmaStartupSplash,
html:not(.sigma-splash-done) #sigmaStartupSplash *{visibility:visible!important}
.sigma-startup-splash{background:radial-gradient(circle at 50% 42%,#111217 0,#070709 38%,#030304 78%)!important;min-height:100dvh!important;width:100vw!important;height:100dvh!important;isolation:isolate!important}
/* Once the app is visible, explicitly restore interaction for the application and mobile shell. */
html.sigma-splash-done body>#root,
html.sigma-splash-done body>#root *,
html.sigma-splash-done #sigmaMobileHeader,
html.sigma-splash-done #sigmaMobileHeader *,
html.sigma-splash-done #sigmaMobileNav,
html.sigma-splash-done #sigmaMobileNav *{pointer-events:auto!important}
}
