.wf-toolbar,.wf-editor-heading{display:flex;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.wf-toolbar>.search{flex:1;max-width:480px}.wf-editor-heading{justify-content:space-between}.wf-editor-heading h1{font-size:24px;margin:0}.wf-editor-heading p{font-size:13px;color:var(--muted);margin-top:4px}.wf-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wf-list-row{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line)}.wf-list-row .grow{min-width:0}.wf-list-row p{font-size:13px;color:var(--muted);margin:6px 0}.wf-list-row small{font-size:12px;color:var(--muted)}.wf-list-icon{display:flex;width:36px;height:36px;align-items:center;justify-content:center;background:var(--surface);flex-shrink:0}.wf-state{font-size:12px;color:var(--muted);padding:12px 24px;border-bottom:1px solid var(--line)}.wf-canvas-scroll{overflow:auto;max-width:100%;max-height:550px}.wf-canvas{position:relative;background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:20px 20px}.wf-canvas svg{position:absolute;inset:0;color:var(--muted);pointer-events:none}.wf-node{position:absolute;width:200px;border:1px solid var(--line);border-radius:8px;background:var(--base);box-shadow:0 2px 4px #00000005;overflow:hidden}.wf-node-handle{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 12px;width:100%;color:var(--muted);cursor:grab;touch-action:none;background:var(--surface)}.wf-node-handle:active{cursor:grabbing}.wf-node-handle svg{position:static;width:14px;height:14px}.wf-node-open{padding:10px 12px;display:flex;flex-direction:column;text-align:left;gap:6px;width:100%}.wf-node-open strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.wf-node-open small{font-size:12px;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wf-canvas-empty{position:absolute;left:40px;top:40px;color:var(--muted)}.wf-type-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wf-type{display:flex;align-items:center;gap:12px;padding:20px 12px;border:1px solid var(--line);border-radius:8px;text-align:left}.wf-type:hover{background:var(--surface)}.wf-type strong{font-weight:500}.wf-node-list{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.wf-node-list .grow{min-width:0}.wf-node-list p{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.wf-step-number{font-size:12px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;flex-shrink:0}.wf-error:not(:empty){padding:12px;border-left:3px solid #dc2626;color:#b91c1c;background:var(--surface);overflow-wrap:anywhere}.wf-json{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:var(--surface);font-size:12px;max-width:100%}
@media(max-width:1000px){.wf-list-row{flex-wrap:wrap}.wf-list-row>.grow{flex-basis:65%}}
@media(max-width:768px){.wf-toolbar,.wf-editor-heading,.wf-state{padding:16px}.wf-editor-heading h1{display:none}.wf-list-row{padding:16px;gap:12px}.wf-list-row>.grow{flex-basis:75%}.wf-list-row>.wf-actions{margin-left:auto}.wf-actions .btn,.wf-toolbar .btn{min-height:44px}.wf-toolbar>.search{min-width:100%}.wf-node-list{align-items:start;flex-wrap:wrap}.wf-node-list .wf-actions{margin-left:40px}.wf-node-list>.grow{flex-basis:70%}.wf-type{min-height:72px;padding:12px}.wf-canvas-scroll{max-height:420px}.wf-editor>.section{padding:16px}.wf-editor .ct-section{padding:16px}.wf-editor-heading .wf-actions{width:100%}}

#wf-simple-trigger[hidden]{display:none}.wf-zoom{display:flex;align-items:center;gap:8px;font-size:12px}

.wf-search-result{display:block;width:100%;text-align:left;padding:16px;border-bottom:1px solid var(--line)}.wf-search-result[hidden]{display:none}
@media(max-width:768px){.wf-editor-heading .wf-actions,.wf-editor>.wf-toolbar>[data-action="wf-add"],.wf-editor>.wf-toolbar>[data-action="wf-versions"],.wf-editor>.wf-toolbar>[data-action="wf-run"]{display:none}.wf-editor-heading{padding-block:12px}}
