:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--bg-subtle:#f9fafb;--hover-bg:#f3f4f6;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root:not([data-theme]){--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--bg-subtle:#1c1d24;--hover-bg:#23242c;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}:root:not([data-theme]) #social .button-icon{filter:invert()brightness(2)}}:root[data-theme=dark]{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--bg-subtle:#1c1d24;--hover-bg:#23242c;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}:root[data-theme=dark] #social .button-icon{filter:invert()brightness(2)}#root{box-sizing:border-box;flex-direction:column;width:100%;height:100vh;display:flex}html,body{height:100%;margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.ai-prompt-dialog-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.ai-prompt-dialog{background:var(--bg);border-radius:8px;flex-direction:column;gap:10px;width:800px;max-width:95vw;max-height:80vh;padding:20px 24px;display:flex;overflow-y:auto}.ai-prompt-dialog h2{color:var(--text-h);margin:0 0 8px;font-size:16px}.ai-prompt-dialog__textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--bg-subtle);width:100%;height:420px;color:var(--text-h);resize:vertical;border-radius:4px;padding:10px;font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:12px}.ai-prompt-dialog__actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.ai-prompt-dialog__actions button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:4px;padding:6px 14px}.ai-prompt-dialog__copy{border-color:var(--accent);background:var(--accent);color:#fff}.confirm-dialog-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.confirm-dialog{background:var(--bg);border-radius:8px;flex-direction:column;gap:10px;width:340px;padding:20px 24px;display:flex}.confirm-dialog h2{color:var(--text-h);margin:0;font-size:16px}.confirm-dialog p{color:var(--text);margin:0;font-size:13px}.confirm-dialog__actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.confirm-dialog__actions button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:4px;padding:6px 14px}.confirm-dialog__confirm{color:#fff;background:#dc2626;border-color:#dc2626}.login-page{background:var(--bg-subtle) url(/assets/login-background-DS6mvHRG.webp) center / cover no-repeat;justify-content:center;align-items:center;height:100vh;display:flex}.login-page__card{border:1px solid var(--border);background:var(--bg);width:320px;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;gap:8px;padding:32px;display:flex}.login-page__title{color:var(--text-h);font-size:20px}.login-page__subtitle{color:var(--text);margin:0 0 16px;font-size:13px}.login-page__label{color:var(--text);font-size:12px}.login-page__input{border:1px solid var(--border);background:var(--bg);color:var(--text-h);box-sizing:border-box;border-radius:4px;width:100%;margin-bottom:8px;padding:6px 8px;font-family:inherit;font-size:13px}.login-page__input:focus{outline:2px solid var(--accent);outline-offset:-1px}.login-page__error{color:#e5484d;font-size:12px}.login-page__submit{background:var(--accent);color:#fff;border:1px solid var(--accent);cursor:pointer;border-radius:4px;margin-top:8px;padding:8px;font-size:13px}.login-page__submit:disabled{opacity:.5;cursor:default}.login-page__divider{color:var(--text);align-items:center;gap:8px;margin:12px 0 4px;font-size:11px;display:flex}.login-page__divider:before,.login-page__divider:after{content:"";background:var(--border);flex:1;height:1px}.login-page__github{background:var(--bg);color:var(--text-h);border:1px solid var(--border);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:13px;display:flex}.login-page__github:hover{background:var(--bg-subtle)}.save-as-dialog{width:360px}.save-as-dialog__input{border:1px solid var(--border);background:var(--bg);color:var(--text-h);box-sizing:border-box;border-radius:4px;width:100%;padding:6px 8px;font-family:inherit;font-size:13px}.save-as-dialog__input:focus{outline:2px solid var(--accent);outline-offset:-1px}.save-as-dialog__save{background:var(--accent);color:#fff;border-color:var(--accent)!important}.save-as-dialog__save:disabled{opacity:.5;cursor:default}.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:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--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))}.context-menu{z-index:9999;background:var(--bg);border:1px solid var(--border);border-radius:6px;min-width:160px;padding:4px;position:fixed;box-shadow:0 4px 16px #0003}.context-menu__item{text-align:left;width:100%;color:var(--text-h);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:4px;padding:6px 12px;font-size:13px;display:block}.context-menu__item:hover:not(:disabled){background:var(--hover-bg)}.context-menu__item:disabled{opacity:.4;cursor:default}.context-menu__item--danger{color:#dc2626}.context-menu__item--danger:hover:not(:disabled){background:#dc262614}.component-node{justify-content:center;align-items:center;width:50px;height:50px;display:flex;position:relative}.component-node__stereotype{color:var(--text);white-space:nowrap;margin-bottom:-12px;font-size:8px;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.component-node__icon{color:var(--text-h);display:flex}.component-node__name{text-align:center;white-space:nowrap;margin-top:-12px;font-size:10px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.component-node--selected .component-node__icon{color:var(--accent)}.component-node__handle{cursor:crosshair;border:1px dashed #0000;border-radius:6px;inset:0;background:0 0!important;width:100%!important;height:100%!important;position:absolute!important;transform:none!important}.component-node__handle[style*=auto]{border-color:var(--accent)}.component-node__delete{border:1px solid var(--border);background:var(--bg);width:18px;height:18px;color:var(--text);cursor:pointer;z-index:10;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:12px;line-height:1;display:none;position:absolute;top:-6px;right:-6px}.component-node:hover .component-node__delete{display:flex}.component-node__delete:hover{color:#fff;background:#dc2626;border-color:#dc2626}.sticky-note-node{border-radius:2px;width:100%;min-width:30px;height:100%;min-height:10px;padding:6px;font-size:.5em;line-height:1.4;position:relative;box-shadow:2px 3px 6px #00000040}.sticky-note-node--selected{outline-offset:2px;outline:1px dashed #00000059}.sticky-note-node__text{white-space:pre-wrap;word-break:break-word;cursor:text;outline:none;width:100%;height:100%;overflow:auto}.sticky-note-node__hide{border:1px solid var(--border);background:var(--bg);width:10px;height:10px;color:var(--text);cursor:pointer;z-index:10;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:10px;line-height:1;display:none;position:absolute;top:-6px;right:-6px}.sticky-note-node:hover .sticky-note-node__hide,.sticky-note-node--selected .sticky-note-node__hide{display:flex}.sticky-note-node__hide:hover{color:#fff;background:#dc2626;border-color:#dc2626}.edit-dialog.component-edit-dialog{background:var(--bg);border-radius:6px;flex-direction:column;width:800px;max-width:95vw;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 8px 32px #00000047}.edit-dialog__header{border-bottom:1px solid var(--border);flex-shrink:0;padding:10px 14px 8px}.edit-dialog__header h2{color:var(--text-h);margin:0;font-size:13px;font-weight:600}.edit-dialog__top-row{flex-shrink:0;align-items:flex-end;gap:10px;padding:10px 14px 6px;display:flex}.edit-dialog__field{color:var(--text);flex-direction:column;gap:3px;min-width:0;font-size:11px;display:flex}.edit-dialog__field--grow{flex:1}.edit-dialog__field--sm{flex-shrink:0;width:110px}.edit-dialog__field--md{flex-shrink:0;width:150px}.edit-dialog__field input,.edit-dialog__field select{border:1px solid var(--border);background:var(--bg);color:var(--text-h);box-sizing:border-box;border-radius:3px;width:100%;padding:5px 7px;font-family:inherit;font-size:13px}.edit-dialog__tabs{border-bottom:1px solid var(--border);flex-shrink:0;gap:0;padding:0 14px;display:flex}.edit-dialog__tab{cursor:pointer;color:var(--text);white-space:nowrap;background:0 0;border:1px solid #0000;border-bottom:none;border-radius:3px 3px 0 0;margin-bottom:-1px;padding:5px 11px;font-size:12px}.edit-dialog__tab--active{border-color:var(--border);border-bottom-color:var(--bg);background:var(--bg);color:var(--text-h)}.edit-dialog__tab-content{flex-direction:column;flex:1;min-height:160px;padding:10px 14px;display:flex;overflow-y:auto}.edit-dialog__tab-content textarea{resize:none;border:1px solid var(--border);background:var(--bg);width:100%;min-height:160px;color:var(--text-h);box-sizing:border-box;border-radius:3px;flex:1;padding:7px 8px;font-family:inherit;font-size:13px}.edit-dialog__tab-content input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);box-sizing:border-box;border-radius:3px;padding:6px 8px;font-family:inherit;font-size:13px}.edit-dialog__notes-tab{flex-direction:column;flex:1;gap:8px;display:flex}.edit-dialog__sticky-note-colors{gap:16px;display:flex}.edit-dialog__sticky-note-colors label{color:var(--text);flex-direction:row;align-items:center;gap:6px;font-size:12px;display:flex}.edit-dialog__sticky-note-colors input[type=color]{border:1px solid var(--border);background:var(--bg);cursor:pointer;border-radius:3px;width:32px;height:24px;padding:0}.edit-dialog__messages-header{color:var(--text);justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;display:flex}.edit-dialog__messages-header button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:3px;padding:3px 8px;font-size:12px}.edit-dialog__messages-empty{color:var(--text);margin:0;font-size:12px}.edit-dialog__messages-list{flex-direction:column;gap:8px;display:flex;overflow-y:auto}.edit-dialog__message{border:1px solid var(--border);border-radius:5px;flex-direction:column;gap:5px;padding:8px;display:flex}.edit-dialog__message-row{gap:6px;display:flex}.edit-dialog__message-row input,.edit-dialog__message-row select{border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text-h);box-sizing:border-box;border-radius:3px;flex:1;padding:4px 7px;font-family:inherit;font-size:12px}.edit-dialog__message input,.edit-dialog__message textarea{border:1px solid var(--border);background:var(--bg);color:var(--text-h);box-sizing:border-box;border-radius:3px;width:100%;padding:4px 7px;font-family:inherit;font-size:12px}.edit-dialog__message textarea{resize:vertical;min-height:50px}.edit-dialog__message-remove{border:1px solid var(--border);background:var(--bg);width:22px;height:22px;color:var(--text);cursor:pointer;border-radius:50%;flex:none;padding:0;font-size:14px;line-height:1}.edit-dialog__message-remove:hover{color:#fff;background:#dc2626;border-color:#dc2626}.edit-dialog__bottom{border-top:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:6px;padding:8px 14px;display:flex}.edit-dialog__bottom-row{align-items:flex-end;gap:10px;display:flex}.edit-dialog__flavor-desc{color:var(--text);border-top:1px solid var(--border);padding-top:6px;font-size:11px;line-height:1.5}.edit-dialog__repo-field{color:var(--text);flex-direction:column;gap:3px;font-size:11px;display:flex}.edit-dialog__repo-field input{border:1px solid var(--border);background:var(--bg);color:var(--text-h);box-sizing:border-box;border-radius:3px;padding:5px 7px;font-family:inherit;font-size:13px}.edit-dialog__actions{border-top:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;padding:8px 14px 10px;display:flex}.edit-dialog__id{color:var(--text);opacity:.55;text-overflow:ellipsis;white-space:nowrap;flex:1;font-family:monospace;font-size:10px;overflow:hidden}.edit-dialog__actions button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:3px;padding:5px 14px;font-size:13px}.edit-dialog input,.edit-dialog select,.edit-dialog textarea{border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:4px;padding:6px 8px;font-family:inherit;font-size:13px}.edit-dialog__checkbox{cursor:pointer;align-items:center;gap:8px;font-size:13px;flex-direction:row!important}.edit-dialog__checkbox input[type=checkbox]{width:14px;height:14px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}.edit-dialog__actions button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);cursor:pointer;border-radius:4px;padding:6px 14px}.edit-dialog__save{background:var(--accent);color:#fff;border-color:var(--accent)}.edit-dialog__messages{border:1px solid var(--border);border-radius:4px;margin:0;padding:6px 12px 10px}.edit-dialog__messages legend{color:var(--text);padding:0 4px;font-size:11px}.edit-dialog__messages-list{flex-direction:column;gap:4px;max-height:120px;margin-top:4px;display:flex;overflow-y:auto}.component-palette{background:var(--bg-subtle);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;align-items:center;gap:4px;width:48px;padding:8px 0;display:flex;overflow:hidden auto}.component-palette__item{width:36px;height:36px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;display:flex}.component-palette__item svg{width:20px;height:20px}.component-palette__item:hover{background:var(--bg);color:var(--accent)}.component-palette__item:disabled{cursor:default;opacity:.4}.component-palette__item:disabled:hover{color:var(--text);background:0 0}.component-palette__separator{background:var(--border);width:28px;height:1px;margin:4px 0}.edit-dialog-backdrop{z-index:1000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.edit-dialog{background:var(--bg);border-radius:8px;flex-direction:column;gap:10px;width:800px;max-height:80vh;padding:20px 24px;display:flex;overflow-y:auto}.edit-dialog h2{color:var(--text-h);margin:0 0 8px;font-size:16px}.edit-dialog label{color:var(--text);flex-direction:column;gap:4px;font-size:12px;display:flex}.edit-dialog select{border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:4px;padding:6px 8px;font-family:inherit;font-size:13px}.edit-dialog__actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.edit-dialog__save{border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;border-radius:4px;padding:6px 14px}.settings-dialog{width:420px}.settings-dialog__history{margin-top:8px}.settings-dialog__history h3{color:var(--text-h);margin:0 0 6px;font-size:13px}.settings-dialog__error{color:#dc2626;font-size:12px}.settings-dialog__empty{color:var(--text);font-size:12px}.settings-dialog__history-list{border:1px solid var(--border);border-radius:6px;max-height:220px;margin:0;padding:0;list-style:none;overflow-y:auto}.settings-dialog__history-list li{border-bottom:1px solid var(--border);flex-direction:column;padding:8px 10px;display:flex}.settings-dialog__history-list li:last-child{border-bottom:none}.settings-dialog__history-name{color:var(--text-h);font-size:12px;font-weight:600}.settings-dialog__history-meta{color:var(--text);margin-top:2px;font-size:11px}.user-profile-menu{position:relative}.user-profile-menu__avatar{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;font-weight:600;display:flex}.user-profile-menu__dropdown{background:var(--bg);border:1px solid var(--border);z-index:1000;border-radius:8px;flex-direction:column;width:220px;display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 4px 12px #0000001a}.user-profile-menu__info{border-bottom:1px solid var(--border);padding:12px 14px}.user-profile-menu__name{color:var(--text-h);font-size:13px;font-weight:600}.user-profile-menu__email{color:var(--text);margin-top:2px;font-size:12px}.user-profile-menu__item{text-align:left;color:var(--text);cursor:pointer;background:0 0;border:none;padding:8px 14px;font-size:13px}.user-profile-menu__item:hover{background:var(--hover-bg)}.user-profile-menu__footer{border-top:1px solid var(--border);color:var(--text);opacity:.7;padding:8px 14px 10px;font-size:11px}.app{flex-direction:column;width:100%;height:100%;display:flex}.app__toolbar{border-bottom:1px solid var(--border);background:var(--bg-subtle);flex-shrink:0;align-items:center;gap:16px;padding:10px 16px;display:flex}.app__logo{margin-right:-8px}.app__title-suffix{font-size:12px;font-weight:400}.app__toolbar-right{align-items:center;gap:16px;margin-left:auto;display:flex}.app__ai-prompt-link{color:var(--accent);cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0;font-size:13px;text-decoration:underline;display:flex}.app__error{color:#dc2626;font-size:13px}.app__body{flex:1;display:flex;overflow:hidden}.app__canvas{flex:1;position:relative;overflow:hidden}
