*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{--page:#f4f5f6;--primary:#0b184c;--panel-width:40%;--dock-height:42%;--sidebar-width:32vw;--modal-width:68vw;--page-padding:24px;--card-width:none;font:14px/1.5 Inter,system-ui,sans-serif;color:#202126;background:var(--page)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button,select,input{outline-offset:3px}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,.resizer:focus-visible{outline:2px solid #1439fa}button{border:0;background:none}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}svg.icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none}.topbar{height:57px;border-bottom:1px solid #e1e3e8;display:flex;align-items:center;padding:0 24px;gap:24px;background:#fafafb}.organization{display:flex;align-items:center;gap:18px;white-space:nowrap;color:#34383f}.organization img{width:26px;height:29px;object-fit:contain}.chevron{color:#9ca3af}.app-title{position:absolute;left:33.333%;right:33.333%;height:34px;background:#f0f1f5;border-radius:10px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:16px}.app-title .icon{color:#3040ff}.top-actions{margin-left:auto;display:flex;gap:28px;align-items:center;color:#7a8196}.notification{position:relative}.notification:after{content:'3';position:absolute;right:-3px;top:-6px;background:#cb1414;border-radius:10px;color:white;font:10px Inter;padding:0 4px}.avatar{background:#047c82;color:white;border:2px solid #93d5d9;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:11px;font-weight:600}.shell{display:flex;height:calc(100% - 57px);min-height:0}.rail{width:84px;flex-shrink:0;background:#fff;border-right:1px solid #eaebef;display:flex;align-items:center;flex-direction:column;padding-top:16px}.rail button{width:48px;height:52px;display:grid;place-items:center;border-radius:12px;color:#1439fa}.rail-active{background:#f0f6ff}.rail-active .icon{background:#1439fa;color:white;padding:5px;box-sizing:content-box;border-radius:4px}.rail .rail-bottom{margin-top:auto;color:#9ca3af;background:#f5f5f5;width:100%;border-radius:0}.inbox{width:360px;flex-shrink:0;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e5e7eb;min-height:0}.inbox-tools{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid #f1f2f4;height:78px;flex-shrink:0}.search{display:flex;align-items:center;gap:8px;border:1px solid #eeeef3;border-radius:6px;padding:8px;min-width:0;flex:1;color:#7c839f}.search input{width:100%;min-width:0;border:0;background:none;color:var(--primary);outline:0}.search .icon{width:18px;height:18px}.search input::placeholder{color:#a4aac0}.count{background:#8089a5;color:white;font-size:12px;border-radius:10px;padding:0 6px}.workflow-list{overflow-y:auto;min-height:0;flex:1}.workflow-item{display:block;width:100%;text-align:left;padding:16px;border-bottom:1px solid #edeef1;color:var(--primary);min-height:110px;line-height:1.4}.workflow-item:hover{background:#fafafa}.workflow-item.selected{background:#f6f6f7;box-shadow:inset -3px 0 #1439fa,inset 0 -1px #1439fa}.workflow-item .date{font-size:12px;color:#8c93ac;margin-bottom:6px}.workflow-item .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px;font-weight:500}.workflow-item .org{font-size:12px;color:#8c93ac}.status{display:inline-block;border-radius:12px;padding:1px 7px;font-size:12px;line-height:16px;white-space:nowrap}.status.stopped{background:#e7e7e9;color:#7a7a80}.status.failed{background:#fee2e2;color:#c2410c}.status.started{background:#e5e7eb;color:#6b7280}.status.completed{background:#dcfce7;color:#15803d}.main{flex:1;min-width:0;min-height:0;overflow:auto}.page-card{height:100%;min-height:480px;display:flex;flex-direction:column;padding:var(--page-padding);max-width:var(--card-width)}.page-heading{display:flex;align-items:center;gap:10px;flex-shrink:0}.page-heading h1{font-size:24px;line-height:32px;margin:0;font-weight:700;letter-spacing:-.45px;overflow-wrap:anywhere}.subtitle{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;color:#1439fa;font-weight:500;flex-shrink:0}.subtitle>span:first-child{color:#9095a4}.tabs{display:flex;gap:32px;border-bottom:1px solid #e0e2e7;align-items:stretch;white-space:nowrap;overflow:auto;margin-top:28px;flex-shrink:0;height:55px;color:var(--primary);padding:0 8px}.tabs>span,.tabs>button{display:flex;align-items:center;padding:0 8px;font-size:14px}.tabs .active{border-bottom:3px solid #1439fa}.workflow-tools{display:flex;align-items:center;justify-content:space-between;margin:12px 0;flex-shrink:0;color:#6b7280;font-weight:500;height:30px}.workflow-tools button{border:1px solid #e1e4e9;border-radius:6px;padding:4px 12px;color:#4b5563;background:transparent}.workspace{display:flex;position:relative;flex:1;min-height:0;min-width:0;gap:16px}.graph{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;touch-action:none;cursor:grab}.graph:active{cursor:grabbing}.graph-world{position:absolute;inset:0 auto auto 0;transform-origin:0 0;width:1700px;height:2100px;will-change:transform}#edges{position:absolute;inset:0;width:1700px;height:2100px;overflow:visible;pointer-events:none}.graph-tools{position:absolute;top:16px;left:16px;z-index:5;display:flex;gap:4px}.graph-tools button{width:27px;height:27px;border-radius:4px;background:#ffffffb3;backdrop-filter:blur(8px);display:grid;place-items:center}.graph-tools .icon{width:18px;height:18px}.graph-tools button:hover{background:#ffffffe6;box-shadow:0 4px 8px #0b184c1a}.graph-attribution{position:absolute;bottom:0;right:0;font-size:9px;color:#999;background:#ffffff80;padding:2px 4px;pointer-events:none}.node{position:absolute;width:256px;background:#f9fafb;color:#374151;border:1px solid #07bc88;border-radius:8px;cursor:pointer;text-align:left;touch-action:none;user-select:none;padding:0;box-shadow:none}.node.unprocessed{border-color:#0b184c1a;opacity:.66}.node.selected{box-shadow:0 0 0 3px #002fffd3}.node-top{padding:20px;display:flex;align-items:center;gap:12px}.node-icon{width:38px;height:38px;border-radius:12px;color:white;display:grid;place-items:center;flex-shrink:0}.node-icon .icon{width:24px;height:24px;stroke-width:1.7}.node-name{color:#0b184ce6;font-weight:500;font-size:14px;white-space:nowrap}.node-index{font-size:12px;color:#0b184c80;margin-left:-6px}.node-menu{margin-left:auto;color:#0b184c4d;font-size:24px;line-height:20px}.node-description{font-size:14px;line-height:24px;color:#6b7280;padding:0 20px 20px;margin-top:12px}.node.terminal{width:100px;border-radius:80px;background:#0b184c05;border:2px solid #0b184c0d;padding:24px 16px;text-align:center;line-height:20px;color:#0b184ce6;font-weight:500}.data-panel{flex:0 0 var(--panel-width);min-width:0;min-height:0;position:relative;overflow:visible}.data-scroll{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 0 0 16px;position:relative}.data-heading{font-weight:500;color:#4b5563;margin-bottom:8px;min-height:22px;padding-right:30px}.close-data{position:sticky;float:right;top:0;z-index:10;border-radius:50%;padding:4px;color:#9ca3af;width:22px;height:22px;background:var(--page);display:grid;place-items:center}.close-data .icon{width:14px;height:14px}.close-data:hover{background:#e5e7eb;color:#4b5563}pre{font:400 14px/20px 'IBM Plex Mono',ui-monospace,monospace;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;tab-size:2;max-width:100%;color:#202126;clear:none}.output-heading{font-weight:500;color:#4b5563;margin:16px 0 8px}#no-output{color:#9ca3af;margin:0}.resizer{touch-action:none;position:absolute;z-index:15;background:transparent}.resizer:hover,.resizer:focus-visible,.resizer.dragging{background:#3b82f655}.split-resizer{right:calc(var(--panel-width) + 4px);top:0;bottom:0;width:8px;cursor:ew-resize}.dock-resizer,.sidebar-resizer{display:none}body[data-layout=stacked] .workspace{flex-direction:column;gap:0}body[data-layout=stacked] .data-panel{flex:0 0 var(--dock-height);min-height:110px}body[data-layout=stacked] .data-scroll{padding-top:16px}body[data-layout=stacked] .graph{min-height:120px}body[data-layout=stacked] .split-resizer{display:none}body[data-layout=stacked] .dock-resizer{display:block;left:0;right:0;bottom:calc(var(--dock-height) - 4px);height:8px;cursor:ns-resize}body[data-layout=modal] .data-panel{position:fixed;z-index:60;left:50%;top:50%;transform:translate(-50%,-50%);width:min(var(--modal-width),1100px);height:min(720px,calc(100dvh - 64px));max-width:calc(100vw - 32px);border:1px solid #d1d5db;border-radius:14px;background:var(--page);box-shadow:0 24px 80px #0f172a50;overflow:hidden}body[data-layout=modal] .data-scroll{padding:20px 24px 24px}.backdrop{position:fixed;inset:0;background:#0f172a66;backdrop-filter:blur(2px);z-index:50}body[data-layout=sidebar] .data-panel{position:fixed;inset:0 0 0 auto;width:clamp(280px,var(--sidebar-width),calc(100vw - 24px));height:100dvh;z-index:60;background:var(--page);border-left:1px solid #cbd5e1;box-shadow:-12px 0 32px #0f172a20}body[data-layout=sidebar] .data-scroll{padding:20px}body[data-layout=sidebar] .sidebar-resizer{display:block;top:0;bottom:0;left:calc(100vw - clamp(280px,var(--sidebar-width),calc(100vw - 24px)) - 4px);width:8px;z-index:65;cursor:ew-resize}body[data-layout=modal] .split-resizer,body[data-layout=sidebar] .split-resizer{display:none}body[data-appearance=inspector] .data-panel{background:white;border:1px solid #d9e1eb;border-radius:8px;box-shadow:0 2px 8px #0f172a06}body[data-appearance=inspector] .data-scroll{padding:0 16px 16px}body[data-appearance=inspector] .data-heading{background:#f8fafc;border-bottom:1px solid #d9e1eb;padding:12px 42px 12px 16px;margin:0 -16px 14px;font-weight:600;min-height:44px}body[data-appearance=inspector] pre{font-size:12px;line-height:21px;color:#273449}body[data-appearance=inspector] .close-data{margin-top:10px;top:10px;background:white}body[data-layout=stacked][data-appearance=inspector] .data-panel{border-radius:0;border:0;border-top:3px solid #cbd5e1;box-shadow:none}body[data-layout=sidebar][data-appearance=inspector] .data-panel{border-radius:0;box-shadow:-12px 0 32px #0f172a20}body[data-layout=modal][data-appearance=inspector] .data-panel{border-radius:14px;box-shadow:0 24px 80px #0f172a50}body.panel-closed .data-panel,body.panel-closed .resizer{display:none!important}body.panel-closed .graph{flex:1!important}.preview-tools{position:fixed;left:94px;bottom:28px;width:326px;max-width:calc(100vw - 24px);z-index:100;background:white;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 8px 26px #0002;font:13px/1.5 Inter,system-ui;color:#334155}.preview-tools summary{cursor:pointer;padding:12px 14px;background:#17243a;color:#f8fafc;border-radius:9px;user-select:none;font-weight:500}.preview-tools[open] summary{border-radius:9px 9px 0 0}.local-badge{float:right;font-size:9px;letter-spacing:.8px;line-height:20px;color:#9fb8d4}.preview-options{display:grid;gap:10px;padding:14px;max-height:calc(100dvh - 135px);overflow:auto}.preview-options label{display:flex;justify-content:space-between;align-items:center;gap:8px}.preview-options select{min-width:0;max-width:176px;font-size:12px;border:1px solid #cbd5e1;padding:6px;border-radius:5px;background:white;color:#334155}.range{display:flex;align-items:center;gap:8px}.range input{width:106px}.range output{width:34px;text-align:right;font-variant-numeric:tabular-nums}.preview-options input{accent-color:#2563eb}.preview-note,.review-status{font-size:10px;line-height:16px;color:#64748b;margin:0}.preview-buttons{display:flex;gap:8px}.preview-buttons button{border:1px solid #d8dee7;border-radius:5px;font-size:12px;padding:6px 10px;background:#f8fafc}.environment{position:fixed;bottom:0;right:32px;background:#33b94cd9;border-radius:5px 5px 0 0;color:white;padding:3px 8px;z-index:110;font-size:12px;pointer-events:none}.environment b{margin-left:5px}.no-results{padding:20px;color:#8b93a7}.list-hidden .inbox{display:none}.resize-active{user-select:none!important}.resize-active pre{user-select:none!important}@media(max-width:1100px){.inbox{width:280px}.rail{width:68px}.organization{font-size:12px;gap:10px}.app-title{left:45%;right:25%}.tabs{gap:15px}.page-heading h1{font-size:21px}.preview-tools{left:78px}.top-actions{gap:16px}}@media(max-width:760px){.inbox{display:none}.rail{width:52px}.topbar{padding:0 12px}.organization span{display:none}.app-title{left:70px;right:135px;font-size:14px}.top-actions{gap:12px}.top-actions>span:nth-child(2){display:none}.page-card{padding:16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:18px;line-height:25px}.tabs{margin-top:16px;gap:8px;height:46px}.subtitle{font-size:11px}.preview-tools{left:10px;bottom:25px;width:310px}.environment{right:8px;font-size:9px}body[data-layout=split] .workspace{gap:8px}body[data-layout=split] .data-scroll{padding-left:8px}.graph-tools{left:6px;top:6px}body[data-layout=modal] .data-panel{width:calc(100vw - 24px)}.data-scroll{scrollbar-gutter:auto}.preview-options{max-height:55dvh}}

@font-face{font-family:"MV Faseyha";src:url("assets/MVFaseyha.otf") format("opentype");font-display:swap}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}pre{font-family:"IBM Plex Mono",ui-monospace,monospace,"MV Faseyha"}

/* React Flow owns transforms, measurements, gestures and node positions. */
.workflow-node{width:256px;background:#f9fafb;color:#374151;text-align:center;border:1px solid;border-radius:8px}.workflow-node.terminal{width:max-content;padding:24px 28px;border-radius:999px;background:rgba(11,24,76,.02);font-size:14px}.react-flow__node{font-family:Inter,sans-serif}.react-flow__controls{margin:15px}.react-flow__attribution{font-size:10px}.react-flow__handle{pointer-events:none}.workflow-node .node-top{display:flex;align-items:center;padding:20px;gap:10px}.workflow-node .node-icon{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:white}.workflow-node .node-name{font-size:14px;font-weight:500}.workflow-node .node-index{font-size:12px;opacity:.5}.workflow-node .node-description{font-size:14px;line-height:24px;padding:0 20px 20px;color:#6b7280}.workflow-node .node-menu{margin-left:auto}

/* Anchor each edge at the node boundary, not a full-height invisible handle. */
.workflow-node{position:relative}.workflow-node .react-flow__handle{width:8px;height:8px;min-width:8px;min-height:8px;left:50%;right:auto;border:1px solid #d8d8d8;border-radius:50%;background:white;pointer-events:none}.workflow-node .react-flow__handle-top{top:0;transform:translate(-50%,-50%)}.workflow-node .react-flow__handle-bottom{bottom:0;top:auto;transform:translate(-50%,50%)}.workflow-node .react-flow__handle::after{display:none}
