*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.block{display:block}.table{display:table}.grid{display:grid}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{--chrome-0:#11191f;--chrome-1:#172229;--chrome-2:#1d2a32;--chrome-3:#263640;--line-dark:#33444f;--text:#edf3f6;--muted:#8fa1ad;--canvas:#f8f7f3;--canvas-line:#e2e2de;--blue:#268fda;--blue-bright:#43aaf0;--amber:#efa31d;--green:#5eca72;--red:#ef6257;--radius:8px}*{box-sizing:border-box}body,html{width:100%;min-height:100%;margin:0;background:var(--chrome-0)}body{font-family:Inter,Noto Sans SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;color:var(--text);font-size:13px;overflow:hidden}button,input{font:inherit}button{color:inherit}.app-shell{height:100vh;min-height:700px;display:grid;grid-template-rows:52px minmax(0,1fr) 28px;background:var(--chrome-0)}.topbar{min-width:0;padding:0 12px;background:linear-gradient(180deg,#18242c,#121b21);border-bottom:1px solid #34444e;box-shadow:0 3px 10px #08101566;z-index:20}.brand,.topbar{display:flex;align-items:center}.brand{gap:8px;width:158px;padding-left:2px}.brand>span{width:31px;height:31px;display:grid;place-items:center;color:#fff;border-radius:7px;background:var(--blue);box-shadow:inset 0 0 0 1px #76bef0}.brand strong{font-size:18px;letter-spacing:-.5px}.lab-tabs{display:flex;align-self:stretch}.lab-tabs button{min-width:76px;padding:0 10px;border:0;border-left:1px solid transparent;border-right:1px solid transparent;background:transparent;color:#acbbc4;cursor:pointer;font-size:11px;font-weight:600;position:relative}.lab-tabs button i{display:none}.lab-tabs button:hover{color:#fff;background:#ffffff08}.lab-tabs button.active{color:#fff;background:#21384a;border-color:#33556b}.lab-tabs button.active:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:var(--blue-bright)}.project-title{flex:1;min-width:96px;max-width:170px;margin:0 auto;justify-content:center;background:none;border:0;color:#cbd6db;cursor:pointer;font-size:11px}.project-title,.toolbar{display:flex;align-items:center;gap:6px}.toolbar{margin-left:auto}.toolbar>span{width:1px;height:25px;background:var(--line-dark);margin:0 3px}.toolbar button{height:34px;min-width:34px;padding:0 9px;border:1px solid transparent;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;color:#b2c0c7;cursor:pointer;font-weight:650}.toolbar button:hover{background:#2a3942;color:#fff}.toolbar .run-button{min-width:78px;background:#d98a08;color:#fff;border-color:#f1b23e;box-shadow:inset 0 1px #ffcf75}.toolbar .run-button.pause{background:#915e16;border-color:#b0792a}.toolbar .reset-button{background:#26343d;border-color:#344650}.toolbar .error-button{min-width:74px;border-color:#41525c;background:#202d35;font-size:11px}.toolbar .error-button.active{color:#f2bc55;border-color:#8d6829;background:#3c2f1d}.main-grid{min-height:0;display:grid;grid-template-columns:208px minmax(500px,1fr) 238px;gap:1px;background:#0c1318}.panel{background:var(--chrome-1);border:1px solid #31424c}.panel-title{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-bottom:1px solid #30404a;color:#f4f7f8;font-weight:700;font-size:12px}.panel-title span{color:var(--muted);font-size:11px;font-weight:500}.inventory{min-height:0;display:flex;flex-direction:column;border-width:0 1px 0 0}.search-box{height:31px;flex:none;margin:8px 8px 6px;display:flex;align-items:center;gap:7px;padding:0 8px;border:1px solid #3a4c57;border-radius:5px;background:#121c22;color:#8ea1ad}.search-box input{width:100%;border:0;outline:0;background:transparent;color:#e6edf0;font-size:12px}.search-box input::-moz-placeholder{color:#71838e}.search-box input::placeholder{color:#71838e}.category-tabs{display:flex;gap:4px;padding:0 8px 7px;overflow-x:auto;scrollbar-width:none}.category-tabs button{flex:none;height:27px;padding:0 9px;border:1px solid #344650;border-radius:4px;background:#1d2a32;color:#a9b7bf;cursor:pointer;font-size:11px}.category-tabs button.active{border-color:#278cd2;background:#206c9f;color:#fff}.equipment-grid{min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 8px 10px;align-content:start;scrollbar-width:thin;scrollbar-color:#435560 transparent}.equipment-card{height:74px;border:1px solid #34464f;border-radius:5px;background:#1b272e;display:grid;grid-template:1fr 18px/1fr 18px;align-items:center;color:#dce4e8;cursor:grab;padding:5px 6px 4px;text-align:left;transition:.15s ease}.equipment-card:hover{border-color:#4b6a7c;background:#21313a;transform:translateY(-1px)}.equipment-card.selected{border-color:#2d9ce8;box-shadow:inset 0 0 0 1px #2d9ce855;background:#1b3545}.equipment-card:active{cursor:grabbing}.equipment-visual{grid-column:1/-1;height:31px;display:grid;place-items:center;color:#a9c0cc}.equipment-card.selected .equipment-visual{color:#52b5f3}.equipment-card strong{font-size:12px;font-weight:600;white-space:nowrap}.equipment-card small{justify-self:end;font-size:10px;color:#758894}.inventory-tip{flex:none;margin:0 10px 10px;padding:9px 5px 0;color:#72858f;border-top:1px solid #2c3b44;font-size:10px;text-align:center}.center-column{min-width:0;min-height:0;display:grid;grid-template-rows:38px minmax(320px,1fr) 156px;gap:1px;background:#0d151a}.workspace-head{display:flex;align-items:center;justify-content:space-between;padding:0 13px;background:var(--chrome-1);border:solid #31424c;border-width:0 0 1px}.workspace-head>div{display:flex;align-items:center;gap:9px}.workspace-head strong{font-size:13px}.workspace-head span{color:#8496a0;font-size:11px}.workspace-head>div:last-child{color:#a8b7bf;font-size:11px}.workspace-head em{padding:3px 7px;border-radius:4px;background:#22313a;color:#8fa1aa;font-style:normal;font-size:10px}.status-dot{width:7px;height:7px;border-radius:50%;background:#84919a}.status-dot.running{background:var(--green);box-shadow:0 0 0 3px #5eca7222}.workspace{position:relative;min-width:0;min-height:0;overflow:hidden;background-color:var(--canvas);background-image:linear-gradient(var(--canvas-line) 1px,transparent 1px),linear-gradient(90deg,var(--canvas-line) 1px,transparent 1px);background-size:24px 24px;border:1px solid #303f47}.canvas-note{position:absolute;left:12px;bottom:10px;height:27px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #ccd2d3;border-radius:5px;background:#ffffffdb;backdrop-filter:blur(5px);color:#68757b;font-size:10px;box-shadow:0 2px 8px #16232b14}.ok-dot,.warn-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.warn-dot{background:var(--amber)}.workspace-ruler{position:absolute;z-index:2;opacity:.35}.workspace-ruler.horizontal{top:0;left:30px;right:0;height:14px;border-bottom:1px solid #87939a;background:repeating-linear-gradient(90deg,transparent 0 11px,#65727a 11px 12px)}.workspace-ruler.vertical{left:0;top:30px;bottom:0;width:14px;border-right:1px solid #87939a;background:repeating-linear-gradient(0deg,transparent 0 11px,#65727a 11px 12px)}.sandbox-workspace{touch-action:none}.sandbox-toolbar{position:absolute;z-index:8;top:10px;left:12px;right:12px;height:35px;padding:0 7px 0 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid #c9d0d2;border-radius:6px;background:#fffffff2;color:#47565e;box-shadow:0 3px 12px #14252e14;backdrop-filter:blur(6px)}.sandbox-toolbar>div{display:flex;align-items:center;gap:7px}.sandbox-toolbar strong{color:#263740;font-size:11px}.sandbox-toolbar span{color:#89969c;font-size:9px}.sandbox-toolbar button{height:26px;padding:0 7px;display:flex;align-items:center;gap:5px;border:1px solid #cbd2d4;border-radius:4px;background:#f5f7f7;color:#65747b;font-size:9px;cursor:pointer}.sandbox-toolbar button.active,.sandbox-toolbar button:hover:not(:disabled){border-color:#438fc0;background:#e5f3fb;color:#1e78ae}.sandbox-toolbar button:disabled{opacity:.36;cursor:not-allowed}.toolbar button:disabled{opacity:.32;cursor:not-allowed}.sandbox-links{position:absolute;z-index:1;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.sandbox-links>path{fill:none;stroke-width:4;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px #ffffff)}.sandbox-links .mechanical-link{stroke-width:3;stroke-dasharray:8 4}.sandbox-links .track-binding-link{opacity:0}.sandbox-links .optical-link{stroke-width:1.5;stroke-dasharray:4 5;opacity:.5}.sandbox-links .thermal-link{stroke-width:5;stroke-dasharray:3 5;opacity:.78}.sandbox-links .electrical-link.energized{stroke-dasharray:9 6;animation:currentFlow .55s linear infinite}.sandbox-ray{fill:none;stroke-width:2;opacity:.9;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px #ef4f3f88)}.motion-trail{stroke-width:2;stroke-dasharray:5 4;filter:drop-shadow(0 0 3px #8d55d466)}.motion-trail,.wave-path{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none}.wave-path{stroke-width:2.4;filter:drop-shadow(0 0 4px #7d56b566)}.sandbox-empty{position:absolute;z-index:2;left:50%;top:48%;transform:translate(-50%,-50%);width:330px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#75848b;pointer-events:none}.sandbox-empty>span{width:58px;height:58px;display:grid;place-items:center;margin-bottom:12px;border:1px dashed #a8b2b6;border-radius:50%;color:#71848e;background:#ffffff99}.sandbox-empty strong{color:#35464e;font-size:16px}.sandbox-empty p{margin:7px 0 5px;font-size:11px}.sandbox-empty small{color:#99a4a9;font-size:9px}.sandbox-object{position:absolute;z-index:4;width:102px;height:70px;padding:7px 7px 5px 39px;border:1px solid #7d8d94;border-radius:7px;background:#eef1f1;color:#35434a;box-shadow:0 4px 8px #17283022;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform-origin:center}.sandbox-object:active{cursor:grabbing}.sandbox-object.selected{border-color:#238fd4;box-shadow:0 0 0 2px #238fd433,0 5px 12px #17283028}.sandbox-object.domain-mechanics{border-color:#a87832;background:#f4f0e7}.sandbox-object.domain-optics{border-color:#438cad;background:#eaf3f6}.sandbox-object.domain-thermal{border-color:#c86b3e;background:#fbefe9}.sandbox-object[data-equipment-id=electricField],.sandbox-object[data-equipment-id=magneticField]{border-style:dashed;background:#edf1fbcc;box-shadow:inset 0 0 18px #506cbf18,0 4px 8px #17283018}.sandbox-object[data-equipment-id=chargedParticle],.sandbox-object[data-equipment-id=projectile]{border-radius:35px}.sandbox-object[data-equipment-id=stringWave]{border-style:dashed;background:#f1edf8d9}.sandbox-object[data-equipment-id=inductionCoil]{border-color:#b36f36;background:#f6eee8}.sandbox-object[data-equipment-id=rippleTank]{border-style:dashed;border-color:#388cae;background:#e7f4f8cc}.sandbox-object[data-equipment-id=rippleSource]{border-radius:35px;border-color:#388cae;background:#eef8fb}.sandbox-object[data-equipment-id=ground]{width:min(520px,68%);height:28px;padding:4px 10px 3px 36px;border-color:#626f75;border-radius:3px;background:repeating-linear-gradient(135deg,#59666c 0 8px,#707d82 8px 16px);color:#fff}.sandbox-object[data-equipment-id=ground] .sandbox-object-icon{top:1px;color:#fff}.sandbox-object[data-equipment-id=ground] small{display:none}.sandbox-object[data-equipment-id=massBlock]{width:66px;height:54px;padding:0;border:0;background:transparent;box-shadow:none}.sandbox-object[data-equipment-id=conveyorBelt],.sandbox-object[data-equipment-id=movablePlank]{height:44px;padding:0;border:0;border-radius:5px;background:transparent;box-shadow:none}.sandbox-object[data-equipment-id=horizontalTrack],.sandbox-object[data-equipment-id=inclinedPlane]{height:34px;padding:0;border:0;border-radius:3px;background:transparent;box-shadow:none}.sandbox-object[data-equipment-id=horizontalTrack] .sandbox-port,.sandbox-object[data-equipment-id=inclinedPlane] .sandbox-port{top:8px}.sandbox-object[data-equipment-id=circularTrack]{width:48px;height:48px;padding:0;border-radius:50%;background:transparent;border-color:transparent;box-shadow:none}.sandbox-object[data-equipment-id=trackCart]{width:62px;height:48px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none}.sandbox-object[data-equipment-id=circularTrack].selected,.sandbox-object[data-equipment-id=conveyorBelt].selected,.sandbox-object[data-equipment-id=horizontalTrack].selected,.sandbox-object[data-equipment-id=inclinedPlane].selected,.sandbox-object[data-equipment-id=massBlock].selected,.sandbox-object[data-equipment-id=movablePlank].selected,.sandbox-object[data-equipment-id=trackCart].selected{box-shadow:0 0 0 3px #238fd455}.circular-track-ring{fill:none;stroke:#476d7d;stroke-width:13;opacity:.88;vector-effect:non-scaling-stroke;filter:drop-shadow(0 4px 3px #233a4438)}.connected-track-segment{stroke:#755a39;stroke-width:14;stroke-linecap:round;opacity:.88;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 2px #4b351d44)}.equipment-shape{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.block-shape{overflow:hidden;border:2px solid #8d5c25;border-radius:4px;background:linear-gradient(135deg,#f8d59f,#d99a51);box-shadow:inset -8px -8px 0 #9b5b2518,0 5px 8px #25343b2c;color:#563616}.block-shape:before{content:"";position:absolute;inset:4px;border:1px solid #ffffff66}.block-shape i{position:absolute;left:6px;right:6px;bottom:3px;height:4px;border-radius:2px;background:#714519}.block-shape b{margin-top:-7px;font:700 10px Consolas,monospace}.block-shape span{position:absolute;bottom:8px;font-size:7px}.plank-shape{overflow:hidden;border:2px solid #76502b;border-radius:4px;background:repeating-linear-gradient(90deg,#c18a4f 0 30px,#b6793e 30px 32px,#d09a5e 32px 64px);box-shadow:inset 0 -7px 0 #6c4526,0 5px 7px #1d2d3428;color:#fff8e9}.plank-shape:before{content:"";position:absolute;inset:4px 9px 11px;border-top:1px solid #f6d7a555;border-bottom:1px solid #6e431f55}.plank-shape i{position:absolute;left:0;right:0;bottom:0;height:7px;background:repeating-linear-gradient(90deg,#3a454a 0 15px,#647077 15px 30px)}.plank-shape b{font-size:9px;text-shadow:0 1px 1px #52351f}.plank-shape span{position:absolute;right:8px;top:5px;font:8px Consolas,monospace}.conveyor-shape{overflow:hidden;border:2px solid #45535a;border-radius:9px;background:#242f35;box-shadow:0 5px 7px #1d2d3433;color:#fff}.conveyor-shape:before{content:"";position:absolute;inset:5px 13px;border-radius:7px;background:repeating-linear-gradient(90deg,#637179 0 20px,#526069 20px 23px)}.conveyor-shape>i{position:absolute;z-index:2;top:9px;width:22px;height:22px;border:3px solid #a8b1b5;border-radius:50%;background:#3b474e}.conveyor-shape>i:first-child{left:8px}.conveyor-shape>i:nth-child(2){right:8px}.conveyor-shape div{z-index:3;color:#eeb453;font:700 15px Consolas,monospace;letter-spacing:10px;white-space:nowrap;animation:beltFlow .8s linear infinite}.conveyor-shape b{position:absolute;z-index:4;left:10px;top:-17px;padding:2px 5px;border-radius:3px;background:#25333a;font-size:8px}@keyframes beltFlow{to{transform:translateX(22px)}}.rail-shape{border-radius:4px;background:linear-gradient(#6d5335 0 7px,#ad7d45 7px 13px,#493d31 13px 18px,#9b7141 18px 24px,#674d33 24px);box-shadow:0 4px 5px #27353c2b}.rail-shape:before{content:"";position:absolute;left:3px;right:3px;top:3px;bottom:3px;background:repeating-linear-gradient(90deg,transparent 0 25px,#d2b17f 25px 30px);opacity:.72}.rail-shape i{position:absolute;top:4px;width:4px;height:25px;background:#4f453c;transform:rotate(12deg)}.rail-shape i:first-child{left:20%}.rail-shape i:nth-child(2){left:40%}.rail-shape i:nth-child(3){left:60%}.rail-shape i:nth-child(4){left:80%}.rail-shape b{position:absolute;top:-18px;left:8px;padding:2px 5px;border-radius:3px;background:#fffdf9df;color:#71502e;font-size:8px}.track-hub{border:2px solid #476d7d;border-radius:50%;background:#eef6f8;box-shadow:0 3px 6px #263a4330;color:#365867}.track-hub i{width:10px;height:10px;border:2px solid #557784;border-radius:50%;background:#fff}.track-hub b{position:absolute;bottom:4px;font:700 8px Consolas,monospace}.track-slider{border:2px solid #9a5525;border-radius:5px 5px 3px 3px;background:linear-gradient(#f1b269,#ce7134);box-shadow:inset 0 -8px 0 #9b4f22,0 5px 8px #27343b33;color:#4a2c18}.track-slider i{position:absolute;left:7px;right:7px;bottom:-5px;height:7px;border:2px solid #57351f;border-radius:2px;background:#8a5b34}.track-slider b{margin-top:-5px;font:700 9px Consolas,monospace}.track-slider span{position:absolute;bottom:7px;font-size:7px}.coordinate-overlay{opacity:.55}.coordinate-overlay line{stroke:#66747a;stroke-width:1;vector-effect:non-scaling-stroke}.coordinate-overlay text{fill:#64737a;font:9px Consolas,monospace}.sandbox-object-icon{position:absolute;left:8px;top:10px;width:26px;height:26px;display:grid;place-items:center;color:#3c6579}.sandbox-object small,.sandbox-object strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sandbox-object strong{margin-top:3px;font-size:10px}.sandbox-object small{margin-top:4px;color:#84939a;font-size:8px}.sandbox-object em{position:absolute;left:6px;right:6px;bottom:-21px;height:19px;display:grid;place-items:center;border:1px solid #526770;border-radius:3px;background:#18262ddd;color:#8ee7a0;font:600 9px Consolas,monospace;font-style:normal;transform:rotate(calc(var(--object-rotation, 0deg) * -1))}.sandbox-port{position:absolute;z-index:6;width:17px;height:17px;padding:0;border:0;border-radius:50%;background:#fbfbf9;box-shadow:0 0 0 1px #5d6b72;cursor:crosshair}.sandbox-port i{display:block;width:7px;height:7px;margin:5px;border-radius:50%;background:#2696d8}.sandbox-port.port-0{left:-9px;top:26px}.sandbox-port.port-1{right:-9px;top:26px}.sandbox-port.port-2{left:42px;bottom:-9px}.sandbox-object[data-equipment-id=atwoodPulley] .sandbox-port[data-port-id=axis]{left:42px;top:-9px}.sandbox-object[data-equipment-id=atwoodPulley] .sandbox-port[data-port-id=ropeA]{left:-9px;top:42px}.sandbox-object[data-equipment-id=atwoodPulley] .sandbox-port[data-port-id=ropeB]{left:auto;right:-9px;top:42px;bottom:auto}.sandbox-object[data-equipment-id=anchor] .sandbox-port[data-port-id=joint]{left:42px;top:auto;bottom:-9px}.sandbox-object[data-equipment-id=hangingMass] .sandbox-port[data-port-id=rope],.sandbox-object[data-equipment-id=pendulumBob] .sandbox-port[data-port-id=pivot]{left:42px;top:-9px}.sandbox-object[data-equipment-id=waveDriver] .sandbox-port[data-port-id=output]{left:auto;right:-9px;top:26px}.sandbox-port.pending,.sandbox-port:hover{transform:scale(1.2);box-shadow:0 0 0 3px #258ed444}.object-quick-editor{position:absolute;z-index:10;left:12px;bottom:44px;width:316px;max-height:286px;overflow:hidden;border:1px solid #b9c4c8;border-radius:7px;background:#fffffff7;color:#405159;box-shadow:0 8px 25px #1528322b;backdrop-filter:blur(8px)}.object-quick-editor>header{height:43px;padding:0 7px 0 10px;display:grid;grid-template-columns:24px minmax(0,1fr) 27px;align-items:center;gap:6px;border-bottom:1px solid #dbe0e1}.object-quick-editor>header>span{color:#2688bd}.object-quick-editor>header small,.object-quick-editor>header strong{display:block}.object-quick-editor>header strong{font-size:11px}.object-quick-editor>header small{margin-top:2px;color:#89979d;font-size:7px}.object-quick-editor>header button{width:27px;height:27px;display:grid;place-items:center;border:0;background:transparent;color:#798a91;cursor:pointer}.object-live-strip{height:28px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;background:#f2f6f7;color:#73838a;font-size:8px}.object-live-strip b{color:#278249;font:700 9px Consolas,monospace}.object-editor-fields{max-height:161px;overflow-y:auto;padding:6px 9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;scrollbar-width:thin}.object-editor-fields label{min-width:0;min-height:40px;display:flex;flex-direction:column;gap:4px;color:#718188;font-size:8px}.object-editor-fields label>div,.object-editor-fields select{height:25px;display:flex;align-items:center;overflow:hidden;border:1px solid #c8d1d4;border-radius:4px;background:#fff}.object-editor-fields input,.object-editor-fields select{min-width:0;width:100%;height:100%;padding:0 6px;border:0;outline:0;background:#fff;color:#263940;font:10px Consolas,Microsoft YaHei,sans-serif}.object-editor-fields em{flex:none;padding-right:5px;color:#8b999f;font-size:7px;font-style:normal}.mini-toggle{width:32px;height:18px;padding:2px;border:0;border-radius:9px;background:#9ca8ad}.mini-toggle i{display:block;width:14px;height:14px;border-radius:50%;background:#fff}.mini-toggle.on{background:#2e94cb}.mini-toggle.on i{transform:translateX(14px)}.object-quick-editor>footer{height:39px;padding:5px 8px;display:flex;justify-content:flex-end;gap:6px;border-top:1px solid #dce1e2}.object-quick-editor>footer button{height:28px;padding:0 9px;display:flex;align-items:center;gap:5px;border:1px solid #c7d0d3;border-radius:4px;background:#f5f7f7;color:#64757c;font-size:8px;cursor:pointer}.object-quick-editor>footer .apply-object{border-color:#238cc7;background:#258fca;color:#fff}.sandbox-diagnostics{position:absolute;z-index:7;top:54px;right:12px;width:315px;max-height:226px;overflow:hidden;pointer-events:none;border:1px solid #c9d0d2;border-radius:6px;background:#fffffff2;color:#46545b;box-shadow:0 5px 18px #17262f1f;backdrop-filter:blur(6px)}.sandbox-diagnostic-title{height:31px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8dddd}.sandbox-diagnostic-title strong{font-size:10px}.sandbox-diagnostic-title span{color:#84939a;font-size:8px}.sandbox-diagnostic{min-height:42px;padding:7px 8px;display:grid;grid-template-columns:8px 1fr;gap:7px;border-bottom:1px solid #e1e4e4}.sandbox-diagnostic:last-child{border:0}.sandbox-diagnostic>i{width:7px;height:7px;margin-top:3px;border-radius:50%;background:#83939a}.sandbox-diagnostic.success>i{background:var(--green)}.sandbox-diagnostic.warning>i{background:var(--amber)}.sandbox-diagnostic.danger>i{background:var(--red)}.sandbox-diagnostic strong{display:block;color:#34434a;font-size:9px}.sandbox-diagnostic p{margin:3px 0 0;color:#78868d;font-size:8px;line-height:1.35}.circuit-svg{width:100%;height:100%;display:block;color:#26343c}.circuit-svg text{font-family:Inter,Microsoft YaHei,sans-serif;-webkit-user-select:none;-moz-user-select:none;user-select:none}.circuit-wires path,.voltmeter-device path{fill:none;stroke:#26343c;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.circuit-wires.wire-flow path{stroke-dasharray:11 7;animation:currentFlow .55s linear infinite}@keyframes currentFlow{to{stroke-dashoffset:-18}}.battery-device rect:first-child,.meter-device>rect:first-child,.resistor-device rect,.switch-device rect{fill:#d9dddc;stroke:#4f595e;stroke-width:2;filter:drop-shadow(0 4px 3px #1c272d2c)}.battery-device .battery-body{fill:#343b3e;stroke:#151b1e}.battery-device line{stroke:#e8b044;stroke-width:3}.battery-device text:not(.device-label){fill:#fff;font-size:22px;font-weight:700}.device-label{fill:#27343b;font-size:14px;font-weight:650}.resistor-device+circle,.switch-device circle{fill:#d7dcdb;stroke:#26343c;stroke-width:4}.switch-arm{stroke:#303a3e;stroke-width:8;stroke-linecap:round}.clickable{cursor:pointer}.meter-device .meter-screen{fill:#b8c99e;stroke:#39443d}.meter-value{fill:#19231b;font-family:Courier New,monospace!important;font-size:29px;font-weight:700}.meter-unit{fill:#38444a;font-size:13px}.resistor-coil,.resistor-device line{fill:none;stroke:#354148;stroke-width:4}.resistor-coil{stroke:#9a6225}.bulb-device>circle:not(.bulb-glow),.voltmeter-device circle{fill:#e9eceb;stroke:#4c575d;stroke-width:4}.bulb-device path{stroke:#99641e;stroke-width:4}.bulb-glow{fill:#ffb426}.meter-letter{fill:#2c3940;font-size:28px;font-weight:700}.dropped-token circle{fill:#e7ecec;stroke:#69777e}.dropped-token text{fill:#46535a;font-size:11px}.mechanics-workspace canvas{width:100%;height:100%;display:block}.mechanics-overlay{position:absolute;top:14px;right:14px;width:150px;border:1px solid #cdd2d3;border-radius:6px;overflow:hidden;background:#fffffff0;box-shadow:0 4px 16px #10212c18;color:#46545c}.mechanics-overlay div{height:32px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e3e3;font-size:10px}.mechanics-overlay div:last-child{border:0}.mechanics-overlay strong{color:#20313a;font-size:11px}.thermal-workspace{background-image:linear-gradient(#e3e4e0 1px,transparent 0),linear-gradient(90deg,#e3e4e0 1px,transparent 0)}.thermal-scene{position:absolute;left:1%;top:9%;bottom:48px;width:43%;display:flex;align-items:flex-end;justify-content:center;gap:12px;transform:scale(.78);transform-origin:center bottom}.thermal-heater{width:112px;height:38px;margin-bottom:22px;position:relative;display:grid;place-items:center;border:1px solid #5d686d;border-radius:8px;background:#3d484e;color:#dbe4e8;box-shadow:0 5px 12px #24343c25}.thermal-heater i{position:absolute;left:13px;right:13px;top:-10px;height:12px;border:3px solid #815c4d;border-bottom:0;border-radius:12px 12px 0 0}.thermal-heater.active i{border-color:#ef6f3b;box-shadow:0 -5px 12px #ef6f3b55}.thermal-heater strong{font:600 11px Consolas,monospace}.thermal-calorimeter{width:180px;height:210px;position:relative;overflow:hidden;border:8px solid #718087;border-top:13px solid #718087;border-radius:8px 8px 36px 36px;background:#eef4f5bb;box-shadow:inset 0 0 0 5px #ffffff88,0 8px 20px #1b2b3220}.thermal-liquid{position:absolute;left:5px;right:5px;bottom:5px;min-height:40px;opacity:.78;transition:background-color .25s}.thermal-probe{position:absolute;z-index:2;top:14px;right:32px;width:15px;height:150px;overflow:hidden;border:2px solid #88969b;border-radius:8px;background:#edf4f6cc}.thermal-probe i{position:absolute;left:3px;right:3px;bottom:3px;border-radius:5px;background:#d94f43;transition:height .2s}.thermal-calorimeter>span{position:absolute;z-index:3;left:12px;bottom:10px;color:#263941;font:600 10px Consolas,monospace}.thermal-readout{width:154px;margin-bottom:95px;padding:10px 12px;border:1px solid #c7cdce;border-radius:6px;background:#fffffff0;color:#65747b;box-shadow:0 4px 14px #1d30381b}.thermal-readout small,.thermal-readout span{display:block;font-size:9px}.thermal-readout strong{display:block;margin:7px 0;color:#cf563f;font:700 17px Consolas,monospace}.thermal-readout small{color:#89969c}.thermal-equations{position:absolute;left:16px;bottom:42px;width:205px;padding:8px 11px;border:1px solid #cbd1d2;border-radius:6px;background:#fffffff0;color:#69777d;box-shadow:0 4px 15px #1c2d3518}.thermal-equations>div{height:31px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e4e4;font-size:9px}.thermal-equations strong{color:#35464d;font:600 10px Consolas,monospace}.thermal-equations p{margin:8px 0 2px;color:#bf623d;font:9px Consolas,monospace}.thermal-process{position:absolute;top:14px;right:14px;bottom:43px;width:56%;overflow:hidden;border:1px solid #c7d0d2;border-radius:7px;background:#fffffff1;box-shadow:0 5px 18px #17293218}.thermal-process>header{min-height:48px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dde2e3}.thermal-process>header span,.thermal-process>header strong{display:block}.thermal-process>header strong{color:#32434b;font-size:11px}.thermal-process>header span{margin-top:3px;color:#84949b;font-size:8px}.thermal-state-values{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.thermal-state-values b{padding:3px 5px;border-radius:3px;background:#edf3f4;color:#3f626f;font:600 8px Consolas,monospace}.thermal-plots{height:calc(100% - 48px);padding:7px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.thermal-plot{min-width:0;overflow:hidden;border:1px solid #dde2e3;border-radius:5px;background:#fbfcfb}.thermal-plot>header{height:27px;padding:0 7px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e9e9}.thermal-plot>header strong{color:#405159;font-size:10px}.thermal-plot>header span{color:#87979e;font:7px Consolas,monospace}.thermal-plot svg{width:100%;height:calc(100% - 27px);min-height:118px;display:block}.thermal-plot svg text{fill:#829198;font:7px Consolas,monospace}.thermal-plot-grid line{stroke:#d9e0e1;stroke-width:1;vector-effect:non-scaling-stroke}.thermal-path-active,.thermal-path-preview{fill:none;stroke:#b8c9ce;stroke-width:2;vector-effect:non-scaling-stroke}.thermal-path-active{stroke:#db6848;stroke-width:3}.thermal-state-dot{fill:#dc5d3d;stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 2px #6e2e2044)}.optics-svg{width:100%;height:100%;display:block}.optical-axis{stroke:#6f7c83;stroke-width:1;stroke-dasharray:7 6}.optical-bench line{stroke:#748188;stroke-width:3}.object-arrow line,.object-arrow path{fill:none;stroke:#293b46;stroke-width:6;stroke-linejoin:round}.lens-shape text,.object-arrow text,.screen-device text{fill:#3d4b53;font-size:12px;font-weight:600}.lens-shape path{fill:#77c4eb88;stroke:#3c96c5;stroke-width:2}.lens-shape line{stroke:#2d718f;stroke-width:2}.focal-points circle{fill:#3d4c54}.focal-points text{fill:#56636a;font-size:11px}.optical-ray{stroke-width:2.2}.screen-device rect{fill:#cfd9daaa;stroke:#56656c;stroke-width:2}.screen-device line{stroke:#56656c;stroke-width:3}.screen-device circle{opacity:.55;filter:blur(4px)}.screen-device.focused circle{opacity:.9;filter:blur(1px)}.screen-slider{position:absolute;left:11%;right:12%;width:77%;bottom:48px;accent-color:var(--blue)}.optics-result{position:absolute;left:16px;top:14px;display:flex;align-items:center;gap:8px;border:1px solid #cad0d1;border-radius:5px;padding:7px 9px;background:#ffffffed;color:#58666d;box-shadow:0 3px 12px #17262f18;font-size:10px}.optics-result strong{color:#2a3941}.focus-bad,.focus-good{padding:3px 6px;border-radius:3px;background:#e5f6e7;color:#21893b;font-weight:700}.focus-bad{background:#fff0d7;color:#ad6b00}.optics-3d{position:absolute;top:14px;right:14px;width:218px;height:142px;overflow:hidden;border:1px solid #bdc6c8;border-radius:6px;background:#eef1f2;box-shadow:0 4px 16px #11212a22}.optics-3d canvas{width:100%;height:100%}.optics-3d span{position:absolute;left:7px;bottom:6px;padding:3px 5px;border-radius:3px;background:#14212bc9;color:#cdd8dc;font-size:9px;pointer-events:none}.data-panel{min-width:0;border-width:1px 0 0;display:grid;grid-template-rows:39px minmax(0,1fr)}.data-header{justify-content:space-between;padding:0 11px;border-bottom:1px solid #30414b}.data-header,.data-header>div{display:flex;align-items:center}.data-header>div{gap:8px}.data-header .data-title{min-width:0}.data-header strong{font-size:12px}.data-header span{color:#8699a4;font-size:10px}.data-actions button{height:27px;padding:0 8px;display:flex;align-items:center;gap:5px;border:1px solid #33464f;border-radius:4px;background:#1b2931;color:#a8b7bf;font-size:10px;cursor:pointer}.data-actions button:hover:not(:disabled){border-color:#4b6573;color:#e6edf0}.data-actions button:disabled{opacity:.38;cursor:not-allowed}.data-actions span{display:flex;align-items:center;gap:5px}.data-actions span i{width:6px;height:6px;border-radius:50%;background:#7c8b92}.data-actions span.recording{color:#74cc82}.data-actions span.recording i{background:var(--green);animation:pulse 1.4s ease-in-out infinite}.data-view-tabs{display:flex;gap:2px;padding:2px;border:1px solid #30434d;border-radius:5px;background:#101a20}.data-view-tabs button{width:25px;min-width:25px;height:22px;padding:0;border:0;background:transparent}.data-view-tabs button.active{background:#246f9e;color:#fff}@keyframes pulse{50%{opacity:.35}}.chart-layout{min-height:0;display:grid;grid-template-columns:45px minmax(0,1fr) 180px;align-items:center;gap:7px;padding:9px 13px 10px}.chart-y{align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:3px 0 12px;color:#738690;font-size:9px}.chart-y strong{color:#8fa1ab;font-weight:500}.line-chart{width:100%;height:116px;overflow:visible}.grid-line{stroke:#354750;stroke-width:.8}.chart-line{stroke:var(--blue-bright);stroke-width:2.2}.chart-line,.regression-line{fill:none;vector-effect:non-scaling-stroke}.regression-line{stroke:#f1b64f;stroke-width:1.5;stroke-dasharray:7 4}.confidence-band{fill:#f1b64f;opacity:.11}.chart-point{fill:#75c6f9;stroke:#18262d;stroke-width:2}.current-values{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:8px;padding-left:14px;border-left:1px solid #30414a}.current-values div{display:flex;justify-content:space-between;align-items:baseline}.current-values span{color:#83959f;font-size:10px}.current-values strong{color:#68b9ee;font:700 14px SFMono-Regular,Consolas,monospace}.current-values em{color:#8ea0aa;font:10px Inter,sans-serif;font-style:normal}.current-values small{color:#617680;font-size:9px}.statistics-view{min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:7px;align-items:stretch;padding:10px 12px 12px}.stat-block{min-width:0;padding:8px 9px;border:1px solid #30434d;border-radius:5px;background:#18252c;display:flex;flex-direction:column;justify-content:center}.stat-block>span{color:#7e929d;font-size:9px}.stat-block>strong{margin:5px 0 3px;color:#dce6ea;font:650 13px SFMono-Regular,Consolas,monospace}.stat-block>small,.stat-block>strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-block>small{color:#617680;font-size:8px;line-height:1.35}.stat-block.accent{border-color:#785d2e;background:#272318}.stat-block.accent>strong{color:#efbc58}.stat-block.trial{border-color:#2e5d4b}.stat-block.trial>strong{color:#6bd38a}.clear-trials{align-self:center;height:34px;padding:0 9px;border:1px solid #3a4b54;border-radius:5px;background:#1b2931;color:#8799a3;display:flex;align-items:center;gap:5px;font-size:9px;cursor:pointer}.clear-trials:disabled{opacity:.35;cursor:not-allowed}.data-table-wrap{min-height:0;overflow:auto;padding:7px 11px 10px;scrollbar-width:thin;scrollbar-color:#40535e transparent}.data-table-wrap table{width:100%;border-collapse:collapse;color:#aebbc2;font-size:9px;font-variant-numeric:tabular-nums}.data-table-wrap th{position:sticky;top:0;height:25px;padding:0 8px;background:#1b2931;color:#7f929d;text-align:right;font-weight:600;border-bottom:1px solid #3a4b54}.data-table-wrap td:first-child,.data-table-wrap th:first-child{text-align:center}.data-table-wrap td{height:22px;padding:0 8px;text-align:right;border-bottom:1px solid #283941;font-family:SFMono-Regular,Consolas,monospace}.data-table-wrap tbody tr:hover{background:#ffffff05}.inspector{min-height:0;overflow-y:auto;border-width:0 0 0 1px;scrollbar-width:thin;scrollbar-color:#40535e transparent}.selected-summary{min-height:66px;padding:10px 11px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid #2e3e47}.sandbox-default-hint{padding:7px 10px;border-bottom:1px solid #33444d;background:#17262e;color:#78a9c2;font-size:8px;line-height:1.45}.summary-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #3d525e;border-radius:7px;background:#22323b;color:#5cb7ed}.selected-summary div{min-width:0}.selected-summary small,.selected-summary strong{display:block}.selected-summary strong{margin-bottom:4px;font-size:13px}.selected-summary small{color:#7f929e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}.device-index{color:#6e8592;font:700 10px Consolas,monospace}.equipment-model-preview{height:126px;position:relative;border-bottom:1px solid #2f4049;background:radial-gradient(circle at 50% 40%,#2c3c45,#172229 66%)}.equipment-model-preview canvas{width:100%;height:100%}.equipment-model-preview>span{position:absolute;left:8px;bottom:6px;color:#70848f;font-size:9px;pointer-events:none}.loading-model{display:grid;place-items:center;color:#70848f;font-size:10px}.inspector-section{padding:10px 11px 12px;border-bottom:1px solid #2e3e47}.inspector-section h3{margin:0 0 9px;display:flex;align-items:center;gap:6px;color:#cdd7dc;font-size:11px;font-weight:650}.param-field,.param-row{min-height:34px;display:grid;grid-template-columns:88px 1fr;align-items:center;gap:7px;color:#9baab2;font-size:10px}.param-field>div{height:29px;display:flex;align-items:center;overflow:hidden;border:1px solid #3a4c56;border-radius:4px;background:#121c22}.param-field input{padding:0 7px;background:transparent;font:11px SFMono-Regular,Consolas,monospace}.param-field input,.param-field select{min-width:0;width:100%;height:100%;border:0;outline:0;color:#e1e8eb}.param-field select{padding:0 5px;background:#121c22;font:10px Microsoft YaHei,sans-serif}.param-field input[readonly]{color:#798c97}.param-field em{flex:none;padding:0 7px 0 3px;color:#6f838e;font-size:9px;font-style:normal}.toggle{justify-self:end;width:33px;height:18px;padding:2px;border:0;border-radius:9px;background:#465761;cursor:pointer}.toggle i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .18s}.toggle.on{background:#278fd6}.toggle.on i{transform:translateX(15px)}.port-list{display:flex;flex-wrap:wrap;gap:6px}.port-list>span{height:25px;display:flex;align-items:center;gap:6px;padding:0 7px;border:1px solid #394c57;border-radius:4px;background:#1d2a32;color:#b1bec5;font-size:10px}.port-list>span i{width:7px;height:7px;border:2px solid #4aa8e3;border-radius:50%}.port-list small{color:#657983;font-size:8px;text-transform:uppercase}.port-list p{margin:0;color:#6c7d86;font-size:10px}.measure-card{margin:10px;padding:10px;border:1px solid #3b4d57;border-radius:6px;background:#19252c}.measure-title{margin-bottom:6px;display:flex;align-items:center;gap:6px;color:#c7d2d7;font-size:11px;font-weight:650}.live-dot{width:6px;height:6px;margin-left:auto;border-radius:50%;background:var(--green)}.measure-row{height:26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #293942}.measure-row:last-child{border:0}.measure-row span{color:#82949e;font-size:9px}.measure-row strong{font:600 11px SFMono-Regular,Consolas,monospace;color:#d6e0e4}.measure-row strong.good{color:#62ce73}.measure-row strong.warn{color:#f1aa2d}.formula-note{margin:10px;display:flex;gap:7px;color:#657984;font-size:9px;line-height:1.55}.formula-note svg{flex:none;margin-top:1px}.uncertainty-card{margin:10px;padding:10px;border:1px solid #584d38;border-radius:6px;background:#211f1b}.uncertainty-card .measure-title strong{margin-left:auto;color:#f1bd56;font:600 9px Consolas,monospace}.uncertainty-card>div:not(.measure-title){height:23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #373129;color:#8e9da5;font-size:9px}.uncertainty-card>div:last-child{border:0}.uncertainty-card em{color:#d6b879;font:10px Consolas,monospace;font-style:normal}.statusbar{justify-content:space-between;padding:0 13px;background:#141f25;border-top:1px solid #33434d;color:#758892;font-size:10px}.statusbar,.statusbar>div{display:flex;align-items:center}.statusbar>div{gap:15px}.statusbar>div:first-child{gap:6px}.statusbar strong{color:#a9b6bc;font-weight:600}.autosave{width:6px;height:6px;border-radius:50%;background:var(--green)}.error-status{width:7px;height:7px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 3px #efa31d18}.problem-library-button{display:none!important}.problem-library-backdrop{position:fixed;z-index:100;inset:0;padding:20px;display:grid;place-items:center;background:#071018b8;backdrop-filter:blur(5px)}.problem-library{width:min(1040px,calc(100vw - 40px));height:min(700px,calc(100vh - 40px));overflow:hidden;display:grid;grid-template-rows:58px 48px minmax(0,1fr);border:1px solid #41535e;border-radius:9px;background:#142129;color:#dbe4e8;box-shadow:0 24px 80px #02070a88}.problem-library>header{padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #33454f;background:#18262e}.problem-library>header>div{display:flex;align-items:center;gap:10px}.problem-library>header>div>span{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#246f9e;color:#fff}.problem-library>header small,.problem-library>header strong{display:block}.problem-library>header strong{font-size:14px}.problem-library>header small{margin-top:3px;color:#78909c;font-size:9px}.problem-library>header>button{width:31px;height:31px;display:grid;place-items:center;border:1px solid #3b4d56;border-radius:5px;background:#111c22;color:#91a2aa;cursor:pointer}.problem-library-tabs{padding:7px 12px;display:flex;align-items:center;gap:5px;border-bottom:1px solid #30414a}.problem-library-tabs>button{height:31px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:4px;background:transparent;color:#8fa1aa;font-size:10px;cursor:pointer}.problem-library-tabs>button.active{border-color:#2c7dac;background:#1d5271;color:#fff}.problem-library-tabs>button em{min-width:16px;height:16px;display:grid;place-items:center;border-radius:8px;background:#ffffff12;font-size:8px;font-style:normal}.problem-library-tabs label{width:230px;height:31px;margin-left:auto;padding:0 8px;display:flex;align-items:center;gap:7px;border:1px solid #354953;border-radius:4px;background:#0f1a20;color:#6e838e}.problem-library-tabs input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#d3dde1;font-size:10px}.problem-library-body{min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr)}.problem-model-list{min-height:0;overflow-y:auto;padding:8px;border-right:1px solid #30414a;scrollbar-width:thin}.problem-model-list>button{width:100%;min-height:60px;padding:8px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:7px;border:1px solid transparent;border-radius:5px;background:transparent;color:#91a2aa;text-align:left;cursor:pointer}.problem-model-list>button:hover{background:#ffffff05}.problem-model-list>button.active{border-color:#326c8c;background:#1a3443}.problem-model-list>button>i{color:#58717d;font:9px Consolas,monospace;font-style:normal}.problem-model-list small,.problem-model-list strong{display:block}.problem-model-list strong{color:#d6e0e4;font-size:11px}.problem-model-list small{margin-top:5px;color:#70858f;font-size:8px}.problem-model-list>button>em{color:#d29431;font-size:7px;letter-spacing:1px;font-style:normal}.problem-model-list>p{padding:30px 10px;color:#70838c;text-align:center;font-size:10px}.problem-model-preview{min-width:0;min-height:0;overflow-y:auto;padding:16px;display:grid;grid-template-rows:minmax(230px,1fr) auto;gap:15px}.problem-scene-preview{position:relative;min-height:230px;overflow:hidden;border:1px solid #cfd5d6;border-radius:6px;background-color:#f8f8f5;background-image:linear-gradient(#dfe2df 1px,transparent 0),linear-gradient(90deg,#dfe2df 1px,transparent 0);background-size:22px 22px}.problem-scene-preview>svg{position:absolute;inset:0;width:100%;height:100%}.problem-scene-preview line{stroke:#34464f;stroke-width:4}.problem-scene-preview line.mechanical{stroke:#d78d25;stroke-dasharray:9 5}.problem-scene-preview line.optical{stroke:#e74e42;stroke-width:2}.problem-scene-preview>div{position:absolute;width:76px;height:52px;transform:translate(-50%,-50%);padding:6px;display:grid;place-items:center;gap:2px;border:1px solid #6d8794;border-radius:5px;background:#edf3f5;color:#357b9e;box-shadow:0 3px 8px #182a331f}.problem-scene-preview>div span{max-width:68px;overflow:hidden;color:#46575f;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.problem-preview-copy{padding:0 4px 3px}.problem-preview-meta{display:flex;gap:7px}.problem-preview-meta span{color:#7f949e;font-size:9px}.problem-preview-meta span+span{padding-left:7px;border-left:1px solid #344851}.problem-preview-copy h2{margin:8px 0 7px;font-size:19px}.problem-preview-copy>p{margin:0;color:#91a2aa;font-size:11px;line-height:1.65}.problem-preview-copy dl{margin:11px 0;padding:8px 0;border-color:#2f414a;border-style:solid;border-width:1px 0}.problem-preview-copy dl>div{min-height:25px;display:grid;grid-template-columns:45px 1fr;align-items:center}.problem-preview-copy dt{color:#6f8792;font-size:9px}.problem-preview-copy dd{margin:0;color:#c3cfd4;font-size:10px}.problem-engine-notes{display:flex;align-items:center;gap:7px;color:#6d8793;font-size:9px}.problem-engine-notes svg{color:#56b96d}.load-problem-button{height:35px;margin-top:12px;padding:0 13px;display:flex;align-items:center;gap:7px;border:1px solid #1885c2;border-radius:5px;background:#198ac8;color:#fff;font-size:10px;font-weight:650;cursor:pointer}.problem-panel{position:absolute;z-index:7;top:54px;left:12px;width:320px;max-height:calc(100% - 95px);overflow-y:auto;border:1px solid #bcc8cc;border-radius:6px;background:#fffffff4;color:#3b4b53;box-shadow:0 7px 22px #17262f26;backdrop-filter:blur(7px);scrollbar-width:thin}.problem-panel>header{min-height:43px;padding:6px 7px 6px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d5dcde}.problem-panel.compact>header{border-bottom:0}.problem-panel>header div{min-width:0}.problem-panel>header span,.problem-panel>header strong{display:block}.problem-panel>header span{margin-bottom:3px;color:#2588c0;font-size:8px}.problem-panel>header strong{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.problem-panel>header button{width:25px;height:25px;display:grid;place-items:center;border:0;background:transparent;color:#7b8d95;cursor:pointer}.problem-panel-actions{display:flex}.problem-panel-actions svg{transition:transform .18s}.problem-panel-actions svg.up{transform:rotate(180deg)}.problem-prompt{margin:0;padding:9px 10px;color:#5a6970;font-size:9px;line-height:1.55}.problem-known,.problem-prompt{border-bottom:1px solid #e0e4e5}.problem-known{min-height:33px;padding:6px 10px;display:grid;grid-template-columns:35px 1fr;gap:7px;align-items:center}.problem-known strong{color:#829097;font-size:8px}.problem-known span{color:#405159;font:8px Consolas,Microsoft YaHei,sans-serif}.problem-layers{min-height:34px;padding:5px 9px;display:flex;align-items:center;gap:5px;border-bottom:1px solid #e0e4e5;color:#86959b}.problem-layers button{height:22px;padding:0 7px;border:1px solid #cbd3d5;border-radius:3px;background:#f6f7f7;color:#7a8a91;font-size:8px;cursor:pointer}.problem-layers button.active{border-color:#3b96c8;background:#e3f2fa;color:#1879ae}.problem-options{padding:7px}.problem-options>button{width:100%;min-height:32px;margin-bottom:5px;padding:5px 7px;display:grid;grid-template-columns:21px 1fr;align-items:center;gap:6px;border:1px solid #d4dada;border-radius:4px;background:#fff;color:#58676e;text-align:left;font-size:8px;cursor:pointer}.problem-options>button i{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#eef1f2;color:#75858d;font-style:normal}.problem-options>button.selected{border-color:#388fc0;background:#eaf5fb}.problem-options>button.correct{border-color:#54ad66;background:#edf8ef}.problem-options>button.wrong{border-color:#d65f55;background:#fff0ef}.problem-actions{display:flex;gap:6px;margin-top:7px}.problem-actions button,.problem-application>button,.run-model{min-height:28px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #c9d2d5;border-radius:4px;background:#f4f6f6;color:#61737b;font-size:8px;cursor:pointer}.problem-actions .check-answer,.problem-application .run-model{margin-left:auto;border-color:#268ac1;background:#278fc9;color:#fff}.problem-actions button:disabled{opacity:.4;cursor:not-allowed}.problem-feedback{margin-top:7px;padding:8px;border-left:3px solid #53aa65;background:#edf7ef}.problem-feedback.wrong{border-color:#d35c52;background:#fff0ef}.problem-feedback strong{font-size:9px}.problem-feedback p{margin:4px 0 0;color:#637178;font-size:8px;line-height:1.45}.problem-application{padding:8px 9px 9px}.problem-application>div:first-child{min-height:30px;display:grid;grid-template-columns:55px 1fr;align-items:center}.problem-application>div:first-child strong{color:#86959c;font-size:8px}.problem-application>div:first-child span{color:#42545c;font-size:9px}.problem-application>button:not(.run-model){width:100%;justify-content:space-between;margin:4px 0 6px}.problem-application svg{transition:transform .18s}.problem-application svg.up{transform:rotate(180deg)}.problem-equations{padding:7px;border:1px solid #d7dddd;border-radius:4px;background:#f7f8f7}.problem-equations code{display:block;margin-bottom:4px;color:#247cab;font:8px Consolas,monospace}.problem-equations p{margin:6px 0 0;color:#6c7b82;font-size:8px;line-height:1.45}.problem-application .run-model{margin-top:7px}.problem-vector{pointer-events:none}.problem-vector line{stroke-width:2.2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px white)}.problem-vector text{font:700 10px Microsoft YaHei,sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.sandbox-workspace.has-problem .sandbox-diagnostics{top:auto;bottom:39px}@media (max-width:1180px){.main-grid{grid-template-columns:190px minmax(480px,1fr) 236px}.project-title{display:none}.problem-library-button{display:flex!important}.brand{width:165px}.lab-tabs button{min-width:92px;padding:0 11px}.chart-layout{grid-template-columns:38px minmax(0,1fr) 145px}.data-actions>span{display:none}.statistics-view{grid-template-columns:repeat(3,minmax(0,1fr))}.clear-trials{width:100%;justify-content:center}}@media (max-width:860px){body{overflow:auto}.app-shell{min-width:720px;min-height:780px}.topbar{flex-wrap:wrap;height:auto;padding:6px 10px}.app-shell{grid-template-rows:96px minmax(0,1fr) 34px}.brand{width:160px;height:40px}.lab-tabs{order:3;width:100%;height:42px}.lab-tabs button{flex:1}.toolbar{margin-left:auto}.toolbar>button:not(.run-button):not(.reset-button):not(.problem-library-button){display:none}.toolbar .error-button{display:flex!important}.main-grid{grid-template-columns:160px minmax(420px,1fr)}.inspector{display:none}.equipment-grid{grid-template-columns:1fr}.center-column{grid-template-rows:42px minmax(340px,1fr) 174px}.thermal-scene{left:0;width:41%;transform:scale(.64);transform-origin:center bottom}.thermal-equations{width:180px}.thermal-process{right:9px;width:59%}.thermal-plots{grid-template-columns:1fr;overflow-y:auto}.thermal-plot{min-height:150px}}@media (max-width:620px){body{overflow-x:hidden}.app-shell{min-width:0;min-height:720px;width:100vw}.topbar{padding:5px 8px}.brand{width:155px;padding:0}.brand strong{font-size:17px}.toolbar .reset-button{display:none}.toolbar .error-button{min-width:34px;width:34px;font-size:0;padding:0}.lab-tabs button{min-width:0;padding:0 4px}.main-grid{grid-template-columns:minmax(0,1fr)}.inventory{display:none}.center-column{min-width:0;grid-template-rows:42px minmax(330px,1fr) 164px}.workspace-head{padding:0 9px}.canvas-note{max-width:calc(100% - 24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.optics-3d{width:135px;height:96px}.optics-result{right:8px;width:-moz-max-content;width:max-content;max-width:calc(100% - 155px);overflow:hidden}.mechanics-overlay{width:126px}.sandbox-toolbar{right:8px;left:8px}.sandbox-toolbar>div:first-child span{display:none}.sandbox-toolbar button{width:27px;padding:0;justify-content:center;font-size:0}.sandbox-diagnostics{width:230px;right:8px;max-height:132px}.sandbox-diagnostic:nth-child(n+3),.sandbox-workspace.has-problem .sandbox-diagnostics{display:none}.problem-panel{left:8px;right:8px;width:auto;max-height:230px}.problem-library-backdrop{padding:8px}.problem-library{width:calc(100vw - 16px);height:calc(100vh - 16px);grid-template-rows:54px 44px minmax(0,1fr)}.problem-library-tabs{padding:5px 7px}.problem-library-tabs label{display:none}.problem-library-body{grid-template-columns:1fr;grid-template-rows:180px minmax(0,1fr)}.problem-model-list{display:grid;grid-auto-flow:column;grid-auto-columns:220px;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #30414a}.problem-model-list>button{height:72px;align-self:start}.problem-model-preview{padding:9px;grid-template-rows:175px auto;gap:10px}.problem-scene-preview{min-height:175px}.problem-preview-copy h2{font-size:15px}.problem-preview-copy dl{display:none}.sandbox-object{transform-origin:center}.object-quick-editor{left:8px;right:8px;bottom:38px;width:auto;max-height:248px}.object-editor-fields{max-height:125px}.chart-layout{grid-template-columns:35px minmax(0,1fr);padding-right:10px}.current-values{display:none}.data-header{padding:0 8px}.data-actions button{display:none}.data-actions .data-view-tabs,.data-actions .data-view-tabs button{display:flex}.statistics-view{grid-template-columns:repeat(2,minmax(0,1fr));overflow-y:auto}.clear-trials,.stat-block:nth-child(4),.statusbar>div:nth-child(2),.thermal-equations,.thermal-scene{display:none}.thermal-process{left:8px;right:8px;width:auto;top:9px;bottom:36px}.thermal-plots{grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.thermal-plot{min-height:0}}