:root{--ink:#21313f;--muted:#82909d;--line:#e7ebef;--accent:#158278;--surface:#fff;--canvas:#f5f7f9}body{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:13px;background:var(--canvas);color:var(--ink)}.appShell>aside{width:184px;background:#122b3b;padding:25px 14px 16px;display:flex;flex-direction:column}.brand{font-size:24px;letter-spacing:-.8px}.brand small{font-size:10px;letter-spacing:1.2px;margin-top:7px;color:#91abba}#appNav{gap:4px;margin-top:28px}#appNav>button{display:flex;align-items:center;gap:10px;height:38px;padding:0 12px;font-size:13px;border-radius:7px;color:#9fb6c5}#appNav>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}#appNav>button.active{color:#fff;background:#24495a}#appNav>button:hover{background:#203f50;color:#fff}#appNav details{margin-top:17px;border-top:1px solid #ffffff12;padding-top:13px}#appNav summary{padding:8px 12px;color:#829eaf;font-size:11px;letter-spacing:.5px}#appNav details button{font-size:12px;padding:9px 12px 9px 22px}.appShell>aside footer{position:static;margin-top:auto;padding:20px 9px 0;font-size:10px;line-height:1.9;color:#7895a7}.sidebarModel{border:0;background:#ffffff09;color:#b6cbd7;width:100%;font-size:12px;padding:8px;margin-bottom:12px;text-align:left}.appShell main{margin-left:184px;padding:20px 24px 12px}.appShell main>header{margin-bottom:16px;min-height:40px}.appShell main>header h1{font-size:21px;font-weight:650;margin:4px 0 0;letter-spacing:.1px}.appShell main>header small{font-size:10px;color:#97a3ad}.actions{gap:8px}.actions>button{font-size:12px;padding:7px 11px}.actions #clock{font-size:11px;margin-right:9px}.appShell .bottom{font-size:10px;color:#a1acb5;margin:10px 0 0}button{font-size:12px;padding:7px 12px;border-radius:6px;transition:background .15s,color .15s}button:hover{background:#edf3f4}button.primary:hover{background:#116e66}.primary{background:var(--accent);border-color:var(--accent)}input,select,textarea{font-size:12px;border-color:#dde4e9;border-radius:6px;padding:8px 10px;outline:none}input:focus,select:focus,textarea:focus{border-color:#75b9b1;box-shadow:0 0 0 2px #1582780c}button:focus-visible{outline:2px solid #62b7ad;outline-offset:2px}#compactWorkbench{display:flex;flex-direction:column;gap:12px}.wbModule{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 2px 5px #21313f02}.moduleHeading{height:47px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.moduleHeading h2{font-size:14px;font-weight:650;margin:0;white-space:nowrap}.headingGroup,.moduleActions{display:flex;align-items:center;gap:10px}.moduleActions{gap:7px}.moduleActions>button{font-size:11px;padding:6px 9px}.textButton{border-color:transparent;background:transparent;color:#617785}.textButton:hover{background:#f0f5f5;color:#126f68}.moduleDot{height:7px;width:7px;background:#158278;border-radius:50%}#compactScope{width:167px;margin:0;background:#f9fbfc;border:1px solid #edf0f3;padding:5px 7px;font-size:11px}.sourceChips{display:flex;align-items:center;gap:7px}.connectionChip{color:#748591;border:1px solid #e7ecef;background:#fbfcfd;padding:4px 7px;border-radius:5px;font-size:10px;white-space:nowrap;display:inline-flex;gap:5px;align-items:center}.connectionChip i,.tinyStatus i{width:5px;height:5px;border-radius:50%;background:#9caeb9;display:inline-block}.connectionChip.ok i,.online{background:#30a78d!important}.connectionChip.warn i,.offline{background:#d4a44b!important}.connectionChip.demo{color:#8b7b5b;background:#fcfaf4}.selectionSummary{font-size:10px;color:#9aa6b0;padding:0 16px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#connectionDetails{margin:0;padding:0 16px;border-top:0}#connectionDetails[open]{padding-top:12px;padding-bottom:12px;border-top:1px solid var(--line);background:#fbfcfd}#connectionDetails #globalDataNotice{border:0;background:transparent;color:#8e805e;font-size:11px;padding:0;margin:0 0 8px}#connectionDetails #contextBar{position:static;background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 10px}#connectionDetails .contextItems{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px 0}#connectionDetails .contextItems strong{font-weight:500;font-size:11px}#connectionDetails .contextItems small,#connectionDetails>small{font-size:10px}#connectionDetails .contextTop{gap:7px}#connectionDetails .contextTop label{font-size:11px}#connectionDetails .contextTop select{font-size:11px;width:190px;padding:5px}#connectionDetails .contextTop button{font-size:10px;padding:5px 7px}#connectionDetails #message{font-size:11px;margin:0}#connectionDetails #message p{margin:5px 0}#connectionDetails #message:empty{display:none}.tinyStatus{font-size:10px;color:#99a5af;display:inline-flex;align-items:center;gap:5px}.countPill{background:#f1f5f7;color:#738794;padding:2px 6px;border-radius:4px;font-size:10px}.taskTools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px 10px;flex-wrap:wrap}.segmented{display:flex;gap:3px;align-items:center}.segmented button{background:transparent;border:0;font-size:11px;color:#8a99a3;padding:6px 8px;white-space:nowrap}.segmented button span{font-size:10px;margin-left:4px;opacity:.7}.segmented button.active{color:#147e75;background:#eaf5f2;font-weight:600}.compactFilters{display:flex;gap:7px;align-items:center;margin:0}.compactFilters input,.compactFilters select{margin:0;padding:6px 8px;background:#fff;font-size:11px;height:29px}.compactFilters input{width:187px}.compactFilters select{width:97px}.taskModule table{font-size:11px;table-layout:auto}.taskModule th{height:31px;padding:7px 16px;background:#f8fafb;color:#97a3ad;font-size:10px;border-top:1px solid #f0f3f5}.taskModule td{height:47px;padding:7px 16px;border-bottom:1px solid #f0f3f5;vertical-align:middle}.taskModule td:first-child{width:39%}.taskModule td small{font-size:10px;color:#9ca7b0;margin-top:4px}.taskTitle{padding:0;border:0;background:transparent;color:#354c5a;font-size:12px;font-weight:500;text-align:left;line-height:1.5}.taskTitle:hover{background:transparent;color:#147e75}.taskModule .badge{font-size:10px;padding:3px 6px;font-weight:400}.sourceTag{font-size:10px;color:#91a0aa}.ownerAvatar{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#edf3f5;color:#698491;font-size:10px}.taskPager{height:35px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;color:#a2acb5;font-size:10px}.taskPager>div{display:flex;align-items:center;gap:10px}.taskPager button{font-size:10px;border-color:transparent;background:transparent;color:#8499a5;padding:3px}.compactEmpty{min-height:102px;display:flex;align-items:center;justify-content:center;gap:12px;color:#879aa6;font-size:12px}.compactEmpty>span{display:grid;place-items:center;background:#eff6f3;color:#8bbcaf;width:32px;height:32px;border-radius:50%;font-size:15px}.compactEmpty small{display:block;margin-top:6px;font-size:10px;color:#adb6be}.aiSpark{font-size:18px;color:#148879}.aiModule .moduleHeading{border-bottom:1px solid #f0f3f5}.aiModule #aiThreadSelect{margin:0;padding:4px 7px;font-size:10px;max-width:140px;border-color:transparent;color:#99a4ae;background:transparent}.aiMessages{padding:12px 17px;min-height:123px;max-height:240px;overflow:auto;scroll-behavior:smooth}.assistantWelcome{display:flex;gap:13px;align-items:flex-start;padding:6px 2px}.assistantWelcome>span{color:#42a092;background:#edf7f4;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;font-size:18px;flex-shrink:0}.assistantWelcome strong{font-size:13px;color:#47636f;font-weight:550}.assistantWelcome p{font-size:11px;color:#9ba8b0;margin:5px 0 10px;line-height:1.6}.suggestions{display:flex;gap:7px;flex-wrap:wrap}.suggestions button{font-size:10px;color:#78909e;border:1px solid #e7edf0;background:#fff;padding:6px 9px}.suggestions button:hover{border-color:#b8d9d2;color:#147e75}.aiComposer{margin:0 15px 12px;border:1px solid #e0e8ec;border-radius:8px;background:#fff;overflow:hidden}.composerTools{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 0;gap:7px}.segmented.small button{font-size:10px;padding:5px 8px}.aiComposer textarea{resize:vertical;min-height:58px;max-height:150px;outline:0!important;box-shadow:none!important;border:0;border-radius:0;margin:0;padding:10px 12px;background:transparent;font-size:12px;line-height:1.6}.aiComposer textarea::placeholder{color:#b0bbc3}.composerBottom{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:0 9px 9px}.keyboardHint{font-size:9px;color:#b0bac1;margin-right:auto}.composerBottom .primary{font-size:11px;padding:6px 12px}.aiComposer #aiError{font-size:11px;color:#bd6658;margin:0 10px;line-height:1.7}.aiComposer #aiError:empty{display:none}#modelConsent{display:flex;gap:8px;flex-wrap:wrap;font-size:10px}#modelConsent label{display:flex;align-items:center;gap:4px;font-size:10px;margin:0;color:#8f9ea9}#modelConsent input,.checkLine input{width:auto;margin:0;display:inline-block}.chatRow{display:flex;gap:8px;padding:7px 0}.chatAvatar{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:7px;background:#edf7f4;color:#338d80;font-size:12px}.chatRow.user .chatAvatar{background:#edf1f5;color:#8a9dac}.chatBubble{min-width:0;max-width:95%}.chatBubble>small{font-size:9px;color:#a3afb7}.chatText{font-size:12px;color:#4e6571;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:3px}.chatRow.user .chatText{color:#324c5a}.chatEvidence{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.chatEvidence .evidenceLink{font-size:10px}.chatEvidence small{font-size:10px;display:block;width:100%;color:#b39561}.draftConfirm{font-size:11px;background:#f2f8f5;color:#217e6f;border:1px solid #d9eae2;padding:7px 10px;margin-top:8px}.smallDialog{width:490px;border:1px solid #dbe4e9;border-radius:12px;padding:22px;box-shadow:0 14px 60px #122b3b22}.dialogTitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dialogTitle h2{margin:0;font-size:17px}.dialogTitle button{font-size:20px;border:0;padding:0 3px;background:transparent;color:#95a5af}.smallDialog>p,.smallDialog .muted{font-size:11px;line-height:1.7}.smallDialog label{font-size:11px;margin:12px 0;color:#718793}.smallDialog label input,.smallDialog label textarea,.smallDialog label select{font-size:12px;padding:9px 10px;margin-top:6px}.smallDialog textarea{min-height:94px}.formTwo{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formActions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.checkLine{display:flex;align-items:center;gap:7px}.smallDialog [role="alert"]{font-size:11px;line-height:1.7;color:#b47c56}.visuallyHidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important;margin:-1px!important}#evidenceDrawer{font-size:12px;width:420px}body.drawerOpen main{margin-right:420px}#evidenceDrawer .panel{padding:14px;border:1px solid #e8edf0;box-shadow:none}#evidenceDrawer dl{font-size:11px}#evidenceDrawer h3{font-size:12px}#evidenceDrawer table td{font-size:11px;padding:9px}#workspaceMetaParking:empty{display:none}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#d2dce2;border-radius:5px}
@media(min-width:1600px){.appShell main{padding-left:30px;padding-right:30px}#compactWorkbench{max-width:1500px;margin:0 auto}}@media(max-width:1200px){body.drawerOpen main{margin-right:0}.sourceChips{gap:4px}.connectionChip{font-size:9px;padding:3px 5px}.moduleHeading{padding:0 12px}.headingGroup{gap:7px}.taskTools{padding-left:12px;padding-right:12px}.compactFilters input{width:150px}.compactFilters select{width:85px}.keyboardHint{display:none}}@media(max-width:900px){.appShell>aside{width:160px;padding:22px 10px}.appShell main{margin-left:160px;padding:15px}.sourceChips{display:none}.taskTools{gap:6px}.compactFilters{width:100%}.compactFilters input{flex:1;min-width:80px}.moduleActions .tinyStatus{display:none}.taskModule td,.taskModule th{padding-left:10px;padding-right:10px}.aiModule #aiThreadSelect{max-width:85px}.tinyStatus{font-size:9px}.aiModule .headingGroup{gap:6px}}@media(max-width:650px){.appShell>aside{position:static;width:auto;padding:14px 16px;display:block}.brand{font-size:21px}.brand small{display:none}#appNav{display:flex;gap:4px;margin-top:12px}#appNav>button{height:32px;font-size:11px;padding:0 7px;gap:5px}#appNav>button svg{width:14px;height:14px}#appNav details{margin:0;border:0;padding:0}#appNav summary{font-size:10px;padding:9px 5px}.appShell>aside footer{display:none}.appShell main{margin:0;padding:12px}.actions #clock{display:none}.appShell main>header{display:flex;margin-bottom:12px}.appShell main>header h1{font-size:19px}.actions>button{padding:6px 8px;font-size:10px}.connectionModule .moduleHeading{height:auto;min-height:47px;flex-wrap:wrap;padding-top:9px;padding-bottom:8px;gap:4px}#compactScope{font-size:10px;width:140px}.selectionSummary{font-size:9px;padding-left:12px}.moduleHeading h2{font-size:13px}.moduleActions{gap:2px}.moduleActions>button{font-size:10px;padding:5px 6px}.moduleHeading{padding-left:12px;padding-right:12px}.taskModule .tablewrap{overflow:auto}.taskModule table{min-width:580px}.taskTools{padding-bottom:8px}.segmented button{padding:5px 6px;font-size:10px}.compactFilters select{width:90px}.taskPager{padding:0 12px}.aiModule #aiModelLabel{display:none}.aiModule #aiThreadSelect{max-width:72px}.assistantWelcome p{font-size:10px}.suggestions{gap:5px}.suggestions button{padding:5px;font-size:9px}.aiMessages{padding:10px 12px;max-height:270px}.aiComposer{margin:0 10px 10px}.composerBottom{flex-wrap:wrap}#modelConsent{font-size:9px;gap:4px}#modelConsent label{font-size:9px}.smallDialog{padding:18px;width:94vw}#connectionDetails .contextItems{grid-template-columns:repeat(2,minmax(0,1fr))}.contextTop{flex-wrap:wrap}#evidenceDrawer{width:96vw}.formTwo{grid-template-columns:1fr 1fr}}

.aiModule .moduleActions{flex-shrink:0;white-space:nowrap}.aiModule .moduleActions>button{width:auto;flex-shrink:0}.aiModule #aiThreadSelect{width:140px;flex-shrink:0}

.moduleHeading .moduleSymbol{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;color:var(--accent);font-weight:800;line-height:1}.moduleHeading .moduleSymbol svg{display:block;width:16px;height:16px}#heading[hidden]{display:none}

.wbModule>.moduleHeading h2{font-family:inherit;font-size:14px;font-weight:650;font-style:normal;line-height:1.4;letter-spacing:normal}@media(max-width:650px){.wbModule>.moduleHeading h2{font-size:13px}}

.brand>small{font-family:"Microsoft YaHei",sans-serif;font-size:12px;font-weight:400;font-style:normal;letter-spacing:0;line-height:1.5;text-transform:none}

/* Fluid workbench: wrapping controls must not enlarge the viewport. */
.appShell main{min-width:0;max-width:none}#content,#compactWorkbench,.wbModule{min-width:0;max-width:100%}#compactWorkbench{width:100%;max-width:none}
#compactWorkbench .moduleHeading{height:auto;min-height:47px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
#compactWorkbench .headingGroup,#compactWorkbench .moduleActions{min-width:0;max-width:100%;flex-wrap:wrap}
#compactWorkbench .sourceChips{max-width:100%;flex-wrap:wrap}#compactWorkbench .connectionChip{white-space:normal;overflow-wrap:anywhere}
#compactWorkbench .compactFilters,#compactWorkbench .segmented{max-width:100%;flex-wrap:wrap}#compactWorkbench .compactFilters input{min-width:80px;max-width:100%}
#attentionRows{max-width:100%;overflow-x:auto}#compactWorkbench .selectionSummary{white-space:normal;overflow-wrap:anywhere}
#compactWorkbench .assistantProjectBar{display:flex;flex-wrap:wrap;max-width:100%;gap:6px}#compactWorkbench .assistantProjectBar>*{min-width:0;max-width:100%}
.appShell main>header{gap:10px;flex-wrap:wrap}.appShell main>header>div{min-width:0;max-width:100%}.appShell main>header .actions{flex-wrap:wrap;max-width:100%}
@media(max-width:900px){#compactWorkbench .moduleActions{margin-left:auto}.compactFilters input{flex:1 1 150px}}
@media(max-width:650px){.appShell>aside{height:auto;min-height:0}#appNav{flex-wrap:wrap}#compactWorkbench .moduleActions{margin-left:0}.appShell main{margin-left:0;margin-right:0}.formTwo{grid-template-columns:minmax(0,1fr)}}
