.react-flow{direction:ltr;--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: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--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: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--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 rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.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: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--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: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--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 rgba(0, 0, 0, .08);--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{position:absolute;width:100%;height:100%;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{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.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;-moz-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:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.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:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;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%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;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{position:absolute;z-index:5;margin:15px}.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{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.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{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;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))}.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{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.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-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.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))}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;padding:0}body{font-family:Arial,Malgun Gothic,맑은 고딕,sans-serif;color:#1e293b;background:#f8fafc}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.topbar{height:54px;flex:0 0 54px;display:flex;align-items:center;gap:16px;padding:0 14px;background:#fff;border-bottom:1px solid #e2e8f0;z-index:20}.app-title{flex:0 0 auto;font-size:17px;font-weight:700;color:#0f172a;white-space:nowrap}.topbar-actions{min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.topbar-actions button,.file-button{flex:0 0 auto;height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:12px;white-space:nowrap}.topbar-actions button:hover,.file-button:hover{background:#f8fafc}.file-button{display:inline-flex;align-items:center;justify-content:center}.save-status{flex:0 0 auto;margin-left:auto;color:#94a3b8;font-size:10px;white-space:nowrap}.workspace{min-height:0;flex:1 1 auto;display:flex;overflow:hidden}.canvas-area{min-width:0;min-height:0;flex:1 1 auto;position:relative;background:#f8fafc}.study-node{width:100%;height:100%;min-width:160px;min-height:90px;padding:14px;margin:0;box-shadow:0 4px 14px #0f172a14;overflow:visible;border-style:solid;box-sizing:border-box}.node-rich-text{width:100%;min-height:40px;outline:none;line-height:1.55;white-space:normal;overflow-wrap:anywhere;word-break:break-word;cursor:text;user-select:text;-webkit-user-select:text}.node-rich-text:empty:before{content:"내용을 입력하세요";color:#94a3b8}.node-image{display:block;max-width:100%;max-height:280px;margin-top:12px;object-fit:contain;border-radius:6px}.node-reference-link{display:inline-block;margin-top:10px;color:#2563eb;text-decoration:none;font-size:12px}.node-reference-link:hover{text-decoration:underline}.node-handle{width:20px!important;height:20px!important;border:2px solid #ffffff!important;background:#64748b!important;border-radius:50%;box-shadow:0 1px 4px #0f172a40}.node-handle-source{z-index:42!important}.node-handle-target{z-index:41!important;opacity:1!important;pointer-events:none!important}.study-node .react-flow__handle-top{top:-10px!important}.study-node .react-flow__handle-right{right:-10px!important}.study-node .react-flow__handle-bottom{bottom:-10px!important}.study-node .react-flow__handle-left{left:-10px!important}.node-handle:hover{transform:scale(1.25);background:#334155!important}.node-resize-line{border-color:#94a3b8}.node-resize-handle{width:10px!important;height:10px!important;background:#fff;border:2px solid #64748b}.edge-hit-area{cursor:grab;pointer-events:stroke}.edge-hit-area:active{cursor:grabbing}.edge-control-point{fill:#fff;stroke:#2563eb;stroke-width:3;cursor:grab;pointer-events:all}.edge-control-point:hover{fill:#dbeafe}.inspector{width:400px;flex:0 0 400px;height:100%;overflow-y:auto;overflow-x:hidden;background:#fff;border-left:1px solid #e2e8f0;padding-bottom:30px;z-index:10}.inspector-header{position:sticky;top:0;height:48px;display:flex;align-items:center;padding:0 16px;background:#fff;border-bottom:1px solid #e2e8f0;z-index:5}.empty-inspector{padding:30px 20px;text-align:center;color:#94a3b8;font-size:13px}.inspector-section{padding:15px 16px;border-bottom:1px solid #f1f5f9}.inspector-section h3{margin:0 0 11px;font-size:13px;font-weight:700;color:#334155}.text-toolbar{width:100%;height:36px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;overflow:visible}.toolbar-font{flex:1 1 auto;min-width:0;width:auto}.toolbar-size{flex:0 0 48px;width:48px!important}.text-toolbar>.color-button{flex:0 0 32px}.text-toolbar>.format-button,.text-toolbar>.align-button{flex:0 0 30px}.font-picker{position:relative;width:100%;min-width:0}.font-picker-button{width:100%;height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 7px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:13px;overflow:hidden}.font-picker-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-picker-arrow{flex:0 0 auto;margin-left:5px;color:#64748b;font-size:11px}.font-picker-backdrop{position:fixed;inset:0;z-index:100}.font-picker-menu{position:absolute;top:calc(100% + 5px);left:0;width:270px;max-height:360px;overflow-y:auto;padding:5px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 12px 30px #0f172a2e;z-index:110}.font-picker-option{width:100%;display:block;text-align:left;padding:9px 10px;border:none;border-radius:5px;background:transparent;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-picker-option:hover{background:#f1f5f9}.font-picker-option.active{background:#e2e8f0;font-weight:600}.text-toolbar>select{height:36px;padding:0 3px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.color-button{height:36px;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:6px;background:#fff;cursor:pointer}.color-button input{position:absolute;width:1px;height:1px;opacity:0}.color-preview{width:18px;height:18px;border-radius:4px;border:1px solid #cbd5e1}.format-button{height:36px;padding:0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-weight:700;font-size:15px}.format-button:hover{background:#f1f5f9}.format-button.active{background:#334155;color:#fff;border-color:#334155}.italic-button{font-style:italic;font-weight:600}.align-button{height:36px;padding:0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:13px}.align-button:hover{background:#f1f5f9}.align-button.active{background:#334155;color:#fff;border-color:#334155}.custom-font-row{display:flex;gap:5px;margin-top:9px}.custom-font-row input{flex:1;min-width:0;height:32px;padding:0 8px;border:1px solid #cbd5e1;border-radius:6px;font-size:12px}.custom-font-row button{height:32px;padding:0 9px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.font-load-button{width:100%;height:31px;margin-top:7px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.font-load-button:hover{background:#f8fafc}.font-status{margin:7px 0 0;font-size:10px;line-height:1.45;color:#64748b}.hint{margin:9px 0 0;font-size:11px;line-height:1.5;color:#94a3b8}.form-row{display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:10px}.form-row+.form-row{border-top:1px solid #f8fafc}.form-row label{font-size:12px;color:#64748b}.form-row input[type=number]{width:85px;height:31px;padding:0 7px;border:1px solid #cbd5e1;border-radius:6px}.form-row input[type=color]{width:42px;height:31px;padding:2px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.full-input{width:100%;height:34px;margin-bottom:7px;padding:0 9px;border:1px solid #cbd5e1;border-radius:6px;font-size:12px}.full-input:focus,.custom-font-row input:focus,.text-toolbar select:focus{outline:none;border-color:#64748b}.box-style-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;align-items:end}.box-style-row label{min-width:0;display:flex;flex-direction:column;gap:5px;color:#64748b;font-size:10px}.box-style-row input[type=color],.box-style-row select{width:100%;height:31px;padding:2px 5px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.node-id{padding:8px;border-radius:6px;background:#f8fafc;color:#94a3b8;font-family:Consolas,monospace;font-size:10px;word-break:break-all}.edge-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.edge-type-grid button{min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569;font-size:12px}.edge-type-grid button:hover{background:#f8fafc}.edge-type-grid button.active{background:#e2e8f0;border-color:#475569;color:#0f172a;font-weight:700}.edge-preview{display:block;width:55px;height:22px;position:relative}.edge-preview:before{content:"";position:absolute;left:2px;right:2px;top:50%;border-top:2px solid #475569}.smooth-preview:before{width:55px;height:16px;top:3px;border:none;border-top:2px solid #475569;border-radius:50%}.free-preview:before{width:55px;height:19px;top:0;border:none;border-top:2px solid #475569;border-radius:50% 30% 60% 40%;transform:rotate(-5deg)}.step-preview:before{width:45px;height:15px;top:2px;left:5px;border:none;border-left:2px solid #475569;border-bottom:2px solid #475569;border-right:2px solid #475569}.secondary-button,.danger-button{width:100%;height:36px;border-radius:7px;font-size:12px}.secondary-button{border:1px solid #cbd5e1;background:#fff;color:#475569}.secondary-button:hover{background:#f8fafc}.danger-button{border:1px solid #fecaca;background:#fff1f2;color:#b91c1c}.danger-button:hover{background:#ffe4e6}@media(max-width:1200px){.inspector{width:380px;flex-basis:380px}}@media(max-width:1050px){.inspector{width:360px;flex-basis:360px}.text-toolbar{gap:3px}.toolbar-size{flex-basis:44px;width:44px!important}.text-toolbar>.format-button,.text-toolbar>.align-button{flex-basis:28px}}@media(max-width:700px){.workspace{flex-direction:column}.canvas-area{min-height:55vh}.inspector{width:100%;flex-basis:45vh;max-height:45vh;border-left:none;border-top:1px solid #e2e8f0}.topbar{max-height:100px;overflow:hidden}.node-handle{width:22px!important;height:22px!important}}@media(pointer:coarse){.node-handle{width:24px!important;height:24px!important}.edge-control-point{r:10}.format-button,.align-button,.color-button{min-width:34px;min-height:38px}.text-toolbar{height:40px}.text-toolbar>select,.font-picker-button{height:38px}.text-toolbar>.format-button,.text-toolbar>.align-button{flex-basis:34px}.toolbar-size{flex-basis:46px;width:46px!important}}
