:root{--bg:#0b0f14;--panel:#121820;--panel-2:#171f29;--line:#263140;--line-soft:#1c2530;--text:#dbe4ee;--muted:#8494a7;--faint:#5b6a7c;--accent:#4da3ff;--accent-soft:#4da3ff24;--warn:#e3b341;--error:#ff6b61;--ok:#3fb950;--mono:ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;color:var(--text);background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.45}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);overflow:hidden}h1,h2,h3,p{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.mono{font-family:var(--mono)}.app{flex-direction:column;min-width:0;height:100%;display:flex}.app-header{border-bottom:1px solid var(--line);background:linear-gradient(#141b24,#10161d);flex:none}.header-top{flex-wrap:wrap;align-items:center;gap:14px;padding:8px 14px 6px;display:flex}.brand{align-items:center;gap:10px;margin-right:auto;display:flex}.brand svg{width:30px;height:30px}.brand h1{letter-spacing:.01em;font-size:15px;font-weight:650}.brand p{color:var(--muted);font-size:11px}.segmented{border:1px solid var(--line);background:var(--panel);border-radius:7px;display:inline-flex;overflow:hidden}.segmented button{color:var(--muted);border:0;border-right:1px solid var(--line);white-space:nowrap;background:0 0;padding:5px 11px}.segmented button:last-child{border-right:0}.segmented button:hover{color:var(--text)}.segmented button.active{background:var(--accent-soft);color:#cfe6ff}.toolbar{align-items:center;gap:6px;display:flex}.status{color:var(--ok);font-size:12px}[data-topic=surfaces]{--topic:#f2b441}[data-topic=imaging]{--topic:#4da3ff}[data-topic=beams]{--topic:#ff7366}[data-topic=waves]{--topic:#a78bfa}[data-topic=polarisation]{--topic:#2dd4bf}[data-topic=eye]{--topic:#7bd88f}.topic-tabs{scrollbar-width:none;align-items:flex-end;gap:2px;padding:0 14px;display:flex;overflow-x:auto}.topic-tab{color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-bottom:0;border-radius:7px 7px 0 0;align-items:center;gap:7px;padding:6px 12px 7px;font-size:12.5px;font-weight:550;display:inline-flex}.topic-tab:hover{color:var(--text);background:color-mix(in srgb, var(--topic) 7%, transparent)}.topic-tab.active{z-index:1;color:#fff;border-color:color-mix(in srgb, var(--topic) 45%, var(--line));background:color-mix(in srgb, var(--topic) 11%, var(--panel));box-shadow:inset 0 2px 0 var(--topic);position:relative}.topic-dot{background:var(--topic);opacity:.75;border-radius:50%;width:8px;height:8px}.topic-tab.active .topic-dot,.topic-tab:hover .topic-dot{opacity:1}.topic-count{font-family:var(--mono);color:var(--faint);font-size:10.5px}.topic-tab.active .topic-count{color:var(--topic)}.topic-experiments{border-top:1px solid color-mix(in srgb, var(--topic) 45%, var(--line));background:color-mix(in srgb, var(--topic) 11%, var(--panel));flex-wrap:wrap;align-items:center;gap:5px 6px;margin-top:-1px;padding:6px 14px;display:flex}.topic-experiments-label{text-transform:uppercase;letter-spacing:.09em;color:color-mix(in srgb, var(--topic) 70%, var(--muted));margin-right:4px;font-size:10.5px}.topic-experiments .preset{border-color:color-mix(in srgb, var(--topic) 22%, var(--line));background:color-mix(in srgb, var(--topic) 5%, var(--bg))}.topic-experiments .preset:hover{border-color:color-mix(in srgb, var(--topic) 60%, var(--line))}.topic-experiments .preset.active{border-color:var(--topic);background:color-mix(in srgb, var(--topic) 24%, var(--bg))}.topic-experiments .preset-number{background:color-mix(in srgb, var(--topic) 20%, var(--bg));color:color-mix(in srgb, var(--topic) 80%, #fff)}.topic-experiments .preset.active .preset-number{background:var(--topic);color:#04111f}.menu{position:relative}.menu-list{z-index:30;border:1px solid var(--line);background:var(--panel);border-radius:8px;flex-direction:column;gap:2px;min-width:230px;padding:5px;display:flex;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 10px 28px #00000073}.menu-list button{text-align:left;color:var(--muted);background:0 0;border:0;border-radius:5px;flex-direction:column;gap:1px;padding:6px 9px;font-size:11.5px;display:flex}.menu-list button strong{color:var(--text);font-size:13px;font-weight:500}.menu-list button:hover{background:var(--panel-2)}.presets-label{text-transform:uppercase;letter-spacing:.09em;color:var(--faint);margin-right:4px;font-size:10.5px}.preset{border:1px solid var(--line);background:var(--panel);color:var(--muted);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:4px 10px 4px 5px;display:inline-flex}.preset:hover{color:var(--text);border-color:#38485c}.preset.active{color:#fff;border-color:var(--accent);background:var(--accent-soft)}.preset-number{width:17px;height:17px;font-size:10.5px;font-family:var(--mono);background:#1f2a37;border-radius:4px;place-items:center;display:inline-grid}.preset.active .preset-number{background:var(--accent);color:#04111f}.chip{border:1px solid var(--line);background:var(--panel-2);color:var(--text);white-space:nowrap;border-radius:6px;padding:3px 9px}.chip:hover:not(:disabled){background:#1c2632;border-color:#3d4f66}.chip.active{border-color:var(--accent);background:var(--accent-soft);color:#d6eaff}.chip.primary{color:#fff;background:#1f6feb;border-color:#1f6feb}.chip.primary:disabled,.chip:disabled{opacity:.45;cursor:not-allowed}.chip.danger{color:#ffb1ab;border-color:#5a2a2a}.chip.sweep{margin-left:auto}.chip-group{flex-wrap:wrap;gap:4px;display:flex}.workspace{flex:1;gap:8px;min-height:0;padding:8px;display:grid;position:relative}.bench-workspace{grid-template-columns:var(--palette,158px) minmax(0, 1fr) var(--side,clamp(300px, 27vw, 400px));grid-template-rows:minmax(160px, 1fr) var(--bottom,minmax(190px, 34%))}.surface-workspace{grid-template-columns:minmax(0, 1fr) var(--side,clamp(320px, 30vw, 420px));grid-template-rows:minmax(160px, 1fr) var(--bottom,minmax(170px, 30%))}.panel-resizer{z-index:2;touch-action:none;place-items:center;display:grid;position:absolute}.panel-resizer.x{cursor:col-resize;width:10px;top:0;bottom:0;left:-9px}.panel-resizer.y{cursor:row-resize;height:10px;top:-9px;left:0;right:0}.panel-resizer:after{content:"";background:var(--line);border-radius:2px}.panel-resizer.x:after{width:3px;height:min(44px,100%)}.panel-resizer.y:after{width:min(44px,100%);height:3px}.panel-resizer:hover:after,.panel-resizer:focus-visible:after,.panel-resizer.dragging:after{background:var(--accent)}.panel-resizer.x:hover:after,.panel-resizer.x:focus-visible:after,.panel-resizer.x.dragging:after{height:100%}.panel-resizer.y:hover:after,.panel-resizer.y:focus-visible:after,.panel-resizer.y.dragging:after{width:100%}.panel-resizer:focus-visible{outline:none}.bench-workspace .screen-panel{grid-area:1/3/span 2}.bench-workspace .bottom-row{grid-column:1/3}.bottom-row{grid-column:1/-1;grid-template-columns:var(--controls,minmax(230px, .8fr)) var(--physics,minmax(250px, 1fr)) minmax(0, 1.3fr);gap:8px;min-height:0;display:grid;position:relative}.bottom-row.single{grid-template-columns:1fr}.bottom-row.pair{grid-template-columns:var(--controls,minmax(230px, .8fr)) minmax(0, 1fr)}.surface-workspace:not(:has(.bottom-row)){grid-template-rows:minmax(160px,1fr)}.surface-side{grid-template-rows:minmax(0,1fr);gap:8px;min-height:0;display:grid;position:relative}.surface-side:has(.physics){grid-template-rows:var(--upper,minmax(0, 1fr)) minmax(0, 1fr)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:9px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.panel-header{border-bottom:1px solid var(--line-soft);background:linear-gradient(#161e28,#131a23);flex:none;align-items:center;gap:10px;min-height:36px;padding:7px 11px;display:flex}.panel-header h2{letter-spacing:.07em;text-transform:uppercase;color:#b9c6d6;white-space:nowrap;font-size:11.5px;font-weight:650}.panel-sub{color:var(--faint);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.model-tag{font-size:10.5px;font-family:var(--mono);color:#7ee08f;white-space:nowrap;border:1px solid #2f4a35;border-radius:999px;padding:1px 7px}.model-tag.diffraction,.model-tag.beam{color:#c5a5ff;border-color:#4b3a6b}.model-tag.unsupported,.model-tag.no-source{color:#ffb1ab;border-color:#5a2a2a}.check{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.check.disabled{opacity:.5}.check select{margin-left:2px}select,.text-input,.notebook-form input{border:1px solid var(--line);background:#0d1218;border-radius:5px;padding:3px 6px}input[type=range]{accent-color:var(--accent);min-width:0}input[type=checkbox]{accent-color:var(--accent)}.palette ul{flex-direction:column;gap:4px;margin:0;padding:7px;list-style:none;display:flex;overflow-y:auto}.palette-item{text-align:left;width:100%;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;padding:4px 7px;display:flex}.palette-item:hover:not(:disabled){background:var(--panel-2);border-color:var(--line)}.palette-item:disabled{opacity:.4;cursor:not-allowed}.palette-icon{flex:none;width:28px;height:20px}.palette-icon svg{width:100%;height:100%}.icon-body{fill:#33414f;stroke:#6b7c8f}.icon-glass{fill:#7cc4ff40;stroke:#7cc4ff;stroke-width:1.3px}.icon-plate{stroke:#c9d4e0;stroke-width:3px}.palette-count{font-family:var(--mono);color:var(--accent);margin-left:auto;font-size:10.5px}.palette-more{border:1px dashed var(--line);color:var(--muted);background:0 0;border-radius:6px;margin:0 7px 7px;padding:4px 7px;font-size:11.5px}.palette-more:hover{color:var(--text);border-color:#3d4f66}.palette-help{color:var(--faint);border-top:1px solid var(--line-soft);margin-top:auto;padding:9px 10px;font-size:11px}.bench-tools{align-items:center;gap:10px;margin-left:auto;display:flex}.bench{background:radial-gradient(at 50% 38%,#18212c 0%,#0c1117 75%),#0c1117;flex:1;min-height:0;position:relative;overflow:hidden}.bench-svg{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;display:block}.bench-svg.measuring{cursor:crosshair}.bench-readout,.bench-scale{font-family:var(--mono);color:var(--muted);pointer-events:none;font-size:11px;position:absolute;top:7px}.bench-readout{background:#080c11b3;border-radius:4px;padding:2px 7px;left:10px}.bench-scale{color:var(--faint);right:10px}.bench-clear{font-size:11px;position:absolute;top:32px;left:10px}.rail{stroke:#0a0d11}.rail-foot{fill:#0e1217}.rail-tick{stroke:#dfe7ef;stroke-width:1px;opacity:.75}.rail-number,.rail-unit{font-family:var(--mono);fill:#93a3b6;font-size:10.5px}.rail-unit{fill:var(--faint)}.optical-axis{stroke:#6f8196;stroke-width:1px;stroke-dasharray:9 5 2 5;opacity:.75}.axis-label,.bench-note{fill:var(--faint);font-size:10.5px;font-style:italic}.post{fill:#48535f}.carrier{fill:#2c3742;stroke:#0b0e12}.carrier-knob{fill:#9aa7b5}.carrier-index{stroke:#ffd166;stroke-width:1.4px}.component{cursor:ew-resize;outline:none}.component-hit{fill:#0000}.component.selected .component-hit{fill:#4da3ff12;stroke:#4da3ff8c;stroke-dasharray:4 3}.component:focus-visible .component-hit{stroke:var(--accent);stroke-width:1.5px}.component-caption{fill:#c5d1de;paint-order:stroke;stroke:#0c1117;stroke-width:3px;font-size:11px}.position-tag{fill:#0a0e13;stroke:var(--line)}.component.selected .position-tag,.component.dragging .position-tag{stroke:var(--accent)}.position-text{font-family:var(--mono);fill:#ffd166;font-size:10.5px}.hw-body{fill:#27313c;stroke:#0a0d11}.hw-highlight{fill:#3b4855}.hw-metal{fill:#8a97a5;stroke:#1a2028;stroke-width:.6px}.hw-label{fill:#aab7c5;font-size:10px;font-family:var(--mono)}.hw-vent{stroke:#0f141a;stroke-width:2px}.hw-filament{fill:none;stroke:#fff3d6;stroke-width:1px}.hw-glass{fill:#7cc4ff33;stroke:#8fd0ff;stroke-width:1.3px}.hw-lens-plane{stroke:#8fd0ff;stroke-width:.7px;stroke-dasharray:2 3;opacity:.7}.hw-frame{fill:#2c3742;stroke:#0a0d11}.hw-plate{fill:#b9c4d0}.hw-grating-line{stroke:#5b6a7c;stroke-width:.8px}.hw-polarizer{fill:#8c96aa8c;stroke:#aab7c5;stroke-width:.8px}.hw-dial{fill:#1a2028;stroke:#8a97a5;stroke-width:1px}.hw-dial-axis{stroke:#ffd166;stroke-width:1.8px}.hw-mirror-back{fill:#2c3742;stroke:#0a0d11}.hw-mirror-face{fill:none;stroke:#e6edf3;stroke-width:2.2px}.order-ray{stroke-width:1.4px}.hw-object-shaft{stroke:#ffd166;stroke-width:2.4px}.hw-object-head{fill:#ffd166}.hw-screen-back{fill:#2c3742;stroke:#0a0d11}.hw-screen-face{fill:#eef2f6}.focal-mark line{stroke:#8fd0ff;stroke-width:1.4px}.focal-mark text{fill:#8fd0ff;font-size:10.5px;font-style:italic}.ray{stroke-width:1.3px;fill:none}.ray-virtual{stroke-dasharray:5 4;opacity:.7}.image-marker line{stroke:#ff9bd2;stroke-width:2px}.image-marker path{fill:#ff9bd2}.image-marker text{fill:#ff9bd2;font-size:10.5px}.image-marker:not(.final){opacity:.55}.image-marker.virtual line{stroke-dasharray:4 3}.dimension line{stroke:#6f8196;stroke-width:1px}.dimension-bg{fill:#0c1117}.dimension text{font-family:var(--mono);fill:#b7c4d2;font-size:10.5px}.measure line{stroke:#7ee08f;stroke-width:1.5px;stroke-dasharray:5 3}.measure circle{fill:#7ee08f}.measure text{font-family:var(--mono);fill:#7ee08f;paint-order:stroke;stroke:#0c1117;stroke-width:3px;font-size:11.5px}.screen-panel{overflow-y:auto}.screen-frame{aspect-ratio:1;background:#000;border:1px solid #2c3847;border-radius:4px;flex:none;margin:9px 9px 0;position:relative;overflow:hidden}.screen-canvas{cursor:crosshair;touch-action:none;width:100%;height:100%;display:block}.screen-overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.screen-overlay line{stroke:#7ee08f;stroke-width:1.5px;stroke-dasharray:5 3}.screen-handle{pointer-events:none;background:#7ee08f;border-radius:50%;width:8px;height:8px;margin:-4px 0 0 -4px;position:absolute}.screen-message{text-align:center;color:var(--muted);pointer-events:none;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.focus-badge{font-size:11px;font-family:var(--mono);pointer-events:none;background:#080c11cc;border:1px solid;border-radius:999px;padding:2px 8px;position:absolute;top:8px;right:8px}.focus-badge.sharp{color:#7ee08f;border-color:#2f6a3b}.focus-badge.blurred{color:var(--warn);border-color:#6b5620}.screen-readout{font-family:var(--mono);color:var(--muted);flex-direction:column;gap:1px;padding:6px 11px 2px;font-size:11px;display:flex}.measure-value{color:#7ee08f}.profile{margin:4px 9px 0}.profile svg{border:1px solid var(--line-soft);background:#0a0e13;border-radius:4px;width:100%;height:74px;display:block}.profile-line{fill:none;stroke:#ffd166;stroke-width:1.3px}.profile-axis{stroke:#263140}.profile-caption{color:var(--faint);font-size:10.5px;font-family:var(--mono);justify-content:space-between;padding-top:2px;display:flex}.screen-controls{flex-direction:column;gap:6px;padding:6px 11px 10px;display:flex}.hint{color:var(--faint);font-size:11px}.control-body,.component-list,.physics-body,.guide,.notebook{min-height:0;padding:9px 11px;overflow-y:auto}.control-body{flex-direction:column;gap:8px;display:flex}.control-row{grid-template-columns:108px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.screen-controls .control-row{grid-template-columns:84px minmax(0,1fr) auto}.control-row.end{flex-wrap:wrap;justify-content:flex-end;display:flex}.control-row.between{justify-content:space-between}.control-row>label:first-child{color:var(--muted)}.control-row output{font-family:var(--mono);color:#ffd166;text-align:right;min-width:62px;font-size:11.5px}.concealed{color:var(--warn);font-style:italic}.text-input{text-align:center;width:44px}.list-row{border:0;border-bottom:1px solid var(--line-soft);background:0 0;justify-content:space-between;width:100%;padding:6px 4px;display:flex}.list-row:hover{background:var(--panel-2)}.list-row .mono{color:#ffd166}.empty{color:var(--faint);padding:6px 0}.notice{border-left:3px solid;border-radius:6px;margin-bottom:7px;padding:6px 9px;font-size:12px}.notice.info{border-color:var(--accent);color:#bcd9f7;background:#4da3ff14}.notice.warning{border-color:var(--warn);color:#f0d58a;background:#e3b34117}.notice.error{border-color:var(--error);color:#ffc2bd;background:#ff6b611a}.report-section{margin-bottom:10px}.report-section h3,.guide h3{text-transform:uppercase;letter-spacing:.08em;color:var(--faint);margin-bottom:3px;font-size:10.5px}.report-section dl{margin:0}.report-row{border-bottom:1px dotted var(--line-soft);justify-content:space-between;gap:12px;padding:2.5px 0;display:flex}.report-row dt{color:var(--muted)}.report-row.sub dt{color:var(--faint);padding-left:12px}.report-row dd{font-family:var(--mono);text-align:right;margin:0;font-size:12px}.report-row dd.withheld{color:var(--faint);font-family:inherit;font-style:italic}.tabs{gap:2px;margin-left:auto;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:3px 9px}.tabs button.active{background:var(--accent-soft);color:#d6eaff}.experiment .panel-header h2{text-overflow:ellipsis;overflow:hidden}.guide .goal{color:#e9f0f7;margin-bottom:6px}.guide ol,.guide ul{color:#b9c6d6;margin:0 0 9px;padding-left:19px}.guide li{margin-bottom:2px}.guide .equations{font-family:var(--mono);color:#ffd166;padding-left:0;list-style:none}.guide .assumptions{color:var(--muted);font-size:12px}.given{color:var(--muted);margin-bottom:7px}.notebook-form{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:9px;display:flex}.notebook-form label{color:var(--muted);flex-direction:column;gap:2px;font-size:11.5px;display:flex}.notebook-form em{color:var(--faint);font-style:normal}.notebook-form input{width:108px;font-family:var(--mono)}.table-wrap{margin-bottom:8px;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;border-bottom:1px solid var(--line-soft);vertical-align:top;padding:4px 8px}th{color:var(--faint);white-space:nowrap;font-weight:500}td{font-family:var(--mono)}td .theory{color:#7ee08f;font-size:11px;display:block}.icon-button{color:var(--faint);background:0 0;border:0;font-size:15px;line-height:1}.icon-button:hover{color:var(--error)}.surface-scene{background:radial-gradient(at 50% 45%,#18212c 0%,#0c1117 78%);flex:1;min-height:0}.surface-scene svg{touch-action:none;-webkit-user-select:none;user-select:none;display:block}.interface-line{stroke:#9fd3ff;stroke-width:1.6px}.mirror-line{stroke:#eef2f6;stroke-width:3.5px}.normal-line{stroke:#b7c4d2;stroke-width:1px;stroke-dasharray:6 5}.normal-label,.medium-label{fill:var(--muted);font-size:11px}.medium-label{fill:#b7d6f2}.protractor{pointer-events:none}.protractor circle{fill:#e6edf309;stroke:#7d8b9b;stroke-width:1px}.protractor circle.inner{fill:none;stroke:#3a4756}.protractor line{stroke:#8494a7;stroke-width:.7px}.protractor line.mid{stroke-width:1px}.protractor line.major{stroke:#dbe4ee;stroke-width:1.2px}.protractor line.zero{stroke:#56667a;stroke-width:.8px}.protractor text{font-family:var(--mono);fill:#b7c4d2;font-size:9.5px}.surface-ray{stroke:#ff3b30;stroke-width:2.4px;stroke-linecap:round;filter:drop-shadow(0 0 3px #ff3b30cc)}.ray-label{fill:#ffb1ab;font-size:10.5px}.ray-box{cursor:grab;outline:none}.ray-box rect{fill:#27313c;stroke:#6b7c8f}.ray-box:focus-visible rect{stroke:var(--accent);stroke-width:2px}.ray-box text{font-size:10px;font-family:var(--mono);fill:#aab7c5;pointer-events:none}.drag-handle{cursor:grab}.drag-handle circle{fill:#1c2632;stroke:var(--accent);stroke-width:1.6px}.protractor-handle circle{stroke:#ffd166}.protractor-handle text{font-size:9.5px;font-family:var(--mono);fill:#ffd166;pointer-events:none}@media (width<=1080px){body{overflow:auto}.app{height:auto;min-height:100%}.bench-workspace,.surface-workspace{grid-template-rows:none;grid-template-columns:1fr}:is(.surface-side,.surface-side:has(.physics),.surface-workspace:not(:has(.bottom-row))){grid-template-rows:none}.panel-resizer{display:none}.bench-panel,.surface-panel{height:430px}.bench-workspace .screen-panel,.bench-workspace .bottom-row{grid-area:auto/1}.palette ul{flex-flow:wrap}.palette li{flex:150px}.bottom-row{grid-template-columns:1fr}.bottom-row .panel,.surface-side .panel{max-height:420px}.screen-frame{align-self:center;width:calc(100% - 18px);max-width:460px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.interferometer-workspace{grid-template-columns:minmax(0, 1fr) var(--side,clamp(300px, 27vw, 400px));grid-template-rows:minmax(160px, 1fr) var(--bottom,minmax(210px, 38%))}.eye-workspace{grid-template-columns:minmax(0, 1fr) var(--side,clamp(300px, 27vw, 400px));grid-template-rows:minmax(160px, 1fr) var(--bottom,minmax(230px, 42%))}.eye-workspace .screen-panel{grid-area:1/2/span 2}.eye-workspace .bottom-row{grid-column:1}.eye-axis{stroke:#3a4a5c;stroke-width:1px;stroke-dasharray:7 4 1.5 4}.eye-globe{fill:#9fd3ff0a;stroke:#5d6d7f;stroke-width:1.4px}.eye-retina{fill:none;stroke:#e58a6b;stroke-width:3.5px;stroke-linecap:round}.eye-cornea{fill:none;stroke:#9fd3ff;stroke-width:2.4px;stroke-linecap:round}.eye-lens{fill:#7cc4ff38;stroke:#7cc4ff;stroke-width:1.5px;stroke-linejoin:round}.eye-iris{stroke:#b0835a;stroke-width:3.5px;stroke-linecap:round}.eye-glasses{fill:#c8e1ff29;stroke:#c8e1ff;stroke-width:1.3px;stroke-linejoin:round}.eye-anatomy line{stroke:#56657a;stroke-width:1px}.eye-anatomy ellipse{fill:#b0835a59;stroke:#8a6a4c;stroke-width:1px}.eye-ray path{fill:none;stroke:#ffd166;stroke-width:1.3px;stroke-linejoin:round}.eye-ray.axial path{stroke-opacity:.45}.eye-ray path.beyond{stroke-dasharray:4 3;stroke-opacity:.6}.eye-blur{stroke:#ff5a4f;stroke-width:4px;stroke-linecap:butt}.eye-focus{fill:#ffd166;stroke:#0b0f14;stroke-width:1px}.eye-scale line{stroke:var(--muted);stroke-width:1.5px}.scene-label.faint{fill:var(--faint)}.eye-views{flex-direction:column;flex:1;min-height:0;display:flex}.eye-views .eye-scene+.eye-scene{border-top:1px solid var(--line-soft)}.eye-front-iris{fill:#b0835a38;stroke:#b0835a;stroke-width:1.5px}.eye-front-pupil{fill:#05080c;stroke:#b0835a;stroke-width:1px}.eye-front-stop{fill:#6f7b8a;stroke:#b0835a;stroke-width:1px}.eye-iris.stop{stroke:#6f7b8a}.eye-degrees line{stroke:#56657a;stroke-width:1px}.eye-meridian{stroke:#9fd3ff;stroke-width:1.6px}.eye-meridian.cross{stroke-dasharray:5 4}.eye-cylinder-axis{stroke:#ffd166;stroke-width:1.6px;stroke-dasharray:2 3}.beam-sections{flex-direction:column;gap:5px;display:flex}.beam-strip{grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:5px;display:grid}.beam-strip figure{flex-direction:column;gap:2px;margin:0;display:flex}.beam-strip svg{aspect-ratio:1;background:#000;border:1px solid #2c3847;border-radius:4px;width:100%;display:block}.beam-strip figure.retina svg{border-color:#ff8a65}.beam-strip figcaption{font-size:10.5px;font-family:var(--mono);color:var(--muted);text-align:center}.beam-axis{stroke:#1f2a37;stroke-width:.6px}.beam-patch{fill:#ffd1668c;stroke:#ffd166;stroke-width:.8px}.beam-ring{fill:none;stroke:#0b0f14b3;stroke-width:.5px}.retinal-images{gap:8px;margin:9px 9px 0;display:grid}.retinal-images.several{grid-template-columns:repeat(2,minmax(0,1fr))}.retinal-image{flex-direction:column;gap:4px;margin:0;display:flex}.retinal-image canvas{aspect-ratio:1;background:#000;border:1px solid #2c3847;border-radius:4px;width:100%;display:block}.retinal-image figcaption{color:var(--muted);text-align:center;font-size:11.5px}.eye-table{border-collapse:collapse;width:100%;font-size:12px}.eye-table th{text-align:left;white-space:normal;color:var(--muted);padding:3px 8px 3px 0;font-weight:400;line-height:1.3}.eye-table thead th{text-align:right;vertical-align:bottom;color:var(--faint);padding-left:8px;padding-right:0;font-size:11px}.eye-table td{text-align:right;font-family:var(--mono);white-space:nowrap;padding:3px 0 3px 8px;font-size:11.5px}.eye-table tr+tr th,.eye-table tr+tr td{border-top:1px solid var(--line-soft)}.eye-table td.withheld{color:var(--faint);font-family:inherit;font-style:italic}.eye-workspace .control-body .field-label{margin-top:4px}.interferometer-workspace .screen-panel{grid-area:1/2/span 2}.interferometer-workspace .bottom-row{grid-column:1}.michelson-scene{background:radial-gradient(at 50% 45%,#18212c 0%,#0c1117 78%);flex:1;min-height:0;position:relative}.michelson-scene svg{display:block}.breadboard{fill:#ffffff04;stroke:var(--line-soft)}.scene-label{fill:#c5d1de;font-size:11px}.scene-note{fill:var(--faint);font-size:10px;font-style:italic}.splitter-cube{fill:#7cc4ff1f;stroke:#8fd0ff;stroke-width:1.2px}.splitter-coating{stroke:#dff1ff;stroke-width:1.6px}.stage{fill:#2c3742;stroke:#0a0d11}.stage-arrow{fill:none;stroke:#ffd166;stroke-width:1.3px}.micrometer{grid-template-columns:1fr 1fr;gap:8px;display:grid}.micrometer div{border:1px solid var(--line);background:#0a0e13;border-radius:6px;flex-direction:column;padding:5px 9px;display:flex}.micrometer span{text-transform:uppercase;letter-spacing:.07em;color:var(--faint);font-size:10.5px}.micrometer strong{font-family:var(--mono);color:#ffd166;font-size:16px;font-weight:500}@media (width<=1080px){.eye-workspace,.interferometer-workspace{grid-template-rows:none;grid-template-columns:1fr}.eye-workspace .screen-panel,.eye-workspace .bottom-row,.interferometer-workspace .screen-panel,.interferometer-workspace .bottom-row{grid-area:auto/1}}.notebook-field{align-items:flex-end;gap:3px;display:flex}.notebook-form .notebook-error{color:var(--faint);flex-direction:row;align-items:center;gap:3px}.notebook-form .notebook-error input{width:52px}.plus-minus{color:var(--muted)}tfoot td{border-top:1px solid var(--line);color:var(--muted)}.notebook-graph{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.notebook-plot{flex:320px;max-width:560px;margin:0}.notebook-plot svg{border:1px solid var(--line-soft);background:#0d1218;border-radius:6px;width:100%;height:auto;display:block}.notebook-plot figcaption{color:var(--muted);margin-top:3px;font-size:11.5px}.plot-grid{stroke:var(--line-soft);stroke-width:1px}.plot-tick{font-size:10px;font-family:var(--mono);fill:var(--muted)}.plot-label{fill:var(--text);font-size:11px}.plot-fit{stroke:var(--accent);stroke-width:2px}.plot-point{fill:#e6edf3;stroke:#0d1218;stroke-width:2px}.fit-results{flex:220px;margin:0;font-size:12px}.fit-results div{border-bottom:1px dotted var(--line-soft);justify-content:space-between;gap:12px;padding:2.5px 0;display:flex}.fit-results dt{color:var(--muted)}.fit-results dd{font-family:var(--mono);text-align:right;margin:0}.fit-results dd .theory{display:block}.student-name{width:190px;margin-right:auto}.fit-results .theory{color:#7ee08f;font-size:11px}.prism-glass{fill:#7cc4ff29;stroke:#8fd0ff;stroke-width:1.4px}.prism-ray{stroke-width:2px;stroke-linecap:round}.prism-undeviated{stroke:var(--faint);stroke-width:1px;stroke-dasharray:5 5}.prism-label{fill:var(--muted);font-size:11px}.start-edition{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:11.5px}.start-scroll{flex:1;min-height:0;padding:24px 16px;display:flex;overflow-y:auto}.start-layout{flex-direction:column;gap:14px;width:min(1120px,100%);margin:auto;display:flex}.start-layout .notice{margin:0}.start-columns{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:26px;display:grid}.start-side,.start-group{flex-direction:column;gap:8px;min-width:0;display:flex}.start-side{gap:20px}.start-tile{text-align:left;background:var(--panel);border:1px solid var(--line);color:var(--text);border-radius:9px;align-items:center;gap:13px;padding:13px 14px;display:flex}.start-tile:hover:not(:disabled){border-color:var(--accent);background:var(--panel-2)}.start-tile:disabled{opacity:.45;cursor:not-allowed}.start-icon{color:#7cc4ff;background:#1f2a37;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;display:grid}.start-icon svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.start-tile.exam .start-icon{color:#ffd166}.start-tile.teacher .start-icon{color:var(--ok)}.start-tile-text{min-width:0;color:var(--muted);flex-direction:column;flex:1;gap:3px;display:flex}.start-tile-text strong{color:var(--text);font-size:14px;font-weight:650}.start-arrow{color:var(--faint);flex:none;font-size:15px}.start-tile:hover:not(:disabled) .start-arrow{color:var(--accent)}.start-tile.lab{background:linear-gradient(160deg, #4da3ff1a, transparent 55%), var(--panel);border-color:#2c4a6e}.start-tile.lab:hover{background:linear-gradient(160deg, #4da3ff29, transparent 60%), var(--panel-2)}.start-tile.lab .start-icon{border:1px solid var(--line);background:#0d1218}.start-tile.lab .start-icon svg{width:26px;height:26px;stroke:unset;stroke-width:unset}.catalogue-topic{flex-direction:column;gap:6px;margin-top:8px;display:flex}.catalogue-topic h3{color:var(--text);align-items:center;gap:7px;font-size:13px;font-weight:650;display:flex}.catalogue-topic .preset-number{background:color-mix(in srgb, var(--topic) 20%, var(--bg));color:color-mix(in srgb, var(--topic) 80%, #fff)}.catalogue-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:7px;display:grid}.catalogue-card{border:1px solid var(--line);background:var(--panel);text-align:left;color:var(--text);border-radius:8px;align-items:flex-start;gap:9px;padding:9px 11px;display:flex}.catalogue-card:hover{border-color:var(--topic,var(--accent));background:var(--panel-2)}.catalogue-card .preset-number{flex:none;margin-top:1px}.catalogue-card:hover .preset-number{background:var(--topic,var(--accent));color:#04111f}.catalogue-text{flex-direction:column;gap:2px;min-width:0;display:flex}.catalogue-text strong{font-size:13px;font-weight:600}.catalogue-text span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11.5px;line-height:1.4;display:-webkit-box;overflow:hidden}@media (width<=760px){.start-columns{grid-template-columns:1fr}}.exam-loading{color:var(--muted);justify-content:center;align-items:center}.exam-bar{border-bottom:1px solid var(--line);background:linear-gradient(#141b24,#10161d);flex-wrap:wrap;flex:none;align-items:center;gap:10px;min-height:46px;padding:8px 14px;display:flex}.exam-bar svg{flex:none;width:24px;height:24px}.exam-bar h1{font-size:14px;font-weight:650}.exam-bar-space{flex:1}.exam-clock{font-family:var(--mono);color:#ffd166;font-variant-numeric:tabular-nums;background:#e3b34114;border:1px solid #5c4a1c;border-radius:7px;padding:1px 10px;font-size:19px;font-weight:600}.exam-clock.low{color:#ffb1ab;background:#ff6b611a;border-color:#7a2f2a}.exam-pill{color:#7ee08f;white-space:nowrap;background:0 0;border:1px solid #2f4a35;border-radius:999px;padding:2px 9px;font-size:11.5px}.exam-pill.pending,.exam-pill.state-lobby{color:var(--warn);border-color:#5c4a1c}.exam-pill.offline{color:#ffb1ab;white-space:normal;border-color:#7a2f2a}.exam-pill.state-ended{border-color:var(--line);color:var(--muted)}.exam-pill.live{background:#3fb9501a;border-color:#2f4a35}.exam-scroll{flex:1;min-height:0;padding:16px;overflow-y:auto}.exam-column{flex-direction:column;gap:12px;width:min(760px,100%);margin:0 auto;display:flex}.exam-column.wide{width:min(1080px,100%)}.exam-column.narrow{width:min(560px,100%);padding-top:8vh}.exam-card{flex:none;overflow:visible}.exam-card.centered{text-align:center;align-items:center;gap:10px;padding:26px 24px}.exam-title{font-size:16px;font-weight:650}.exam-form{flex-direction:column;gap:11px;padding:13px 14px 15px;display:flex}.exam-form.grid{grid-template-columns:1fr 1fr;display:grid}.exam-form .span-2{grid-column:1/-1}.exam-form label:not(.check,.inline-field,.mcq-option,.bench-field),.room-row label{flex-direction:column;gap:4px;display:flex}.exam-form label>span:first-child,.room-row label>span,.field-label{color:var(--muted);font-size:11.5px;display:block}.exam-input{border:1px solid var(--line);font:inherit;color:inherit;background:#0d1218;border-radius:6px;width:100%;min-width:0;padding:6px 9px}textarea.exam-input{resize:vertical;line-height:1.5}.exam-input:disabled{opacity:.6}.exam-input.short{text-align:right;width:74px}.exam-input.search{width:280px}.exam-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.hint.exam-prompt{font-size:12px}.exam-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.exam-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chip.large{padding:7px 16px;font-size:14px}.exam-overlay{z-index:40;background:#04080cb8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.exam-overlay>.panel{width:min(520px,100%);box-shadow:0 18px 60px #0009}.lab-overlay{z-index:30;background:var(--bg);position:fixed;inset:0}.exam-page>.notice,.exam-column .notice{margin:0}.exam-page>.notice{margin:8px 14px 0}.notice ul{margin:4px 0 0;padding-left:18px}.empty.padded{padding:14px}.room-row{border:1px solid var(--line-soft);background:var(--panel-2);border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;display:flex}.room-row strong,.room-row .panel-sub{display:block}.room-row.found{border-color:#2f4a35;border-left:3px solid var(--ok)}.address-add{gap:8px;display:flex}.option-list{flex-direction:column;gap:6px;display:flex}.exam-form .option-list label.option-row{border:1px solid var(--line-soft);background:var(--panel-2);cursor:pointer;border-radius:7px;flex-direction:row;align-items:flex-start;gap:10px;padding:9px 11px}.exam-form .option-list label.option-row.active{border-color:var(--accent);background:var(--accent-soft)}.option-row input{accent-color:var(--accent);margin:2px 0 0}.exam-form .option-row>span:last-child{color:var(--text);font-size:inherit;flex-direction:column;gap:2px;display:flex}.option-text{color:var(--muted);font-size:12px}.about-list{grid-template-columns:max-content 1fr;gap:6px 18px;margin:0;padding:13px 14px 15px;display:grid}.about-list dt{color:var(--muted)}.about-list dd{margin:0}.question-nav{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;flex:none;align-items:center;gap:6px;padding:7px 14px;display:flex}.question-tab{border:1px solid var(--line);background:var(--panel);min-width:30px;height:28px;color:var(--muted);font-family:var(--mono);border-radius:6px}.question-tab.answered{color:#7ee08f;background:#3fb95014;border-color:#2f4a35}.question-tab.active{border-color:var(--accent);color:#fff;box-shadow:0 0 0 1px var(--accent)}.answer-text{min-height:190px;font-size:14px}.mcq-options{flex-direction:column;gap:6px;display:flex}.mcq-option{border:1px solid var(--line);background:var(--panel-2);cursor:pointer;border-radius:7px;align-items:center;gap:10px;padding:9px 11px;font-size:14px;display:flex}.mcq-option.static{cursor:default;padding:6px 10px;font-size:13px}.mcq-option.static em{color:var(--muted);font-size:11.5px}.mcq-option.chosen{border-color:var(--accent);background:var(--accent-soft)}.mcq-option.correct{border-color:#2f6b3a}.mcq-option.correct em:last-child{color:#7ee08f}.mcq-option.wrong{background:#ff6b6114;border-color:#7a2f2a}.mcq-letter{width:22px;height:22px;font-family:var(--mono);background:#1f2a37;border-radius:5px;flex:none;place-items:center;font-size:11.5px;display:inline-grid}.clear-choice{align-self:flex-start}.bench-question{flex-direction:row;flex:none;gap:14px;max-height:168px;margin:8px 8px 0;padding:9px 12px;overflow-y:auto}.bench-question-text{flex:1.2;min-width:0}.bench-question-text h2{letter-spacing:.07em;text-transform:uppercase;color:#b9c6d6;align-items:center;gap:10px;margin-bottom:4px;font-size:11.5px;font-weight:650;display:flex}.bench-question-text .chip{text-transform:none;letter-spacing:0;font-weight:400}.bench-question .exam-prompt{font-size:13px}.bench-answer{flex-direction:column;flex:1;gap:6px;min-width:260px;display:flex}.bench-fields{flex-wrap:wrap;gap:6px 14px;display:flex}.bench-field{color:var(--muted);align-items:center;gap:6px;display:flex}.bench-field input{color:#ffd166;width:96px;padding:3px 7px}.bench-field em{color:var(--faint)}.bench-notes{flex:1;min-height:44px;padding:4px 8px}.panel-header h2.plain{text-transform:none;letter-spacing:0;color:var(--text);font-size:13px}.library-row,.classroom-head,.student-summary,.setup-row{justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.setup-row{border:1px solid var(--line-soft);background:var(--panel-2);border-radius:7px;padding:9px 11px}.library-title{min-width:0}.library-more{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:6px;padding:8px 14px 11px;display:flex}.inline-field{color:var(--muted);align-items:center;gap:7px;display:inline-flex}.option-editor{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.option-row{align-items:center;gap:8px;width:100%;display:flex}.field-grid{grid-template-columns:minmax(0,2fr) 90px 130px 110px 24px;align-items:center;gap:6px;width:100%;display:grid}.field-grid.head{color:var(--faint);font-size:11.5px}.classroom-box{border:1px solid var(--line-soft);background:var(--panel-2);border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin:0 14px 14px;padding:12px 14px;display:flex}.address-list{color:#ffd166;-webkit-user-select:all;user-select:all;margin-top:4px;font-size:17px}.classroom-clock{flex-direction:column;align-items:center;gap:8px;display:flex}.classroom-clock .exam-clock{font-size:30px}.mark-queue{flex-wrap:wrap;gap:6px;padding:11px 14px;display:flex}.class-list td{vertical-align:middle;padding:6px 12px;font-family:inherit}.class-list th{padding:6px 12px}.class-list tr.submitted td:first-child{box-shadow:inset 3px 0 0 var(--ok)}.row-actions{text-align:right;white-space:nowrap}.row-actions>*+*{margin-left:8px}.score-box{flex-direction:column;align-items:flex-end;display:flex}.score-box strong{font-family:var(--mono);font-size:22px}.marking.pending{border-color:#5c4a1c}.answer-box,.key-box{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:#0d1218;border-radius:7px;padding:9px 11px;font-size:13.5px;line-height:1.55}.key-box{background:#3fb9500f;border-color:#2f4a35}.marking td{font-family:inherit}.verdict-right{color:#7ee08f}.verdict-wrong{color:#ffb1ab}.mark-row{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;display:flex}.mark-row .comment{flex:1;min-width:220px}@media (width<=760px){.exam-form.grid{grid-template-columns:1fr}.bench-question,.classroom-box,.library-row{flex-direction:column;align-items:stretch}}
