@font-face{font-family:LocalSans;src:local('Microsoft YaHei')}*{box-sizing:border-box}body{margin:0;background:#f7f8f5;color:#243b3b;font-family:Inter,LocalSans,'PingFang SC',system-ui,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-color:#318a7d}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:#167c70;text-decoration:none}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;background:#143e3b;color:#d0e1da;display:flex;flex-direction:column;padding:32px 20px 16px;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:#f8fbf7;font-size:25px;font-weight:600;letter-spacing:2px;padding:0 8px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #a5c8b5;border-radius:11px;background:#204a42;font-size:22px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#a7c4b6;margin-top:4px}.new-button{margin:35px 0 30px;border:1px solid #658f78;background:#deeccf;color:#234139;padding:12px 18px;border-radius:7px;text-align:left;font-weight:600;display:flex;gap:20px}.new-button span{font-size:20px;line-height:18px}.new-button:hover{background:#f0f5dc}.nav-caption{color:#92b4a9;font-size:11px;letter-spacing:1px;display:flex;justify-content:space-between;padding:0 8px}.searchbox{display:flex;align-items:center;gap:8px;margin:14px 0;background:#0e3432;border:1px solid #2b5350;border-radius:6px;padding:7px 10px}.searchbox input{border:0;background:transparent;color:#ecf4ed;width:100%;font-size:12px}.searchbox input::placeholder{color:#7eaaa0}#task-list{flex:1;overflow:auto;margin:0 -6px;padding:0 4px}.task-item{display:block;width:100%;text-align:left;border:0;background:none;color:#c6dbd1;border-radius:6px;margin:4px 0;padding:12px;line-height:1.65}.task-item:hover{background:#234e46}.task-item.selected{background:#2a574b;color:#fff}.task-item strong{font-size:12px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-item small{font-size:10px;color:#91b3a4;display:block;margin-top:6px}.empty-nav{font-size:12px;color:#88aa9e;text-align:center;padding:24px 0;line-height:1.9}.sidebar-bottom{border-top:1px solid #34584f;padding:18px 6px 0;font-size:10px;display:flex;align-items:center;gap:7px;margin-top:15px}.sidebar-bottom button{border:0;color:#aacbb9;background:none;margin-left:auto;font-size:16px}.connection-dot{height:6px;width:6px;background:#9a9e8d;border-radius:50%}.connection-dot.connected{background:#c0d99a}main{margin-left:254px}.topbar{height:76px;padding:0 44px;border-bottom:1px solid #e2e7df;display:flex;justify-content:space-between;align-items:center;color:#718078;font-size:11px;letter-spacing:.5px}.topbar>div{display:flex;gap:18px;align-items:center}.provider-chip{background:#edf1e8;border:1px solid #dce5d6;border-radius:4px;padding:4px 10px;color:#48614e;font-size:10px}.local-label:before{content:'●';color:#93ac84;font-size:7px;margin-right:7px}.home{max-width:1052px;margin:0 auto;padding:60px 48px 35px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#688275;text-transform:uppercase;display:flex;gap:10px;align-items:center}.tiny-line{height:1px;width:26px;background:#67917a}h1{font-size:38px;font-weight:500;line-height:1.5;letter-spacing:1px;color:#1b4037;margin:18px 0 15px}.intro{color:#7b887d;font-size:13px;line-height:1.95;margin:0 0 28px}.composer{border:1px solid #d9e2d6;box-shadow:0 8px 30px #25492b06;background:#fff;border-radius:11px;padding:23px 25px 0}.composer>label{font-size:12px;font-weight:600}.composer>textarea{width:100%;border:0;resize:vertical;padding:14px 0 8px;font-size:13px;line-height:1.8;min-height:120px;color:#263e36}.composer textarea::placeholder{color:#a2afa3}.constraint-row{display:flex;gap:14px;align-items:baseline;border-top:1px solid #f0f2ec;padding-top:12px}.constraint-row label{white-space:nowrap;font-size:11px;color:#859280}.constraint-row textarea{border:0;font-size:11px;width:100%;resize:vertical;min-height:38px;color:#5c705d;line-height:1.7}.upload-zone{display:flex;gap:12px;align-items:center;margin:10px 0 15px}.file-button{cursor:pointer;font-size:11px;color:#5a785e;border:1px dashed #bccfb6;border-radius:4px;padding:6px 10px}.upload-zone>span{font-size:10px;color:#a0ac9c}.file-list{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.file-tag{font-size:10px;background:#eff4e8;border:1px solid #d9e4cf;border-radius:4px;padding:4px 7px}.composer-bottom{border-top:1px solid #edf0e8;display:flex;align-items:center;justify-content:space-between;margin:0 -25px;padding:14px 20px;background:#fcfdf9;border-radius:0 0 11px 11px;gap:8px}.form-options{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.form-options select{font-size:10px;border:1px solid #e0e7d8;background:#f7f9f1;padding:7px;border-radius:4px;color:#6a7f64}.budget-label{font-size:9px;color:#84917e}.budget-label input{width:44px;font-size:10px;border:0;background:transparent;color:#5e7852}.primary{border:1px solid #245b45;border-radius:5px;padding:10px 18px;background:#285b45;color:#fff;font-size:11px;white-space:nowrap}.primary:hover{background:#357255}.primary span{margin-left:15px}.secondary{border:1px solid #cbd7c3;background:#fff;color:#51684b;border-radius:5px;padding:10px 16px;font-size:11px}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#5d755d;margin:31px 0 14px}.section-label>span{font-size:10px;color:#a0ad99}.examples{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.example{border:1px solid #e1e7db;background:#fafbf7;border-radius:8px;text-align:left;padding:18px 17px 14px;position:relative;color:#4b6449;min-height:154px}.example:hover{background:#eff4e8;border-color:#c0d0b4}.example-icon{display:block;font-size:23px;color:#79976c;height:32px}.example strong{font-size:12px;font-weight:500}.example p{font-size:10px;color:#95a38a;line-height:1.9;margin:9px 8px 0 0;max-width:185px}.example-arrow{position:absolute;right:16px;top:20px;font-size:17px;color:#97ab89}.home-footnote{font-size:10px;line-height:1.9;color:#a0ab98;margin:22px 0 0}.task-view{padding:33px 38px;max-width:1600px;margin:auto}.task-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.task-heading h1{font-size:24px;line-height:1.6;max-width:900px;letter-spacing:0;margin:10px 0}.task-meta{display:flex;align-items:center;gap:15px;font-size:10px;color:#8c9b87}.task-actions{display:flex;gap:8px}.status{font-size:10px;padding:4px 9px;border-radius:4px;background:#e8eee2;color:#6b805f}.status.completed{background:#e0eee2;color:#347044}.status.running,.status.queued{background:#ecf0da;color:#75813b}.status.failed,.status.model_error,.status.budget_exhausted,.status.needs_review{background:#f5e9dc;color:#9c6934}.notice{border:1px solid #dfc49f;background:#fff9ed;color:#8c622d;padding:15px;font-size:12px;border-radius:6px;margin:10px 0 20px;line-height:1.8}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:24px}.research-main{background:white;border:1px solid #dee6d8;border-radius:8px;min-width:0}.tabs{display:flex;gap:20px;padding:0 23px;border-bottom:1px solid #e7ece0;overflow-x:auto}.tabs button{padding:17px 0 15px;border:0;border-bottom:2px solid transparent;background:none;white-space:nowrap;color:#8c9d83;font-size:12px}.tabs button.active{border-bottom-color:#36794e;color:#315e3a;font-weight:600}.tabs span{font-size:9px;background:#f1f5eb;padding:2px 5px;margin-left:3px;border-radius:3px}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 23px;border-bottom:1px solid #eff2eb}.report-toolbar select{font-size:10px;border:0;color:#79906c;background:#f2f6ec;padding:6px 9px;border-radius:4px}.exports{display:flex;gap:12px;flex-wrap:wrap}.exports button{border:0;background:none;font-size:9px;color:#7e9571;padding:4px 0}.report-content{padding:28px 32px 38px;font-size:13px;color:#455c42;line-height:1.95;overflow-wrap:anywhere}.report-content h1{font-size:24px;line-height:1.6;border-bottom:1px solid #e5ecdd;padding-bottom:18px;letter-spacing:0;margin-top:0}.report-content h2{font-size:18px;margin:30px 0 14px;color:#2d5532;line-height:1.6}.report-content h3{font-size:15px;margin:22px 0 10px;color:#4b6b45}.report-content p{margin:10px 0}.report-content ul,.report-content ol{padding-left:22px}.report-content a{color:#3d844f;text-decoration:underline;text-underline-offset:3px}.report-content table{border-collapse:collapse;display:block;width:100%;overflow-x:auto;font-size:10px;line-height:1.8;margin:20px 0}.report-content th,.report-content td{border:1px solid #dfe8d7;padding:9px 11px;min-width:100px;vertical-align:top;text-align:left}.report-content th{background:#f1f6e9;color:#547243;font-weight:500}.report-content blockquote{margin-left:0;border-left:3px solid #a6c393;padding:3px 16px;color:#829272}.report-content pre{background:#f5f8ef;padding:15px;white-space:pre-wrap;font-size:11px}.empty-report{padding:50px 0;text-align:center;color:#8a9d7d;min-height:260px}.empty-report .loader{display:block;width:32px;height:32px;border:2px solid #e2ecd7;border-top-color:#6f9c57;border-radius:50%;animation:spin 1.3s linear infinite;margin:0 auto 22px}.empty-report h2{font-size:16px;color:#5a7b49}.empty-report p{font-size:11px}.empty-report .current-step{background:#f3f7ec;display:inline-block;padding:5px 12px;border-radius:4px;margin-top:13px}.research-aside{display:flex;flex-direction:column;gap:15px}.aside-card{background:#f1f5eb;border:1px solid #e0e8d5;border-radius:7px;padding:19px 17px}.card-eyebrow{font-size:11px;letter-spacing:.5px;color:#708b5e;margin-bottom:19px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 15px}.stat-grid strong{display:block;font-size:24px;font-weight:400;color:#4e7542}.stat-grid span{font-size:10px;color:#91a381}.budget-meter{border-top:1px solid #dfe8d5;padding-top:16px;margin-top:21px}.budget-meter>div{display:flex;justify-content:space-between;font-size:9px;color:#8ca07c;gap:5px}.budget-meter strong{font-weight:500;color:#617f50}.budget-meter progress{width:100%;height:4px;border:0;border-radius:2px;accent-color:#88ad67;margin:10px 0}.budget-meter small{font-size:9px;line-height:1.8;color:#9aac8b;display:block}.aside-card ol,.aside-card ul{padding-left:17px;margin:0;color:#799467;font-size:10px;line-height:1.9}.aside-card li+li{margin-top:10px}.question-card p{font-size:10px;color:#8ca27b;line-height:1.95;white-space:pre-wrap}.panel-intro{padding:23px;border-bottom:1px solid #edf1e7}.panel-intro h2{font-size:16px;font-weight:500;color:#4d7040;margin:0 0 9px}.panel-intro p{font-size:11px;color:#8fa27d;line-height:1.8;margin:0}.panel-intro input{margin-top:15px;border:1px solid #dfe7d7;background:#fafcf6;border-radius:5px;padding:9px 12px;font-size:11px;width:100%}.source-card{padding:19px 23px;border-bottom:1px solid #edf1e6}.source-card .source-top{display:flex;gap:10px;align-items:center;font-size:9px;color:#a1b18d;margin-bottom:8px}.source-card h3{font-size:12px;line-height:1.7;margin:0 0 7px;color:#4f7541;font-weight:500}.source-card h3 button{font:inherit;color:inherit;text-align:left;border:0;padding:0;background:none}.source-card p{font-size:10px;color:#8fa27b;line-height:1.8;margin:5px 0}.source-card .source-url{font-size:9px;color:#a2b491;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.source-state{font-size:8px;padding:2px 5px;border-radius:3px;background:#edf4e4;color:#6d8e56}.source-state.failed{background:#f8eddf;color:#a0834a}.source-state.discovered{background:#f3f4e8;color:#9ca471}.evidence-card{padding:20px 23px;border-bottom:1px solid #eaf0e1;font-size:11px;line-height:1.9}.evidence-card .evidence-heading{display:flex;justify-content:space-between;gap:10px;color:#8b9f77;font-size:9px}.evidence-card h3{font-size:12px;font-weight:500;color:#53753f;margin:9px 0}.evidence-card blockquote{margin:10px 0;border-left:2px solid #c8d9b5;padding:7px 12px;background:#fafcf6;color:#90a17f;white-space:pre-wrap}.evidence-card .locator{font-size:9px;color:#a2b38e}.activity-row{display:flex;gap:15px;padding:10px 23px;font-size:10px;color:#80996c;border-bottom:1px solid #f1f5e9}.activity-row time{color:#adbaa0;min-width:58px}.activity-row .event-type{color:#729b54}.search-record{padding:14px 23px;font-size:10px;line-height:1.8;color:#8fa57a;background:#f9fcf3;border-top:1px solid #e8efdd}.search-record strong{font-weight:500;color:#64864d}.followup-area{max-width:calc(100% - 279px);margin:24px 0}.followup-area form{background:white;border:1px solid #dbe6cf;border-radius:7px;padding:17px 19px}.followup-area label{display:block;font-size:11px;color:#7c9867;margin-bottom:11px}.followup-area form>div{display:flex;align-items:center;gap:12px}.followup-area textarea{border:0;resize:vertical;font-size:12px;line-height:1.8;width:100%;background:transparent;color:#587a43}.followup-area textarea::placeholder{color:#a9b99a}.followup-area small{font-size:10px;color:#98aa87}.followup-area .attach-followup{font-size:22px;cursor:pointer;margin:0;color:#6b9052}.followup-msg{font-size:11px;color:#839e6c;border-left:2px solid #b2c99b;padding:9px 14px;margin:14px 0;line-height:1.85}.followup-msg time{font-size:9px;display:block;color:#b0bfa2;margin-bottom:5px}dialog{border:1px solid #ccdbc0;box-shadow:0 20px 100px #203d3033;border-radius:10px;width:min(850px,90vw);max-height:85vh;padding:26px;color:#4a6c3c}dialog::backdrop{background:#132e2655;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.dialog-heading h2{font-size:18px;line-height:1.7;font-weight:500;margin:0}.dialog-heading button{font-size:25px;background:none;border:0;color:#7b9a61}#source-detail{font-size:12px;line-height:1.9}#source-detail pre{white-space:pre-wrap;background:#f6f9ef;padding:20px;font-size:11px;line-height:1.95;color:#7c9567;overflow-wrap:anywhere}#settings-dialog{width:480px;font-size:12px;line-height:1.9}#settings-form label{display:block;font-size:11px}#settings-form input{width:100%;padding:9px;margin:7px 0 17px;border:1px solid #d4e0c8;border-radius:5px}#toast{position:fixed;bottom:24px;right:25px;max-width:500px;background:#244d37;color:#fff;font-size:12px;line-height:1.8;border-radius:7px;box-shadow:0 8px 30px #193e3022;padding:15px 22px;z-index:40}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.home{padding-top:95px}}@media(max-width:1200px){.sidebar{width:215px;padding:28px 15px}main{margin-left:215px}.topbar{padding:0 28px}.home{padding:45px 30px}.task-view{padding:28px 25px}.workspace-grid{grid-template-columns:minmax(0,1fr) 220px;gap:16px}.followup-area{max-width:calc(100% - 236px)}.report-content{padding:24px}.tabs{gap:15px;padding:0 20px}.form-options{gap:6px}}@media(max-width:950px){.workspace-grid{grid-template-columns:1fr}.research-aside{display:grid;grid-template-columns:1fr 1fr}.followup-area{max-width:none}.composer-bottom{flex-wrap:wrap}.task-heading h1{font-size:20px}.examples{gap:9px}.example{padding:15px 13px}.form-options select{max-width:135px}.task-actions{flex-direction:column}.section-label>span{display:none}}@media(max-width:700px){.sidebar{position:relative;width:100%;padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:12px}.brand{font-size:20px}.brand-icon{width:34px;height:34px}.new-button{margin:0;padding:9px 16px;align-self:center}.nav-caption,.searchbox,.sidebar-bottom{display:none}#task-list{grid-column:1/-1;display:flex;overflow:auto;max-height:88px}.task-item{min-width:180px;width:180px;padding:8px;margin:0}.task-item strong{-webkit-line-clamp:1}.empty-nav{padding:0;text-align:left}.topbar{height:52px;font-size:9px;padding:0 20px}.local-label{display:none}main{margin-left:0}.home{padding:32px 20px}h1{font-size:29px}.intro{font-size:12px}.composer{padding:18px 18px 0}.composer-bottom{margin:0 -18px;padding:12px 15px}.upload-zone>span{font-size:8px}.examples{grid-template-columns:1fr}.example{min-height:100px;padding:16px 17px 15px 55px}.example-icon{position:absolute;left:18px;top:20px}.example p{max-width:none;margin-top:6px;margin-right:16px}.example strong{font-size:12px}.section-label{margin-top:24px}.task-view{padding:25px 15px}.task-heading{align-items:flex-start;gap:12px}.task-heading h1{font-size:18px}.task-meta{gap:8px;flex-wrap:wrap}.task-actions button{font-size:9px;padding:8px 10px}.research-aside{grid-template-columns:1fr 1fr;gap:10px}.aside-card{padding:15px 12px}.question-card{grid-column:1/-1}.tabs{gap:19px;padding:0 18px}.tabs button{font-size:11px}.report-content{padding:23px 19px}.report-content h1{font-size:21px}.report-content h2{font-size:17px}.report-toolbar{padding:12px 15px;align-items:flex-start}.exports{gap:9px;justify-content:flex-end}.followup-area form>div{gap:8px}.followup-area .primary{padding:9px 12px}.home-footnote{font-size:9px}.form-options{gap:5px}.budget-label{font-size:8px}.source-card{padding:18px}.evidence-card{padding:18px}}

#routing-hint {
  margin: 7px 0 14px;
  color: #63756a;
  font-size: 12px;
  line-height: 1.65;
}
#task-dispatch {
  background: #edf4eb;
  border-color: #d5e3d5;
  color: #324f42;
}
#dispatch-reason { margin: 4px 0 0; }
#dispatch-subtasks { margin: 8px 0 0; padding-left: 20px; }
#dispatch-subtasks small { margin-left: 5px; color: #52745f; }
.composer-bottom:has(#cloud-options[hidden]) { justify-content: flex-end; }

.task-live {
  margin: 0 0 18px;
  border: 1px solid #d9e5d9;
  border-radius: 8px;
  background: #f1f6ee;
  color: #2c5142;
}
.task-live summary {
  cursor: pointer;
  padding: 12px 15px;
  font-size: 13px;
}
.task-live summary strong { margin-left: 5px; }
#live-stage {
  margin-left: 12px;
  color: #4a6c59;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#live-steps {
  list-style: none;
  margin: 0;
  padding: 0 15px 12px;
  font-size: 12px;
}
#live-steps li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 9px;
  padding: 6px 4px;
  border-top: 1px solid #deeadc;
}
#live-steps time { color: #5b7467; font-variant-numeric: tabular-nums; }
#live-steps span { overflow-wrap: anywhere; }
.draft-answer { margin-bottom: 12px; }
.draft-answer small { color: #517565; }
#draft-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; }

.thinking-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #324f42;
}
.thinking-option input { accent-color: #327465; }
.thinking-option small { color: #657469; font-weight: 400; }
.thinking-panel { padding: 0 15px 14px; }
.thinking-panel h3 {
  margin: 0 0 8px;
  color: #385d4e;
  font-size: 12px;
}
.thinking-round {
  border: 1px solid #d5e3d8;
  border-radius: 6px;
  background: #fcfdf9;
  margin-bottom: 6px;
}
.thinking-round summary { font-size: 12px; padding: 8px 10px; }
.thinking-text {
  max-height: 270px;
  overflow: auto;
  padding: 0 12px 10px;
  color: #4a5f52;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
