.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}:root{--ink:#14202e;--ink-2:#3e4b59;--muted:#556270;--line:#dce0da;--line-2:#c9cec8;--ground:#eef0ec;--panel:#fff;--canvas:#f8f9f6;--dot:#cdd2ca;--chrome:#14202e;--chrome-2:#1f2e40;--chrome-line:#3a4d63;--chrome-text:#d6dde4;--accent:#c2410c;--accent-soft:#fff4ec;--pass:#237032;--pass-soft:#e3f1e5;--fail:#b42318;--fail-soft:#fbe4e2;--warn:#9a5b00;--warn-soft:#fdf1d8;--info:#1c64c2;--info-soft:#e5eefb;--sans:"IBM Plex Sans", system-ui, -apple-system, sans-serif;--mono:"IBM Plex Mono", ui-monospace, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--ground);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit}.mono{font-family:var(--mono)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{border:1px solid var(--line-2);background:var(--panel);height:36px;color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;display:inline-flex}.btn:hover{border-color:var(--ink-2)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.btn.primary:hover{filter:brightness(1.06)}.btn.ghost{background:0 0;border-color:#0000}.btn.small{height:30px;padding:0 10px;font-size:12px}.btn.icon{width:36px;padding:0}.btn.danger{color:var(--fail)}.chrome .btn{background:var(--chrome-2);border-color:var(--chrome-line);color:#fff}.chrome .btn:hover{border-color:#6b8099}.chrome .btn.primary{background:var(--accent);border-color:var(--accent)}.chrome .btn.ghost{color:var(--chrome-text);background:0 0;border-color:#0000}.chrome .btn.ghost:hover{background:var(--chrome-2)}.chrome select{border:1px solid var(--chrome-line);background:var(--chrome-2);color:#fff;border-radius:6px;height:36px;padding:0 8px;font-size:13px}.field{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;display:flex}.field input,.field select,.field textarea{border:1px solid var(--line-2);height:36px;color:var(--ink);background:#fff;border-radius:6px;min-width:0;padding:0 10px;font-size:14px}.field textarea{resize:vertical;height:auto;padding:8px 10px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}.field .hint{color:var(--muted);font-size:11px}.field.inline{color:var(--ink);flex-direction:row;align-items:center;gap:10px;min-height:32px;font-size:13px}.field.inline input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.unit-input{border:1px solid var(--line-2);background:#fff;border-radius:6px;align-items:stretch;display:flex;overflow:hidden}.unit-input input{flex:1;border:0!important;outline:none!important}.unit-input span{background:var(--ground);color:var(--muted);align-items:center;padding:0 10px;font-size:12px;display:flex}.unit-input:focus-within{outline:2px solid var(--accent);outline-offset:-1px}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.section-title{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;font-size:11px;font-weight:600}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.badge.ok{background:var(--pass-soft);color:var(--pass)}.badge.error{background:var(--fail-soft);color:var(--fail)}.badge.warning{background:var(--warn-soft);color:var(--warn)}.badge.info{background:var(--info-soft);color:var(--info)}.app{flex-direction:column;height:100%;display:flex}.topbar{background:var(--chrome);color:#f3f5f2;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 12px;display:flex}.brand{color:#fff;align-items:center;gap:8px;font-size:16px;font-weight:700;text-decoration:none;display:flex}.project-name{color:#fff;background:0 0;border:1px solid #0000;border-radius:6px;min-width:120px;max-width:280px;padding:4px 8px;font-size:14px;font-weight:500}.project-name:hover,.project-name:focus{border-color:var(--chrome-line);background:var(--chrome-2);outline:none}.toolgroup{background:var(--chrome-2);border-radius:8px;gap:2px;padding:3px;display:flex}.toolgroup .btn{height:32px;color:var(--chrome-text);background:0 0;border:0}.toolgroup .btn:hover{background:#33465c}.toolgroup .btn:disabled{opacity:.35}.spacer{flex:1}.sync{color:#b9c2cc;align-items:center;gap:6px;font-size:12px;display:flex}.sync .dot{background:#7fd18b;border-radius:50%;width:8px;height:8px}.sync .dot.saving{background:#f0b44b}.sync .dot.error{background:#ff7b72}.tabs{background:var(--panel);border-bottom:1px solid var(--line);align-items:center;gap:2px;padding:0 12px;display:flex;overflow-x:auto}.tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 12px;font-size:13px;text-decoration:none}.tab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}.tab:hover{color:var(--ink)}.sheet-tabs{align-items:center;gap:2px;margin-left:auto;display:flex}.sheet-tab{border:1px solid var(--line);background:var(--ground);cursor:pointer;height:30px;color:var(--muted);border-bottom:0;border-radius:6px 6px 0 0;align-items:center;gap:4px;padding:0 10px;font-size:12px;display:flex}.sheet-tab[aria-selected=true]{background:var(--canvas);color:var(--ink);font-weight:600}.sheet-tab input{border:1px solid var(--line-2);border-radius:4px;width:120px;padding:2px 4px;font-size:12px}.workspace{flex:1;min-height:0;display:flex;position:relative}.panel{background:var(--panel);flex-direction:column;display:flex;overflow-y:auto}.panel.left{border-right:1px solid var(--line);flex:none;gap:14px;width:252px;padding:12px}.panel.right{border-left:1px solid var(--line);flex:none;gap:16px;width:340px;padding:16px}.canvas-wrap{flex:1;min-width:0;position:relative}.statusbar{background:var(--panel);border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 18px;padding:6px 12px;font-size:12px;display:flex}.statusbar button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}.statusbar .err{color:var(--fail);font-weight:600}.statusbar .warn{color:var(--warn);font-weight:600}.panel-toggle{display:none}@media (width<=1000px){.panel.left,.panel.right{z-index:20;position:absolute;top:0;bottom:0;box-shadow:0 8px 30px #14202e2e}.panel.left{left:0}.panel.right{width:min(360px,92vw);right:0}.panel.hidden-mobile{display:none}.panel-toggle{display:inline-flex}.hide-mobile{display:none!important}}.lib-search{border:1px solid var(--line);height:38px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.lib-search input{background:0 0;border:0;outline:none;flex:1;min-width:0;font-size:13px}.lib-cat{flex-direction:column;gap:6px;display:flex}.lib-cat>button{cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:4px 0;display:flex}.lib-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.lib-item{border:1px solid var(--line);background:var(--canvas);text-align:center;cursor:grab;min-height:62px;color:var(--ink);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:6px 4px;font-size:11.5px;line-height:1.2;display:flex}.lib-item:hover{border-color:var(--ink-2);background:#fff}.lib-item:active{cursor:grabbing}.lib-hint{color:var(--muted);margin:0;font-size:11px;line-height:1.4}.react-flow{--xy-background-color:var(--canvas)}.react-flow__attribution{font-size:9px}.react-flow__handle{border:2px solid #fff;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 1px #14202e73}.react-flow__handle.connectingto{box-shadow:0 0 0 3px var(--pass)}.react-flow__handle.connectingfrom{box-shadow:0 0 0 3px var(--accent)}.react-flow__handle:not(.connectionindicator){opacity:.5}.react-flow__node:hover .react-flow__handle,.react-flow__node.selected .react-flow__handle{opacity:1}.react-flow__handle-valid{box-shadow:0 0 0 3px var(--pass)!important}.react-flow__connection-path{stroke:var(--accent);stroke-width:2.5px;stroke-dasharray:6 4}.react-flow__edge.selected .wire-tag,.wire-tag.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.readonly .react-flow__handle{pointer-events:none}.part{border:1.5px solid var(--ink);text-align:center;background:#fff;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 18px;display:flex;position:relative}.react-flow__node.selected .part{outline:3px solid var(--accent);outline-offset:2px}.part .title{align-items:center;gap:6px;font-size:12.5px;font-weight:600;line-height:1.2;display:flex}.part .sub{color:var(--muted);font-size:10.5px;line-height:1.25}.part .term-label{font-size:9.5px;font-family:var(--mono);color:var(--ink-2);white-space:nowrap;pointer-events:none;line-height:1;position:absolute}.part .flag{color:#fff;min-width:20px;height:20px;font-size:11px;font-weight:700;font-family:var(--mono);border:2px solid #fff;border-radius:10px;justify-content:center;align-items:center;padding:0 5px;display:flex;position:absolute;top:-10px;right:-10px}.part .flag.error{background:var(--fail)}.part .flag.warning{background:var(--warn)}.part.bus{border-radius:3px;padding:0}.part.bus .title{letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:600;position:absolute;top:-18px;left:0}.part.panelbox{justify-content:flex-start;align-items:stretch;padding:8px 12px}.part.panelbox .title{justify-content:flex-start}.part.protect{background:#fbfbf8}.note{white-space:pre-wrap;color:#4a3f10;background:#fff8d6;border:1px solid #e8d88a;border-radius:4px;max-width:280px;padding:8px 10px;font-size:12px;line-height:1.4}.note textarea{resize:both;width:240px;min-height:60px;color:inherit;background:0 0;border:0;outline:none;font-size:12px}.wire-tag{border:1px solid var(--line-2);font-family:var(--mono);white-space:nowrap;pointer-events:all;cursor:pointer;color:var(--ink);background:#fff;border-radius:4px;padding:1px 5px;font-size:10px;line-height:14px;position:absolute;transform:translate(-50%,-50%)}.wire-tag.error{border-color:var(--fail);color:var(--fail);font-weight:600}.wire-tag.warning{border-color:var(--warn);color:var(--warn);font-weight:600}.canvas-hud{z-index:5;pointer-events:none;flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:12px;left:12px}.canvas-hud>*{pointer-events:all}.hud-card{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:6px 10px;font-size:11.5px;display:flex}.legend-swatch{vertical-align:middle;border-radius:2px;width:14px;height:3px;margin-right:5px;display:inline-block}.empty-hint{pointer-events:none;z-index:4;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.empty-hint>div{border:1px dashed var(--line-2);text-align:center;max-width:360px;color:var(--muted);background:#fff;border-radius:12px;padding:20px 24px;line-height:1.5}.toast{background:var(--ink);color:#fff;z-index:30;border-radius:8px;padding:8px 14px;font-size:13px;position:absolute;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #0003}.insp-head{flex-direction:column;gap:4px;display:flex}.insp-head h2{margin:0;font-size:18px;font-weight:600}.insp-head .meta{font-family:var(--mono);color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.insp-head .route{color:var(--muted);flex-wrap:wrap;gap:4px;font-size:12.5px;display:flex}.results{border:1px solid var(--line);background:var(--canvas);border-radius:10px;flex-direction:column;gap:9px;padding:14px;display:flex}.results .row{justify-content:space-between;gap:10px;font-size:13px;display:flex}.results .row span:first-child{color:var(--muted)}.results .row span:last-child{font-family:var(--mono);text-align:right;font-weight:600}.results .big{justify-content:space-between;align-items:baseline;display:flex}.results .big b{font-family:var(--mono);font-size:22px}.meter{background:#e3e6e1;border-radius:4px;height:8px;position:relative;overflow:hidden}.meter>div{border-radius:4px;position:absolute;inset:0 auto 0 0}.meter .limit{background:var(--ink);width:2px;position:absolute;top:-2px;bottom:-2px}.divider{background:var(--line);height:1px}.issue-list{color:var(--fail);flex-direction:column;gap:4px;margin:0;padding:0;font-size:12.5px;list-style:none;display:flex}.checks{border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:6px;padding:10px;display:flex}.checks.has-errors{background:#fff8f3;border-color:#f2c6a8}.check{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:flex-start;gap:8px;width:100%;padding:4px 2px;font-size:12px;line-height:1.4;display:flex}.check:hover{background:#14202e0a}.check .sev{color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:18px;height:18px;margin-top:1px;font-size:11px;font-weight:700;display:flex}.check .sev.error{background:var(--fail)}.check .sev.warning{background:var(--warn)}.check .sev.info{background:var(--info)}.check .body{flex-direction:column;flex:1;gap:2px;display:flex}.check .body b{color:var(--ink);font-weight:600}.check .body span{color:var(--muted)}.page{flex:1;overflow-y:auto}.page-inner{flex-direction:column;gap:24px;max-width:1240px;margin:0 auto;padding:28px 16px 56px;display:flex}.card{border:1px solid var(--line);background:#fff;border-radius:12px}.card-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:14px 18px;display:flex}.card-head h2{margin:0;font-size:17px;font-weight:600}.table-wrap{overflow-x:auto}table.data{border-collapse:collapse;width:100%;font-size:13px}table.data th{text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:9px 12px;font-size:11px;font-weight:600}table.data td{vertical-align:top;border-bottom:1px solid #eef0ec;padding:9px 12px}table.data tr.clickable{cursor:pointer}table.data tr.clickable:hover td{background:#fafbf8}table.data td.num,table.data th.num{text-align:right;font-family:var(--mono)}.swatch{vertical-align:-1px;border:1px solid #00000026;border-radius:2px;width:10px;height:10px;margin-right:6px;display:inline-block}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;gap:2px;padding:14px;display:flex}.stat b{font-family:var(--mono);font-size:24px;font-weight:600}.stat span{color:var(--muted);font-size:12px}.home-hero{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.home-hero h1{letter-spacing:-.01em;margin:0;font-size:30px}.home-hero p{color:var(--muted);max-width:640px;margin:6px 0 0;font-size:15px;line-height:1.5}.proj-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;display:grid}.proj-card{border:1px solid var(--line);color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:12px;flex-direction:column;gap:8px;padding:16px;text-decoration:none;display:flex}.proj-card:hover{border-color:var(--ink-2)}.proj-card h3{margin:0;font-size:15px;font-weight:600}.proj-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.proj-card .row{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:auto;font-size:12px;display:flex}dialog.modal{width:min(520px,100vw - 32px);color:var(--ink);border:0;border-radius:14px;padding:0;box-shadow:0 20px 60px #14202e4d}dialog.modal::backdrop{background:#14202e73}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-head h2{margin:0;font-size:17px}.modal-body{flex-direction:column;gap:14px;max-height:70vh;padding:18px 20px;display:flex;overflow-y:auto}.modal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}.menu{color:var(--ink);border:1px solid var(--line);z-index:50;background:#fff;border-radius:10px;flex-direction:column;min-width:220px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 30px #14202e2e}.menu button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;gap:12px;padding:9px 10px;font-size:13px;display:flex}.menu button:hover{background:var(--ground)}.menu button small{color:var(--muted)}.menu hr{border:0;border-top:1px solid var(--line);margin:4px 0}.rel{position:relative}.print-page{background:#fff;min-height:100%}.print-sheet{flex-direction:column;gap:16px;width:1587px;max-width:100%;margin:0 auto;padding:24px;display:flex}.print-diagram{border:1.5px solid var(--ink);height:1000px;position:relative}.title-block{border:1.5px solid var(--ink);grid-template-columns:2fr repeat(4,1fr);font-size:12px;display:grid}.title-block>div{border-left:1px solid var(--ink);flex-direction:column;gap:2px;padding:8px 10px;display:flex}.title-block>div:first-child{border-left:0}.title-block small{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:10px}.title-block b{font-size:14px}.print-toolbar{justify-content:flex-end;gap:8px;display:flex}@media print{@page{size:A3 landscape;margin:10mm}body{background:#fff}.print-toolbar,.react-flow__controls,.react-flow__minimap{display:none!important}.print-sheet{width:auto;padding:0}.print-diagram{break-after:page;height:230mm}table.data{font-size:10px}}.stepper{border:1px solid var(--line-2);border-radius:6px;align-items:stretch;gap:0;width:fit-content;display:flex;overflow:hidden}.stepper .btn{border:0;border-radius:0;height:36px;font-size:16px}.stepper input{text-align:center;width:56px;font-family:var(--mono);-moz-appearance:textfield;border:0!important;border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important;border-radius:0!important}.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}table.mini{border-collapse:collapse;width:100%;font-size:12px}table.mini th{text-align:left;color:var(--muted);padding:2px 4px;font-size:11px;font-weight:600}table.mini td{padding:2px 3px}table.mini td:first-child{white-space:nowrap;color:var(--muted)}table.mini input,table.mini select{border:1px solid var(--line-2);background:#fff;border-radius:5px;width:100%;min-width:0;height:30px;padding:0 6px;font-size:12px}table.mini input:focus,table.mini select:focus{outline:2px solid var(--accent);outline-offset:-1px}
