:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:#152326;background:#f4f8f6;line-height:1.5}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 70% 0%,#dff4ee 0,#f4f8f6 38%,#eef3f1 100%)}.shell{max-width:980px;margin:0 auto;padding:64px 24px 80px}.hero{min-height:480px}.hero-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{color:#2f8578;letter-spacing:.14em;font-size:11px;font-weight:800}.history-toggle,.history-refresh{border:1px solid #b9d8d0;border-radius:999px;padding:8px 13px;background:#f4fbf8;color:#256c62;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.history-toggle:hover,.history-refresh:hover{border-color:#399685;background:#e7f5f0}.hero h1{font-size:clamp(42px,8vw,76px);line-height:1.02;letter-spacing:-.06em;margin:24px 0 18px}.hero h1 span{color:#238475}.lede{max-width:580px;color:#5b6d6d;font-size:18px}.composer{margin-top:44px;background:#fff;border:1px solid #d7e6e1;border-radius:24px;box-shadow:0 18px 45px #24554d12;padding:18px}.query-label{display:block;margin:0 0 7px;color:#2b7469;font-size:12px;font-weight:800;letter-spacing:.04em}.composer textarea{width:100%;min-height:105px;border:0;resize:vertical;outline:0;font:inherit;font-size:18px;color:#1a2b2d}.composer-foot{display:flex;justify-content:space-between;align-items:center;color:#7a8d8d;font-size:12px}.composer button,.follow button{border:0;background:#1b7e71;color:#fff;border-radius:999px;padding:12px 18px;font-weight:700;cursor:pointer}.research-settings{margin-top:12px;border:1px solid #d7e6e1;border-radius:16px;background:#f9fcfb;padding:0 14px}.research-settings summary{padding:12px 2px;cursor:pointer;color:#256c62;font-weight:700}.research-settings summary span{margin-left:8px;color:#728582;font-size:12px;font-weight:400}.settings-grid{display:grid;grid-template-columns:190px 1fr;gap:18px;border-top:1px solid #e1ece9;padding:14px 2px}.settings-grid label{display:flex;flex-direction:column;gap:6px;color:#315b55;font-size:13px;font-weight:700}.settings-grid input,.settings-grid textarea,.settings-grid select{width:100%;border:1px solid #cfe0dc;border-radius:10px;padding:9px 10px;background:#fff;color:#1a2b2d;font:inherit;font-weight:400}.settings-grid input{max-width:120px}.settings-grid select{cursor:pointer}.settings-grid textarea{min-height:116px;resize:vertical}.settings-grid small{font-weight:400;color:#728582;line-height:1.45}.requirements-panel{display:grid;gap:13px}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.chips button{background:#e2f1ed;border:0;border-radius:999px;padding:9px 13px;color:#286e65;cursor:pointer}.workspace{margin-top:22px;background:#fff;border:1px solid #d7e6e1;border-radius:24px;padding:24px;box-shadow:0 18px 45px #24554d12}.hidden{display:none!important}.workspace-head{display:flex;justify-content:space-between;align-items:flex-start}.workspace h2{margin:8px 0 0;font-size:30px}.stop{border:1px solid #f0b9ae;background:#fff7f5;color:#a44d42;border-radius:999px;padding:9px 14px;cursor:pointer}.activities{margin:24px 0;color:#5e7372;font-size:14px}.activity{padding:9px 0;border-bottom:1px solid #edf2f0;overflow-wrap:anywhere}.activity:before{content:'✓';display:inline-grid;place-items:center;background:#dff2ec;color:#2b8b79;width:20px;height:20px;border-radius:50%;margin-right:9px}.report{border-top:1px solid #e5eeeb;padding-top:20px;overflow-wrap:anywhere}.report h1{font-size:32px;color:#166e63}.report h2{margin-top:28px;color:#23685f}.report h3{color:#315b55}.report p,.report li{line-height:1.8}.report table{border-collapse:collapse;width:100%;font-size:14px;display:block;overflow-x:auto}.report td,.report th{border:1px solid #d7e4e0;padding:8px;text-align:left}.report th{background:#eef8f5}.report blockquote{border-left:4px solid #73beaf;margin-left:0;padding-left:14px;color:#60716f}.report a{color:#176f64;word-break:break-word}.report-meta{display:inline-block;margin:0 0 8px;padding:5px 10px;border-radius:999px;background:#e7f5f0;color:#277567;font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.actions a,.actions button{border:1px solid #b9d8d0;border-radius:999px;padding:10px 14px;background:#f4fbf8;color:#256c62;text-decoration:none;cursor:pointer}.follow{display:flex;gap:8px;margin-top:18px}.follow input{flex:1;border:1px solid #cfe0dc;border-radius:999px;padding:12px 15px;font:inherit}@media(max-width:640px){.shell{padding:36px 16px 56px}.settings-grid{grid-template-columns:1fr}.settings-grid input{max-width:none}.composer-foot{gap:12px}.workspace{padding:18px}.hero-top{align-items:flex-start}.history-toggle{flex:0 0 auto}}
:root{--live-source-border:#d7e6e1}
.table-chart{margin:14px 0 24px;padding:14px 16px;border:1px solid #d7e6e1;border-radius:14px;background:#f8fcfa}.table-chart h4{margin:0;color:#23685f;font-size:14px}.table-chart p{margin:4px 0 12px;color:#70817e;font-size:12px}.table-chart-bars{display:grid;gap:8px}.table-chart-row{display:grid;grid-template-columns:minmax(80px,1.2fr) minmax(100px,3fr) auto;gap:9px;align-items:center;font-size:12px}.table-chart-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#315b55}.table-chart-track{display:block;height:11px;overflow:hidden;border-radius:999px;background:#dcefe9}.table-chart-bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f9988,#73c9bc)}.table-chart-row strong{min-width:36px;text-align:right;color:#176f64;font-size:12px}@media(max-width:640px){.table-chart-row{grid-template-columns:90px 1fr auto;gap:6px}.table-chart{padding:12px}}
.settings-sidebar{display:grid;align-content:start;gap:14px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.composer-actions{display:flex;align-items:center;gap:9px}.composer .add-attachment{display:inline-flex;align-items:center;gap:6px;border:1px solid #b9d8d0;background:#f4fbf8;color:#256c62;padding:10px 13px}.composer .add-attachment>span{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dcefe9;font-size:16px;line-height:1;font-weight:500}.attachment-help{margin:8px 0 0;color:#728582;font-size:12px;line-height:1.45}.attachment-help:empty{display:none}.attachment-list{display:grid;gap:7px;margin-top:10px}.attachment-card{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid #d7e6e1;border-radius:11px;background:#f8fcfa}.attachment-kind{flex:0 0 auto;display:inline-grid;place-items:center;width:32px;height:27px;border-radius:7px;background:#e3f2ee;color:#246e63;font-size:9px;font-weight:800;letter-spacing:.04em}.attachment-kind.image{background:#f3e9d7;color:#90671d}.attachment-copy{min-width:0;display:grid;gap:1px;flex:1}.attachment-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#315b55;font-size:12px}.attachment-copy small{color:#728582;font-size:11px;line-height:1.35}.composer .attachment-remove{flex:0 0 auto;border:0;background:transparent;color:#8a9b98;border-radius:50%;padding:0;width:26px;height:26px;font-size:22px;font-weight:400;line-height:1;cursor:pointer}.composer .attachment-remove:hover{background:#f2e5e2;color:#a44d42}@media(max-width:640px){.composer-foot{align-items:flex-end}.composer-actions{width:100%;justify-content:flex-end}.composer .add-attachment{padding:10px 11px}.attachment-copy small{white-space:normal}}
.live-sources{margin:18px 0 22px;padding:14px 16px;border:1px solid var(--live-source-border);border-radius:16px;background:#f8fcfa}.live-source{display:flex;flex-direction:column;gap:2px;margin-top:9px;padding:10px 12px;border-radius:11px;background:#fff;color:#1b6f64;text-decoration:none;border:1px solid #e5efec}.live-source:hover{border-color:#8bc6ba}.live-source strong{font-size:13px}.live-source span{font-size:12px;color:#70817e;line-height:1.45;overflow-wrap:anywhere}
.research-progress{margin:18px 0 -4px;padding:11px 14px;border:1px solid #b9ded5;border-radius:12px;background:#f0faf6;color:#276f63;font-size:13px;line-height:1.55}.research-progress:before{content:'◌';display:inline-block;margin-right:8px;color:#168573;font-size:20px;line-height:0;vertical-align:-2px;animation:research-spin 1.2s linear infinite}@keyframes research-spin{to{transform:rotate(360deg)}}
.skill-picker{margin:0;padding:13px 14px 14px;border:1px solid #cfe0dc;border-radius:12px;background:#f6fbf9}.skill-picker legend{padding:0 5px;color:#286e65;font-size:13px;font-weight:800}.skill-note{margin:0 0 10px;color:#5f7671;font-size:12px;line-height:1.5}.skill-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-grid .skill-option{display:flex;flex-direction:row;align-items:flex-start;gap:8px;padding:9px;border:1px solid #d9e8e4;border-radius:10px;background:#fff;color:#315b55;cursor:pointer}.settings-grid .skill-option:has(input:checked){border-color:#64ad9f;background:#eff9f5}.settings-grid .skill-option input{width:16px;max-width:16px;margin:3px 0 0;padding:0;accent-color:#1b7e71}.skill-option span{display:grid;gap:2px}.skill-option strong{font-size:12px;line-height:1.35}.skill-option small{font-size:11px!important;line-height:1.4!important}.skill-picker>#skill-selection-help{display:block;margin-top:9px;font-size:11px}.quick-start{margin-top:20px}.quick-start-title{color:#2b7469;font-size:12px;font-weight:800;letter-spacing:.04em}.template-title{margin-top:15px}.template-chips{margin-top:8px}.template-chips button{background:#fff;border:1px solid #b9d8d0}.template-chips button:hover{border-color:#399685;background:#e7f5f0}@media(max-width:640px){.skill-options{grid-template-columns:1fr}.quick-start{margin-top:18px}}
.application-badge{display:grid;gap:3px;padding:13px 14px;border:1px solid #acd6cc;border-radius:13px;background:linear-gradient(145deg,#effaf6,#fff)}.application-badge span,.scenario-contract span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#358376}.application-badge strong{color:#1e5f56;font-size:15px}.application-badge small{color:#70817e;font-size:11px}.scenario-contract{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scenario-contract>div{padding:12px 13px;border:1px solid #d8e8e3;border-radius:12px;background:#fbfdfc}.scenario-contract p{margin:6px 0 0;color:#456660;font-size:12px;line-height:1.55}.advanced-settings{border:1px solid #d8e8e3;border-radius:12px;background:#fff}.advanced-settings>summary{padding:11px 13px;color:#356d65;font-size:12px;font-weight:800;cursor:pointer}.advanced-grid{display:grid;grid-template-columns:140px 1fr;gap:10px;padding:0 13px 13px}.advanced-grid label{margin:0}@media(max-width:640px){.scenario-contract,.advanced-grid{grid-template-columns:1fr}}

/* Research settings: the selected scenario is the primary control. Keep the
   supporting method, deliverable and skills compact without a duplicate app rail. */
.settings-grid{grid-template-columns:1fr;gap:0;padding:14px 2px 16px}.requirements-panel{gap:10px}.scenario-select{max-width:420px}.scenario-contract>div{padding:10px 12px}.scenario-contract p{margin-top:4px}.skill-picker{padding:10px 12px 12px}.skill-note{margin-bottom:8px}.skill-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.settings-grid .skill-option{gap:7px;padding:8px}.skill-option strong{font-size:11px}.skill-option small{font-size:10px!important;line-height:1.35!important}.advanced-settings>summary{padding:10px 12px}.advanced-grid{padding:0 12px 12px}@media(max-width:780px){.skill-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.skill-options{grid-template-columns:1fr}.scenario-select{max-width:none}}
.research-history{margin-top:28px;padding:20px;border:1px solid #d7e6e1;border-radius:20px;background:#fff;box-shadow:0 14px 32px #24554d0d}.research-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.research-history h2{margin:5px 0 2px;color:#23685f;font-size:25px}.research-history-head p{margin:0;color:#70817e;font-size:12px}.history-list{display:grid;gap:9px;margin-top:16px}.history-empty{margin:16px 0 0;color:#70817e;font-size:13px}.history-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #dce9e5;border-radius:14px;background:#f9fcfb}.history-copy{min-width:0}.history-copy h3{margin:0;color:#254743;font-size:14px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-copy p{margin:4px 0 0;color:#70817e;font-size:11px;line-height:1.45}.history-error{display:block;margin-top:4px;color:#a44d42;font-size:11px;line-height:1.45}.history-open{flex:0 0 auto;border:1px solid #b9d8d0;border-radius:999px;padding:8px 11px;background:#f4fbf8;color:#256c62;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.history-open:hover{border-color:#399685;background:#e7f5f0}@media(max-width:640px){.research-history{padding:16px}.research-history-head{gap:10px}.history-card{align-items:flex-start;gap:10px}.history-copy h3{white-space:normal}.history-open{padding:8px 10px}.history-refresh{padding:7px 10px}}
.history-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.history-delete{border:1px solid #ebc4bc;border-radius:999px;padding:8px 11px;background:#fff8f6;color:#a44d42;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.history-delete:hover{border-color:#cf786c;background:#fcece8}.share-status{align-self:center;color:#5f7671;font-size:12px;line-height:1.45}.actions #share-report{background:#1b7e71;color:#fff;border-color:#1b7e71}.actions #share-report:hover{background:#166e63}.actions #revoke-share{color:#a44d42;border-color:#ebc4bc;background:#fff8f6}.shared-shell{max-width:900px}.shared-hero{padding:20px 0 18px;border-bottom:1px solid #d7e6e1}.shared-label{margin:18px 0 4px;color:#2b7469;font-size:13px;font-weight:700}.shared-hero h1{max-width:840px;margin:0;color:#1c3e39;font-size:clamp(30px,5vw,48px);letter-spacing:-.04em;line-height:1.18}.shared-meta{margin:12px 0 0;color:#70817e;font-size:13px}.shared-report{margin-top:24px;padding-top:0;border-top:0}.shared-error{margin-top:36px;padding:20px;border:1px solid #ebc4bc;border-radius:16px;background:#fff8f6;color:#82463e}.shared-error h2{margin:0 0 6px;font-size:20px}.shared-error p{margin:0;line-height:1.7}@media(max-width:640px){.history-actions{flex-direction:column;align-items:stretch}.history-open,.history-delete{text-align:center}.share-status{width:100%;order:3}.shared-shell{padding-top:36px}.shared-hero h1{font-size:32px}}
.hero h1{font-size:28px;line-height:1.2;letter-spacing:-.02em;margin:16px 0 8px}.lede{font-size:14px;color:#60716f}.hero{min-height:0}.query-label{font-size:12px}.research-progress{padding:16px 18px;background:#f0faf6;color:#315b55}.research-progress:before{content:none}.research-progress-header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.research-progress-header strong{font-size:15px;color:#1d5149}.research-status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;letter-spacing:.02em}.research-status-badge.is-running{background:#dff2ec;color:#1b796b}.research-status-badge.is-running:before{content:'◌';font-size:15px;line-height:0;animation:research-spin 1.2s linear infinite}.research-status-badge.is-complete{background:#e5f4ec;color:#28735f}.research-status-badge.is-complete:before{content:'✓';font-size:13px}.research-progress-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:9px;color:#60716f;font-size:12px}.research-progress p{margin:9px 0 0;color:#6d7d7a;font-size:12px;line-height:1.55}.research-progress.is-complete{background:#f4fbf7;border-color:#a9d6c6}.activities{margin:20px 0;color:#526967;font-size:13px}.activity{padding:8px 0;color:#526967}.activity:before{background:#e4f2ed;color:#2b8b79}.report h1{font-size:28px;line-height:1.25;color:#1d5149}.report h2{font-size:22px;line-height:1.35;color:#23685f}.report h3{font-size:17px;line-height:1.4;color:#315b55}.report p,.report li{font-size:15px;line-height:1.8;color:#344846}.report blockquote,.report-meta,.report table,.report a{color:#60716f}.report-meta{font-size:12px}.live-sources .eyebrow{font-size:11px}.live-source strong{font-size:13px}.live-source span{font-size:11px;color:#70817e}body.research-active .composer,body.research-active .research-settings,body.research-active .quick-start,body.research-active .research-history{display:none}body.research-active .hero{min-height:0;margin-bottom:18px}body.research-active .hero-top{margin-bottom:2px}body.research-active .workspace{margin-top:0}@media(max-width:640px){.hero h1{font-size:28px}.research-progress-header{align-items:flex-start;flex-direction:column;gap:7px}}
.research-status-badge.is-stopped,.research-status-badge.is-failed{background:#fbe9e5;color:#a44d42}.research-status-badge.is-stopped:before,.research-status-badge.is-failed:before{content:'!';font-size:12px}.research-progress.is-failed{background:#fff8f6;border-color:#ebc4bc}
