 :root{color-scheme:dark;--bg:#07111e;--panel:#0d1b2c;--text:#e8f2fa;--muted:#9bb0c2}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(ellipse at 12% 0%,#132c43 0%,#07111e 46%,#050b14 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}body{padding:22px}a{color:inherit;text-decoration:none}.shell{max-width:1320px;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.08em;font-size:12px;color:#b8d3e4}.brandmark{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#75e0bd,#4a9ed2);box-shadow:0 0 24px #54c9b477;display:grid;place-items:center;color:#061521;font-size:17px}.back{border:1px solid #29445c;border-radius:999px;padding:9px 14px;color:#b9cddd;font-size:12px;transition:.2s}.back:hover{border-color:#79dcb8;color:#fff;transform:translateY(-1px)}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:10px 0 20px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7fd9c0;font-weight:800;margin-bottom:9px}.hero h1{font-size:clamp(25px,4vw,42px);line-height:1.08;letter-spacing:-.035em;margin:0;max-width:900px}.hero p{color:var(--muted);max-width:820px;line-height:1.55;margin:12px 0 0;font-size:14px}.pill{border:1px solid #2d4c62;background:#11263a;color:#9ddbc9;border-radius:999px;padding:8px 12px;font-size:11px;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:stretch}.stage{border:1px solid #223c53;background:linear-gradient(145deg,#0c1b2c,#081421);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px #0006;min-width:0}.stagehead{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;border-bottom:1px solid #1e3449;color:#9fb5c6;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.live{display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;border-radius:50%;background:#73e0b6;box-shadow:0 0 12px #73e0b6}.canvaswrap{height:clamp(340px,55vw,590px);min-height:340px;position:relative;background:#07111e}canvas{width:100%;height:100%;display:block}.stats{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;border-top:1px solid #1e3449}.stat{padding:7px 10px;border:1px solid #20394f;background:#0b1a29;border-radius:10px;min-width:112px}.stat b{display:block;font-size:9px;color:#819caf;letter-spacing:.09em;text-transform:uppercase;font-weight:700;margin-bottom:3px}.stat span{font-size:12px;font-weight:700;color:#e3f2fa;font-variant-numeric:tabular-nums}.side{display:flex;flex-direction:column;gap:14px}.panel{border:1px solid #223c53;background:linear-gradient(150deg,#102238,#0b1929);border-radius:18px;padding:17px;box-shadow:0 14px 40px #0003}.panel h2{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#c7dbe8;margin:0 0 14px}.actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.btn{border:1px solid #2b4961;background:#142a40;color:#d9eaf4;padding:10px 6px;border-radius:10px;font-weight:700;font-size:11px;cursor:pointer;transition:.18s}.btn:hover{border-color:#78dcb8;transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,#73dfb8,#59a9d1);color:#061721;border:0}.btn:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #80e2c1;outline-offset:3px}.control{margin:0 0 17px}.control:last-child{margin-bottom:0}.controlhead{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;color:#d6e5ee}.controlhead output{color:#83dfbd;font-variant-numeric:tabular-nums;font-weight:700}input[type=range]{width:100%;accent-color:#75dcb7;cursor:pointer}select{width:100%;background:#0a1928;border:1px solid #29465c;color:#e7f2fa;border-radius:9px;padding:9px;font-size:12px}.explain{color:#a9bdcc;font-size:12px;line-height:1.6;margin:0}.formula{margin-top:12px;padding:10px 11px;border-radius:10px;background:#0a1928;border:1px solid #203a50;color:#a3e3d0;font-size:11px;line-height:1.5}.footer{color:#6f8799;font-size:10px;text-align:center;margin:18px 0 4px;letter-spacing:.04em}@media(max-width:900px){body{padding:15px}.workspace{grid-template-columns:1fr}.side{display:grid;grid-template-columns:1fr 1fr}.side .panel:first-child{grid-column:1/-1}.canvaswrap{height:clamp(330px,65vw,520px)}}@media(max-width:560px){body{padding:10px}.hero{display:block}.pill{display:inline-block;margin-top:14px}.side{display:flex}.canvaswrap{height:380px;min-height:300px}.stats{gap:6px}.stat{flex:1;min-width:calc(50% - 6px)}.topbar{margin-bottom:14px}}