:root{--ink:#17342f;--muted:#596b66;--paper:#f5f6f1;--white:#fff;--line:#dce3db;--green:#145c48;--light:#e8f0e5;--orange:#a44b20;--red:#a33432;--amber:#855e13;--radius:16px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.65}*{box-sizing:border-box}body{margin:0}button,a,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bc6b32;outline-offset:4px}button{transition:background .15s,border-color .15s}button:disabled{cursor:not-allowed;opacity:.55}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:90px;background:white;padding:12px;z-index:50}.skip:focus{top:10px}.rail{width:80px;position:fixed;inset:0 auto 0 0;background:var(--ink);color:#dbe8dc;display:flex;align-items:center;flex-direction:column;padding:24px 12px;z-index:10}.brand{display:block;width:44px;height:44px;color:#e3f4b6}.brand svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2}.rail-word{font-size:8px;line-height:1.6;letter-spacing:.8px;text-align:center;margin-top:5px}.rail-button{background:#29483f;color:white;border:1px solid #537063;border-radius:14px;width:46px;height:46px;font-size:27px;margin-top:64px}.rail-bottom{margin-top:auto;font-size:10px;text-align:center;line-height:1.9;color:#b7cabf}.shell{margin-left:80px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4vw}.wordmark{font-size:21px;letter-spacing:1px;color:var(--ink);font-weight:650}.wordmark span{font-size:11px;letter-spacing:.9px;color:var(--muted);margin-left:18px;font-weight:400}.service-state{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.dot{height:6px;width:6px;border-radius:50%;background:var(--green)}main{max-width:1720px;margin:auto;padding:0 4vw}.entry{padding:44px 0 36px}.intro{position:relative;margin-bottom:32px}.eyebrow,.section-number{font-size:12px;font-weight:600;letter-spacing:1.2px;color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:clamp(34px,3.2vw,52px);line-height:1.28;letter-spacing:-1.6px;font-weight:650;margin-top:16px}h1 span{color:var(--green)}.lede{font-size:16px;color:var(--muted);margin-top:18px;max-width:480px}.entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px}.input-card{padding:28px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 32px #17342f04}.card-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.card-heading label{font-size:19px;font-weight:600}.small{font-size:11px;color:var(--muted)}textarea{resize:vertical;display:block;width:100%;min-height:195px;border:0;background:#f8f9f6;border-radius:10px;padding:18px;color:var(--ink);line-height:1.9;font-size:16px}textarea::placeholder{color:#7b8780}.input-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:12px 0 22px}.example-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px}.example-row>span{color:var(--muted);margin-right:4px}.example-row button{background:transparent;border:1px solid var(--line);border-radius:25px;padding:8px 12px;min-height:40px;font-size:12px;color:var(--ink)}.example-row button:hover{background:var(--light);border-color:#a4b9a5}.submit-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;border-top:1px solid var(--line);padding-top:22px}.submit-row p{font-size:12px;color:var(--muted)}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:16px;border-radius:8px;border:1px solid var(--line);min-height:44px;padding:10px 16px;font-size:13px;font-weight:550;background:white;color:var(--ink)}.primary{background:var(--green);color:white;border-color:var(--green);padding:13px 24px;min-width:155px}.primary:hover{background:#0a4233}.secondary:hover{background:var(--light);text-decoration:none}.disabled{pointer-events:none;opacity:.45}.privacy{color:var(--muted);font-size:10px;line-height:1.7;margin-top:16px}.method{padding:18px 0 0 8px}.method h2{font-size:26px;line-height:1.45;margin:13px 0 24px;font-weight:550}.method-item{display:flex;gap:20px;padding:15px 0;border-top:1px solid var(--line)}.method-item>b{font-size:12px;color:var(--green);font-weight:400;margin-top:4px}.method-item h3{font-size:14px;font-weight:600;margin-bottom:6px}.method-item p{font-size:12px;color:var(--muted);line-height:1.85}.history-section{margin-top:40px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.section-head h2{font-size:16px}.section-head span{font-size:11px;color:var(--muted)}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.history-card{text-align:left;border:1px solid var(--line);background:transparent;border-radius:12px;padding:18px}.history-card:hover{background:white;border-color:#98ad9a}.history-card strong{font-size:13px;line-height:1.8;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:48px}.history-card small{display:flex;justify-content:space-between;margin-top:12px;color:var(--muted);font-size:10px}.history-card em{font-style:normal;color:var(--green)}footer{margin:25px 4vw 0;padding:20px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between}#workspace{padding-top:28px}.work-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:22px}.work-heading>div:first-child{min-width:0}.work-heading h1{font-size:26px;letter-spacing:-.5px;margin-top:8px}.task-question{color:var(--muted);font-size:12px;max-width:780px;margin-top:10px;line-height:1.8}.actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.status-strip{background:#e9eee6;border:1px solid var(--line);padding:12px 18px;border-radius:8px;display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:20px}.status-strip>span:first-child{font-weight:550}.status-strip>span:last-child{color:var(--muted)}.work-grid{display:grid;grid-template-columns:235px minmax(260px,.85fr) minmax(340px,1.3fr);gap:16px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}.panel-title{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-title h2{font-size:14px}.panel-title>span{font-size:10px;color:var(--muted)}.claims{padding:8px}.claim{display:block;width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:8px;padding:14px;margin-bottom:5px;color:var(--ink)}.claim:hover{background:#f6f8f3}.claim.selected{background:#edf3e9;border-color:#b6c8b1}.claim-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.claim-head>b{font-size:10px;color:var(--muted)}.claim p{font-size:13px;line-height:1.85;overflow-wrap:anywhere}.badge{font-size:10px;font-weight:500;padding:3px 7px;border-radius:5px;background:#eef0ed;color:#56635b;white-space:nowrap}.badge.support{background:#e5f0e9;color:#245c3e}.badge.refute{background:#f9e9e5;color:var(--red)}.badge.partial{background:#faf0d8;color:var(--amber)}.timeline{padding:20px 18px;max-height:72vh;overflow:auto;min-height:360px}.event{position:relative;padding:0 0 24px 22px;border-left:1px solid var(--line);margin-left:4px}.event::before{content:'';width:7px;height:7px;background:#738b78;border:3px solid white;box-sizing:content-box;border-radius:50%;position:absolute;left:-7px;top:4px}.event:last-child{border-left-color:transparent}.event time{font-size:10px;color:var(--muted)}.event h3{font-size:12px;font-weight:600;margin:3px 0 6px}.event p,.event summary{font-size:11px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}.event summary{cursor:pointer}.event .query{padding:9px 11px;background:#f4f6f1;border-radius:6px;color:var(--ink);margin:8px 0;word-break:break-word}.event a{font-size:11px;word-break:break-word}.detail{padding:22px;min-height:360px;max-height:78vh;overflow:auto}.detail>h3{font-size:18px;font-weight:550;line-height:1.75;margin:12px 0}.detail .context{font-size:11px;color:var(--muted);margin-bottom:16px}.verdict{font-size:13px;line-height:1.9;margin:16px 0}.evidence{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.source{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-bottom:8px}.evidence h4{font-size:13px;line-height:1.7;margin:0 0 12px}.evidence blockquote{margin:0;background:#f5f7f1;border-left:3px solid #7a9b6b;padding:16px;font-size:13px;line-height:1.85;overflow-wrap:anywhere;color:#243e31}.evidence .relation{font-size:12px;margin-top:12px;line-height:1.9}.context-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.context-grid>div{border:1px solid var(--line);border-radius:6px;padding:7px 9px;font-size:11px;overflow-wrap:anywhere}.context-grid small{display:block;font-size:10px;color:var(--muted);margin-bottom:2px}.gaps{border:1px solid #e9d5a9;background:#fcf7eb;border-radius:8px;padding:14px;margin-top:20px;font-size:12px;line-height:1.9}.gaps strong{font-weight:600;color:var(--amber)}.gaps ul{margin:7px 0 0;padding-left:18px}.local-result{padding-left:18px;font-size:12px;color:var(--muted)}.empty{padding:44px 8px;text-align:center;color:var(--muted)}.empty-mark{font-size:30px;color:#8ca180}.empty h3{font-size:14px;color:var(--ink);margin:10px 0}.empty p{font-size:12px;max-width:280px;margin:auto;line-height:1.9}.muted{font-size:12px;color:var(--muted)}.error{background:#fcece7;color:#962f29;border:1px solid #e7b4ac;padding:12px 16px;border-radius:8px;font-size:13px;margin:15px 0}.replay-bar{display:flex;align-items:center;gap:15px;padding:12px 16px;background:#fcf1d9;border:1px solid #e7cd8c;border-radius:8px;margin-bottom:16px;font-size:11px;color:#725316;flex-wrap:wrap}.replay-bar strong{font-size:12px}.replay-bar>span{margin-right:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 24px;border-radius:8px;z-index:30;font-size:13px}
@media(min-width:1440px){.intro .lede{position:absolute;left:48%;top:55px;max-width:370px}.intro h1 br{display:none}.entry-grid{grid-template-columns:minmax(0,1fr) 345px;gap:50px}.work-grid{grid-template-columns:260px minmax(320px,.9fr) minmax(380px,1.3fr)}}
@media(max-width:1150px){.work-grid{grid-template-columns:220px minmax(0,1fr)}.detail-panel{grid-column:1/-1}.detail{max-height:none}.timeline{max-height:450px}.work-heading{align-items:flex-start;flex-direction:column}.entry-grid{grid-template-columns:1fr 260px;gap:24px}.method h2{font-size:23px}.small{display:none}.submit-row p{max-width:160px}}
@media(max-width:760px){.rail{width:56px;padding:20px 7px}.rail-word,.rail-bottom{display:none}.brand{width:34px}.rail-button{width:38px;height:42px;margin-top:40px}.shell{margin-left:56px}.topbar{height:72px;padding:0 20px}.wordmark{font-size:18px}.wordmark span{display:none}.service-state{font-size:10px}main{padding:0 20px}.entry{padding-top:28px}.entry-grid{grid-template-columns:1fr}.method{display:none}.input-card{padding:18px}.card-heading label{font-size:16px}textarea{font-size:15px;min-height:220px;padding:12px}.input-meta{font-size:10px;gap:8px}.submit-row{align-items:stretch;flex-direction:column}.submit-row p{max-width:none}.privacy{font-size:10px}.history-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.work-grid{grid-template-columns:1fr}.detail-panel{grid-column:auto}.claims{display:flex;gap:8px;overflow-x:auto}.claim{min-width:210px;max-width:240px}.timeline{max-height:310px;min-height:0}.detail{padding:18px}.work-heading h1{font-size:23px}.actions{width:100%}.actions>*{flex:1}.status-strip{flex-direction:column;font-size:11px}.context-grid{grid-template-columns:1fr 1fr}footer{display:block;font-size:9px}footer span{display:block;margin-top:4px}.replay-bar{gap:8px}.replay-bar>span{width:100%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.claim p,.verdict,.evidence .relation{font-size:14px}.event h3{font-size:13px}.event p,.event summary,.event a{font-size:12px}.evidence blockquote{font-size:14px}.task-question{font-size:13px}.gaps,.local-result{font-size:13px}

/* Task005: results first, same workspace; logs remain one action away. */
.result-summary{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px}.result-summary h2{font-size:22px;line-height:1.5;font-weight:600}.result-summary>p{font-size:14px;color:var(--muted);margin:12px 0}.summary-row{display:grid;grid-template-columns:92px minmax(180px,.8fr) minmax(250px,1.5fr);gap:16px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;padding:14px 0;color:var(--ink);align-items:start}.summary-row .badge{justify-self:start;font-size:12px}.summary-row strong{font-size:15px;font-weight:550}.summary-row>span:last-child{font-size:14px;line-height:1.8}.summary-row:hover{background:var(--paper)}.result-summary>button{margin-top:12px}.work-grid.result-focus{grid-template-columns:260px minmax(0,1fr)}.result-focus .timeline-panel{display:none}.result-focus .detail-panel{grid-column:auto}.claim p,.verdict,.evidence .relation,.evidence blockquote{font-size:16px}.detail>h3{font-size:20px}.badge{font-size:12px}.task-question{font-size:15px}.evidence h4{font-size:16px}.result-focus .detail{max-height:none}.context-grid{font-size:13px}.event p{font-size:13px}
@media(max-width:760px){.summary-row{grid-template-columns:1fr;gap:6px}.work-grid.result-focus{grid-template-columns:1fr}.result-summary{padding:16px}.result-summary h2{font-size:19px}.work-grid.result-focus .detail-panel{grid-column:auto}}

/* Hosted replay: retain the evidence UI, hide the disabled input path. */
#investigateForm[hidden]{display:none}.entry-grid{grid-template-columns:1fr}.method{max-width:none}.topbar{gap:18px}.service-state{margin-left:auto}
