.lx-native-canvas-workspace{box-sizing:border-box;position:relative;display:flex;flex:1 1 auto;align-self:stretch;width:100%;min-width:0;min-height:0;max-width:none;overflow:hidden;background:#fcfcfd}
.lx-native-canvas-workspace>.lx-native-canvas-frame{display:block;flex:1;width:100%;height:100%;min-width:0;border:0;background:#fcfcfd}
.lx-native-canvas-loading,.lx-native-canvas-recovery{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:#fcfcfd;color:var(--color-app-text,#27242e);font:inherit;font-size:14px;line-height:1.6}
.lx-native-canvas-loading{pointer-events:none;color:var(--color-workspace-muted,#6f6a78)}
.lx-native-canvas-recovery>.canvas-account-card{box-sizing:border-box;max-width:480px;padding:24px;border:1px solid var(--color-workspace-card-border,#e6e3ec);border-radius:12px;background:var(--color-workspace-card,#fff);color:var(--color-app-text,#27242e)}
.lx-native-canvas-recovery strong{font-size:17px;font-weight:600}.lx-native-canvas-recovery p{margin:8px 0 0;color:var(--color-workspace-muted,#6f6a78)}
.lx-native-canvas-recovery-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.lx-native-canvas-recovery-actions button,.lx-native-canvas-recovery-actions a{box-sizing:border-box;min-height:40px;padding:8px 14px;border:1px solid var(--color-workspace-card-border,#e6e3ec);border-radius:8px;background:#fff;color:inherit;font:inherit;text-decoration:none;cursor:pointer}
.lx-native-canvas-recovery-actions button{border-color:var(--color-workspace-brand,#6534ff);background:var(--color-workspace-brand,#6534ff);color:#fff}.lx-native-canvas-recovery-actions button:focus-visible,.lx-native-canvas-recovery-actions a:focus-visible{outline:2px solid var(--color-workspace-brand,#6534ff);outline-offset:3px}
.lx-native-canvas-workspace:fullscreen{height:100dvh!important;width:100vw!important}
/* Editor focus mode affects only the outer document, never the canvas toolbar. */
html.lx-canvas-focus :is(.ws-vt-hud,.ws-vt-hud-ad,.workspace-mobile-bottom-nav),html.lx-canvas-focus #__nuxt .ws-adaptive-workspace :is(aside,header){display:none!important}
html.lx-canvas-focus .lx-native-canvas-editor{position:fixed;inset:0;z-index:100;width:100vw;height:100dvh!important;padding-top:0!important}
@media(max-width:700px){.lx-native-canvas-recovery{padding:16px}.lx-native-canvas-recovery>.canvas-account-card{padding:20px}}

/* Keep the shared mobile account toolbar readable above the embedded library. */
@media(max-width:700px){
 html:has(.lx-native-canvas-workspace):not(.lx-canvas-focus) .workspace-credit-hud-panel--open{max-width:calc(100vw - 64px);flex-wrap:wrap;justify-content:flex-end;row-gap:6px;overflow:visible}
 html:has(.lx-native-canvas-workspace):not(.lx-canvas-focus) .workspace-credit-hud-credit{min-width:0;max-width:100%}
 html:has(.lx-native-canvas-workspace):not(.lx-canvas-focus) .workspace-credit-hud-credit-pill{max-width:100%}
}
