:root{font-family:SF Pro Text,PingFang SC,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei,Segoe UI,sans-serif;color:#17191c;background:#f4f5f4;font-synthesis:none;text-rendering:optimizeLegibility;font-kerning:normal;--primary: #303b43;--primary-strong: #202a31;--primary-soft: #e0e6e8;--accent: #46657c;--accent-soft: #dfe8ee;--text: #17191c;--muted: #454c52;--soft: #687078;--line: #cfd4d2;--line-strong: #bbc2bf;--surface: #ffffff;--surface-soft: #eef0ef;--sidebar: #e7eae8;--success: #2d6b51;--success-soft: #dfece5;--warning: #825e2e;--warning-soft: #f4ecdf;--danger: #a44949;--danger-soft: #faf0f0;--purple: #6c5e7a;--purple-soft: #eeeaf2;--shadow-menu: 0 18px 44px rgba(31, 38, 42, .14), 0 3px 10px rgba(31, 38, 42, .07);--shadow-control: 0 1px 2px rgba(31, 38, 42, .05);--ease-out: cubic-bezier(.2, .75, .25, 1)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:1080px;font-size:13px;font-weight:400;line-height:1.58;letter-spacing:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--text)}.app-shell svg{stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}button,input,textarea,select{font:inherit}button{color:inherit;transition:background-color .13s var(--ease-out),border-color .13s var(--ease-out),color .13s var(--ease-out),box-shadow .13s var(--ease-out),opacity .13s var(--ease-out),transform 90ms ease-out}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(88,116,147,.26);outline-offset:1px}button:disabled{cursor:not-allowed;opacity:.5}.icon-button:not(:disabled):active,.header-command:not(:disabled):active,.runtime-selector:not(:disabled):active,.runtime-icon-button:not(:disabled):active,.graph-scope-pill:not(:disabled):active,.send-button:not(:disabled):active,.new-chat-button:not(:disabled):active{transform:translateY(1px)}.app-shell{display:grid;grid-template-rows:44px minmax(0,1fr);width:100%;height:100%;background:var(--surface)}.desktop-titlebar{-webkit-app-region:drag;display:grid;grid-template-columns:272px minmax(0,1fr) auto;align-items:center;height:44px;border-bottom:1px solid var(--line);background:#e9ecea;-webkit-user-select:none;user-select:none}.titlebar-brand,.titlebar-path,.titlebar-actions{min-width:0}.titlebar-brand{display:flex;align-items:center;gap:9px;height:100%;padding:0 16px;border-right:1px solid var(--line)}.is-mac .titlebar-brand{padding-left:78px}.titlebar-brand img{width:21px;height:21px;object-fit:contain;opacity:.92}.titlebar-brand strong{overflow:hidden;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.titlebar-path{display:flex;align-items:center;gap:7px;padding:0 18px;overflow:hidden;color:var(--muted);font-size:12px}.titlebar-path span,.titlebar-path strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.titlebar-path strong{color:var(--text);font-weight:600}.titlebar-actions{-webkit-app-region:no-drag;display:flex;align-items:center;gap:2px;height:100%;padding:0 8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#626a70;cursor:pointer}.icon-button:hover{background:#e4e8e7;color:var(--text)}.icon-button.bordered{border:1px solid #dce1df;background:#f5f7f6;box-shadow:var(--shadow-control)}.icon-button.bordered:hover{border-color:#d1d8d5;background:#edf1ef}.icon-button.close-window:hover{background:#d83b3b;color:#fff}.provider-state{display:flex;align-items:center;gap:7px;max-width:190px;height:30px;margin-right:4px;padding:0 10px;overflow:hidden;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.provider-state:hover{border-color:transparent;background:#e9ecee;color:var(--text)}.provider-state>span{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#a5afbb}.provider-state>span.online{background:#18a66c;box-shadow:0 0 0 3px #e8f7f0}.app-body{display:grid;grid-template-columns:272px minmax(520px,1fr) 336px;min-width:0;min-height:0;overflow:hidden}.app-body.reply-hidden{grid-template-columns:272px minmax(520px,1fr)}.project-sidebar{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--line);background:var(--sidebar)}.sidebar-primary-action{display:grid;gap:3px;padding:9px 8px 7px}.new-chat-button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:37px;padding:0 10px;border:1px solid #d4d9d7;border-radius:6px;background:#fbfcfb;color:var(--text);text-align:left;cursor:pointer;box-shadow:var(--shadow-control)}.new-chat-button:hover{border-color:#c3cdca;background:#fff;box-shadow:0 2px 6px #1f262a12}.new-chat-button>svg{color:var(--accent)}.new-chat-button span{font-weight:650}.new-chat-button kbd{border:0;color:#767a82;background:transparent;font-size:11px;font-family:inherit}.sidebar-search-button{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#51575c;cursor:pointer;font-weight:500;text-align:left}.sidebar-search-button:hover{background:#e3e8e6;color:var(--text)}.sidebar-search-button kbd{color:#92959a;font-family:inherit;font-size:10px}.sidebar-scroll{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:3px 7px 12px}.sidebar-scroll::-webkit-scrollbar{width:8px}.sidebar-scroll::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:8px;background:#cfd6de;background-clip:padding-box}.sidebar-section{position:relative}.sidebar-section-title{position:relative;display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 7px 0 8px;color:#4e555b;font-size:12px;font-weight:600}.sidebar-icon-button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:5px;background:transparent;color:#74777e;cursor:pointer}.sidebar-icon-button:hover{background:#dfe6e3;color:var(--text)}.project-add-menu,.project-actions-menu,.conversation-actions-menu{position:absolute;z-index:40;padding:5px;border:1px solid #dededb;border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.project-add-menu{top:29px;right:3px;width:230px}.project-add-menu button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;width:100%;padding:9px;border:0;border-radius:5px;background:transparent;text-align:left;cursor:pointer}.project-add-menu button:hover{background:#f1f1ef}.project-add-menu button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.project-add-menu strong{font-size:13px;font-weight:500}.project-add-menu small{color:var(--soft);font-size:11px}.project-block{margin-bottom:2px}.project-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 26px 26px 20px;align-items:center;height:38px;border-radius:6px;color:#444b50}.project-row:hover{background:#e3e8e6}.project-row.active{background:#d1dad6;color:var(--text);box-shadow:inset 2px 0 #4f7164}.project-row.active .project-select>svg{color:#4d7566}.project-select{display:flex;min-width:0;align-items:center;gap:9px;height:100%;padding:0 4px 0 9px;overflow:hidden;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.project-select span{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.project-more,.project-new-chat{display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--soft);cursor:pointer;opacity:0}.project-row:hover .project-more,.project-row.active .project-more{opacity:1}.project-row:hover .project-new-chat,.project-row:focus-within .project-new-chat{opacity:1}.project-more:hover,.project-new-chat:hover{background:#d7dee3;color:var(--text)}.project-actions-menu{top:31px;right:18px;width:190px}.project-actions-menu button{display:flex;align-items:center;gap:8px;width:100%;height:33px;padding:0 9px;border:0;border-radius:5px;background:transparent;cursor:pointer;text-align:left;font-size:13px}.project-actions-menu button:hover:not(:disabled){background:#f0f0ee}.project-actions-menu button.menu-primary-action{margin-bottom:4px;border-bottom:1px solid var(--line);border-radius:5px 5px 0 0;color:var(--primary);font-weight:500}.project-actions-menu button.danger-action{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 5px 5px;color:var(--danger)}.project-actions-menu button.danger-action:hover{background:var(--danger-soft)}.project-expanded{padding:3px 0 8px 18px}.nested-label{height:29px;padding:8px 8px 0 18px;color:#626a70;font-size:11px;font-weight:550}.conversation-section-label{display:flex;align-items:center;justify-content:space-between;padding-top:3px}.conversation-section-label button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--soft);cursor:pointer}.conversation-section-label button:hover{background:#e3e7e9;color:var(--text)}.resources-label{margin-top:4px}.conversation-link,.resource-link{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-width:0;height:35px;padding:0 8px;border:0;border-radius:5px;background:transparent;color:#363c40;font-weight:500;cursor:pointer;text-align:left}.conversation-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 26px;align-items:center}.conversation-item .conversation-link{grid-column:1 / -1;grid-row:1;padding-right:32px}.conversation-more{z-index:1;grid-column:2;grid-row:1;display:grid;place-items:center;width:23px;height:23px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--soft);cursor:pointer;opacity:0}.conversation-item:hover .conversation-more,.conversation-item:focus-within .conversation-more{opacity:1}.conversation-more:hover{background:#d7dee3;color:var(--text)}.conversation-actions-menu{top:29px;right:3px;width:160px}.conversation-actions-menu button{display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px;border:0;border-radius:5px;background:transparent;color:var(--text);cursor:pointer;font-size:11px;text-align:left}.conversation-actions-menu button:hover{background:#f0f0ee}.conversation-actions-menu button.danger-action{color:var(--danger)}.conversation-actions-menu button.danger-action:hover{background:var(--danger-soft)}.conversation-link:hover,.resource-link:hover{background:#e3e8e6;color:var(--text)}.conversation-link.active{background:#d4dcd8;color:var(--text);box-shadow:inset 2px 0 #4f7164}.conversation-link.active>svg{color:#4d7566}.conversation-link>span,.resource-link>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-link time{color:#596168;font-size:10px;font-weight:500}.conversation-link.empty{color:var(--soft)}.resource-link>svg{color:#5b7569}.resource-link em{padding:2px 5px;border-radius:4px;background:#deebe4;color:#35664d;font-size:10px;font-style:normal;font-weight:550;white-space:nowrap}.resource-state{width:7px;height:7px;border-radius:50%;background:#b3bdc8}.resource-state.connected{background:#1ca36d}.public-section{margin-top:9px;padding-top:8px;border-top:1px solid var(--line)}.public-resource{height:38px;padding-left:9px}.public-resource>svg{color:#756582}.public-resource em{background:#ebe6ef;color:#675572}.sidebar-footer{padding:6px 8px 8px;border-top:1px solid var(--line)}.sidebar-utility-nav{display:grid;gap:1px;padding-bottom:5px;border-bottom:1px solid var(--line)}.sidebar-utility-nav button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;width:100%;height:31px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#474d52;font-weight:500;cursor:pointer;text-align:left}.sidebar-utility-nav button:hover{background:#e1e6e4;color:var(--text)}.sidebar-utility-nav button svg{color:#73777d}.sidebar-model-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:5px}.sidebar-model-row.has-update{grid-template-columns:minmax(0,1fr) 38px}.model-summary{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:43px;padding:6px 8px;border:0;border-radius:6px;background:transparent;cursor:pointer;text-align:left}.model-summary:hover{background:#e1e7e5}.model-summary>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.model-summary strong,.model-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-summary strong{font-size:13px;font-weight:650}.model-summary small{color:#5e666c;font-size:10px}.model-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e4e8eb;color:#647383}.model-dot.online{background:var(--success-soft);color:var(--success)}.sidebar-model-row.has-update .model-summary{grid-template-columns:30px minmax(0,1fr);padding-right:3px}.sidebar-update-reminder{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#2f8df7;color:#fff;cursor:pointer;box-shadow:0 2px 7px #1e6fd33d;transition:background .13s ease,box-shadow .13s ease,transform .13s ease}.sidebar-update-reminder:hover{background:#197ce9;box-shadow:0 3px 10px #1e6fd34d;transform:translateY(-1px)}.sidebar-update-reminder:active{transform:translateY(0)}.sidebar-update-reminder:focus-visible{outline:0;box-shadow:0 0 0 3px #2f8df733,0 2px 7px #1e6fd33d}.sidebar-update-reminder.downloaded{background:#287f65;box-shadow:0 2px 7px #287f653d}.sidebar-update-reminder.error{background:#b84d4d;box-shadow:0 2px 7px #b84d4d38}.sidebar-update-progress{position:absolute;right:-2px;bottom:-3px;display:grid;place-items:center;min-width:17px;height:15px;padding:0 3px;border:2px solid var(--sidebar);border-radius:8px;background:#fff;color:#256db8;font-size:7px;font-weight:700;line-height:1}.agent-workspace{display:flex;min-width:0;min-height:0;flex-direction:column;background:#fff}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;height:60px;flex:0 0 auto;padding:0 14px 0 18px;border-bottom:1px solid var(--line);background:#fbfcfb}.workspace-header>div:first-child{min-width:0}.workspace-header h1{margin:0 0 3px;overflow:hidden;font-size:15px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.workspace-title-block p{display:flex;align-items:center;gap:7px;margin:0;overflow:hidden;color:#596168;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.workspace-title-block p span{display:inline-flex;min-width:0;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis}.workspace-title-block p i{width:3px;height:3px;flex:0 0 auto;border-radius:50%;background:#b4b6b9}.workspace-header-actions{position:relative;display:flex;flex:0 0 auto;align-items:center;gap:3px}.workspace-tool-button{border:1px solid transparent;color:#687178}.workspace-tool-button:hover{border-color:#d4dad8;background:#eef2f0}.scope-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 8px;border:1px solid #d0e2d7;border-radius:6px;background:#e3eee8;color:#2f694d;font-size:11px;font-weight:550}.header-command{display:inline-flex;height:30px;align-items:center;gap:5px;padding:0 9px;border:1px solid #dde2e0;border-radius:6px;background:#f3f5f4;color:#5c666d;cursor:pointer;font-size:11px;box-shadow:var(--shadow-control)}.header-command:hover,.header-command.active{border-color:#cbd6d1;background:#e5ece8;color:#304a40}.header-command em{min-width:24px;padding-left:5px;border-left:1px solid var(--line-strong);color:var(--soft);font-size:10px;font-style:normal;text-align:center}.workspace-menu{position:absolute;z-index:30;top:38px;right:0;width:196px;padding:5px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.workspace-menu button{display:flex;width:100%;height:36px;align-items:center;gap:9px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:var(--text);cursor:pointer;font-size:12px;text-align:left}.workspace-menu button:hover{background:#edf1ef;color:var(--text)}.workspace-scroll{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto}.workspace-scroll::-webkit-scrollbar,.reply-panel-scroll::-webkit-scrollbar{width:9px}.workspace-scroll::-webkit-scrollbar-thumb,.reply-panel-scroll::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:9px;background:#cfd6de;background-clip:padding-box}.workspace-content{width:min(100%,820px);min-height:100%;margin:0 auto;padding:26px 30px 42px}.graph-scope{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:31px;margin-bottom:28px;color:#596168;font-size:11px;font-weight:500}.graph-scope-pill{display:inline-flex;width:auto;height:27px;align-items:center;gap:5px;padding:0 8px;border:1px solid #cfe1d7;border-radius:6px;background:#e4efe9;color:#32684d;cursor:pointer;font-size:11px;font-weight:550;box-shadow:var(--shadow-control)}.graph-scope-pill.public{border-color:#ddd5e4;background:#ece8ef;color:#665570}.graph-scope-pill.inactive{border-color:#dce1e7;background:#f6f7f9;color:#9aa4b0;opacity:.72}.graph-scope-pill:hover{filter:brightness(.975);box-shadow:0 2px 5px #1f262a12}.graph-info-button{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--soft);cursor:pointer}.graph-info-button:hover{background:#edf1ef;color:var(--text)}.knowledge-info-popover{position:absolute;z-index:20;top:36px;right:30px;display:flex;width:310px;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu);color:var(--text);text-align:left}.knowledge-info-popover>strong{height:auto;padding:0;border:0;background:transparent;color:var(--text);font-size:12px}.knowledge-info-popover p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}.knowledge-info-popover button{display:inline-flex;width:auto;height:29px;align-items:center;margin-top:2px;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:#f5f7f6;color:var(--muted);font-size:11px}.goal-menu-anchor{position:relative;display:inline-flex}.goal-popover{position:absolute;z-index:55;top:38px;right:0;width:min(420px,calc(100vw - 40px));max-height:min(430px,calc(100vh - 100px));padding:11px;overflow-y:auto;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.goal-popover>header{display:grid;grid-template-columns:31px minmax(0,1fr) 28px;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid var(--line)}.goal-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:#efefed;color:#66676c}.goal-popover>header>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.goal-popover>header strong{font-size:12px;font-weight:500}.goal-popover>header small{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.goal-input-row{display:flex;flex-direction:column;gap:5px;padding:11px 0 9px}.goal-input-row textarea,.goal-add-row input{min-width:0;height:33px;padding:0 9px;border:1px solid var(--line-strong);border-radius:5px;outline:0;color:var(--text)}.goal-input-row textarea{width:100%;height:86px;padding:8px 9px;resize:none;line-height:1.55}.goal-input-row>small{color:var(--soft);font-size:9px;text-align:right}.goal-input-row textarea:focus,.goal-add-row input:focus{border-color:#aebbd3;box-shadow:0 0 0 3px #5277bd12}.goal-task-list{border-top:1px solid var(--line)}.goal-task-list>div{display:grid;grid-template-columns:23px minmax(0,1fr) 23px;min-height:35px;align-items:center;gap:4px;border-bottom:1px solid var(--line);color:var(--text);font-size:11px}.goal-task-list>div.done>span{color:var(--soft);text-decoration:line-through}.goal-task-check,.goal-task-remove{display:grid;place-items:center;width:23px;height:23px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--soft);cursor:pointer}.goal-task-check:hover{background:#eaf5f0;color:var(--success)}.goal-task-remove:hover{background:var(--danger-soft);color:var(--danger)}.goal-add-row{display:grid;grid-template-columns:19px minmax(0,1fr) auto;align-items:center;gap:5px;padding-top:9px;color:#8995a4}.goal-add-row button{height:29px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#5a687a;cursor:pointer;font-size:10px}.goal-popover-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}.goal-popover-actions button{display:inline-flex;height:31px;align-items:center;gap:5px;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);cursor:pointer;font-size:10px}.goal-popover-actions button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.goal-clear-confirm{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;margin-top:10px;padding:8px;border:1px solid #ecd2d2;border-radius:6px;background:#fff7f7;color:#8f4b4b;font-size:10px}.goal-clear-confirm button{height:27px;padding:0 7px;border:1px solid #dfcaca;border-radius:5px;background:#fff;color:#785151;cursor:pointer;font-size:9px}.goal-clear-confirm button.danger{border-color:#b95151;background:#b95151;color:#fff}.user-prompt{display:flex;justify-content:flex-end;margin:0 0 28px}.prompt-copy{width:min(76%,620px)}.message-byline{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 3px 7px}.message-byline strong{color:#262a2e;font-size:12px;font-weight:650}.message-byline time{color:var(--soft);font-size:10px}.prompt-copy p{margin:0;padding:12px 15px;border:1px solid #cbd0cd;border-radius:8px;background:#e9ecea;color:#1b1f22;font-size:14px;font-weight:500;line-height:1.72}.analysis-run{margin-top:2px}.assistant-response-heading{display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:12px}.assistant-response-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#252a2e;color:#fff;box-shadow:0 1px 2px #14181b2e}.assistant-response-heading>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:1px}.assistant-response-heading strong{color:var(--text);font-size:14px;font-weight:650}.assistant-response-heading small{overflow:hidden;color:#525a60;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.assistant-response-heading>em{display:inline-flex;align-items:center;gap:4px;color:var(--success);font-size:10px;font-style:normal;font-weight:550}.assistant-response-heading>em.demo{color:#795a2f}.analysis-heading{margin:0 0 13px 37px}.analysis-toggle{display:grid;width:100%;min-height:38px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:5px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;text-align:left}.analysis-toggle:hover{background:#f0f2f1;color:var(--text)}.analysis-toggle>span{display:flex;min-width:0;align-items:baseline;gap:8px}.analysis-toggle strong{color:#3d4348;font-size:11px;font-weight:600}.analysis-toggle small{color:var(--soft);font-size:10px}.demo-evidence-notice{display:flex;align-items:flex-start;gap:8px;margin:0 0 9px 37px;padding:9px 11px;border:1px solid #ddcfb7;border-radius:6px;background:#faf7f1;color:#76572c}.demo-evidence-notice>span{display:flex;flex-direction:column;gap:2px}.demo-evidence-notice strong{font-size:10px;font-weight:600}.demo-evidence-notice small{color:#806f54;font-size:10px;line-height:1.5}.run-timeline{position:relative;margin:0 0 15px 37px;padding-left:9px;border-left:1px solid #cdd3d0}.run-timeline:before{display:none}.run-step{position:relative;padding-left:20px}.timeline-check{position:absolute;z-index:1;top:16px;left:-18px;display:grid;place-items:center;width:17px;height:17px;border:1px solid #98b8a7;border-radius:50%;background:#fff;color:#2f6c4e}.timeline-check.error{border-color:#e2bcbc;background:var(--danger-soft);color:var(--danger)}.run-step-header{display:grid;grid-template-columns:31px minmax(0,1fr) auto 18px;align-items:center;gap:9px;width:100%;min-height:51px;padding:6px 7px;border:0;border-bottom:1px solid var(--line);background:transparent;cursor:pointer;text-align:left}.run-step-header:hover{background:#f1f3f2}.tool-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid #cfd9e0;border-radius:6px;background:#e5ebef;color:#3e6077}.tool-icon.green{border-color:#d1e4d8;background:#e3f0e8;color:#347052}.tool-icon.dark{border-color:#d8dde1;background:#e7eaed;color:#44515d}.tool-icon.purple{border-color:#ded5e4;background:#ece6f0;color:#685474}.run-step-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.run-step-copy strong{color:#282d31;font-size:12px;font-weight:600}.run-step-copy small{overflow:hidden;color:#596168;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.run-meta{color:#496957;font-size:9px;font-weight:500;white-space:nowrap}.run-meta.error{color:var(--danger)}.run-step-detail{margin:0 5px 11px;overflow:hidden;border:1px solid #d9dde1;border-radius:6px;background:#f6f7f8}.run-step-detail pre{max-height:190px;margin:0;padding:11px 13px;overflow:auto;color:#2f3945;font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap}.run-step-detail pre code{display:block}.run-step-detail pre code>span{display:inline-block;width:30px;color:#9aa4b0}.detail-grid{display:grid;grid-template-columns:1.2fr 1.4fr .6fr;gap:1px;background:var(--line)}.detail-grid>div{display:flex;min-width:0;flex-direction:column;gap:4px;padding:10px;background:#fff}.detail-grid span{color:var(--soft);font-size:10px}.detail-grid strong{overflow:hidden;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.root-cause{display:flex;align-items:center;gap:10px;min-height:54px;margin:10px 0 0 37px;padding:9px 12px;border:1px solid #d4d7d5;border-left:3px solid #956a35;border-radius:6px;background:#f5f6f5;color:#765326}.root-cause>span{display:flex;min-width:0;flex-direction:column;gap:2px}.root-cause small{color:#715a3c;font-size:10px;font-weight:550}.root-cause strong{color:#303334;font-size:13px;font-weight:600;line-height:1.65}.analysis-summary{margin:17px 0 8px 37px;color:#1b1f22;font-size:14px;font-weight:500;line-height:1.9;white-space:pre-wrap}.answer-sources{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:13px 0 0 37px;color:#596168;font-size:11px;font-weight:500}.answer-sources button{padding:0;border:0;background:transparent;color:#424a50;cursor:pointer;font-size:11px}.answer-sources button:hover{color:var(--primary);text-decoration:underline}.answer-sources i{width:3px;height:3px;border-radius:50%;background:#b1bac5}.answer-sources>small{color:var(--soft);font-size:9px}.citation-detail{display:grid;grid-template-columns:22px minmax(0,1fr) 24px;align-items:start;gap:7px;margin:10px 0 0 37px;padding:10px;border:1px solid var(--line);border-radius:6px;background:#f5f6f5;color:#41474c}.citation-detail>span{display:flex;min-width:0;flex-direction:column;gap:3px}.citation-detail strong{font-size:11px}.citation-detail small{color:var(--muted);font-size:10px;line-height:1.55}.citation-detail button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--soft);cursor:pointer}.citation-detail button:hover{background:#e9edf2;color:var(--text)}.new-chat-empty{display:flex;min-height:440px;align-items:center;justify-content:center;flex-direction:column;padding:50px 20px;text-align:center}.empty-logo{display:grid;place-items:center;width:44px;height:44px;margin-bottom:17px;border:0;border-radius:9px;background:#efefed;color:#55565b}.new-chat-empty h2{margin:0 0 8px;font-size:20px;font-weight:600}.new-chat-empty p{max-width:520px;margin:0;color:var(--muted);line-height:1.7}.starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,570px);margin-top:24px}.starter-grid button{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #e4e7e5;border-radius:7px;background:#f5f7f6;color:#596167;cursor:pointer;font-size:13px;text-align:left}.starter-grid button:hover{border-color:#d5dcda;background:#edf2ef;color:#26322d;box-shadow:var(--shadow-control)}.starter-grid button svg{transition:transform .13s var(--ease-out)}.starter-grid button:hover svg{transform:translate(2px,-2px)}.live-message{margin-top:28px}.live-message.user{display:flex;align-items:flex-end;flex-direction:column}.live-message-heading{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:var(--muted);font-size:11px}.live-message.user .live-message-heading{justify-content:flex-end;margin-right:3px}.live-message-heading strong{color:var(--text);font-size:12px;font-weight:650}.live-message-heading>small{color:#5f676e;font-size:10px}.live-message-heading time{color:var(--soft)}.assistant-mini{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#252a2e;color:#fff}.live-message-body{max-width:calc(100% - 37px);margin-left:37px;padding:4px 0;border:0;border-radius:0;background:transparent}.live-tool-runs{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 2px}.live-tool-runs>span{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:3px 7px;border:1px solid #d7e5dd;border-radius:5px;background:#f2f8f4;color:#4e705f}.live-tool-runs>span.error{border-color:#eed2d2;background:#fff6f6;color:#a14848}.live-tool-runs strong{font-size:9px;font-weight:600}.live-tool-runs small{color:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;opacity:.78}.live-message.user .live-message-body{max-width:76%;margin-left:0;padding:12px 15px;border:1px solid #d5d9d7;border-radius:8px;background:#eef0ef}.live-message-body p{margin:0;color:#1b1f22;font-size:14px;font-weight:500;line-height:1.82;white-space:pre-wrap}.thinking-row{display:flex;align-items:center;gap:5px;color:var(--muted)}.thinking-row>span{width:5px;height:5px;border-radius:50%;background:var(--primary);animation:pulse 1.1s infinite ease-in-out}.thinking-row>span:nth-child(2){animation-delay:.16s}.thinking-row>span:nth-child(3){margin-right:4px;animation-delay:.32s}@keyframes pulse{0%,70%,to{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}.workspace-composer{flex:0 0 auto;padding:12px 20px 10px;border-top:1px solid var(--line-strong);background:#fafbfafa;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.goal-progress-row,.plan-review-row{width:min(100%,820px);margin:0 auto 7px;border:1px solid #d8dad8;border-radius:7px;background:#fff;box-shadow:0 1px 3px #2020230a}.goal-progress-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto repeat(4,28px);min-height:48px;align-items:center;gap:4px;padding:5px 7px}.goal-progress-row.paused{border-color:#e0d7c4;background:#fffdf8}.goal-progress-row.completed{border-color:#cfe0d6;background:#f8fbf9}.goal-progress-icon,.plan-review-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#edf0ee;color:#58675f}.goal-progress-row.running .goal-progress-icon{background:#e5f0e9;color:#397052}.goal-progress-row.paused .goal-progress-icon{background:#f3ecdf;color:#8a682f}.goal-progress-row.completed .goal-progress-icon{background:#e5f0e9;color:#397052}.goal-progress-copy{display:flex;min-width:0;flex-direction:column;gap:3px;padding:2px 5px;overflow:hidden;border:0;background:transparent;color:var(--text);cursor:pointer;text-align:left}.goal-progress-copy>span:first-child{display:flex;align-items:center;gap:6px}.goal-progress-copy strong{font-size:10px;font-weight:600}.goal-progress-copy em{color:var(--soft);font-size:9px;font-style:normal}.goal-progress-copy p{margin:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.goal-progress-track{display:block;width:100%;height:2px;overflow:hidden;border-radius:2px;background:#e9ecea}.goal-progress-track i{display:block;height:100%;border-radius:inherit;background:#5e8b72;transition:width .18s ease}.goal-progress-count{min-width:24px;color:var(--soft);font-size:9px;text-align:center}.goal-progress-row>.icon-button{width:27px;height:27px}.plan-review-row{overflow:hidden}.plan-review-summary{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:7px;width:100%;min-height:46px;padding:5px 8px;border:0;background:transparent;color:var(--text);cursor:pointer;text-align:left}.plan-review-summary>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.plan-review-summary strong{font-size:11px;font-weight:600}.plan-review-summary small{color:var(--soft);font-size:9px}.plan-review-detail{max-height:188px;overflow-y:auto;padding:8px 12px 7px 48px;border-top:1px solid var(--line);background:#fafaf9}.plan-review-detail p{margin:0 0 7px;color:var(--muted);font-size:10px;line-height:1.55}.plan-review-detail ol{margin:0;padding-left:18px;color:#4e5055;font-size:10px;line-height:1.65}.plan-review-detail li+li{margin-top:3px}.plan-review-actions{display:flex;justify-content:flex-end;gap:5px;padding:7px 8px;border-top:1px solid var(--line)}.plan-review-actions button{display:inline-flex;height:29px;align-items:center;justify-content:center;gap:4px;padding:0 8px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);cursor:pointer;font-size:10px}.plan-review-actions button:first-child{width:29px;padding:0}.plan-review-actions button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.composer-shell{position:relative;width:min(100%,840px);margin:0 auto;border:1px solid #bfc6c3;border-radius:8px;background:#fff;box-shadow:0 3px 12px #1c222617;transition:border-color .15s var(--ease-out),box-shadow .15s var(--ease-out)}.slash-command-menu{position:absolute;z-index:50;bottom:calc(100% + 7px);left:0;width:304px;padding:5px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.slash-command-menu button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;width:100%;min-height:43px;padding:5px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;text-align:left}.slash-command-menu button:hover,.slash-command-menu button.active{background:#efefed;color:var(--text)}.slash-command-menu button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.slash-command-menu strong{font-size:11px;font-weight:600}.slash-command-menu small{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.composer-shell.focused{border-color:#8fa7b6;box-shadow:0 0 0 3px #526f861c,0 4px 14px #1f262a12}.composer-shell textarea{display:block;width:100%;min-height:56px;max-height:160px;padding:12px 14px 3px;resize:none;border:0;outline:0;color:var(--text);font-size:14px;line-height:1.62}.composer-shell textarea::placeholder{color:#8b969d}.composer-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:6px;min-height:40px;padding:2px 7px 6px}.composer-toolbar>div{display:flex;min-width:0;align-items:center;gap:2px}.composer-tools-scroll{flex-wrap:wrap}.attachment-row{display:flex;flex-wrap:wrap;gap:6px;padding:8px 9px 3px}.attachment-row>span{display:inline-flex;min-width:0;max-width:260px;height:30px;align-items:center;gap:5px;padding:0 5px 0 8px;border:1px solid var(--line);border-radius:5px;background:#f7f7f5;color:var(--muted)}.attachment-row strong{overflow:hidden;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.attachment-row small{flex:0 0 auto;color:var(--soft);font-size:10px}.attachment-row button{display:grid;flex:0 0 auto;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--soft);cursor:pointer}.attachment-row button:hover{background:#e7ebef;color:var(--text)}.add-content-anchor{position:relative;display:inline-flex}.add-content-button{color:#687178}.add-content-button.active{background:#e6ece9;color:#334b41}.add-content-button svg{transition:transform .15s var(--ease-out)}.add-content-button.active svg{transform:rotate(45deg)}.add-content-menu{position:absolute;z-index:45;bottom:36px;left:0;width:244px;padding:5px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.add-content-menu>button{display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:45px;padding:6px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;text-align:left}.add-content-menu>button:hover{background:#edf1ef;color:var(--text)}.add-content-menu>button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.add-content-menu strong{overflow:hidden;font-size:13px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.add-content-menu small{color:var(--soft);font-size:11px}.runtime-menu-anchor{position:relative;display:inline-flex}.runtime-selector{display:inline-flex;max-width:132px;height:30px;align-items:center;gap:5px;padding:0 8px;overflow:hidden;border:1px solid transparent;border-radius:6px;background:transparent;color:#50585e;cursor:pointer;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.runtime-selector:hover,.runtime-selector.active{border-color:#dde2e0;background:#edf1ef;color:var(--text)}.runtime-selector.full{border-color:#edc9c9;background:#fff7f7;color:#a94141}.model-selector{max-width:150px}.model-selector>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.model-selector>em{flex:0 0 auto;padding-left:5px;border-left:1px solid var(--line);color:#8a8d92;font-size:9px;font-style:normal}.runtime-icon-button{position:relative;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#50585e;cursor:pointer}.runtime-icon-button:hover,.runtime-icon-button.active{border-color:#dde2e0;background:#edf1ef;color:var(--text)}.runtime-icon-button>span{position:absolute;top:-5px;right:-4px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border:2px solid #fff;border-radius:8px;background:#51647b;color:#fff;font-size:8px}.runtime-menu{position:absolute;z-index:45;bottom:36px;left:0;width:276px;padding:5px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-menu)}.runtime-menu>button{display:grid;grid-template-columns:20px minmax(0,1fr) 17px;align-items:center;gap:7px;width:100%;min-height:44px;padding:6px 8px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;text-align:left}.runtime-menu>button:hover,.runtime-menu>button.active{background:#efefed;color:#2f3033}.runtime-menu>button:disabled{cursor:not-allowed;opacity:.58}.runtime-menu>button:disabled:hover{background:transparent;color:var(--muted)}.runtime-menu>button.danger{color:#a54848}.runtime-menu>button.danger:hover{background:#fff2f2}.runtime-menu>button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.runtime-menu strong{overflow:hidden;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.runtime-menu small{overflow:hidden;color:var(--soft);font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.runtime-menu .runtime-menu-link{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 5px 5px}.compact-runtime-menu{width:250px}.plugin-runtime-menu{right:0;left:auto;width:326px;max-height:min(410px,calc(100vh - 150px));overflow-y:auto}.plugin-runtime-menu>label{display:block;padding:6px 8px 7px;color:#7a8798;font-size:10px;font-weight:400}.model-runtime-menu{left:auto;right:0;width:282px;padding:10px}.model-runtime-menu>button.model-config-link{margin:-4px -4px 9px;width:calc(100% + 8px);border-bottom:1px solid var(--line);border-radius:5px 5px 0 0}.model-runtime-menu>label{display:block;margin:1px 0 6px;color:#526176;font-size:10px;font-weight:500}.runtime-option-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:11px}.runtime-option-grid:nth-of-type(2){grid-template-columns:repeat(4,minmax(0,1fr))}.runtime-option-grid button{height:29px;padding:0 4px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);cursor:pointer;font-size:9px}.runtime-option-grid button:hover{border-color:#cdcdca;background:#fafaf9}.runtime-option-grid button.active{border-color:#c8c8c5;background:#eeeeec;color:#303136}.model-runtime-menu>small{display:block;color:var(--soft);font-size:9px;line-height:1.55;white-space:normal}.send-button{display:grid;place-items:center;width:33px;height:33px;padding:0;border:0;border-radius:7px;background:var(--primary);color:#fff;cursor:pointer;box-shadow:0 2px 5px #26364033}.send-button:hover:not(:disabled){background:var(--primary-strong);box-shadow:0 3px 8px #2636403d}.workspace-composer>p{margin:7px 0 0;color:#626b71;font-size:10px;font-weight:500;text-align:center}.composer-status-line{display:flex;align-items:center;justify-content:center;gap:6px}.composer-status-line span{display:inline-flex;align-items:center;gap:4px}.composer-status-line i{width:3px;height:3px;border-radius:50%;background:#b5b7ba}.composer-error{display:flex;align-items:center;gap:6px;width:min(100%,820px);margin:0 auto 7px;color:var(--danger);font-size:11px}.composer-error button{margin-left:auto;padding:0;border:0;background:transparent;color:var(--primary);cursor:pointer;font-size:11px}.merchant-reply-panel{display:flex;min-width:0;min-height:0;flex-direction:column;border-left:1px solid var(--line-strong);background:#eef1ef}.reply-panel-header{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 12px 0 16px;border-bottom:1px solid var(--line);background:#fbfcfb}.reply-panel-header>div{display:flex;align-items:center;gap:8px}.reply-panel-header strong{font-size:15px;font-weight:650}.reply-panel-scroll{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:16px 20px 24px}.reply-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;color:var(--soft);font-size:10px}.reply-meta strong{display:inline-flex;align-items:center;gap:4px;color:var(--success);font-weight:600}.reply-meta strong.pending{color:var(--soft)}.merchant-reply-copy{color:#1c2124;font-size:14px;font-weight:500;line-height:1.88}.merchant-reply-copy p{margin:0 0 13px;white-space:pre-wrap}.reply-editor{width:100%;min-height:370px;padding:12px;resize:vertical;border:1px solid var(--line-strong);border-radius:6px;outline:0;background:#fff;color:var(--text);line-height:1.8}.reply-editor:focus{border-color:#aebbd3;box-shadow:0 0 0 3px #5277bd12}.reply-facts{margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.reply-facts h3{margin:0 0 11px;font-size:12px}.reply-facts dl{margin:0}.reply-facts dl>div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:9px;padding:6px 0;font-size:11px}.reply-facts dt{color:var(--soft)}.reply-facts dd{margin:0;overflow-wrap:anywhere;color:#41444b}.reply-audit{display:flex;align-items:flex-start;gap:8px;margin-top:22px;padding:10px;border:1px solid #dce3df;border-radius:7px;background:#eff4f1;color:#5f6964}.reply-audit>span{display:flex;flex-direction:column;gap:3px;font-size:10px;line-height:1.5}.reply-audit strong{color:#3e4b5c;font-size:11px}.reply-audit.demo{border-color:#e5d6b8;background:#fffaf0;color:#806f54}.reply-audit.demo strong{color:#75501c}.reply-empty{display:flex;min-height:400px;align-items:center;justify-content:center;flex-direction:column;color:var(--soft);text-align:center}.reply-empty strong{margin-top:10px;color:var(--text)}.reply-empty p{max-width:220px;margin:7px 0 0;font-size:11px;line-height:1.6}.reply-panel-footer{display:flex;gap:7px;padding:11px 13px;border-top:1px solid var(--line);background:#fff}.reply-panel-footer button,.settings-actions button,.project-dialog footer button{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:12px}.reply-panel-footer button{flex:1}.reply-panel-footer .resolve-button{flex:1.55;white-space:nowrap}.reply-panel-footer button:hover:not(:disabled),.settings-actions .secondary:hover,.project-dialog footer .secondary:hover{background:#f3f5f7}button.primary{border-color:var(--primary);background:var(--primary);color:#fff}button.primary:hover:not(:disabled){border-color:var(--primary-strong);background:var(--primary-strong)}.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:22px;background:#1c1c1e57;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.settings-dialog{display:flex;width:min(1040px,calc(100vw - 50px));height:min(760px,calc(100vh - 60px));overflow:hidden;flex-direction:column;border:1px solid #d9d9d6;border-radius:8px;background:#fff;box-shadow:0 24px 70px #1c1c1f2e}.settings-dialog-header{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 15px 0 19px;border-bottom:1px solid var(--line)}.settings-dialog-header>div{display:flex;align-items:center;gap:10px}.settings-dialog-header>div>span{display:flex;flex-direction:column;gap:2px}.settings-dialog-header strong{font-size:15px}.settings-dialog-header small{color:var(--soft);font-size:10px}.settings-dialog-body{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:0;flex:1}.settings-nav{display:flex;flex-direction:column;gap:3px;padding:13px 9px;border-right:1px solid var(--line-strong);background:#e9ecea}.settings-nav button{display:flex;align-items:center;gap:9px;height:36px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#4b5257;cursor:pointer;font-weight:500;text-align:left}.settings-nav button:hover{background:#eeeeec}.settings-nav button.active{background:#d5ddda;color:#1f2a31;font-weight:650;box-shadow:inset 2px 0 #536f83}.settings-content{min-width:0;overflow-y:auto;padding:25px 30px 21px}.settings-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:21px}.settings-title h2{margin:0 0 5px;font-size:18px;font-weight:650}.settings-title p{margin:0;color:#50575d;font-size:12px}.connection-badge{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;height:27px;padding:0 8px;border:1px solid var(--line);border-radius:5px;color:var(--soft);font-size:10px}.connection-badge>span{width:7px;height:7px;border-radius:50%;background:#aab4c0}.connection-badge.connected{border-color:#cfe7da;background:#f5fbf8;color:var(--success)}.connection-badge.connected>span{background:var(--success)}.provider-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}.provider-presets>button{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:9px;min-height:58px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;text-align:left}.provider-presets>button:hover{border-color:#d2d2cf;background:#fafaf9}.provider-presets>button.active{border-color:#aebdca;background:#e9eff4;color:#273b4c;box-shadow:inset 0 0 0 1px #58749314}.provider-presets>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.provider-presets strong{font-size:12px}.provider-presets small{color:var(--soft);font-size:10px}.preset-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px}.preset-mark.openai{background:#eeeeec;color:#56575b}.preset-mark.deepseek{background:#e9f6f3;color:#287f70}.preset-mark.compatible{background:#f0f1f2;color:#686d73}.provider-library{margin-bottom:13px;border:1px solid var(--line);border-radius:7px;background:#fafaf9}.provider-library-heading{display:flex;min-height:43px;align-items:center;justify-content:space-between;padding:7px 9px 7px 12px;border-bottom:1px solid var(--line)}.provider-library-heading>span{display:flex;align-items:baseline;gap:8px}.provider-library-heading strong{font-size:11px;font-weight:500}.provider-library-heading small{color:var(--soft);font-size:9px}.provider-library-heading>button{display:inline-flex;height:28px;align-items:center;gap:5px;padding:0 9px;border:1px solid #d9dcda;border-radius:5px;background:#fff;color:#4f5e69;cursor:pointer;font-size:10px}.provider-library-heading>button:hover{background:#eef1ef;color:var(--text)}.provider-profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:6px;background:#e9e9e6}.provider-profile-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 30px;overflow:hidden;border:1px solid transparent;border-radius:6px;background:#fff}.provider-profile-row.active{border-color:#9db1c1;background:#edf2f5;box-shadow:inset 2px 0 #607b97}.provider-profile-main{display:grid;min-width:0;min-height:52px;grid-template-columns:30px minmax(0,1fr) auto 17px;align-items:center;gap:8px;padding:6px 8px;border:0;background:transparent;color:var(--text);cursor:pointer;text-align:left}.provider-profile-main>span:nth-child(2),.provider-profile-row.new>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.provider-profile-main strong,.provider-profile-row.new strong{overflow:hidden;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.provider-profile-main small,.provider-profile-row.new small{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.provider-profile-main em{padding:3px 5px;border-radius:4px;background:#edf4ef;color:#47705b;font-size:8px;font-style:normal;white-space:nowrap}.provider-profile-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#e8ecef;color:#465867;font-size:11px;font-weight:600}.provider-profile-delete{display:grid;place-items:center;width:30px;border:0;border-left:1px solid transparent;background:transparent;color:#a1a5a8;cursor:pointer}.provider-profile-delete:hover{border-left-color:#ead7d7;background:#fff3f3;color:var(--danger)}.provider-profile-row.new{min-height:52px;grid-template-columns:30px minmax(0,1fr) 17px;align-items:center;gap:8px;padding:6px 8px;border-color:#9db1c1;color:var(--text);cursor:pointer;text-align:left}.project-model-default{display:flex;min-height:55px;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:8px 11px;border:1px solid #dbe4df;border-radius:7px;background:#f4f8f6}.project-model-default>span{display:flex;min-width:0;align-items:center;gap:9px;color:#4f675b}.project-model-default>span>span{display:flex;min-width:0;flex-direction:column;gap:2px}.project-model-default strong{font-size:11px;font-weight:500}.project-model-default small{color:#718078;font-size:9px}.project-model-default select{width:min(330px,48%);height:34px;border:1px solid #cedbd4;border-radius:6px;background:#fff;color:var(--text);padding:0 9px;font-size:10px;outline:0}.provider-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 11px}.provider-editor-heading>span{display:flex;min-width:0;flex-direction:column;gap:2px}.provider-editor-heading strong{font-size:13px;font-weight:500}.provider-editor-heading small{overflow:hidden;color:var(--soft);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.provider-editor-heading .secondary.compact{display:inline-flex;flex:0 0 auto;height:30px;align-items:center;gap:5px;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#52616d;cursor:pointer;font-size:9px}.provider-editor-heading .secondary.compact:hover{background:#eef1ef}.runtime-selector.model-selector.locked{border-color:#d9e0dc;background:#f1f4f2;color:#52645b}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.field{display:flex;min-width:0;flex-direction:column;gap:6px;color:#3f454a;font-size:11px;font-weight:550}.field.full{grid-column:1 / -1}.field input,.field textarea,.field select{width:100%;border:1px solid #dcdcd9;border-radius:7px;background:#fdfdfc;color:var(--text);font-weight:400;outline:0}.field input,.field select{height:37px;padding:0 10px}.field textarea{padding:9px 10px;resize:vertical;line-height:1.5}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a8b7d2;box-shadow:0 0 0 3px #5277bd12}.field>small{display:inline-flex;align-items:center;gap:4px;color:#626a70;font-size:10px;font-weight:400}.model-runtime-note{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px;padding:10px;border:1px solid #e4e4e1;border-radius:7px;background:#f7f7f5;color:#606166}.model-runtime-note>span{display:flex;flex-direction:column;gap:3px}.model-runtime-note strong{color:#353b3f;font-size:10px;font-weight:600}.model-runtime-note small{color:#575f65;font-size:9px;font-weight:450;line-height:1.55}.secret-input{position:relative;display:block}.secret-input input{padding-right:40px}.secret-input button{position:absolute;top:3px;right:4px;display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--soft);cursor:pointer}.secret-input button:hover{background:#eeeeec;color:var(--text)}.model-picker-input{display:grid;grid-template-columns:minmax(0,1fr) auto;overflow:hidden;border:1px solid #dcdcd9;border-radius:7px;background:#fdfdfc}.field .model-picker-input input{min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none}.model-picker-input:focus-within{border-color:#a8b7d2;box-shadow:0 0 0 3px #5277bd12}.model-picker-input button{display:inline-flex;min-width:92px;height:36px;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:0;border-left:1px solid var(--line);background:#f5f6f5;color:#53616d;cursor:pointer;font-size:10px}.model-picker-input button:hover:not(:disabled){background:#ebefed;color:var(--text)}.model-picker-input button:disabled{cursor:wait;opacity:.65}.field>.model-list-result.success{color:var(--success)}.field>.model-list-result.error{color:var(--danger)}.copyable-field{display:grid;grid-template-columns:minmax(0,1fr) auto auto;overflow:hidden;border:1px solid #dcdcd9;border-radius:7px;background:#fdfdfc}.copyable-field input{min-width:0;height:36px;border:0;background:transparent}.copyable-field button{display:grid;place-items:center;width:34px;height:36px;padding:0;border:0;border-left:1px solid var(--line);background:transparent;color:var(--soft);cursor:pointer}.copyable-field button:hover{background:#eef1ef;color:var(--text)}.image-provider-field{margin-top:14px}.api-endpoint-list{overflow:hidden;margin-top:16px;border:1px solid var(--line);border-radius:7px}.api-endpoint-list>div{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1fr);align-items:center;gap:14px;min-height:45px;padding:8px 12px;border-bottom:1px solid var(--line)}.api-endpoint-list>div:last-child{border-bottom:0}.api-endpoint-list code{color:#3d5362;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.api-endpoint-list span{color:var(--muted);font-size:11px}.api-actions{margin-top:auto}.update-settings-content{display:flex;flex-direction:column}.update-version-badge{display:inline-flex;flex:0 0 auto;height:27px;align-items:center;padding:0 9px;border:1px solid #ccd2d0;border-radius:5px;background:#f7f8f7;color:#454d52;font-size:10px;font-weight:600}.update-status-panel{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:86px;padding:14px 16px;border:1px solid #d5dad8;border-radius:7px;background:#f6f8f7}.update-status-panel.active{border-color:#c7d4dc;background:#f1f6f8}.update-status-panel.success{border-color:#c8ddd2;background:#f1f8f4}.update-status-panel.warning{border-color:#ded2b9;background:#fbf8f0}.update-status-panel.error{border-color:#e4cccc;background:#fbf4f4}.update-status-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:7px;background:#e2e8e5;color:#455b51}.update-status-panel.active .update-status-icon{background:#dfeaf0;color:#476a7e}.update-status-panel.success .update-status-icon{background:#dcece4;color:#347258}.update-status-panel.warning .update-status-icon{background:#eee5d1;color:#806934}.update-status-panel.error .update-status-icon{background:#f0dddd;color:#9a4b4b}.update-status-panel>div{display:flex;min-width:0;flex-direction:column;gap:4px}.update-status-panel strong{color:#22272a;font-size:13px;font-weight:650}.update-status-panel p{margin:0;color:#4f585e;font-size:11px;line-height:1.55}.update-status-panel small{color:#995050;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.update-progress-panel{display:flex;flex-direction:column;gap:7px;margin-top:12px;padding:11px 13px;border:1px solid #d8dedd;border-radius:7px;background:#fbfcfb}.update-progress-panel>div{display:flex;align-items:center;justify-content:space-between;color:#434b50;font-size:11px}.update-progress-panel>div strong{color:#28363d;font-size:11px}.update-progress-panel>small{color:#646e74;font-size:9px}.update-progress-track{display:block;height:6px;overflow:hidden;border-radius:3px;background:#dfe4e2}.update-progress-track i{display:block;height:100%;border-radius:inherit;background:#547789;transition:width .18s ease}.update-release-panel{margin-top:12px;overflow:hidden;border:1px solid #d8dcda;border-radius:7px;background:#fff}.update-release-panel>header{display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #e1e4e2;background:#f7f8f7}.update-release-panel>header>span{display:inline-flex;align-items:center;gap:7px;color:#3e554a}.update-release-panel>header strong{color:#262c2f;font-size:11px;font-weight:600}.update-release-panel>header small{color:#687078;font-size:9px}.update-release-panel>p{margin:11px 13px 0;color:#30373b;font-size:11px;font-weight:600}.update-release-notes{max-height:105px;overflow-y:auto;padding:10px 13px 12px;color:#4d565c;font-size:10px;line-height:1.65;white-space:pre-wrap}.update-release-notes.empty{color:#737b80}.update-preferences{margin-top:16px;border-top:1px solid #d9dddb;border-bottom:1px solid #d9dddb}.update-preference-row{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:62px;align-items:center;gap:20px;border-bottom:1px solid #e2e5e3;cursor:pointer}.update-preference-row:last-child{border-bottom:0}.update-preference-row>span:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.update-preference-row strong{color:#292f32;font-size:11px;font-weight:600}.update-preference-row small{color:#5c666c;font-size:10px;line-height:1.45}.update-preference-row select{width:112px;height:32px;padding:0 8px;border:1px solid #ccd2d0;border-radius:6px;outline:0;background:#fff;color:#343a3e;font-size:10px;cursor:pointer}.update-preference-row select:focus-visible{border-color:#91a8b7;box-shadow:0 0 0 3px #5277bd14}.update-switch{position:relative;display:block;width:34px;height:20px}.update-switch input{position:absolute;width:1px;height:1px;opacity:0}.update-switch i{position:absolute;inset:0;border:1px solid #b8bfbc;border-radius:10px;background:#c9cecc;transition:background .13s ease,border-color .13s ease}.update-switch i:after{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #191f1c3d;content:"";transition:transform .13s ease}.update-switch input:checked+i{border-color:#58786a;background:#58786a}.update-switch input:checked+i:after{transform:translate(14px)}.update-switch input:focus-visible+i{box-shadow:0 0 0 3px #5277bd24}.update-footnote{display:flex;align-items:center;gap:7px;margin-top:13px;color:#59666d;font-size:9px}.update-footnote svg{color:#49705f}.update-actions>span{color:#687078;font-size:9px}.settings-actions button:disabled{cursor:not-allowed;opacity:.5}.protocol-field{margin:19px 0 0;padding:0;border:0}.protocol-field legend{margin-bottom:7px;color:#54555a;font-size:11px;font-weight:400}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px;border:1px solid var(--line);border-radius:7px;background:#f2f2f0}.segmented-control button{display:flex;min-height:46px;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:5px 10px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;text-align:left}.segmented-control button.active{background:#fff;color:#303136;box-shadow:0 1px 3px #20202314}.segmented-control button:disabled{cursor:not-allowed;opacity:.45}.segmented-control strong{font-size:11px}.segmented-control small{color:var(--soft);font-size:9px}.test-result{display:flex;align-items:flex-start;gap:8px;margin-top:14px;padding:9px 10px;border:1px solid;border-radius:6px}.test-result.success{border-color:#cce7d9;background:#f2faf6;color:var(--success)}.test-result.error{border-color:#f0cccc;background:#fff5f5;color:var(--danger)}.test-result>span{display:flex;flex-direction:column;gap:2px}.test-result strong{font-size:11px}.test-result small{color:inherit;opacity:.8;font-size:10px}.settings-actions{position:sticky;z-index:2;bottom:-21px;display:flex;align-items:center;justify-content:space-between;margin:21px -30px -21px;padding:13px 30px;border-top:1px solid var(--line);background:#fffffffa}.settings-actions>div{display:flex;gap:7px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:860px){.provider-profile-list{grid-template-columns:minmax(0,1fr)}.project-model-default{align-items:stretch;flex-direction:column}.project-model-default select{width:100%}.update-preference-row{gap:12px}}.control-center{width:min(980px,calc(100vw - 50px))}.control-center .settings-dialog-body{grid-template-columns:190px minmax(0,1fr)}.control-content{padding-bottom:26px}.compact-command{display:inline-flex;flex:0 0 auto;height:32px;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#68696e;cursor:pointer;font-size:11px}.compact-command:hover:not(:disabled){border-color:#d1d1ce;background:#f7f7f5;color:var(--text)}.runtime-mode-field,.permission-field{margin:0 0 17px;padding:0;border:0}.runtime-mode-field legend,.permission-field legend{margin-bottom:7px;color:#536176;font-size:10px;font-weight:500}.mode-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mode-choice-grid>button{display:grid;grid-template-columns:24px minmax(0,1fr) 18px;min-height:56px;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#65666b;cursor:pointer;text-align:left}.mode-choice-grid>button:hover{border-color:#d1d1ce;background:#fafaf9}.mode-choice-grid>button.active{border-color:#b2c0cc;background:#e9eff4;color:#273b4c}.mode-choice-grid>button>span{display:flex;min-width:0;flex-direction:column;gap:3px}.mode-choice-grid strong{font-size:12px;font-weight:500}.mode-choice-grid small{color:var(--soft);font-size:10px}.mode-goal-note{display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:7px;margin:9px 0 0;padding:8px 9px;border:1px solid var(--line);border-radius:6px;background:#fafaf9;color:#657066}.mode-goal-note>span{display:flex;flex-direction:column;gap:2px}.mode-goal-note strong{color:#4b544e;font-size:10px;font-weight:500}.mode-goal-note small{color:var(--soft);font-size:9px}.agent-config-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:270px;overflow:hidden;border:1px solid var(--line);border-radius:7px}.agent-list{padding:5px;border-right:1px solid var(--line);background:#f2f3f4}.agent-list>button{display:grid;grid-template-columns:31px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:58px;padding:7px 8px;border:0;border-radius:5px;background:transparent;color:#516075;cursor:pointer;text-align:left}.agent-list>button:hover{background:#eeeeec}.agent-list>button.active{background:#e2e8ed;color:#24323d;box-shadow:inset 2px 0 #607b97}.agent-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#ececea;color:#74757a}.agent-list>button.active .agent-avatar{background:#d7e0e8;color:#42596e}.agent-list>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.agent-list strong,.agent-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-list strong{font-size:12px;font-weight:500}.agent-list small{color:var(--soft);font-size:10px}.agent-instructions{display:flex;min-width:0;flex-direction:column;gap:10px;padding:15px}.agent-instructions>span{display:flex;flex-direction:column;gap:3px}.agent-instructions strong{font-size:12px;font-weight:500}.agent-instructions small{color:var(--soft);font-size:10px}.agent-instructions textarea{min-height:190px;padding:10px;resize:vertical;border:1px solid #dcdcd9;border-radius:7px;outline:0;color:#45464b;font-size:12px;line-height:1.7}.agent-instructions textarea:focus{border-color:#a8b7d2;box-shadow:0 0 0 3px #5277bd12}.inline-editor{margin-top:13px;overflow:hidden;border:1px solid var(--line);border-radius:7px}.inline-editor>header{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 8px 0 13px;border-bottom:1px solid var(--line);background:#fafaf9}.inline-editor>header>span{display:flex;flex-direction:column;gap:2px}.inline-editor>header strong{font-size:11px;font-weight:500}.inline-editor>header small{color:var(--soft);font-size:9px}.inline-editor .form-grid{padding:13px}.inline-editor>footer{display:flex;min-height:48px;align-items:center;justify-content:flex-end;gap:10px;padding:7px 12px;border-top:1px solid var(--line);background:#fafbfc}.inline-editor>footer>span{margin-right:auto;color:var(--danger);font-size:10px}.inline-editor>footer button{display:inline-flex;height:32px;align-items:center;gap:5px;padding:0 9px;border-radius:5px;cursor:pointer;font-size:10px}.inline-editor>footer button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.control-list{overflow:hidden;border:1px solid var(--line);border-radius:7px}.control-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 38px;min-height:68px;align-items:center;gap:10px;padding:8px 11px;border-bottom:1px solid var(--line)}.control-row:last-child{border-bottom:0}.control-row:has(.remove-control){grid-template-columns:38px minmax(0,1fr) auto 38px 27px}.control-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#eff0f0;color:#686d73}.control-icon.skill{background:#edf3f0;color:#427060}.control-icon.local{background:#f2eff3;color:#756d7f}.control-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.control-copy strong{font-size:12px;font-weight:500}.control-copy small{color:var(--muted);font-size:10px;line-height:1.5}.control-copy em{overflow:hidden;color:var(--soft);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.row-status{padding:3px 6px;border-radius:4px;background:#f0f2f4;color:#7b8795;font-size:9px;white-space:nowrap}.row-status.ready{background:var(--success-soft);color:var(--success)}.row-status.local{background:#f1eff9;color:#6d58a8}.row-status.required{background:#f3eee2;color:#805d25}.switch-control{display:flex;width:34px;height:20px;align-items:center;padding:2px;border:0;border-radius:10px;background:#cbd3dc;cursor:pointer;transition:background .15s ease}.switch-control>span{width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #1e283733;transition:transform .15s ease}.switch-control.on{background:#55565b}.switch-control.on>span{transform:translate(14px)}.switch-control:disabled{cursor:not-allowed;opacity:.52}.remove-control{width:27px;height:27px;color:#8b96a4}.remove-control:hover{background:var(--danger-soft);color:var(--danger)}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.permission-grid>button{display:grid;grid-template-columns:23px minmax(0,1fr) 17px;min-height:73px;align-items:start;gap:7px;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#65666b;cursor:pointer;text-align:left}.permission-grid>button:hover{border-color:#d1d1ce;background:#fafaf9}.permission-grid>button.active{border-color:#b2c0cc;background:#e9eff4;color:#273b4c}.permission-grid>button.danger.active{border-color:#e4a5a5;background:#fff6f6;color:#a23e3e}.permission-grid>button>span{display:flex;min-width:0;flex-direction:column;gap:4px}.permission-grid strong{font-size:12px;font-weight:500}.permission-grid small{color:var(--soft);font-size:10px;line-height:1.45}.tool-list{margin-top:15px}.warning-boundary{border-color:#eed7b8;background:#fffaf2;color:#9a661d}.control-center-footer{display:flex;min-height:56px;align-items:center;justify-content:space-between;padding:0 17px;border-top:1px solid var(--line);background:#fafbfc}.control-center-footer>span{display:inline-flex;align-items:center;gap:6px;color:#718095;font-size:10px}.control-center-footer>div{display:flex;gap:7px}.control-center-footer button{display:inline-flex;height:34px;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:11px}.control-center-footer button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.nested-confirm-backdrop{position:fixed;z-index:145;inset:0;display:grid;place-items:center;background:#19212c66}.connection-list,.security-list{overflow:hidden;border:1px solid var(--line);border-radius:7px}.connection-list>div{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:8px 13px;border-bottom:1px solid var(--line)}.connection-list>div.selected{background:#f4f4f2}.connection-list>div:last-child,.security-list>div:last-child{border-bottom:0}.connection-list>div>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.connection-list strong{font-size:12px}.connection-list small{overflow:hidden;color:var(--soft);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.connection-list em{padding:3px 6px;border-radius:4px;font-size:9px;font-style:normal}.connection-list em.ready{background:var(--success-soft);color:var(--success)}.connection-action{display:inline-flex;height:28px;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;color:#68696e;cursor:pointer;font-size:10px}.connection-action:hover:not(:disabled){border-color:#d1d1ce;background:#f4f4f2;color:var(--text)}.connection-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px}.connection-icon.blue{background:#eef5fc;color:#437cb9}.connection-icon.indigo{background:#f4f1fb;color:#7862ae}.connection-icon.green{background:#edf7f2;color:#3d886a}.connection-icon.dark{background:#eef1f4;color:#596879}.connection-editor{margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.connection-editor>header{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 10px 0 14px;border-bottom:1px solid var(--line);background:#fafaf9}.connection-editor>header>div{display:flex;align-items:center;gap:9px;color:var(--muted)}.connection-editor>header span{display:flex;flex-direction:column;gap:2px}.connection-editor>header strong{color:var(--text);font-size:12px}.connection-editor>header small{color:var(--soft);font-size:9px}.connection-editor .form-grid{padding:15px}.form-grid.compact{gap:12px}.connection-checkbox{display:flex;align-items:center;gap:7px;color:#4e5c70;font-size:10px}.connection-checkbox.full{grid-column:1 / -1}.connection-checkbox input{width:15px;height:15px;accent-color:var(--primary)}.connection-editor-actions{display:flex;justify-content:flex-end;gap:7px;padding:10px 14px;border-top:1px solid var(--line);background:#fafbfc}.connection-editor-actions button{display:inline-flex;height:32px;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:11px}.connection-editor-actions button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.project-boundary{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:12px;border:1px solid #dbe5ed;border-radius:7px;background:#f6f9fb;color:#49705f}.project-boundary>span{display:flex;flex-direction:column;gap:3px}.project-boundary strong{font-size:11px}.project-boundary p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.security-list>div{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:72px;padding:10px 13px;border-bottom:1px solid var(--line)}.security-list>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:#eef4fb;color:#2f6eaf}.security-list p{display:flex;flex-direction:column;gap:4px;margin:0}.security-list strong{font-size:12px}.security-list small{color:var(--muted);font-size:10px;line-height:1.5}.security-list>div>svg{color:var(--success)}.project-dialog{width:min(500px,calc(100vw - 44px));overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 24px 70px #1c1c1f2e}.project-dialog>header{display:flex;align-items:center;justify-content:space-between;min-height:60px;padding:0 14px 0 18px;border-bottom:1px solid var(--line)}.project-dialog>header>div{display:flex;align-items:center;gap:10px}.project-dialog>header span{display:flex;flex-direction:column;gap:2px}.project-dialog>header strong{font-size:15px}.project-dialog>header small{color:var(--soft);font-size:10px}.project-dialog-content{display:flex;flex-direction:column;gap:15px;padding:20px}.new-project-note{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #dce5ed;border-radius:6px;background:#f7f9fb;color:#52657c}.new-project-note>span{display:flex;flex-direction:column;gap:3px}.new-project-note strong{font-size:11px}.new-project-note small{color:var(--muted);font-size:10px;line-height:1.5}.project-dialog footer{display:flex;justify-content:flex-end;gap:7px;padding:11px 14px;border-top:1px solid var(--line);background:#fafbfc}.rename-conversation-dialog{width:min(460px,calc(100vw - 44px));overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 24px 70px #1c1c1f2e}.rename-conversation-dialog>header{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 14px 0 18px;border-bottom:1px solid var(--line)}.rename-conversation-dialog>header>div{display:flex;align-items:center;gap:10px}.rename-conversation-dialog>header span{display:flex;flex-direction:column;gap:2px}.rename-conversation-dialog>header strong{font-size:14px}.rename-conversation-dialog>header small{color:var(--soft);font-size:10px}.rename-conversation-content{padding:20px}.rename-conversation-dialog footer{display:flex;justify-content:flex-end;gap:7px;padding:11px 14px;border-top:1px solid var(--line);background:#fafbfc}.rename-conversation-dialog footer button{display:inline-flex;height:34px;align-items:center;justify-content:center;padding:0 13px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:12px}.confirm-dialog{width:min(430px,calc(100vw - 44px));overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 24px 70px #1c1c1f2e}.confirm-dialog>header{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:21px 21px 14px}.confirm-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:7px;background:var(--warning-soft);color:var(--warning)}.confirm-dialog h2{margin:1px 0 6px;font-size:16px}.confirm-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.confirm-note{display:flex;align-items:center;gap:8px;margin:0 21px 19px 73px;color:#667386;font-size:10px}.confirm-dialog footer{display:flex;justify-content:flex-end;gap:7px;padding:11px 14px;border-top:1px solid var(--line);background:#fafbfc}.confirm-dialog footer button{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:12px}.confirm-dialog footer button.secondary:hover{background:#f1f3f5}.confirm-dialog footer button.danger{border-color:#c94242;background:#c94242;color:#fff}.confirm-dialog footer button.danger:hover{border-color:#b73535;background:#b73535}.tool-approval-backdrop{z-index:145}.tool-approval-dialog{width:min(620px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 54px));overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 26px 80px #1c1c1f33}.tool-approval-dialog>header{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:20px 21px 15px;border-bottom:1px solid var(--line)}.tool-approval-dialog h2{margin:1px 0 5px;font-size:16px;font-weight:600}.tool-approval-dialog p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.tool-approval-list{max-height:min(430px,52vh);overflow-y:auto;padding:10px 14px}.tool-approval-list article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:11px 8px;border-bottom:1px solid var(--line)}.tool-approval-list article:last-child{border-bottom:0}.tool-approval-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#edf1ef;color:#4b6258}.tool-approval-list article>span:last-child{display:flex;min-width:0;flex-direction:column;gap:5px}.tool-approval-list strong{font-size:13px;font-weight:600}.tool-approval-list code{display:block;max-height:120px;padding:8px 9px;overflow:auto;border:1px solid #dde2e0;border-radius:6px;background:#f6f8f7;color:#303a3f;font:11px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.tool-approval-list small{display:inline-flex;align-items:center;gap:5px;color:#8a6428;font-size:11px}.tool-approval-dialog>footer{display:flex;justify-content:flex-end;gap:7px;padding:11px 14px;border-top:1px solid var(--line);background:#fafbfa}.tool-approval-dialog>footer button{display:inline-flex;height:34px;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:12px}.tool-approval-dialog>footer button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.capability-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.knowledge-draft-dialog{display:flex;width:min(760px,calc(100vw - 50px));max-height:min(820px,calc(100vh - 56px));overflow:hidden;flex-direction:column;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 26px 80px #1c1c1f30}.knowledge-draft-dialog>header{display:flex;min-height:62px;align-items:center;justify-content:space-between;padding:0 15px 0 19px;border-bottom:1px solid var(--line)}.knowledge-draft-dialog>header>div{display:flex;align-items:center;gap:10px}.knowledge-draft-dialog>header>div>span:last-child{display:flex;flex-direction:column;gap:2px}.knowledge-draft-dialog>header strong{font-size:15px}.knowledge-draft-dialog>header small{color:var(--soft);font-size:10px}.knowledge-dialog-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:#edf7f2;color:var(--success)}.knowledge-draft-content{min-height:0;overflow-y:auto;padding:20px 24px}.knowledge-verified-note{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;padding:11px 12px;border:1px solid #d5e8df;border-radius:6px;background:#f5faf7;color:#3b7a61}.knowledge-verified-note>span{display:flex;flex-direction:column;gap:3px}.knowledge-verified-note strong{font-size:11px}.knowledge-verified-note small{color:#688174;font-size:10px;line-height:1.5}.knowledge-evidence-preview{display:flex;flex-direction:column;gap:7px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.knowledge-evidence-preview>strong{color:#4b596c;font-size:11px}.knowledge-evidence-preview>span{display:flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:10px;line-height:1.5}.knowledge-evidence-preview svg{flex:0 0 auto;margin-top:1px;color:var(--muted)}.knowledge-draft-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--line);background:#fafbfc}.knowledge-draft-dialog>footer button{display:inline-flex;height:35px;align-items:center;gap:6px;padding:0 13px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;cursor:pointer;font-size:11px}.knowledge-draft-dialog>footer button.primary{border-color:var(--primary);background:var(--primary);color:#fff}.knowledge-draft-dialog>footer button.primary:hover:not(:disabled){border-color:var(--primary-strong);background:var(--primary-strong)}.knowledge-center{display:flex;width:min(1000px,calc(100vw - 50px));height:min(720px,calc(100vh - 58px));overflow:hidden;flex-direction:column;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 26px 80px #1c1c1f30}.knowledge-toolbar{display:flex;min-height:57px;align-items:center;justify-content:space-between;gap:18px;padding:10px 17px;border-bottom:1px solid var(--line);background:#fafaf9}.knowledge-toolbar label{display:grid;width:min(440px,60%);height:36px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;color:var(--soft)}.knowledge-toolbar input{min-width:0;border:0;outline:0;color:var(--text);font-size:11px}.knowledge-toolbar>span{display:inline-flex;align-items:center;gap:5px;color:var(--success);font-size:10px}.knowledge-center-body{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:0;flex:1}.knowledge-list{min-height:0;overflow-y:auto;border-right:1px solid var(--line);background:#f2f3f4}.knowledge-list>button{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:13px 12px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer;text-align:left}.knowledge-list>button:hover{background:#eeeeec}.knowledge-list>button.active{background:#e2e8ed;color:#24323d;box-shadow:inset 2px 0 #607b97}.knowledge-list>button>span:first-child{display:flex;min-width:0;flex-direction:column;gap:5px}.knowledge-list strong{overflow:hidden;font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.knowledge-list small{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.knowledge-tags{display:flex;max-width:72px;flex-wrap:wrap;justify-content:flex-end;gap:4px}.knowledge-tags em{padding:2px 5px;border-radius:4px;background:#eef1f4;color:#667386;font-size:8px;font-style:normal}.knowledge-detail{min-width:0;overflow-y:auto;padding:25px 29px 30px}.knowledge-detail>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid var(--line)}.knowledge-detail>header h2{margin:9px 0 0;font-size:18px;font-weight:600;letter-spacing:0}.knowledge-detail>header code{color:var(--soft);font-size:9px}.verified-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:4px;background:var(--success-soft);color:var(--success);font-size:9px}.knowledge-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:15px 0;border-bottom:1px solid var(--line)}.knowledge-facts>div{display:flex;flex-direction:column;gap:4px}.knowledge-facts dt{color:var(--soft);font-size:9px}.knowledge-facts dd{margin:0;color:#55565b;font-size:11px}.knowledge-detail>section{padding-top:18px}.knowledge-detail h3{margin:0 0 7px;color:#4c4d51;font-size:11px}.knowledge-detail p{margin:0;color:#5e5f64;font-size:11px;line-height:1.75;white-space:pre-wrap}.knowledge-detail ul{margin:0;padding-left:18px;color:var(--muted);font-size:10px;line-height:1.7}.knowledge-detail>footer{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.knowledge-detail>footer span{padding:3px 6px;border-radius:4px;background:#efefed;color:#68696e;font-size:9px}.knowledge-center-empty{display:flex;min-height:0;flex:1;align-items:center;justify-content:center;flex-direction:column;color:#8b97a5;text-align:center}.knowledge-center-empty strong{margin-top:10px;color:#465367;font-size:13px}.knowledge-center-empty p{margin:6px 0 0;color:var(--soft);font-size:10px}.command-backdrop{position:fixed;z-index:120;inset:0;display:flex;align-items:flex-start;justify-content:center;padding-top:min(14vh,120px);background:#1c1c1e4d;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.command-palette{width:min(660px,calc(100vw - 50px));overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#fff;box-shadow:0 24px 75px #1c1c1f33}.command-search{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;height:56px;padding:0 15px;border-bottom:1px solid var(--line);color:var(--muted)}.command-search input{width:100%;border:0;outline:0;color:var(--text);font-size:14px}.command-search input::placeholder{color:#9aa4b0}.command-search kbd,.command-palette footer kbd{padding:2px 5px;border:1px solid #d5dce4;border-radius:4px;background:#f7f8fa;color:#8792a1;font-family:inherit;font-size:9px}.command-results{min-height:180px;max-height:min(480px,58vh);overflow-y:auto;padding:7px}.command-group-label{height:28px;padding:7px 8px 0;color:var(--soft);font-size:10px;font-weight:500}.command-results>button{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;width:100%;min-height:48px;padding:5px 9px;border:0;border-radius:6px;background:transparent;cursor:pointer;text-align:left}.command-results>button:hover,.command-results>button:focus-visible,.command-results>button.selected{background:#efefed;outline:0}.command-result-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#efefed;color:#66676c}.command-result-icon.project{background:#f0f2f5;color:#4f5f74}.command-results>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.command-results strong,.command-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-results strong{font-size:12px}.command-results small{color:var(--muted);font-size:10px}.command-results>button>svg{color:var(--soft)}.command-empty{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;color:var(--soft);text-align:center}.command-empty strong{margin-top:9px;color:var(--text);font-size:12px}.command-empty span{margin-top:5px;font-size:10px}.command-palette footer{display:flex;align-items:center;gap:16px;min-height:36px;padding:0 14px;border-top:1px solid var(--line);background:#fafbfc;color:var(--soft);font-size:9px}.command-palette footer span{display:inline-flex;align-items:center;gap:4px}.project-add-menu,.project-actions-menu,.conversation-actions-menu,.workspace-menu,.knowledge-info-popover,.goal-popover,.slash-command-menu,.add-content-menu,.runtime-menu{transform-origin:bottom left;animation:menu-enter .13s var(--ease-out)}.workspace-menu,.knowledge-info-popover,.goal-popover{transform-origin:top right}.run-step-detail,.plan-review-detail{animation:detail-enter .15s var(--ease-out)}.disclosure-chevron{color:var(--soft);transition:transform .15s var(--ease-out),color .13s var(--ease-out)}.disclosure-chevron.expanded{transform:rotate(90deg);color:var(--text)}.icon-button.bordered.active{border-color:#cbd6d1;background:#e5ece8;color:#304a40}.graph-info-button.active{background:#e8edeb;color:var(--text)}@keyframes menu-enter{0%{opacity:0;transform:translateY(4px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes detail-enter{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.app-toast{position:fixed;z-index:200;right:22px;bottom:22px;display:flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #cfe0d7;border-radius:7px;background:#fff;color:#246a4e;box-shadow:var(--shadow-menu);font-size:12px}.toast-enter-active,.toast-leave-active{transition:opacity .16s ease,transform .16s ease}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(5px)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:1300px){.desktop-titlebar{grid-template-columns:258px minmax(0,1fr) auto}.app-body{grid-template-columns:258px minmax(500px,1fr) 310px}.app-body.reply-hidden{grid-template-columns:258px minmax(500px,1fr)}.workspace-content{padding-right:22px;padding-left:22px}.reply-panel-scroll{padding-right:16px;padding-left:16px}}
