.workspace-v4 .canvas-node.operation[data-operation=custom]>.port-reference{top:316px}
.workspace-v4 .canvas-node.operation[data-operation=custom]:has(.text-creation-panel.collapsed)>.port-reference{top:240px}
.text-creation-panel{height:322px}.text-creation-panel.collapsed{height:176px}
.reference-prompt{position:relative;height:126px;border-radius:8px;background:#fafafb;overflow:hidden}
.reference-prompt-highlight{position:absolute;inset:0;box-sizing:border-box;border:1px solid transparent;padding:12px;overflow:hidden;pointer-events:none;color:#41414a}
.reference-prompt-highlight,.text-creation-panel textarea.reference-prompt-input{font-family:inherit;font-size:13px;font-weight:400;line-height:1.8;letter-spacing:normal;white-space:pre-wrap;overflow-wrap:break-word;tab-size:8}
.reference-prompt-highlight>div{min-height:100%;transform-origin:0 0}
.reference-prompt-highlight mark{padding:0;border-radius:3px;background:#404047;color:#fff;font:inherit}
.reference-prompt-highlight mark.active{background:#17171a}
.text-creation-panel textarea.reference-prompt-input{position:relative;display:block;background:transparent;color:transparent;caret-color:#242429;text-shadow:none;z-index:1}
.text-creation-panel textarea.reference-prompt-input::placeholder{color:#92929e}
.text-creation-panel textarea.reference-prompt-input::selection{background:#98b6e15c;color:transparent}
.reference-prompt.is-busy{opacity:.7}
.text-reference-pills{display:flex;align-items:center;gap:6px;height:30px;overflow:hidden}
.text-reference-pill{display:flex;align-items:center;flex:none;background:#333339;border:1px solid #333339;color:white;border-radius:16px;height:23px;box-sizing:border-box}
.text-reference-pill.active{background:#18181b;border-color:#18181b;box-shadow:0 0 0 2px #c6c6d1}
.text-reference-pill button{height:21px;display:flex;align-items:center;justify-content:center;background:transparent;color:inherit;padding:0 8px;font-size:11px;line-height:1;gap:2px}
.text-reference-pill button:last-child{padding:0 6px 0 2px;border-radius:0 15px 15px 0}.text-reference-pill button>span{color:#d6d6de;font-size:10px}
.text-reference-chip.active{border-color:#44444d;box-shadow:0 0 0 1px #44444d}
.text-reference-chip .text-reference-pin{position:absolute;right:3px;bottom:22px;display:grid;place-items:center;width:21px;height:21px;padding:0;background:#ffffffed;color:#33333b;border:1px solid #dedee6;border-radius:5px}
.text-reference-chip .text-reference-pin[aria-pressed=true]{background:#24242b;color:#fff;border-color:#24242b}
.text-creation-panel.collapsed .text-reference-pin{right:15px;bottom:1px;width:17px;height:17px}.text-creation-panel.collapsed .text-reference-chip>button:first-child{padding-right:24px}
.workspace-v4 .node-output-settings{position:absolute;left:0;right:0;bottom:82px;height:60px;box-sizing:border-box;padding:6px 12px 3px;border-top:1px solid #eeeeF2;background:#fff;cursor:default}
.node-output-settings>div{display:flex;align-items:center;gap:8px}.node-output-settings label{display:flex;align-items:center;gap:5px;flex:1;min-width:0;font-size:11px;color:#777783}.node-output-settings label:first-child{flex:.95}.node-output-settings select{min-width:0;width:100%;border:0;background:#f6f6f9;border-radius:5px;height:27px;font:inherit;color:#454550;padding:0 5px}.node-output-settings label>span{white-space:nowrap}
.node-output-settings>small{display:block;color:#868692;font-size:10px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-output-settings>small>span{margin-left:5px;cursor:help}
.workspace-v4 .canvas-node.operation:not([data-operation=decompose]) .node-error{bottom:144px}
