:root{
  --ink:#173e4d;--muted:#66808a;--teal:#2f829c;--teal-dark:#216477;--teal-soft:#e9f4f5;
  --blue:#315fc7;--purple:#7750c9;--orange:#e98a20;--orange-soft:#fff1dd;--green:#278b68;--red:#c94e45;
  --line:#c8dadd;--paper:#fff;--page:#f1f7f7;--shadow:0 16px 44px rgba(31,71,82,.12)
}
*{box-sizing:border-box}
body{margin:0;min-width:320px;color:var(--ink);background:linear-gradient(rgba(47,130,156,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(47,130,156,.035) 1px,transparent 1px),var(--page);background-size:32px 32px;font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",system-ui,sans-serif}
button,input{font:inherit}button{touch-action:manipulation}
.page-shell{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:30px 0 52px}
.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:22px;padding:0 4px}
.eyebrow{display:block;color:var(--orange);font-size:15px;font-weight:850;letter-spacing:.12em;margin-bottom:8px}
h1{font-size:clamp(31px,3.4vw,50px);line-height:1.08;margin:0 0 10px;letter-spacing:-.035em}
.page-header p{margin:0;color:var(--muted);font-size:17px;line-height:1.6}
.experiment-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.experiment-nav a,.experiment-nav span{padding:9px 13px;border-radius:999px;border:1px solid var(--line);font-size:13px;font-weight:800;text-decoration:none}.experiment-nav a{background:#fff;color:var(--teal-dark)}.experiment-nav span{background:var(--teal);border-color:var(--teal);color:#fff}
.workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:20px;align-items:start}
.control-panel,.experiment-panel,.speed-chart-panel,.prediction-panel,.data-panel,.conclusion-strip{background:var(--paper);border:1px solid rgba(152,184,190,.68);box-shadow:var(--shadow);border-radius:22px}
.control-panel{padding:21px;position:sticky;top:14px}.experiment-panel{padding:19px;min-width:0}
.section-title{display:flex;align-items:center;gap:11px}.step-number{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:var(--orange-soft);color:var(--orange);font-size:14px;font-weight:900}
h2{font-size:20px;margin:0}.section-title p{margin:4px 0 0;color:var(--muted);font-size:13px}
.model-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:19px 0 12px;padding:5px;border-radius:14px;background:#e7eff0}
.model-button{min-height:62px;padding:8px 5px;border:0;border-radius:10px;background:transparent;color:#5f7882;cursor:pointer}.model-button strong,.model-button small{display:block}.model-button strong{font-size:13px}.model-button small{font-size:10px;margin-top:4px}.model-button.active{background:#fff;color:var(--ink);box-shadow:0 3px 10px rgba(27,67,80,.13)}
.model-card{padding:13px 14px;border-radius:14px;background:var(--teal);color:#fff}.model-card>span{display:block;color:#bfd3d8;font-size:11px;font-weight:800;letter-spacing:.08em}.model-card strong{display:block;margin-top:5px;font-size:15px}.model-card p{margin:6px 0;color:#d0e0e4;font-size:12px;line-height:1.55}.model-card div{padding-top:7px;border-top:1px solid rgba(255,255,255,.18);font-size:16px;font-weight:900}.model-card.rod{background:#60449c}.model-card.outer{background:#9a6222}
.range-label{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:17px 0 8px;color:var(--muted);font-size:13px}.range-label span small{display:block;margin-top:2px;font-size:10px;color:#8aa0a8}.range-label strong{color:var(--ink);font-size:16px;white-space:nowrap}
input[type=range]{width:100%;height:8px;appearance:none;background:linear-gradient(90deg,var(--teal) 0 50%,#dbe7e9 50%);border-radius:999px;outline:none}
input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;border:7px solid var(--teal);box-shadow:0 3px 10px rgba(23,62,77,.2);cursor:pointer}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#fff;border:7px solid var(--teal);box-shadow:0 3px 10px rgba(23,62,77,.2);cursor:pointer}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:17px;padding:13px 0;border-top:1px solid #dbe7e9;border-bottom:1px solid #dbe7e9;cursor:pointer}.conclusion-switch{margin-top:0;border-top:0}.switch-row>span:first-child{display:flex;flex-direction:column;gap:3px}.switch-row strong{font-size:14px}.switch-row small{color:var(--muted);font-size:11px}
.switch-control{position:relative;display:block;flex:0 0 auto;width:48px;height:28px}.switch-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.switch-track{display:block;width:48px;height:28px;padding:3px;border-radius:999px;background:#c9d7da}.switch-track span{display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(23,62,77,.22);transition:transform .18s ease}.switch-control input:checked+.switch-track{background:var(--teal)}.switch-control input:checked+.switch-track span{transform:translateX(20px)}
.critical-button{width:100%;margin-top:13px;min-height:42px;border:1px solid #efc788;border-radius:11px;background:#fff7e9;color:#a55e0e;font-size:13px;font-weight:850;cursor:pointer}
.button-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.primary-button,.secondary-button{min-height:42px;padding:9px 12px;border-radius:11px;font-weight:850;cursor:pointer}.primary-button{grid-column:1/-1;border:0;background:var(--teal);color:#fff}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink)}button:disabled,input:disabled{opacity:.46;cursor:not-allowed}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid rgba(233,138,32,.4);outline-offset:3px}
.button-row.top-actions{margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid #dbe7e9}
.experiment-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.status-badge{padding:8px 13px;border-radius:999px;font-size:13px;font-weight:850}.status-badge.ready{background:#eef5f6;color:#55737d}.status-badge.running{background:var(--teal-soft);color:var(--teal-dark)}.status-badge.pass{background:#edf8f3;color:var(--green)}.status-badge.fail{background:#fff0ee;color:var(--red)}.status-badge.warn{background:#fff6e6;color:#a86b13}
.canvas-wrap{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#f8fbfb;touch-action:none}.canvas-wrap canvas{display:block;width:100%;height:auto;aspect-ratio:1200/760;cursor:grab;touch-action:none}.canvas-wrap canvas.dragging{cursor:grabbing}.canvas-tip{position:absolute;right:12px;bottom:10px;padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.91);color:var(--muted);font-size:12px;pointer-events:none}
.live-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.live-metrics>div{padding:11px 13px;border-radius:13px;background:#f5f9f9;border:1px solid #dbe7e9}.live-metrics span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.live-metrics strong{font-size:16px;font-variant-numeric:tabular-nums}
.trajectory-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:10px;padding:9px 12px;border-radius:12px;background:#f6fafa;color:#607984;font-size:12px}.trajectory-legend span{display:flex;align-items:center;gap:7px}.trajectory-legend i{display:block;width:28px;height:5px;border-radius:999px}.circle-line{background:#2f829c}.flight-line{background:#e98a20}.trajectory-legend strong{margin-left:auto;color:#a55b0c;font-weight:850}
.speed-chart-panel,.prediction-panel,.data-panel{margin-top:20px;padding:22px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.chart-current{padding:9px 13px;border-radius:12px;background:var(--teal-soft);text-align:right}.chart-current span{display:block;color:var(--muted);font-size:11px}.chart-current strong{font-size:16px;color:var(--teal-dark);font-variant-numeric:tabular-nums}.speed-chart-wrap{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fbfdfd}.speed-chart-wrap canvas{display:block;width:100%;height:auto;aspect-ratio:1320/420}.chart-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:12px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{display:block}.speed-curve-key{width:30px;height:5px;border-radius:999px;background:var(--teal)}.current-point-key{width:13px;height:13px;border-radius:50%;background:var(--orange);border:2px solid #fff;box-shadow:0 0 0 2px var(--orange)}.chart-legend small{margin-left:auto;color:#7d9299}.prediction-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.result-badge{padding:10px 15px;border-radius:12px;font-size:14px;font-weight:900}.result-badge.pass{background:#edf8f3;color:var(--green)}.result-badge.fail{background:#fff0ee;color:var(--red)}.result-badge.warn{background:#fff6e6;color:#a86b13}
.prediction-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.prediction-grid.compact{grid-template-columns:repeat(2,1fr)}.prediction-grid>div{padding:14px;border-radius:14px;background:#f6fafa;border:1px solid #d7e4e6}.prediction-grid span,.prediction-grid small{display:block;color:var(--muted);font-size:12px}.prediction-grid strong{display:block;margin:7px 0;font-size:17px;font-variant-numeric:tabular-nums}.prediction-grid small{line-height:1.45}.result-explanation{margin-top:12px;padding:13px 15px;border-radius:12px;background:#eef5f6;color:#42636f;font-size:14px;font-weight:750;line-height:1.65}
.conclusion-prompt{margin-top:12px;padding:13px 15px;border-radius:12px;background:#fff7e9;border:1px solid #efcf9e;color:#936019;font-size:14px;font-weight:800}.conclusion-only[hidden],.conclusion-prompt[hidden]{display:none}
.data-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.data-heading span{color:var(--muted);font-size:13px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;min-width:880px}th,td{text-align:left;padding:13px 15px;border-bottom:1px solid #dbe7e9;font-size:13px}th{background:#eef5f6;color:#496772;font-weight:850}td{color:#365c69;font-variant-numeric:tabular-nums}.active-row{background:#fff7e9}tbody tr:last-child td{border-bottom:0}
.conclusion-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px;padding:20px}.conclusion-strip>div{display:flex;align-items:flex-start;gap:12px}.conclusion-mark{flex:0 0 auto;padding:6px 9px;border-radius:8px;background:var(--teal-soft);color:var(--teal-dark);font-size:13px;font-weight:900}.conclusion-mark.orange{background:var(--orange-soft);color:#a65b0b}.conclusion-mark.purple{background:#f0ebfb;color:#6b49aa}.conclusion-strip p{margin:1px 0 0;color:var(--muted);font-size:14px;line-height:1.7}
@media(max-width:980px){.page-header{align-items:flex-start;flex-direction:column}.experiment-nav{justify-content:flex-start}.workspace{grid-template-columns:1fr}.control-panel{position:static}.prediction-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.page-shell{width:calc(100% - 18px);padding-top:18px}.control-panel,.experiment-panel,.speed-chart-panel,.prediction-panel,.data-panel{padding:15px;border-radius:17px}.page-header p{font-size:15px}.model-tabs{grid-template-columns:1fr}.model-button{min-height:48px}.live-metrics,.prediction-grid,.conclusion-strip{grid-template-columns:1fr}.chart-heading,.prediction-heading,.experiment-topline,.data-heading{align-items:flex-start;flex-direction:column}.chart-current{text-align:left}.chart-legend small{margin-left:0;flex-basis:100%}.button-row{grid-template-columns:1fr 1fr}.primary-button{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.switch-track span{transition:none}}
