/* Pending markers occupy their real loading region. Ready DOM is never masked. */
.jost-assembly-enabled .journey-loading{display:block!important;min-height:0!important;padding:0!important;text-align:left!important;overflow:visible!important;opacity:1}
.jost-assembly-enabled .journey-loading::before{display:none}
.jost-loading-structure{position:relative;min-width:0;width:100%;box-sizing:border-box;color:var(--ink,#e8e6ee)}
.jost-pending-main-content{padding:24px 18px}
.jost-pending-sidebar{pointer-events:none}
.jost-pending-main{min-width:0;min-height:0!important}
.jost-loading-structure-status{margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--muted,#aaaebf);overflow-wrap:anywhere}
.jost-assembly-layer{position:fixed;inset:0;z-index:900;pointer-events:none;overflow:hidden;contain:strict}
.jost-assembly-trace{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.jost-assembly-path{fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.jost-assembly-cursor{position:absolute;left:0;top:0;width:24px;height:28px;pointer-events:none;filter:drop-shadow(0 2px 3px #0005)}
.jost-assembly-cursor svg{display:block;width:100%;height:100%}
.jost-assembly-drawing{visibility:hidden}
.jost-assembly-piece{visibility:visible}
[data-assembly-waiting]{min-height:56px}

@media(prefers-reduced-motion:reduce){.jost-assembly-layer{display:none}}
/* Actual surfaces and their labels are separate one-shot construction jobs. */
.jost-assembly-drawing,.jost-assembly-drawing *{visibility:hidden}
.jost-assembly-drawing .jost-assembly-surface{visibility:visible}
.jost-assembly-drawing .jost-assembly-piece,.jost-assembly-drawing .jost-assembly-piece *{visibility:visible}
/* Keep request status available to assistive technology, never as scene copy. */
.journey-loading-copy,.jost-loading-structure-status,[data-assembly-waiting]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.jost-assembly-drawing.jost-assembly-surface{visibility:visible}
.jost-assembly-drawing .sr-only[role=status],.jost-assembly-drawing [data-assembly-waiting]{visibility:visible}
/* The first shell precedes connect-web's body marker and direct-child layout.
   Use the same verified header geometry while that real shell is constructed. */
.jost-loading-structure--initial .jost-pending-main>.topbar{display:flex;height:48px;min-height:0;padding:0 16px;gap:12px;justify-content:flex-start}
.jost-loading-structure--initial .topbar>.mobile-menu{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;margin:0}
.jost-loading-structure--initial .studio-top-context{flex:1}
@media(max-width:760px){
 .jost-loading-structure--initial .jost-pending-main>.topbar{position:sticky;top:0;z-index:40;height:calc(52px + var(--jost-safe-top,0px));min-height:52px;padding:var(--jost-safe-top,0px) 12px 0;box-sizing:border-box;background:var(--paper,#202229)}
}

/* The actual document stays in its pending scene until its content is hydrated. */
[data-assembly-pending-root] .im-loading{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}

/* Native dialogs have their own top layer; cursor coordinates remain viewport based. */
.jost-assembly-dialog-layer,.jost-assembly-dialog-layer *{visibility:visible!important}
/* An opening native drawer supplies its blank canvas immediately. Its content
   is constructed above that canvas, never traced over the previous screen. */
dialog.jost-assembly-drawing[open]{visibility:visible;border-color:transparent}

/* Mari Cush uses its own existing shell geometry and light palette. */
.studio-loading-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.studio-loading-status{position:static;width:auto;height:auto;margin:24px 0;overflow:visible;clip-path:none;white-space:normal;color:var(--muted,#707568)}}

.studio-loading-line{display:inline-block;width:70%;min-width:40px;height:.65em;background:currentColor;opacity:.12;border-radius:2px}
