.mobile-tool-dock,.mobile-sheet-head,.workspace-menu-trigger,.workspace-menu-overlay,.workspace-menu-close{display:none}
@media(max-width:850px){
.mobile-editor-ready{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px));overflow-x:hidden}.mobile-editor-ready .workspace{overflow:visible}.mobile-editor-ready .stage{min-height:calc(100dvh - 150px);padding:10px 8px;gap:10px}.mobile-editor-ready .stage .mobile-edit{display:none}.mobile-editor-ready .toolbar{justify-content:center;gap:6px}.mobile-editor-ready .toolbar h2{width:100%;text-align:center;font-size:13px}.mobile-editor-ready .toolbar .tools{justify-content:center;gap:5px}.mobile-editor-ready .toolbar button{min-height:44px;padding:8px 10px}.mobile-editor-ready #draft-status{max-width:140px;font-size:10px}.mobile-editor-ready .direct-tools{max-width:100%;min-width:0}.mobile-editor-ready .bottom{margin-top:auto}.mobile-editor-ready .mobile-tool-dock{display:flex;position:fixed;z-index:90;bottom:0;inset-inline:0;background:#fff;border-top:1px solid #dce5f4;box-shadow:0 -8px 30px #152f6515;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));overflow-x:auto;gap:3px;scrollbar-width:thin;overscroll-behavior-x:contain}.mobile-tool-dock button{flex:1 0 57px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;color:#34466c;border:0;border-radius:12px;font-size:11px;padding:4px}.mobile-tool-dock button[aria-expanded=true]{background:#e8eaff;color:#5144d6}.mobile-editor-ready .workspace>aside#editor-controls{display:none;position:fixed;inset:auto 0 calc(74px + env(safe-area-inset-bottom,0px));z-index:89;width:100%;max-height:min(56dvh,520px);overflow:auto;overscroll-behavior:contain;border-radius:22px 22px 0 0;padding:0 14px 14px;box-shadow:0 -12px 45px #182f6540;border:1px solid #dce5f4}.mobile-editor-ready .workspace>aside#editor-controls.sheet-open{display:block}.mobile-editor-ready #editor-controls>h1,.mobile-editor-ready #editor-controls>.sub,.mobile-editor-ready #editor-controls .section:not(.mobile-section-active),.mobile-editor-ready #editor-controls .ai-panel:not(.mobile-section-active){display:none}.mobile-sheet-head{display:flex;position:sticky;top:0;z-index:2;background:white;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e1e7f2;color:#25345d}.mobile-sheet-head button{width:44px;height:44px;border:0;background:#eef0ff;color:#5144d6;border-radius:12px;font-size:24px}.mobile-editor-ready #editor-controls .section{border:0}.mobile-editor-ready #editor-controls .fields,.mobile-editor-ready #editor-controls .options{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-editor-ready #editor-controls input,.mobile-editor-ready #editor-controls select,.mobile-editor-ready #editor-controls textarea{min-width:0;font-size:16px}.mobile-editor-ready #editor-controls button{min-height:44px}.mobile-editor-ready #editor-controls .thumb button{min-height:30px;min-width:30px}.mobile-editor-ready #editor-controls .library-tools{min-width:0}.mobile-editor-ready .preview{max-width:100%}
.workspace-drawer-ready .workspace-menu-trigger{display:flex;align-items:center;gap:10px;min-height:48px;width:100%;margin:0 0 12px;border-radius:13px;background:linear-gradient(120deg,#17469b,#6536d1);color:white;border:0;padding:10px 15px;text-align:right}.workspace-drawer-ready .shell{display:block;min-width:0}.workspace-drawer-ready .shell>section{min-width:0;max-width:100%}.workspace-drawer-ready .shell>.side{display:none;position:fixed;inset:0 0 0 auto;width:min(84vw,320px);height:100dvh;max-height:none;z-index:102;overflow:auto;overscroll-behavior:contain;border-radius:20px 0 0 20px;padding:18px 14px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:-15px 0 50px #10234a55;flex-direction:column;align-items:stretch}.workspace-drawer-open .shell>.side{display:flex}.workspace-drawer-open{overflow:hidden}.workspace-drawer-open .workspace-menu-overlay{display:block;position:fixed;inset:0;z-index:101;background:#0c173c88;border:0;border-radius:0;width:100%;height:100%;padding:0}.workspace-menu-close{display:block;align-self:flex-end;width:44px;height:44px;background:#ffffff20;color:white;border:0;border-radius:12px;font-size:24px}.workspace-drawer-ready .side a{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;flex-wrap:wrap;border-radius:12px}.workspace-drawer-ready .side a[aria-current=page]{background:#ffffff24;color:white}.workspace-drawer-ready .side a svg{flex-shrink:0}.workspace-drawer-ready .shell>section article{min-width:0;max-width:100%;overflow-wrap:anywhere}.workspace-drawer-ready .shell>section table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}.workspace-drawer-ready .shell>section input,.workspace-drawer-ready .shell>section select,.workspace-drawer-ready .shell>section textarea{max-width:100%;min-width:0;font-size:16px}
}
@media(max-width:360px){.mobile-editor-ready #editor-controls .fields,.mobile-editor-ready #editor-controls .options{grid-template-columns:1fr}.mobile-tool-dock button{flex-basis:54px}}
