.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:#16181d;--ink-2:#3d4552;--muted:#5b6472;--line:#d9dce3;--line-soft:#e3e6eb;--line-faint:#eef0f4;--surface:#fff;--canvas:#f4f5f7;--dot:#d5d8df;--edge:#8a93a3;--accent:#2f54eb;--accent-soft:#d6e0ff;--accent-bg:#f3f6ff;--ok:#1a7f45;--ok-soft:#d5f0df;--warn:#9a5b00;--warn-dot:#c77700;--warn-soft:#fbe7c2;--people:#b4235a;--people-soft:#fbdce8;--people-bg:#fff6f9;--logic-bg:#eceef2;--logic-fg:#3d4552;--ai-bg:#ece6fd;--ai-fg:#5b34d6;--ui-bg:#ddf3ef;--ui-fg:#0a6f62;--mono:ui-monospace, SFMono-Regular, Menlo, monospace}*{box-sizing:border-box}html,body,#root{height:100%}body{color:var(--ink);background:var(--canvas);margin:0;font-family:Inter,system-ui,sans-serif;font-size:13px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.i{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.i.sm{width:11px;height:11px}.app{flex-direction:column;height:100%;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px;display:flex}.brand{margin-right:8px;font-size:14px;font-weight:700}.tabs{flex-wrap:wrap;align-items:center;gap:2px;min-width:0;display:flex}.tab{height:32px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;max-width:220px;padding:0 12px;font-size:13px;display:inline-flex}.tab span.tab-name{text-overflow:ellipsis;overflow:hidden}.tab:hover{background:var(--line-faint)}.tab.on{background:var(--line-faint);color:var(--ink);font-weight:500}.tab-close{color:var(--muted);background:0 0;border:0;border-radius:4px;padding:0 2px;font-size:14px;line-height:1}.tab-close:hover{color:var(--ink);background:var(--line)}.topbar-right{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.saved{color:var(--muted);font-size:12px}.btn{border:1px solid var(--line);background:var(--surface);height:32px;color:var(--ink);white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:0 12px;font-size:13px;display:inline-flex}.btn:hover{border-color:var(--edge)}.btn.pri{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:500}.btn.pri:hover{background:#2445c9}.btn.pri[disabled]{background:var(--line);border-color:var(--line);color:var(--muted);cursor:default}.btn.sm{height:26px;padding:0 8px;font-size:12px}.btn.lg{justify-content:center;height:40px}.btn.running{border-color:var(--accent);color:var(--accent);font-weight:500}.btn.danger{color:var(--people)}.btn.ghost{color:var(--muted);background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--line-faint);color:var(--ink)}.badge{color:var(--accent);background:#fff;border-radius:9px;padding:0 6px;font-size:11px;font-weight:600;line-height:18px}.icon-btn{color:var(--muted);background:0 0;border:0;border-radius:5px;padding:4px;font-size:18px;line-height:1}.icon-btn:hover{background:var(--line-faint);color:var(--ink)}.dot{background:var(--edge);border-radius:50%;flex:none;width:7px;height:7px}.dot.ok{background:var(--ok)}.dot.warn{background:var(--warn-dot)}.ring{border:2px solid #c7d3ff;border-top-color:var(--accent);border-radius:50%;flex:none;width:10px;height:10px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.ring{animation:none}}.workspace{flex:1;min-height:0;display:flex}.canvas-wrap{background:var(--canvas);flex:1;min-width:0;position:relative}.crumbs{z-index:5;align-items:center;gap:6px;font-size:13px;display:flex;position:absolute;top:12px;left:20px}.crumbs .here{font-weight:500}.crumbs .sep,.crumbs .meta{color:var(--muted)}.crumbs a{color:var(--muted);cursor:pointer;text-decoration:none}.crumbs a:hover{color:var(--ink)}.addbar{z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:10px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.addbar .add-label{color:var(--muted);padding:0 8px;font-size:12px}.tb{height:30px;color:var(--ink);white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:inline-flex}.tb:hover{background:var(--line-faint)}.sq{background:#6b7483;border-radius:2px;width:8px;height:8px}.sq.ai{background:#6d4ae0}.sq.ui{background:#0e8f7e}.sq.people{background:var(--people)}.empty{text-align:center;color:var(--muted);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.empty h2{color:var(--ink);font-size:16px;font-weight:600}.empty p{max-width:360px;line-height:1.5}.node{background:var(--surface);border:1px solid var(--line);text-align:left;border-radius:10px;flex-direction:column;width:220px;min-height:104px;padding:10px 12px;display:flex}.node.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.node.hl-changed{border-color:var(--warn-dot);box-shadow:0 0 0 3px var(--warn-soft)}.node.hl-building{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.node.hl-built{border-color:var(--ok);box-shadow:0 0 0 3px var(--ok-soft)}.node.hl-needs{border-color:var(--people);box-shadow:0 0 0 3px var(--people-soft)}.node.is-draft,.node.is-new{border-style:dashed}.node-type{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.tile{background:var(--logic-bg);width:20px;height:20px;color:var(--logic-fg);border-radius:5px;flex:none;justify-content:center;align-items:center;display:flex}.tile.sm{border-radius:4px;width:16px;height:16px}.tile.ai{background:var(--ai-bg);color:var(--ai-fg)}.tile.ui{background:var(--ui-bg);color:var(--ui-fg)}.tile.people{background:var(--people-soft);color:var(--people)}.status{white-space:nowrap;align-items:center;gap:4px;margin-left:auto;font-size:11px;font-weight:500;display:inline-flex}.status.s-draft,.status.s-queued{color:var(--muted)}.status.s-new,.status.s-building{color:var(--accent)}.status.s-changed{color:var(--warn)}.status.s-needs_you{color:var(--people)}.status.s-built{color:var(--ok)}.node-title{text-overflow:ellipsis;white-space:nowrap;margin:8px 0 2px;font-size:14px;font-weight:600;overflow:hidden}.node-title.untitled{color:var(--muted);font-weight:500}.node-sum{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.node-foot{gap:4px;margin-top:auto;padding-top:8px;display:flex}.ct{height:22px;color:var(--muted);background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;margin-left:-5px;padding:0 5px;font-size:12px;display:inline-flex}.ct:hover{background:var(--line-faint);color:var(--ink)}.node-body{flex-direction:column;flex:auto;min-height:0;display:flex}.node.sized{width:100%;height:100%;min-height:0}.node.sized .node-body{overflow:hidden}.node.sized .node-type,.node.sized .node-title,.node.sized .node-foot{flex:none}.node.sized .node-sum{-webkit-line-clamp:none;flex:0 auto;min-height:0;display:block;overflow:hidden}.node-spec{flex:1 1 0;min-height:0;margin-top:8px;overflow:hidden}.node-spec-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-top:8px;font-size:10px}.node-spec-label:first-child{margin-top:0}.node-spec-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.react-flow__resize-control.resize-grip{transform-origin:100% 100%;cursor:nwse-resize;width:14px;height:14px;color:var(--muted);z-index:2;opacity:0;justify-content:center;align-items:center;margin:0;padding:0;transition:opacity .15s;display:flex;translate:calc(-100% - 2px) calc(-100% - 2px)}.resize-grip>div{justify-content:center;align-items:center;width:14px;height:14px;display:flex}.node:hover .resize-grip,.node.selected .resize-grip{opacity:1}.canvas-wrap.connecting .resize-grip{display:none}.react-flow{background:var(--canvas);--xy-edge-stroke:var(--edge);--xy-edge-stroke-selected:var(--accent)}.react-flow__node{box-shadow:none;color:var(--ink);background:0 0;border:0;border-radius:10px;width:auto;padding:0;font-size:13px}.react-flow__node.selected,.react-flow__node:focus,.react-flow__node:focus-visible{box-shadow:none;outline:none}.react-flow__handle{background:var(--surface);border:1.5px solid var(--edge);opacity:0;width:9px;height:9px;transition:opacity .12s}.react-flow__node:hover .react-flow__handle,.react-flow__handle.connectingfrom,.react-flow__handle.connectingto,.node.selected .react-flow__handle.src{opacity:1}.react-flow__handle.src{z-index:2;cursor:crosshair}.react-flow__handle.src:after{content:"";border-radius:50%;position:absolute;inset:-9px}.react-flow__handle.src:hover{border-color:var(--accent);background:var(--accent-soft)}.react-flow__handle.card-drop{pointer-events:none;z-index:1;background:0 0;border:0;border-radius:10px;width:100%;height:100%;margin:0;padding:0;top:0;left:0;transform:none}.react-flow__node:hover .react-flow__handle.card-drop{opacity:0}.react-flow__handle.card-drop.active{pointer-events:all}.react-flow__handle.card-drop.active.valid{opacity:1;box-shadow:0 0 0 3px var(--accent-soft);outline:1px solid var(--accent)}.react-flow__edge-path{stroke:var(--edge);stroke-width:1.5px}.react-flow__edge:hover .react-flow__edge-path{stroke:var(--ink-2);stroke-width:2px}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selected:hover .react-flow__edge-path{stroke:var(--accent);stroke-width:2.5px}.react-flow__edgeupdater{cursor:grab;fill:#0000}.react-flow__edgeupdater:hover{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.5px;fill-opacity:.7}.canvas-wrap.connecting .react-flow__edge,.canvas-wrap.connecting .react-flow__edgeupdater,.canvas-wrap.connecting .edge-mid{pointer-events:none}.react-flow__handle.anchor{pointer-events:none;background:0 0;border:0;width:1px;min-width:0;height:1px;min-height:0}.react-flow__node:hover .react-flow__handle.anchor{opacity:0}.edge-mid{pointer-events:all;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute}.edge-mid.on-top{z-index:2001}.edge-label{color:var(--muted);background:var(--canvas);cursor:text;padding:0 4px;font-size:11px}.edge-tools{background:var(--surface);border:1px solid var(--line);border-radius:7px;gap:2px;padding:2px;display:flex;box-shadow:0 4px 12px #16181d1a}.edge-tool{height:24px;color:var(--ink);white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:0 8px;font-size:12px}.edge-tool:hover{background:var(--line-faint)}.edge-tool.danger{color:var(--people)}.edge-label input{border:1px solid var(--accent);background:var(--surface);border-radius:4px;width:90px;height:20px;padding:0 4px;font-size:11px}.react-flow__attribution{display:none}.react-flow__controls{box-shadow:none;border:1px solid var(--line);border-radius:8px;overflow:hidden}.react-flow__controls-button{border-bottom-color:var(--line-soft)}.panel{background:var(--surface);border-left:1px solid var(--line-soft);flex-direction:column;flex:0 0 400px;width:400px;min-height:0;display:flex}.panel-scroll{flex:1;min-height:0;padding:16px 20px 24px;overflow-y:auto}.panel-head{align-items:center;gap:8px;display:flex}.panel-head .icon-btn{margin-left:auto}.panel-title{margin:12px 0 2px;font-size:20px;font-weight:600}.panel-h{font-size:18px;font-weight:600}.panel-sub{color:var(--muted);margin-top:4px;line-height:1.5}.status-line{font-size:11px;font-weight:500}.itabs{border-bottom:1px solid var(--line-soft);margin-top:12px;display:flex}.it{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;margin-right:18px;padding:10px 0;font-size:13px}.it:hover{color:var(--ink)}.it.on{color:var(--ink);border-bottom-color:var(--accent);font-weight:500}.lb{color:var(--muted);margin:18px 0 5px;font-size:11px;font-weight:500;display:block}.vl{font-size:13px;line-height:1.5}.muted{color:var(--muted)}.panel-foot{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px;padding-top:14px;display:flex}.field{resize:none;background:0 0;border:1px solid #0000;border-radius:6px;width:calc(100% + 16px);margin:0 -8px;padding:5px 7px;font-size:13px;line-height:1.5;display:block;overflow:hidden}.field::placeholder{color:#8a93a3}.field:hover{border-color:var(--line)}.field:focus{border-color:var(--accent);background:var(--surface);outline:none}.field.mono{font-family:var(--mono);background:var(--canvas);width:100%;margin:0;padding:8px 10px;font-size:12px;line-height:1.6}.field.title{margin-top:10px;font-size:20px;font-weight:600}.field.sub{color:var(--muted)}.field[readonly]{cursor:default}.field[readonly]:hover{border-color:#0000}.input{border:1px solid var(--line);background:var(--surface);border-radius:7px;width:100%;height:36px;padding:0 10px;font-size:13px}textarea.input{resize:vertical;height:auto;padding:8px 10px;line-height:1.5}.input:focus{border-color:var(--accent);outline:none}select.input{appearance:auto}.check{align-items:center;gap:8px;margin-top:14px;font-size:13px;display:flex}.pop{z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:240px;padding:6px;position:absolute;box-shadow:0 8px 24px #16181d1f}.pop-anchor{display:inline-flex;position:relative}.pop-anchor>.pop{top:calc(100% + 6px);left:0}.pop-anchor.right>.pop{left:auto;right:0}.pop.pad{width:320px;padding:14px}.pop.pad>*+*{margin-top:10px}.pop-item{text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:13px;display:flex}.pop-item:hover{background:var(--line-faint)}.pop-item small{color:var(--muted);font-size:11px;display:block}.pop-sep{background:var(--line-soft);height:1px;margin:6px 0}.pop-label{color:var(--muted);padding:6px 10px 4px;font-size:11px;font-weight:500}.backdrop{z-index:40;background:#16181d59;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:12px;width:100%;max-width:440px;padding:20px}.dialog h2{font-size:18px;font-weight:600}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.home{max-width:560px;margin:80px auto;padding:0 16px}.home h1{margin-bottom:16px;font-size:22px;font-weight:600}.home-list{flex-direction:column;gap:6px;margin-top:16px;display:flex}.home-item{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;width:100%;padding:12px 14px;font-size:14px;font-weight:500;display:flex}.home-item:hover{border-color:var(--edge)}.home-item small{color:var(--muted);margin-left:auto;font-size:12px;font-weight:400}.opt{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;margin-bottom:6px;padding:9px 12px;font-size:13px;display:flex}.opt small{color:var(--muted);margin-left:auto;font-size:11px}.row{border-bottom:1px solid var(--line-faint);gap:10px;padding:8px 0;font-size:13px;line-height:1.45;display:flex}.row .tag{color:var(--muted);flex:0 0 64px;padding-top:2px;font-size:11px;font-weight:500}.row button.link{text-align:left;background:0 0;border:0;padding:0;font-weight:500}.row button.link:hover{color:var(--accent)}.ev{border-bottom:1px solid var(--line-faint);gap:10px;padding:10px 0;font-size:13px;line-height:1.45;display:flex}.ev .tm{color:var(--muted);flex:0 0 40px;padding-top:2px;font-size:11px}.question{border:1px solid var(--people);background:var(--people-bg);border-radius:8px;margin-top:16px;padding:12px}.question .q-label{color:var(--people);font-size:11px;font-weight:600}.question .q-body{margin-top:4px;line-height:1.5}.question .input{margin-top:10px}.question .q-actions{gap:8px;margin-top:8px;display:flex}.notice{background:var(--canvas);color:var(--ink-2);border-radius:8px;margin-top:12px;padding:10px 12px;line-height:1.5}.notice.warn{background:var(--warn-soft);color:#5c3600}.code-block{font-family:var(--mono);background:var(--canvas);white-space:pre-wrap;word-break:break-all;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.6}.mock{border:1px solid var(--line);cursor:crosshair;background:#fafbfc;border-radius:8px;margin-bottom:6px;position:relative;overflow:hidden}.mock img{width:100%;height:auto;display:block}.mock-cap{color:var(--muted);align-items:center;gap:8px;margin-bottom:14px;font-size:12px;display:flex}.mock-cap .btn{margin-left:auto}.pin{background:var(--accent);color:#fff;border:0;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;margin:-10px 0 0 -10px;font-size:11px;font-weight:600;display:flex;position:absolute}.pin-num{color:var(--accent);margin-right:4px;font-weight:600}.thumbs{flex-wrap:wrap;gap:8px;display:flex}.thumb{text-align:left;background:0 0;border:0;width:108px;padding:0}.thumb img{object-fit:cover;border:1px solid var(--line);opacity:.7;border-radius:6px;width:108px;height:66px;display:block}.thumb small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.drop{border:1px dashed var(--edge);width:100%;min-height:56px;color:var(--ink-2);background:0 0;border-radius:8px;justify-content:center;align-items:center;margin-top:18px;padding:8px;font-size:13px;display:flex}.drop:hover,.drop.over{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}.lightbox{z-index:50;background:#16181dcc;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.lightbox img{background:#fff;border-radius:8px;max-width:100%;max-height:100%}.cm{border-bottom:1px solid var(--line-faint);padding:10px 0}.cm-head{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.cm-head b{color:var(--ink);font-size:12px;font-weight:600}.cm-head .btn{margin-left:auto}.cm-body{white-space:pre-wrap;margin-top:4px;line-height:1.5}.cm.resolved .cm-body{color:var(--muted);text-decoration:line-through}.cm-tag{color:var(--warn);font-size:11px;font-weight:500}.cm-new{flex-direction:column;gap:8px;margin-top:14px;display:flex}.share-bar{background:var(--accent-bg);border-bottom:1px solid var(--accent-soft);color:var(--ink-2);align-items:center;gap:8px;padding:6px 16px;font-size:12px;display:flex}@media (width<=760px){.workspace{flex-direction:column}.panel{border-left:0;border-top:1px solid var(--line-soft);flex:0 0 55%;width:100%}.addbar{max-width:calc(100% - 24px);overflow-x:auto}}
