.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}:root{color:#1b1f24;background:radial-gradient(1200px 600px at 10% -10%,#dce8f8 0%,transparent 55%),radial-gradient(900px 500px at 100% 0%,#e8f0e6 0%,transparent 50%),#f4f6f8;background-attachment:fixed;font-family:IBM Plex Sans,Source Han Sans SC,Noto Sans SC,sans-serif;line-height:1.5}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100dvh;margin:0}html{background-color:#f4f6f8}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overscroll-behavior:none;-webkit-tap-highlight-color:transparent}@media(display-mode:standalone){html,body,#root{min-height:100dvh;overscroll-behavior:none}}:focus,:focus-visible{outline:none!important}.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:min(380px,100%);padding:28px 24px 24px;border:1px solid #d9dee7;border-radius:12px;background:#ffffffdb;box-shadow:0 18px 50px #1b1f2414}.login-card__brand{display:flex;align-items:center;gap:10px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.status-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.code-block{margin:0;padding:12px 14px;border:1px solid #d9dee7;border-radius:8px;background:#ffffffc7;white-space:pre-wrap;word-break:break-word;font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.45;max-height:360px;overflow:auto}.file-browser{height:100%;min-height:0;display:flex;flex-direction:column}.file-browser__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #e8eaed;font-size:13px;color:#5b6573;background:#fafbfc}.file-browser.is-over .file-browser__toolbar{background:#e6f4ff}.file-browser__toolbar-sep{margin:0 2px}.file-browser__split.ant-splitter{flex:1;min-height:0;overflow:hidden}.file-browser__split.ant-splitter>.ant-splitter-panel{padding:0;min-width:0;min-height:0;overflow:hidden}.file-tree-pane{position:relative;height:100%;overflow:auto;padding:4px 0 8px;background:#f7f8fa}.file-tree.ant-tree{background:transparent;font-size:13px}.file-tree.ant-tree .ant-tree-treenode{width:100%;padding:0 4px;align-items:center}.file-tree.ant-tree .ant-tree-node-content-wrapper{display:flex;align-items:center;min-width:0;flex:1;padding:0 4px;line-height:24px}.file-tree.ant-tree .ant-tree-node-selected{background:#e8f1ff!important}.file-tree__row{display:flex;align-items:center;gap:6px;min-width:0;width:100%}.file-tree__icon{width:16px;height:16px;flex-shrink:0}.file-tree__name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tree__git-tag{margin-inline-end:0!important;max-width:120px;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;font-size:11px;line-height:18px;padding-inline:5px}.file-tree__actions{flex-shrink:0;margin-left:auto}.file-tree__delete{opacity:0;padding-inline:4px!important;height:22px!important}.file-tree__row:hover .file-tree__delete,.file-tree__row:focus-within .file-tree__delete,.file-tree__delete.ant-btn-loading{opacity:1}.file-preview-pane{height:100%;min-height:0;display:flex;flex-direction:column;padding:10px 12px 12px}.file-preview-pane:has(.git-root-pane){padding:0}.file-preview-pane__empty{flex:1;display:flex;align-items:center;justify-content:center}.file-preview-pane__head{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0;margin-bottom:8px}.file-preview-pane__actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex-shrink:0}.file-browser__editor{flex:1;min-height:0}.monaco-pane{position:relative;flex:1;min-height:0;border:1px solid #d9dee7;border-radius:8px;overflow:hidden;background:#fff}.monaco-pane--loading{display:flex;align-items:center;justify-content:center;min-height:160px}.monaco-pane__overlay{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-start;justify-content:flex-end;padding:8px;pointer-events:none}.monaco-pane .monaco-editor,.monaco-pane .monaco-diff-editor{height:100%}.repo-panel__diff.monaco-pane{border:1px solid #d9dee7;border-radius:8px}.file-browser__preview{flex:1;min-height:0;max-height:none;overflow:auto}.workspace-layout.ant-splitter{height:100%;overflow:hidden}.workspace-layout.ant-splitter>.ant-splitter-panel{padding:0;min-width:0;min-height:0;overflow:hidden}.workspace-layout .ant-splitter-bar{width:12px}.workspace-layout .ant-splitter-bar-collapse-bar{z-index:2}.workspace-layout--compact{height:100%;min-height:0;overflow:hidden}.workspace-rail-drawer .ant-drawer-header{display:none}.workspace-rail-drawer__body{flex:1;min-height:0;padding:0!important;overflow:hidden}.workspace-rail-drawer .agent-rail-wrap,.workspace-rail-drawer .session-rail{height:100%}.session-rail{height:100%;background:#ffffffb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.session-rail__head{display:flex;justify-content:space-between;align-items:center;padding:14px 12px;border-bottom:1px solid #e6ebf2}.session-rail__new-ws{width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#0000008c}.session-rail__new-ws:hover{color:#000000e0;background:#0000000a}.agent-rail__tabs{height:100%;min-height:0;overflow:hidden}.agent-rail__tabs.ant-tabs{display:flex;flex-direction:column}.agent-rail__tabs .ant-tabs-nav{flex-shrink:0;margin:0;padding:0 8px}.agent-rail__home,.agent-rail__logo{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:4px;padding:0;border:none;background:transparent;color:#0000008c;border-radius:6px;cursor:pointer;text-decoration:none}.agent-rail__brand{display:inline-flex;align-items:center;margin-right:4px}.agent-rail__brand .agent-rail__logo{margin-right:0}.agent-rail__dispatch{display:inline-flex;align-items:center;height:28px;padding:0 8px;font-size:12px;color:#0000008c;text-decoration:none;border-radius:6px}.agent-rail__dispatch:hover{color:#000000e0;background:#0000000a}.agent-rail__focus-tab{display:inline-flex;align-items:center;justify-content:center;line-height:1;color:#0000008c}.agent-rail__focus-tab--active{color:#1f6feb}.focus-panel{display:flex;flex-direction:column;overflow:hidden}.focus-panel__split{display:flex;flex-direction:column;height:100%;min-height:0}.focus-panel__section{display:flex;flex-direction:column;min-height:0}.focus-panel__section--attention{flex:1 1 50%;min-height:0}.focus-panel__section--running{flex:0 1 40%;min-height:120px;max-height:42%;border-top:1px solid #e6ebf2}.focus-panel__section--history{flex:0 0 auto;min-height:0;border-top:1px solid #e6ebf2}.focus-panel__section--history-open{flex:0 1 34%;min-height:120px;max-height:40%}.focus-panel__history-toggle{display:flex;align-items:center;gap:6px;flex:0 0 auto;width:100%;padding:8px 12px 6px;border:none;border-radius:0;background:transparent;cursor:pointer;text-align:left}.focus-panel__history-toggle:hover{background:#0000000a}.focus-panel__chevron{position:relative;width:12px;height:12px;flex:0 0 auto}.focus-panel__chevron:before{content:"";position:absolute;inset:0;margin:auto;width:5px;height:5px;border-right:1.5px solid rgba(0,0,0,.45);border-bottom:1.5px solid rgba(0,0,0,.45);transform:rotate(-45deg);transition:transform .15s ease}.focus-panel__chevron--open:before{transform:rotate(45deg)}.focus-panel__section-head{display:flex;align-items:center;gap:6px;flex:0 0 auto;padding:8px 12px 4px}.focus-panel__section-title{font-size:12px;font-weight:600;color:#0000008c;letter-spacing:.02em}.focus-panel__section-count{font-size:11px;color:#0006;background:#0000000a;border-radius:999px;padding:0 6px;line-height:18px;min-width:18px;text-align:center}.focus-panel__section-body{flex:1 1 0;min-height:0;overflow:auto}.focus-panel__list{display:flex;flex-direction:column;gap:2px;padding:4px 4px 8px}.focus-panel__row{display:flex;align-items:flex-start;gap:2px;border:1px solid transparent;border-radius:8px}.focus-panel__row:hover{background:#0000000a}.focus-panel__row--active{background:#1f6feb14;border-color:#1f6feb40}.focus-panel__item{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;padding:8px 6px 8px 10px;border:none;border-radius:8px;background:transparent;cursor:pointer;text-align:left}.focus-panel__item-head{display:flex;align-items:center;gap:6px;min-width:0}.focus-panel__tag{margin-inline-end:0;flex-shrink:0}.focus-panel__title{font-size:13px;color:#000000e0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.focus-panel__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#00000073}.focus-panel__place{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.focus-panel__more{margin-top:6px;margin-right:4px}.focus-panel__row:hover .focus-panel__more,.focus-panel__row:focus-within .focus-panel__more{opacity:1;pointer-events:auto}.focus-panel__empty{margin-top:48px}.focus-panel__empty--section{margin-top:16px;margin-bottom:16px}.focus-panel__empty--section .ant-empty-image{height:40px}.home-focus{display:flex;flex:1;justify-content:center;min-height:0;overflow:auto;padding:28px clamp(16px,5vw,56px) 40px}.home-focus__inner{width:100%;max-width:760px;display:flex;flex-direction:column;min-height:0}.home-focus__head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding:0 2px 14px}.home-focus__title{font-size:15px;font-weight:600;color:#000000e0}.home-focus__hint{font-size:12px;color:#00000073}.home-focus .focus-panel__split{height:auto}.home-focus .focus-panel__section{flex:0 0 auto;min-height:0;max-height:none;margin-bottom:12px;border:1px solid #e6ebf2;border-radius:10px;background:#fff;overflow:hidden}.home-focus .focus-panel__section--running{border-top:1px solid #e6ebf2}.home-focus .focus-panel__section-body{flex:0 0 auto;max-height:34vh}.home-focus .focus-panel__section--history-open .focus-panel__section-body{max-height:40vh}.home-focus .focus-panel__history-toggle:hover{background:#00000005}.dispatch-page{min-height:100%;padding:20px 24px 40px;max-width:1200px;margin:0 auto}.dispatch-page__status{margin-bottom:16px}.agent-rail__home:hover,.agent-rail__logo:hover{color:#000000e0;background:#0000000a}.global-settings-modal .ant-modal-body{max-height:min(72vh,720px);overflow:hidden}.global-settings-tabs{min-height:420px}.global-settings-tabs>.ant-tabs-content-holder{max-height:min(68vh,680px);overflow:auto}.global-settings-tabs .ant-tabs-tabpane{padding-left:4px}.global-settings-panel{padding-right:4px}.global-settings-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.global-settings-section{margin:20px 0 4px}.agent-rail__new-ws{width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#0000008c}.agent-rail__new-ws:not(:disabled):hover{color:#000000e0;background:#0000000a}.agent-rail__tabs .ant-tabs-nav:before{border-bottom-color:#e6ebf2}.agent-rail__tabs .session-rail__head{padding:0;border-bottom:0;margin:0}.agent-rail__tabs .ant-tabs-content-holder,.agent-rail__tabs .ant-tabs-body-holder{flex:1 1 0;min-height:0;overflow:hidden}.agent-rail__tabs .ant-tabs-content,.agent-rail__tabs .ant-tabs-body,.agent-rail__tabs .ant-tabs-tabpane{height:100%;min-height:0}.agent-rail__tabs .session-rail__list{height:100%}.session-rail__meta{padding:12px;border-bottom:1px solid #e6ebf2;min-width:0}.session-rail__cwd{margin-bottom:0!important;margin-top:4px}.session-rail__list{flex:1;min-height:0;overflow:auto}.agent-rail-wrap{position:relative;height:100%;min-height:0}.agent-rail-shell{display:flex;height:100%;min-width:0;min-height:0}.agent-rail__workspace-pane{display:flex;flex-direction:column;height:100%;min-height:0}.agent-rail__workspace-pane>.session-rail__list{flex:1 1 0;min-height:0}.agent-tag-rail{flex:0 0 auto;width:auto;min-width:0;max-height:88px;overflow:auto;padding:6px 8px 8px;border-bottom:1px solid #e6ebf2;background:#f8fafce6;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px}.agent-tag-rail__list{display:contents}.agent-tag-rail__item{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;width:auto;max-width:100%;min-width:0;margin:0;padding:3px 8px;border:0;border-radius:999px;background:transparent;color:#000000b8;cursor:pointer;text-align:left;font-size:12px;line-height:1.3}.agent-tag-rail__item:hover{background:#eef2f7}.agent-tag-rail__item--active{background:#e8f1ff;color:#1677ff}.agent-tag-rail__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-tag-rail__count{flex-shrink:0;font-size:11px;color:#00000059}.agent-tag-rail__item--active .agent-tag-rail__count{color:#1677ffb8}.agent-rail-shell>.session-rail{flex:1 1 0;min-width:0}.agent-rail__new-ws.ant-btn-loading{pointer-events:none}.agent-rail__group{padding-bottom:8px}.agent-rail__empty{display:block;padding:6px 12px 10px 28px;font-size:12px}.agent-rail__empty--flush{padding-left:12px}.agent-rail__scope-head{display:flex;align-items:center;gap:2px;padding:2px 8px 2px 4px}.agent-rail__scope-head--nested{padding-left:8px}.agent-rail__scope-head--active{background:#f3f6fb}.agent-rail__chevron{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#6b7280;font:inherit}.agent-rail__scope-main{flex:1;min-width:0;display:flex;flex-direction:row;align-items:center;gap:0;border:0;background:transparent;cursor:pointer;padding:6px 4px;text-align:left;font:inherit}.agent-rail__more{flex-shrink:0;color:#6b7280;opacity:0;pointer-events:none;transition:opacity .12s ease}.agent-rail__session-row:hover .agent-rail__more,.agent-rail__session-row:focus-within .agent-rail__more,.agent-rail__scope-head:hover .agent-rail__more,.agent-rail__scope-head:focus-within .agent-rail__more{opacity:1;pointer-events:auto}.agent-rail__workspaces{padding:0 0 4px 8px}.agent-rail__empty--nested{padding-left:34px}.agent-rail__scope-name{display:flex;align-items:center;gap:6px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.agent-rail__scope-extra{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.agent-rail__sessions{padding:0 8px 6px 18px}.agent-rail__sessions--flush{padding-left:8px}.agent-rail__session-row{display:flex;align-items:flex-start;gap:2px;border-radius:6px}.agent-rail__session-row:hover{background:#f3f6fb}.agent-rail__session-row--pinned:not(.agent-rail__session-row--active){background:#f3f6fb}.agent-rail__session-row--pinned:not(.agent-rail__session-row--active):hover{background:#e8eef6}.agent-rail__session-row--active{background:#e8f1ff}.agent-rail__session-row--dragging{opacity:.45}.agent-rail__session-row--drag-over{box-shadow:inset 0 2px #1677ff}.agent-rail__drag-handle{flex-shrink:0;width:18px;height:22px;margin-top:8px;margin-left:2px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#c0c5ce;cursor:grab;border-radius:4px;padding:0;-webkit-user-select:none;user-select:none}.agent-rail__drag-handle:hover,.agent-rail__session-row:hover .agent-rail__drag-handle{color:#8b919a}.agent-rail__drag-handle:active{cursor:grabbing}.agent-rail__session-row .agent-rail__more{margin-top:6px}.agent-rail__session{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:2px;border:0;background:transparent;cursor:pointer;padding:8px 4px 8px 10px;border-radius:6px;text-align:left;font:inherit}.agent-rail__pin{flex-shrink:0;display:inline-flex;color:#8b919a}.agent-rail__inbox-badge{flex-shrink:0;font-size:10px;line-height:1;padding:2px 5px;border-radius:4px;background:#eef2ff;color:#3d5afe;text-transform:lowercase}.agent-rail__session-title{display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.agent-rail__session-meta{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.agent-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid #e6ebf2;background:#ffffffe6;flex-shrink:0}.agent-topbar__info{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.agent-chip{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:4px 10px;border:1px solid #d9dee7;border-radius:8px;background:#fff;cursor:pointer;min-width:0;max-width:320px;text-align:left;font:inherit}.agent-chip:hover{border-color:#1f6feb;background:#f7faff}.agent-chip--static{cursor:default}.agent-chip--static:hover{border-color:#d9dee7;background:#fff}.tool-tab{padding:4px 4px 16px}.tool-schema{margin:0;padding:10px 12px;background:#f6f8fb;border-radius:8px;font-size:12px;line-height:1.45;overflow:auto;max-height:280px}.agent-chip__time{font-size:11px;color:#6b7280;line-height:1.2}.agent-chip__value{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.agent-topbar__cwd{margin:0!important;min-width:0;flex:1}.workbench>.chat-main,.workbench>.chat-center{flex:1;min-height:0}.agent-drawer-body .tab-page{height:auto}.agent-drawer-body--fill{display:flex;flex-direction:column}.agent-drawer-fill{height:100%;min-height:0;display:flex;flex-direction:column}.agent-drawer-fill .tab-page{height:100%}.terminal-panel{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;background:#1e1e1e}.terminal-panel__banner{flex:0 0 auto}.terminal-panel__overlay{position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#d4d4d4;background:#1e1e1eb8;pointer-events:none}.terminal-panel__host{flex:1 1 auto;min-height:0;padding:8px}.terminal-panel__host .xterm{height:100%}.terminal-panel__host .xterm-viewport{overflow-y:auto!important}.session-item{cursor:pointer;padding:10px 12px!important}.session-item__body{min-width:0;width:100%}.session-item__name{display:flex;align-items:center;gap:6px;overflow:hidden}.session-item__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.driver-chip{flex:none;font-size:10px;line-height:14px;padding:0 5px;border-radius:4px;border:1px solid var(--border);color:var(--chat-label-tertiary);white-space:nowrap}.chat-driver-select{min-width:108px}.chat-model-select{min-width:140px;max-width:220px}.chat-driver-chip{font-size:12px!important;white-space:nowrap}.tab-label{display:inline-flex;align-items:center;gap:6px;max-width:180px}.tab-label>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.busy-dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#1677ff;animation:busy-pulse 1.2s ease-in-out infinite}.session-item--active{background:#e8f1ff}.session-item--open{background:#f3f6fb}.workbench{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;background:#fff}.workbench-toolbar{display:flex;align-items:center;gap:8px;padding:2px 8px;flex-shrink:0;background:#ffffffe6;border-bottom:1px solid #e6ebf2}.workbench-toolbar__new,.workbench-toolbar__nav{flex-shrink:0;width:28px;height:28px;padding:0;color:#4b5563}.workbench-toolbar__new:hover,.workbench-toolbar__nav:hover{color:#1f6feb}.workbench-toolbar .agent-chip{padding:0 4px;border:none;border-radius:4px;background:transparent;line-height:1.15}.workbench-toolbar .agent-chip:hover{border-color:transparent;background:#f7faff}.workbench-toolbar .agent-chip__time{font-size:10px;line-height:1.15}.workbench-toolbar .agent-chip__value{font-size:12px;line-height:1.2}.workbench-toolbar .agent-chip--active,.workbench-toolbar .agent-chip--active:hover{color:#1f6feb;background:#e8f1ff}.workbench-chat{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workbench-chat[hidden]{display:none}.workbench-chat>.chat-main,.workbench-chat>.chat-center{flex:1;min-height:0}.workbench-view{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workbench-view__bar{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:6px 12px;border-bottom:1px solid #e6ebf2;background:#f7f9fc}.workbench-view__title{font-size:13px;font-weight:600;color:#1f2937}.workbench-view__body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workbench-view__body>.tab-page{height:100%;overflow:auto}.workbench-view__scroll{height:100%;overflow:auto;padding:12px 16px 24px}.workbench-toolbar__actions{margin-left:auto;flex-shrink:0}@media(max-width:767px){.workbench-toolbar{flex-wrap:wrap;gap:6px}.workbench-toolbar__actions .ant-space{flex-wrap:wrap}.chat-driver-select,.chat-model-select,.chat-driver-select .ant-select-selection-search-input,.chat-model-select .ant-select-selection-search-input{font-size:16px!important}}.workbench-chats{flex-shrink:0;background:#ffffffe6;border-bottom:1px solid #e6ebf2}.workbench-chats__tabs.ant-tabs{margin:0}.workbench-chats__tabs .ant-tabs-nav{margin:0;padding:0 8px}.workbench-chats__tabs .ant-tabs-nav:before{border-bottom:0}.workbench-chats__tabs .ant-tabs-nav-wrap{scrollbar-width:none}.workbench-chats__tabs .ant-tabs-nav-wrap::-webkit-scrollbar{display:none}.workbench-chats__tabs .ant-tabs-tab{padding:4px 8px!important}.workbench-chats__tabs .ant-tabs-content-holder,.workbench-chats__tabs .ant-tabs-body-holder{display:none}.workbench-history-item{display:flex;flex-direction:column;gap:2px;max-width:260px}.workbench-history-item>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-history-item__time{font-size:12px;color:#6b7280}.workbench-banner .ant-alert{padding:4px 12px}.workbench-banner .ant-alert-banner{border-bottom:1px solid #ffccc7}.tab-page{height:100%;overflow:auto;padding:16px 20px 28px}.tab-page--fill{overflow:hidden;display:flex;flex-direction:column;padding-bottom:16px}.tab-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;flex-shrink:0}.process-panel.ant-splitter{flex:1;min-height:0;overflow:hidden}.process-panel.ant-splitter>.ant-splitter-panel{padding:0;min-width:0;min-height:0;overflow:hidden}.process-panel__list{height:100%;overflow:auto;padding-right:8px}.process-item{cursor:pointer;border-radius:8px;padding:8px 10px!important}.process-item--active{background:#e8f1ff}.process-item__body{width:100%;min-width:0}.process-item__title{display:flex;align-items:center;justify-content:space-between;gap:8px}.process-item__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.process-item__cmd{display:block;font-size:12px;font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,monospace}.process-panel__detail{height:100%;display:flex;flex-direction:column;min-width:0;min-height:0;padding-left:8px}.process-panel__meta{flex-shrink:0;margin-bottom:10px}.process-panel__meta-main{display:flex;align-items:center;gap:8px;margin-bottom:4px}.process-panel__actions{display:flex;align-items:center;gap:8px;margin-top:8px}.process-panel__log{flex:1;min-height:0;max-height:none;overflow:auto}.repo-panel__toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;flex-shrink:0}.git-root-pane{display:flex;flex-direction:column;height:100%;min-height:0}.git-root-pane--compact .repo-panel__toolbar{padding-inline:12px}.git-root-pane .repo-panel,.git-root-pane .process-panel{flex:1;min-height:0}.repo-panel__tabs{height:100%;display:flex;flex-direction:column;min-height:0}.repo-panel__tabs .ant-tabs-content-holder,.repo-panel__tabs .ant-tabs-content,.repo-panel__tabs .ant-tabs-tabpane{height:100%;min-height:0}.repo-panel__diff{white-space:pre;word-break:normal;flex:1;min-height:0;max-height:none;overflow:auto}.chat-main{--chat-content-width: 736px;--chat-composer-max: 768px;--chat-side-clearance: 16px;--chat-label: #1b1f24;--chat-label-secondary: #5c6370;--chat-label-tertiary: #81858c;--chat-label-caption: #adb2b8;--chat-bubble: rgb(237, 243, 254);--chat-input-bg: #fff;--chat-input-border: rgba(0, 0, 0, .1);--chat-shadow: 0 4px 16px rgba(0, 0, 0, .08);--chat-info: #3964fe;--chat-info-hover: #2f54e0;--chat-selector: #f0f2f5;--chat-hover: rgba(0, 0, 0, .04);--chat-code-bg: #f3f4f6;--chat-error: #cf1322;--chat-brand-500: #4d6bfe;--chat-brand-200: #a8b8ff;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden}.chat-scroll-area{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.chat-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:16px calc(var(--chat-side-clearance) + 16px) 20px}.chat-jump-bottom{position:absolute;left:50%;bottom:12px;transform:translate(-50%);z-index:5;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:none;cursor:pointer;color:var(--chat-label-secondary);background:var(--chat-input-bg);box-shadow:var(--chat-shadow)}.chat-jump-bottom:hover{color:var(--chat-label)}.chat-column{max-width:var(--chat-content-width);width:100%;margin:0 auto;display:flex;flex-direction:column;gap:16px}.chat-history-older{display:flex;justify-content:center;padding:8px 0 4px;min-height:28px}.chat-center{min-height:180px;display:flex;align-items:center;justify-content:center}.msg{min-width:0}.msg--user{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.msg__user-stack{display:flex;flex-direction:column;align-items:flex-end;align-self:flex-end;gap:8px;box-sizing:border-box;min-width:0;width:max-content;max-width:min(525px,82%)}.msg__bubble{display:block;box-sizing:border-box;width:max-content;max-width:100%;min-width:0;background:var(--chat-bubble);border-radius:22px;padding:10px 16px}.msg__user-text{margin:0;min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-family:inherit;font-size:16px;line-height:24px;color:var(--chat-label)}.msg--assistant{width:100%;min-width:0}.assistant-transcript{display:flex;flex-direction:column;gap:12px;min-width:0;font-size:16px;line-height:28px;color:var(--chat-label)}.msg__images{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:100%}.msg__images img{max-width:min(240px,100%);max-height:160px;border-radius:12px;object-fit:contain;background:#fff;border:1px solid rgba(0,0,0,.08)}.chat-composer{flex-shrink:0;min-width:0;display:flex;flex-direction:column;align-items:center;padding:16px var(--chat-side-clearance) 8px;background:transparent;border-top:none}.chat-composer--drop .chat-composer__card{outline:2px dashed var(--chat-info);outline-offset:2px;background:color-mix(in srgb,var(--chat-info) 4%,#fff)}.chat-composer__card{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:100%;max-width:var(--chat-composer-max);padding-top:10px;border:1px solid var(--chat-input-border);border-radius:22px;background:var(--chat-input-bg);box-shadow:var(--chat-shadow);font-size:16px;line-height:24px}.chat-composer__thumbs{display:flex;flex-wrap:wrap;gap:8px;padding:4px 12px 0}.chat-composer__thumb{position:relative;width:56px;height:56px;flex-shrink:0}.chat-composer__thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid rgba(0,0,0,.08)}.chat-composer__thumb-remove{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border:0;border-radius:50%;background:#1b1f24;color:#fff;font-size:12px;line-height:18px;cursor:pointer;padding:0}.chat-composer .ant-mentions{width:100%;max-width:100%}.chat-composer .ant-mentions,.chat-composer .ant-mentions-focused,.chat-composer .ant-mentions:hover,.chat-composer .ant-mentions:focus,.chat-composer .ant-mentions:focus-within,.chat-composer .ant-mentions:focus-visible,.chat-composer .ant-mentions:has(textarea:focus-visible),.chat-composer .ant-mentions-outlined,.chat-composer .ant-mentions-borderless{border:none!important;box-shadow:none!important;outline:none!important;outline-offset:0!important;background:transparent!important}.chat-composer .ant-mentions textarea,.chat-composer .ant-mentions .rc-textarea{padding:4px 12px 0 16px!important;font-size:16px!important;line-height:24px!important;resize:none;caret-color:var(--chat-info);border:none!important;outline:none!important;outline-offset:0!important;box-shadow:none!important;background:transparent!important;appearance:none;-webkit-appearance:none}.chat-composer .ant-mentions textarea:focus,.chat-composer .ant-mentions textarea:focus-visible,.chat-composer .ant-mentions .rc-textarea:focus,.chat-composer .ant-mentions .rc-textarea:focus-visible{border:none!important;outline:none!important;box-shadow:none!important}.chat-composer .ant-mentions textarea::placeholder{color:var(--chat-label-caption)}.skill-mention-popup{max-width:min(480px,calc(100vw - 48px))!important;box-sizing:border-box}.skill-mention-popup .rc-mentions-dropdown-menu,.skill-mention-popup .ant-mentions-dropdown-menu{max-width:100%}.skill-mention-popup .rc-mentions-dropdown-menu-item,.skill-mention-popup .ant-mentions-dropdown-menu-item{max-width:100%;overflow:hidden}.skill-mention-option{display:flex;flex-direction:column;min-width:0;max-width:100%;overflow:hidden;gap:2px}.skill-mention-option__name{font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.skill-mention-option__desc{font-size:12px;color:var(--chat-label-tertiary);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;word-break:break-word}.file-mention-menu{position:absolute;left:8px;right:8px;bottom:calc(100% + 8px);z-index:20;max-height:min(320px,40vh);overflow:auto;padding:6px;border:1px solid var(--chat-input-border);border-radius:12px;background:#fff;box-shadow:var(--chat-shadow)}.file-mention-menu__empty{padding:10px 12px;font-size:13px;color:var(--chat-label-tertiary)}.file-mention-menu__item{display:flex;align-items:center;gap:8px;width:100%;margin:0;padding:6px 8px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.file-mention-menu__item--active,.file-mention-menu__item:hover{background:color-mix(in srgb,var(--chat-info) 10%,#fff)}.file-mention-menu__kind{flex:0 0 auto;font-size:11px;color:var(--chat-label-tertiary)}.file-mention-menu__path{min-width:0;font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 8px 6px;min-width:0}.chat-composer__tools{display:flex;align-items:center;gap:12px;min-width:0;flex:1;flex-wrap:wrap}.chat-composer__hint{font-size:12px!important;line-height:18px!important;color:var(--chat-label-tertiary)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer__trailing{display:flex;align-items:center;flex:none;gap:12px}.chat-composer__add{display:grid;place-items:center;flex:none;width:28px;height:28px;border:none;border-radius:999px;background:var(--chat-selector);color:var(--chat-label);cursor:pointer}.chat-composer__add:hover:not(:disabled){background:#e5e7eb}.chat-composer__add:disabled{opacity:.5;cursor:default}.chat-composer__primary{display:grid;place-items:center;flex:none;width:34px;height:34px;border:none;border-radius:999px;background:var(--chat-info);color:#fff;cursor:pointer;transform:translateY(-2px);transition:background-color .1s ease}.chat-composer__primary:hover:not(:disabled){background:var(--chat-info-hover)}.chat-composer__primary:disabled{opacity:.4;cursor:default}.chat-composer__primary--stop{background:var(--chat-label)}.chat-composer__primary--stop:hover:not(:disabled){background:#111}.chat-notify-link{padding:0;height:auto;flex:none}.disclosure-row{position:relative;overflow:hidden;display:flex;align-items:center;width:100%;min-width:0;height:24px;padding:0;border:none;border-radius:6px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.disclosure-row:disabled{cursor:default}.disclosure-row:not(:disabled):hover{background:var(--chat-hover)}.disclosure-row__chevron{flex:none;width:16px;margin-right:6px;color:var(--chat-label-secondary);font-size:11px;line-height:1;text-align:center}.disclosure-row__title{flex:none;font-size:14px;line-height:24px;font-weight:400;color:var(--chat-label)}.disclosure-row__sep{flex:none;width:2px;height:2px;margin:0 8px;border-radius:1px;background:var(--chat-label-caption)}.disclosure-row__summary{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--chat-label-tertiary);font-size:14px;line-height:24px;text-overflow:ellipsis;white-space:nowrap}.disclosure-row__summary--error{color:var(--chat-error)}.thinking-row,.tool-row{display:flex;flex-direction:column}.thinking-row[data-state=running] .disclosure-row:after,.tool-row[data-state=running] .disclosure-row:after{content:"";position:absolute;inset-block:0;left:0;width:300px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,#fff 60%,transparent) 55%,transparent 100%);animation:chat-row-sweep 2.6s ease-out infinite;pointer-events:none}@keyframes chat-row-sweep{0%{left:-300px}90%,to{left:100%}}.thinking-row__body{margin:0;padding:4px 0 4px 22px;color:var(--chat-label-tertiary);font-size:14px;line-height:24px;font-family:inherit;white-space:pre-wrap;word-break:break-word}.tool-row__body{max-height:260px;margin:4px 0 4px 4px;padding:12px 16px;overflow:auto;border:1px solid rgba(0,0,0,.06);border-radius:12px;background:var(--chat-code-bg);color:var(--chat-label);font-size:12px;line-height:18px;white-space:pre-wrap}.chat-turn-status{align-self:flex-start;display:inline-flex;align-items:center;height:26px;font-size:14px;font-weight:600;white-space:nowrap;background:linear-gradient(90deg,var(--chat-brand-500) 0%,var(--chat-brand-500) 40%,var(--chat-brand-200) 50%,var(--chat-brand-500) 60%,var(--chat-brand-500) 100%);background-position:100% 0;background-size:250% 100%;background-clip:text;color:transparent;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:chat-turn-status-shimmer 1.8s linear infinite}@keyframes chat-turn-status-shimmer{to{background-position:0 0}}.chat-typing{display:inline-flex;align-items:center;gap:5px;height:22px;padding:2px 0}.chat-typing i{width:6px;height:6px;border-radius:50%;background:#8b93a1;animation:chat-typing 1.15s ease-in-out infinite}.chat-typing i:nth-child(2){animation-delay:.16s}.chat-typing i:nth-child(3){animation-delay:.32s}@keyframes chat-typing{0%,80%,to{opacity:.28;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@keyframes busy-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.72)}}@keyframes stream-caret{0%,49%{opacity:1}50%,to{opacity:0}}.md-body--live>:last-child:after{content:"";display:inline-block;width:2px;height:1em;margin-left:4px;background:var(--chat-info);vertical-align:-.12em;animation:stream-caret 1.05s steps(1) infinite}.question-card{margin:4px 0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--chat-info) 28%,#fff);border-radius:14px;background:color-mix(in srgb,var(--chat-info) 4%,#fff)}.question-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.question-card__status{color:var(--chat-label-tertiary);font-size:12px}.question-card__item{margin:10px 0}.question-card__prompt{margin-bottom:8px!important}.question-card__other{margin-top:8px;max-width:420px}.question-card__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.question-card__error{margin-top:8px;color:var(--chat-error);font-size:13px;line-height:20px}.run-error{margin:4px 0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--chat-error) 28%,#fff);border-radius:14px;background:color-mix(in srgb,var(--chat-error) 6%,#fff)}.run-error__title{font-size:14px;font-weight:600;line-height:24px;color:var(--chat-error)}.run-error__detail{margin:4px 0 0;font-size:14px;line-height:22px;color:var(--chat-label);white-space:pre-wrap;word-break:break-word}.run-error__hint{margin:6px 0 0;font-size:12px;line-height:18px;color:var(--chat-label-tertiary)}.readme-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #e8ecf2;flex-shrink:0}.readme-panel__body{flex:1;min-height:0;display:flex;flex-direction:column}.readme-panel__loading,.readme-panel__empty{flex:1;display:flex;align-items:center;justify-content:center;padding:24px}.readme-panel__preview{flex:1;min-height:0;overflow:auto;padding:16px 20px 24px}.readme-panel__editor{flex:1!important;min-height:0!important;height:100%!important;resize:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.55;padding:16px 20px!important}.readme-panel__editor.ant-input{height:100%!important}.md-doc__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.md-doc__body{padding:12px 14px;border:1px solid #d9dee7;border-radius:8px;background:#ffffffc7;min-height:48px}.md-doc__quick-add{margin-bottom:12px}.md-doc__quick-add>.ant-typography{display:block;margin-bottom:6px}.md-body p{margin:.4em 0}.md-body{font-size:16px;line-height:28px;color:var(--chat-label, #1b1f24)}.md-body h1,.md-body h2,.md-body h3,.md-body h4,.md-body h5{margin:.8em 0 .4em;line-height:1.3}.md-body h1:first-child,.md-body h2:first-child,.md-body h3:first-child{margin-top:0}.md-body ul,.md-body ol{margin:.4em 0;padding-left:1.4em}.md-body pre{background:#f3f4f6;padding:10px;border-radius:6px;overflow:auto}.md-body code{font-family:IBM Plex Mono,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}.md-body p code{background:#f3f4f6;padding:.1em .35em;border-radius:4px}.md-body table{border-collapse:collapse;margin:.6em 0;display:block;overflow-x:auto;white-space:nowrap;max-width:100%}.md-body th,.md-body td{border:1px solid #d9dee7;padding:4px 8px}@media(prefers-reduced-motion:reduce){.busy-dot,.chat-typing i,.md-body--live>:last-child:after,.chat-turn-status,.thinking-row[data-state=running] .disclosure-row:after,.tool-row[data-state=running] .disclosure-row:after{animation:none}.chat-turn-status{background:none;color:var(--chat-brand-500);-webkit-text-fill-color:var(--chat-brand-500)}.md-body--live>:last-child:after{opacity:1}}html.embed,html.embed body,html.embed #root{height:100%;min-height:100%;background:#f4f6f8}html.embed body{padding:0}html.embed .agent-rail__home{display:none}html.embed .workbench-toolbar{flex-wrap:wrap;gap:6px}html.embed .workbench-toolbar__actions .ant-space{flex-wrap:wrap}html.embed .chat-composer .ant-mentions textarea{min-height:48px}
