:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:#fff;color:#0d0d0d;font-synthesis:none;text-rendering:geometricPrecision;--sidebar: #f7f7f8;--main: #ffffff;--surface: #ffffff;--surface-hover: #ececec;--surface-soft: #f7f7f8;--surface-strong: #f1f5f4;--border: #e5e5e5;--border-strong: #d6d6d6;--text: #111827;--muted: #6b7280;--faint: #9ca3af;--accent: #10a37f;--accent-soft: #e6f6f1;--danger: #dc2626;--warning: #b45309;--shadow: 0 16px 44px rgba(0, 0, 0, .1)}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;overflow-x:hidden}body{margin:0;background:var(--main);color:var(--text);overflow:hidden}button,input,textarea,select{font:inherit}button,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.62}button,select,input,textarea{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,opacity .18s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(16,163,127,.2);outline-offset:2px}.chat-shell{display:grid;grid-template-columns:280px minmax(0,1fr);max-width:100%;height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;background:var(--main)}.chat-shell.inspector-open{grid-template-columns:280px minmax(0,1fr) 340px}.sidebar-backdrop{display:none}.chat-sidebar{display:flex;min-width:0;height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;flex-direction:column;border-right:1px solid var(--border);background:var(--sidebar)}.sidebar-top{display:grid;gap:10px;padding:12px}.brand-row{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 4px}.brand-row strong{overflow:hidden;color:var(--text);font-size:15px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.app-mark,.welcome-logo,.avatar{display:grid;place-items:center;color:#fff;background:#111827}.app-mark{width:28px;height:28px;border-radius:8px;flex:0 0 auto}.new-chat-button,.sidebar-search,.mobile-menu-button,.header-icon-button,.suggestion-grid button,.template-row button,.round-tool-button,.send-button,.message-copy-button,.artifact-actions button,.workbench-tabs button,.context-strip button{border:0;background:transparent}.new-chat-button,.sidebar-search,.workspace-select{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 10px;border-radius:8px;color:#1f2937;text-align:left}.new-chat-button{border:1px solid var(--border);background:var(--surface);font-weight:650}.new-chat-button:hover,.sidebar-search:hover,.session-row:hover,.session-row.active,.workspace-select:hover{background:var(--surface-hover)}.sidebar-search{color:var(--muted);font-size:14px}.sidebar-search:focus-within,.workspace-select:focus-within{background:var(--surface);box-shadow:0 0 0 3px #10a37f1a}.sidebar-search input{width:100%;min-width:0;border:0;outline:0;color:#1f2937;background:transparent;font-size:14px}.sidebar-search input::placeholder{color:var(--muted)}.workspace-select{justify-content:space-between;border:1px solid var(--border);background:var(--surface)}.workspace-select span{color:var(--muted);font-size:12px;font-weight:650}.workspace-select select{width:150px;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font-size:13px;text-align:right}.session-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:3px;padding:4px 8px 12px;overflow:auto}.session-list-header{display:flex;align-items:center;justify-content:space-between;min-height:30px;padding:0 8px;color:var(--muted);font-size:12px;font-weight:680}.session-list p{margin:12px 8px;color:var(--muted);font-size:13px}.session-row{display:flex;align-items:center;gap:4px;width:100%;min-height:48px;padding:4px;border-radius:8px;color:var(--text)}.session-select-button{display:grid;min-width:0;flex:1;gap:4px;padding:6px;border:0;color:var(--text);background:transparent;text-align:left}.session-title{overflow:hidden;font-size:14px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}.session-select-button small{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.status-dot{width:7px;height:7px;border-radius:999px;background:#c4c4c4;flex:0 0 auto}.status-dot.running{background:var(--accent);box-shadow:0 0 0 3px #10a37f1f}.status-dot.completed{background:#2563eb}.status-dot.failed{background:var(--danger)}.session-rename-button,.rename-form button{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border:0;border-radius:8px;color:var(--muted);background:transparent;opacity:0}.session-row:hover .session-rename-button,.session-row.active .session-rename-button,.session-rename-button:focus-visible,.rename-form button{opacity:1}.session-rename-button:hover,.rename-form button:hover{color:#111827;background:#e8e8e8}.rename-form{display:flex;align-items:center;gap:4px;width:100%}.rename-form input{width:100%;min-width:0;height:34px;border:1px solid var(--border);border-radius:8px;outline:0;padding:0 8px;color:#111827;background:#fff;font-size:14px}.rename-form input:focus{border-color:#bdbdbd;box-shadow:0 0 0 3px #10a37f1a}.sidebar-footer{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-top:1px solid var(--border);color:var(--muted);font-size:12px}.live-dot,.sidebar-footer span{width:7px;height:7px;border-radius:999px;background:#c7c7c7}.sidebar-footer .live-dot,.live-dot{background:var(--accent);box-shadow:0 0 10px #10a37f7a}.chat-main{display:grid;min-width:0;max-width:100%;height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;grid-template-rows:57px minmax(0,1fr) auto;background:var(--main)}.chat-header{display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:57px;gap:10px;padding:0 16px;border-bottom:1px solid transparent}.header-copy{display:grid;gap:2px;min-width:0;flex:1}.chat-header strong{overflow:hidden;color:#111827;font-size:16px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.chat-header span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:4px}.mobile-menu-button,.header-icon-button{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:8px;color:#4b5563}.mobile-menu-button{display:none}.mobile-menu-button:hover,.header-icon-button:hover,.header-icon-button[aria-pressed=true]{color:#111827;background:var(--surface-hover)}.chat-scroll{min-height:0;min-width:0;max-width:100%;overflow:auto;padding:10px 16px 24px}.chat-scroll.empty{display:grid;place-items:center}.message-stack{display:grid;width:min(100%,840px);min-width:0;max-width:100%;margin:0 auto;gap:20px;padding:18px 0 48px}.chat-message{display:grid;grid-template-columns:32px minmax(0,1fr);min-width:0;align-items:start;gap:14px}.chat-message.user{grid-template-columns:minmax(0,1fr) 32px}.avatar{width:32px;height:32px;border-radius:999px;flex:0 0 auto;font-size:13px;font-weight:720}.chat-message.user .avatar{grid-column:2;grid-row:1;background:#ececec;color:#111827}.chat-message.assistant .avatar{background:#111827}.message-body{min-width:0;padding-top:4px}.chat-message.user .message-body{grid-column:1;grid-row:1;display:grid;justify-items:end}.message-heading{display:flex;align-items:center;gap:8px;min-height:24px}.chat-message.user .message-heading{justify-content:flex-end}.message-heading strong{font-size:14px}.message-heading time{color:var(--faint);font-size:12px}.message-copy-button{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:var(--muted);opacity:0}.chat-message:hover .message-copy-button,.message-copy-button:focus-visible{opacity:1}.message-copy-button:hover{color:var(--text);background:var(--surface-hover)}.message-body p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#1f2937;font-size:15px;line-height:1.75}.chat-message.user .message-body p{width:fit-content;max-width:min(640px,100%);padding:10px 14px;border-radius:18px;background:#f4f4f4;line-height:1.6;text-align:left}.progress-card{display:grid;gap:8px;margin-left:46px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.activity-title{display:flex;align-items:center;gap:8px;color:#111827;font-size:13px}.activity-title svg{color:var(--accent)}.stage-row{display:grid;grid-template-columns:24px max-content minmax(0,1fr);align-items:center;gap:8px;color:var(--muted);font-size:13px}.stage-row div{display:grid;width:24px;height:24px;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.stage-row span{color:#111827;font-weight:650}.stage-row small{overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere}.welcome-panel{display:grid;justify-items:center;width:min(100%,780px);gap:18px;padding:0 0 10vh}.welcome-logo{width:58px;height:58px;border-radius:18px}.welcome-panel h1{margin:0;color:#111827;font-size:30px;line-height:1.25;font-weight:720;letter-spacing:0;text-align:center}.template-row{display:flex;justify-content:center;gap:8px;width:100%;flex-wrap:wrap}.template-row button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:999px;color:#374151;background:#fff;font-size:13px;font-weight:620}.template-row button:hover{border-color:var(--border-strong);background:var(--surface-soft)}.template-row svg{color:var(--accent)}.suggestion-grid{display:grid;width:min(100%,680px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.suggestion-grid button{display:grid;gap:6px;min-height:84px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;color:#374151;background:#fff;text-align:left}.suggestion-grid button:hover{border-color:var(--border-strong);background:var(--surface-soft)}.suggestion-grid strong{color:var(--text);font-size:14px}.suggestion-grid span{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.error-banner{display:flex;align-items:center;gap:10px;width:min(840px,100%);margin:12px auto 0;padding:12px 14px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fff7f7;font-size:13px}.composer-zone{display:grid;width:100%;min-width:0;max-width:100%;justify-items:center;gap:8px;padding:0 16px 16px;background:linear-gradient(180deg,#fff0,#fff 24px),#fff}.context-strip{display:flex;width:min(100%,900px);min-width:0;gap:6px;overflow-x:auto;padding:0 2px}.context-strip button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:max-content;min-height:32px;padding:0 10px;border:1px solid var(--border);border-radius:999px;color:#4b5563;background:#fff;font-size:12px;font-weight:620}.context-strip button:hover,.context-strip button.selected{border-color:#b6dfd3;color:#075e49;background:var(--accent-soft)}.composer-goal-field{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;padding:0 6px 8px;border-bottom:1px solid var(--border)}.composer-goal-field span{color:var(--muted);font-size:12px;font-weight:650}.composer-goal-field input{width:100%;height:32px;min-width:0;border:0;border-radius:999px;outline:none;padding:0 10px;color:#111827;background:var(--surface-soft);font-size:12px;text-overflow:ellipsis}.composer-goal-field input:focus{box-shadow:0 0 0 3px #10a37f1a}.chat-composer{display:grid;width:min(100%,900px);min-width:0;max-width:100%;gap:10px;padding:12px;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.chat-composer textarea{width:100%;min-height:42px;max-height:180px;resize:vertical;border:0;outline:none;padding:4px 6px;color:#111827;background:transparent;font-size:16px;line-height:1.55}.chat-composer textarea::placeholder{color:#8f959e}.composer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.round-tool-button,.send-button{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border-radius:999px}.round-tool-button{color:#4b5563;background:#f4f4f4}.round-tool-button:hover{background:#ededed}.composer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;flex:1}.composer-controls select{max-width:158px;min-width:76px;height:30px;flex:0 1 auto;border:1px solid var(--border);border-radius:999px;outline:none;padding:0 9px;color:#4b5563;background:#fff;font-size:12px;text-overflow:ellipsis}.composer-controls select:hover{border-color:var(--border-strong)}.composer-controls .model-select{min-width:138px;max-width:184px;flex:1 1 150px}.send-button{color:#fff;background:#111827}.send-button:hover:not(:disabled){background:#000}.send-button.stop{color:#991b1b;background:#fee2e2}.send-button.stop:hover{background:#fecaca}.send-button:disabled{background:#d1d5db}.composer-zone p{margin:0;color:var(--muted);font-size:12px;text-align:center}.workbench-panel{display:grid;min-width:0;height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;grid-template-rows:57px auto minmax(0,1fr);border-left:1px solid var(--border);background:#fbfbfb}.workbench-header{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:12px;padding:0 12px 0 16px}.workbench-header div{display:grid;min-width:0;gap:2px}.workbench-header strong{color:var(--text);font-size:15px}.workbench-header span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workbench-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 12px 12px;border-bottom:1px solid var(--border)}.workbench-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:34px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:650}.workbench-tabs button:hover,.workbench-tabs button.active{color:var(--text);background:var(--surface-hover)}.workbench-content{display:grid;min-height:0;align-content:start;gap:12px;overflow:auto;padding:12px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric-grid div{display:grid;gap:3px;min-height:62px;align-content:center;padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.metric-grid span{color:var(--text);font-size:20px;font-weight:760;line-height:1}.metric-grid small{color:var(--muted);font-size:12px}.empty-state{display:grid;justify-items:start;gap:6px;padding:14px;border:1px dashed var(--border-strong);border-radius:8px;color:var(--muted);background:#fff;font-size:13px}.empty-state svg{color:var(--accent)}.empty-state strong{color:var(--text);font-size:14px}.artifact-card{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.artifact-header{display:flex;align-items:start;justify-content:space-between;gap:10px;min-width:0}.artifact-header>div:first-child{display:grid;min-width:0;gap:4px}.artifact-header strong{overflow:hidden;color:var(--text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.artifact-kind{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:650}.artifact-card>small{color:var(--muted);font-size:12px}.artifact-card pre{max-height:260px;margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#1f2937;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:12px;line-height:1.55}.artifact-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}.artifact-actions button{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;color:var(--muted)}.artifact-actions button:hover{color:var(--text);background:var(--surface-hover)}.settings-grid label{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.settings-grid label>span{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:720}.settings-grid select{width:100%;height:36px;min-width:0;border:1px solid var(--border);border-radius:8px;outline:0;padding:0 10px;color:var(--text);background:#fff;font-size:13px}.settings-grid select:hover,.settings-grid select:focus{border-color:var(--border-strong)}.switch-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.switch-row input{width:18px;height:18px;accent-color:var(--accent)}.profile-brief{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.profile-brief strong{color:var(--text);font-size:14px}.profile-brief p{margin:0;color:#4b5563;font-size:13px;line-height:1.55}.profile-brief div{display:flex;flex-wrap:wrap;gap:6px}.profile-brief span{display:inline-flex;align-items:center;min-height:26px;padding:0 8px;border-radius:999px;color:#075e49;background:var(--accent-soft);font-size:12px;font-weight:650}.activity-list{display:grid;gap:8px}.activity-panel{gap:14px}.activity-section{display:grid;gap:10px}.activity-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.activity-section-header>div{display:grid;min-width:0;gap:2px}.activity-section-header strong{color:var(--text);font-size:14px}.activity-section-header span{color:var(--muted);font-size:12px}.activity-section-header button{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border-radius:8px;color:var(--muted)}.activity-section-header button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.activity-section-header button:disabled{opacity:.45;cursor:not-allowed}.activity-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 9px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.activity-item>div{display:grid;width:28px;height:28px;grid-row:1 / 3;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.activity-item strong{color:var(--text);font-size:13px}.activity-item span{overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.45}.run-history-list{display:grid;gap:8px}.run-record-button{display:grid;width:100%;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:8px;color:inherit;background:#fff;text-align:left}.run-record-button:hover,.run-record-button.active{border-color:var(--border-strong);background:var(--surface-hover)}.run-record-button>span{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.run-record-button.failed>span{color:#b42318;background:#fff0ed}.run-record-button.interrupted>span{color:#8a5a00;background:#fff6d7}.run-record-button>div{display:grid;min-width:0;gap:3px}.run-record-button strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.run-record-button small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.run-detail{display:grid;gap:10px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.run-detail-header{display:flex;align-items:start;justify-content:space-between;gap:10px}.run-detail-header>div{display:grid;min-width:0;gap:4px}.run-detail-header span{color:var(--muted);font-size:12px;font-weight:720}.run-detail-header strong{overflow-wrap:anywhere;color:var(--text);font-size:14px;line-height:1.35}.run-detail-header small{flex:0 0 auto;color:var(--muted);font-size:12px}.run-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.run-meta-grid div{display:grid;gap:3px;min-width:0;padding:8px;border-radius:8px;background:#f8faf9}.run-meta-grid span,.run-footnote span{color:var(--muted);font-size:11px;font-weight:680}.run-meta-grid strong{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.run-footnote{display:flex;flex-wrap:wrap;gap:6px}.run-footnote span{display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;background:#f1f5f4}.run-error{display:flex;gap:7px;align-items:start;padding:9px;border:1px solid #ffd2cc;border-radius:8px;color:#9f2418;background:#fff7f5;font-size:12px;line-height:1.45}.run-error svg{flex:0 0 auto;margin-top:1px}.event-list-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.event-list-header strong{color:var(--text);font-size:13px}.event-list-header span{color:var(--muted);font-size:12px}.run-inspector-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.run-inspector-tabs button{display:inline-flex;min-width:0;min-height:32px;align-items:center;justify-content:center;gap:4px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:11px;font-weight:680}.run-inspector-tabs button:hover,.run-inspector-tabs button.active{color:var(--text);background:#fff;box-shadow:0 1px 2px #11182714}.command-review-list,.file-change-list{display:grid;gap:8px}.command-review,.file-change-review{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#fbfdfc}.command-review.failed,.file-change-review.failed{border-color:#ffd2cc;background:#fff9f8}.command-review-header,.file-change-review>div,.command-output-header{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.command-review-header>div,.file-change-review>div>:first-child{min-width:0}.command-review-header>div,.file-change-review>div{display:flex;align-items:center;gap:6px}.command-review-header svg,.file-change-review svg{flex:0 0 auto;color:var(--accent)}.command-review.failed .command-review-header svg,.file-change-review.failed svg{color:#b42318}.command-review-header strong,.file-change-review strong{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.command-review-header span,.file-change-review small,.command-output-header>span{color:var(--muted);font-size:11px}.command-review-header small{flex:0 0 auto;color:var(--muted);font-size:11px}.command-review>code{display:block;overflow:auto;padding:8px;border:1px solid #e6ece9;border-radius:6px;color:#1f2937;background:#f4f7f6;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:11px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.command-output{display:grid;gap:5px}.command-output-header>div{display:flex;gap:2px}.command-output-header button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:6px;color:var(--muted);background:transparent}.command-output-header button:hover{color:var(--text);background:var(--surface-hover)}.command-output pre{max-height:260px;margin:0;overflow:auto;padding:8px;border-radius:6px;color:#d8e4df;background:#17201e;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.file-change-review>div small{margin-left:auto}.file-change-review ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}.file-change-review li{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:6px;min-width:0}.file-change-review li span{display:inline-flex;min-height:20px;align-items:center;padding:0 6px;border-radius:999px;color:#075e49;background:var(--accent-soft);font-size:10px;font-weight:700}.file-change-review li code{overflow:hidden;color:#374151;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,ui-monospace,monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.file-change-review p{margin:0;color:var(--muted);font-size:12px}.event-timeline{display:grid;gap:7px}.run-event-item{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:2px 8px;align-items:start;padding:9px;border:1px solid var(--border);border-radius:8px;background:#fbfdfc}.run-event-item>div{display:grid;width:26px;height:26px;grid-row:1 / 3;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.run-event-item.error>div{color:#b42318;background:#fff0ed}.run-event-item strong{min-width:0;overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.run-event-item span{grid-column:2 / 4;min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:12px;line-height:1.45}.run-event-item small{color:var(--muted);font-size:11px;white-space:nowrap}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.chat-shell,.chat-shell.inspector-open{grid-template-columns:280px minmax(0,1fr)}.workbench-panel{position:fixed;z-index:30;top:0;right:0;width:min(360px,calc(100vw - 40px));box-shadow:var(--shadow)}}@media(max-width:840px){.chat-shell,.chat-shell.inspector-open{grid-template-columns:1fr}.chat-sidebar{position:fixed;z-index:50;top:0;left:0;width:min(320px,calc(100vw - 44px));transform:translate(-105%);box-shadow:var(--shadow);transition:transform .22s ease}.chat-shell.sidebar-open .chat-sidebar{transform:translate(0)}.chat-shell.sidebar-open .sidebar-backdrop{display:block;position:fixed;z-index:45;inset:0 0 0 min(320px,calc(100vw - 44px));border:0;background:#1118275c}.chat-main{height:100vh;height:100dvh;min-height:100vh;min-height:100dvh}.mobile-menu-button{display:grid}.chat-header{border-bottom-color:var(--border)}.message-stack{padding-top:10px}.progress-card{margin-left:0}.suggestion-grid{grid-template-columns:1fr}.composer-controls select{max-width:148px}}@media(max-width:620px){.chat-scroll{padding:8px 12px 18px}.chat-message{grid-template-columns:28px minmax(0,1fr);gap:10px}.chat-message.user{grid-template-columns:minmax(0,1fr) 28px}.avatar{width:28px;height:28px;font-size:12px}.message-copy-button{opacity:1}.welcome-panel{padding-bottom:5vh}.welcome-panel h1{font-size:27px}.run-inspector-tabs button{min-height:36px;font-size:10px}.template-row{justify-content:start}.composer-zone{padding:0 10px 10px;overflow-x:hidden}.context-strip{width:100%}.chat-composer{width:100%;max-width:100%;border-radius:22px}.composer-goal-field{grid-template-columns:1fr;gap:5px;padding:0 4px 8px}.composer-actions{display:grid;width:100%;min-width:0;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center}.composer-controls{display:grid;grid-column:1 / -1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.round-tool-button{grid-column:1;grid-row:1}.send-button{grid-column:3;grid-row:1;justify-self:end;margin-left:auto}.composer-controls select{width:100%;min-width:0;max-width:none}.composer-controls .model-select{grid-column:1 / -1;max-width:none}.workbench-panel{width:min(100vw,380px)}.metric-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
