.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:#1f2937;--muted:#6b7280;--line:#e5e7eb;--panel:#fff;--app-bg:#f8fafc;--accent:#2563eb;--accent-soft:#dbeafe;--danger:#dc2626;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);color:var(--ink);background:var(--app-bg);font-size:13px;overflow:hidden}button,input,select,textarea{font:inherit;color:inherit}.app{flex-direction:column;height:100%;display:flex}.toolbar{background:var(--panel);border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;height:52px;padding:0 14px;display:flex}.brand{white-space:nowrap;align-items:center;gap:8px;font-size:15px;font-weight:650;display:flex}.doc-name{background:0 0;border:1px solid #0000;border-radius:6px;width:220px;padding:5px 8px;font-size:14px;font-weight:500}.doc-name:hover{border-color:var(--line)}.doc-name:focus{border-color:var(--accent);background:#fff;outline:none}.save-status{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;overflow:hidden}.save-status.error{color:var(--danger)}.toolbar-group{align-items:center;gap:6px;display:flex}.toolbar-group+.toolbar-group{border-left:1px solid var(--line);padding-left:12px}.btn{border:1px solid var(--line);cursor:pointer;white-space:nowrap;background:#fff;border-radius:6px;padding:6px 11px}.btn:hover:not(:disabled){background:#f3f4f6}.btn:disabled{opacity:.4;cursor:default}.btn.icon{padding:4px 9px;font-size:15px;line-height:1.2}.btn.toggled{background:var(--accent-soft);color:#1d4ed8;border-color:#93c5fd}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:#1d4ed8}.btn.danger{color:var(--danger);border-color:#fecaca}.btn.danger:hover{background:#fef2f2!important}.btn.danger-text{color:var(--danger);border-color:#0000}.btn.wide{width:100%}.menu{position:relative}.menu-list{border:1px solid var(--line);z-index:20;background:#fff;border-radius:8px;min-width:140px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #0f172a1f}.menu-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;width:100%;padding:7px 10px;display:block}.menu-list button:hover{background:#f3f4f6}.workspace{flex:1;min-height:0;display:flex}.palette,.properties{background:var(--panel);flex-shrink:0;overflow-y:auto}.palette{border-right:1px solid var(--line);width:232px;padding:8px 10px 16px}.properties{border-left:1px solid var(--line);width:272px;padding:14px 16px}.palette h3,.properties h3{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;font-size:11px;font-weight:600}.properties h2{margin:0 0 12px;font-size:15px}.palette-search{z-index:1;background:var(--panel);margin:-8px -10px 4px;padding:10px 10px 8px;position:sticky;top:-8px}.palette-search input{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:6px 9px}.palette-search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.library{border-bottom:1px solid var(--line);margin-bottom:2px;padding-bottom:6px}.library-head{color:#374151;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;width:100%;padding:8px 2px 6px;font-size:12px;font-weight:600;display:flex}.library-head.static{cursor:default}.caret{width:10px;color:var(--muted);transition:transform .12s;display:inline-block}.caret.open{transform:rotate(90deg)}.shape-grid{grid-template-columns:repeat(4,1fr);gap:2px;display:grid}.shape-tile{cursor:grab;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;height:44px;padding:0;display:flex}.shape-tile:hover{border-color:var(--line);background:#f1f5f9}.more-shapes{margin:10px 0 4px}.connector-group-name{color:var(--muted);margin:8px 0 2px 6px;font-size:11px}.library-list{flex-direction:column;gap:2px;margin:8px 0 14px;display:flex}.library-option{cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:6px 8px;display:flex}.library-option:hover{background:#f8fafc}.library-option-name{width:150px;font-weight:500}.library-preview{display:flex;overflow:hidden}.library-preview svg{width:32px;height:24px}.connector-list{flex-direction:column;gap:2px;display:flex}.connector-item{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:8px;padding:3px 6px;font-size:12px;display:flex}.connector-item:hover{background:#f1f5f9}.connector-item.active{background:var(--accent-soft);border-color:#93c5fd}.hint{color:var(--muted);margin:0 0 8px;font-size:11.5px;line-height:1.4}.muted{color:var(--muted)}.field{flex-direction:column;gap:4px;min-width:0;margin-bottom:12px;display:flex}.field>span{color:#4b5563;font-size:11.5px;font-weight:500}.field input,.field select,.field textarea{background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:6px 8px}.field textarea{resize:vertical;line-height:1.45}.field .mono{font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.field-row{gap:8px;display:flex}.field-row>*{flex:1}.check{cursor:pointer;align-items:center;gap:7px;margin-bottom:12px;display:flex}.swatches{flex-wrap:wrap;gap:6px;display:flex}.swatch{cursor:pointer;border:1px solid #d1d5db;border-radius:50%;width:24px;height:24px;padding:0}.swatch.active{outline:2px solid var(--accent);outline-offset:2px}.panel-actions{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin-top:18px;padding-top:14px;display:flex}.tips{color:#4b5563;margin:0;padding-left:18px;line-height:1.6}.shortcuts{grid-template-columns:auto 1fr;gap:4px 12px;margin:0;display:grid}.shortcuts dt{color:#374151;font-family:ui-monospace,Consolas,monospace;font-size:11.5px}.shortcuts dd{color:var(--muted);margin:0}.canvas{flex:1;min-width:0;position:relative}.empty-hint{pointer-events:none;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:absolute;inset:0}.empty-hint strong{color:#374151;font-size:16px}.react-flow__node{color:var(--ink);font-size:12.5px}.uml-handle{border:1.5px solid var(--accent);opacity:0;background:#fff;width:9px;height:9px;transition:opacity .1s}.react-flow__node:hover .uml-handle,.react-flow__node.selected .uml-handle,.is-connecting .uml-handle{opacity:1}.uml-handle.connectingto,.uml-handle:hover{background:var(--accent)}.lifeline-handle{width:7px;height:7px;transform:translate(-50%,-50%)!important}.uml-resize-handle{border-radius:2px;border:1.5px solid var(--accent)!important;background:#fff!important;width:8px!important;height:8px!important}.uml-width-control.react-flow__resize-control.line{border-width:4px;border-color:#0000}.uml-width-control.react-flow__resize-control.line:hover{border-color:#2563eb59}.editable{white-space:pre-wrap;word-break:break-word;cursor:default}.placeholder{color:#9ca3af;font-style:italic}.inline-editor{border:1px solid var(--accent);width:100%;font:inherit;text-align:inherit;resize:none;field-sizing:content;box-shadow:0 0 0 3px var(--accent-soft);background:#fff;border-radius:3px;outline:none;margin:0;padding:1px 3px;display:block}.centered-text{text-align:center;width:100%;padding:4px 8px}.centered-text.small{padding:0 14px;font-size:11px}.stereotype{color:#4b5563;text-align:center;font-size:11px}.selection-ring{border:1.5px solid var(--accent);pointer-events:none;border-radius:3px;position:absolute;inset:-3px}.uml-class{border:1.5px solid var(--ink);background:#fff;width:100%;min-height:60px;position:relative}.cls-header{border-bottom:1.5px solid var(--ink);text-align:center;padding:6px 8px}.cls-name{font-weight:650}.cls-name.abstract{font-style:italic}.cls-section{min-height:18px;padding:4px 8px;font-size:12px;line-height:1.45}.cls-section+.cls-section{border-top:1.5px solid var(--ink)}.cls-line{white-space:pre;text-overflow:ellipsis;overflow:hidden}.uml-actor{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.actor-figure{flex:1;width:100%;min-height:0}.actor-name{text-align:center;white-space:nowrap;padding-top:2px;font-weight:500}.uml-usecase{border:1.5px solid var(--ink);background:#fff;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.uml-note{width:100%;height:100%;position:relative}.note-shape,.fill-svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.note-text{padding:8px 18px 8px 10px;font-size:12px;line-height:1.4;position:relative}.react-flow__node.react-flow__node-frame{pointer-events:none!important}.uml-frame{width:100%;height:100%;color:var(--ink);flex-direction:column;display:flex;position:relative}.uml-frame.is-selected{color:var(--accent)}.frame-grab,.uml-frame .react-flow__resize-control,.uml-frame .uml-handle{pointer-events:all}.frame-grab{cursor:move}.frame-title{color:var(--ink);font-weight:600}.frame-box{border:1.5px solid;flex-direction:column;flex:1;min-height:0;display:flex}.frame-box.frame-row{flex-direction:row}.frame-center-title{text-align:center;padding:6px 10px}.frame-divided{border-bottom:1.5px solid}.frame-state{border-radius:12px;overflow:hidden}.package-tab{background:#fff;border:1.5px solid;border-bottom:0;align-self:flex-start;min-width:90px;max-width:100%;padding:3px 10px}.package-body{border:1.5px solid;flex:1}.fragment-head{align-items:flex-start;gap:8px;display:flex}.fragment-tab{clip-path:polygon(0 0,100% 0,100% 62%,calc(100% - 10px) 100%,0 100%);border-bottom:1.5px solid;border-right:1.5px solid;min-width:56px;padding:3px 18px 3px 8px}.fragment-tab .frame-title{font-size:12px}.fragment-guard{color:var(--ink);padding-top:4px;font-size:12px}.lane-side{border-right:1.5px solid;flex-shrink:0;justify-content:center;align-items:center;width:34px;display:flex}.lane-side .frame-title{writing-mode:vertical-rl;white-space:nowrap;transform:rotate(180deg)}.node-box{position:absolute;inset:0;overflow:visible}.node-title{text-align:center;position:absolute;left:8px}.node-title .stereotype{color:#4b5563}.uml-component{border:1.5px solid var(--ink);background:#fff;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.component-icon{width:18px;height:18px;position:absolute;top:6px;right:6px}.centered-stack{text-align:center;padding:4px 24px}.component-name{font-weight:600}.uml-lifeline{flex-direction:column;align-items:center;width:100%;height:100%;display:flex;position:relative}.lifeline-head{border:1.5px solid var(--ink);background:#fff;flex-shrink:0;justify-content:center;align-items:center;width:100%;font-weight:500;display:flex}.lifeline-line{border-left:1.5px dashed var(--ink);flex:1}.uml-activity{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.initial-dot{background:var(--ink);border-radius:50%;width:100%;height:100%}.final-ring{border:1.5px solid var(--ink);background:#fff;border-radius:50%;width:100%;height:100%;padding:4px}.fork-bar{background:var(--ink);border-radius:1px;width:100%;height:100%}.uml-action{border:1.5px solid var(--ink);background:#fff;border-radius:18px;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.uml-action.is-state{border-radius:9px}.uml-text{border:1px dashed #0000;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.react-flow__node:hover .uml-text{border-color:#cbd5e1}.uml-usecase.is-selected,.uml-component.is-selected,.uml-action.is-selected,.lifeline-head.is-selected,.uml-text.is-selected{border-color:var(--accent)}.edge-label,.edge-end-label{pointer-events:none;white-space:pre;font-size:11.5px;position:absolute}.edge-label{background:#fff;border-radius:3px;padding:1px 5px}.edge-label.is-selected{color:var(--accent)}.edge-end-label{color:#374151}.react-flow__edge.selected .react-flow__edge-path{filter:drop-shadow(0 0 2px #2563eb59)}.uml-activity,.uml-symbol,.lifeline-actor{color:var(--ink)}.uml-activity.is-selected,.uml-symbol.is-selected,.lifeline-actor.is-selected{color:var(--accent)}.uml-action.is-object{border-radius:0}.signal-text{color:var(--ink);padding:4px 20px;position:relative}.history-mark{background:#fff;border:1.5px solid;border-radius:50%;font-size:13px;font-weight:700}.history-mark span{color:var(--ink)}.cls-name.object{text-decoration:underline}.lifeline-actor{flex-direction:column;flex-shrink:0;justify-content:flex-end;align-items:center;width:100%;display:flex}.lifeline-actor .actor-name{color:var(--ink)}.uml-symbol{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.uml-symbol .centered-text,.uml-symbol .centered-stack{color:var(--ink);position:relative}.symbol-boxed{background:#fff;border:1.5px solid}.symbol-label-low{padding-top:18%}.artifact-icon{width:14px;height:18px;position:absolute;top:6px;right:6px}.symbol-caption{white-space:nowrap;color:var(--ink);font-size:12px;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.symbol-port{background:#fff}.exporting .placeholder,.exporting .selection-ring{visibility:hidden}.exporting .uml-text{border-color:#0000!important}.exporting .is-selected,.exporting .is-selected *{border-color:var(--ink)!important}.exporting .uml-frame.is-selected,.exporting .uml-activity.is-selected,.exporting .uml-symbol.is-selected,.exporting .lifeline-actor.is-selected{color:var(--ink)!important}.dialog-backdrop{z-index:50;background:#0f172a59;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:12px;flex-direction:column;width:min(560px,100%);max-height:min(640px,100%);padding:18px 20px;display:flex;box-shadow:0 24px 60px #0f172a40}.dialog-head{justify-content:space-between;align-items:center;display:flex}.dialog-head h2{margin:0;font-size:17px}.diagram-list{flex:1;margin:6px -8px 12px;overflow-y:auto}.diagram-row{border-radius:8px;align-items:center;gap:8px;padding:2px 8px;display:flex}.diagram-row:hover{background:#f8fafc}.diagram-row.current .diagram-open strong:after{content:" •";color:var(--accent)}.diagram-open{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;gap:2px;padding:8px 4px;display:flex}.diagram-open strong{font-size:14px}.diagram-open .muted{font-size:12px}.dialog-foot{justify-content:flex-end;display:flex}.toast{color:#fff;z-index:60;background:#111827;border-radius:8px;padding:9px 16px;position:fixed;bottom:40px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0f172a40}.toast.error{background:var(--danger)}.react-flow__node:not(.selected):not(:hover) .cls-section .placeholder{visibility:hidden}@media (width<=1200px){.brand span,.save-status{display:none}.doc-name{width:160px}}@media (width<=1000px){.palette{width:176px}.shape-grid{grid-template-columns:repeat(3,1fr)}.properties{width:224px}.toolbar{gap:8px}.toolbar .btn{padding:6px 8px}.toolbar-group+.toolbar-group{padding-left:8px}.react-flow__minimap{display:none}}.status-stack{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.save-status.cloud-saved{color:#15803d}.save-status.cloud-changed{color:#b45309}.btn.primary:disabled{opacity:.6}.avatar-btn{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex;overflow:hidden}.avatar-btn img{object-fit:cover;width:100%;height:100%}.avatar-fallback{color:#1d4ed8;font-size:12px;font-weight:600}.menu-user{border-bottom:1px solid var(--line);flex-direction:column;gap:2px;min-width:200px;margin-bottom:4px;padding:8px 10px;font-size:12.5px;display:flex}.tabs{border-bottom:1px solid var(--line);gap:4px;margin:8px 0 4px;display:flex}.tabs button{cursor:pointer;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:7px 12px;font-weight:500}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.dialog-foot{gap:8px}.dialog-error{color:var(--danger)}.app-footer{border-top:1px solid var(--line);background:var(--panel);height:24px;color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:0 14px;font-size:11px;display:flex}.confirm-backdrop{z-index:70}.confirm-dialog{width:min(420px,100%)}.confirm-dialog p{margin:0 0 18px;font-size:14px;line-height:1.5}.btn.danger-fill{background:var(--danger);border-color:var(--danger);color:#fff}.btn.danger-fill:hover{background:#b91c1c!important}.tool-rail{z-index:15;border-right:1px solid var(--line);background:#f3f4f6;flex-direction:column;flex-shrink:0;align-items:center;gap:2px;width:48px;padding:6px 0;display:flex;position:relative}.rail-slot{position:relative}.rail-sep{background:var(--line);width:28px;height:1px;margin:3px 0}.rail-btn{color:#374151;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.rail-btn:hover{background:#e5e7eb}.rail-btn.active{color:#111827;background:#dbe3ee}.flyout{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px;position:absolute;top:0;left:46px;box-shadow:0 10px 30px #0f172a29}.flyout-menu{min-width:230px}.flyout-lines{max-height:calc(100vh - 140px);overflow-y:auto}.flyout-row{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;width:100%;padding:7px 8px;display:flex}.flyout-row:hover{background:#f3f4f6}.flyout-row.active{background:var(--accent-soft)}.flyout-row-icon{color:#374151;justify-content:center;width:40px;display:flex}.flyout-row-label{flex:1}.flyout-row kbd{color:var(--muted);background:#f3f4f6;border-radius:4px;padding:1px 6px;font:11px ui-monospace,Consolas,monospace}.flyout-sep{background:var(--line);height:1px;margin:6px -6px}.flyout-group{color:var(--muted);margin:6px 8px 2px;font-size:11px}.flyout-hint{color:var(--muted);margin:4px 8px;font-size:11.5px}.flyout-grid{grid-template-columns:repeat(4,44px);gap:4px;display:grid}.flyout-tile{cursor:grab;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;height:44px;display:flex}.flyout-tile:hover,.shape-tile:hover{background:#f1f5f9}.basic-icon{justify-content:center;align-items:center;width:40px;height:30px;display:flex}.flyout-sticky{width:300px;padding:14px 16px}.sticky-fan{justify-content:center;padding:10px 0 6px;display:flex}.sticky-card{transform-origin:50% 160%;cursor:pointer;border:0;border-radius:3px;width:34px;height:44px;margin:0 -4px;transition:translate .1s;box-shadow:0 1px 3px #0000002e}.sticky-card:hover{z-index:1;translate:0 -6px}.sticky-input{border-top:1px solid var(--line);gap:10px;margin-top:10px;padding-top:12px;display:flex}.sticky-swatch{border:1px solid #d1d5db;border-radius:3px;flex-shrink:0;width:18px;height:18px;margin-top:2px}.sticky-input-title{margin-bottom:4px;font-weight:500}.sticky-input textarea{resize:none;background:0 0;border:0;border-bottom:1px solid #d1d5db;outline:none;width:100%;padding:4px 0}.sticky-input textarea:focus{border-bottom-color:var(--accent)}.flyout-pen{width:168px;padding:10px}.pen-widths{justify-content:space-between;margin-bottom:8px;display:flex}.pen-width{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.pen-width span{background:#1f2937;border-radius:50%;flex-shrink:0}.pen-width.active{border-color:var(--accent)}.pen-colors{border:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid}.pen-color{cursor:pointer;border:0;height:18px}.pen-color.active{outline:2px solid var(--accent);outline-offset:-2px}.pen-current{color:var(--muted);align-items:center;gap:8px;margin-top:8px;font-size:11.5px;display:flex}.pen-current span{border:1px solid #d1d5db;border-radius:4px;flex-shrink:0;width:20px;height:20px}.canvas.tool-text .react-flow__pane{cursor:text}.canvas.tool-pan .react-flow__pane{cursor:grab}.draw-overlay{z-index:5;cursor:crosshair;touch-action:none;position:absolute;inset:0}.draw-overlay svg{width:100%;height:100%}.panel-toggle{align-items:center;padding:5px 7px;display:flex}.text-left{text-align:left;padding-left:20%}.uml-symbol.sticky{border:0;box-shadow:0 2px 6px #0f172a2e}.uml-symbol.sticky.is-selected{outline:2px solid var(--accent);outline-offset:2px}.sticky-text{font-size:14px;line-height:1.35}.hdivider .divider-line,.vdivider .divider-line{background:currentColor}.hdivider .divider-line{width:100%;height:1.5px}.vdivider .divider-line{width:1.5px;height:100%}.container-title{border-bottom:1.5px solid;padding:5px 10px}.uml-image{width:100%;height:100%}.uml-image img{object-fit:fill;pointer-events:none;width:100%;height:100%;display:block}.uml-image.is-selected{outline:1.5px solid var(--accent);outline-offset:2px}.uml-ink{width:100%;height:100%}.uml-ink svg{width:100%;height:100%;display:block;overflow:visible}.uml-ink.is-selected{outline:1px dashed var(--accent)}.exporting .uml-image.is-selected,.exporting .uml-ink.is-selected,.exporting .uml-symbol.sticky.is-selected{outline:none!important}.underlined{text-decoration:underline}.uml-symbol.bpmn-task{border-radius:10px}.task-marker{color:var(--ink);position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.uml-symbol.is-selected .task-marker{color:var(--accent)}.person-card{border-left-width:4px;border-radius:6px;justify-content:flex-start;gap:10px;padding:0 12px}.card-avatar{flex-shrink:0;width:36px;height:36px}.card-text{min-width:0;color:var(--ink)}.card-name{font-weight:650}.card-title{color:var(--muted);font-size:11.5px}.frame-group{border-style:dashed;border-radius:10px}.group-title{color:var(--ink);align-self:flex-start;padding:4px 10px}.uml-class.is-table .cls-line{font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:11.5px}.uml-table{width:100%;height:100%;color:var(--ink)}.uml-table table{border-collapse:collapse;table-layout:fixed;background:#fff;width:100%;height:100%}.uml-table td{border:1.5px solid var(--ink);vertical-align:middle;padding:4px 6px;font-size:12px}.uml-table.is-selected td{border-color:var(--accent)}.uml-table .table-head{background:#f3f4f6;font-weight:650}.exporting .uml-table.is-selected td{border-color:var(--ink)!important}.stepper{gap:6px;display:flex}.stepper .btn{flex:1;padding:4px 0}.uml-table td .editable{height:100%;min-height:1.4em}
