.workspace-dialog-backdrop{z-index:180}@media (max-height:800px){.agent-sidebar{overflow-y:auto}.agent-sidebar>*{flex-shrink:0}.agent-sidebar .agent-history{flex:none;min-height:88px;overflow:visible}}.workspace-dialog{max-width:480px}.workspace-dialog.is-wide{max-width:680px}.workspace-dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.workspace-dialog-heading h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:22px;font-weight:550}.workspace-field{color:var(--agent-text);flex-direction:column;gap:8px;margin-bottom:16px;font-size:14px;display:flex}.workspace-dialog .workspace-field :is(input,textarea,select){width:100%;min-height:44px;font:inherit;border:1px solid var(--agent-input-border);margin:0;padding:12px}.workspace-field textarea{resize:vertical;min-height:100px;max-height:280px;line-height:1.7}.workspace-field textarea.project-instructions{min-height:120px}.workspace-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:16px 0;display:flex}.workspace-actions>button,.workspace-management-actions>button{border-radius:10px;gap:8px;min-height:44px;padding:10px 14px;font-size:14px}.workspace-actions>button:not(.primary):hover,.workspace-management-actions>button:hover{background:var(--agent-hover)}.workspace-management-actions{border-top:1px solid var(--agent-border);flex-direction:column;gap:4px;margin-top:24px;padding-top:16px;display:flex}.workspace-management-actions>button{text-align:left;justify-content:flex-start}.workspace-management-actions>.is-danger{color:var(--agent-error)}.workspace-dialog .workspace-note,.workspace-dialog .workspace-error{overflow-wrap:anywhere;margin:12px 0;font-size:14px;line-height:1.7}.workspace-error{background:var(--agent-error-bg);border-radius:12px;padding:12px;color:var(--agent-error)!important}.agent-history-more{width:44px;min-height:44px;color:var(--agent-muted);border-radius:9px;flex-shrink:0}.agent-history-more:hover{background:var(--agent-input)}.agent-history-tabs{gap:4px;margin-bottom:8px;display:flex}.agent-history-tabs>button{min-width:0;min-height:44px;color:var(--agent-muted);border-radius:10px;flex:1;gap:6px;padding:6px 8px;font-size:13px}.agent-history-tabs>button[aria-pressed=true]{background:var(--agent-selected);color:var(--agent-brand)}.agent-project-navigation{flex-direction:column;gap:8px;margin-top:16px;display:flex}.agent-project-navigation>button{min-height:44px;color:var(--agent-muted);border-radius:10px;justify-content:flex-start;gap:8px;padding:8px;font-size:14px}.agent-project-navigation>button:hover{background:var(--agent-hover)}.agent-project-navigation>label{color:var(--agent-muted);font-size:12px}.agent-project-navigation select{border:1px solid var(--agent-border);width:100%;min-height:44px;margin:4px 0 0;padding:8px;font-size:13px}.project-toolbar{justify-content:space-between}.project-list{flex-direction:column;gap:12px;margin:16px 0;display:flex}.project-list-item{background:var(--agent-surface-soft);border-radius:14px;padding:16px}.project-list-item h3{overflow-wrap:anywhere;font-size:16px;font-weight:600;line-height:1.5}.project-list-item .project-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:14px;line-height:1.6}.project-list-item header{align-items:center;gap:8px;display:flex}.project-list-item header>span{color:var(--agent-muted);flex-shrink:0;font-size:12px}.project-list-item .workspace-actions{justify-content:flex-start;margin-bottom:0}.project-list-item .workspace-actions>button{padding:6px 10px}.project-context{color:var(--agent-muted);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding:12px 32px 0;font-size:13px;display:flex}.is-welcome .project-context{width:calc(100% - 64px);max-width:760px;margin:0 auto 16px;padding:0}.project-context>label{white-space:nowrap;align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.project-context>label>svg{flex-shrink:0}.project-context select{border:1px solid var(--agent-border);min-width:0;max-width:260px;min-height:44px;padding:8px;font-size:13px}.project-context>button{min-height:44px;color:var(--agent-brand);border-radius:10px;padding:8px}.project-context>span{overflow-wrap:anywhere}.project-load-note{color:var(--agent-muted);font-size:13px}@media (max-width:600px){.agent-shell .workspace-dialog-backdrop{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);align-items:stretch}.agent-shell .workspace-dialog,.agent-shell .workspace-dialog.is-wide{border:0;border-radius:0;width:100%;max-width:none;height:100%;max-height:100%;padding:0 16px 24px;scroll-padding-top:76px}.agent-shell .workspace-dialog-heading{z-index:3;background:var(--agent-input);border-bottom:1px solid var(--agent-border);min-height:64px;margin:0 0 20px;padding:10px 0;position:sticky;top:0}.project-context{padding:8px 16px 0}.is-welcome .project-context{width:calc(100% - 32px)}.project-context select{max-width:210px}.workspace-dialog-heading h2{font-size:20px}}
