body:has(.fs-stage) .page-body{max-width:none}@media(min-width:1280px){body:has(.fs-stage) .page-frame{grid-template-columns:160px minmax(0,1fr) 160px}}.fs-stage,.fs-pv-panel{margin-bottom:16px}.fs-stage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:20px;align-items:start}@media(max-width:900px){.fs-stage-grid{grid-template-columns:minmax(0,1fr)}}.fs-stage-side{display:flex;flex-direction:column;gap:18px;min-width:0}.fs-side-block{padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:var(--bg-sunken)}.fs-side-block>h2{display:flex;align-items:center;gap:4px;margin:0 0 10px;color:var(--text-dim);font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}.fs-side-block .actions{margin-top:4px}.fs-stage{padding-bottom:14px}.fs-scene-wrap{position:relative}.fs-scene{display:block;width:100%;height:auto;max-height:max(320px,calc(100vh - 270px - var(--fs-dock-h, 170px)));margin:0 auto}.fs-metal{fill:var(--bg-sunken);stroke:var(--border);stroke-width:1.5}.fs-scene{--fs-inside: #161b22}.fs-bore{fill:var(--fs-inside)}.fs-port-wall{fill:none;stroke:var(--border);stroke-width:42;stroke-linejoin:round}.fs-pipe-wall{fill:none;stroke:var(--axis);stroke-width:42;stroke-linejoin:round}.fs-port{fill:none;stroke:var(--fs-inside);stroke-width:32;stroke-linejoin:round}.fs-flange{fill:var(--axis)}.fs-gas{fill-opacity:.2;transition:none}.fs-flame{fill:#ffb347;mix-blend-mode:screen}.fs-dot{stroke:#0000004d;stroke-width:.5}.fs-drop{stroke:none}.fs-piston{fill:#9aa3b0;stroke:#5d6673;stroke-width:1}.fs-ring{stroke:#5d6673;stroke-width:1.4}.fs-pin{fill:#d7dce3;stroke:#5d6673;stroke-width:1.2}.fs-rod{stroke:#b6bec9;stroke-width:16;stroke-linecap:round}.fs-rod-end{fill:#b6bec9;stroke:#5d6673;stroke-width:1}.fs-web{stroke:#7d8692;stroke-width:30;stroke-linecap:round}.fs-counter{fill:#6c7581;stroke:#4c545f;stroke-width:1}.fs-journal{fill:#d7dce3;stroke:#5d6673;stroke-width:1.5}.fs-valve{fill:#c9ced6;stroke:#5d6673;stroke-width:1}.fs-stem{stroke:#c9ced6;stroke-width:6;stroke-linecap:round}.fs-spring{fill:none;stroke:#4fa3e0;stroke-width:2.4;stroke-linejoin:round}.fs-bucket{fill:#aab2bd;stroke:#5d6673;stroke-width:1}.fs-sprocket{fill:none;stroke:var(--axis);stroke-width:5;stroke-dasharray:4 3.5;opacity:.55}.fs-lobe{fill:#8e97a3;stroke:#4c545f;stroke-width:1.2}.fs-shaft{fill:#d7dce3;stroke:#4c545f;stroke-width:1}.fs-mark{fill:var(--cursor)}.fs-plug-thread{stroke:#aab2bd;stroke-width:10}.fs-plug-hex{fill:#8e97a3;stroke:#4c545f}.fs-plug-outline{stroke:#4c545f;stroke-width:14;stroke-linecap:round}.fs-plug-body{stroke:#eef0f3;stroke-width:11;stroke-linecap:round}.fs-plug-cap{fill:#4c545f}.fs-spark{fill:#fff59d;stroke:#ffd000;stroke-width:1;filter:drop-shadow(0 0 4px #ffe066)}.fs-injector{stroke:#6d7784;stroke-width:10;stroke-linecap:round}.fs-injector-cap{fill:#3c4450}.fs-throttle{stroke:var(--text);stroke-width:4;stroke-linecap:round}.fs-label{fill:var(--text);font-size:14px;font-weight:600;paint-order:stroke;stroke:var(--bg-raised);stroke-width:3px;stroke-linejoin:round}.fs-on-part{fill:#2a3039;stroke:none;font-size:12px}.fs-lead{stroke:var(--text-dim);stroke-width:1}.fs-badge{display:inline-block;margin-bottom:4px;padding:3px 9px;border-radius:999px;color:#10141a;font-size:12px;font-weight:700;pointer-events:none}.fs-badge[data-stroke="0"]{background:#35c97a}.fs-badge[data-stroke="1"]{background:#ffc53a}.fs-badge[data-stroke="2"]{background:#ff7a45}.fs-badge[data-stroke="3"]{background:#a7adb6}.fs-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin:8px 0 4px;color:var(--text-dim);font-size:11px}.fs-legend span{display:inline-flex;align-items:center;gap:5px}.fs-legend i{width:10px;height:10px;border-radius:50%;box-shadow:inset 0 0 0 1px #0000004d}.fs-transport{display:flex;gap:6px}.fs-transport .btn{min-height:34px;font-size:13px}.fs-play{min-width:96px;background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.fs-play:hover:not(:disabled){filter:brightness(1.08)}.fs-tl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 8px}.fs-tl-side{display:flex;flex-direction:column}.fs-tl-lane-name{display:flex;align-items:center;justify-content:flex-end;color:var(--text-dim);font-size:10px;font-weight:600}.fs-tl-lane-name.strokes{height:22px}.fs-tl-lane-name.in{height:23px;color:#35c97a}.fs-tl-lane-name.ex{height:23px;color:var(--text-dim)}.fs-tl-lane-name.fuel{height:10px;color:#f0a92e}.fs-tl-track{position:relative;height:78px;cursor:ew-resize;border-radius:4px;touch-action:pan-y;user-select:none;-webkit-user-select:none}.fs-tl-track:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.fs-tl-plot{position:absolute;inset:0;width:100%;height:100%;display:block}.fs-tl-stroke{fill-opacity:.85}.fs-tl-stroke.s0{fill:#35c97a}.fs-tl-stroke.s1{fill:#ffc53a}.fs-tl-stroke.s2{fill:#ff7a45}.fs-tl-stroke.s3{fill:#a7adb6}.fs-tl-lane{fill:var(--bg-sunken)}.fs-tl-in{fill:color-mix(in srgb,#35c97a 55%,transparent);stroke:#35c97a;stroke-width:1;vector-effect:non-scaling-stroke}.fs-tl-ex{fill:color-mix(in srgb,#8d929b 55%,transparent);stroke:#8d929b;stroke-width:1;vector-effect:non-scaling-stroke}.fs-tl-fuel{fill:#f0a92e}.fs-tl-overlap{fill:color-mix(in srgb,#b07cff 30%,transparent);stroke:#b07cff;stroke-width:1;stroke-dasharray:3 2;vector-effect:non-scaling-stroke}.fs-tl-overlap-mark{position:absolute;top:33px;transform:translate(-50%);color:#d6bcff;font-size:9px;font-weight:700;letter-spacing:.3px;pointer-events:none;text-shadow:0 0 3px #000}@media(max-width:700px){.fs-tl-overlap-mark{display:none}}.fs-tl-spark{fill:#ffd000}.fs-tl-grid{stroke:var(--text-dim);stroke-width:1;stroke-dasharray:2 3;opacity:.6}.fs-tl-grid.cycle{stroke:var(--text);stroke-width:2;stroke-dasharray:none;opacity:.9}.fs-tl-names span{position:absolute;top:0;height:20px;overflow:hidden;color:#10141a;font-size:11px;font-weight:700;line-height:20px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.fs-tl-spark-mark{position:absolute;bottom:6px;transform:translate(-50%);font-size:11px;pointer-events:none}.fs-tl-names b{font-weight:700}.fs-tl-names .short{display:none}@media(max-width:700px){.fs-tl-names .full{display:none}.fs-tl-names .short{display:inline}.fs-tl-ticks .bdc{display:none}}.fs-tl-cursor{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--cursor);pointer-events:none}.fs-tl-knob{position:absolute;bottom:-6px;left:50%;width:14px;height:14px;margin-left:-7px;border:2px solid var(--bg-raised);border-radius:50%;background:var(--cursor)}.fs-tl-ticks{position:relative;height:26px;margin-top:6px}.fs-tl-ticks span{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%);color:var(--muted);font-size:10px;line-height:1.25}.fs-tl-ticks span:first-child{align-items:flex-start;transform:none}.fs-tl-ticks span:last-child{align-items:flex-end;transform:translate(-100%)}.fs-tl-ticks b{color:var(--text-dim);font-weight:600;font-variant-numeric:tabular-nums}.fs-event-title{margin:0 0 6px;font-size:15px;font-weight:700}.fs-event-body{margin:0;color:var(--text-dim);font-size:13px;line-height:1.6;min-height:6.4em}.fs-range{display:flex;align-items:center;gap:10px}.fs-range input{flex:1;min-width:0;accent-color:var(--accent);height:28px}.fs-range-value{min-width:46px;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.fs-pv-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.fs-pv-head h2{display:flex;align-items:center;gap:4px;margin:0;color:var(--text-dim);font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}.fs-pv{display:block;width:100%;height:auto;max-height:calc(100vh - 140px)}.fs-pv-grid{stroke:var(--grid);stroke-width:1}.fs-pv-zero{stroke:var(--text-dim);stroke-width:1.4}.fs-pv-vacuum{fill:color-mix(in srgb,var(--accent) 7%,transparent)}.fs-pv-note{fill:var(--text-dim);font-size:12px;font-style:italic}.fs-pv-axis{stroke:var(--axis);stroke-width:1.2}.fs-pv-tick{fill:var(--text-dim);font-size:13px;font-variant-numeric:tabular-nums}.fs-pv-title{fill:var(--text-dim);font-size:13px;font-weight:600}.fs-pv-area{fill:var(--accent-soft);fill-rule:evenodd;stroke:none}.fs-pv-ideal{fill:none;stroke:var(--text);stroke-width:1.8;stroke-dasharray:7 5;stroke-linejoin:round;opacity:.75}.fs-pv-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.fs-pv-event{fill:#2f6bff;stroke:#fff;stroke-width:1.5}.fs-pv-event-label{fill:var(--text);font-size:13px;font-weight:600;paint-order:stroke;stroke:var(--bg-raised);stroke-width:3px}.fs-pv-guide{stroke:var(--cursor);stroke-width:1;stroke-dasharray:3 3}.fs-pv-dot{stroke:#fff;stroke-width:2.5;filter:drop-shadow(0 0 3px rgba(0,0,0,.5))}.fs-checks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;margin:6px 0 2px;font-size:13px}.fs-check{display:inline-flex;align-items:center;gap:7px;cursor:pointer;user-select:none}.fs-check input{width:18px;height:18px;margin:0;accent-color:var(--accent);cursor:pointer}.fs-key-actual{display:inline-flex}.fs-key-actual i{width:6px;height:3px}.fs-key-actual i:first-child{border-radius:2px 0 0 2px}.fs-key-actual i:last-child{border-radius:0 2px 2px 0}.fs-key-dash{display:inline-block;width:22px;height:0;border-top:2px dashed var(--text);opacity:.75}.fs-pv-chamber{fill:color-mix(in srgb,var(--warn) 12%,transparent)}.fs-pv-chamber-label{fill:var(--warn);font-size:12px;font-weight:600}.fs-pv-dead{stroke:var(--axis);stroke-width:1;stroke-dasharray:2 4}.fs-pv-p0{fill:var(--text);font-size:14px;font-weight:700}.fs-pv-dim{stroke:var(--text-dim);stroke-width:1}.fs-pv-dim-head{fill:var(--text-dim)}.fs-pv-dim-label{fill:var(--text-dim);font-size:12px;font-weight:600}.fs-pv-arrow{stroke:var(--bg-raised);stroke-width:1}.fs-pv-work{fill:var(--text);font-size:18px;font-weight:700;paint-order:stroke;stroke:var(--bg-raised);stroke-width:4px}.fs-pv-work.minus{font-size:15px}.fs-pv-point{fill:var(--text);font-size:15px;font-weight:700;font-style:italic;paint-order:stroke;stroke:var(--bg-raised);stroke-width:4px}.fs-pv-ign{fill:#3b6cff;stroke:#fff;stroke-width:.8}.fs-pv-cyl-chamber{fill:color-mix(in srgb,#ff6b6b 30%,transparent)}.fs-pv-cyl-bore{fill:color-mix(in srgb,#6fbcff 22%,transparent)}.fs-pv-cyl-wall{stroke:var(--axis);stroke-width:2}.fs-pv-cyl-valve{stroke:var(--text);stroke-width:3;stroke-linecap:round}.fs-pv-cyl-piston{fill:#9aa3b0;stroke:#4c545f;stroke-width:1}.fs-pv-cyl-ring{stroke:#4c545f;stroke-width:1.2}.fs-pv-cyl-pin{fill:#d7dce3;stroke:#4c545f}.fs-pv-cyl-rod{stroke:#b6bec9;stroke-width:9;stroke-linecap:round}.fs-tl-main{position:relative}.fs-pop{position:absolute;bottom:calc(100% + 20px);transform:translate(-50%);width:max-content;max-width:min(500px,92vw);padding:7px 10px 8px;border:1px solid var(--border);border-radius:8px;background:var(--bg-raised);box-shadow:var(--shadow);font-size:12px;font-variant-numeric:tabular-nums}.fs-pop[data-edge=start]{transform:translate(-12px)}.fs-pop[data-edge=end]{transform:translate(calc(-100% + 12px))}.fs-pop:after{content:"";position:absolute;bottom:-6px;left:50%;width:10px;height:10px;margin-left:-5px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg-raised);transform:rotate(45deg)}.fs-pop[data-edge=start]:after{left:12px}.fs-pop[data-edge=end]:after{left:calc(100% - 12px)}.fs-pop-head{display:flex;align-items:center;gap:8px;margin-bottom:5px}.fs-pop-stroke{padding:1px 8px;border-radius:999px;color:#10141a;font-weight:700;white-space:nowrap}.fs-pop-stroke[data-stroke="0"]{background:#35c97a}.fs-pop-stroke[data-stroke="1"]{background:#ffc53a}.fs-pop-stroke[data-stroke="2"]{background:#ff7a45}.fs-pop-stroke[data-stroke="3"]{background:#a7adb6}.fs-pop-angle{font-size:18px;font-weight:700}.fs-pop-grid{display:grid;grid-template-columns:repeat(6,auto);gap:3px 14px}@media(max-width:600px){.fs-pop-grid{grid-template-columns:repeat(3,auto)}}.fs-pop-item{display:flex;flex-direction:column;min-width:0}.fs-pop-item small{color:var(--muted);font-size:10px}.fs-pop-item strong{font-size:13px;white-space:nowrap}.fs-dock{position:fixed;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));left:12px;z-index:30;padding:10px 14px 8px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--bg-raised) 94%,transparent);box-shadow:0 -8px 30px #00000059;backdrop-filter:blur(6px)}body:has(.fs-dock) .page{padding-bottom:calc(var(--fs-dock-h, 170px) + 24px)}.fs-dock-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-top:2px}.fs-dock-bar h2{display:flex;align-items:center;gap:4px;margin:0;color:var(--text-dim);font-size:11px;font-weight:600;letter-spacing:.4px}.fs-dock .fs-transport .btn{min-height:32px}.fs-pv-axis-head{fill:var(--axis)}.fs-pv-overlap{fill:none;stroke:#b07cff;stroke-width:12;stroke-linecap:round;stroke-linejoin:round;opacity:.45}.fs-pv-overlap-label{fill:#d6bcff;font-size:13px;font-weight:700;paint-order:stroke;stroke:var(--bg-raised);stroke-width:4px}.fs-badge.is-overlap,.fs-pop-stroke.is-overlap{box-shadow:0 0 0 2px #b07cff}
