.drawer-toggle,.drawer-close{display:none}
@media(min-width:1024px){
 .generation-console{grid-template-columns:minmax(0,1fr)!important}
 .drawer-toggle{display:block;position:fixed;top:45%;z-index:110;border:1px solid var(--border);background:var(--accent);color:#211600;padding:18px 10px;writing-mode:vertical-rl;letter-spacing:3px;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 4px 18px #0003}
 #taskDrawerToggle{left:0;border-radius:0 12px 12px 0}
 #libraryDrawerToggle{right:0;border-radius:12px 0 0 12px}
 .task-flow-panel,.file-library-section{position:fixed;top:76px;bottom:14px;margin:0!important;z-index:120;overflow:auto;overscroll-behavior:contain;background:var(--bg-2,#20263c)!important;box-shadow:0 10px 60px #0006;border:1px solid var(--border);visibility:hidden;transition:transform .24s ease,visibility .24s;box-sizing:border-box;padding:22px!important}
 .task-flow-panel{left:12px;width:min(470px,44vw);transform:translateX(calc(-100% - 20px))}
 .file-library-section{right:12px;width:min(900px,76vw);transform:translateX(calc(100% + 20px))}
 .task-flow-panel.drawer-open,.file-library-section.drawer-open{visibility:visible;transform:translateX(0)}
 .drawer-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:transparent;color:var(--text);font-size:24px;cursor:pointer}
 .file-library-head{gap:12px}.file-library-head>div:first-child{flex:1}.file-library-note{max-width:230px}
 .task-flow-panel>.assistant-head{display:flex;justify-content:space-between;align-items:center}
 .file-library-section .file-grid{max-height:none;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
 .file-library-section .file-pager{position:sticky;bottom:-22px;background:var(--bg-2,#20263c);padding:14px 0;margin-bottom:0}
 .task-flow-panel .job-flow{max-height:none;overflow:visible}
 .drawer-toggle:focus-visible,.drawer-close:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
}
@media(prefers-reduced-motion:reduce){.task-flow-panel,.file-library-section{transition:none!important}}
