.legacy-asset-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.legacy-asset-picker-toolbar{color:#64748b;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.legacy-asset-picker-toolbar>span{flex:1;min-width:0}.legacy-asset-picker-toolbar button{min-height:30px;padding:5px 9px;font-size:12px}.legacy-asset-option{border:1px solid #0000;border-radius:8px;flex-direction:column;min-width:0;padding:6px;display:flex;position:relative}.legacy-asset-option.is-picked{background:#eff6ff;border-color:#3b82f6}.legacy-asset-option img,.legacy-asset-option video{aspect-ratio:1;object-fit:contain;background:#f1f5f9;width:100%}.legacy-asset-option span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.legacy-node,.legacy-prompt-modal{--legacy-surface:#0f0f0f;--legacy-content:#141414;--legacy-panel:#1a1a1a;--legacy-border:#262626;--legacy-muted:#737373;--legacy-text:#f5f5f5;--legacy-hover:#333;color:var(--legacy-text)}.legacy-node[data-theme=light],.legacy-prompt-modal[data-theme=light]{--legacy-surface:#fff;--legacy-content:#fafafa;--legacy-panel:#fff;--legacy-border:#e2e8f0;--legacy-muted:#64748b;--legacy-text:#171717;--legacy-hover:#f1f5f9}.legacy-node{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;transform-origin:0 0;position:absolute}.legacy-node:active{cursor:grabbing}.legacy-node button{letter-spacing:0;min-height:0}.legacy-node-card{background:var(--legacy-surface);border:1px solid #e7e9ed;border-radius:22px;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:visible;box-shadow:0 8px 22px #1f29370d}.legacy-node.selected .legacy-node-card{border-color:#b9c9e9;box-shadow:0 0 0 2px #3b82f61f,0 10px 26px #1f293718}.legacy-node-title{white-space:nowrap;max-width:calc(100% - 8px);color:var(--legacy-muted);cursor:text;align-items:center;gap:6px;margin-bottom:7px;font-size:14px;font-weight:400;line-height:20px;display:flex;position:absolute;bottom:100%;left:4px}.legacy-node-title svg{flex-shrink:0;width:12px;height:12px}.legacy-node-title span{text-overflow:ellipsis;overflow:hidden}.legacy-node.selected .legacy-node-title{color:#93c5fd}.legacy-node[data-theme=light].selected .legacy-node-title{color:#2563eb}.legacy-title-input{background:var(--legacy-panel);width:176px;height:28px;color:var(--legacy-text);z-index:30;border:1px solid #3b82f699;border-radius:6px;margin-bottom:8px;padding:0 8px;font-size:14px;position:absolute;bottom:100%;left:8px}.legacy-port{background:var(--legacy-surface);color:#a3a3a3;opacity:0;z-index:10;cursor:crosshair;border:1px solid #404040;border-radius:50%;width:28px;height:28px;padding:0;transition:opacity .15s,border-color .15s;position:absolute;top:50%;transform:translateY(-50%)}.legacy-port-left{left:-18px}.legacy-port-right{right:-18px}.legacy-node:hover .legacy-port,.legacy-node.selected .legacy-port,.legacy-node.connection-ready .legacy-port,.legacy-port:focus-visible{opacity:1}.legacy-port:hover{background:var(--legacy-surface);color:var(--legacy-text);border-color:#737373}.legacy-node[data-theme=light] .legacy-port{color:#737373;border-color:#d4d4d4;box-shadow:0 1px 2px #0001}.legacy-node.connection-ready .legacy-port-left{color:#60a5fa;border-color:#3b82f6}.legacy-media-empty,.legacy-media-result,.legacy-text-content{border-radius:21px;width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.legacy-media-empty{background:#fbfbfc;flex-direction:column;justify-content:center;align-items:center;gap:0;padding:0 12px 50px;display:flex}.legacy-media-result{background:#f2f3f5}.legacy-media-result img,.legacy-media-result video{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.legacy-media-result img{pointer-events:none}.legacy-text-content{background:var(--legacy-panel);padding:16px}.legacy-text-content textarea{resize:none;width:100%;height:100%;min-height:0;color:var(--legacy-text);box-shadow:none;cursor:text;background:0 0;border:0;padding:0;font-size:14px;line-height:1.6;display:block}.legacy-node textarea::placeholder{color:var(--legacy-muted)}.legacy-media-sources{justify-content:center;align-items:center;gap:10px;max-width:calc(100% - 24px);display:flex;position:absolute;bottom:28px;left:12px;right:12px}.legacy-node .legacy-media-sources button{height:38px;color:var(--legacy-text);white-space:nowrap;background:0 0;border:0;border-radius:7px;gap:7px;padding:6px 11px;font-size:15px;font-weight:400}.legacy-media-sources button:hover{background:var(--legacy-hover)}.legacy-source-divider{background:var(--legacy-border);width:1px;height:12px}.legacy-empty-icon{color:#a7abb4;background:#f0f1f3;border-radius:15px;place-items:center;width:62px;height:62px;margin-bottom:18px;display:grid}.legacy-empty-icon svg{width:29px;height:29px}.legacy-node[data-theme=light] .legacy-empty-icon{color:#a7abb4;background:#f0f1f3}.legacy-connected-label{color:var(--legacy-muted);align-items:center;gap:5px;font-size:11px;display:flex;position:absolute;bottom:15px}.legacy-next-action{color:var(--legacy-muted);background:0 0;border:0;border-radius:6px;padding:6px 10px;font-size:13px}.legacy-next-action:hover{background:var(--legacy-hover);color:var(--legacy-text)}.legacy-media-tools{transform-origin:bottom;z-index:25;opacity:0;pointer-events:none;background:#171717f2;border:1px solid #404040;border-radius:999px;align-items:center;gap:4px;padding:6px 8px;transition:opacity .15s;display:flex;position:absolute;top:-78px;left:50%;box-shadow:0 10px 15px #0004}.legacy-node:hover .legacy-media-tools,.legacy-node.selected .legacy-media-tools,.legacy-node:focus-within .legacy-media-tools{opacity:1;pointer-events:auto}.legacy-media-tools button{color:#d4d4d4;background:0 0;border:0;border-radius:50%;width:27px;height:27px;padding:6px}.legacy-media-tools button:hover{color:#fff;background:#404040}.legacy-task-card{color:#bfdbfe;pointer-events:auto;background:#171717e8;border-radius:6px;align-items:center;gap:6px;min-height:28px;padding:6px 9px;font-size:12px;line-height:1.4;display:flex;position:absolute;bottom:10px;left:10px;right:10px}.legacy-task-card.status-succeeded{color:#86efac}.legacy-task-card.status-failed,.legacy-task-card.status-timed_out,.legacy-task-card.status-canceled{color:#fca5a5}.legacy-task-card>span:first-of-type{flex-shrink:0}.legacy-task-error{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.legacy-running{color:#60a5fa;flex-direction:column;align-items:center;gap:8px;font-size:12px;display:flex}.legacy-controls-position{z-index:100;cursor:default;position:absolute;top:calc(100% + 16px);left:50%;transform:translate(-50%)}.legacy-node-controls{border:1px solid var(--legacy-border);background:var(--legacy-panel);transform-origin:top;cursor:default;-webkit-user-select:text;user-select:text;border-radius:14px;width:100%;padding:18px;box-shadow:0 8px 28px #00000016}.legacy-prompt-area{margin-bottom:18px;position:relative}.legacy-prompt-textarea,.legacy-expanded-textarea{width:100%;min-height:150px;color:var(--legacy-text);resize:vertical;box-shadow:none;scrollbar-width:thin;background:0 0;border:0;border-radius:0;padding:2px 44px 0 0;font-size:17px;font-weight:300;line-height:1.6;display:block}.legacy-prompt-textarea:focus,.legacy-expanded-textarea:focus{box-shadow:none!important;border:0!important;outline:none!important}.legacy-expand-prompt{z-index:1;border:1px solid var(--legacy-border);background:var(--legacy-hover);width:28px;height:28px;color:var(--legacy-muted);border-radius:8px;padding:0;position:absolute;top:0;right:0}.legacy-expand-prompt:hover{background:var(--legacy-hover);color:var(--legacy-text)}.legacy-source-cards{align-items:flex-start;gap:8px;margin-bottom:8px;margin-right:36px;padding:6px 4px 4px;display:flex;overflow-x:auto}.legacy-source-card{border:1px solid var(--legacy-border);border-radius:6px;flex:0 0 48px;width:48px;height:48px;position:relative}.legacy-source-open{background:var(--legacy-content);width:100%;height:100%;color:var(--legacy-muted);border:0;border-radius:5px;padding:0;display:flex;position:relative;overflow:hidden}.legacy-source-open img{object-fit:cover;width:100%;height:100%}.legacy-source-open span{color:#fff;text-align:center;background:#000a;padding:2px;font-size:8px;position:absolute;bottom:0;left:0;right:0}.legacy-source-remove{z-index:2;color:#fff;background:#262626;border:1px solid #fffc;border-radius:50%;width:16px;height:16px;min-height:0;padding:0;position:absolute;top:-6px;right:-6px;box-shadow:0 1px 3px #0002}.legacy-source-remove:hover{background:#ef4444}.legacy-source-mention{z-index:2;border:1px solid var(--legacy-border);background:var(--legacy-panel);width:20px;height:20px;min-height:0;color:var(--legacy-text);border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:-5px;left:-5px}.reference-prompt{min-width:0;position:relative}.reference-prompt.expanded{flex:1;min-height:100px;display:flex}.reference-mention-picker{z-index:15;border:1px solid var(--legacy-border);background:var(--legacy-panel);border-radius:8px;width:min(300px,100%);max-height:190px;padding:5px;position:absolute;top:30px;left:0;overflow-y:auto;box-shadow:0 8px 28px #0003}.reference-mention-picker button{width:100%;min-height:50px;color:var(--legacy-text);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:flex-start;gap:10px;padding:6px 8px;display:flex}.reference-mention-picker button[aria-selected=true],.reference-mention-picker button:hover{background:var(--legacy-hover)}.reference-mention-picker img{object-fit:cover;border-radius:4px;flex:0 0 36px;width:36px;height:36px}.reference-mention-picker span{flex-direction:column;gap:3px;min-width:0;display:flex}.reference-mention-picker strong{font-size:13px;font-weight:500}.reference-mention-picker small{text-overflow:ellipsis;white-space:nowrap;color:var(--legacy-muted);font-size:11px;overflow:hidden}.reference-mention-empty{color:var(--legacy-muted);padding:12px;font-size:12px}.legacy-controls-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.legacy-controls-toolbar select,.legacy-setting-button{border:1px solid var(--legacy-border);max-width:100%;height:30px;color:var(--legacy-muted);background:0 0;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:500}.legacy-control-pill{border:1px solid var(--legacy-border);background:var(--legacy-content);min-width:0;height:38px;color:var(--legacy-text);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:0 13px;font-size:14px;font-weight:500;display:inline-flex}.legacy-control-pill:focus-within{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f633}.legacy-control-pill select{max-width:220px;height:36px;color:inherit;font-size:inherit;border:0;border-radius:0;outline:none;padding:0 18px 0 0;font-weight:500}.legacy-control-pill select:focus{box-shadow:none}.legacy-settings-pill select{max-width:72px}.legacy-settings-wrap{position:relative}.legacy-controls-toolbar .legacy-a11y-select{opacity:.01;border:0;width:1px;min-width:1px;height:1px;min-height:1px;padding:0;position:absolute;bottom:1px;left:1px}.legacy-settings-pill{border:1px solid var(--legacy-border);cursor:pointer}.legacy-settings-pill:disabled{cursor:not-allowed}.legacy-pill-chevron{color:var(--legacy-muted);margin-left:3px;font-size:16px;line-height:1}.legacy-settings-popover{z-index:30;border:1px solid var(--legacy-border);background:var(--legacy-panel);width:320px;color:var(--legacy-text);border-radius:16px;padding:8px 0;position:absolute;bottom:calc(100% + 9px);right:0;box-shadow:0 12px 32px #0003}.legacy-settings-popover section{padding:0 10px 10px}.legacy-settings-popover section+section{border-top:1px solid var(--legacy-border);padding-top:8px}.legacy-settings-popover h4{color:var(--legacy-muted);margin:0 -10px 8px;padding:0 12px;font-size:12px;font-weight:500;line-height:24px}.legacy-setting-choice{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;justify-content:center;align-items:center;gap:7px;width:100%;height:38px;font-size:14px;display:flex}.legacy-setting-choice:disabled{opacity:1;cursor:default}.legacy-setting-choice svg:last-child{margin-left:2px}.legacy-ratio-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.legacy-ratio-choice{border:1px solid var(--legacy-border);height:38px;color:var(--legacy-text);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:5px;font-size:13px;display:inline-flex}.legacy-ratio-choice:hover,.legacy-ratio-choice.is-active{color:#9333ea;background:#faf5ff;border-color:#c084fc}.legacy-controls-toolbar select:focus{box-shadow:0 0 0 1px #3b82f6}.legacy-controls-toolbar select option{background:var(--legacy-panel);color:var(--legacy-text)}.legacy-controls-toolbar .legacy-model-select{max-width:190px}.legacy-control-pill select:focus{box-shadow:none!important;border:0!important;outline:none!important}.legacy-video-setting{color:var(--legacy-muted);white-space:nowrap;font-size:12px}.legacy-controls-spacer{flex:1;min-width:0}.legacy-reference-count{color:var(--legacy-muted);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:inline-flex}.legacy-credit-cost{height:38px;color:var(--legacy-text);white-space:nowrap;align-items:center;gap:7px;font-size:16px;font-weight:600;display:inline-flex}.legacy-credit-cost svg{color:#8b5cf6}.legacy-generate{color:#fff;background:#0a0a0a;border:0;border-radius:50%;flex-shrink:0;width:36px;height:36px;padding:0;box-shadow:0 1px 2px #0001}.legacy-generate:hover{background:#262626}.legacy-generate:disabled{opacity:.5;background:#40404080}.legacy-node[data-theme=light] .legacy-generate:disabled{color:#475569}.legacy-validation{color:#f87171;border:1px solid #ef44444d;border-radius:6px;margin:8px 0 0;padding:6px 9px;font-size:12px}.legacy-reference-count.is-invalid{color:#f87171}.legacy-prompt-modal{background:var(--legacy-panel);border-radius:8px;padding:16px}.legacy-expanded-textarea{background:var(--legacy-content);resize:vertical;border-radius:8px;min-height:300px;max-height:55dvh;padding:12px}.legacy-modal-actions{justify-content:space-between;align-items:center;margin-top:12px;display:flex}.legacy-modal-actions small{color:var(--legacy-muted)}.modal.prompt-editor-dialog{background:0 0;border:0;border-radius:40px;width:min(1424px,100vw - 80px);max-width:none;max-height:none;padding:0;overflow:hidden;box-shadow:0 24px 90px #0002}.modal.prompt-editor-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#18191db3}.prompt-editor-dialog .legacy-prompt-modal{border-radius:inherit;flex-direction:column;height:min(720px,78dvh);padding:44px 24px 18px;display:flex;position:relative}.prompt-editor-dialog .prompt-editor-collapse{width:30px;height:30px;color:var(--legacy-muted);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:16px;right:22px}.prompt-editor-dialog .prompt-editor-collapse:hover{background:var(--legacy-hover)}.prompt-editor-dialog .legacy-expanded-textarea{resize:none;width:100%;height:auto;min-height:100px;max-height:none;color:var(--legacy-text);box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;flex:1;padding:4px 0 20px;font-size:16px;line-height:1.8}.prompt-editor-dialog .legacy-expanded-textarea::placeholder{color:#a3a3a3}.prompt-editor-dialog .legacy-controls-toolbar{gap:12px;width:100%}.prompt-editor-dialog .legacy-controls-toolbar select,.prompt-editor-dialog .legacy-setting-button{height:36px;color:var(--legacy-text);border-color:#0000;border-radius:12px;font-size:14px}.prompt-editor-dialog .legacy-controls-toolbar select:hover,.prompt-editor-dialog .legacy-setting-button:hover{background:var(--legacy-hover)}.prompt-editor-dialog .legacy-generate{justify-content:center;align-items:center;width:46px;height:46px;display:flex}.prompt-editor-dialog .legacy-credit-cost{font-size:14px}.prompt-editor-count{color:var(--legacy-muted);text-align:right;margin-top:4px;font-size:11px;display:block}.prompt-editor-dialog .legacy-source-cards,.prompt-editor-dialog .legacy-validation{flex-shrink:0}@media (width<=700px){.modal.prompt-editor-dialog{border-radius:24px;width:calc(100vw - 24px)}.prompt-editor-dialog .legacy-prompt-modal{height:82dvh;padding:48px 16px 12px}.prompt-editor-dialog .legacy-controls-toolbar{gap:6px}.prompt-editor-dialog .legacy-controls-toolbar .legacy-model-select{max-width:160px}}.legacy-spin{animation:1s linear infinite legacy-node-spin}@keyframes legacy-node-spin{to{transform:rotate(360deg)}}@media (pointer:coarse){.legacy-port{opacity:1}.legacy-media-tools button{width:32px;height:32px}}@media (prefers-reduced-motion:reduce){.legacy-node *{transition:none}}.lc-editor{--lc-ink:#242829;--lc-muted:#7b8283;--lc-line:#e2e6e5;--lc-green:#087f66;width:100%;min-width:0;height:100%;min-height:0;color:var(--lc-ink);letter-spacing:0;background:#f5f7f6;outline:none;flex:1;font-family:inherit;font-size:13px;display:flex;position:relative;overflow:hidden}.lc-editor *,.lc-editor :before,.lc-editor :after{box-sizing:border-box;letter-spacing:0}.lc-editor button,.lc-editor input,.lc-editor textarea,.lc-editor select{font:inherit}.lc-editor button{cursor:pointer;-webkit-tap-highlight-color:transparent}.lc-editor button:disabled{opacity:.4;cursor:not-allowed}.lc-editor button:focus-visible,.lc-editor input:focus-visible,.lc-editor select:focus-visible,.lc-editor textarea:focus-visible{outline-offset:3px;outline:2px solid #15a688}.lc-edge-hit:focus-visible{outline:none}.lc-workspace{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.lc-stage{touch-action:none;-webkit-user-select:none;user-select:none;background-image:radial-gradient(#cfd7d3 1px,#0000 1px);background-size:var(--grid-size) var(--grid-size);background-position:var(--grid-x) var(--grid-y);position:absolute;inset:0;overflow:hidden}.lc-stage.is-panning{cursor:grab}.lc-stage.is-panning:active{cursor:grabbing}.lc-stage.is-connecting{cursor:crosshair}.lc-world{transform-origin:0 0;will-change:transform;width:1px;height:1px;position:absolute;top:0;left:0}.lc-toolbar{z-index:6;background:#fff;border:1px solid #dce2df;border-radius:8px;align-items:center;gap:3px;padding:5px;display:flex;position:absolute;top:18px;left:18px;box-shadow:0 2px 9px #263e2e09}.lc-tool-group{align-items:center;gap:2px;display:flex}.lc-tool-divider{background:var(--lc-line);flex-shrink:0;width:1px;height:20px;margin:0 4px;display:block}.lc-editor .lc-icon{color:#666f6b;background:0 0;border:0;border-radius:5px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;min-height:0;padding:0;display:inline-flex}.lc-editor .lc-icon:hover:not(:disabled){color:#202b24;background:#edf2ef}.lc-editor .lc-icon.active{color:#087f66;background:#e5f3ec}.lc-editor .lc-icon.danger:hover:not(:disabled){color:#ba3838;background:#fff0ed}.lc-connections{pointer-events:none;color:#9ba9a2;width:1px;height:1px;position:absolute;overflow:visible}.lc-edge-visible{fill:none;stroke:#a7b8ae;stroke-width:1.8px}.lc-edge.selected .lc-edge-visible{stroke:#16866c}.lc-edge.selected{color:#16866c}.lc-edge-hit{pointer-events:stroke;fill:none;stroke:#0000;stroke-width:10px;cursor:pointer;outline:none!important}.lc-edge:has(.lc-edge-hit:hover) .lc-edge-visible{stroke:#d96c4d;stroke-width:3px}.lc-edge-draft{fill:none;stroke:#16866c;stroke-width:2px;stroke-dasharray:6 5}.lc-node{cursor:default;background:#fff;border:1px solid #d8dfdb;border-radius:8px;flex-direction:column;display:flex;position:absolute;box-shadow:0 3px 12px #25332808}.lc-node.selected{z-index:2;border-color:#159276;box-shadow:0 0 0 2px #15927622}.lc-node.connection-source{border-color:#159276}.lc-node-heading{cursor:grab;border-bottom:1px solid #edf0ee;flex:0 0 43px;align-items:center;gap:9px;height:43px;padding:0 8px 0 12px;display:flex}.lc-node-heading:active{cursor:grabbing}.lc-node-heading strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.lc-node-type{color:#147b63;background:#edf6ef;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.lc-node-video .lc-node-type{color:#387fbc;background:#edf5fc}.lc-node-text .lc-node-type{color:#9d7033;background:#faf3e7}.lc-node-content{background:#f9faf9;flex:1;height:176px;min-height:0;position:relative;overflow:hidden}.lc-node-content.has-media{background:#eef1ef}.lc-node-content>img,.lc-node-content>video{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.lc-node-empty{color:#abb5ae;flex-direction:column;justify-content:center;align-items:center;gap:13px;height:100%;font-size:12px;display:flex}.lc-node-empty>span{color:#87958c}.lc-editor .lc-media-open{background:#fffffff0;border:1px solid #dbe0dc;position:absolute;top:8px;right:8px;box-shadow:0 2px 6px #10291e0b}.lc-video-badge{color:#55695e;background:#fff;border-radius:4px;justify-content:center;align-items:center;width:28px;height:24px;display:flex;position:absolute;bottom:8px;left:8px}.lc-node-footer{color:#7a867e;border-top:1px solid #edf0ee;flex:0 0 39px;align-items:center;gap:8px;height:39px;padding:0 8px 0 12px;font-size:11px;display:flex}.lc-node-footer>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.lc-node-footer>.lc-icon:last-child{margin-left:auto}.lc-node-refs{align-items:center;gap:3px;margin-left:auto;display:flex}.lc-node-footer .lc-task-state{min-width:0}.lc-text-content{white-space:pre-wrap;word-break:break-word;-webkit-line-clamp:6;-webkit-box-orient:vertical;margin:0;padding:16px;font-size:12px;line-height:1.9;display:-webkit-box;overflow:hidden}.lc-text-content.is-empty{color:#a6afa9}.lc-editor .lc-port{color:#7e9788;z-index:4;touch-action:none;background:#fff;border:2px solid #abbcb2;border-radius:50%;justify-content:center;align-items:center;width:18px;min-width:0;height:18px;min-height:0;padding:0;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.lc-port-in{left:-10px}.lc-port-out{right:-10px}.lc-port:hover,.lc-port.ready{color:#fff;background:#16866c;border-color:#16866c}.lc-port:after{content:"";border-radius:50%;position:absolute;inset:-7px}.lc-bottom-bar{z-index:5;pointer-events:none;justify-content:space-between;align-items:flex-end;gap:8px;display:flex;position:absolute;bottom:18px;left:18px;right:18px}.lc-node-count{color:#7a877f;padding:7px 0;font-size:11px}.lc-zoom-control{pointer-events:auto;background:#fff;border:1px solid #dce2df;border-radius:6px;align-items:center;gap:2px;padding:4px;display:flex}.lc-editor .lc-zoom-value{color:#58675e;font-variant-numeric:tabular-nums;background:0 0;border:0;min-width:43px;height:30px;padding:0 3px;font-size:11px}.lc-empty-canvas{text-align:center;flex-direction:column;align-items:center;width:min(330px,100% - 32px);display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lc-empty-symbol{color:#9cad9f;margin-bottom:15px}.lc-empty-canvas h2{color:#5d6d62;margin:0 0 23px;font-size:20px;font-weight:500;line-height:1.4}.lc-empty-actions{gap:10px;display:flex}.lc-editor .lc-action{color:#516257;white-space:nowrap;background:#fff;border:1px solid #dbe2dd;border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:7px 11px;font-size:12px;display:inline-flex}.lc-editor .lc-action:hover:not(:disabled){background:#f2f6f3;border-color:#afc3b5}.lc-editor .lc-action.primary{color:#fff;background:#16866c;border-color:#16866c}.lc-editor .lc-action.primary:hover:not(:disabled){background:#096f58}.lc-selection-box{pointer-events:none;z-index:4;background:#19977514;border:1px solid #1a9475;position:absolute}.lc-drop-overlay{color:#167b5f;z-index:10;pointer-events:none;background:#eff9f2f0;border:2px dashed #0f9371;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:12px}.lc-notices{z-index:9;flex-direction:column;align-items:flex-start;gap:6px;max-width:calc(100% - 36px);display:flex;position:absolute;top:78px;left:18px}.lc-notice{color:#4b7160;background:#fff;border:1px solid #dce5df;border-radius:5px;align-items:center;gap:9px;max-width:100%;min-height:38px;padding:7px 10px;font-size:12px;display:flex;box-shadow:0 4px 12px #2840320a}.lc-notice.error{color:#b54f39;background:#fff9f7;border-color:#e8c7bd}.lc-notice>svg{flex-shrink:0}.lc-notice>span{overflow-wrap:anywhere;min-width:0}.lc-notice .lc-icon{flex-basis:23px;width:23px;height:23px}.lc-inspector{border-left:1px solid var(--lc-line);z-index:7;background:#fff;flex-direction:column;flex:0 0 310px;width:310px;min-height:0;display:flex}.lc-inspector-heading{border-bottom:1px solid #e9edea;justify-content:space-between;align-items:center;min-height:54px;padding:10px 12px 10px 18px;display:flex}.lc-inspector-heading>span{color:#53665a;align-items:center;gap:9px;font-size:12px;font-weight:600;display:flex}.lc-inspector-scroll{scrollbar-width:thin;scrollbar-color:#d8e0da transparent;flex:1;min-height:0;padding:18px;overflow-y:auto}.lc-field{flex-direction:column;gap:7px;min-width:0;margin-bottom:16px;display:flex}.lc-field>span{color:#7a847d;justify-content:space-between;align-items:center;gap:6px;font-size:11px;font-weight:500;display:flex}.lc-field small{color:#99a29b;font-size:10px;font-weight:400}.lc-editor .lc-field input,.lc-editor .lc-field select,.lc-editor .lc-field textarea{color:#3b4b40;outline-offset:1px;width:100%;min-width:0;box-shadow:none;background:#fafbfa;border:1px solid #dfe5e0;border-radius:5px;padding:9px 10px;font-size:12px;line-height:1.6;display:block}.lc-editor .lc-field textarea{resize:vertical;min-height:110px;max-height:360px}.lc-editor .lc-field input{min-height:37px}.lc-editor .lc-field select{min-height:37px;padding-right:4px}.lc-field-row{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.lc-inspector-section{border-top:1px solid #e9edea;margin-top:2px;margin-bottom:16px;padding-top:16px}.lc-inspector-section h3{color:#728077;justify-content:space-between;align-items:center;margin:0 0 11px;font-size:11px;font-weight:500;line-height:1.5;display:flex}.lc-inspector-section h3>span{color:#98a29a;font-variant-numeric:tabular-nums;font-size:11px;font-weight:400}.lc-inspector-section h3>span.lc-danger{color:#c45a41}.lc-reference-list{flex-direction:column;gap:7px;display:flex}.lc-reference{align-items:center;gap:9px;min-height:44px;display:flex}.lc-reference>img,.lc-reference-placeholder{object-fit:cover;background:#f5f8f5;border:1px solid #e3e7e3;border-radius:4px;flex-shrink:0;width:42px;height:42px}.lc-reference-placeholder{color:#94a79a;justify-content:center;align-items:center;display:flex}.lc-reference>span:not(.lc-reference-placeholder){text-overflow:ellipsis;white-space:nowrap;color:#5f6e63;flex:1;min-width:0;font-size:11px;overflow:hidden}.lc-reference small{color:#9ba69e;margin-right:5px}.lc-reference em{color:#c3664c;margin-top:3px;font-style:normal;display:block}.lc-reference-empty{color:#a5afa8;align-items:center;gap:9px;min-height:42px;font-size:11px;display:flex}.lc-validation{color:#bc553d;margin:9px 0 0;font-size:11px;line-height:1.6}.lc-editor .lc-generate{color:#fff;background:#087f66;border:0;border-radius:5px;align-items:center;gap:8px;width:100%;min-height:40px;padding:10px 12px;font-size:12px;display:flex}.lc-generate>span{text-align:left;flex:1}.lc-generate strong{opacity:.82;white-space:nowrap;font-size:11px;font-weight:400}.lc-editor .lc-generate:hover:not(:disabled){background:#076d58}.lc-editor .lc-generate:disabled{opacity:1;color:#94a198;background:#e8ede9}.lc-media-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:13px 0 17px;display:flex}.lc-media-actions .lc-action{min-height:31px;padding:6px 9px;font-size:11px}.lc-input-row{align-items:center;gap:8px;display:flex}.lc-input-row>span{text-overflow:ellipsis;white-space:nowrap;color:#87958b;flex:1;min-width:0;font-size:11px;overflow:hidden}.lc-task-list{flex-direction:column;display:flex}.lc-task-item{border-bottom:1px solid #eff2ef;padding:10px 0}.lc-task-item:first-child{padding-top:0}.lc-task-item:last-child{border-bottom:0}.lc-task-state{color:#7b8a80;flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;display:flex}.lc-task-label{align-items:center;gap:5px;font-weight:500;display:inline-flex}.lc-task-running .lc-task-label,.lc-task-submitting .lc-task-label,.lc-task-saving .lc-task-label{color:#3b85af}.lc-task-succeeded .lc-task-label{color:#16866c}.lc-task-failed .lc-task-label,.lc-task-timed_out .lc-task-label{color:#c06043}.lc-task-state time{color:#9ea99f;margin-left:auto;font-size:10px}.lc-task-state p{color:#ac604d;overflow-wrap:anywhere;width:100%;margin:1px 0;padding:0;line-height:1.6}.lc-task-cost{color:#a0aaa2;font-size:10px}.lc-task-state.compact .lc-task-label{font-size:10px}.lc-editor .lc-link-button{color:#16866c;background:0 0;border:none;justify-content:center;align-items:center;gap:5px;padding:4px 0;font-size:11px;display:inline-flex}.lc-editor .lc-link-button:hover{color:#075440;text-decoration:underline}.lc-inspector-footer{border-top:1px solid #e9edea;flex-shrink:0;justify-content:space-between;align-items:center;gap:9px;padding:12px 18px;display:flex}.lc-selected-list{flex-direction:column;gap:13px;display:flex}.lc-selected-list>div{color:#6d8072;align-items:center;gap:9px;display:flex}.lc-selected-list span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.lc-hidden{display:none!important}.lc-preview-backdrop{z-index:100;background:#18231fde;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.lc-preview{background:#fff;border:1px solid #5f6b61;border-radius:7px;flex-direction:column;width:min(1200px,100%);max-height:100%;display:flex;overflow:hidden}.lc-preview header{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:55px;padding:10px 16px;display:flex}.lc-preview header strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:500;overflow:hidden}.lc-preview header>div{flex-shrink:0;gap:8px;display:flex}.lc-preview-media{background:#edf0ed;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.lc-preview-media img,.lc-preview-media video{object-fit:contain;width:100%;height:auto;max-height:calc(100dvh - 117px);display:block}.lc-spin{animation:1s linear infinite lc-spin}@keyframes lc-spin{to{transform:rotate(360deg)}}@media (width<=1000px){.lc-inspector{flex-basis:280px;width:280px}.lc-inspector-scroll{padding:14px}.lc-inspector-heading{padding-left:14px}.lc-inspector-footer{padding:10px 14px}.lc-toolbar{gap:1px;top:12px;left:12px}.lc-editor .lc-toolbar .lc-icon{flex-basis:30px;width:30px}.lc-toolbar .lc-tool-divider{margin:0 2px}}@media (width<=700px){.lc-editor{flex-direction:column}.lc-workspace{flex:100%;min-height:170px}.lc-editor.has-inspector .lc-workspace{flex:52%}.lc-inspector{border-top:1px solid #d9e2db;border-left:0;flex:0 48%;width:100%;min-height:180px;max-height:48%}.lc-inspector-heading{min-height:43px;padding:5px 12px}.lc-inspector-scroll{padding:12px 15px}.lc-inspector-footer{padding:7px 14px}.lc-toolbar{padding:4px;top:10px;left:10px}.lc-bottom-bar{bottom:10px;left:12px;right:10px}.lc-node-count{font-size:10px}.lc-editor .lc-zoom-control .lc-icon{flex-basis:28px;width:28px;height:28px}.lc-zoom-control{gap:0;padding:2px}.lc-zoom-control .lc-tool-divider{height:16px;margin:0 2px}.lc-notices{max-width:calc(100% - 20px);top:62px;left:10px}.lc-empty-canvas h2{margin-bottom:17px;font-size:18px}.lc-empty-symbol{margin-bottom:9px}.lc-preview-backdrop{padding:10px}.lc-preview-media img,.lc-preview-media video{max-height:calc(100dvh - 80px)}.lc-preview header{padding:8px 10px}.lc-editor .lc-port{width:22px;height:22px}.lc-port-in{left:-12px}.lc-port-out{right:-12px}}@media (prefers-reduced-motion:reduce){.lc-spin{animation-duration:2s}}.lc-legacy{--lc-ink:#171717;--lc-muted:#64748b;--lc-line:#e2e8f0;--lc-surface:#fff;--lc-hover:#f1f5f9;background:#f4f4f4}.lc-legacy.dark{--lc-ink:#f5f5f5;--lc-muted:#a3a3a3;--lc-line:#404040;--lc-surface:#1a1a1a;--lc-hover:#262626;background:#111}.lc-legacy .lc-stage{background-image:radial-gradient(circle,#4755692e .7px,#0000 .8px)}.lc-legacy.dark .lc-stage{background-image:radial-gradient(circle,#ffffff24 .7px,#0000 .8px)}.lc-legacy-toolbar{z-index:30;border:1px solid var(--lc-line);background:var(--lc-surface);border-radius:9px;flex-direction:column;align-items:center;gap:5px;width:52px;padding:6px;display:flex;position:absolute;top:50%;left:16px;transform:translateY(-50%);box-shadow:0 3px 12px #0000000a}.lc-legacy-toolbar button{width:40px;height:40px;min-height:0;color:var(--lc-muted);background:0 0;border:0;border-radius:7px;padding:0}.lc-legacy-toolbar button svg{width:20px;height:20px}.lc-legacy-toolbar button:hover{color:#2563eb;background:var(--lc-hover)}.lc-legacy-toolbar .lc-add-tool{color:#fff;background:#262626;border-radius:7px;width:40px;height:40px;margin-bottom:3px}.lc-legacy-toolbar .lc-add-tool:hover{color:#fff;background:#2563eb}.lc-legacy-toolbar hr{background:var(--lc-line);border:0;width:30px;height:1px;margin:3px 0}.lc-legacy-bottom{z-index:25;align-items:center;gap:8px;display:flex;position:absolute;bottom:16px;left:16px}.lc-legacy-bottom button{border:1px solid var(--lc-line);background:var(--lc-surface);width:36px;height:36px;min-height:0;color:var(--lc-muted);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.lc-legacy-bottom .lc-theme-button{width:38px;height:38px;color:var(--lc-muted);border-radius:7px}.lc-legacy-bottom button svg{width:19px;height:19px}.lc-legacy-zoom{border:1px solid var(--lc-line);background:var(--lc-surface);color:var(--lc-muted);border-radius:9px;align-items:center;gap:7px;padding:4px 7px;font-size:13px;display:flex}.lc-legacy-zoom>span:first-child{display:none}.lc-legacy-zoom button{border-color:#0000}.lc-legacy-zoom input{width:100px;height:22px;min-height:0;box-shadow:none;accent-color:#64748b;background:0 0;border:0;padding:0}.lc-legacy-zoom .lc-zoom-value{background:0 0;border:0;width:48px;min-width:48px}.lc-legacy .lc-context-menu{z-index:200;border:1px solid var(--lc-line);background:var(--lc-surface);width:210px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--lc-ink);border-radius:8px;flex-direction:column;padding:5px;display:flex;position:fixed;overflow-y:auto;box-shadow:0 6px 24px #00000012}.lc-context-menu.node-options{width:192px}.lc-context-menu:focus{outline:none}.lc-context-menu .lc-menu-item{width:100%;min-height:34px;color:var(--lc-ink);text-align:left;background:0 0;border:0;border-radius:5px;justify-content:flex-start;gap:9px;padding:7px 10px;font-size:13px;font-weight:400;line-height:20px;display:flex}.lc-context-menu .lc-menu-item:hover:not(:disabled){background:var(--lc-hover)}.lc-menu-icon{color:var(--lc-muted);display:flex}.lc-menu-item>span:nth-child(2){flex:1}.lc-menu-item small{color:var(--lc-muted);white-space:nowrap;font-size:10px}.lc-context-menu hr{background:var(--lc-line);border:0;height:1px;margin:5px 4px}.lc-menu-title{color:var(--lc-muted);padding:9px 10px;font-size:11px}.lc-legacy .lc-context-menu.global-menu,.lc-legacy .lc-context-menu.add-nodes{border-radius:8px;width:210px;padding:5px}.lc-legacy.light .lc-context-menu.global-menu{background:#fff;border-color:#e5e7eb}.lc-legacy.light .lc-context-menu.add-nodes{background:#fff;border-color:#ececec}.lc-context-menu.global-menu .lc-menu-item,.lc-context-menu.add-nodes .lc-menu-item{border-radius:5px;gap:10px;min-height:34px;padding:7px 10px;font-size:13px}.lc-menu-item .lc-menu-label{flex:1}.lc-context-menu .lc-menu-item:disabled{color:var(--lc-muted);opacity:.5;cursor:default}.lc-context-menu.global-menu small{font-size:11px}.lc-context-menu.add-nodes .lc-menu-title{border-bottom:1px solid var(--lc-line);justify-content:space-between;align-items:center;min-height:30px;margin-bottom:3px;padding:3px 10px 6px;font-size:11px;display:flex}.lc-menu-title button{width:28px;height:28px;color:var(--lc-muted);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex}.lc-context-menu.add-nodes .lc-menu-icon{background:var(--lc-hover);width:24px;height:24px;color:var(--lc-ink);border-radius:5px;flex:0 0 24px;justify-content:center;align-items:center}.lc-context-menu.add-nodes .lc-menu-icon svg{width:15px;height:15px}.lc-legacy .lc-edge-visible{stroke:#a3a3a3;stroke-width:2px}.lc-legacy button:focus-visible,.lc-legacy input:focus-visible,.lc-legacy textarea:focus-visible{outline-color:#3b82f6}.lc-legacy .lc-edge.selected .lc-edge-visible{stroke:#3b82f6;stroke-width:3px}.lc-legacy .lc-edge-draft{stroke:#3b82f6}.lc-legacy .lc-selection-box{background:#3b82f61a;border:2px solid #3b82f6}.lc-legacy .lc-notices{top:78px;left:84px}.lc-edge-cut{z-index:20;color:#2563eb;white-space:nowrap;transform-origin:50%;background:#fff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:6px;height:32px;padding:0 11px;font-size:13px;display:inline-flex;position:absolute;box-shadow:0 3px 12px #1e3a8a22}.lc-edge-cut:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#60a5fa}.lc-edge-cut:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}.lc-legacy.dark .lc-edge-cut{color:#93c5fd;background:#1e293b;border-color:#334155}.lc-selection-frame{pointer-events:none;z-index:1;border:1px dashed #94a3b8;border-radius:12px;position:absolute}.lc-selection-frame.selected{background:#3b82f605;border:2px solid #3b82f6}.lc-selection-drag{pointer-events:auto;cursor:grab;border-radius:inherit;position:absolute;inset:0}.lc-selection-tools{transform-origin:0 100%;pointer-events:auto;color:var(--lc-ink);background:var(--lc-surface);border:1px solid var(--lc-line);white-space:nowrap;border-radius:8px;align-items:center;gap:5px;padding:4px 8px;display:flex;position:absolute;bottom:calc(100% + 10px);left:0;box-shadow:0 4px 12px #0001}.lc-selection-tools>span{text-overflow:ellipsis;min-width:60px;max-width:140px;padding:0 6px;font-size:12px;overflow:hidden}.lc-selection-tools button{width:30px;height:30px;min-height:0;color:var(--lc-muted);background:0 0;border:0;padding:0}.lc-selection-tools button:hover{color:#2563eb;background:var(--lc-hover)}.lc-selection-tools input{width:140px;min-width:0;height:30px;padding:4px 6px}@media (width<=700px){.lc-legacy .lc-workspace{flex-basis:100%;height:100%}.lc-legacy-toolbar{border-radius:12px;flex-direction:row;gap:4px;width:auto;padding:4px;top:64px;left:50%;transform:translate(-50%)}.lc-legacy-toolbar .lc-add-tool{margin-bottom:0}.lc-legacy-toolbar hr{width:1px;height:28px}.lc-legacy-bottom{gap:8px;bottom:48px;left:12px}.lc-legacy-zoom{gap:6px;padding:6px 8px}.lc-legacy-zoom input{width:80px}.lc-legacy-zoom>span:first-child{display:none}}.canvas-surface{--chrome-bg:#fff;--chrome-border:#e2e8f0;--chrome-ink:#171717;--chrome-muted:#64748b;--chrome-hover:#f1f5f9}.canvas-surface.dark{--chrome-bg:#1a1a1a;--chrome-border:#404040;--chrome-ink:#f5f5f5;--chrome-muted:#a3a3a3;--chrome-hover:#262626}.canvas-surface .app-body,.canvas-surface .main-view{width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.canvas-topbar{pointer-events:none;z-index:50;height:60px;color:var(--chrome-ink);justify-content:space-between;align-items:center;gap:14px;padding:0 18px;display:flex;position:absolute;top:0;left:0;right:0}.canvas-topbar-left,.canvas-topbar-right,.canvas-document-actions{align-items:center;gap:8px;min-width:0;display:flex}.canvas-topbar-left{flex:1}.canvas-topbar-right{flex-shrink:0}.canvas-topbar-left>*,.canvas-topbar-right>*{pointer-events:auto}.canvas-document-actions{flex-shrink:0;gap:8px;margin-left:4px}.canvas-topbar button{border-radius:7px;min-height:36px;padding:7px 11px;font-size:14px}.canvas-topbar button>svg{width:18px;height:18px}.canvas-brand{width:36px;height:36px;color:var(--chrome-ink);background:var(--chrome-bg);border:1px solid var(--chrome-border);border-radius:7px;flex-shrink:0;place-items:center;display:grid}.canvas-brand svg{width:21px;height:21px}.canvas-title{color:var(--chrome-ink);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;justify-content:flex-start;min-width:0;max-width:240px;padding:0;font-weight:500;display:block;overflow:hidden}.canvas-topbar .canvas-title{padding:0 4px;font-size:15px}.canvas-title:hover{background:0 0}.canvas-title-edit{background:var(--chrome-bg);width:180px;min-width:0;max-width:260px;color:var(--chrome-ink);border:0;border-bottom:1px solid #3b82f6;border-radius:0;padding:6px 0;font-size:14px;font-weight:700}.canvas-save,.canvas-redeem{color:var(--chrome-ink);background:var(--chrome-bg);border-color:var(--chrome-border);font-weight:400}.canvas-save:hover,.canvas-redeem:hover{background:var(--chrome-hover)}.canvas-topbar .canvas-save,.canvas-topbar .canvas-new{white-space:nowrap;gap:7px;width:auto;height:36px;padding:0 12px}.canvas-topbar .canvas-save{min-width:98px}.canvas-topbar .canvas-new{min-width:72px}.canvas-save span,.canvas-new span{display:inline}.canvas-local-status{white-space:nowrap;color:var(--chrome-muted);align-items:center;gap:4px;font-size:13px;display:flex}.canvas-local-status.failed{color:#b91c1c}.canvas-save.failed{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.canvas-new{background:var(--chrome-bg);color:var(--chrome-ink);border-color:var(--chrome-border);font-weight:400}.canvas-balance{color:#6751a4;border-color:var(--chrome-border);background:var(--chrome-bg);font-weight:500}.canvas-balance>span{color:var(--chrome-ink)}.canvas-account{position:relative}.canvas-topbar .canvas-account-button{border-color:var(--chrome-border);background:var(--chrome-bg);width:36px;height:36px;color:var(--chrome-muted);padding:0}.canvas-new:hover,.canvas-account-button:hover,.canvas-balance:hover{background:var(--chrome-hover)}.canvas-account-menu{background:var(--chrome-bg);border:1px solid var(--chrome-border);border-radius:8px;width:224px;padding:6px;position:absolute;top:44px;right:0;box-shadow:0 12px 32px #00000020}.canvas-account-menu button{width:100%;color:var(--chrome-ink);background:0 0;border:0;justify-content:flex-start}.canvas-account-menu button:hover{background:var(--chrome-hover)}.canvas-account-email{overflow-wrap:anywhere;color:var(--chrome-muted);border-bottom:1px solid var(--chrome-border);margin-bottom:4px;padding:8px 10px 12px;font-size:12px}.canvas-surface .config-status{z-index:35;background:var(--chrome-bg);color:var(--chrome-muted);border:1px solid var(--chrome-border);border-radius:6px;max-width:calc(100% - 32px);min-height:0;padding:7px 10px;font-size:11px;position:absolute;bottom:24px;right:18px}.canvas-surface .global-message{z-index:70;border-radius:6px;width:max-content;max-width:calc(100% - 32px);position:absolute;top:76px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #00000012}.canvas-library-panel{z-index:45;border:1px solid var(--chrome-border);background:var(--chrome-bg);width:360px;max-width:calc(100% - 100px);max-height:calc(100% - 175px);color:var(--chrome-ink);border-radius:8px;flex-direction:column;display:flex;position:absolute;top:90px;left:84px;overflow:hidden;box-shadow:0 16px 40px #00000026}.canvas-library-panel>header{border-bottom:1px solid var(--chrome-border);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.canvas-library-panel>header h2{font-size:14px;font-weight:700}.canvas-library-panel .icon-button{color:var(--chrome-muted);background:0 0}.canvas-library-content{min-height:0;padding:14px;overflow:auto}.canvas-library-content>.primary{background:#3b82f6;border-color:#3b82f6;width:100%}.canvas-library-content .project-list>div{border-color:var(--chrome-border)}.canvas-library-content .project-open{color:var(--chrome-ink);background:0 0}.canvas-library-content .project-open:hover{background:var(--chrome-hover)}.canvas-library-login{min-height:150px;color:var(--chrome-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.canvas-history-item{border-bottom:1px solid var(--chrome-border);padding:12px 0}.canvas-history-item:first-child{padding-top:0}.canvas-history-item>header{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.canvas-history-item p{overflow-wrap:anywhere;margin:10px 0;font-size:12px;line-height:1.6}.canvas-history-item footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.canvas-history-item small{color:var(--chrome-muted);font-size:11px}.canvas-works{grid-template-columns:1fr 1fr;gap:12px;display:grid}.canvas-work{min-width:0}.canvas-work img,.canvas-work video{aspect-ratio:1;object-fit:contain;background:var(--chrome-hover);border-radius:6px;width:100%;display:block}.canvas-work>footer{justify-content:space-between;align-items:center;gap:4px;display:flex}.canvas-work span{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}@media (width<=700px){.canvas-topbar{gap:8px;padding:0 14px}.canvas-topbar-left,.canvas-topbar-right{gap:7px}.canvas-title{max-width:140px}.canvas-title-edit{width:120px}.canvas-document-actions{gap:5px;margin-left:0}.canvas-local-status,.canvas-document-actions .canvas-local-status,.canvas-redeem span{display:none}.canvas-topbar .canvas-save{min-width:64px;padding:0 6px}.canvas-topbar .canvas-new{min-width:48px;padding:0 6px}.canvas-save>svg,.canvas-new>svg{display:none}.canvas-save,.canvas-new,.canvas-redeem{width:34px;padding:0}.canvas-balance{display:none}.canvas-surface .config-status{padding:4px 8px;bottom:12px;right:12px}.canvas-surface .config-status .status-detail{display:none}.canvas-library-panel{max-width:calc(100% - 88px);max-height:calc(100% - 176px);top:76px;left:76px}}@media (width<=380px){.canvas-topbar{padding:0 10px}.canvas-title,.canvas-title-edit{max-width:96px}.canvas-topbar .canvas-redeem{display:none}}*{box-sizing:border-box;letter-spacing:0}:root{color:#242b28;font-synthesis:none;background:#f5f7f6;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-size:14px}body{margin:0}button,input,textarea,select{font:inherit}button{min-height:36px;color:inherit;cursor:pointer;background:#fff;border:1px solid #dce2de;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;display:inline-flex}button:hover{background:#eef3f0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #23856a}input,textarea,select{color:#242b28;background:#fff;border:1px solid #d6dfd9;border-radius:5px;outline:none;min-width:0;padding:9px 10px}input:focus,textarea:focus,select:focus{border-color:#248668;box-shadow:0 0 0 2px #24866815}button.primary{color:#fff;background:#247b5c;border-color:#247b5c}button.primary:hover{background:#1d654b}h1,h2,p{margin-top:0}h1{margin:0;font-size:23px;font-weight:650;line-height:1.35}h2{margin:0;font-size:16px;font-weight:600;line-height:1.5}a{color:inherit}svg{flex-shrink:0}.muted,small{color:#747f79}.mono,code,pre{font-family:Consolas,monospace}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.app-header{z-index:20;background:#fff;border-bottom:1px solid #e2e6e3;align-items:center;gap:18px;height:62px;min-height:62px;padding:0 22px;display:flex}.brand{color:#263c32;flex-shrink:0;align-items:center;gap:9px;font-size:19px;text-decoration:none;display:flex}.brand-mark{color:#277b5d;background:#e8f2ed;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.header-divider{background:#e2e6e3;width:1px;height:23px}.canvas-heading{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.title-input{background:0 0;border-color:#0000;width:190px;max-width:100%;padding:6px 4px;font-weight:600}.title-input:hover{border-color:#dce2de}.save-state{color:#849088;white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}.save-state.failed{color:#bd4d43}.header-title{flex:1}.header-actions{flex-shrink:0;align-items:center;gap:5px;margin-left:auto;display:flex}.icon-button{background:0 0;border-color:#0000;flex-shrink:0;width:34px;height:34px;min-height:34px;padding:0}.balance-button{color:#32684e;background:#f2f6f3;border:0;margin-left:10px;padding:7px 10px}.login-button{color:#27664c;margin-left:10px}.config-status{color:#82754f;background:#faf9f4;border-bottom:1px solid #ebe8de;align-items:center;gap:8px;padding:7px 23px;font-size:12px;display:flex}.status-dot{background:#ac934d;border-radius:50%;width:6px;height:6px}.status-detail{color:#9c9480;margin-left:auto;font-size:11px}.global-message{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:5px 22px;font-size:13px;display:flex}.global-message span{overflow-wrap:anywhere}.global-message.error,.alert{color:#a6493c;background:#fff0ed}.global-message.success,.success-message{color:#26704c;background:#edf8f1}.app-body{flex:1;min-height:0;display:flex}.rail{z-index:15;background:#fff;border-right:1px solid #e2e6e3;flex-direction:column;flex-shrink:0;gap:12px;width:68px;padding:16px 6px;display:flex}.rail button{color:#89938d;background:0 0;border:0;flex-direction:column;gap:5px;min-height:54px;padding:9px 5px;display:flex}.rail button span{font-size:10px}.rail button.active{color:#277b5d;background:#edf4ef}.rail button:hover{color:#3a5545;background:#f2f5f3}.main-view{background:#fbfcfb;flex:1;min-width:0;min-height:0;overflow:auto}.editor-view{flex-direction:column;display:flex;overflow:hidden}.loading,.fatal{color:#818b85;justify-content:center;align-items:center;gap:14px;height:100%;min-height:200px;display:flex}.fatal{flex-direction:column}.page{max-width:1300px;margin:0 auto;padding:32px 36px 48px}.page-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px;display:flex}.page-subtitle{color:#8a948d;margin:6px 0 0;font-size:12px}.personal-page{max-width:980px}.personal-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;display:grid}.personal-card{background:#fff;border:1px solid #e2e8e3;border-radius:10px;padding:22px}.personal-card>header{color:#53665a;border-bottom:1px solid #edf0ee;align-items:center;gap:9px;margin-bottom:18px;padding-bottom:16px;display:flex}.personal-card h2{margin:0;font-size:15px;font-weight:600}.personal-card dl{flex-direction:column;gap:16px;margin:0;display:flex}.personal-card dl>div{justify-content:space-between;align-items:center;gap:14px;display:flex}.personal-card dt{color:#88918a;font-size:12px}.personal-card dd{color:#344238;align-items:center;gap:6px;margin:0;font-size:13px;display:flex}.personal-card dd svg{color:#7b8b80}@media (width<=700px){.personal-grid{grid-template-columns:1fr}.personal-card{padding:16px}}.tabs{border-bottom:1px solid #e0e6e1;align-items:center;gap:5px;margin-bottom:22px;padding:0 0 8px;display:flex;overflow-x:auto}.tabs button{color:#88918a;white-space:nowrap;background:0 0;border:0;font-size:13px}.tabs button.active{color:#247b5c;background:#edf5ef}.empty{color:#a1aaa4;text-align:center;padding:55px 10px;font-size:13px}.metrics{border-bottom:1px solid #e2e6e3;flex-wrap:wrap;gap:50px;margin-bottom:28px;padding:0 0 26px;display:flex}.metrics>div{flex-direction:column;gap:10px;display:flex}.metrics span{color:#8b948d;font-size:12px}.metrics strong{font-variant-numeric:tabular-nums;font-size:27px;font-weight:550;line-height:1.1}.table-scroll{overflow-x:auto}table{text-align:left;border-collapse:collapse;width:100%;font-size:12px}th{color:#87928a;white-space:nowrap;background:#f4f7f4;padding:13px 15px;font-weight:500}td{overflow-wrap:anywhere;border-bottom:1px solid #edf0ed;max-width:320px;padding:13px 15px;line-height:1.6}.section-heading{margin:24px 0 16px}.task-row{border-bottom:1px solid #e7ece8;align-items:center;gap:18px;padding:20px 0;display:flex}.task-status{color:#89948c;background:#f0f3f1;border-radius:6px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.task-status.succeeded{color:#2f8759;background:#ebf4ee}.task-status.failed,.task-status.timed_out{color:#b5654f;background:#f9eeeb}.task-info{flex:1;min-width:0}.task-info strong{font-size:13px;font-weight:600}.task-info p{color:#738077;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:7px 0;line-height:1.5;display:-webkit-box;overflow:hidden}.task-info small{font-size:11px}.state-label{color:#9a916e;white-space:nowrap;font-size:12px}.state-label.succeeded{color:#348061}.state-label.failed,.state-label.timed_out,.failure-text{color:#b66050!important}.works-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;display:grid}.work-item{background:#fff;border:1px solid #e0e6e1;border-radius:7px;overflow:hidden}.work-media{aspect-ratio:4/3;background:#f0f3f0;justify-content:center;align-items:center;display:flex}.work-media img,.work-media video{object-fit:contain;width:100%;height:100%}.work-caption{align-items:center;gap:5px;padding:7px 10px;display:flex}.work-caption>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.modal{color:#303b33;background:#fff;border:1px solid #dce3dd;border-radius:8px;width:min(440px,100vw - 24px);max-height:calc(100dvh - 40px);padding:24px;overflow:auto;box-shadow:0 18px 70px #1b2d2222}.modal.wide{width:min(720px,100vw - 24px)}.modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#14231b60}.modal header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.form-stack{flex-direction:column;gap:18px;display:flex}.form-stack label,.inline-form label,.model-form label{color:#738075;flex-direction:column;gap:8px;font-size:12px;display:flex}.form-stack input{color:#303b33;width:100%}.form-stack .primary{margin-top:5px}.text-button{color:#718777;background:0 0;border:0;font-size:12px}.alert,.success-message{overflow-wrap:anywhere;border-radius:5px;padding:12px 14px;font-size:12px;line-height:1.6}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:15px;margin:0 0 26px;display:flex}.inline-form input[type=number]{width:110px}.new-codes{border-top:1px solid #e1e8e2;border-bottom:1px solid #e1e8e2;margin:0 0 24px;padding:18px 0}.new-codes pre{-webkit-user-select:all;user-select:all;max-height:180px;font-size:13px;line-height:1.8;overflow:auto}.section-title{justify-content:space-between;align-items:center;gap:15px;display:flex}.model-form{border-bottom:1px solid #e0e6e1;flex-wrap:wrap;align-items:flex-end;gap:18px;padding:20px 0;display:flex}.model-form>div{align-self:center;margin-right:auto}.model-form code{color:#87938a;font-size:11px}.model-form input[type=number]{width:100px}.model-form .checkbox-label{flex-direction:row;align-self:center;align-items:center}.project-list{margin-top:20px}.project-list>div{border-bottom:1px solid #e4e9e4;align-items:center;display:flex}.project-open{text-align:left;border:0;flex:1;justify-content:flex-start;gap:13px;min-width:0;padding:14px 6px}.project-open span{flex-direction:column;gap:5px;min-width:0;display:flex}.project-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.project-open small{font-size:11px}@media (width<=760px){.app-header{gap:10px;height:56px;min-height:56px;padding:0 12px}.brand{gap:6px;font-size:16px}.brand-mark{width:28px;height:28px}.header-divider{display:none}.canvas-heading{gap:0}.title-input{width:140px;font-size:12px}.save-state{display:none}.header-actions{gap:1px}.header-actions .icon-button{width:30px;min-width:30px}.balance-button{margin-left:0;padding:6px}.login-button{margin-left:0;padding:6px 8px}.login-button svg{display:none}.app-body{flex-direction:column-reverse}.rail{border-top:1px solid #e2e6e3;border-right:0;flex-direction:row;justify-content:space-around;gap:0;width:100%;height:56px;min-height:56px;padding:2px 6px}.rail button{gap:2px;min-width:55px;min-height:48px;padding:4px 10px}.rail button span{font-size:9px}.config-status{padding:6px 13px;font-size:10px}.status-detail{font-size:10px}.page{padding:23px 18px 35px}.metrics{gap:26px}.metrics strong{font-size:23px}.task-row{gap:10px}.task-status{width:30px;height:30px}.state-label{font-size:10px}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-info p{font-size:12px}.task-info small{font-size:10px}.global-message{padding:4px 12px;font-size:12px}.inline-form{gap:10px}.inline-form input[type=number]{width:90px}}@media (width<=390px){.brand strong{display:none}.title-input{width:115px}.header-actions .icon-button{width:28px;min-width:28px}.works-grid{grid-template-columns:1fr}.status-detail{display:none}}
