.context404{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;width:260px;max-width:calc(100vw - 24px)}.context404 [data-alltools406]{border-top:1px solid #e5dfed;padding-top:8px}.context404 input{width:100%;min-width:0;padding:10px;border:1px solid #d9cfe6;border-radius:7px;font-size:14px}.context404 button[hidden]{display:none}.mobile-dock406{display:none}.demo-color403 #ai-chat-panel{min-width:0;align-self:start;overflow:hidden;height:auto!important;max-height:none!important}.demo-color403 #ai-chat-panel *{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}.demo-color403 #ai-messages{overflow-y:auto;max-height:260px}.demo-color403 #ai-chat-form{flex:none;padding-bottom:16px}.demo-color403 #ai-chat-panel #ai-prompt{max-width:100%;resize:vertical}.demo-color403 .ai-studio-grid{align-items:start}
@media(max-width:900px){
 body.editor-body.section-workspace.layer-workspace.workspace406{overflow-x:hidden;padding-bottom:calc(64px + env(safe-area-inset-bottom))!important}.editor-body.section-workspace.layer-workspace.workspace406 .editor-sidebar,.editor-body.section-workspace.layer-workspace.workspace406.workspace-menu-open .editor-sidebar{display:none!important}.editor-body.section-workspace.layer-workspace.workspace406 .editor-layout{display:block!important;min-width:0!important}.editor-body.section-workspace.layer-workspace.workspace406 .canvas-area{min-width:0;width:100%;padding:0!important}.editor-body.section-workspace.layer-workspace.workspace406 #canvas-stage{width:100%!important;max-width:100%!important;padding:0!important;overflow:auto}.editor-body.section-workspace.layer-workspace.workspace406 .editor-command-deck,.editor-body.section-workspace.layer-workspace.workspace406 .mobile-editor-tools,.editor-body.section-workspace.layer-workspace.workspace406 .editor-beginner-guide,.editor-body.section-workspace.layer-workspace.workspace406 .editor-notice{display:none!important}.editor-body.section-workspace.layer-workspace.workspace406 .editor-header{position:relative!important;top:auto;padding:6px 8px!important;gap:6px;flex-wrap:wrap}.editor-body.section-workspace.layer-workspace.workspace406 .editor-actions{overflow-x:auto;flex-wrap:nowrap;width:100%}.editor-body.section-workspace.layer-workspace.workspace406 .editor-actions>*{min-height:40px!important;font-size:12px!important;padding:6px 9px!important}.editor-body.section-workspace.layer-workspace.workspace406 .workbench404{flex-wrap:nowrap;overflow-x:auto;min-height:48px;position:relative}.editor-body.section-workspace.layer-workspace.workspace406 .workbench404>div{flex-shrink:0}.editor-body.section-workspace.layer-workspace.workspace406 .workbench404 button{min-height:38px;font-size:12px}.editor-body.section-workspace.layer-workspace.workspace406 .workbench404 [data-work=section],.editor-body.section-workspace.layer-workspace.workspace406 .workbench404 [data-work=insert],.editor-body.section-workspace.layer-workspace.workspace406 .workbench404 [data-work=layers]{display:none}.editor-body.section-workspace.layer-workspace.workspace406 dialog.workspace-layer{position:fixed!important;inset:auto 0 calc(64px + env(safe-area-inset-bottom))!important;width:100%!important;max-width:100%!important;max-height:65dvh!important;margin:0!important;border-radius:18px 18px 0 0!important;padding:12px!important;overflow-y:auto}.editor-body.section-workspace.layer-workspace.workspace406 dialog .dialog-heading{position:sticky;top:-12px;background:white;z-index:3;display:flex;justify-content:space-between}.editor-body.section-workspace.layer-workspace.workspace406 dialog input,.editor-body.section-workspace.layer-workspace.workspace406 dialog select,.editor-body.section-workspace.layer-workspace.workspace406 dialog textarea{font-size:16px!important}.editor-body.section-workspace.layer-workspace.workspace406 #design-tools,.editor-body.section-workspace.layer-workspace.workspace406 #properties{grid-template-columns:1fr!important}.editor-body.section-workspace.layer-workspace.workspace406 #reference-layer-panel{top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;left:0!important;width:100%!important;max-width:100%!important;max-height:60dvh!important;border-radius:18px 18px 0 0}.mobile-dock406{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:11000;gap:4px;background:#fff;border-top:1px solid #dcd5e8;padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #2414400d}.mobile-dock406 button{flex:1;min-height:44px;border:0;border-radius:9px;background:#f4f0fa;color:#523685;font-weight:700;font-size:12px}.keyboard406 .mobile-dock406{display:none}.keyboard406{padding-bottom:0!important}.demo-color403 .ai-studio-grid{display:flex!important;flex-direction:column!important}.demo-color403 #ai-chat-panel{order:-1!important;width:100%!important;position:relative!important;inset:auto!important}.demo-color403 .ai-preview-stage{width:100%;min-width:0}.demo-color403 .ai-compose-actions{display:flex;flex-wrap:wrap}.demo-color403 #ai-messages{max-height:170px}
}

@media(max-width:900px){body.editor-body.section-workspace.layer-workspace.workspace406 .canvas-scroll{min-height:max(75dvh,360px)!important}body.editor-body.section-workspace.layer-workspace.workspace406 .editor-layout{grid-template-columns:minmax(0,1fr)!important}}

@media(max-width:900px){body.editor-body.section-workspace.layer-workspace.workspace406{overflow-y:auto!important}.editor-body.section-workspace.layer-workspace.workspace406 .canvas-scroll{scroll-padding-bottom:72px}}
@media(max-width:900px){
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading .studio-document-meta{order:0!important;flex:1 0 100%!important;max-width:100%!important;flex-wrap:nowrap!important}
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading>div:first-child{order:1!important;flex:0 0 auto!important;margin-right:0!important}
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading .studio-device-controls{order:2!important;margin-left:auto!important;flex:0 0 auto!important;gap:2px!important}
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading .studio-device-controls button{padding:3px 5px!important;font-size:10px!important;min-height:36px!important}
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading [data-studio-close]{order:3!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important}
 .studio-page #ai-app #studio-manual-panel.studio-focus-panel>.studio-focus-heading .studio-header-actions{order:4!important;flex:1 0 100%!important;width:100%!important;min-width:0!important;overflow-x:auto!important;flex-wrap:nowrap!important}
 .studio-page #studio-manual-panel .studio-manual-actions{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important}
 .studio-page #studio-manual-panel .studio-manual-actions button{flex:none!important;white-space:nowrap!important;min-height:40px!important;font-size:12px!important;padding:6px 9px!important}
 .studio-page #studio-manual-panel .studio-manual-actions [data-editor-action=undo-design],.studio-page #studio-manual-panel .studio-manual-actions [data-editor-action=redo-design]{display:none!important}
 .studio-page #studio-manual-panel .studio-focus-heading .ai-chat-toggle{max-width:85px!important;min-width:0!important;padding:6px!important;font-size:11px!important}
 .mobile-dock406 button{white-space:nowrap;font-size:11px;min-width:0;padding:6px 3px}
}
