:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#deeff5;background:#050d16;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;overflow:hidden;height:100vh}canvas{display:block;width:100vw;height:100vh;outline:none}
.frame{position:absolute;left:24px;right:24px;z-index:2;pointer-events:none}.top{top:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:14px;pointer-events:auto}.crest{width:42px;height:42px;border:4px solid #c5ad8b;border-radius:50%;box-shadow:inset 0 0 0 6px #09151e,0 0 22px #80deff44;background:conic-gradient(from 20deg,#68d5f4,#d2b594,#68d5f4)}
.brand strong{font-size:17px;letter-spacing:.24em;display:block}.brand small{display:block;margin-top:5px;color:#86a5b5;letter-spacing:.055em;font-size:11px}
.datachips{display:flex;gap:8px}.datachips div{min-width:75px;background:#0b1a25cc;border:1px solid #30506699;border-radius:7px;padding:10px 12px}.datachips small{display:block;color:#698b9c;font-size:9px;letter-spacing:.14em}.datachips b{display:block;font-size:16px;font-weight:600;margin-top:5px}
.panel{position:absolute;top:112px;left:24px;width:320px;max-height:calc(100vh - 169px);overflow-y:auto;scrollbar-width:thin;z-index:4;background:linear-gradient(160deg,#0d2331ea,#09151fed);border:1px solid #38566a99;border-radius:12px;box-shadow:0 22px 75px #02090d88;padding:21px 20px 17px;backdrop-filter:blur(14px)}
.panel-header{margin-bottom:18px}.eyebrow{font-size:10px;letter-spacing:.21em;font-weight:700;color:#8dbdcc}.panel h1{margin:6px 0 0;font-size:23px;letter-spacing:-.025em;font-weight:540}
.field{display:block;font-size:10px;letter-spacing:.14em;font-weight:700;color:#8eb1c2;margin:15px 0}select{width:100%;margin-top:7px;background:#122b39;color:#e0eff4;border:1px solid #466376;border-radius:6px;padding:10px 12px;outline:none;font-size:12px;letter-spacing:.01em}option{color:#d6e7ed}
.slider-label{display:flex;align-items:center;justify-content:space-between;color:#86aaba;font-weight:700;letter-spacing:.12em;font-size:10px;margin:16px 0 5px}.slider-label span:last-child{color:#e4e4d4;letter-spacing:.03em;font-size:12px}
input[type=range]{accent-color:#73cce6;width:100%;cursor:pointer}.switchline{display:flex;flex-direction:column;gap:9px;margin:17px 0}.switchline label{font-size:12px;color:#b4cdd8;cursor:pointer}.switchline input{accent-color:#73cce6;margin-right:8px}
.buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}button{cursor:pointer;border:1px solid #5b8193;background:#1a3947;color:#e0eff4;min-height:37px;padding:8px 10px;border-radius:5px;font-size:11px;font-weight:600;letter-spacing:.025em;transition:background .2s}button:hover{background:#2a5a6b}button:disabled{opacity:.42;cursor:default}.wide{width:100%;margin-top:4px;background:#314b54;border-color:#927c61}
.readouts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}.readouts>div{border:1px solid #35516388;background:#0b1f2c;padding:10px;border-radius:5px}.readouts span{display:block;font-size:9px;letter-spacing:.13em;color:#7f9eaa}.readouts strong{display:block;font-size:17px;margin-top:7px;font-variant-numeric:tabular-nums;font-weight:600}
.guide{font-size:10px;line-height:1.6;color:#6f94a5;border-top:1px solid #335061aa;padding-top:14px;margin-top:16px}
.sim-panel{position:absolute;right:24px;bottom:74px;width:326px;z-index:3;background:#0a1a25ec;border:1px solid #345366;border-radius:10px;padding:18px 19px;backdrop-filter:blur(10px)}.sim-panel select{margin:10px 0}.equation{font-family:"Cambria Math",Georgia,serif;font-size:20px;color:#f4d7a7;padding:8px 0;overflow-wrap:anywhere}.example{font-size:12px;color:#99b8c7;line-height:1.55}.sim-result{border-top:1px solid #2b4d5c;margin-top:13px;padding-top:13px}.sim-result small{font-size:10px;color:#84a2b2;letter-spacing:.14em;display:block}.sim-result strong{font-size:23px;font-weight:520;display:block;margin-top:5px}.assumptions{color:#7495a5;font-size:10px;margin-top:10px;line-height:1.5}
.bottom{position:absolute;bottom:15px;left:26px;right:26px;display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.08em;color:#8fb2c3;pointer-events:none}.statusdot{width:7px;height:7px;border-radius:50%;background:#88dcb2;box-shadow:0 0 14px #70edaa}.legend{margin-left:auto;color:#58788c;letter-spacing:.14em}
@media(max-width:1050px){.datachips{display:none}.panel{width:270px}.sim-panel{width:270px}}
@media(max-width:670px){.top{top:12px;left:12px}.brand strong{font-size:12px}.brand small{font-size:9px}.panel{top:77px;left:10px;width:230px;max-height:47vh;padding:13px}.sim-panel{bottom:37px;right:10px;width:225px;padding:12px}.sim-panel .equation{font-size:15px}.sim-result strong{font-size:18px}.bottom{left:12px;bottom:9px}.legend{display:none}}
