
:root{color-scheme:dark;--bg:#080f1d;--line:rgba(143,176,215,.15);--accent:var(--sim-accent,#78dff4)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:#edf5ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}
.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:68px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(8,15,29,.86);position:sticky;top:0;z-index:3;backdrop-filter:blur(18px)}
.brand{font-size:13px;font-weight:850;letter-spacing:.16em}.brand span{color:var(--accent)}.brand svg{width:17px;height:17px;margin-left:8px;vertical-align:middle;color:var(--accent)}.back{font-size:12px;color:#a9bdd6}.back:hover{color:#fff}.status{font-size:10px;letter-spacing:.14em;color:#7de0b2;border:1px solid rgba(125,224,178,.22);padding:7px 10px;border-radius:20px}.status.paused{color:#f2c17c;border-color:rgba(242,193,124,.28)}
.layout{width:min(1500px,100%);margin:0 auto;padding:24px;display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;flex:1}.panel,.stage{background:linear-gradient(155deg,rgba(19,33,55,.96),rgba(12,23,41,.96));border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.22)}
.panel{padding:23px;display:flex;flex-direction:column;gap:16px;align-self:start}.eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:800}.panel h1{font-size:25px;line-height:1.12;letter-spacing:-.04em;margin:0}.description{font-size:12px;line-height:1.65;color:#9eb1ca;margin:0}
.control-list{display:flex;flex-direction:column;gap:13px;margin-top:3px}.control{display:flex;flex-direction:column;gap:8px}.control-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.control-head b{font-weight:650;color:#dbe7f6}.control output{color:var(--accent);font-size:10px;text-align:right}.control input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.control select{width:100%;background:#0c192c;color:#eaf4ff;border:1px solid rgba(135,172,210,.25);padding:9px 10px;border-radius:9px;font-size:12px}.range-limits{display:flex;justify-content:space-between;color:#657d9d;font-size:9px;margin-top:-5px}
.actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.actions button{border:1px solid rgba(140,177,218,.2);border-radius:10px;background:#172943;color:#d8e8f8;padding:10px 6px;font-size:10px;font-weight:750;cursor:pointer;transition:.18s}.actions button:first-child{background:var(--accent);color:#081522;border-color:transparent}.actions button:hover{transform:translateY(-1px);filter:brightness(1.12)}
.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.metric{padding:10px 11px;background:rgba(7,17,32,.55);border:1px solid rgba(135,170,208,.12);border-radius:11px;min-width:0}.metric span{display:block;font-size:9px;color:#8299b7;margin-bottom:5px}.metric strong{display:block;font-size:13px;color:#edf6ff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.learn{border-top:1px solid var(--line);padding-top:14px}.learn h3{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;color:#c2d1e5}.learn p{font-size:11px;line-height:1.65;color:#8fa4c0;margin:0}
.stage{padding:12px;min-width:0;display:flex;flex-direction:column;min-height:680px}.stage-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 13px;color:#9eb2cb;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.stage-head span:last-child{color:var(--accent)}canvas{width:100%;height:100%;min-height:620px;display:block;border-radius:13px;flex:1;background:#0a1427}.stage-foot{display:flex;justify-content:space-between;padding:12px 10px 4px;color:#647e9e;font-size:9px;letter-spacing:.08em}.footer{padding:10px 28px 20px;color:#526a88;text-align:center;font-size:10px}
@media(max-width:1000px){.layout{grid-template-columns:300px minmax(0,1fr);padding:16px;gap:14px}.panel{padding:18px}.panel h1{font-size:22px}.stage{min-height:600px}canvas{min-height:540px}}
@media(max-width:760px){.topbar{height:58px;padding:0 16px}.layout{grid-template-columns:1fr;padding:12px;gap:12px}.panel{order:1}.stage{order:2;min-height:500px}.panel h1{font-size:24px}.control-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metrics{grid-template-columns:repeat(3,1fr)}.metric strong{font-size:11px}canvas{min-height:470px}}
@media(max-width:420px){.control-list{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.stage{padding:8px;min-height:440px}canvas{min-height:420px}}
