.workflow-graph-editor[data-mode]{position:relative;display:block;outline:none;--wgc-ink:#293144;--wgc-muted:#627087;--wgc-border:#e0e3ec}.workflow-graph-editor .workflow-graph-stage{background-color:#f7f8fb}.workflow-canvas-workspace{position:relative;width:100%;height:100%;min-height:0;overflow:hidden}.workflow-canvas-breadcrumb{position:absolute;z-index:24;top:12px;left:12px;display:flex;align-items:center;gap:10px;padding:5px 10px;border:1px solid #e0e3ec;border-radius:6px;background:#fff;color:#526178;font-size:12px}.workflow-canvas-breadcrumb button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#5144c6;cursor:pointer}.workflow-canvas-breadcrumb svg,.workflow-canvas-subgraph-hint svg{width:14px;height:14px}.workflow-canvas-subgraph-hint{position:absolute;top:12px;right:12px;display:flex;gap:5px;align-items:center;color:#626f85;font-size:11px;pointer-events:none}.workflow-graph-editor .workflow-graph-palette{position:absolute;z-index:25;bottom:76px;left:16px;display:flex;width:min(300px,calc(100% - 32px));max-height:calc(100% - 100px);flex-direction:column;border:1px solid var(--wgc-border);border-radius:10px;background:#fff;box-shadow:0 12px 32px rgb(35 43 65/12%)}.workflow-graph-editor .workflow-graph-palette-list{min-height:0;overflow-y:auto}.workflow-graph-editor .workflow-graph-palette-list button strong{font-size:12px}.workflow-graph-editor .workflow-graph-palette-list button small{font-size:11px}.workflow-graph-editor .workflow-graph-toolbar{position:absolute;z-index:20;top:auto;right:auto;bottom:18px;left:50%;display:flex;width:-moz-max-content;width:max-content;max-width:calc(100% - 28px);align-items:center;gap:3px;overflow-x:auto;border:1px solid var(--wgc-border);border-radius:10px;background:#fff;padding:5px;box-shadow:0 4px 14px rgb(35 43 65/9%);transform:translateX(-50%);scrollbar-width:thin}.workflow-graph-editor .workflow-graph-toolbar button{display:inline-flex;width:auto;height:32px;min-width:32px;flex-shrink:0;align-items:center;justify-content:center;gap:6px;border:0;border-radius:6px;background:transparent;padding:0 8px;color:#59647a;font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap}.workflow-graph-editor .workflow-graph-toolbar button:hover:not(:disabled),.workflow-graph-editor .workflow-graph-toolbar button[aria-pressed=true]{background:#f0efff;color:#5144c6}.workflow-graph-editor .workflow-graph-toolbar button:disabled{opacity:.4;cursor:not-allowed}.workflow-graph-editor .workflow-graph-toolbar button.workflow-graph-add{background:#efedff;color:#5144c6;padding-inline:12px}.workflow-graph-editor .workflow-graph-toolbar button.workflow-graph-run{background:#168454;color:#fff;padding-inline:14px}.workflow-graph-editor .workflow-graph-toolbar button.workflow-graph-run:hover:not(:disabled){background:#126c45}.workflow-graph-gesture{display:flex;padding:0 5px;color:#68748a}.workflow-graph-gesture svg{width:15px;height:15px}.workflow-graph-zoom select{height:28px;border:1px solid #e0e3ec;border-radius:5px;background:#fff;padding:0 3px;color:#59647a;font-size:12px}.workflow-graph-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workflow-graph-editor button:focus-visible,.workflow-graph-editor select:focus-visible{outline:2px solid #7064d7;outline-offset:2px}.workflow-graph-editor .workflow-graph-status{top:16px;bottom:auto;left:50%;max-width:calc(100% - 32px);transform:translateX(-50%)}.workflow-graph-editor .react-flow__minimap{right:16px;bottom:76px}.workflow-graph-editor .react-flow__pane{cursor:grab}.workflow-graph-editor .react-flow__pane.dragging{cursor:grabbing}.workflow-graph-editor[data-space-pan=true] .react-flow__edge,.workflow-graph-editor[data-space-pan=true] .react-flow__handle,.workflow-graph-editor[data-space-pan=true] .react-flow__node{pointer-events:none}.workflow-graph-editor .workflow-graph-node{width:252px;min-height:0;padding:0 12px 9px;border-color:#dde0eb;border-radius:7px;box-shadow:0 2px 5px rgb(42 49 70/6%)}.workflow-graph-editor .workflow-graph-node[data-selected=true]{border-color:#8274e9;outline:1px solid #8274e9;box-shadow:0 2px 6px rgb(42 49 70/8%)}.workflow-graph-editor .workflow-graph-node-header{min-height:36px;margin:0 -12px 6px;padding:0 10px;grid-template-columns:28px minmax(0,1fr) auto;gap:6px;border-radius:6px 6px 0 0;background:#f4f2ff}.workflow-graph-editor .workflow-graph-node[data-tone=image] .workflow-graph-node-header{background:#eff9f7}.workflow-graph-editor .workflow-graph-node[data-tone=output] .workflow-graph-node-header,.workflow-graph-editor .workflow-graph-node[data-tone=transform] .workflow-graph-node-header{background:#fdf8ed}.workflow-graph-editor .workflow-graph-node-icon{width:20px;height:20px;border-radius:4px}.workflow-graph-editor .workflow-graph-node-icon svg{width:13px;height:13px}.workflow-graph-editor .workflow-graph-node-copy strong{font-size:12px;font-weight:600}.workflow-graph-editor .workflow-graph-node-copy small,.workflow-graph-editor .workflow-graph-node-open,.workflow-graph-editor .workflow-graph-node>p{display:none}.workflow-graph-editor .workflow-graph-node-status{font-size:10px;font-weight:500}.workflow-graph-editor .workflow-graph-node-ports{margin-top:7px;padding-top:0;gap:10px;border-top:0}.workflow-graph-editor .workflow-graph-node-ports>div{gap:0}.workflow-graph-editor .workflow-graph-port-row{min-height:21px;font-size:10px}.workflow-graph-editor .workflow-graph-node-model,.workflow-graph-editor .workflow-graph-node-summary{margin-top:5px;font-size:11px;font-weight:500}.workflow-graph-editor .workflow-graph-edge-path{stroke-width:1.4}.workflow-graph-editor .workflow-graph-edge-halo{stroke-width:4;opacity:.4}.workflow-graph-editor .workflow-control-handle{width:8px;height:8px;border-radius:2px;background:#9287ba;border:1px solid #fff}.workflow-graph-editor .workflow-graph-node-header .workflow-graph-node-step{position:static;display:grid;width:28px;height:22px;border:1px solid #d5cef6;border-radius:4px;background:#ebe7fc;color:#493c87;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;box-shadow:none}.workflow-graph-editor .workflow-graph-node-header .workflow-graph-node-step[data-invalid=true]{border-color:#dfc29d;background:#fff1df;color:#824617}.workflow-graph-editor .workflow-graph-node[data-connected=true]:not([data-selected=true]){border-color:#9588ce}.workflow-graph-editor .workflow-control-caption{position:absolute;left:calc(50% + 10px);color:#615576;background:#f4f2ff;padding:0 3px;font-size:9px;line-height:14px;white-space:nowrap;pointer-events:none}.workflow-control-caption.is-input{top:-8px}.workflow-control-caption.is-output{bottom:-8px}.workflow-graph-control-label{position:absolute;z-index:4;width:-moz-max-content;width:max-content;border:1px solid #d5cfdf;border-radius:4px;background:#fff;padding:3px 6px;color:#615576;font-size:10px;line-height:1.4;white-space:nowrap;pointer-events:none}.workflow-graph-order-legend{position:absolute;z-index:5;top:16px;left:16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;max-width:calc(100% - 32px);border:1px solid #dfe1eb;border-radius:6px;background:#fff;padding:8px 10px;color:#4b5366;font-size:11px;pointer-events:none}.workflow-graph-order-legend strong,.workflow-graph-order-legend>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.workflow-graph-order-legend strong>span{border-radius:3px;background:#ebe7fc;padding:1px 4px;color:#493c87;font-size:10px}.workflow-graph-order-legend i{display:inline-block;width:22px;border-top:2px solid #6578c7}.workflow-graph-order-legend i.is-control{border-top-style:dashed;border-color:#7d758e}.workflow-graph-order-legend i.is-feedback{border-top-style:dashed;border-color:#b16724}.workflow-graph-editor[data-mode=official-readonly] .workflow-graph-order-legend{top:60px}.workflow-graph-order-error{position:absolute;z-index:6;top:64px;left:16px;max-width:calc(100% - 32px);border:1px solid #dfc29d;border-radius:5px;background:#fff1df;padding:8px 10px;color:#824617;font-size:12px}.workflow-graph-editor[data-mode=official-readonly] .workflow-graph-order-error{top:108px}@media (max-width:640px){.workflow-graph-order-legend{max-width:calc(100% - 80px)}.workflow-graph-order-error{top:88px}.workflow-graph-editor[data-mode=official-readonly] .workflow-graph-order-error{top:132px}}.workflow-inline-container{position:relative;width:100%;height:100%;border:1px solid #a8d4cd;border-radius:10px;background:#edf7f5}.workflow-inline-container[data-selected=true]{border-color:#588f88;outline:1px solid #588f88}.workflow-graph-editor .workflow-inline-container>.workflow-graph-node{width:100%;border:0;border-bottom:1px solid #c9e0dc;border-radius:9px 9px 0 0;background:#fff;box-shadow:none}.workflow-graph-editor .workflow-inline-container>.workflow-graph-node[data-selected=true]{outline:none;box-shadow:none}.workflow-graph-editor .workflow-inline-container .workflow-graph-node-header{background:#e7f3ef}.workflow-graph-editor .workflow-inline-container .workflow-graph-node-copy strong{font-size:13px}.workflow-graph-body-toggle{display:flex;width:100%;height:24px;box-sizing:border-box;align-items:center;gap:6px;margin:3px 0;border:0;border-radius:4px;background:#f0f6f4;padding:0 7px;color:#416c65;cursor:pointer;font-family:inherit;font-size:11px;line-height:1}.workflow-graph-body-toggle svg{width:13px;height:13px;flex-shrink:0}.workflow-graph-body-toggle svg:nth-last-child(2){margin-left:auto}.workflow-graph-body-toggle[aria-expanded=true] svg:nth-last-child(2){transform:rotate(180deg)}.workflow-graph-body-toggle small{font-size:10px}.workflow-inline-body-label{position:absolute;left:28px;display:flex;align-items:center;gap:7px;color:#4e7e75;font-size:12px;pointer-events:none}.workflow-inline-body-label svg{width:14px;height:14px}.workflow-inline-body-label span{color:#486d65;font-size:11px}.workflow-inline-body-surface{position:absolute;right:14px;bottom:14px;left:14px;border:1px dashed #c4ddd7;border-radius:6px;pointer-events:none}.original-workspace-root[data-yaistudio-theme=dark] .workflow-inline-container{border-color:#3a6961;background:#1a302c}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-editor .workflow-inline-container>.workflow-graph-node{border-color:#35554f;background:#202a35}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-body-toggle{background:#243d37;color:#a8d5c8}.original-workspace-root[data-yaistudio-theme=dark] .workflow-inline-body-label{color:#a8d5c8}.original-workspace-root[data-yaistudio-theme=dark] .workflow-inline-body-surface{border-color:#35554f}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-palette,.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-toolbar,.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-zoom select{background:#202a35;border-color:#3a485a;color:#dce3ee}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-node-header{background:#30334a}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-node[data-tone=image] .workflow-graph-node-header{background:#243d3c}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-stage{background-color:#1c252f}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-control-label,.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-order-legend{border-color:#465069;background:#202a35;color:#dce3ee}.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-node-header .workflow-graph-node-step,.original-workspace-root[data-yaistudio-theme=dark] .workflow-graph-order-legend strong>span{border-color:#645584;background:#3c3356;color:#e1d8ff}.original-workspace-root[data-yaistudio-theme=dark] .workflow-control-caption{background:#30334a;color:#d3c7ef}@media (max-width:780px){.workflow-graph-editor .workflow-graph-toolbar{bottom:12px;max-width:calc(100% - 16px)}.workflow-graph-editor .workflow-graph-toolbar button{min-width:36px;height:36px}}.workflow-generic-results{grid-column:1;min-width:0;padding:20px;border:1px solid var(--border,#e2e4e8);border-radius:12px;background:var(--panel,#fff)}.workflow-generic-results>header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.workflow-generic-results h3,.workflow-generic-results p{margin:0 0 8px}.workflow-generic-results p,.workflow-generic-results small{color:var(--muted,#667085);font-size:12px}.workflow-generic-downloads{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.workflow-generic-data summary,.workflow-generic-downloads a{display:flex;align-items:center;gap:8px}.workflow-generic-result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.workflow-generic-result-grid figure{margin:0;min-width:0}.workflow-generic-result-grid button{position:relative;width:100%;aspect-ratio:1;overflow:hidden;background:#f5f6f8;border:1px solid var(--border,#e2e4e8);border-radius:8px}.workflow-generic-result-grid img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.workflow-generic-result-grid button>svg{position:absolute;right:8px;bottom:8px}.workflow-generic-result-grid figcaption{padding:6px 0;font-size:12px;overflow-wrap:anywhere}.workflow-generic-data{margin-top:10px;padding:12px;border:1px solid var(--border,#e2e4e8);border-radius:8px}.workflow-generic-data summary{cursor:pointer;font-size:13px}.workflow-generic-data small{margin-left:auto}.workflow-generic-data pre{max-height:440px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.workflow-generic-results a:focus-visible,.workflow-generic-results button:focus-visible,.workflow-generic-results summary:focus-visible{outline:2px solid #506baf;outline-offset:3px}