.machine-lab{margin:28px 0 55px}.machine-heading h1{font-size:clamp(26px,3vw,36px);margin:10px 0}.machine-heading>p{color:var(--muted);font-size:14px;margin-bottom:20px}.machine-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:12px}.machine-presets>span{font-size:11px;color:var(--muted);margin-right:5px}.machine-lab button,.machine-lab select{border:1px solid var(--line);border-radius:3px;padding:6px 11px;font-family:inherit;font-size:12px;line-height:1.5;background:var(--surface);color:var(--text)}.machine-lab button:hover{border-color:var(--accent)}.machine-lab button[aria-pressed=true]{background:var(--surface-alt);border-color:var(--accent);color:var(--accent)}.machine-lab button:disabled{opacity:.4;cursor:not-allowed}.machine-workspace{display:grid;grid-template-columns:minmax(230px,.7fr)minmax(0,1.8fr);border:1px solid var(--line);background:var(--surface)}.machine-editor{min-width:0;border-right:1px solid var(--line);display:flex;flex-direction:column}.machine-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line);font:10px ui-monospace,monospace;letter-spacing:.03em}.machine-panel-heading>span{color:var(--muted)}.machine-code-wrap{position:relative;flex:1;min-height:360px;background:var(--code)}#machine-code{position:absolute;inset:0;display:block;width:100%;height:100%;resize:none;border:0;border-radius:0;padding:12px;background:0 0;color:var(--text);font:11px/20px ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;overflow:auto}#machine-code:focus-visible{outline-offset:-2px}#machine-current{font:10px/1.5 ui-monospace,monospace;margin:0;padding:9px 12px;height:49px;flex:none;overflow:auto;border-top:1px solid var(--line);color:var(--muted)}#machine-error{margin:0;padding:10px 12px;font-size:12px;color:#ffb4a8;background:#3a2025}#machine-view{height:460px;position:relative;background:#242b30;overflow:hidden}#machine-view canvas{display:block;width:100%;height:100%;touch-action:none}.machine-view-caption{position:absolute;top:13px;left:14px;right:14px;display:flex;justify-content:space-between;color:#9aa8b2;font:9px ui-monospace,monospace;letter-spacing:.08em;pointer-events:none}#machine-fallback{position:absolute;inset:35% 20px auto;text-align:center;color:#d9e5ee;font-size:14px}.machine-view-tools{display:flex;align-items:center;gap:8px;padding:8px 10px;flex-wrap:wrap;border-top:1px solid var(--line);font-size:10px}.machine-view-tools>span{color:var(--muted);margin-left:auto;font-size:9px}.machine-view-tools button{font-size:10px;padding:3px 7px}.machine-view-tools label{display:flex;align-items:center;gap:4px;color:var(--muted)}.machine-view-tools input{accent-color:var(--accent);margin:0}.machine-telemetry{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-top:0;background:var(--surface)}.machine-head-data{padding:12px 16px;min-width:0}.machine-head-data+section{border-left:1px solid var(--line)}.machine-head-title{display:flex;justify-content:space-between;gap:8px;font:10px ui-monospace,monospace;color:var(--muted);margin-bottom:9px}.machine-head-title strong{color:#83afc7;font-weight:500}[data-head="2"] .machine-head-title strong{color:#c3ab80}[data-theme=light] .machine-head-title strong{color:#35657d}[data-theme=light] [data-head="2"] .machine-head-title strong{color:#796037}.machine-coordinates{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;font-family:ui-monospace,monospace;font-variant-numeric:tabular-nums}.machine-coordinates>div{display:flex;align-items:baseline;gap:8px}.machine-coordinates span{color:var(--muted);font-size:11px}.machine-coordinates output{font-size:20px;line-height:1.5;flex:1;text-align:right}.machine-coordinates small{color:var(--muted);font-size:9px}.machine-head-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;margin-top:7px;font:10px/1.5 ui-monospace,monospace;color:var(--muted)}.machine-head-meta>span{white-space:nowrap}.machine-head-meta>span:last-child{grid-column:1/-1;white-space:normal;height:30px;overflow:auto;overflow-wrap:anywhere}.machine-head-meta output{color:var(--text)}.machine-power-control{display:flex;align-items:center;gap:10px;font:10px ui-monospace,monospace;color:var(--muted);margin-top:9px}.machine-power-control input{flex:1;min-width:30px;height:12px;accent-color:#83afc7}[data-head="2"] .machine-power-control input{accent-color:#c3ab80}.machine-power-control output{min-width:32px;text-align:right}.machine-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:13px 0 10px}.machine-toolbar .machine-primary{background:var(--accent);border-color:var(--accent);color:var(--bg);min-width:75px;font-weight:650}.machine-toolbar>label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-left:auto}.machine-toolbar #machine-status{font-size:11px;color:var(--muted);min-width:95px;text-align:right}#machine-progress{display:block;width:100%;height:2px;border:0;accent-color:var(--accent);background:var(--line)}#machine-progress::-webkit-progress-bar{background:var(--line)}#machine-progress::-webkit-progress-value{background:var(--accent)}.machine-summary{display:flex;flex-wrap:wrap;gap:8px 22px;padding:10px 0;color:var(--muted);font:10px/1.5 ui-monospace,monospace}.machine-summary output{color:var(--text)}.machine-summary>span:last-child{margin-left:auto}.machine-help{margin-top:18px;font-size:13px;color:var(--muted)}.machine-help summary{cursor:pointer;color:var(--text);font-size:13px}.machine-help dl{display:grid;grid-template-columns:1fr 1fr;gap:14px 35px;margin:20px 0}.machine-help dt{color:var(--text);margin-bottom:3px}.machine-help dd{margin:0}.machine-help p{max-width:900px;margin:12px 0}.machine-help code{font-size:11px}@media(max-width:1050px){.machine-head-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.machine-coordinates{gap:8px}.machine-coordinates output{font-size:16px}.machine-coordinates small{display:none}.machine-view-tools>span{display:none}}@media(max-width:760px){.machine-lab{margin-top:22px}.machine-workspace{grid-template-columns:1fr}.machine-scene-panel{grid-row:1}.machine-editor{border-right:0;border-top:1px solid var(--line)}#machine-view{height:350px}.machine-code-wrap{height:220px;min-height:220px;flex:none}.machine-toolbar>label{margin-left:0}.machine-toolbar #machine-status{margin-left:auto}.machine-help dl{grid-template-columns:1fr}.machine-telemetry{grid-template-columns:1fr}.machine-head-data+section{border-left:0;border-top:1px solid var(--line)}.machine-coordinates output{font-size:19px}.machine-coordinates small{display:inline}.machine-summary>span:last-child{margin-left:0}.machine-presets>span{width:100%}.machine-view-caption{font-size:8px}.machine-head-data{padding:12px}.machine-view-tools{gap:8px 12px}}#machine-line-highlight{position:absolute;left:0;right:0;height:20px;background:color-mix(in srgb,var(--accent) 15%,transparent);border-left:3px solid var(--accent);pointer-events:none}#machine-line-highlight.is-fault{background:#a52d3338;border-color:#ff6262}#machine-variables{margin:0;padding:8px 12px;border-top:1px solid var(--line);font:10px/1.6 ui-monospace,monospace;color:var(--muted);height:81px;flex:none;overflow:auto;scrollbar-gutter:stable;overflow-wrap:anywhere}#machine-code{z-index:1}.machine-code-wrap{overflow:hidden}.machine-view-caption{font-size:8px}.machine-preset-note{font-size:12px;color:var(--muted);margin:0 0 12px;max-width:900px}