/* Private script editor: presentation only, no execution or schema changes. */
.flow-editor-friendly{grid-template-columns:230px minmax(0,1fr) 310px;height:720px}
.flow-editor-friendly .flow-tools{padding:16px 13px;display:block}
.flow-tools #flow-tool-search{padding:10px;font-size:12px;margin-bottom:12px}
.flow-insert-context{padding:10px 12px;background:var(--input);border:1px solid var(--line);border-radius:10px;margin-bottom:16px}
.flow-insert-context>small{font-size:10px;color:var(--muted)}
.flow-insert-context>strong{display:block;font-size:12px;line-height:1.5;margin:4px 0 8px;overflow-wrap:anywhere}
.flow-insert-context label{font-size:11px;gap:4px}.flow-insert-context select{padding:8px;font-size:11px}
.flow-tool-group{margin-bottom:8px;border-bottom:1px solid var(--line);padding-bottom:8px}
.flow-tool-group>summary{padding:9px 3px;cursor:pointer;font-size:12px;font-weight:650;color:var(--text)}
.flow-tool-group:nth-child(2)>summary{color:var(--blue)}.flow-tool-group:nth-child(3)>summary{color:var(--green)}.flow-tool-group:nth-child(4)>summary{color:var(--yellow)}
.flow-editor-friendly .tool{min-height:39px;padding:8px 10px;font-size:11px;border-color:transparent;background:transparent;line-height:1.4;margin-bottom:3px;width:100%}
.flow-editor-friendly .tool svg{flex:none;color:var(--accent)}
.flow-editor-friendly .tool:hover{background:var(--input);border-color:var(--accent)}
.flow-editor-friendly .tool[hidden],.flow-tool-group[hidden],.flow-tool-empty[hidden]{display:none}
.flow-editor-friendly .flow-node{width:220px;min-height:144px;padding:13px 13px 0;display:flex;flex-direction:column;background:var(--surface)}
.flow-editor-friendly .flow-node>strong{font-size:12px;line-height:1.5;margin:7px 0 5px;overflow-wrap:anywhere}
.flow-editor-friendly .flow-node-summary{font-size:10px;line-height:1.55;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}
.flow-editor-friendly .flow-ports{position:relative;margin:auto -13px 0;min-height:32px}
.flow-editor-friendly .flow-port{flex:1;padding:8px 5px;font-size:10px;line-height:1.4}
.flow-editor-friendly .flow-port[data-port=yes]{color:var(--green)}.flow-editor-friendly .flow-port[data-port=no],.flow-editor-friendly .flow-port[data-port=failure]{color:var(--yellow)}
.flow-editor-friendly .flow-node.start{min-height:110px}.flow-editor-friendly .flow-node.end,.flow-editor-friendly .flow-node.stop{min-height:110px;padding-bottom:10px}
.flow-editor-friendly .flow-inspector{padding:20px 18px}.flow-editor-friendly .flow-inspector h3{font-size:16px;margin-bottom:8px}
.flow-step-preview{color:var(--accent);font-size:12px;line-height:1.6;margin-bottom:18px;overflow-wrap:anywhere}
.flow-editor-friendly .flow-inspector input,.flow-editor-friendly .flow-inspector select,.flow-editor-friendly .flow-inspector textarea{font-size:12px;padding:10px}
.flow-editor-friendly .flow-inspector label{font-size:12px;gap:7px}
.flow-editor-friendly label:has(>.flow-expression-toggle){position:relative}
.flow-editor-friendly label>.flow-expression-toggle{position:absolute;right:5px;bottom:5px;width:30px;min-height:29px;padding:3px;border:0;background:transparent;color:var(--accent);font-size:11px}
.flow-editor-friendly label:has(>.flow-expression-toggle)>input{padding-right:40px}
.flow-advanced,.flow-test-options{border-top:1px solid var(--line);padding-top:10px;margin:14px 0}
.flow-advanced>summary,.flow-test-options>summary{font-size:11px;font-weight:600;color:var(--muted);cursor:pointer;padding:7px 0}
.flow-test-options p{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0}
.flow-advanced[open]>summary{margin-bottom:10px}.flow-test-options .button{font-size:11px;width:100%}
.flow-editor-friendly .flow-inspector .stack>.danger{margin-top:12px;background:transparent;border-color:var(--line);color:var(--muted)}
.flow-editor-friendly .flow-inspector .stack>.danger:hover{color:var(--red);border-color:var(--red)}
@media(max-width:1450px) and (min-width:1001px){.flow-editor-friendly{grid-template-columns:205px minmax(0,1fr) 270px}.flow-editor-friendly .flow-inspector{padding:16px 12px}}
@media(max-width:1000px){.flow-editor-friendly{height:auto;grid-template-columns:210px minmax(0,1fr)}.flow-editor-friendly .flow-canvas{height:560px}.flow-editor-friendly .flow-tools{max-height:560px}.flow-editor-friendly .flow-inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);max-height:600px}}
@media(max-width:600px){.flow-editor-friendly{grid-template-columns:1fr}.flow-editor-friendly .flow-tools{max-height:310px;border-right:0;border-bottom:1px solid var(--line)}.flow-editor-friendly .flow-canvas{height:420px}.flow-editor-friendly .flow-tool-groups{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;align-items:start}.flow-editor-friendly .flow-tools h3{margin-bottom:12px}.flow-editor-friendly .flow-inspector{max-height:650px}}
