:root{--nav:232px;--accent:#272a29;--line:#e8e9e7;--muted:#858984;color:#292c2a;background:#fff;font-size:13px;line-height:1.6}
.selected-case-name{margin:0 9px 10px 29px;color:var(--muted);font-size:10px;line-height:1.6;overflow-wrap:anywhere;min-height:16px}
button,input,select,textarea{border-radius:6px}button:hover{background:#f1f2f0;border-color:#d7dad5}button.primary:hover{background:#404641}button:focus-visible,a:focus-visible{outline-color:#5c9787}input:focus,select:focus,textarea:focus{outline-color:#8bb8a8}button.primary{background:#2d3932;border-color:#2d3932}h1{font-size:22px}.badge{border-radius:4px;font-size:10px;background:#f0f1ee;color:#737a72}.badge.warn{background:#faf3e5;color:#9a7835}.badge.green{background:#eaf3ed;color:#43755b}.badge.blue{background:#edf1f7;color:#617c9d}.icon-btn{background:transparent;width:30px;height:30px;min-height:30px;padding:6px}svg{width:16px;height:16px;stroke-width:1.65}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sidebar{padding:20px 12px 0;background:#f7f8f6;border-right:1px solid var(--line)}.sidebar .brand{font-size:16px;gap:9px;padding:0 6px;height:28px}.brand b{font-weight:500}.brand-mark,.sidebar .brand-mark{background:#29312c;border-radius:7px;width:27px;height:27px}.brand-mark svg{width:18px;height:18px}.brand .version{font-size:9px;margin-left:0}.sidebar .brand>.icon-btn{margin-left:auto;display:none}.new-analysis{margin:25px 2px 25px;width:calc(100% - 4px);justify-content:flex-start;font-size:12px;min-height:36px;padding:7px 10px;background:white;border-color:#dedfdc;box-shadow:0 1px 2px #11111104}.new-analysis>svg:last-child{margin-left:auto;width:14px;color:#93988e}.nav-label{font-size:10px;margin:6px 10px 8px;color:#92988e;font-weight:500}.nav-label.spaced{margin-top:27px}.case-picker{margin:0 0 6px}.case-select-wrap{display:flex;align-items:center;gap:6px;padding:4px 7px}.case-select-wrap>svg{color:#8b967f;flex:none}.case-picker select{padding:5px 1px;border:0;background:transparent;font-size:12px;font-weight:600;min-width:0;width:100%}.nav-link{font-size:12px;min-height:34px;padding:7px 10px;gap:9px;margin:1px 0;color:#737a72;border-radius:5px}.nav-link svg{width:15px;height:15px}.nav-link.active{color:#303a32;background:#e9ece6;font-weight:550}.nav-count{background:transparent;color:#8b9287;font-size:10px;line-height:17px}.session-heading{display:flex;align-items:center;justify-content:space-between;padding-right:12px;margin-top:27px}.session-heading .nav-label{margin-top:0;margin-bottom:0}.session-empty{font-size:11px;color:#a0a49b;padding:9px 10px}.session-link{border:0;background:transparent;width:100%;display:flex;justify-content:flex-start;color:#7f867b;font-size:11px;padding:7px 10px;min-height:31px;gap:9px}.session-link span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.session-link.active{background:#e9ece6;color:#344737}.sidebar-bottom{padding:30px 0 0}.side-tools .nav-link{font-size:11px;min-height:30px;color:#8a9186}.local-environment{border-top:1px solid var(--line);margin-top:12px;padding:15px 10px;display:flex;align-items:center;gap:7px;color:#7f8879;font-size:10px}.local-environment svg{margin-left:auto;width:12px;height:12px}.status-dot{width:5px;height:5px;background:#5b9d77}.sidebar-user{padding:13px 8px 17px;display:flex;align-items:center;gap:9px;border-top:1px solid var(--line)}.sidebar-user>div{display:flex;flex-direction:column;font-size:10px;color:#93998e}.sidebar-user strong{font-size:11px;font-weight:500;color:#525c50}.sidebar-user .icon-btn{margin-left:auto;color:#8d9586}.avatar{background:#e8ebe3;border-radius:6px;width:29px;height:29px;color:#6f7f62;display:inline-flex}.nav-backdrop{display:none}
.topbar{height:49px;padding:0 24px;gap:12px;position:relative;border-bottom:1px solid var(--line)}.crumb{font-size:11px;gap:9px;min-width:0}.crumb>span{max-width:290px;overflow:hidden;text-overflow:ellipsis}.crumb>svg{width:13px;height:13px;color:#939a8f}.crumb strong{font-weight:400;color:#8d9488}.topbar-right{display:flex;align-items:center;gap:13px;margin-left:auto;flex:none}.connection-state{display:flex;align-items:center;gap:6px;font-size:10px;color:#858d7d}.topbar-right .badge{font-size:9px;background:#f7f3e8;color:#958657}.workspace-tabs{height:43px;display:flex;align-items:stretch;padding:0 24px;gap:24px;border-bottom:1px solid var(--line)}.workspace-tabs button{border:0;border-radius:0;background:none;padding:0 2px;min-height:0;font-size:11px;gap:7px;color:#868f7f;position:relative}.workspace-tabs button[aria-selected=true]{color:#303a2c}.workspace-tabs button[aria-selected=true]:after{content:'';position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#566c4b}.workspace-tabs svg{width:14px;height:14px}.workspace-version{margin-left:auto;align-self:center;font:10px ui-monospace,monospace;color:#a1a69a}.workspace{padding:24px;max-width:none}.workspace.is-agent{padding:0}.page-heading{margin-bottom:22px}.page-heading h1{font-size:20px}.case-meta{font-size:10px}.view-search{display:flex;align-items:center;gap:7px;margin:0 0 18px auto;width:220px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:#92998a}.view-search input{width:100%;border:0;outline:none;padding:6px 0;font-size:11px;background:transparent}.view-search:focus-within{border-color:#91ac8e}.toolbar{font-size:11px}.toolbar select{font-size:11px}.data-layout{border:1px solid var(--line);border-radius:6px;overflow:hidden}.source-panel{background:#fff}.source-head{background:#fafbf9}.source-title{color:#4a5643}.source-content{font-size:12px}.source-footer{background:#fff}.source-footer button{font-size:11px}.source-line{font-size:13px}.source-identity{line-height:2}.source-head h2{display:flex;align-items:center;gap:7px}.dialog-header h2{font-size:15px}.login{max-width:400px;margin:12vh auto 40px}.login .brand{font-size:23px}.login h1{font-size:22px}.login button{min-height:42px}.login .brand-mark{width:32px;height:32px}
.agent-workspace{display:grid;grid-template-columns:minmax(0,1fr) 295px;height:calc(100dvh - 92px);min-height:540px}.agent-main{display:flex;flex-direction:column;min-width:0;min-height:0}.agent-thread-header{height:52px;flex:none;border-bottom:1px solid #f0f1ef;display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:10px}.agent-thread-header>div{display:flex;align-items:center;gap:8px;min-width:0}.agent-thread-header>div>svg{color:#8b9682;width:14px}.agent-thread-header h1{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-thread-header .badge{font-size:9px;line-height:17px;min-height:17px}.agent-thread-header .icon-btn{color:#8e9785}.agent-stream{overflow:auto;min-height:0;flex:1;padding:0 32px 30px;scrollbar-width:thin;scrollbar-color:#e0e3dd transparent;scroll-behavior:smooth}.agent-stream>section,.agent-stream>.quick-tasks,.agent-stream>.user-request{max-width:800px;margin-left:auto;margin-right:auto}.agent-intro{padding:30px 0 24px;text-align:center}.agent-emblem{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;background:#eef2e9;color:#688457;border:1px solid #e7ecdf;border-radius:10px;margin-bottom:11px}.agent-emblem svg{width:22px;height:22px}.intro-kicker{font:9px ui-monospace,monospace;color:#9aab8b;letter-spacing:0;margin-bottom:7px}.agent-intro h2{font-size:24px;line-height:1.5;font-weight:500;color:#384730}.agent-intro p{font-size:11px;color:#8d9784;margin-top:8px}.quick-tasks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:31px}.quick-tasks button{display:grid;grid-template-columns:1fr auto;grid-template-rows:19px auto;gap:8px 3px;text-align:left;justify-items:start;font-size:11px;padding:12px 10px;border:1px solid #e6e9e1;border-radius:6px;background:#fcfdfa;color:#57664b;white-space:normal;min-height:73px}.quick-tasks button>span{grid-row:2;grid-column:1/-1}.quick-tasks button>svg:last-child{grid-row:1;grid-column:2;width:12px;color:#a3ad98}.quick-tasks button:hover{border-color:#a9b99e;background:#f6f9f1}.assistant-identity{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:14px}.assistant-mark{display:flex;align-items:center;justify-content:center;background:#29382b;border-radius:5px;color:white;width:24px;height:24px}.assistant-mark svg{width:14px;height:14px}.assistant-identity strong{font-size:12px;font-weight:600}.assistant-identity>span:not(.assistant-mark){color:#9ba491;font-size:9px}.assistant-identity .response-status{margin-left:auto;display:flex;gap:4px;align-items:center}.response-status svg{width:11px;height:11px}.execution-trace{font-size:10px;color:#8d9783;margin:0 0 17px 32px}.execution-trace summary{cursor:pointer;display:flex;align-items:center;gap:6px;list-style:none}.execution-trace summary::-webkit-details-marker{display:none}.execution-trace summary>svg{width:12px;height:12px}.execution-trace ol{list-style:none;margin:10px 0 0 5px;padding:0 0 0 13px;border-left:1px solid #e2e7dc}.execution-trace li{display:flex;align-items:center;gap:7px;padding:4px 0;font-size:10px}.execution-trace li svg{width:11px;height:11px}.response-title{font-size:14px;font-weight:550;margin-bottom:8px}.response-summary{font-size:11px;line-height:1.9;color:#7c8871;margin-bottom:17px}.agent-results{display:grid;gap:12px}.agent-result{border:1px solid #e4e8de;border-radius:6px;background:#fff;overflow:hidden}.result-heading{display:flex;align-items:center;gap:8px;padding:12px 14px 10px;min-width:0}.result-heading h3{font-size:12px;font-weight:500;overflow-wrap:anywhere;min-width:0}.result-heading>.badge{margin-left:auto;flex:none;font-size:9px}.result-symbol{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;flex:none}.result-symbol svg{width:13px;height:13px}.amber{background:#faf1e2;color:#ad8b50}.mint{background:#edf3e8;color:#739261}.evidence-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:2px 14px 13px;gap:16px}.evidence-quote{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;border:0;border-radius:0;background:transparent;padding:0 0 0 10px;border-left:2px solid #e8ece3;white-space:normal;text-align:left;font-size:11px;font-weight:400;line-height:1.85;color:#738167;gap:6px;min-width:0}.evidence-quote:hover{background:#fafbf8;border-color:#a5b68f}.evidence-quote>span{overflow-wrap:anywhere}.evidence-label{font-size:10px;color:#8c997f;display:flex;align-items:center;gap:6px}.evidence-label b{font:9px ui-monospace,monospace;background:#f0f3eb;color:#7d926d;padding:0 4px;border-radius:2px}.evidence-label svg{margin-left:auto;width:11px;height:11px}.result-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #f0f2ec;padding:7px 14px;background:#fcfdfa;font-size:9px;color:#939e88}.result-footer>span{min-width:0;overflow-wrap:anywhere}.text-action{background:none;border:0;padding:2px 0;min-height:25px;font-size:10px;color:#748966;gap:4px}.text-action:hover{background:none;color:#354d29}.text-action svg{width:12px;height:12px}.result-description{padding:0 14px 12px;color:#87937b;font-size:11px;overflow-wrap:anywhere}.expand-results{width:100%;border:0;background:none;font-size:10px;color:#8d9c7f;margin-top:7px;padding:5px;min-height:28px}.expand-results svg{width:12px;height:12px}.response-footer{display:flex;align-items:center;justify-content:space-between;margin-top:13px;font-size:9px;color:#a0aa95}.response-footer>span{display:flex;align-items:center;gap:5px}.response-footer svg{width:11px;height:11px}.agent-no-results{display:flex;justify-content:center;align-items:center;gap:8px;min-height:110px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#909b84;font-size:12px}.user-request{display:flex;gap:12px;padding:25px 0 26px;border-bottom:1px solid var(--line);margin-bottom:27px}.request-avatar{width:27px;height:27px;border-radius:6px;display:flex;align-items:center;justify-content:center;background:#edf1e7;color:#788b66;flex:none;font-size:11px}.user-request p{margin-top:5px;font-size:13px;overflow-wrap:anywhere}.user-request .small{font-size:10px}
.composer-dock{flex:none;padding:14px 32px 12px;background:#fff;border-top:1px solid #f3f4ef}.agent-composer{max-width:800px;margin:0 auto;border:1px solid #dfe5d7;border-radius:8px;box-shadow:0 3px 16px #293c1905;background:#fff;overflow:hidden}.agent-composer:focus-within{border-color:#9aaf89;box-shadow:0 0 0 2px #77975c0b}.agent-composer textarea{border:0;outline:none;box-shadow:none;resize:none;min-height:63px;height:63px;font-size:12px;padding:13px 15px 4px;display:block;background:transparent;line-height:1.7}.agent-composer textarea::placeholder{color:#a2ab98}.composer-controls{display:flex;align-items:center;justify-content:space-between;padding:2px 10px 9px;gap:8px}.composer-context,.composer-actions{display:flex;align-items:center;gap:6px;color:#98a18d;font-size:10px;min-width:0}.composer-context .icon-btn{width:26px;height:26px;min-height:26px}.composer-context svg{width:14px}.composer-actions select{border:0;padding:3px;font-size:10px;color:#7e8e6e;max-width:104px;background:transparent}.send-button{background:#34442d;color:white;border:0;width:28px;height:28px;min-height:28px;padding:5px;border-radius:6px}.send-button:hover{background:#4c6341}.send-button svg{width:16px;height:16px}.composer-disclaimer{display:flex;justify-content:space-between;gap:12px;max-width:800px;margin:9px auto 0;font-size:9px;color:#a0a996}.composer-disclaimer>span:first-child{display:flex;align-items:center;gap:5px}.composer-disclaimer svg{width:11px;height:11px}
.agent-right{min-width:0;overflow:auto;border-left:1px solid var(--line);background:#fcfdfb;scrollbar-width:thin}.agent-context{min-height:100%;display:flex;flex-direction:column}.context-heading{height:52px;display:flex;align-items:center;gap:7px;padding:0 18px;border-bottom:1px solid #f0f2ec}.context-heading>svg{width:13px;height:13px;color:#929e84}.context-heading h2{font-size:11px;font-weight:500}.context-heading .badge{margin-left:auto;font-size:9px;background:transparent}.context-section{padding:19px 18px;border-bottom:1px solid #edf0e8}.context-case{display:flex;gap:8px;align-items:center;font-size:12px;margin-bottom:6px;color:#536547}.context-case svg{width:15px;height:15px;color:#899c78}.context-section .mono{font-size:9px;color:#a4ae97}.context-stats{display:flex;margin-top:18px;gap:25px}.context-stats span{display:flex;flex-direction:column;font-size:9px;color:#9aa58d;gap:2px}.context-stats b{font:18px ui-monospace,monospace;color:#536b41}.context-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:8px}.context-title h3{font-size:10px;font-weight:500;color:#838f76}.context-title>svg{width:13px;height:13px;color:#a0ae90}.context-file{width:100%;background:transparent;border:0;border-radius:0;padding:11px 0;justify-content:flex-start;gap:8px;text-align:left;white-space:normal;font-weight:400}.context-file>svg:first-child{width:14px;height:14px;color:#9aaa88;align-self:flex-start;margin-top:3px}.context-file>svg:last-child{width:12px;height:12px;color:#adb7a1;margin-left:auto}.context-file>span{font-size:10px;overflow-wrap:anywhere;color:#6f805f;min-width:0}.context-file small{display:block;font-size:9px;color:#a1ae94;margin-top:3px}.context-status{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:10px;color:#99a28d}.context-status b{font-weight:400;color:#61754f}.context-status .amber-text{color:#aa8b55}.dataset-reference summary{font-size:10px;color:#9ba68f;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.dataset-reference summary>svg{width:12px;height:12px}.dataset-reference img{display:block;width:100%;margin:14px 0 6px;border:1px solid var(--line)}.dataset-reference .small{font-size:9px}.dataset-reference .small{font-size:9px}.context-boundary{margin-top:auto;display:flex;gap:6px;align-items:center;padding:19px 18px;color:#a4af97;font-size:9px}.context-boundary svg{width:11px;height:11px}.agent-right .source-panel{min-height:100%;border:0;display:flex;flex-direction:column}.agent-right .source-head{height:52px;background:#fcfdfb;flex:none}.agent-right .source-head h2{font-size:11px}.agent-right .source-content{max-height:none;flex:1;padding:17px 14px}.agent-right .source-footer{position:sticky;bottom:0}.agent-right .source-line{font-size:12px;grid-template-columns:18px minmax(0,1fr)}.agent-right .source-title{font-size:11px}.agent-right .source-identity .mono{font-size:9px}.agent-right-preview-focus{min-height:0;overflow:hidden;display:flex;flex-direction:column}.agent-right-preview-focus>.source-panel{flex:1;min-height:0;overflow:hidden}.agent-right-preview-focus .source-content{overflow:auto;min-height:0}
@media(min-width:1181px){.agent-workspace.context-collapsed{grid-template-columns:minmax(0,1fr)}.context-collapsed .agent-right{display:none}}
@media(max-width:1300px){:root{--nav:216px}.agent-workspace{grid-template-columns:minmax(0,1fr) 260px}.agent-stream{padding-left:24px;padding-right:24px}.composer-dock{padding-left:24px;padding-right:24px}.quick-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-tasks button{display:flex;min-height:41px;padding:8px 11px;gap:8px;align-items:center}.quick-tasks button>svg:last-child{margin-left:auto}.agent-intro{padding-top:24px}.context-section{padding:17px 15px}}
@media(max-width:1180px){.agent-workspace{grid-template-columns:minmax(0,1fr)}.agent-right{display:none}.agent-right.mobile-open{display:block;position:fixed;top:144px;bottom:12px;right:12px;width:350px;max-width:calc(100vw - 28px);z-index:25;border:1px solid #dfe5d7;border-radius:7px;box-shadow:0 8px 35px #3043201a}.agent-context{background:#fcfdfb}.agent-intro{padding-top:32px}.quick-tasks{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-tasks button{display:grid;min-height:70px}.agent-stream{padding-left:40px;padding-right:40px}.composer-dock{padding-left:40px;padding-right:40px}}
@media(max-width:760px){:root{--nav:232px}.sidebar{visibility:hidden;padding-top:19px}.show-nav .sidebar{visibility:visible;box-shadow:none}.sidebar .brand>.icon-btn{display:flex}.show-nav .nav-backdrop{display:block;position:fixed;inset:0;z-index:29;border:0;border-radius:0;background:#20251c38;width:100%;height:100%;min-height:0}.sidebar-user .avatar{display:inline-flex}.topbar{padding:0 12px;height:48px;gap:7px}.topbar .mobile-toggle{display:flex}.crumb{gap:5px;font-size:10px}.crumb>span{display:none}.crumb>svg{display:none}.topbar-right{gap:6px}.connection-state{font-size:9px}.workspace-tabs{height:42px;padding:0 17px;gap:24px}.workspace-tabs button{font-size:10px}.workspace-tabs svg{width:13px}.workspace-version{font-size:9px}.workspace{padding:19px 16px}.agent-workspace{height:calc(100dvh - 90px);min-height:470px}.agent-thread-header{height:43px;padding:0 16px}.agent-thread-header h1{font-size:11px}.agent-thread-header .badge{font-size:8px}.agent-stream{padding:0 17px 22px}.agent-intro{padding:23px 0 19px}.agent-emblem{width:32px;height:32px;border-radius:7px;margin-bottom:8px}.agent-emblem svg{width:18px;height:18px}.intro-kicker{font-size:8px}.agent-intro h2{font-size:20px}.agent-intro p{font-size:10px}.quick-tasks{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:24px}.quick-tasks button{display:flex;min-height:39px;font-size:10px;padding:8px;gap:5px}.quick-tasks svg{width:13px;height:13px}.quick-tasks button>svg:last-child{width:10px}.assistant-identity{font-size:10px}.assistant-identity strong{font-size:11px}.execution-trace{margin-left:0;font-size:9px}.response-title{font-size:13px}.response-summary{font-size:10px}.evidence-pair{grid-template-columns:minmax(0,1fr);gap:12px;padding-left:12px;padding-right:12px}.result-heading{padding:11px 12px 8px}.result-heading h3{font-size:11px}.result-footer{padding:6px 12px;font-size:8px}.result-footer .text-action{font-size:9px;flex:none}.evidence-quote{font-size:10px}.evidence-label{font-size:9px}.composer-dock{padding:10px 14px 9px}.agent-composer textarea{font-size:11px;min-height:52px;height:52px;padding:10px 12px 2px}.composer-context{font-size:9px}.composer-actions select{font-size:9px}.composer-disclaimer{font-size:8px;gap:4px;margin-top:7px}.composer-controls{padding-bottom:7px}.agent-right.mobile-open{top:133px;bottom:10px;right:10px;width:calc(100vw - 20px);max-width:none}.source-footer{padding:11px}.view-search{width:180px}.page-heading h1{font-size:20px}.agent-no-results{min-height:90px}.response-footer{font-size:8px}.user-request{padding:20px 0;margin-bottom:23px}.user-request p{font-size:12px}}
@media(max-width:360px){.connection-state{display:none}.agent-intro h2{font-size:18px}.quick-tasks button{font-size:9px}.composer-disclaimer{font-size:7px}.workspace-tabs{gap:20px}}
@media(prefers-reduced-motion:no-preference){.agent-response{animation:appear .18s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}
.agent-intro h2{color:#303436}.agent-intro p,.response-summary,.evidence-quote,.result-description{color:#62696c}.response-summary,.evidence-quote{font-size:13px}.evidence-label{font-size:11px;color:#8b9292}.result-heading h3{font-size:13px}.result-footer,.response-footer,.composer-disclaimer{color:#92999a}.quick-tasks button{font-size:12px;color:#596367;background:#fcfdfc}.quick-tasks button>svg:first-child{color:#778779}.assistant-identity strong{font-size:13px}.assistant-identity>span:not(.assistant-mark){color:#91999a;font-size:10px}.execution-trace{font-size:11px;color:#92999a}.response-title{font-size:15px}.agent-composer textarea{font-size:13px;color:#555d60}.agent-composer textarea::placeholder{color:#9ba2a3}.composer-context{color:#949c9b;font-size:11px}.composer-actions select{color:#7e8888;font-size:11px}.composer-disclaimer{font-size:10px}.context-case{color:#566063}.context-stats b{color:#56616a}.context-stats span,.context-section .mono,.context-title h3,.context-status,.dataset-reference summary,.context-boundary{color:#90999a}.context-file>span{color:#697477;font-size:11px}.context-file small{color:#a0a7a7;font-size:10px}.context-status{font-size:11px}.context-status b{color:#667579}.context-status .amber-text{color:#a48c52}.context-heading h2,.context-title h3{font-size:12px}.text-action{color:#71838a;font-size:11px}.nav-link{font-size:13px;color:#757e7e}.nav-link.active{color:#394345;background:#e9edeb}.session-link{font-size:12px;color:#85908f}.crumb{font-size:12px;color:#9ba1a0}.workspace-tabs button{font-size:12px;color:#858f90}.agent-thread-header h1{font-size:13px}.agent-thread-header>div>svg{color:#92a1a1}.context-file>svg:first-child{color:#88a1ae}.evidence-quote{border-left-color:#e1e8ed}.evidence-label b{background:#edf2f6;color:#7b8f9f}.agent-emblem{background:#edf3f0;color:#618776}.agent-right{background:#fcfdfc}.context-boundary{font-size:10px}.sidebar-user strong{font-size:12px}.new-analysis{font-size:13px}
@media(max-width:760px){.agent-intro h2{font-size:20px}.response-summary,.evidence-quote,.agent-composer textarea{font-size:12px}.quick-tasks button{font-size:11px}.result-heading h3{font-size:12px}.evidence-label{font-size:10px}.assistant-identity strong{font-size:12px}.execution-trace{font-size:10px}.composer-context{font-size:10px}.composer-disclaimer{font-size:9px}.composer-actions select{font-size:10px}.agent-thread-header h1{font-size:12px}.result-footer .text-action{font-size:10px}.crumb{font-size:11px}}

/* Codex-style inline capability panels and collapsible context sections. */
.agent-main{position:relative}
.context-section{margin:0}
.context-section>summary{list-style:none;cursor:pointer;user-select:none}
.context-section>summary::-webkit-details-marker{display:none}
.context-section>summary .context-disclosure-icon{display:inline-flex;margin-left:5px;transition:transform .18s ease}
.context-section[open]>summary .context-disclosure-icon{transform:rotate(0deg)}
.context-section:not([open])>summary .context-disclosure-icon{transform:rotate(-90deg)}
.context-title>span{display:inline-flex;align-items:center;color:#a0ae90}
.context-title>span>svg:first-child{width:13px;height:13px}
.context-title .context-disclosure-icon svg{width:11px;height:11px}
.context-inline-action{display:flex;justify-content:flex-end;margin:-2px 0 4px}
.context-ability.is-open{background:#fff0ed;color:#b71913}
.context-ability.is-open .context-ability-icon{background:#fff;color:#d71914}
.agent-inline-panel{margin:18px auto 0;max-width:960px;border:1px solid #e5e8eb;border-radius:10px;background:#fff;box-shadow:0 8px 28px rgba(35,45,53,.08);overflow:hidden}
.agent-inline-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid #edf0f2;background:#fffafa}
.agent-inline-panel-head h2{font-size:15px;color:#303a40}
.inline-panel-kicker{display:block;margin-bottom:2px;color:#c54c42;font-size:9px;letter-spacing:.04em}
.inline-panel-close{min-height:28px;padding:4px 9px;border:1px solid #efc8c2;border-radius:5px;background:#fff;color:#be2b22;font-size:10px}
.inline-panel-close:hover{background:#fff0ed;border-color:#d71914}
.inline-panel-close svg{width:13px;height:13px}
.agent-inline-panel-body{max-height:min(62vh,650px);overflow:auto;padding:0 17px 18px;scrollbar-width:thin}
.agent-inline-panel-body>.page-heading{margin:0;padding:16px 0 12px;border-bottom:1px solid #edf0f2}
.agent-inline-panel-body>.page-heading .actions{display:none}
.agent-inline-panel-body>.relation-banner,.agent-inline-panel-body>.story-banner{margin-top:14px}
.agent-inline-panel-body>.relation-layout{margin-top:14px}
.agent-inline-panel-body>.relation-edge-list{margin-bottom:0}
.agent-inline-panel-body>.empty{padding:44px 20px}
.agent-inline-panel-body .relation-canvas{height:min(54vh,500px)}

/* 平台工作台与案件上下文卡片 */
.shell{background:#f7f8fa;grid-template-columns:248px minmax(0,1fr)}
.sidebar{width:248px;background:#fff;border-right:1px solid #e7e9ec;padding:20px 13px 14px}
.main{background:#f7f8fa;min-height:100vh}
.brand-name{color:#b91511;font-size:15px}.brand-name>span{color:#5f666d}
.new-analysis{height:40px;margin:20px 2px 8px;border-color:#efd0cb;background:#fff8f6;color:#ad1f18;box-shadow:0 4px 12px #d719140c}
.rail-section{margin-top:17px}.rail-workspace{margin-top:14px}.rail-section .nav-label{color:#9aa1a7;font-size:10px;letter-spacing:.04em}
.nav-link{min-height:36px;color:#68727a}.nav-link.active{background:#fff0ed;color:#c01812}.nav-link.active>svg{color:#d71914}
.project-list{max-height:270px}.project-item{min-height:48px}.project-item.active{background:#fff0ed;color:#b71913}.project-item.active .project-mark{color:#d71914}.project-count{background:#fff0ed;color:#bd4e43}
.topbar{height:58px;background:#fff;border-bottom-color:#e7e9ec;padding:0 27px}.topbar-right{gap:8px}.topbar-right .icon-btn{color:#9ba3aa}.crumb{color:#7d878e}.crumb strong{color:#394249}
.workspace{padding:26px 30px 42px;max-width:1500px}.workspace.is-agent{padding:0}.page-heading{margin-bottom:22px}.eyebrow{color:#88929a}.page-heading h1{color:#262f35}
.agent-workspace{height:calc(100dvh - 58px);background:#f7f8fa;grid-template-columns:minmax(0,1fr) 338px}.agent-main{background:#f7f8fa}.agent-thread-header{height:62px;background:#fff;border-bottom-color:#e7e9ec;padding:0 30px}.agent-thread-header h1{font-size:14px;color:#2f383e}.agent-thread-header .icon-btn{color:#a1a9af}.thread-case-members{display:inline-flex;align-items:center;gap:3px;margin-left:5px;min-width:0}.thread-case-members i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#fde7e3;color:#b94a40;font-style:normal;font-size:10px;border:2px solid #fff}.thread-case-members small{margin-left:3px;color:#929ba1;font-size:10px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agent-stream{padding-left:clamp(24px,7vw,100px);padding-right:clamp(24px,7vw,100px)}.agent-intro{padding-top:52px}.agent-intro h2{font-size:28px;color:#2d353a}.intro-kicker{color:#d05a4d}.agent-emblem{background:#fff0ed;color:#d71914;border:1px solid #f5d5d0;border-radius:12px}
.quick-tasks button{border-color:#e4e7eb;background:#fff;color:#4c5961;box-shadow:0 2px 8px #26343d06}.quick-tasks button:hover{border-color:#edb3ab;background:#fff8f6}.quick-tasks button>svg:first-child{color:#d71914}
.agent-response{background:#fff;border:1px solid #e5e8eb;border-radius:10px;padding:20px 22px;box-shadow:0 4px 16px #303d4507}.assistant-identity{margin-bottom:15px}.assistant-mark{background:#fff0ed}.assistant-identity strong{color:#343e44}.response-title{font-size:17px;color:#283238}.response-summary{color:#66747c}.agent-result{border-color:#e4e8eb;border-radius:8px}.result-footer{background:#fafbfc;border-top-color:#edf0f2}.evidence-quote{color:#5e6d75}.agent-no-results{border-color:#edf0f2}
.composer-dock{background:#f7f8fa;border-top:1px solid #e6e9eb;padding:16px clamp(24px,7vw,100px) 15px}.agent-composer{max-width:900px;border-color:#d8dee3;box-shadow:0 5px 20px #24323b0b}.agent-composer:focus-within{border-color:#d9796f;box-shadow:0 0 0 3px #d7191412}.agent-composer textarea{min-height:72px;height:72px;font-size:14px}.agent-composer textarea::placeholder{color:#a4adb3}.send-button{background:#d71914}.send-button:hover{background:#b9120e}
.agent-right{background:#fff;border-left-color:#e5e8eb}.agent-context{background:#fff}.context-heading{height:62px;border-bottom-color:#e9ecef;padding:0 20px}.context-heading h2{font-size:13px;color:#3e484f}.context-section{padding:17px 20px;border-bottom-color:#edf0f2}.context-case{color:#343f46}.context-case svg{color:#d71914}.context-stats{gap:22px}.context-stats b{color:#343f46}.context-title h3{font-size:12px;color:#5d6870}.context-ability{padding:8px 4px}.context-ability:hover{background:#fff5f2}.context-ability-icon{background:#fff0ed;color:#d71914}.context-ability strong{font-size:11px;color:#45515a}.context-ability small{font-size:10px;color:#8f9aa1}.context-material-group{border-color:#edf0f2}.context-material-group-head>svg{color:#d35c50}.context-material-empty{padding:7px 0;color:#a4adb2;font-size:10px}.context-member-avatar{background:#fff0ed;color:#c34b41}.context-member-summary strong{color:#58656d}.context-status{color:#7e898f}.context-status b{color:#4b5961}.context-boundary{color:#9ba4aa;padding:17px 20px}
.catalog-intro{padding:19px 22px;background:#fff;border:1px solid #e4e8eb;border-radius:10px;margin-bottom:18px}.catalog-kicker{display:block;color:#d05a4d;font-size:10px;letter-spacing:.08em;margin-bottom:5px}.catalog-intro h2{font-size:18px;color:#2d373d}.catalog-intro p{font-size:12px;color:#89949a;margin-top:6px}.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.skill-card{display:flex;gap:14px;padding:18px;background:#fff;border:1px solid #e4e8eb;border-radius:10px;min-width:0}.skill-icon,.knowledge-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:#fff0ed;color:#d71914}.skill-icon svg,.knowledge-icon svg{width:19px;height:19px}.skill-card-body{min-width:0;flex:1}.skill-card-title{display:flex;align-items:center;gap:8px}.skill-card-title h3{font-size:14px;color:#364148}.skill-card-body>p{font-size:12px;color:#78858c;line-height:1.7;margin:7px 0}.skill-card dl{display:grid;grid-template-columns:1fr;gap:4px;border-top:1px solid #eef0f2;padding-top:9px}.skill-card dl div{display:flex;gap:8px;font-size:10px}.skill-card dt{width:54px;color:#9ba4aa;flex:none}.skill-card dd{margin:0;color:#59666d;overflow-wrap:anywhere}.skill-card button,.knowledge-card button{margin-top:11px;border:0;padding:0;background:transparent;color:#c21b14;font-size:11px}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.knowledge-card{padding:18px;background:#fff;border:1px solid #e4e8eb;border-radius:10px}.knowledge-card-head{display:flex;align-items:center;gap:11px}.knowledge-card-head h3{font-size:14px;color:#364148}.knowledge-card-head span:not(.knowledge-icon){display:block;color:#9aa4aa;font-size:10px;margin-top:2px}.knowledge-card>p{font-size:12px;color:#78858c;line-height:1.8;margin:14px 0 17px}.knowledge-card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef0f2;padding-top:10px;color:#9ba4aa;font-size:10px}.knowledge-card-foot button{margin-top:0}.task-list-panel{background:#fff;border:1px solid #e4e8eb;border-radius:10px;overflow:hidden}.task-list-head{display:flex;align-items:center;justify-content:space-between;padding:18px 21px;border-bottom:1px solid #eef0f2}.task-list-head h2{font-size:17px;color:#354149}.task-list-head>span{font-size:11px;color:#98a2a8}.task-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;border:0;border-bottom:1px solid #f0f2f3;border-radius:0;text-align:left;background:#fff}.task-row:hover{background:#fff8f6}.task-row-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fff0ed;color:#d71914}.task-row-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.task-row-main strong{font-size:12px;color:#46525a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-row-main small{font-size:10px;color:#9aa4aa}.task-row>svg{width:14px;color:#b0b8bd}.task-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:280px;color:#9aa4aa;text-align:center}.task-empty svg{width:30px;height:30px;color:#d47a6d}.task-empty h3{font-size:15px;color:#66737a}.task-empty p{font-size:12px}.task-empty.compact{min-height:180px;border:0}.task-empty button{margin-top:7px}
@media(max-width:900px){.skill-grid,.knowledge-grid{grid-template-columns:1fr}.workspace{padding:22px 18px 35px}.agent-thread-header{padding:0 18px}.thread-case-members small{display:none}}
@media(max-width:760px){.shell{display:block}.sidebar{width:248px}.workspace{padding:18px 14px 28px}.agent-workspace{height:calc(100dvh - 48px)}.agent-thread-header{height:52px;padding:0 14px}.agent-stream{padding:0 15px 20px}.agent-intro{padding-top:28px}.agent-intro h2{font-size:22px}.agent-response{padding:16px 14px}.composer-dock{padding:10px 14px 9px}.agent-composer textarea{height:60px;min-height:60px}.catalog-intro{padding:16px}.skill-card{padding:14px}.knowledge-card{padding:15px}}

/* 三屏案件工作区：左侧平台导航、中屏研析对话、右侧卷宗与预览。 */
@media(min-width:1181px){
  .agent-workspace{grid-template-columns:minmax(0,1fr) minmax(348px,410px);}
  /* Codex 式来源工作区：默认展示来源列表，打开文件后整栏切换为预览。 */
  .agent-right{display:flex;flex-direction:column;overflow:hidden;background:#fff;}
  .agent-right-materials,.agent-right-preview{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;}
  .agent-right-materials>.agent-context{min-height:0;overflow:auto;}
  .agent-right-preview{background:#fff;}
  .agent-pane-head{height:54px;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px;border-bottom:1px solid #e9ecef;background:#fff;}
  .agent-pane-head h2{margin:0;color:#3e484f;font-size:13px;font-weight:600;}
  .agent-pane-kicker{display:block;margin-bottom:1px;color:#bd3028;font-size:9px;line-height:1.2;}
  .agent-pane-count{color:#9aa4aa;font-size:10px;}
  .agent-preview-head{flex:none;}
  .agent-preview-head .icon-btn{width:25px;height:25px;min-height:25px;padding:5px;color:#9aa4aa;}
  .agent-right-preview-focus .agent-pane-head{height:76px;min-height:76px;padding:0 18px;background:#fff;}
  .agent-preview-title{display:flex;flex-direction:column;min-width:0;gap:2px;}
  .agent-preview-title h2{display:flex;align-items:center;gap:7px;min-width:0;max-width:285px;}
  .agent-preview-title h2>svg{width:15px;height:15px;flex:none;color:#d71914;}
  .agent-preview-title h2>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .agent-preview-title small{color:#9aa4aa;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .agent-preview-actions{display:flex;align-items:center;gap:5px;flex:none;}
  .agent-right-preview>.source-panel{flex:1;min-height:0;overflow:hidden;}
  .agent-right-preview>.source-panel>.source-head{display:none;}
  .agent-right-preview .source-content{overflow:auto;min-height:0;padding:14px 16px;}
  .agent-right-preview .source-footer{flex:none;}
  .agent-preview-empty{display:flex;flex:1;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:24px;text-align:center;color:#a1a9ae;}
  .agent-preview-empty span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff0ed;color:#d71914;}
  .agent-preview-empty span svg{width:18px;height:18px;}
  .agent-preview-empty strong{font-size:11px;color:#68747b;font-weight:500;}
  .agent-preview-empty small{font-size:10px;line-height:1.6;}
}

/* Codex 风格平台侧栏：平台入口保持稳定，案件项目直接切换。 */
.rail-section{margin-top:18px}.rail-section .nav-label{margin-top:0;margin-bottom:6px}.rail-workspace{margin-top:24px}.rail-section .nav-link{position:relative}.rail-section .nav-link>svg:last-child{width:13px;height:13px;margin-left:auto;color:#a3aaa5}.rail-section .nav-link.active>svg:last-child{color:inherit}.rail-projects{margin-top:20px}.rail-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px 6px 0}.rail-section-head .nav-label{margin:0}.rail-section-actions{display:flex;align-items:center;gap:2px}.rail-section-action{width:25px;height:25px;min-height:25px;padding:5px;border:0;background:transparent;color:#89968c}.rail-section-action:hover{background:#e8efeb;border-color:transparent}.rail-section-action svg{width:14px;height:14px}.project-list{display:flex;flex-direction:column;gap:3px;max-height:245px;overflow:auto;padding-right:2px}.project-item{display:flex;align-items:center;gap:8px;width:100%;min-height:43px;padding:7px 8px;border:0;border-radius:6px;background:transparent;text-align:left;color:#6d7972}.project-item:hover{background:#eaf1ed;border-color:transparent}.project-item.active{background:#dfece5;color:#145e53}.project-mark{position:relative;display:flex;align-items:center;justify-content:center;width:22px;height:25px;color:#8b9b8d;flex:none}.project-item.active .project-mark{color:#287763}.project-mark>svg{width:16px;height:16px}.project-active-dot{position:absolute;right:0;bottom:1px;width:5px;height:5px;border-radius:50%;background:#d71914;border:1px solid #fff}.project-copy{display:flex;flex-direction:column;min-width:0;gap:1px}.project-copy strong{font:600 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}.project-copy span{font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-count{margin-left:auto;min-width:18px;height:18px;line-height:18px;border-radius:9px;background:#f7e9dd;color:#a46b46;text-align:center;font-size:9px}.project-empty,.session-empty{padding:7px 9px;color:#a0aaa3;font-size:10px}.rail-catalog-item{display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:7px 12px;border:0;border-radius:5px;background:transparent;color:#78827c;text-align:left;font-size:11px}.rail-catalog-item:hover{background:#eaf1ed;border-color:transparent;color:#3c6052}.rail-catalog-item svg{width:15px;height:15px;color:#8a9b91}.rail-recent{margin-top:18px}.rail-section-count{font-size:10px;color:#9ba69f}.sidebar-bottom{padding-top:16px}.sidebar-user{padding-top:13px}.case-dashboard-host{padding-top:0}
.context-case-link{margin-top:13px;padding:0;font-size:10px}.context-capabilities{padding-bottom:12px}.context-ability-list{display:flex;flex-direction:column;gap:4px}.context-ability{display:flex;align-items:center;gap:8px;width:100%;padding:7px 3px;border:0;background:transparent;text-align:left;color:#667477;border-radius:4px}.context-ability:hover{background:#f1f5f3;border-color:transparent}.context-ability>svg{width:12px;height:12px;margin-left:auto;color:#a5afb0}.context-ability-icon{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:5px;background:#eef3f4;color:#708c95;flex:none}.context-ability-icon svg{width:13px;height:13px}.context-ability span:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:1px}.context-ability strong{font-size:10px;font-weight:500}.context-ability small{font-size:9px;color:#9aa4a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-material-groups{display:flex;flex-direction:column;gap:7px}.context-material-group{border:1px solid #edf0ed;border-radius:5px;background:#fff;padding:7px 8px}.context-material-group-head{display:flex;align-items:center;gap:6px;color:#7b8888;font-size:10px}.context-material-group-head>svg{width:13px;height:13px;color:#899fa5}.context-material-group-head b{margin-left:auto;font-size:10px;color:#8d9b9a;font-weight:500}.context-material-group .context-file{padding:7px 0 1px;margin-top:5px;border-top:1px solid #f1f3f2}.context-material-group .context-file>span{font-size:10px}.context-empty{padding:5px 0;color:#a1a9a8;font-size:10px}.context-members .context-title{margin-bottom:8px}.context-member-summary{display:flex;align-items:center;gap:8px;min-width:0}.context-member-avatar{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:#edf1ed;color:#718379;font-size:11px;flex:none}.context-member-summary>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.context-member-summary strong{font-size:10px;font-weight:500;color:#6b7778;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-member-summary small{font-size:9px;color:#a0a8a8}
/* 案件项目进度 */
.project-progress{display:block;height:3px;width:100%;margin-top:3px;border-radius:3px;background:#edf0ee;overflow:hidden}.project-progress i{display:block;height:100%;border-radius:3px;background:#d71914}.project-progress-label{font-size:9px!important;color:#99a39e!important}.project-count{flex:none}
.context-member-list{display:flex;flex-direction:column;gap:9px}.context-member-row{display:flex;align-items:center;gap:8px;min-width:0}.context-member-row>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.context-member-row strong{font-size:10px;font-weight:500;color:#6b7778;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.context-member-row small{font-size:9px;color:#a0a8a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){
  .agent-right-preview-focus .agent-pane-head{display:flex;align-items:center;justify-content:space-between;gap:10px;height:64px;min-height:64px;padding:0 14px;border-bottom:1px solid #e9ecef;background:#fff}
  .agent-preview-title{display:flex;flex-direction:column;min-width:0;gap:2px}
  .agent-preview-title h2{display:flex;align-items:center;gap:6px;min-width:0;max-width:calc(100vw - 110px);font-size:12px;color:#3e484f}
  .agent-preview-title h2>svg{width:14px;height:14px;flex:none;color:#d71914}
  .agent-preview-title h2>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .agent-preview-title small{color:#9aa4aa;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .agent-preview-actions .icon-btn{width:25px;height:25px;min-height:25px;padding:5px;color:#9aa4aa}
}
