:root{color-scheme:dark;--bg:#111d1c;--panel:#152321;--line:#38514c;--text:#e2e9d5;--muted:#9aada3;--beam:#eaf87b;--blue:#74d6de}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei","PingFang SC",sans-serif}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--beam);outline-offset:5px}button{min-height:44px;border:1px solid var(--line);background:transparent;border-radius:3px;padding:0 14px}button:hover{border-color:var(--beam);background:#eaf87b0b}button:disabled{cursor:default;opacity:.32}a{color:inherit}canvas{display:block;width:100%}.workbench{max-width:1440px;margin:auto;padding:0 44px}.topline{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);min-height:88px}.back{text-decoration:none;font-size:15px;display:flex;gap:12px;align-items:center;min-height:44px}.back>span{font-size:24px}.topline>button{border:0;font-size:13px}.heading{display:flex;justify-content:space-between;align-items:center;padding:35px 0 30px}.eyebrow{font-size:13px;letter-spacing:2px;color:#aec4b7;margin:0 0 12px}h1{font-size:clamp(35px,5vw,68px);font-weight:450;letter-spacing:-2px;line-height:1.18;margin:0}h1 span{white-space:nowrap}h1 i{color:var(--beam);font-style:normal}.header-mark{width:120px;height:74px;position:relative;opacity:.7;overflow:hidden}.header-mark span{position:absolute;width:120px;height:48px;border:1px solid var(--beam);border-radius:50%;transform:rotate(-28deg);top:10px}.header-mark span:nth-child(2){left:14px}.header-mark span:nth-child(3){left:28px}.optical-table{border:1px solid var(--line);background:radial-gradient(ellipse at 67% 45%,#223a30 0%,#152321 60%);position:relative}.scene-head{display:flex;justify-content:space-between;padding:18px 22px 0;align-items:center;font-size:12px;letter-spacing:1px}.bench-name{color:#a2b7a8;display:flex;align-items:center;gap:8px}.bench-name>i{height:6px;width:6px;background:var(--beam);border-radius:50%}#mode-badge{color:var(--beam);border:1px solid #eaf87b44;padding:7px 10px}#guide{height:275px;touch-action:none;cursor:grab}#guide:active{cursor:grabbing}.scene-key{display:flex;align-items:center;gap:20px;padding:0 22px 18px;color:var(--muted);font-size:11px;flex-wrap:wrap}.scene-key>span{display:flex;align-items:center;gap:6px}.scene-key i{width:17px;height:2px;background:var(--beam)}.scene-key .leaking{background:var(--blue)}.scene-key .previous{background:#aaa18c}.scene-key .scale-note{margin-left:auto;letter-spacing:.3px;font-size:10px}.power-strip{display:grid;grid-template-columns:1fr 1fr 1.2fr;border-top:1px solid var(--line);background:#101c1acc}.power-strip>div{padding:14px 22px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-right:1px solid var(--line)}.power-strip>div:last-child{border:0}.power-strip span{font-size:11px;color:var(--muted)}.power-strip strong{font-size:27px;font-weight:400;font-family:Consolas,monospace}.power-strip small{font-size:12px;margin-left:3px}.power-strip .arrived strong{color:var(--beam)}.instrument-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-top:0}.controls{padding:26px 30px 18px;border-right:1px solid var(--line)}.control-title{display:flex;justify-content:space-between;align-items:center;font-size:16px}.control-title output{color:var(--beam);font:24px Consolas,monospace}.angle-control{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:16px;align-items:center;margin-top:12px}.angle-control button{padding:0;font-size:24px;background:#24362e}.angle-control input{margin:0}input[type=range]{width:100%;height:44px;accent-color:var(--beam);cursor:pointer}.ruler-ends{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:3px}.angle-control+.ruler-ends{padding:0 60px}.presets{display:flex;gap:8px;margin-top:19px}.presets button{font-size:12px;flex:1;padding:0 5px;white-space:nowrap}.presets button.active{color:var(--beam);border-color:#9aaa4c;background:#eaf87b0a}.feedback{font-size:13px;color:#d5dfbc;line-height:1.8;min-height:47px;margin:16px 0}.material-control{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#b4c4b6;list-style:none}summary::-webkit-details-marker{display:none}summary span{font-size:18px}details[open] summary span{transform:rotate(45deg)}.material-inner{padding-bottom:15px}.material-label{display:flex;justify-content:space-between;font-size:12px}.material-label output{font-family:Consolas,monospace;color:var(--beam)}.material-inner p{color:var(--muted);font-size:11px;line-height:1.6}.reset{font-size:11px;border:0;padding:0;margin-top:5px;color:var(--muted)}.boundary-panel{padding:16px 24px 13px;min-width:0}.boundary-title{display:flex;align-items:center;justify-content:space-between;font-size:13px}.boundary-steps{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.boundary-steps button{font-size:23px;min-width:44px;padding:0;border:0}#boundary{height:220px}.boundary-readings{display:flex;gap:25px;justify-content:center;font-size:11px;color:var(--muted)}.boundary-readings b{font:17px Consolas,monospace;color:var(--beam);margin-left:4px}.boundary-panel>p{font-size:11px;color:var(--muted);text-align:center;line-height:1.8;margin:13px 0 0;min-height:36px}footer{display:flex;justify-content:space-between;padding:23px 0 34px;color:var(--muted);gap:15px;font-size:11px;line-height:1.7}dialog{width:min(660px,calc(100vw - 28px));max-height:86vh;background:#172522;color:var(--text);border:1px solid #64785e;border-radius:5px;padding:27px;line-height:1.9}dialog::backdrop{background:#071411d9;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:12px}.dialog-head button{font-size:26px;width:44px;padding:0;border:0}dialog h2{font-size:25px;font-weight:500;line-height:1.5}dialog h3{font-size:15px;margin-top:26px}dialog p{font-size:13px;color:#bdcdbd}dialog a{display:block;font-size:12px;color:var(--beam);padding:7px 0} [hidden]{display:none!important}@media(min-width:1500px){#guide{height:310px}}@media(max-width:760px){.workbench{padding:0 18px}.topline{min-height:74px;gap:6px}.back{font-size:11px;gap:4px}.topline>button{font-size:11px;padding:0}.heading{padding:24px 0 22px}.eyebrow{font-size:11px;letter-spacing:1px;margin-bottom:9px}h1{font-size:38px;letter-spacing:-1.6px}.header-mark{display:none}.scene-head{padding:13px 12px 0;font-size:10px;letter-spacing:0}#mode-badge{padding:5px 7px}#guide{height:220px}.scene-key{padding:0 12px 12px;gap:12px;font-size:10px}.scene-key .scale-note{width:100%;margin:0;font-size:9px}.power-strip>div{padding:10px 9px;display:block}.power-strip span{font-size:9px;white-space:nowrap}.power-strip strong{display:block;font-size:25px;margin-top:6px}.instrument-row{grid-template-columns:1fr}.controls{padding:18px 16px 9px;border-right:0}.control-title{font-size:14px}.angle-control{gap:11px;margin-top:6px}.angle-control+.ruler-ends{padding:0 55px}.presets{margin-top:13px;gap:5px}.presets button{font-size:11px}.feedback{font-size:12px;min-height:40px;margin:12px 0}.boundary-panel{border-top:1px solid var(--line);padding:11px 14px 16px}.boundary-title{font-size:12px}.boundary-steps{gap:0}.boundary-steps button{min-width:44px}#boundary{height:220px}.boundary-readings{gap:15px;font-size:10px}.boundary-readings b{font-size:15px}footer{flex-direction:column;gap:5px;padding:20px 0;font-size:10px}.reset{min-height:44px}dialog{padding:20px}dialog h2{font-size:22px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
