.duplex-workspace{display:block!important;}.duplex-live{border:1px solid var(--uui-line);border-radius:7px;background:var(--uui-paper);padding:18px;scroll-margin-top:95px;min-width:0;}.duplex-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;}.motion-lab .duplex-heading h3{font-size:14px;letter-spacing:-.8px;margin:8px 0 17px;}.duplex-heading>span{font:11px/1.6 ui-monospace,monospace;color:var(--uui-ink);border:1px solid var(--uui-line);border-radius:7px;padding:6px 10px;white-space:nowrap;}.duplex-command{display:flex;gap:15px;align-items:end;flex-wrap:wrap;}.duplex-command>label:first-child{flex:1;min-width:150px;}.duplex-command .duplex-auto{display:flex;gap:7px;align-items:center;min-height:40px;}.duplex-command>a{font-size:11px;padding-bottom:12px;}.motion-lab .duplex-command>button{min-height:36px;font-size:11px;}.motion-lab .duplex-state{font-size:11px;color:var(--uui-ink);line-height:1.7;margin:14px 0 20px;}.duplex-grid{display:grid;grid-template-columns:minmax(0,1fr) 145px minmax(0,1.22fr);gap:18px;position:relative;min-width:0;align-items:start;}.duplex-grid>*{min-width:0;}.duplex-radio,.duplex-vehicle{position:relative;z-index:1;}.duplex-radio .radio-live{padding:10px;margin:0;border-color:var(--uui-line);border-radius:7px;background:var(--uui-paper);}.duplex-radio .radio-live-head{display:block;}.duplex-radio .radio-live-head>div>.lab-eyebrow{font-size:11px;}.duplex-radio .radio-live h3{font-size:14px;line-height:1.35;margin:6px 0 9px!important;min-height:24px;}.duplex-radio .radio-live-head>span{display:inline-block;font-size:11px;padding:4px 8px;margin:0 0 7px;}.duplex-radio .radio-live-scene{margin:0 auto 10px;min-height:0;max-width:550px}.duplex-radio .radio-hit{min-height:25px;min-width:24px!important;font-size:11px;padding:1px 3px!important;}.duplex-radio .radio-hit small{font-size:11px;}.duplex-radio .radio-axis-hit{min-width:32px!important;font-size:11px;gap:2px;}.duplex-radio .radio-live-grid{display:block;}.duplex-radio .radio-live-detail{display:block;border:0;padding:0;}.duplex-radio .radio-live-detail h4{font-size:15px;margin-top:12px;}.duplex-radio .radio-live-detail p{font-size:11px;}.duplex-radio .radio-live-signals{display:block;}.duplex-radio .radio-live-signals output{display:block;margin-top:7px;font-size:11px;}.duplex-radio .radio-live-toolbar{display:block;}.duplex-radio .radio-live-toolbar label{display:block;font-size:11px;}.duplex-radio .radio-live-toolbar p{font-size:11px;}.duplex-radio .radio-pick-select{font-size:11px;}.duplex-radio .radio-live-instruction{font-size:11px;}.duplex-radio .radio-view-help{font-size:11px;}.duplex-radio details,.duplex-vehicle-options{margin:9px 0 0!important;border:0!important;border-top:1px solid var(--uui-line)!important;background:transparent;padding:9px 0 0!important;border-radius:0!important;}.duplex-radio details>summary,.duplex-vehicle-options>summary{font-size:11px;line-height:1.5!important;color:var(--uui-ink);cursor:pointer;padding:4px 0!important;}.duplex-vehicle>header{padding:0 0 12px;}.duplex-vehicle>header h4{font-size:17px;color:var(--uui-ink);margin:7px 0 0;line-height:1.3;}.duplex-vehicle>header>span{font-size:11px;}.duplex-vehicle .motion-canvas{overflow:visible}.duplex-vehicle .motion3d-stage{height:clamp(260px,28vw,390px)!important;min-width:0;border-radius:7px 7px 0 0;overflow:hidden}.duplex-vehicle .motion3d-toolbar{padding:10px 8px;}.duplex-vehicle .motion3d-identity{grid-template-columns:minmax(0,1fr);padding:10px;}.duplex-vehicle .motion3d-identity label{display:block;}.duplex-vehicle-options{padding:10px!important;margin:0!important;background:var(--uui-paper);}.duplex-vehicle .motion3d-wiring{padding:10px 0;}.duplex-vehicle .motion3d-wire-detail{grid-template-columns:minmax(0,1fr);}.duplex-vehicle .motion3d-model-kicker{font-size:11px;}.duplex-vehicle .motion3d-tools{padding:10px 0;}.duplex-bridge{border:1px solid var(--uui-line);background:var(--uui-paper);border-radius:7px;padding:10px 8px;position:relative;z-index:3;}.duplex-bridge-title{font:11px ui-monospace,monospace;color:var(--uui-ink);display:flex;justify-content:space-between;gap:10px;padding:4px 3px 12px;}.duplex-bridge-title span{color:var(--uui-ink);}.duplex-channels{max-height:380px;overflow:auto;padding-right:3px;scrollbar-width:thin;}.motion-lab .duplex-channels button{display:grid;grid-template-columns:1fr auto;width:100%;font:11px ui-monospace,monospace;gap:4px 5px;border:1px solid var(--uui-line);background:var(--uui-paper);padding:9px 7px;min-height:58px;text-align:left;margin:0 0 6px;border-radius:4px;position:relative;overflow:hidden;}.duplex-channels button>span{color:var(--uui-ink);}.duplex-channels button>b{grid-row:2;grid-column:1/-1;font:11px/1.4 system-ui,sans-serif;color:var(--uui-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.duplex-channels button>output{color:var(--uui-ink);}.duplex-channels button>i{position:absolute;bottom:0;left:0;width:100%;height:3px;background:var(--uui-paper);}.duplex-channels button>i>em{display:block;height:100%;background:var(--uui-paper);}.motion-lab .duplex-channels button.related{border-color:var(--uui-line);}.motion-lab .duplex-channels button.selected{border-color:var(--uui-line);}.motion-lab .duplex-channels button.changed{border-color:var(--uui-line);background:var(--uui-paper);box-shadow:none;}.duplex-channels button.changed>i>em{background:var(--uui-paper);}.motion-lab .duplex-channels button.entry-moving{border-color:var(--uui-line);background:var(--uui-paper);}.motion-lab .duplex-channels button.ambiguous{border-style:dashed;border-color:var(--uui-line);}.motion-lab .duplex-bridge p{font:11px/1.6 system-ui,sans-serif;color:var(--uui-ink);margin:10px 0 0;overflow-wrap:anywhere;}.duplex-wires{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible;}.duplex-wire{fill:none;stroke:#b9d5b5;stroke-width:1.1;opacity:.27;stroke-linecap:round;}.duplex-wire.changed{stroke:#c6ffd9;stroke-width:2.5;opacity:.95;stroke-dasharray:7 9;animation:duplex-flow .9s linear infinite;filter:drop-shadow(0 0 3px #81d3af);}.duplex-wire.entry-moving{stroke:#efc17e;stroke-width:1.8;opacity:.85;stroke-dasharray:3 6;animation:duplex-flow 1.2s linear infinite;}.duplex-input-chips{display:flex;flex-wrap:wrap;gap:5px;padding:15px 0;}.motion-lab .duplex-input-chips button{display:flex;gap:6px;align-items:center;font:11px ui-monospace,monospace;min-height:30px;padding:5px 7px;background:var(--uui-paper);border-color:var(--uui-line);}.duplex-input-chips b{color:var(--uui-ink);}.duplex-input-chips output{color:var(--uui-ink);}.motion-lab .duplex-input-chips button.changed{border-color:var(--uui-line);background:var(--uui-paper);}.motion-lab .duplex-input-chips button.selected{outline:1px solid #c8d7ae;}.duplex-targets{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;}.motion-lab .duplex-targets button{min-height:36px;padding:7px 9px;background:var(--uui-paper);border-color:var(--uui-line);font-size:11px;text-align:left;}.duplex-targets b{display:block;color:var(--uui-ink);}.duplex-targets span{display:block;font:11px ui-monospace,monospace;color:var(--uui-ink);margin-top:3px;}.motion-lab .duplex-targets button.changed{background:var(--uui-paper);border-color:var(--uui-line);}.motion-lab .duplex-targets button[aria-pressed=true]{border-color:var(--uui-line);}.motion3d-label.duplex-output-changed{box-shadow:0 0 12px #b9f6b6!important;border-color:#a7e1a5!important;background:#315b41ed!important}.duplex-detail{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;border-top:1px solid var(--uui-line);padding-top:15px;}.duplex-detail>div{min-width:0;}.motion-lab .duplex-detail p{font-size:11px;line-height:1.8;color:var(--uui-ink);margin:7px 0;overflow-wrap:anywhere;}.motion-lab #duplex-route{font:11px/1.8 ui-monospace,monospace;color:var(--uui-ink);}.motion-lab #duplex-limit{font-size:11px;color:var(--uui-ink);}.motion-lab .duplex-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--uui-ink);margin:15px 0 10px;}.duplex-legend span:first-child{color:var(--uui-ink);}.duplex-legend span:last-child{color:var(--uui-ink);}.motion-lab .duplex-scope{font-size:11px;color:var(--uui-ink);line-height:1.7;margin:0;}.duplex-manual{margin:18px 0!important;}.duplex-manual>summary{font-size:12px;color:var(--uui-ink);cursor:pointer;}.duplex-manual .motion-pilot{max-width:620px;margin:auto;}.signal-lab{grid-column:1/-1;}.duplex-workspace>.signal-lab{margin-bottom:20px;}.motion-expanded .duplex-grid{grid-template-columns:minmax(0,1fr) 160px minmax(0,1.25fr);}.motion-expanded .duplex-vehicle .motion3d-stage{height:clamp(260px,40vh,520px)!important}.motion-expanded .duplex-radio .radio-live-scene{max-width:600px}
@keyframes duplex-flow{to{stroke-dashoffset:-32;}}
@media(max-width:1000px){.duplex-grid,.motion-expanded .duplex-grid{grid-template-columns:minmax(0,1fr);gap:18px;}.duplex-radio .radio-live-scene{max-width:480px}.duplex-bridge-title{padding-bottom:8px;}.duplex-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;max-height:185px;padding:0;}.motion-lab .duplex-channels button{margin:0;min-height:58px;}.duplex-wires{display:none;}.duplex-bridge:before,.duplex-bridge:after{content:"↓";position:absolute;left:calc(50% - 10px);color:var(--uui-ink);font:16px ui-monospace,monospace;}.duplex-bridge:before{top:-18px;}.duplex-bridge:after{bottom:-19px;}.duplex-vehicle .motion3d-stage{height:360px!important}.duplex-detail{grid-template-columns:1fr;gap:10px;}.duplex-command{gap:10px;}.duplex-heading{display:block;}.duplex-heading>span{display:inline-block;margin-bottom:15px;}.duplex-vehicle>header{text-align:center;}.duplex-radio .radio-live-head{display:flex;}.duplex-radio .radio-live-head>span{align-self:start;}.duplex-radio .radio-live h3{font-size:14px;}.duplex-radio .radio-hit{font-size:11px;min-width:28px!important;min-height:28px;}.duplex-radio .radio-hit small{font-size:11px;}}
@media(max-width:600px){.duplex-live{padding:12px;}.motion-lab .duplex-heading h3{font-size:14px;}.duplex-heading>span{font-size:11px;}.duplex-command{display:grid;grid-template-columns:1fr;align-items:stretch;}.duplex-command>label:first-child{min-width:0;}.duplex-command .duplex-auto{min-height:30px;}.duplex-command>a{padding:0;}.duplex-command>button{width:100%;}.duplex-radio .radio-live-head{display:block;}.duplex-radio .radio-hit{font-size:11px;min-width:18px!important;min-height:22px;}.duplex-radio .radio-hit small{display:none;}.duplex-radio .radio-axis-hit{min-width:24px!important;}.duplex-channels{grid-template-columns:repeat(2,minmax(0,1fr));max-height:200px;}.duplex-vehicle .motion3d-stage{height:300px!important}.duplex-input-chips{gap:4px;}.duplex-input-chips button{font-size:11px;gap:3px!important;}.duplex-radio .radio-live h3{font-size:14px;}.duplex-command .duplex-auto{font-size:11px;}.duplex-targets button{max-width:100%;}.duplex-radio details>summary,.duplex-vehicle-options>summary{font-size:11px;}.duplex-detail>div>span{font-size:11px;}}
@media(prefers-reduced-motion:reduce){.duplex-wire{animation:none!important;}}
@media print{.duplex-wires,.duplex-command,.duplex-input-chips{display:none!important}.duplex-grid{display:block}.duplex-radio{break-inside:avoid}}

.motion-expanded .duplex-live{scroll-margin-top:20px;}.motion-expanded .duplex-heading h3{font-size:14px;margin:6px 0 10px;}.motion-expanded .duplex-state{margin:9px 0 13px;}.motion-expanded .duplex-command select{min-height:34px;}.motion-expanded .duplex-vehicle .motion3d-stage{height:clamp(250px,38vh,420px)!important}

.motion-expanded .duplex-live{scroll-margin-top:72px;}.motion-expanded .motion-heading{padding:5px 0!important;margin-bottom:5px!important;min-height:40px;}.motion-expanded .motion-heading .motion-beta{display:none;}.motion-expanded .motion-heading h3{font-size:14px;margin:4px 0!important;}
