.servo-demo{color:#e6eef9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#050b14;--blue:#1152d4;--yellow:#fbbf24;--red:#ff535b;--out:#70b4ff;--muted:#8293aa;--edge:#1b2b40;font-family:Public Sans Variable,Public Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.servo-demo *{box-sizing:border-box}.servo-demo button{font:inherit}.servo-demo .demo{max-width:1180px;margin:auto;padding:clamp(14px,3.1vw,42px);position:relative}.servo-demo .head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;display:flex}.servo-demo .eyebrow{letter-spacing:.19em;color:#88a9e7;align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}.servo-demo .eyebrow:before{content:"";background:var(--yellow);border-radius:50%;width:7px;height:7px;box-shadow:0 0 9px #fbbf2477}.servo-demo h3{letter-spacing:-.045em;margin:8px 0 5px;font-size:clamp(21px,3vw,34px);line-height:1.15}.servo-demo .sub{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.servo-demo .control{color:#c2d2e8;white-space:nowrap;cursor:pointer;background:#0b1524;border:1px solid #283a54;border-radius:7px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:flex}.servo-demo .control:hover{background:#14233a}.servo-demo .control:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.servo-demo .system{grid-template-columns:minmax(0,1fr) minmax(0,1.27fr) minmax(0,1fr);align-items:stretch;gap:12px;display:grid;position:relative}.servo-demo .panel{border:1px solid var(--edge);background:linear-gradient(155deg,#101c2a,#0a1320 65%,#080f19);border-radius:12px;min-width:0;padding:14px;position:relative;overflow:hidden;box-shadow:0 9px 30px #0003}.servo-demo .panel:before{content:"";background:linear-gradient(90deg,#0000,#36516b66,#0000);height:1px;position:absolute;top:0;left:0;right:0}.servo-demo .scope{flex-direction:column;justify-content:center;gap:13px;display:flex}.servo-demo .phead{color:#b9c7d9;letter-spacing:.115em;justify-content:space-between;align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}.servo-demo .num{color:#657993;letter-spacing:.08em;font-size:10px}.servo-demo .input .phead strong{color:#ff777d}.servo-demo .output .phead strong{color:#8cbcff}.servo-demo .readout{background:#050a12;border:1px solid #233044;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:11px 8px 8px;display:flex;box-shadow:inset 0 2px 12px #0009}.servo-demo .readout svg{width:clamp(100px,13vw,154px);height:auto;overflow:visible}.servo-demo .unit{color:#8799af;align-self:flex-end;padding-bottom:3px;font-size:10px;line-height:1.2}.servo-demo .unit b{color:currentColor;font-size:19px;font-weight:600}.servo-demo .input .unit b{color:var(--red)}.servo-demo .output .unit b{color:var(--out)}.servo-demo .screen{background:#040c15;border:1px solid #26374a;border-radius:7px;position:relative;overflow:hidden;box-shadow:inset 0 0 20px #000b}.servo-demo .screen canvas{aspect-ratio:1.55;width:100%;display:block}.servo-demo .scopelabel{letter-spacing:.12em;color:#8d9db1;pointer-events:none;font-size:8px;position:absolute;top:8px;left:9px}.servo-demo .scopecorner{color:#72869e;pointer-events:none;font-size:8px;position:absolute;bottom:6px;right:8px}.servo-demo .foot{color:#8092aa;justify-content:space-between;gap:6px;font-size:10px;line-height:1.4;display:flex}.servo-demo .foot b{color:#bac9dc;font-weight:600}.servo-demo .engine{flex-direction:column;justify-content:space-between;gap:9px;padding:14px 12px 12px;display:flex}.servo-demo .engine .phead{padding:0 2px}.servo-demo .engine .phead strong{color:#e0e9f7}.servo-demo .machine{aspect-ratio:1.04;width:100%;min-width:0;max-width:420px;margin:auto;position:relative}.servo-demo .machine canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.servo-demo .machine .tag{letter-spacing:.07em;color:#a9bad0;pointer-events:none;background:#08121ddd;border:1px solid #32465b;border-radius:4px;padding:4px 5px;font-size:8px;position:absolute}.servo-demo .tag.motor{top:4%;right:1%}.servo-demo .tag.coil{bottom:6%;left:1%}.servo-demo .enginefoot{color:#8fa3ba;justify-content:space-between;gap:6px;padding:0 3px;font-size:10px;display:flex}.servo-demo .enginefoot b{color:var(--yellow);font-variant-numeric:tabular-nums;font-weight:600}.servo-demo .indicators{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px;display:grid}.servo-demo .status{color:#77879a;letter-spacing:.05em;white-space:nowrap;background:#0b1421;border:1px solid #1b2b40;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:11px 4px;font-size:10px;font-weight:700;display:flex}.servo-demo .lamp{background:#263447;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:inset 0 1px 3px #0007}.servo-demo .status.on{color:#e7edf7;border-color:color-mix(in srgb,var(--lamp) 43%,#1b2b40);background:color-mix(in srgb,var(--lamp) 8%,#0b1421)}.servo-demo .status.on .lamp{background:var(--lamp);box-shadow:0 0 9px var(--lamp),inset 0 1px 2px #fff8}.servo-demo .status[data-mode=BOOST]{--lamp:#fbbf24}.servo-demo .status[data-mode=BUCK]{--lamp:#6ca8ff}.servo-demo .status[data-mode=NORMAL]{--lamp:#48d9ad}.servo-demo .status[data-mode=CUT-OFF]{--lamp:#ff535b}.servo-demo .bottom{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:10px;line-height:1.45;display:flex}.servo-demo .event{color:#d2ddeb;font-weight:600}.servo-demo .meter{background:#1b2a40;border-radius:3px;height:3px;margin-top:9px;overflow:hidden}.servo-demo .meter i{background:var(--blue);transform-origin:0;width:100%;height:100%;display:block;transform:scaleX(0)}.servo-demo .spec{white-space:nowrap;text-align:right}.servo-demo .wire{z-index:2;pointer-events:none;background:#536782;width:12px;height:2px;position:absolute;top:52%;box-shadow:0 0 6px #345c97}.servo-demo .wire.a{left:calc(30.581% - 7.33945px)}.servo-demo .wire.b{right:calc(30.581% - 7.33945px)}.servo-demo .wire:after{content:"";border-top:3px solid #0000;border-bottom:3px solid #0000;border-left:4px solid #8ba1bd;width:0;height:0;position:absolute;top:-2px;right:0}.servo-demo .system.cut .wire.b{box-shadow:none;background:#4a2630}.servo-demo .system.cut .wire.b:after{border-left-color:#a0434a}.servo-demo .sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:780px) and (min-width:641px){.servo-demo .panel{padding:10px}.servo-demo .system{gap:8px}.servo-demo .wire{display:none}.servo-demo .scope{gap:9px}.servo-demo .phead{letter-spacing:.04em}.servo-demo .foot{font-size:9px}.servo-demo .unit b{font-size:16px}}@media (max-width:640px){.servo-demo .demo{max-width:470px;padding:16px}.servo-demo .head{align-items:flex-start;margin-bottom:16px}.servo-demo .control{gap:5px;padding:8px}.servo-demo .sub{font-size:11px}.servo-demo .system{grid-template-columns:1fr;gap:12px}.servo-demo .panel{padding:13px}.servo-demo .scope{gap:9px}.servo-demo .scope .screen canvas{aspect-ratio:2.45}.servo-demo .readout{padding:7px}.servo-demo .readout svg{width:114px}.servo-demo .machine{max-width:335px}.servo-demo .wire{display:none}.servo-demo .indicators{gap:5px}.servo-demo .status{gap:4px;padding:10px 2px;font-size:9px}.servo-demo .lamp{width:7px;height:7px}.servo-demo .bottom{align-items:flex-start;font-size:9px}.servo-demo .spec{white-space:normal;max-width:130px}.servo-demo .tag{font-size:8px}}.servo-demo .demo{max-width:none;padding:0}.servo-demo .head{justify-content:flex-end;margin-bottom:14px}.servo-demo .demo{max-width:1000px;margin-inline:auto}.servo-demo .system{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:10px}.servo-demo .panel{padding:14px}.servo-demo .scope{justify-content:flex-start;gap:12px}.servo-demo .scope .screen{flex:1;min-height:150px;position:relative}.servo-demo .scope .screen canvas{aspect-ratio:auto;width:100%;height:100%;position:absolute;inset:0}.servo-demo .readout{padding:8px 8px 6px}.servo-demo .readout svg{width:clamp(86px,9vw,116px)}.servo-demo .engine{gap:10px}.servo-demo .engine .phead{align-items:center}.servo-demo .engine .control{padding:6px 10px;font-size:11px}.servo-demo .machine{max-width:270px}.servo-demo .event{text-align:center;color:#e6eef9;justify-content:center;align-items:center;min-height:2.7em;margin:0;font-size:14px;font-weight:700;line-height:1.35;display:flex}.servo-demo .phead,.servo-demo .foot,.servo-demo .enginefoot,.servo-demo .unit,.servo-demo .status{font-size:11px}.servo-demo .foot{flex-wrap:wrap}.servo-demo .status{padding:9px 4px}.servo-demo .indicators{margin-top:10px}@media (max-width:640px){.servo-demo .system{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.servo-demo .scope.input{grid-area:1/1}.servo-demo .scope.output{grid-area:1/2}.servo-demo .engine{grid-area:2/1/auto/-1}.servo-demo .panel{padding:10px}.servo-demo .phead{letter-spacing:.06em}.servo-demo .readout{gap:4px;padding:6px 4px 4px}.servo-demo .readout svg{width:70px}.servo-demo .unit b{font-size:14px}.servo-demo .scope{gap:8px}.servo-demo .scope .screen{flex:none;height:92px;min-height:0}.servo-demo .machine{max-width:220px}.servo-demo .event{font-size:13px}.servo-demo .status{gap:4px;padding:9px 2px}.servo-demo .indicators{gap:5px}}
