@import url('/app.css');
:root{color-scheme:dark;--bg:#0c1015;--panel:#131a22;--line:#27313d;--muted:#91a0b3;--text:#e6edf6;--blue:#79b1ff;--teal:#79d4b2;--red:#f09398}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.65 Inter,"Segoe UI","Microsoft YaHei",sans-serif}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}.masthead{height:88px;border-bottom:1px solid var(--line);padding:0 4%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:14px;color:var(--text);font-weight:700;letter-spacing:1.6px;font-size:13px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:1px;margin-top:4px}.brand-mark{width:40px;height:40px;background:#203752;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:800;border-radius:8px}.brand-mark span{font-size:17px;color:var(--blue);margin-left:1px}.environment{color:var(--muted);font-size:12px}.live-dot{display:inline-block;background:var(--teal);width:7px;height:7px;border-radius:50%;margin-right:8px}.shell{max-width:1600px;margin:auto;padding:0 4%}.intro{display:flex;align-items:center;justify-content:space-between;padding:46px 0 34px;gap:24px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--blue)}h1{font-size:34px;letter-spacing:-1px;line-height:1.3;margin:10px 0 12px}h2{font-size:17px;margin:0;font-weight:600}h3{font-size:15px;margin:0 0 8px}p{margin:10px 0;color:var(--muted)}.intro p{margin-bottom:0}.intro-note{border-left:2px solid var(--line);padding-left:20px;flex-shrink:0}.intro-note strong{display:block;font-size:11px;color:var(--blue);letter-spacing:1px}.intro-note span{font-size:12px;display:block;margin-top:8px;color:var(--muted)}.layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:24px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.controls{padding:24px 20px;position:sticky;top:16px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title h2{margin-top:2px}.tag{border:1px solid #34445a;background:#1c2939;color:#a9c7ef;border-radius:5px;padding:3px 8px;font-size:10px;white-space:nowrap}.tag.bad{background:#352026;border-color:#623038;color:#f6a7ac}.tag.good{background:#18372f;border-color:#2a594b;color:var(--teal)}fieldset{margin:24px 0 0;padding:0;border:0}legend{font-size:12px;font-weight:600;margin-bottom:12px;color:#c4d0df}label{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}input,select{display:block;width:100%;background:#0e151d;border:1px solid #303d4c;color:var(--text);border-radius:6px;padding:9px 10px;margin-top:5px;min-height:38px;outline:0}input:focus,select:focus,button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}input[type=checkbox]{width:13px;height:13px;min-height:0;margin:0;accent-color:var(--blue)}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.chip{display:flex;align-items:center;gap:6px;padding:6px 9px;margin:0;border:1px solid #334153;border-radius:6px;background:#182332;color:#b6c9e1;font-size:11px;cursor:pointer}.chip:has(input:checked){border-color:#477bb8;background:#213752;color:#d8e8ff}.inline{display:flex;gap:6px;align-items:center}.inline input{margin:0;min-width:0}.quiet{background:transparent;border:1px solid #3b4b5e;color:#b6c6da;border-radius:6px;padding:7px 11px;font-size:11px;white-space:nowrap}.quiet:hover:not(:disabled){background:#213044;border-color:#5679a5}.hint{font-size:11px;line-height:1.8;color:#8393a8;margin:8px 0}.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.date-grid input{font-size:11px;min-width:0;padding:8px 6px}.date-grid label{min-width:0}.split-strip{display:flex;gap:3px;height:24px;margin:2px 0 9px}.split-strip span{background:#284666;color:#bad7f7;font-size:9px;display:flex;align-items:center;justify-content:center;flex:1}.split-strip span:first-child{flex:2;border-radius:4px 0 0 4px}.split-strip span:nth-child(2){background:#304336;color:#bad8bc}.split-strip span:last-child{background:#453d57;color:#d4c7ec;border-radius:0 4px 4px 0}.count-note{font-size:11px;color:var(--blue);border-left:2px solid var(--blue);padding-left:9px}.primary{background:#83b6fb;color:#0a1b30;border:0;border-radius:7px;padding:12px 15px;font-size:12px;font-weight:700}.run-button{width:100%;display:flex;justify-content:space-between;margin-top:24px}.cancel{width:100%;margin-top:10px}.run-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.run-head h2{margin-top:6px}.run-panel>p{font-size:12px;overflow-wrap:anywhere}.progress-track{height:3px;background:#26313e;margin:20px 0;border-radius:4px;overflow:hidden}#progress-bar{width:0;height:100%;background:var(--blue);transition:width .3s}.history-row{display:flex;gap:15px;align-items:end;justify-content:space-between}.history-row label{margin:0;min-width:180px;flex:1}.export-actions{display:flex;gap:6px;flex-wrap:wrap}.notice{padding:12px;background:#352b20;border:1px solid #59482f;border-radius:6px;font-size:12px;margin-top:15px;color:#e9c995}.notice code{display:block;margin:7px 0;overflow-wrap:anywhere}.empty-state{padding:36px;min-height:420px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.empty-state>p{max-width:580px;font-size:13px}.empty-grid{position:relative;height:135px;margin:0 0 25px}.empty-grid span{position:absolute;height:1px;background:#253345;left:0;right:0;top:20%}.empty-grid span:nth-child(2){top:45%}.empty-grid span:nth-child(3){top:70%}.empty-grid span:nth-child(4){top:95%}.empty-grid svg{position:absolute;width:100%;height:100%;opacity:.7}.empty-grid path{stroke:var(--blue);fill:none;stroke-width:2}.empty-facts{display:flex;gap:20px;margin-top:24px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.empty-facts b{color:var(--blue);margin-right:4px}.study-toolbar{display:flex;align-items:center;justify-content:space-between;margin:8px 0 20px;gap:16px}.study-toolbar>label{display:flex;align-items:center;gap:10px;margin:0;white-space:nowrap}.study-toolbar select{width:110px;margin:0;font-size:11px}.tabs{display:flex;gap:8px}.tabs button{border:1px solid #34465d;border-radius:6px;background:#162130;color:#a8bad0;padding:9px 14px;font-size:12px}.tabs button.active{background:#2a4668;color:#e6f0ff;border-color:#527cae}.selection-panel>p{font-size:12px}.metric-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.metric-card{border:1px solid var(--line);background:var(--panel);border-radius:9px;padding:17px}.metric-card span{display:block;font-size:10px;color:var(--muted)}.metric-card strong{font-size:24px;font-weight:500;display:block;margin-top:8px;font-variant-numeric:tabular-nums}.metric-card small{font-size:10px;color:var(--muted)}.positive{color:var(--teal)}.negative{color:var(--red)}.table-wrap{overflow:auto;width:100%;margin-top:12px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}th{text-align:left;background:#17212d;color:#9eb0c6;font-size:10px;font-weight:500;padding:10px 11px;border-bottom:1px solid var(--line)}td{padding:11px;border-bottom:1px solid #222e3b;color:#c6d1df}tbody tr:last-child td{border-bottom:0}.parameter-table{max-height:330px}.parameter-table thead{position:sticky;top:0}.parameter-table tbody tr{cursor:pointer}.parameter-table tbody tr:hover{background:#1a293c}.parameter-table tr.selected{background:#213752}.parameter-table tr.selected td:first-child{box-shadow:inset 2px 0 var(--blue)}.chart{height:240px;width:100%;margin-top:20px}.chart svg{width:100%;height:100%;overflow:visible}.chart text{fill:#8194aa;font-size:10px}.chart .gridline{stroke:#283441;stroke-width:1}.chart .line{stroke:var(--blue);stroke-width:2;fill:none}.chart .base-line{stroke:#788597;stroke-width:1.5;fill:none;stroke-dasharray:4 4}.legend{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.legend i{display:inline-block;width:12px;height:2px;background:var(--blue)}.legend i.baseline{background:#788597;margin-left:8px}.label-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:24px}.label-grid article+article{border-left:1px solid var(--line);padding-left:26px}.label-grid article>p{font-size:11px;min-height:60px}.label-row{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #26313e;font-size:11px;color:var(--muted)}.label-row b{color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.label-row:last-child{border:0}details{margin-top:18px}summary{cursor:pointer;color:#bacbe0;font-size:12px}.methods p{font-size:11px}.methods b{color:#c5d1df}footer{display:flex;justify-content:space-between;gap:16px;padding:30px 0;color:#637890;font-size:10px;letter-spacing:1px}footer span{letter-spacing:0}[hidden]{display:none!important}@media(min-width:1500px){.layout{grid-template-columns:330px minmax(0,1fr)}}@media(max-width:1050px){.layout{grid-template-columns:270px minmax(0,1fr);gap:16px}.controls{padding:20px 15px}.panel{padding:20px}.history-row{align-items:stretch;flex-direction:column}.metric-cards{grid-template-columns:1fr 1fr}.label-grid{grid-template-columns:1fr;gap:20px}.label-grid article+article{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.label-grid article>p{min-height:0}.intro-note{display:none}}@media(max-width:720px){.masthead{height:72px}.environment{font-size:10px}.brand{font-size:10px;gap:8px}.brand small{font-size:8px}.brand-mark{width:33px;height:33px}.shell{padding:0 18px}.intro{padding:30px 0 25px}h1{font-size:27px}.intro p{font-size:12px}.layout{display:block}.controls{position:static}.controls fieldset{margin-top:20px}.date-grid input{font-size:12px}.study-toolbar{flex-wrap:wrap}.section-title{align-items:start;flex-wrap:wrap}.metric-card strong{font-size:22px}.empty-state{padding:26px;min-height:350px}.empty-facts{gap:12px}.export-actions{gap:7px}footer{flex-direction:column}.chart{height:200px}}
