/* Opt-in only: guest pages retain their original layout. */
html.statera-account-space{--statera-account-bar-height:76px}
html.statera-account-locked body>*:not(#statera-account-status-root):not(script):not(style):not(link){display:none!important}
/* Show the destination immediately; only private values wait for hydration. */
html.statera-account-pending{--statera-account-bar-height:0px}
html.statera-account-pending :is(.workspace .top-actions,.workspace #content,.workspace #notice,.terminal-tabs-bar,.terminal-toolbar,.telemetry-cards-grid,.strategy-controls,.topbar-beacon,.topbar-stats,.topbar-controls){visibility:hidden!important}
html.statera-account-pending .app-sidebar button{pointer-events:none;opacity:.45}
html.statera-account-pending .roulette-board-section,html.statera-account-pending .mobile-keypad-section{opacity:.55}
.statera-account-sync{font:500 14px/1.4 Outfit,Arial,sans-serif;color:#aeb9b8;white-space:nowrap;margin-left:auto}
.statera-account-sync[hidden]{display:none!important}
html.statera-account-pending .workspace .top-actions,html.statera-account-pending .terminal-topbar :is(.topbar-stats,.topbar-controls,.topbar-beacon){display:none!important}
html.statera-account-pending .terminal-topbar{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:12px;min-height:72px!important;height:72px!important;padding:14px 20px!important}
html.statera-account-pending .topbar-title-block{flex:1;min-width:0;width:auto!important}
html.statera-account-pending .topbar-heading{font-size:22px!important;max-width:none!important;white-space:nowrap}
@media(max-width:700px){.statera-account-sync{font-size:12px;white-space:normal}}
@media(max-width:700px){html.statera-account-pending .terminal-topbar{padding:12px!important}html.statera-account-pending .topbar-heading{font-size:18px!important}}
html.statera-account-space body{padding-bottom:var(--statera-account-bar-height)}
#statera-account-status-root{font-family:Outfit,Arial,sans-serif;color:#f0ece3;line-height:1.4}
#statera-account-status-root [hidden]{display:none!important}
#statera-account-status-root .statera-account-bar{position:fixed;z-index:9000;bottom:0;left:0;right:0;display:flex;align-items:center;gap:20px;padding:12px 24px;background:#191815;border-top:1px solid #665238;box-shadow:0 -8px 25px #0004}
#statera-account-status-root .statera-account-identity{display:flex;flex-direction:column;gap:3px;min-width:130px;max-width:260px;overflow-wrap:anywhere}
#statera-account-status-root .statera-account-identity strong{font-size:13px;color:#f0ece3}
#statera-account-status-root .statera-account-identity span{font-size:12px;color:#a8d4b7}
#statera-account-status-root [data-state=pending] .statera-account-identity span{color:#dfb766}
#statera-account-status-root [data-state=conflict] .statera-account-identity span,#statera-account-status-root [data-state=error] .statera-account-identity span{color:#ee9797}
#statera-account-status-root p{margin:0;color:#b1a99c;font-size:12px;overflow-wrap:anywhere}
#statera-account-status-root .statera-account-bar>p{flex:1}
#statera-account-status-root .statera-account-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
#statera-account-status-root a,#statera-account-status-root button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #514735;border-radius:5px;font:500 12px Outfit,Arial,sans-serif;background:transparent;color:#dfb766;text-decoration:none;cursor:pointer}
#statera-account-status-root :focus-visible{outline:3px solid #dfb766;outline-offset:3px}
#statera-account-status-root .statera-account-gate{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:#100f0d;overflow:auto}
#statera-account-status-root .statera-account-gate-card{width:min(100%,540px);padding:30px;border:1px solid #373126;border-top:3px solid #dfb766;background:#191815;border-radius:8px}
#statera-account-status-root .statera-account-brand{font:800 30px Archivo,Arial,sans-serif;letter-spacing:-1.5px}
#statera-account-status-root h1{font:600 29px/1.2 Archivo,Arial,sans-serif;letter-spacing:-.8px;margin:26px 0 18px;color:#f0ece3}
#statera-account-status-root .statera-account-gate p{font-size:15px;line-height:1.55;margin-bottom:24px}
#statera-account-status-root .statera-account-gate .statera-account-actions>a:first-child{background:#dfb766;color:#100f0d}
html.statera-account-space .app-container,html.statera-account-space .terminal-main{height:calc(100dvh - var(--statera-account-bar-height));max-height:calc(100dvh - var(--statera-account-bar-height))}
@media(max-width:768px){#statera-account-status-root .statera-account-bar{gap:9px 15px;padding:10px 14px;flex-wrap:wrap}#statera-account-status-root .statera-account-bar>p{flex-basis:calc(100% - 180px);min-width:140px}#statera-account-status-root .statera-account-actions{width:100%}#statera-account-status-root .statera-account-bar .statera-account-actions{justify-content:flex-end}#statera-account-status-root .statera-account-gate-card{padding:23px}html.statera-account-space .app-sidebar{bottom:var(--statera-account-bar-height)}html.statera-account-space .app-container{min-height:calc(100dvh - var(--statera-account-bar-height))}}
#statera-account-status-root .statera-account-bar[data-state=saved]{gap:12px;padding:8px 14px;flex-wrap:nowrap}#statera-account-status-root .statera-account-bar[data-state=saved]>p{display:none}#statera-account-status-root .statera-account-bar[data-state=saved] .statera-account-identity{min-width:0;max-width:none;flex:1}#statera-account-status-root .statera-account-bar[data-state=saved] .statera-account-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#statera-account-status-root .statera-account-bar[data-state=saved] .statera-account-actions{width:auto;flex-shrink:0}

html.tools-account-compact{--statera-account-bar-height:0px}
html.tools-account-compact body{padding-bottom:0}
#tools-account-toggle{min-height:44px;flex-shrink:0;font-size:15px;white-space:nowrap;gap:8px}
#tools-account-toggle:before{content:'';width:7px;height:7px;background:#8dd0b2;border-radius:50%;flex:none}
#tools-account-toggle[data-state=pending]:before{background:#dfb766}
#tools-account-toggle[data-state=loading]:before{background:#dfb766}
#tools-account-toggle:is([data-state=error],[data-state=conflict]):before{background:#ed9395}
.tools-account-compact #statera-account-status-root .statera-account-bar{top:88px;bottom:auto;left:auto;right:20px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow:auto;display:flex;align-items:stretch;flex-direction:column;gap:16px;padding:20px;border:1px solid #665238;border-radius:10px;box-shadow:0 12px 40px #0006}
.tools-account-compact #statera-account-status-root .statera-account-identity strong{display:none}
.tools-account-compact #statera-account-status-root .statera-account-identity span{font-size:16px}
.tools-account-compact #statera-account-status-root .statera-account-bar>p{display:block;flex:none;font-size:15px;line-height:1.6}
.tools-account-compact #statera-account-status-root .statera-account-actions{width:auto;justify-content:flex-start}
.tools-account-compact #statera-account-status-root .statera-account-bar :is(button,a){font-size:15px;min-height:44px}
.tools-account-compact #statera-account-status-root .tools-account-close{align-self:flex-end}
