:root{--ink:#162d2a;--muted:#61716b;--paper:#f3f4ec;--line:#d6ded3;--accent:#e3ee65;--rl:#246859;--fixed:#87958d;--lp:#c38138}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Avenir Next','PingFang SC','Microsoft YaHei',sans-serif;font-size:14px}header{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 5vw;gap:32px}.brand{font-weight:800;font-size:22px;letter-spacing:2px}.brand span{font-weight:400;color:var(--muted)}.tag{font-size:12px;letter-spacing:2px}header a{margin-left:auto;color:var(--ink);text-decoration:none}main{max-width:1440px;margin:auto;padding:42px 5vw}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px;gap:30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--muted)}h1{font-size:clamp(36px,4vw,58px);line-height:1.2;letter-spacing:-2px;margin:18px 0}h1 em{font-style:normal;color:var(--rl)}p{line-height:1.85;color:var(--muted)}aside{border-left:1px solid var(--line);padding:20px 0 20px 36px;min-width:300px}.badge{display:inline-block;background:var(--accent);padding:8px 12px;font-weight:600}#sampleNote{font-size:12px;color:var(--muted)}.toolbar{display:flex;align-items:end;gap:20px;padding:18px 22px;background:var(--ink);color:white;border-radius:5px}.toolbar label{display:flex;flex-direction:column;gap:8px;font-size:11px;letter-spacing:1px}select,button{font:inherit;padding:10px 14px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)}select{cursor:pointer}button{cursor:pointer;font-weight:600}button:hover{background:var(--accent)}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #cc9e29;outline-offset:3px}.toolbar select{min-width:220px}.toolbar button{margin-left:auto;background:var(--accent);border:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:22px 0;gap:14px}.metric{background:#fff;border:1px solid var(--line);padding:19px}.metric small{color:var(--muted)}.metric strong{display:block;font-size:30px;margin:12px 0 6px;font-variant-numeric:tabular-nums}.metric span{font-size:11px;color:var(--muted)}.workspace{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.panel{background:#fff;border:1px solid var(--line);padding:24px;margin-bottom:22px;border-radius:5px;min-width:0}.panelhead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:24px}.panelhead>span{font-size:11px;color:var(--muted)}h2{font-size:18px;margin:7px 0 0;font-weight:650}.ratio{margin:16px 0}.ratio div{display:flex;justify-content:space-between;margin-bottom:7px;font-size:12px}.track{height:9px;background:#edf1eb;overflow:hidden}.fill{height:100%;background:var(--rl);transition:width .15s}.ratio:nth-child(2) .fill{background:#91aa74}.ratio:nth-child(3) .fill{background:var(--lp)}.ratio:nth-child(4) .fill{background:#ced965}.playbar{display:flex;align-items:center;gap:8px;margin:26px 0 16px}.playbar input{min-width:20px;flex:1;accent-color:var(--rl)}.playbar button{padding:9px}.speed select{padding:9px 3px}.readout{font-size:12px;line-height:1.9;background:#f3f5ef;padding:12px}.hint{font-size:11px;margin-bottom:0;line-height:1.8}.chart svg{width:100%;height:auto;display:block;min-height:180px}.chart text{font-family:inherit;font-size:11px;fill:var(--muted)}.legend{display:flex;gap:22px;font-size:11px;margin-top:10px}.legend span:before{content:'';display:inline-block;width:16px;height:3px;vertical-align:middle;margin-right:6px}.rl:before{background:var(--rl)}.fixed:before{background:var(--fixed)}.lp:before{background:var(--lp)}.selectpair{display:flex;gap:8px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{color:var(--muted);font-weight:500;border-bottom:1px solid var(--line);padding:14px 12px}td{padding:18px 12px;border-bottom:1px solid #edf0e9;font-variant-numeric:tabular-nums}tr.selected{background:#f1f5df}.good{color:#28684f}.bad{color:#a14529}#failure:not(:empty){background:#fff0df;border-left:4px solid var(--lp);padding:15px;margin-top:20px;line-height:1.7}footer{padding:15px 0 30px;font-size:12px}footer p{max-width:850px}footer span{font-size:10px;color:var(--muted);word-break:break-all}@media(max-width:800px){header{padding:0 5vw}.tag{display:none}.intro{display:block}.intro aside{margin-top:25px;padding:15px;border-left:3px solid var(--accent);min-width:0}.toolbar{flex-wrap:wrap}.toolbar label{flex:1}.toolbar select{min-width:0;width:100%}.toolbar button{margin-left:0}.workspace{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.panel{padding:18px}.panelhead{flex-wrap:wrap}.selectpair{flex-wrap:wrap}.metric strong{font-size:25px}.legend{gap:12px}}
.assistant{margin-top:28px;border-top:5px solid #246859}.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:36px;margin-top:22px}.ai-context{padding:12px 16px;background:#e8eee7;color:#245646;font-weight:600;margin-bottom:22px}.assistant label{display:block;font-weight:600;margin-bottom:10px}.assistant textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #c8d4c9;border-radius:6px;background:#fcfcf8;padding:14px;font:inherit;line-height:1.7;resize:vertical}.ai-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px}.ai-presets button{font-size:12px;padding:8px 12px}.ai-primary{background:#245646;color:#fff;min-height:44px}.assistant button:disabled{opacity:.55;cursor:wait}.ai-result{min-width:0;background:#f2f4ec;padding:24px;border-radius:8px}#aiResultLabel{font-size:13px;font-weight:600;color:#245646}#aiAnswer{white-space:pre-wrap;line-height:1.9;font-size:16px;overflow-wrap:anywhere}#aiWarning{font-size:12px;line-height:1.7;color:#91632c;margin:12px 0}.assistant summary{cursor:pointer;padding:10px 0;font-size:13px}.assistant pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:260px;overflow:auto}#aiDownload{margin-top:16px;font-size:12px}#aiStatus{max-width:250px;font-size:12px;color:#426353}@media(max-width:760px){.ai-layout{grid-template-columns:1fr;gap:20px}.ai-result{padding:16px}.assistant .panelhead{align-items:flex-start;gap:12px;flex-direction:column}}
.assistant #aiAsk{background:#245646;color:#fff;border-color:#245646}.assistant #aiAsk:hover{background:#1b4739}
