.studio-media-play-icon{position:relative;display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:2px solid #fff;border-radius:50%;background:#fff;color:#175cd3;box-shadow:0 2px 12px #0006,0 0 0 1px #175cd340;transition:background-color .15s,color .15s,transform .15s}.studio-media-play-icon svg{width:28px;height:28px}.studio-media-play:focus-visible .studio-media-play-icon,.studio-media-play:hover .studio-media-play-icon{background:#175cd3;color:#fff;transform:scale(1.06)}.studio-asset-select:focus-visible,.studio-media-play:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.studio-asset-card{border-color:var(--studio-line,#475569);background:var(--studio-soft,#1d2837)}.studio-asset-card[data-selected=true]{border-color:#2563eb;background:color-mix(in srgb,#2563eb 12%,var(--studio-panel,#151e2a))!important;box-shadow:0 0 0 2px #2563eb!important}.studio-asset-selection{pointer-events:none;position:absolute;top:4px;left:4px;display:inline-flex;align-items:center;min-height:25px;padding:2px 6px;border:1px solid #94a3b8;border-radius:5px;background:#fff;color:#334155;box-shadow:0 1px 5px #0004;font-size:12px;font-weight:700;line-height:18px;white-space:nowrap}.studio-asset-select[aria-pressed=true] .studio-asset-selection{border-color:#fff;background:#175cd3;color:#fff}@media (prefers-reduced-motion:reduce){.studio-media-play-icon{transition:none}}.video-workspace-page{--studio-page:#0e141d;--studio-panel:#151e2a;--studio-soft:#1d2837;--studio-line:#2c394b;--studio-blue:#459cff;--studio-muted:#99a9bd}html[data-theme=xuan] .video-workspace-page{--studio-page:#f4f6f9;--studio-panel:#fff;--studio-soft:#f6f8fb;--studio-line:#e2e7ef;--studio-blue:#318fff;--studio-muted:#77869a}.video-theme:has(.studio-form-editor,.studio-project) .studio-global-caption{display:none}.video-workspace-page:has(.studio-form-editor,.studio-project){padding:10px 16px 14px;background:var(--studio-page)}.video-workspace-page:has(.studio-form-editor,.studio-project) .studio-breadcrumb{margin-bottom:10px;min-height:36px;gap:8px}.video-workspace-page:has(.studio-form-editor,.studio-project) .studio-breadcrumb select{max-width:210px;padding-top:6px;padding-bottom:6px}.studio-form-editor .studio-episode-toolbar{min-height:36px;gap:8px}.studio-form-editor .studio-episode-toolbar select{max-width:180px}.studio-form-editor .studio-split{gap:10px}.studio-form-editor :is(.studio-materials,.studio-composer,.studio-output){border-radius:9px;border-color:var(--studio-line);background:var(--studio-panel)!important}.studio-form-editor .studio-materials{padding:16px 16px 0}.studio-form-editor .studio-materials>header{margin-bottom:12px}.studio-form-editor .studio-materials>header h2{font-size:15px}.studio-form-editor .studio-materials>header p{font-size:11px}.studio-form-editor .studio-materials>footer{margin:0 -16px;padding:11px 16px;background:var(--studio-panel)}.studio-form-editor .studio-materials>footer>div{align-items:center}.studio-form-editor :is(button,summary,select,input):not([type=checkbox]):not([type=file]){border-radius:5px}.studio-form-editor .bg-cyan-400,.studio-project .bg-cyan-400{background:var(--studio-blue)!important;color:#fff!important;border-color:var(--studio-blue)}.studio-form-editor .bg-cyan-400:hover,.studio-project .bg-cyan-400:hover{filter:brightness(1.05)}.studio-upload{padding:0;border:0;border-radius:5px}.studio-upload select{max-width:80px}.studio-assets-grid{position:relative}.studio-assets-grid>[role=group]{padding-bottom:10px;gap:8px;border-bottom:0;padding-right:0}.studio-assets-grid>[role=group] button{border:1px solid var(--studio-line);border-radius:4px;padding:8px 12px}.studio-assets-grid>[role=group] button[aria-pressed=true]{background:color-mix(in srgb,var(--studio-blue) 12%,transparent);color:var(--studio-blue);border-color:color-mix(in srgb,var(--studio-blue) 45%,transparent)}.studio-assets-grid>div:nth-child(2){margin-top:0}.studio-assets-grid>div:last-child{padding-bottom:12px}.studio-assets-grid>div:last-child>.grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}.studio-assets-grid article{padding:3px;border-radius:7px;background:var(--studio-soft)!important;box-shadow:0 2px 5px #0000000b}.studio-assets-grid article>button:first-child>div{border-radius:5px;aspect-ratio:1.1}.studio-assets-grid article>div{padding-top:5px}.studio-assets-grid article>button:last-child:not(:first-child){margin-top:5px;padding:3px 2px;font-size:11px;border-color:var(--studio-line)}.studio-form-editor .studio-output>div:first-child{padding:12px 16px;gap:8px}.studio-form-editor .studio-result-filters{padding:10px 16px;gap:4px;border-bottom:1px solid var(--studio-line)}.studio-form-editor .studio-result-filters>button:not(:last-child){padding:6px 12px;border-radius:3px}.studio-form-editor .studio-result-filters>button.bg-white\/15{background:var(--studio-blue);color:#fff}.studio-result-search{padding:10px 16px;display:flex;justify-content:flex-end}.studio-result-search input{max-width:300px;font-size:12px;background:var(--studio-soft)!important}.studio-form-editor .studio-result-scroll{padding:0 16px 16px}.studio-form-editor .studio-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.studio-form-editor .studio-result-card{border-radius:9px;background:var(--studio-panel)!important;border-color:var(--studio-line);box-shadow:0 3px 9px #0000000c}.studio-form-editor .studio-result-card[data-selected=true]{border-color:var(--studio-blue);box-shadow:0 0 0 1px var(--studio-blue)}.studio-form-editor .studio-result-card>div:first-child:has(.studio-result-media){padding:0;background:#090d12}.studio-result-media>:is(img,video){width:100%;height:auto;aspect-ratio:16/10;max-height:none;object-fit:contain;border-radius:0;background:#090d12}.studio-result-media>a{margin:0!important;padding:5px 10px;background:var(--studio-panel);font-size:11px}.studio-form-editor .studio-result-card>div:last-child{padding:10px}.studio-form-editor .studio-result-card p{overflow-wrap:anywhere}.studio-form-editor .studio-result-card button{padding:5px 8px;font-size:12px}.studio-form-editor .studio-composer-header{padding:14px 16px 10px;border-bottom:0}.studio-form-editor .studio-composer-header h2{font-size:16px}.studio-form-editor .studio-composer-header p{display:none}.studio-form-editor .studio-composer-body{display:flex;flex-direction:column;padding:8px 16px 12px;gap:12px}.studio-form-editor .studio-composer-body>*{margin-top:0!important}.studio-form-editor .studio-reference-toolbar h3{font-size:12px}.studio-form-editor .studio-references{flex-shrink:0;gap:8px;max-height:120px}.studio-form-editor .studio-references>div{width:78px}.studio-form-editor .studio-references>p{padding:12px;width:100%}.studio-form-editor .studio-prompt{flex:1;display:flex;flex-direction:column;min-height:180px;font-size:12px}.studio-form-editor .studio-prompt>div{flex:1;display:flex;flex-direction:column;min-height:0}.studio-form-editor .studio-prompt>div>.relative{flex:1;display:flex;min-height:150px}.studio-form-editor .studio-prompt textarea{flex:1;min-height:150px;height:100%;margin-top:7px;resize:none;font-size:14px;background:var(--studio-panel)!important}.studio-form-editor .studio-composer-footer{padding:12px 16px;background:var(--studio-panel)!important}.studio-form-editor .studio-composer-footer>div:first-child{align-items:end}.studio-form-editor .studio-composer-footer select{margin-top:5px}.studio-form-editor .studio-composer-footer>div:last-child>span{font-size:11px}.studio-reference-menu>summary{list-style:none}.studio-reference-menu>summary::-webkit-details-marker{display:none}.studio-project{display:flex;flex-direction:column;min-height:calc(100dvh - 135px)}.studio-project>*{margin-top:0!important}.studio-project-toolbar{padding:16px 0 28px}.studio-project-tabs{padding:5px!important;background:var(--studio-panel)!important;border:1px solid var(--studio-line);border-radius:30px!important}.studio-project-tabs button{border-radius:24px;padding:9px 20px}.studio-project-toolbar input{font-size:12px;background:var(--studio-panel)!important;border-color:var(--studio-line);border-radius:4px}.studio-episodes{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:24px;padding:5px 3px 28px}.studio-episode-card,.studio-new-episode{min-height:196px;height:196px;border-radius:10px;padding:16px}.studio-episode-card{background:var(--studio-panel)!important;border:1px solid var(--studio-line);box-shadow:0 4px 12px #0000000a}.studio-episode-card:hover{border-color:var(--studio-blue);transform:translateY(-2px)}.studio-episode-card>div:first-child{font-size:10px}.studio-episode-card>div:nth-child(2){padding:12px}.studio-episode-card>div:last-child{justify-content:center}.studio-episode-card>div:last-child>span,.studio-episode-card>p:empty{display:none}.studio-episode-card>p{margin:0;text-align:center}.studio-clapper{width:76px;height:58px;border-radius:6px;border-top:10px solid #bfe1ff;background:var(--studio-blue);color:#fff!important}.studio-new-episode{border-color:#59bf80!important;color:#43af70!important;background:var(--studio-panel)!important}.studio-new-episode>span:first-child{font-size:56px}.studio-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;flex-shrink:0;min-height:60px;padding:10px 16px;border-top:1px solid var(--studio-line);background:var(--studio-panel);color:var(--studio-muted);font-size:12px}.studio-project>.studio-pagination{margin-top:auto!important;border-radius:7px}.studio-pagination button{border:0;border-radius:8px;width:36px;height:34px;background:var(--studio-soft);font-size:22px}.studio-pagination button:disabled{opacity:.4;cursor:not-allowed}.studio-page-number{padding:8px 12px;border-radius:6px;background:var(--studio-blue);color:#fff;font-variant-numeric:tabular-nums}@media (min-width:1024px){.studio-form-editor .studio-split{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);height:calc(100dvh - 190px);min-height:480px}}@media (min-width:1280px){.studio-form-editor .studio-assets-grid>div:nth-child(2):has(>button){position:absolute;top:0;right:0}.studio-form-editor .studio-assets-grid>[role=group]{padding-right:180px}}@media (min-width:1440px){.studio-form-editor .studio-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1750px){.studio-episodes{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:1023px){.studio-form-editor .studio-materials{min-height:400px;max-height:600px}.studio-form-editor .studio-composer{min-height:680px}.studio-form-editor .studio-output{min-height:420px}.studio-form-editor .studio-result-scroll{max-height:680px}}@media (max-width:600px){.video-workspace-page:has(.studio-form-editor,.studio-project){padding:8px}.studio-project-toolbar{padding:6px 0 16px}.studio-project-tabs{border-radius:8px!important}.studio-project-tabs button{padding:8px 10px}.studio-episodes{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-episode-card,.studio-new-episode{height:170px;min-height:170px;padding:10px}.studio-form-editor .studio-result-grid{grid-template-columns:minmax(0,1fr)}.studio-form-editor .studio-reference-toolbar{align-items:flex-start}.studio-form-editor .studio-reference-toolbar>div{flex-wrap:wrap}.studio-form-editor .studio-composer-footer>div:last-child,.studio-pagination{gap:8px}}.studio-form-editor .studio-prompt-assistant{flex:1;display:flex;flex-direction:column;min-height:220px}.studio-form-editor .studio-prompt-assistant>[role=group]{flex-shrink:0}.studio-form-editor .studio-prompt-helper{flex:1}.studio-form-editor .studio-prompt-helper>section{padding:12px}.studio-form-editor .studio-prompt-helper textarea{resize:vertical}.studio-form-editor .studio-prompt-helper select{max-width:100%}.studio-form-editor .studio-references-compact{flex-shrink:0;min-height:26px}.studio-form-editor .studio-references-compact>div{width:130px}.studio-form-editor .studio-references-compact>div>button{display:none}.studio-form-editor .studio-references-compact>div>span{margin:0;padding:5px 8px;border-radius:4px;background:var(--studio-soft)}.studio-form-editor .studio-video-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px}.studio-video-toolbar h2{margin-right:auto;white-space:nowrap}.studio-video-toolbar input{width:min(190px,45%);font-size:12px}.studio-video-toolbar>button{padding:7px 10px;font-size:12px}.studio-compact-result .studio-result-media{position:relative}.studio-compact-result .studio-result-media>video{aspect-ratio:16/9}.studio-form-editor .studio-compact-result .studio-result-media>a{position:absolute;top:7px;right:7px;padding:3px 7px;border-radius:4px;background:#0009!important;color:#fff!important;font-size:10px}.studio-video-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;font-size:12px;cursor:pointer;list-style:none}.studio-video-details>summary::-webkit-details-marker{display:none}.studio-video-details-label{display:flex;gap:6px;color:var(--studio-muted);font-size:11px}.studio-video-details[open] .studio-video-details-label>span{transform:rotate(180deg)}.studio-video-details p{overflow-wrap:anywhere}.studio-form-editor .studio-composer-header>span{display:none}.studio-form-editor .studio-unified-footer{display:flex;align-items:center;gap:8px;padding:12px 16px;min-height:62px}.studio-form-editor .studio-unified-footer>*{margin:0!important}.studio-form-editor .studio-video-controls{display:flex;align-items:center!important;min-width:0;flex:1;gap:8px}.studio-form-editor .studio-video-controls>label{min-width:80px;flex:1}.studio-form-editor .studio-video-controls .studio-model-label{display:none}.studio-form-editor .studio-unified-footer select{margin:0;font-size:12px;height:36px}.studio-form-editor .studio-video-controls>details>summary{padding:6px 8px;white-space:nowrap;line-height:22px}.studio-cost-action{display:flex;align-items:center;gap:6px;flex-shrink:0}.studio-cost-action>button{white-space:nowrap;font-size:12px;min-height:36px}.studio-footer-popover{position:relative}.studio-footer-popover>summary{list-style:none;cursor:pointer;white-space:nowrap;font-size:12px}.studio-footer-popover>summary::-webkit-details-marker{display:none}.studio-popover-content{position:absolute;bottom:calc(100% + 14px);right:0;z-index:35;width:min(400px,85vw);max-height:55vh;overflow-y:auto;padding:14px;border:1px solid var(--studio-line);border-radius:8px;background:var(--studio-panel);box-shadow:0 6px 24px #0002}.studio-form-editor .studio-unified-footer>div:has(.studio-ai-footer){width:100%;min-width:0}.studio-ai-footer{display:flex;align-items:center;gap:8px}.studio-ai-footer>select{flex:1;min-width:80px}.studio-form-editor .studio-prompt-helper{display:flex;flex-direction:column;min-height:0}.studio-ai-steps{display:flex;gap:8px}.studio-ai-steps button{font-size:12px;border:none}.studio-ai-steps button[aria-pressed=true]{color:var(--studio-blue);background:var(--studio-soft)}.studio-ai-story{flex:1;display:flex;flex-direction:column;min-height:160px}.studio-form-editor .studio-ai-story textarea{flex:1;min-height:180px;resize:none}.studio-form-editor .studio-prompt-helper>section{padding:0;border:0;flex:1;display:flex;flex-direction:column}.studio-form-editor .studio-prompt-helper>section>textarea{flex:1;min-height:200px;resize:none}.studio-form-editor .studio-video-open{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px;text-align:left}.studio-video-open>span:last-child{color:var(--studio-muted);font-size:11px}.studio-form-editor .studio-material-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.studio-form-editor .studio-material-footer>p{margin:0 auto 0 0}.studio-form-editor .studio-material-footer>div{margin:0;flex:1;justify-content:flex-end}.studio-video-detail{position:fixed;inset:0;margin:auto;width:96vw;height:92dvh;max-width:1800px;max-height:96dvh;padding:0;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-panel);color:inherit}.studio-video-detail[open]{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr)}.studio-video-detail::backdrop{background:#000b}.studio-detail-player{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;background:#000!important;padding:40px 20px}.studio-detail-player>div{width:100%}.studio-detail-player video{max-height:76dvh}.studio-detail-player a{color:#fff!important}.studio-detail-close{position:absolute;top:8px;left:16px;z-index:1;font-size:32px;color:#fff!important}.studio-detail-sidebar{display:flex;flex-direction:column;min-height:0;background:var(--studio-panel)}.studio-detail-sidebar>header{padding:20px;border-bottom:1px solid var(--studio-line)}.studio-detail-content{flex:1;overflow:auto;padding:20px}.studio-detail-refs{display:flex;gap:8px;overflow-x:auto;margin-bottom:20px}.studio-detail-refs>div{width:72px;flex-shrink:0;font-size:11px}.studio-detail-sidebar>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--studio-line)}@media (max-width:1279px){.studio-form-editor .studio-unified-footer{flex-wrap:wrap}.studio-form-editor .studio-video-controls{flex-basis:55%}.studio-ai-footer{flex-wrap:wrap}}@media (max-width:700px){.studio-video-detail[open]{display:flex;flex-direction:column}.studio-detail-player{flex-shrink:0;padding:36px 12px 12px}.studio-detail-player video{max-height:30dvh}.studio-detail-sidebar{flex:1}}.studio-video-controls{position:relative}.studio-video-controls>.studio-generation-settings{position:static}.studio-video-controls>.studio-generation-settings>div{left:0;right:auto;max-width:calc(100vw - 32px)}.studio-task-drawer{position:fixed;inset:0 auto 0 0;margin:0!important;padding:0;width:min(860px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-right:1px solid var(--studio-line);border-radius:0;background:var(--studio-panel,#151e2a);color:#e2e8f0;box-shadow:12px 0 48px #0005}.studio-task-drawer[open]{display:flex;flex-direction:column}html[data-theme=xuan] .studio-task-drawer{color:#0f172a}.studio-task-drawer::backdrop{background:#060c18a6}.studio-task-drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 16px}.studio-task-drawer-header h2{font-size:20px;font-weight:700}.studio-task-drawer-header p{margin-top:5px;font-size:12px;color:var(--studio-muted)}.studio-task-drawer-close{width:36px;height:36px;font-size:28px;line-height:1;background:var(--studio-soft)}.studio-task-tabs{display:flex;gap:24px;flex-shrink:0;margin:0 24px;border-bottom:1px solid var(--studio-line)}.studio-task-tabs [role=tab]{padding:12px 0;border-radius:0!important;border-bottom:3px solid transparent;font-size:14px;font-weight:600;color:var(--studio-muted)}.studio-task-tabs [aria-selected=true]{border-color:var(--studio-blue);color:var(--studio-blue)}.studio-task-drawer :is(button,summary):focus-visible{outline:2px solid var(--studio-blue);outline-offset:3px}.studio-task-drawer-body{min-height:0;flex:1;overflow-y:auto;padding:20px 24px}.studio-task-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.studio-task-counts>div{padding:14px;border:1px solid var(--studio-line);border-radius:8px;background:var(--studio-soft)}.studio-task-counts strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.studio-task-counts span{font-size:12px;color:var(--studio-muted)}.studio-task-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}.studio-task-filters input{flex:1;min-width:180px}.studio-task-filters select{width:auto}.studio-task-filters>button{margin-left:auto;white-space:nowrap}.studio-task-table-scroll{overflow-x:auto}.studio-task-table{width:100%;min-width:540px;border-collapse:collapse;font-size:12px}.studio-task-table th{text-align:left;white-space:nowrap;background:var(--studio-soft);font-weight:600}.studio-task-table :is(th,td){padding:14px 10px;border-bottom:1px solid var(--studio-line);vertical-align:top}.studio-task-table td:first-child{max-width:270px}.studio-task-table time{display:block;margin:6px 0;color:var(--studio-muted);white-space:nowrap;font-size:11px}.studio-task-table summary{cursor:pointer;color:var(--studio-blue)}.studio-task-table details p{margin-top:8px;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.studio-task-table td>button{white-space:nowrap;font-size:12px}.studio-task-status{display:inline-block;padding:4px 7px;white-space:nowrap;border-radius:5px;background:var(--studio-soft)}.studio-task-status[data-state=done]{background:#dcfce7;color:#166534}.studio-task-status:is([data-state=running],[data-state=polling],[data-state=submitting]){background:#dbeafe;color:#1e40af}.studio-task-status:is([data-state=blocked],[data-state=uncertain],[data-state=invalid_output],[data-state=failed]){background:#fff1f2;color:#9f1239}.studio-task-muted,.studio-task-note{color:var(--studio-muted);font-size:12px}.studio-task-note{padding-top:16px;line-height:1.7}.studio-task-empty{padding:60px 16px;text-align:center;color:var(--studio-muted);font-size:14px}.studio-task-drawer-footer{flex-shrink:0;border-top:1px solid var(--studio-line);padding:16px 24px;color:var(--studio-muted);font-size:12px}@media (max-width:600px){.studio-task-drawer-body,.studio-task-drawer-footer,.studio-task-drawer-header{padding-left:16px;padding-right:16px}.studio-task-tabs{margin:0 16px;gap:18px}.studio-task-counts>div{padding:10px}}.react-flow{direction:ltr;--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,100%,.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:hsla(0,0%,94%,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,.08);--xy-selection-border-default:1px dotted rgba(0,89,220,.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,59%,.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px hsla(0,0%,100%,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,.08);--xy-selection-border-default:1px dotted rgba(200,200,220,.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{position:absolute;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__minimap{background:var(
    --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))
  )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(
      --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))
    );stroke:var(
      --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))
    );stroke-width:var(
      --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))
    )}.react-flow__minimap-node{fill:var(
      --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))
    );stroke:var(
      --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))
    );stroke-width:var(
      --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))
    )}.react-flow__background-pattern.dots{fill:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))
    )}.react-flow__background-pattern.lines{stroke:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))
    )}.react-flow__background-pattern.cross{stroke:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))
    )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border-bottom:1px solid var(
        --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
      );color:var(
      --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))
    );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{padding:10px;border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default))}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(
        --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))
      );color:var(
        --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))
      )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(
        --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
      )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.studio-canvas .react-flow__edge-reference{cursor:pointer}.studio-canvas .react-flow__edge-reference.selected .studio-reference-path,.studio-canvas .react-flow__edge-reference:hover .studio-reference-path{filter:drop-shadow(0 0 4px #67e8f9);stroke:#cffafe}.studio-edge-tools{position:absolute;display:flex;pointer-events:all;border:1px solid #3c6375;border-radius:8px;background:#172630;color:#a5f3fc;box-shadow:0 2px 8px #0006;overflow:hidden}.studio-edge-tools button{min-height:30px;padding:4px 10px;font-size:12px;white-space:nowrap;cursor:pointer}.studio-edge-tools button:focus-visible,.studio-edge-tools button:hover{background:#284655;outline:2px solid #a5f3fc;outline-offset:-2px}.studio-edge-tools.is-selected{border-color:#a5f3fc;box-shadow:0 0 0 2px #67e8f933}.studio-edge-tools .studio-edge-disconnect{border-left:1px solid #3c6375;color:#fda4af}.studio-canvas .studio-connect-handle{background:transparent;border:0;display:grid;place-items:center;cursor:crosshair}.studio-connect-handle:before{content:"";position:absolute;width:var(--port-hit);height:var(--port-hit);top:50%;left:50%;transform:translate(-50%,-50%)}.studio-connect-handle:after{content:"";width:var(--port-dot);height:var(--port-dot);border-radius:50%;background:#67e8f9;box-shadow:0 0 0 2px #12333e;pointer-events:none}.studio-connect-handle.connectingfrom:after,.studio-connect-handle.valid:after,.studio-connect-handle:focus-visible:after,.studio-connect-handle:hover:after{background:#ecfeff;box-shadow:0 0 0 5px #67e8f944,0 0 12px #67e8f9}.studio-canvas-action,.studio-canvas-selection button{border:1px solid #3c6375;border-radius:7px;padding:7px 10px;color:#cffafe;background:#172630;font-size:12px}.studio-canvas-selection{bottom:48px;left:50%;transform:translateX(-50%);z-index:12;display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:calc(100% - 32px);padding:8px 12px;font-size:12px;box-shadow:0 4px 20px #0006}.studio-canvas-menu,.studio-canvas-selection{position:absolute;border:1px solid #3c6375;border-radius:12px;background:#141d29;color:#e2e8f0}.studio-canvas-menu{z-index:30;width:225px;padding:8px;box-shadow:0 8px 24px #0008}.studio-canvas-menu p{padding:6px 10px;color:#94a3b8;font-size:12px}.studio-canvas-menu button{display:block;width:100%;padding:9px 10px;border-radius:6px;text-align:left;font-size:13px}.studio-canvas-action:hover,.studio-canvas-menu button:focus-visible,.studio-canvas-menu button:hover,.studio-canvas-selection button:hover{background:#284655}.studio-canvas-help{position:absolute;top:78px;left:16px;z-index:25;width:min(410px,calc(100% - 32px));padding:18px;border:1px solid #3c6375;border-radius:12px;background:#141d29;color:#cbd5e1;box-shadow:0 8px 24px #0008;font-size:13px;line-height:1.8}.studio-canvas-help button{float:right;font-size:20px;padding:0 6px}.studio-canvas-help p{margin-top:10px}.studio-canvas button[aria-pressed=true]{background:#164e63;border-color:#67e8f9;color:#ecfeff}.studio-canvas-modal{position:fixed;inset:0;z-index:150;background:#020617b8;display:flex;align-items:center;justify-content:center;padding:20px}.studio-canvas-modal>section{display:flex;flex-direction:column;gap:16px;width:min(640px,100%);max-height:88vh;overflow:auto;overscroll-behavior:contain;padding:24px;border:1px solid #3c6375;border-radius:16px;background:#141d29;color:#e2e8f0;box-shadow:0 16px 64px #0009}.studio-canvas-modal header{display:flex;align-items:center;justify-content:space-between;gap:16px}.studio-canvas-modal h2{font-size:18px;font-weight:600}