:root{color:#1e2523;background:#f5f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:auto}button,textarea,input,select{font:inherit}button{cursor:pointer}.shell{display:block;height:100vh;min-width:0;min-height:0;overflow:hidden}.sidebar{background:#fff;border-right:1px solid #dfe5df;bottom:0;display:flex;flex-direction:column;gap:16px;height:100vh;left:0;padding:18px;overflow-y:auto;position:fixed;top:0;width:340px;z-index:5}.topbar,.workspaceHeader,.panelTitle.split,.approvalActions,.headerControls{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-size:24px;font-weight:760;letter-spacing:0}.agentStatus{align-items:center;color:#66706a;display:flex;font-size:13px;gap:7px;margin-top:2px;min-width:0}.agentStatus span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted,.workspaceHeader p,.listItem small,.hostRow small,.connectorRow small,.lockRow small,.messageMeta,.timelineItem span,.fileRow small{color:#66706a}.panel{display:flex;flex-direction:column;gap:10px}.hiddenHostPanel{display:none}.panelTitle,.panelTitle span{align-items:center;color:#2f3a35;display:flex;font-size:13px;font-weight:720;gap:8px;letter-spacing:0;text-transform:uppercase}.iconButton{align-items:center;background:#eef3ef;border:1px solid #d7dfd7;border-radius:8px;color:#25302b;display:inline-flex;height:36px;justify-content:center;width:36px}.iconButton.small{height:30px;width:30px}.iconButton:disabled{color:#9aa59e;cursor:not-allowed}.stopButton{background:#f2dfdc;border-color:#e6c5c0;color:#8a3028}.headerControls{flex-wrap:wrap;justify-content:flex-end}.connectorSelect{background:#fff;border:1px solid #cfd8d0;border-radius:8px;color:#26312c;min-height:38px;max-width:150px;padding:0 10px}.permissionControl{align-items:center;background:#fff;border:1px solid #cfd8d0;border-radius:8px;color:#405047;display:inline-flex;gap:4px;height:36px;padding:0 8px}.permissionSelect{appearance:none;background:transparent;border:0;color:#26312c;font-weight:720;height:34px;max-width:128px;outline:none}.modeSwitch{background:#eef3ef;border:1px solid #cfd8d0;border-radius:8px;display:inline-grid;grid-template-columns:1fr 1fr;min-height:38px;overflow:hidden}.modeSwitch button{background:transparent;border:0;color:#48524d;font-weight:720;min-width:58px;padding:0 10px}.modeSwitch button.active{background:#2e7d5b;color:#fff}.listItem{background:#f8faf7;border:1px solid #e0e6df;border-radius:8px;color:#1e2523;display:flex;flex-direction:column;gap:4px;min-height:58px;padding:10px 12px;text-align:left;width:100%}.projectForm{display:grid;gap:8px}.projectForm input{background:#fff;border:1px solid #d7dfd7;border-radius:8px;color:#1f2924;min-height:38px;min-width:0;padding:0 10px}.projectForm button{align-items:center;background:#eef3ef;border:1px solid #d7dfd7;border-radius:8px;color:#25302b;display:inline-flex;font-weight:720;gap:8px;justify-content:center;min-height:38px}.projectForm button:disabled{color:#8c9891;cursor:not-allowed}.compactProjectForm{background:#f8faf7;border:1px solid #e0e6df;border-radius:8px;padding:10px}.projectNamePreview{color:#66706a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectItem{align-items:center;display:grid;gap:6px;grid-template-columns:minmax(0,1fr) auto auto;min-height:58px;padding:0}.projectSelectButton{align-items:flex-start;background:transparent;border:0;color:inherit;display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;text-align:left}.projectSelectButton span,.projectSelectButton small{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectTitleRow{align-items:center;display:inline-flex;gap:8px;width:100%}.projectTitleText{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectDoneDot{background:#18a058;border:2px solid #ffffff;border-radius:999px;box-shadow:0 0 0 1px #18a05840;flex:0 0 auto;height:11px;width:11px}.projectWorkerPill{background:#eef3ef;border:1px solid #d7dfd7;border-radius:999px;color:#405047;flex:0 0 auto;font-size:11px;font-weight:720;line-height:1;padding:4px 7px}.projectRenameButton{margin-right:0}.projectExpandButton{margin-right:8px}.projectChats{border-top:1px solid #dce5dd;display:flex;flex-direction:column;gap:8px;grid-column:1 / -1;padding:8px 10px 10px 18px}.projectChatsHeader{align-items:center;color:#52605a;display:flex;font-size:12px;font-weight:720;justify-content:space-between;letter-spacing:0;text-transform:uppercase}.projectChatList{display:flex;flex-direction:column;gap:6px}.projectChatItem,.projectChatEmpty,.projectChatMore{background:transparent;border:1px solid transparent;border-radius:8px;color:#26312c;display:flex;flex-direction:column;gap:2px;min-height:38px;min-width:0;padding:7px 9px;text-align:left;width:100%}.projectChatItem:hover,.projectChatEmpty:hover,.projectChatMore:hover,.projectChatItem.active{background:#fff;border-color:#dbe4dc}.projectChatItem.active{box-shadow:inset 3px 0 #2e7d5b}.projectChatItem span,.projectChatItem small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectChatItem span,.projectChatEmpty{font-weight:680}.projectChatMore{align-items:center;color:#66706a;font-size:13px;font-weight:720;justify-content:center;min-height:34px;text-align:center}.projectChatItem small{color:#66706a;font-size:12px}.renameForm{display:grid;gap:6px;grid-column:1 / -1;grid-template-columns:minmax(0,1fr) 30px 30px;padding:9px;width:100%}.renameForm input{background:#fff;border:1px solid #d7dfd7;border-radius:8px;color:#1f2924;min-height:32px;min-width:0;padding:0 9px}.renameForm button{align-items:center;background:#eef3ef;border:1px solid #d7dfd7;border-radius:8px;color:#25302b;display:inline-flex;justify-content:center}.renameForm button:disabled{color:#8c9891;cursor:not-allowed}.sessionSelect{background:#f8faf7;border:1px solid #e0e6df;border-radius:8px;color:#1e2523;min-height:42px;min-width:0;padding:0 10px;width:100%}.listItem.selected{background:#e7f4ed;border-color:#7fb99a}.listItem span{font-weight:680}.hostRow,.connectorRow,.fileRow,.lockRow{align-items:center;background:#f8faf7;border:1px solid #e0e6df;border-radius:8px;display:flex;gap:10px;min-height:44px;padding:9px 10px}.hostRow div,.connectorRow,.fileRow,.lockRow{min-width:0}.hostRow strong,.connectorRow span,.fileRow span,.lockRow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.statusDot{border-radius:999px;display:inline-flex;flex:0 0 auto;height:10px;width:10px}.statusDot.online{background:#2d9a66}.statusDot.offline,.statusDot.error{background:#cf4a4a}.statusDot.busy,.statusDot.degraded{background:#c58b22}.workspace{display:flex;flex-direction:column;height:100vh;margin-left:340px;min-width:0;overflow:hidden;padding:10px 14px;width:calc(100vw - 340px)}.workspaceHeader{align-items:center;border-bottom:1px solid #dfe5df;display:flex;gap:10px;justify-content:flex-end;min-height:38px;overflow:hidden;padding-bottom:6px}.workspaceHeader h1{font-size:20px;line-height:1.1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspaceHeader p{margin:6px 0 0}.workspaceTitle{align-items:center;display:flex;flex:1 1 auto;gap:8px;min-width:0}.workspaceTitle span,.workspaceTitle code{color:#66706a;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspaceTitle code{background:#eef3ef;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;padding:3px 6px}.contentGrid{display:grid;gap:18px;grid-template-columns:minmax(0,1fr) 360px;min-height:0;padding-top:8px}.contentGrid.codexContent{display:block;flex:1;max-width:none;min-height:0}.chatPane,.mainColumn,.chatSurface,.runPane{min-width:0}.chatSurface{display:grid;gap:8px;grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0}.workspaceHeader .headerControls{flex:0 1 auto;flex-wrap:nowrap;gap:6px;min-width:0}.chatActions{align-items:center;display:flex;gap:10px;justify-content:space-between}.inspectorActions{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:inline-flex;overflow:hidden}.inspectorActions button,.pillButton{align-items:center;background:#fff;border:0;color:#425049;display:inline-flex;font-weight:720;gap:8px;justify-content:center;min-height:40px;padding:0 12px}.inspectorActions button.active{background:#2e7d5b;color:#fff}.compactTools{flex:0 1 auto}.compactTools button{height:36px;min-width:36px;min-height:36px;padding:0;width:36px}.compactTools button span{display:none}.pillButton{border:1px solid #dfe5df;border-radius:8px}.contextBar{align-items:center;background:#fff;border:1px solid #dfe5df;border-radius:8px;color:#435048;display:flex;flex-wrap:wrap;gap:8px 14px;min-height:42px;padding:8px 12px}.contextBar.warning{background:#fff8e8;border-color:#e6cb86}.contextBar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contextBar span:nth-child(2){color:#66706a;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.mainColumn{display:flex;flex-direction:column;gap:14px}.chatPane{display:grid;grid-template-rows:minmax(360px,1fr) auto;gap:14px}.toolTabs{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden}.toolTabs button,.diffToolbar button{align-items:center;background:transparent;border:0;color:#4b5751;display:inline-flex;font-weight:720;gap:8px;justify-content:center;min-height:42px;min-width:0;padding:0 10px}.toolTabs button.active,.diffToolbar button.active{background:#2e7d5b;color:#fff}.messages{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:12px}.runStrip{align-items:center;background:#fff;border:1px solid #dfe5df;border-radius:8px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto auto;padding:10px}.runStripMain{align-items:center;background:transparent;border:0;color:#1e2523;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;min-width:0;padding:0;text-align:left}.runStripMain span,.runStripMain small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runStripMain small,.miniLock{color:#66706a;font-size:12px}.miniLock{background:#eef3ef;border-radius:999px;font-weight:720;padding:6px 8px}.runStripActions{align-items:center;display:flex;gap:8px}.compactButton{min-height:34px;padding:0 10px}.message{border-radius:8px;max-width:min(780px,100%);padding:12px}.message.user{align-self:flex-end;background:#dff0e8}.message.assistant,.message.system{align-self:flex-start;background:#f0f3ee}.message p{margin:4px 0 0;white-space:pre-wrap}.inlineRunCard{align-self:flex-start;background:#fbfcfb;border:1px solid #dfe5df;border-radius:8px;display:flex;flex-direction:column;gap:12px;max-width:min(780px,100%);padding:12px;width:100%}.inlineRunHeader,.inlineRunControls,.inlineRunTitle,.inlineChangedFile,.activityItem{align-items:center;display:flex;gap:8px}.inlineRunHeader{justify-content:space-between}.inlineRunTitle{background:transparent;border:0;color:#26312c;min-width:0;padding:0;text-align:left}.inlineRunTitle span,.inlineRunTitle small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inlineRunTitle span{font-weight:720}.inlineRunTitle small{color:#66706a;font-size:12px}.sectionLabel{color:#39443e;font-size:12px;font-weight:780;letter-spacing:0;text-transform:uppercase}.activityBlock,.runReport,.inlineChangedFiles{display:flex;flex-direction:column;gap:8px}.activityList{display:flex;flex-direction:column;gap:6px}.activityItem{align-items:flex-start;background:#f3f6f2;border-left:3px solid #b9c6bd;border-radius:0 8px 8px 0;padding:9px 10px}.activityItem.good{border-left-color:#2d9a66}.activityItem.bad{border-left-color:#cf4a4a}.activityItem.wait{border-left-color:#c58b22}.activityItem svg{color:#66706a;flex:0 0 auto;margin-top:2px}.activityItem div{display:flex;flex-direction:column;gap:3px;min-width:0}.activityItem strong,.activityItem span,.activityItem code,.inlineChangedFile span{overflow-wrap:anywhere}.activityItem strong{font-size:13px}.activityItem span{color:#4c5751}.activityItem code{background:#e9eee9;border-radius:6px;color:#26312c;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;padding:4px 6px}.runReport{border-top:1px solid #e2e8e2;padding-top:10px}.runReport p{color:#36413b;margin:0}.inlineChangedFile{display:grid;grid-template-columns:minmax(0,1fr) auto}.inlineChangedFile>button:first-child{align-items:center;background:#fff;border:1px solid #e0e6df;border-radius:8px;color:#1e2523;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;min-height:40px;min-width:0;padding:0 10px;text-align:left}.inlineChangedFile small{color:#66706a;font-size:12px}.inlineApproval{justify-content:flex-start}.composer{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;padding:10px}.composer textarea{border:0;min-height:74px;outline:none;resize:vertical}.sendButton,.approveButton,.rejectButton{align-items:center;border:0;border-radius:8px;display:inline-flex;font-weight:720;gap:8px;justify-content:center;min-height:42px;padding:0 16px}.sendButton,.approveButton{background:#2e7d5b;color:#fff}.rejectButton{background:#f0dedb;color:#8b2d25}.sendButton:disabled{background:#b8c4bb;cursor:not-allowed}.runPane{display:flex;flex-direction:column;gap:18px}.inspectorDrawer{background:#fff;border-left:1px solid #dfe5df;bottom:0;box-shadow:-18px 0 40px #1e25231f;display:flex;flex-direction:column;max-width:min(720px,100vw);position:fixed;right:0;top:0;width:46vw;z-index:20}.inspectorHeader{align-items:center;border-bottom:1px solid #dfe5df;display:flex;justify-content:space-between;min-height:64px;padding:14px 16px}.inspectorBody{display:flex;flex-direction:column;gap:16px;min-height:0;overflow:auto;padding:16px}.inspectorBody .toolPane{border:0;min-height:0;padding:0}.drawerStack{display:flex;flex-direction:column;gap:18px}.runSummary{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:flex;flex-direction:column;gap:12px;padding:12px}.runHeaderLine,.toolPaneHeader,.previewTitle{align-items:center;display:flex;gap:10px;justify-content:space-between}.runSummary p{margin:0}.badge{align-items:center;background:#edf1ee;border-radius:999px;color:#34413a;display:inline-flex;font-size:12px;font-weight:760;min-height:28px;padding:0 10px;width:fit-content}.badge.running,.badge.sent_to_host,.badge.queued{background:#e3edf5;color:#285a78}.badge.waiting_approval{background:#f4ecd9;color:#77551e}.badge.approved,.badge.completed{background:#deefe7;color:#276645}.badge.failed,.badge.rejected,.badge.cancelled{background:#f2dfdc;color:#8a3028}.diffStat,.emptyLine,.emptyState,.errorLine{border-radius:8px;padding:10px}.diffStat{background:#f6f8f5;border:0;color:#49534d;font-size:13px;text-align:left;white-space:pre-wrap;width:100%}.actionSurface{cursor:pointer}.emptyLine,.emptyState{color:#6d7771}.emptyState{align-items:center;display:flex;gap:10px;justify-content:center;min-height:260px}.errorLine{background:#f2dfdc;color:#8a3028;margin-top:14px}.errorLine.compact{margin-top:0}.policyLine{display:flex;flex-wrap:wrap;gap:6px}.policyLine span{background:#eef3ef;border-radius:999px;color:#46524c;font-size:12px;font-weight:720;padding:5px 8px}.fileList,.timeline{display:flex;flex-direction:column;gap:8px}.fileRow span{flex:1}.timelineItem{background:transparent;border:0;border-left:3px solid #8db9a2;color:#26312c;display:flex;flex-direction:column;gap:3px;padding-left:10px;text-align:left}.timelineItem.active{border-left-color:#2e7d5b;background:#edf6f1;border-radius:0 8px 8px 0;padding-bottom:8px;padding-top:8px}.timelineItem strong{font-size:13px}.toolPane{background:#fff;border:1px solid #dfe5df;border-radius:8px;display:flex;flex-direction:column;gap:12px;min-height:500px;min-width:0;padding:14px}.pathLine{color:#66706a;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fileExplorer{display:grid;gap:14px;grid-template-columns:minmax(220px,.42fr) minmax(0,1fr);min-height:420px;min-width:0}.fileExplorerList,.filePreview,.diffBlock,.eventPayload{background:#f8faf7;border:1px solid #e0e6df;border-radius:8px}.fileExplorerList{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:10px}.fileExplorerRow{align-items:center;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto}.fileOpenButton{align-items:center;background:#fff;border:1px solid #e0e6df;border-radius:8px;color:#1e2523;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;min-height:38px;min-width:0;padding:0 10px;text-align:left}.fileOpenButton span,.previewTitle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fileOpenButton small,.previewTitle small{color:#66706a;font-size:12px}.filePreview{min-width:0;overflow:auto;padding:12px}.filePreview pre,.diffBlock,.eventPayload{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5;margin:0;overflow:auto;white-space:pre}.filePreview pre{margin-top:12px}.diffToolbar{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.diffToolbar button{background:#eef3ef;border:1px solid #d7dfd7;border-radius:8px;flex:0 0 auto;justify-content:flex-start;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diffBlock{min-height:360px;padding:0}.diffBlock code{display:block;min-width:max-content;padding:10px 0}.diffLine{display:block;padding:0 12px}.diffLine.meta{background:#e7edf4;color:#2d5271;font-weight:720}.diffLine.hunk{background:#f1ecf8;color:#624b80}.diffLine.add{background:#e7f4ed;color:#1f6a45}.diffLine.remove{background:#f6e7e4;color:#9a3128}.timelineDetails{display:flex;flex-direction:column;gap:10px}.eventPayload{max-height:260px;padding:10px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.fileExplorer{grid-template-columns:1fr}.inspectorDrawer{border-left:0;left:0;max-width:none;top:72px;width:100vw}.chatActions,.runStripActions{flex-wrap:wrap}.inspectorActions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}}@media(max-width:620px){.sidebar,.workspace{padding:14px}.workspaceHeader{align-items:flex-start;flex-direction:column}.composer{grid-template-columns:1fr}.sendButton{width:100%}.approvalActions,.chatActions{align-items:stretch;flex-direction:column}.runStripMain{grid-template-columns:1fr}.runStripActions,.inspectorActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
