:root{--background: #F7F7F7;--surface: #FFFFFF;--borders: #E7E7E7;--border-secondary: #E7E5E4;--shadow-surface: 0 4px 3px -3px #00000014, 0 1px 5px 1px #0000000d, 0 1px 6px -1px #0000000a;--text-primary: #202124;--text-secondary: #6B7280;--text-muted: #9CA3AF;--text-disabled: #D1D5DB;--primary-accent: #1c1917;--accent-muted: #F5F5F5;--hover-fill: #F3F4F6;--radius-button: 8px;--radius-input: 8px;--radius-card: 12px;--radius-panel: 12px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-6: 24px;--space-8: 32px;--font-headings: "Lora", serif;--font-ui: "Sora", "Inter", system-ui, -apple-system, sans-serif;--success-pastel: #eefdf4;--success-text: #15803d;--error-pastel: #fef2f2;--error-text: #b91c1c}body{background-color:var(--background)!important;color:var(--text-primary)!important;font-family:var(--font-ui)!important;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.MuiBox-root[style*=background-color],.MuiBox-root[component=main]{background-color:var(--background)!important}.MuiDrawer-root .MuiDrawer-paper{background-color:var(--background)!important;border-right:1px solid var(--borders)!important;box-shadow:none!important;transition:width .2s ease-out!important}.MuiListItem-root{background-color:transparent!important}.MuiListItemButton-root{margin:var(--space-1) var(--space-2)!important;border-radius:var(--radius-button)!important;transition:all .15s ease-out!important;padding:var(--space-2) var(--space-3)!important}.MuiListItemButton-root:hover{background-color:#f0f0ee!important}.MuiListItemIcon-root{color:var(--text-muted)!important;min-width:32px!important;transition:color .15s ease-out!important}.MuiListItemText-primary{font-size:13px!important;font-weight:500!important;color:inherit!important;font-family:var(--font-ui)!important}.MuiAppBar-root{background-color:#f8f8f7cc!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--text-primary)!important;box-shadow:none!important;border-bottom:1px solid var(--borders)!important}.MuiCard-root,.MuiPaper-rounded,.MuiPaper-elevation1,.MuiPaper-root{background-color:var(--surface)!important;border:1px solid var(--borders)!important;border-radius:var(--radius-card)!important;box-shadow:none!important}.MuiDialog-paper{border-radius:var(--radius-panel)!important;box-shadow:0 4px 20px #00000008!important}.MuiButton-root{text-transform:none!important;border-radius:var(--radius-button)!important;font-weight:500!important;font-size:13px!important;padding:0 12px!important;height:32px!important;font-family:var(--font-ui)!important;box-shadow:none!important;transition:all .15s ease-out!important}.MuiButton-containedPrimary{background-color:var(--primary-accent)!important;color:#fff!important;border:1px solid var(--primary-accent)!important}.MuiButton-containedPrimary:hover{background-color:#44403c!important;box-shadow:none!important}.MuiButton-outlined{background-color:var(--surface)!important;border:1px solid var(--borders)!important;color:var(--text-primary)!important}.MuiButton-outlined:hover{background-color:#f8f8f7!important;border-color:var(--borders)!important}.MuiButton-text{color:var(--text-secondary)!important}.MuiButton-text:hover{background-color:#f0f0ee!important;color:var(--text-primary)!important}.MuiButton-root.Mui-disabled{opacity:.6!important;cursor:not-allowed!important;background-color:#f5f5f5!important;color:#a6a6a6!important;border-color:#e0e0e0!important}.MuiOutlinedInput-root{border-radius:var(--radius-input)!important;background-color:var(--surface)!important;font-family:var(--font-ui)!important;font-size:13px!important;transition:all .15s ease-out!important}.MuiOutlinedInput-notchedOutline{border-color:var(--borders)!important;border-width:1px!important}.MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline{border-color:var(--text-muted)!important}.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:var(--primary-accent)!important;border-width:1px!important;box-shadow:0 0 0 2px var(--accent-muted)!important}.MuiTableContainer-root{border:1px solid var(--borders)!important;border-radius:var(--radius-card)!important;box-shadow:none!important;background-color:var(--surface)!important}.MuiTable-root{background-color:var(--surface)!important}.MuiTableCell-root{border-bottom:1px solid var(--borders)!important;padding:8px 16px!important;color:var(--text-primary)!important;font-family:var(--font-ui)!important;font-size:13px!important;height:40px!important}.MuiTableCell-head{background-color:#fafafa!important;color:var(--text-secondary)!important;font-weight:500!important;font-size:12px!important;border-bottom:1px solid var(--borders)!important}h1,h2,h3,h4,h5,h6,.MuiTypography-h1,.MuiTypography-h2,.MuiTypography-h3,.MuiTypography-h4,.MuiTypography-h5,.MuiTypography-h6{color:var(--text-primary)!important;font-weight:600!important;letter-spacing:-.01em!important;font-family:var(--font-headings)!important;line-height:1.4!important}.MuiTypography-h4{font-size:24px!important}.MuiTypography-h6{font-size:16px!important;font-weight:500!important}.MuiTypography-body1{font-family:var(--font-ui)!important;font-size:14px!important;color:var(--text-primary)!important;line-height:1.5!important}.MuiTypography-body2{font-family:var(--font-ui)!important;font-size:13px!important;color:var(--text-secondary)!important;line-height:1.5!important}.MuiTypography-subtitle2,.MuiFormLabel-root,.MuiInputLabel-root{font-family:var(--font-ui)!important;font-weight:500!important;font-size:12px!important;color:var(--text-secondary)!important}.MuiChip-root{border-radius:6px!important;font-weight:500!important;font-family:var(--font-ui)!important;font-size:12px!important;height:24px!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--background)}::-webkit-scrollbar-thumb{background:var(--borders);border-radius:10px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.workspace-card{background:#fff;border:1px solid var(--border-secondary);border-radius:calc(.625rem + 4px);box-shadow:var(--shadow-surface);overflow:hidden}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.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 .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation: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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;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:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@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}.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-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.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:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.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{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.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:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform: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:#3367d9;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%}.node{border-radius:12px;border:1px solid #E1D4C8;background:#fff;font-family:Inter,sans-serif;box-shadow:0 4px 12px #0000000d;width:240px;overflow:hidden}.node-heading{padding:12px 16px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;color:#2f2f2f;background-color:#f8f6f2;border-bottom:1px solid #E1D4C8}.node-body{padding:12px 16px;font-size:13px;color:#44403c;background-color:#fff}.node.input .node-heading{background-color:#eef2ff;color:#4338ca}.node.start .node-heading{background-color:#d1fae5;color:#047857}.node.logic .node-heading{background-color:#dbeafe;color:#2563eb}.node.decision .node-heading{background-color:#fef3c7;color:#b45309}.node.end .node-heading{background-color:#fee2e2;color:#b91c1c}.node.selected{border:2px solid #6366f1;box-shadow:0 0 0 3px #6366f133}
