@font-face{font-family:Diagram UI;src:url(/assets/diagram-english-regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Diagram UI;src:url(/assets/diagram-english-bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Diagram Technical;src:url(/assets/diagram-technical-medium.ttf) format("truetype");font-weight:500;font-display:swap}@font-face{font-family:Diagram Technical;src:url(/assets/diagram-technical-bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Diagram Narrow;src:url(/assets/diagram-narrow-regular.otf) format("opentype");font-weight:400;font-display:swap}@font-face{font-family:Diagram Narrow;src:url(/assets/diagram-narrow-bold.otf) format("opentype");font-weight:700;font-display:swap}:root{color:#172033;background:#e9edf3;font-family:Diagram UI,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit}.app-shell{height:100%;display:flex;flex-direction:column;background:#e9edf3}.workspace{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:12px;padding:12px}.canvas-panel,.inspector{min-height:0;border:1px solid #d2d9e4;border-radius:12px;background:#fff;box-shadow:0 2px 8px #1e2b440d;overflow:hidden}.canvas-panel{display:flex;flex-direction:column}.canvas-toolbar{height:62px;flex:0 0 62px;display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:0 16px;border-bottom:1px solid #e4e8ef}.zoom-controls{display:flex;align-items:center;height:36px;border:1px solid #d8dee8;border-radius:8px;background:#f8fafc;overflow:hidden}.zoom-controls button{width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;color:#536176;background:transparent;cursor:pointer}.zoom-controls button:hover{color:#195fd3;background:#edf4ff}.zoom-controls svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.zoom-controls output{min-width:48px;text-align:center;font-size:10px;color:#475569;font-variant-numeric:tabular-nums}.zoom-controls em{width:1px;height:20px;background:#d8dee8}.diagram-viewport{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;background-color:#eef2f6;background-image:radial-gradient(#cdd5df .8px,transparent .8px);background-size:18px 18px;scrollbar-color:#aab4c3 transparent}.diagram-stage{--zoom:1;min-width:calc(867px * var(--zoom) + 80px);min-height:calc(1071px * var(--zoom) + 80px);padding:40px;display:flex;align-items:flex-start;justify-content:center}.diagram-mount{width:calc(867px * var(--zoom));height:calc(1071px * var(--zoom));flex:0 0 auto;line-height:0;background:#fff;box-shadow:0 12px 34px #222d4024,0 1px 3px #222d4033;transition:width .18s ease,height .18s ease}#wiringDiagram{display:block;width:100%;height:100%;background:#fff}.reference-art{pointer-events:none}.vector-art{display:none}.wire-target{fill:none;stroke:transparent;stroke-width:18;stroke-linecap:round;stroke-linejoin:round;cursor:pointer;pointer-events:stroke;transition:stroke .14s,filter .14s}.wire-target:hover{stroke:#2370ef3d;stroke-width:12}.wire-target.selected{stroke:var(--wire-color,#2370ef);stroke-width:7;filter:drop-shadow(0 0 4px var(--wire-color,#2370ef));opacity:.72}.wire-target:focus-visible{stroke:#2370ef80;stroke-width:10;outline:none}.inspector{display:flex;flex-direction:column;padding:0 16px 16px}.inspector-heading,.legend-heading{display:flex;align-items:center;justify-content:space-between}.inspector-heading{height:55px;flex:0 0 55px;margin:0 -16px;padding:0 16px;border-bottom:1px solid #e5e9f0}.inspector-heading span{font-size:12px;font-weight:700}.inspector-heading b{padding:5px 8px;font-size:9px;color:#3669b3;background:#eaf2ff;border-radius:10px}.empty-state{padding:27px 12px 24px;display:flex;align-items:center;flex-direction:column;text-align:center;border-bottom:1px solid #edf0f4}.empty-icon{width:46px;height:46px;margin-bottom:12px;display:grid;place-content:center;gap:4px;border-radius:50%;background:#edf4ff}.empty-icon i{width:20px;height:2px;display:block;background:#3172da;border-radius:3px}.empty-icon i:nth-child(2){width:14px;margin-left:6px}.empty-state strong{font-size:12px;margin-bottom:6px}.empty-state span{max-width:220px;font-size:10px;line-height:1.5;color:#7c8798}.wire-detail{padding:20px 2px 18px;border-bottom:1px solid #edf0f4}.detail-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.detail-swatch{width:6px;height:39px;border-radius:4px;background:var(--selected-color)}.detail-title div{display:flex;flex-direction:column;gap:3px}.detail-title small{font-size:9px;color:#8792a2;text-transform:uppercase;letter-spacing:.08em}.detail-title strong{font-size:16px}.wire-detail dl{margin:0;display:grid;gap:10px}.wire-detail dl div{display:grid;grid-template-columns:60px 1fr;gap:8px}.wire-detail dt{font-size:9px;color:#8b95a5;text-transform:uppercase}.wire-detail dd{margin:0;font-size:10px;line-height:1.45;color:#384458}.legend-heading{padding:18px 1px 10px}.legend-heading span{font-size:11px;font-weight:700}.legend-heading small{font-size:9px;color:#919aaa}.wire-legend{min-height:0;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-right:2px}.legend-item{min-width:0;height:38px;display:grid;grid-template-columns:4px 1fr;grid-template-rows:1fr 1fr;column-gap:8px;padding:7px 8px;text-align:left;border:1px solid #e0e5ec;border-radius:7px;color:#354156;background:#fafbfd;cursor:pointer}.legend-item:hover,.legend-item.active{border-color:#8eb7f5;background:#f1f6ff}.legend-item i{grid-row:1/3;width:4px;height:22px;align-self:center;border-radius:4px;background:var(--chip)}.legend-item span{overflow:hidden;font-size:9px;font-weight:700;text-overflow:ellipsis}.legend-item small{font-size:8px;color:#8792a2}.wire-popup{position:fixed;z-index:20;width:270px;min-height:63px;display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #cfd7e3;border-radius:8px;background:#fffffff7;box-shadow:0 12px 30px #1a253737;backdrop-filter:blur(8px);animation:popup-in .14s ease-out}.popup-swatch{width:5px;height:36px;flex:0 0 5px;border-radius:4px;background:var(--selected-color)}.wire-popup div{min-width:0;display:flex;flex-direction:column;gap:5px}.wire-popup strong{font-size:11px}.wire-popup span{overflow:hidden;font-size:9px;color:#667286;white-space:nowrap;text-overflow:ellipsis}@keyframes popup-in{0%{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}.vector-art{display:block!important}.page-border,.box{fill:#fff;stroke:#111;stroke-width:2}.dash-box{fill:#fff;stroke:#111;stroke-width:2;stroke-dasharray:10 7}#wiringDiagram text{font-family:Diagram UI,Arial,sans-serif;font-size:12px;fill:#111}#wiringDiagram text.note{font-size:11px}#wiringDiagram text.module-title{font-size:11.5px}#wiringDiagram text.end{text-anchor:end}.bold{font-weight:700}.center{text-anchor:middle}.symbol,.pin-line{fill:none;stroke:#111;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.thin-symbol{fill:none;stroke:#111;stroke-width:1.5}.wire{fill:none;stroke-width:3;stroke-linecap:square;stroke-linejoin:miter}.violet{stroke:#d02ed0}.green{stroke:#42d42f}.black{stroke:#151515}.red{stroke:#d92e2e}.orange{stroke:#df8730}.gray{stroke:#aaa}.blue{stroke:#1a1cbf}.pink{stroke:#d92558}.lightgreen{stroke:#31dd31}.brown{stroke:#ac8f33}.white{stroke:#b5b5b5}.whiteblack{stroke:#a5a5a5}.wire-names{font-size:12px;paint-order:stroke;stroke:#fff;stroke-width:4;stroke-linejoin:round}.pin-overlay text{font-size:12px;paint-order:stroke;stroke:#fff;stroke-width:2.5px;stroke-linejoin:round;fill:#111}.wire.is-selected{stroke-width:4;filter:drop-shadow(0 0 2px currentColor)}.wire-target:hover,.wire-target.selected{stroke:transparent;filter:none}#wiringDiagram,#wiringDiagram *{-webkit-tap-highlight-color:transparent}#wiringDiagram text{font-family:Diagram Vector,Arial Narrow,sans-serif;font-size:12.5px;font-weight:500;letter-spacing:.05px}#wiringDiagram text.note{font-size:11.5px}#wiringDiagram text.module-title{font-size:12px}.page-border,.box,.dash-box{stroke-width:1.7}.symbol,.pin-line{stroke-width:1.8}.thin-symbol{stroke-width:1.35}.wire{stroke-width:2.35;transition:stroke-width .14s ease,filter .14s ease}.wire.is-selected{stroke-width:5.25;filter:drop-shadow(0 0 4px var(--selected-wire-shadow))}.wire-names{stroke-width:3}.pin-overlay text{stroke-width:2}.wire-target,.wire-target:focus,.wire-target:active{outline:none!important}.workspace{grid-template-columns:minmax(0,1fr)}.inspector{display:none}@media (max-width:900px){.workspace{grid-template-columns:minmax(0,1fr)}}@media (max-width:759px){html,body,#root{height:100%;min-height:100%;overflow:hidden}.app-shell{height:100dvh}.workspace{display:flex;flex-direction:column;gap:0;padding:8px}.canvas-panel{height:calc(100dvh - 16px);min-height:0}.canvas-toolbar{height:auto;min-height:58px;padding:9px 9px 9px 13px}.canvas-toolbar>div:first-child span{display:none}.zoom-controls button{width:32px}.diagram-viewport{flex:1;height:auto}.diagram-stage{padding:24px;min-width:calc(867px * var(--zoom) + 48px);min-height:calc(1071px * var(--zoom) + 48px)}.wire-target:hover{stroke:transparent}.wire-target.selected{stroke-width:9}}@media (prefers-reduced-motion:reduce){.diagram-mount,.wire-target{transition:none}.wire-popup{animation:none}}.diagram-stage{min-width:100%;min-height:100%;padding:24px;align-items:center}.diagram-mount{width:min(867px,calc(100vw - 72px),calc((100dvh - 72px)*.8095));height:auto;aspect-ratio:867/1071}@media (max-width:759px){.diagram-viewport{overflow:hidden}.diagram-stage{width:100%;min-width:100%;min-height:100%;padding:4px;align-items:center;justify-content:center}.diagram-mount{width:100%;max-width:867px;height:auto;flex:0 0 auto}}#wiringDiagram{shape-rendering:geometricPrecision;text-rendering:geometricPrecision}#wiringDiagram text{font-family:Diagram Narrow,Arial Narrow,Arial,sans-serif;font-size:13.4px;font-weight:400;letter-spacing:.05px}#wiringDiagram .bold{font-weight:700}#wiringDiagram text.note{font-size:12px}#wiringDiagram text.module-title{font-size:12.7px}#wiringDiagram .wire-names text{font-size:13px}.page-border,.box,.dash-box,.symbol,.pin-line{stroke-width:2.15}.thin-symbol{stroke-width:1.6}.wire{stroke-width:2.8}.wire-names{stroke-width:3.4}.pin-overlay text{stroke-width:2.3}.diagram-viewport{touch-action:none;cursor:grab;user-select:none}.diagram-viewport.is-panning{cursor:grabbing}.diagram-mount{transform-origin:center center;will-change:transform;transition:transform .04s linear}.diagram-viewport.is-panning .diagram-mount{transition:none}.wire.is-selected{stroke-width:4.5;filter:drop-shadow(0 0 3px var(--selected-wire-shadow))}.selection-halo,.selection-accent{display:none;fill:none;pointer-events:none;stroke-linecap:round;stroke-linejoin:round}.selection-halo.active,.selection-accent.active{display:block}.selection-halo{stroke:#60a5fa;stroke-width:13;opacity:.28;filter:drop-shadow(0 0 4px #3b82f685)}.selection-accent{stroke:#fff;stroke-width:3.4;stroke-dasharray:.1 9.5;stroke-dashoffset:0;opacity:1;filter:drop-shadow(0 0 1px #2563eb);animation:selected-dots .62s linear infinite}.selection-accent.reverse{animation-name:selected-dots-reverse}.wire-target.selected{stroke:transparent;filter:none;animation:none}@keyframes selected-dots{to{stroke-dashoffset:-9.6}}@keyframes selected-dots-reverse{to{stroke-dashoffset:9.6}}.reference-vector{display:block;pointer-events:none}.vector-art{display:none!important}
