/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--bg:#090a0d;--panel:#15171c;--line:#292c34;--text:#e7e8ec;--muted:#777d89}*{box-sizing:border-box}html,body{width:100%;height:100%;overflow:hidden}body{background:var(--bg);color:var(--text);margin:0;font-family:Segoe UI,Microsoft YaHei,ui-sans-serif,system-ui,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}.minimal-studio{background:var(--canvas-bg,#090a0d);width:100vw;height:100vh;color:var(--ui-text,#dfe3ea);position:relative;overflow:hidden}.canvas-stage{position:absolute;inset:0}.canvas-stage.import-active{outline-offset:-12px;background:#529b7c0f;outline:2px dashed #83d8b4}.canvas-stage.import-active:after{content:"松开以创建图片节点";z-index:4;color:#b6f1d4;pointer-events:none;background:#14251e;border:1px solid #78cda8;border-radius:8px;padding:12px 18px;font-size:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 30px #0008}.canvas-stage.with-chat{right:420px}.canvas-stage.with-media{right:min(460px,92vw)}.react-flow{background:var(--canvas-bg,#090a0d)}.react-flow__pane{cursor:crosshair}.react-flow__pane.dragging{cursor:grabbing}.react-flow__edge-path{stroke:#5d626d}.react-flow__edge.selected .react-flow__edge-path{stroke:#e5e7eb}.react-flow__edge:hover .react-flow__edge-path{stroke:#aeb4be}.edge-hover-target{pointer-events:stroke}.edge-delete{z-index:3;color:#b8bdc6;opacity:0;pointer-events:all;cursor:pointer;background:#202329e6;border:1px solid #535965;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;transition:opacity .15s,color .15s,border-color .15s;display:grid;position:absolute;box-shadow:0 4px 12px #0008}.edge-delete.visible{opacity:.38}:is(.edge-delete:hover,.edge-delete:focus-visible){color:#ff95a4;opacity:1;background:#352229;border-color:#87505a}.react-flow__arrowhead polyline{fill:#777d88;stroke:#777d88}.minimal-studio .react-flow__selection,.minimal-studio .react-flow__nodesselection-rect{border:1px solid var(--ui-accent,#8ee8c0)!important;background:var(--ui-accent,#8ee8c0)!important}@supports (color:color-mix(in lab, red, red)){.minimal-studio .react-flow__selection,.minimal-studio .react-flow__nodesselection-rect{background:color-mix(in srgb,var(--ui-accent,#8ee8c0) 12%,transparent)!important}}.minimal-studio .react-flow__selection,.minimal-studio .react-flow__nodesselection-rect{box-shadow:0 0 0 1px #0005,0 8px 30px #0004}.react-flow__minimap{background:#17191e;border:1px solid #444852;border-radius:7px;width:130px;height:86px;margin:0 20px 18px 0;box-shadow:0 12px 35px #0008}.react-flow__attribution{display:none}.left-dock{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#14161bf5;border:1px solid #30333a;border-radius:13px;flex-direction:column;align-items:center;gap:4px;width:46px;padding:7px 5px;display:flex;position:fixed;top:50%;left:16px;transform:translateY(-50%);box-shadow:0 14px 45px #0008}.left-dock button,.dock-logo{color:#8b909b;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;transition:all .16s;display:grid}.dock-logo{color:#f3cb70;background:#222118;margin-bottom:3px}.left-dock button:hover{color:#fff;background:#2a2d34;transform:translateY(-1px)}.left-dock button.active{color:#8ee8c0;background:#21342c}.left-dock span{background:#30333a;width:26px;height:1px;margin:4px 0}.top-float{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#14161bf0;border:1px solid #30333a;border-radius:12px;align-items:center;gap:5px;height:42px;padding:0 5px 0 14px;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 12px 40px #0007}.minimal-studio.media-open .top-float{left:calc(50% - 230px)}.minimal-studio.chat-open .top-float{left:calc(50% - 210px)}.project-mark{border-right:1px solid #30333a;align-items:center;gap:10px;min-width:220px;padding-right:13px;display:flex}.project-mark strong{letter-spacing:.12em;font-size:10px}.project-mark span{color:#696f7a;font-size:9px}.project-mark input{color:#e2e4e8;background:0 0;border:1px solid #0000;border-radius:5px;outline:0;width:105px;padding:3px 5px;font-weight:650}.project-mark input:hover,.project-mark input:focus{background:#1b1e24;border-color:#3b3f48}.top-float button{color:#a0a5af;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;align-items:center;gap:7px;height:32px;padding:0 10px;font-size:10px;display:flex}.top-float button:hover,.top-float button.active{color:#fff;background:#292c33}.top-float .api-top{color:#d8dbe1;position:relative}.top-float .api-top i{background:#45d58a;border-radius:50%;width:6px;height:6px;box-shadow:0 0 8px #45d58a}.canvas-popover{z-index:35;background:#17191e;border:1px solid #343740;border-radius:10px;width:190px;padding:7px;position:fixed;top:66px;left:calc(50% + 40px);box-shadow:0 18px 50px #0009}.canvas-popover.theme-open{width:270px;max-height:calc(100vh - 86px);overflow-y:auto}.canvas-popover button{color:#9da2ac;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;width:100%;height:35px;padding:0 9px;font-size:10px;display:flex}.canvas-popover button:hover{color:#fff;background:#24272e}.canvas-popover button span{text-align:left;flex:1}.canvas-popover button i{background:#353943;border-radius:7px;width:20px;height:11px;position:relative}.canvas-popover button i:after{content:"";background:#818793;border-radius:50%;width:7px;height:7px;transition:all .15s;position:absolute;top:2px;left:2px}.canvas-popover button i.on{background:#376955}.canvas-popover button i.on:after{background:#7fe2b3;left:11px}.canvas-popover button:disabled{opacity:.48;cursor:progress}.workflow-import-overlay{z-index:121;color:#b8efd5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;background:#17251ff2;border:1px solid #507765;border-radius:9px;max-width:min(460px,100vw - 32px);padding:10px 15px;font-size:11px;position:fixed;top:76px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #000a}.canvas-theme-controls{background:#121419;border:1px solid #30343c;border-radius:8px;margin:3px 2px 7px;padding:10px}.canvas-theme-title{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.canvas-theme-title strong{color:var(--ui-text,#dfe3ea);font-size:11px}.canvas-theme-title span{color:#676e79;font-size:9px}.canvas-theme-presets{grid-template-columns:repeat(6,1fr);gap:7px;margin-bottom:10px;display:grid}.canvas-theme-presets .theme-preset{background:radial-gradient(circle at 68% 32%,var(--preset-accent) 0 20%,transparent 22%),linear-gradient(135deg,var(--preset-grid) 0 42%,var(--preset-canvas) 44% 100%);border:1px solid #454a54;border-radius:50%;width:28px;height:28px;padding:0;box-shadow:0 2px 8px #0007}.canvas-theme-presets .theme-preset:hover{border-color:var(--ui-accent,#8ee8c0);transform:translateY(-1px)}.canvas-theme-fields{flex-direction:column;gap:5px;display:flex}.canvas-theme-fields label{min-height:32px;color:var(--ui-text,#dfe3ea);border-radius:6px;grid-template-columns:1fr auto 25px;align-items:center;gap:7px;padding:0 6px;font-size:10px;display:grid}.canvas-theme-fields label:hover{background:#1d2026}.canvas-theme-fields code{color:#6f7682;font-family:Cascadia Mono,Consolas,monospace;font-size:8px}.canvas-theme-fields input[type=color]{cursor:pointer;background:#20232a;border:1px solid #464b55;border-radius:6px;width:24px;height:24px;padding:2px}.canvas-theme-fields input[type=color]::-webkit-color-swatch-wrapper{padding:0}.canvas-theme-fields input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.canvas-popover .canvas-theme-controls .theme-reset{color:#7f8793;border:1px solid #343943;justify-content:center;height:29px;margin-top:8px;font-size:10px}.canvas-popover .canvas-theme-controls .theme-reset:hover{color:var(--ui-text,#dfe3ea);border-color:#505762}.minimal-studio .left-dock button,.minimal-studio .top-float button,.minimal-studio .canvas-popover>button,.minimal-studio .project-mark input,.minimal-studio .project-mark span,.minimal-studio .create-menu button,.minimal-studio .create-menu>div,.minimal-studio .flow-card header span,.minimal-studio .upload-zone strong,.minimal-studio .node-textarea,.minimal-studio .upstream-pill,.minimal-studio .generator-empty,.minimal-studio .node-controls select{color:var(--ui-text,#dfe3ea)}.minimal-studio .dock-logo,.minimal-studio .left-dock button.active,.minimal-studio .chat-panel>header>div,.minimal-studio .chat-compose button{color:var(--ui-accent,#8ee8c0)}.minimal-studio .top-float .api-top i{background:var(--ui-accent,#8ee8c0);box-shadow:0 0 8px var(--ui-accent,#8ee8c0)}.minimal-studio .top-float .api-top.unavailable i{background:#d79a59;box-shadow:0 0 8px #d79a598c}.minimal-studio .flow-card.selected{border-color:var(--ui-accent,#8ee8c0);box-shadow:0 0 0 2px var(--ui-accent,#8ee8c0),0 18px 44px #0009}@supports (color:color-mix(in lab, red, red)){.minimal-studio .flow-card.selected{box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-accent,#8ee8c0) 24%,transparent),0 18px 44px #0009}}.flow-card{--accent:#999;color:#dfe1e6;background:#17191d;border:1px solid #272b32;border-radius:10px;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;transition:border-color .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden;box-shadow:0 15px 38px #0006}.flow-card:hover{border-color:#353b44}.flow-card.selected{border-color:#606875;box-shadow:0 0 0 1px #777d8930,0 18px 44px #0008}.flow-card header{height:38px;color:var(--accent);flex:none;align-items:center;gap:7px;padding:0 11px;display:flex}.node-resize-line{opacity:.72;z-index:10!important;border-color:var(--ui-accent,#8ee8c0)!important}.node-resize-handle{z-index:11!important;background:var(--ui-accent,#8ee8c0)!important;border:1px solid #0d1612!important;border-radius:3px!important;width:9px!important;height:9px!important;box-shadow:0 2px 8px #0009!important}.flow-card header span{color:#aeb2bb;flex:1;font-size:10px}.node-state{color:#6f7580;opacity:0;background:#24272d;border-radius:4px;padding:2px 5px;font-size:7px;font-style:normal;transition:opacity .15s}.flow-card:hover .node-state,.flow-card.selected .node-state,.node-state.is-critical{opacity:1}.node-state.running{color:#77a7ff}.node-state.success{color:#65d99e}.node-state.failed{color:#ff788d}.node-delete{color:#d8dbe2;cursor:pointer;opacity:0;pointer-events:none;background:#25282e;border:1px solid #383c45;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;transition:opacity .15s,background .15s,border-color .15s,color .15s,transform .15s;display:grid;box-shadow:0 3px 10px #0007}.flow-card:hover .node-delete,.flow-card.selected .node-delete{opacity:.92;pointer-events:auto}.node-delete:focus-visible{opacity:.92;pointer-events:auto}.node-delete:hover{color:#ff8c9c;background:#3a2229;border-color:#75414b;transform:scale(1.06)}.node-delete:focus-visible{outline-offset:2px;outline:2px solid #86a9ff}.canvas-locked .node-delete,.canvas-locked .result-node-delete,.canvas-locked .edge-delete{opacity:0!important;pointer-events:none!important}.canvas-locked .flow-card input,.canvas-locked .flow-card textarea,.canvas-locked .flow-card select,.canvas-locked .flow-card button,.canvas-locked .flow-card label,.canvas-locked .flow-card .port{pointer-events:none!important}.canvas-locked .node-resize-line,.canvas-locked .node-resize-handle{opacity:0!important;pointer-events:none!important}.canvas-locked .left-dock button:disabled{opacity:.28;cursor:not-allowed}.port{background:#dadde4!important;border:2px solid #17191d!important;width:12px!important;height:12px!important;transition:transform .15s,box-shadow .15s!important;box-shadow:0 0 0 1px #555b66!important}.port:hover,.port.connectingto{transform:scale(1.45);box-shadow:0 0 0 5px #91a8d52f!important}.port-prompt{background:#aa94e8!important;top:48%!important}.port-image{background:#8eaeef!important;top:31%!important}.port-output{background:var(--accent)!important}.port.port-rail{z-index:8;opacity:1;cursor:crosshair;touch-action:none;min-height:24px;width:24px!important;height:24px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:50%!important;transition:background .15s,box-shadow .15s!important;transform:translateY(-50%)!important}.port.port-rail.port-target,.port.port-rail.port-source{height:24px!important}.port.port-rail.react-flow__handle-left{left:-12px!important}.port.port-rail.react-flow__handle-right{right:-12px!important}.port.port-rail:after{content:"";pointer-events:none;opacity:.82;background:#c4cad4;border:2px solid #17191d;border-radius:50%;width:10px;height:10px;transition:transform .15s,opacity .15s,box-shadow .15s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #59616e,0 2px 8px #0007}.port.port-rail.port-prompt:after{background:#aa94e8}.port.port-rail.port-image:after{background:#8eaeef}.port.port-rail.port-output:after{background:var(--accent)}.port.port-rail:hover,.port.port-rail.connectingto,.port.port-rail.connecting{background:var(--ui-accent,#8ee8c0)!important}@supports (color:color-mix(in lab, red, red)){.port.port-rail:hover,.port.port-rail.connectingto,.port.port-rail.connecting{background:color-mix(in srgb,var(--ui-accent,#8ee8c0) 13%,transparent)!important}}.port.port-rail:hover,.port.port-rail.connectingto,.port.port-rail.connecting{box-shadow:0 0 0 3px var(--ui-accent,#8ee8c0)!important}@supports (color:color-mix(in lab, red, red)){.port.port-rail:hover,.port.port-rail.connectingto,.port.port-rail.connecting{box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent,#8ee8c0) 16%,transparent)!important}}.port.port-rail.port-prompt:hover,.port.port-rail.port-prompt.connectingto,.port.port-rail.port-prompt.connecting{background:#aa94e824!important}.port.port-rail.port-image:hover,.port.port-rail.port-image.connectingto,.port.port-rail.port-image.connecting{background:#8eaeef24!important}.port.port-rail:hover:after,.port.port-rail.connectingto:after,.port.port-rail.connecting:after{opacity:1;transform:translate(-50%,-50%)scale(1.18);box-shadow:0 0 0 4px #91a8d52f,0 2px 8px #0008}.upload-zone{color:#747a84;cursor:grab;background:#15171b;border-top:1px solid #25282e;border-radius:0 0 11px 11px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:9px;min-height:0;margin:0;display:flex;overflow:hidden}.upload-zone:active{cursor:grabbing}.upload-zone:hover{background:#191b20}.upload-picker strong{color:#dadde3;cursor:pointer;border:1px solid #464b55;border-radius:7px;padding:8px 15px;font-size:10px;font-weight:550;display:block}.upload-picker:hover strong{color:#fff;background:#20242a;border-color:#626a76}.upload-zone span{text-align:center;color:#626873;font-size:8px;line-height:1.6}.upload-zone input,.upload-add-tile input,.reference-add input{display:none}.upload-empty{flex-direction:column;justify-content:center;align-items:center;gap:9px;width:100%;height:100%;display:flex}.upload-empty>svg,.upload-empty>span{pointer-events:none}.upload-gallery{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));grid-auto-rows:minmax(72px,1fr);align-content:start;gap:8px;width:100%;height:100%;padding:10px;display:grid;position:relative;overflow:auto}.upload-gallery-item{background:#0e1014;border:1px solid #343942;border-radius:7px;min-width:0;min-height:0;margin:0;position:relative;overflow:hidden}.upload-gallery-item img{object-fit:contain;cursor:grab;background:#101115;width:100%;height:100%;display:block}.upload-gallery-item img:active{cursor:grabbing}.upload-gallery-item>b,.reference-chip b{color:#fff;pointer-events:none;background:#11151bcc;border:1px solid #fff5;border-radius:5px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:650;display:grid;position:absolute;top:4px;left:4px}.upload-image-remove{color:#ffb1bf;cursor:pointer;opacity:0;background:#2b1d24e8;border:1px solid #5a4048;border-radius:50%;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;top:3px;right:3px}.upload-gallery-item:hover .upload-image-remove{opacity:1}.upload-image-remove:focus-visible{opacity:1}.upload-add-tile{color:#9ba2ae;cursor:pointer;background:#171a20;border:1px dashed #4a515d;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:72px;font-size:10px;display:flex}.upload-add-tile:hover{color:#d9e5ff;background:#1d222b;border-color:#7f9fce}.upload-edit-button,.result-edit-button{z-index:5;color:#9ce9c4;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#142b22e8;border:1px solid #547a6a;border-radius:7px;align-items:center;gap:6px;height:31px;padding:0 10px;font-size:11px;transition:opacity .15s,background .15s,border-color .15s,color .15s;display:flex;position:absolute;bottom:10px;left:10px;box-shadow:0 8px 22px #0009}.flow-card:hover .upload-edit-button,.flow-card:hover .result-edit-button,.flow-card.selected .upload-edit-button,.flow-card.selected .result-edit-button{opacity:1;pointer-events:auto}.upload-edit-button:focus-visible{opacity:1;pointer-events:auto}.result-edit-button:focus-visible{opacity:1;pointer-events:auto}.upload-edit-button:hover,.result-edit-button:hover{color:#e4fff3;background:#1c3d30;border-color:#83c8aa}.node-textarea{resize:none;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#565c66 #191b20;color:#d2d5dc;background:#15171b;border:0;border-top:1px solid #25282e;outline:0;flex:1;width:100%;min-height:0;padding:18px;font-size:13px;line-height:1.65;overflow-y:scroll}.node-textarea::-webkit-scrollbar{width:10px}.node-textarea::-webkit-scrollbar-track{background:#191b20}.node-textarea::-webkit-scrollbar-thumb{background:#565c66;border:2px solid #191b20;border-radius:999px}.node-textarea::-webkit-scrollbar-thumb:hover{background:#747b87}.node-textarea::placeholder{color:#555a64}.prompt-scroll-shell{background:#15171b;border-top:1px solid #25282e;flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 32px;min-height:0;display:grid;position:relative;overflow:hidden}.prompt-scroll-shell .node-textarea{scrollbar-width:none;border-top:0;grid-area:1/1;min-width:0;height:100%;padding-right:18px}.prompt-scroll-shell .node-textarea::-webkit-scrollbar{width:0;height:0}.prompt-scrollbar{z-index:3;cursor:pointer;opacity:.96;touch-action:none;-webkit-user-select:none;user-select:none;background:#24272e;border:1px solid #3b4049;border-radius:999px;grid-area:1/2;place-self:stretch center;width:18px;margin:9px 7px;position:relative;box-shadow:-8px 0 #15171b}.prompt-scrollbar span{cursor:grab;touch-action:none;background:#7b838f;border-radius:999px;min-height:36px;position:absolute;left:3px;right:3px;box-shadow:0 1px 6px #000a}.prompt-scrollbar span:hover{background:#a4acb7}.prompt-scrollbar span:active{cursor:grabbing;background:#c1c7d0}.prompt-scrollbar.not-scrollable{opacity:.3;cursor:default}.prompt-scrollbar.not-scrollable span{cursor:default;min-height:0}.flow-prompt{width:100%;height:100%}.flow-prompt .node-textarea{white-space:pre-wrap}.reverse-prompt-quality{color:#dac57e;opacity:0;margin:7px 10px 0;padding:7px 9px;background:#292518;border:1px solid #4d4935;border-radius:6px;flex:none;max-height:0;margin-block:0;padding-block:0;font-size:10px;line-height:1.35;transition:opacity .15s,max-height .15s,padding .15s,margin .15s;overflow:hidden}.flow-card:hover .reverse-prompt-quality,.flow-card.selected .reverse-prompt-quality{opacity:1;max-height:48px;margin-block:7px;padding-block:7px}.reverse-prompt-quality.passed{color:#88deb3;background:#17281f;border-color:#315946}.reverse-prompt-quality.warning{color:#edc08a;background:#30251c;border-color:#655443}.prompt-node-actions{background:#15171b;border-top:1px solid #282b32;border-radius:0 0 11px 11px;flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:47px;padding:8px 10px;display:flex}.prompt-node-actions span{color:#747b87;align-items:center;gap:5px;font-size:10px;display:flex}.prompt-node-actions button{color:#c9b9ef;cursor:pointer;background:#282334;border:1px solid #4c465e;border-radius:6px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:10px;display:flex}.prompt-node-actions button:hover{color:#eadfff;border-color:#71638f}.prompt-node-actions button:disabled{opacity:.65;cursor:progress}.flow-image,.flow-video{width:100%;height:100%}.upstream-pill{color:#b8bcc5;background:#1b1d22;border:1px solid #414650;border-radius:4px;flex:none;align-items:center;gap:6px;height:28px;margin:0 12px 8px;padding:0 8px;font-size:8px;display:flex}.flow-result{background:#111417;border-color:#345446;width:100%;height:100%;min-height:0;padding:0;overflow:visible}.result-node-image{object-fit:contain;cursor:grab;background:#0d0f12;border-radius:11px;width:100%;height:100%;min-height:0;display:block}.result-node-image:active{cursor:grabbing}.result-node-empty{color:#626a72;background:#111417;border-radius:11px;place-items:center;width:100%;height:100%;min-height:0;font-size:12px;display:grid}.result-node-delete{z-index:4;color:#d9dde2;cursor:pointer;opacity:0;pointer-events:none;background:#22262b;border:1px solid #454b54;border-radius:50%;place-items:center;width:25px;height:25px;padding:0;transition:opacity .15s,background .15s,border-color .15s,color .15s;display:grid;position:absolute;top:-11px;right:-11px;box-shadow:0 5px 14px #0009}.flow-result:hover .result-node-delete,.flow-result.selected .result-node-delete{opacity:.85;pointer-events:auto}.result-node-delete:focus-visible{opacity:.85;pointer-events:auto}.result-node-delete:hover{color:#ff9cac;opacity:1;background:#39242a;border-color:#81505a}.result-image-actions{z-index:5;opacity:0;pointer-events:none;gap:5px;transition:opacity .15s;display:flex;position:absolute;top:9px;right:9px}.flow-result:hover .result-image-actions,.flow-result.selected .result-image-actions,.result-image-actions:focus-within{opacity:1;pointer-events:auto}.result-image-actions button{color:#d8dce2;cursor:pointer;background:#171b20dd;border:1px solid #4a515b;border-radius:7px;place-items:center;width:29px;height:29px;padding:0;display:grid;box-shadow:0 5px 15px #0009}.result-image-actions button:hover{color:#fff;background:#252c37;border-color:#8fb4ff}.generation-details{z-index:3;color:#e4e8ec;opacity:0;pointer-events:none;background:#11161de8;border:1px solid #4c5561;border-radius:7px;flex-direction:column;gap:2px;max-width:260px;padding:7px 9px;transition:opacity .15s;display:flex;position:absolute;top:10px;left:10px;box-shadow:0 4px 16px #0009}.flow-result:hover .generation-details,.flow-result.selected .generation-details{opacity:1}.generation-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.generation-details span{color:#aab2bc;font-size:9px}.generation-details b{color:#ffb17d;font-size:9px;font-weight:600}.generation-details.warning{background:#2b1d18ed;border-color:#8b5a3f}.result-history-toggle{z-index:6;color:#c5cbd4;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#171c23e8;border:1px solid #4a5360;border-radius:7px;align-items:center;gap:5px;height:28px;padding:0 8px;font-size:10px;display:flex;position:absolute;top:47px;right:9px;box-shadow:0 5px 15px #0008}.result-history-toggle:hover,.result-history-toggle[aria-expanded=true]{color:#fff;background:#252c36;border-color:#738197}.result-history-panel{z-index:9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#11161df2;border:1px solid #4c5562;border-radius:9px;flex-direction:column;width:min(270px,100% - 18px);max-height:calc(100% - 92px);display:flex;position:absolute;top:82px;right:9px;overflow:hidden;box-shadow:0 14px 38px #000c}.result-history-panel>header{border-bottom:1px solid #303741;flex-direction:column;justify-content:center;gap:2px;min-height:42px;padding:8px 10px;display:flex}.result-history-panel>header strong{color:#e2e6eb;font-size:11px}.result-history-panel>header span{color:#747d89;font-size:9px}.result-history-panel ol{overscroll-behavior:contain;min-height:0;margin:0;padding:5px;list-style:none;overflow-y:auto}.result-history-panel li{border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:7px;display:grid}.result-history-panel li+li{border-top:1px solid #292f37}.result-history-panel li:hover{background:#1d232b}.result-history-panel li>div{flex-direction:column;gap:2px;min-width:0;display:flex}.result-history-panel li strong,.result-history-panel li span,.result-history-panel li time{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.result-history-panel li strong{color:#d8dde4;font-size:10px}.result-history-panel li span,.result-history-panel li time{color:#7e8793;font-size:9px}.result-history-panel li button{color:#9ce0bd;cursor:pointer;background:#1b3027;border:1px solid #486655;border-radius:6px;align-items:center;gap:4px;height:27px;padding:0 7px;font-size:10px;display:flex}.result-history-panel li button:hover{color:#e3fff0;background:#244535;border-color:#71a98b}.flow-result.history-open .generation-details{opacity:0}.result-history-heading{border-bottom:1px solid #303741;flex-direction:column;flex:none;justify-content:center;gap:2px;min-height:42px;padding:8px 10px;display:flex}.result-history-heading strong{color:#e2e6eb;font-size:11px}.result-history-heading span{color:#747d89;font-size:9px}.generation-complete{color:#83dcb2;opacity:0;background:#17271f;border:1px solid #315746;border-radius:6px;align-items:center;gap:6px;height:38px;max-height:0;margin:4px 12px 0;margin-block:0;padding:0 10px;padding-block:0;font-size:11px;transition:opacity .15s,max-height .15s,padding .15s,margin .15s;display:flex;overflow:hidden}.flow-image:hover .generation-complete,.flow-image.selected .generation-complete{opacity:1;max-height:38px;margin-block:4px 0;padding-block:0}.reference-strip{background:#121419;border:1px solid #2c3037;border-radius:6px;flex:none;align-items:center;gap:6px;min-height:62px;margin:0 12px 6px;padding:7px;display:flex;overflow-x:auto}.reference-chip{flex:none;width:52px;height:46px;position:relative}.reference-chip>button:first-child{cursor:pointer;background:#181c23;border:1px solid #3d4551;border-radius:6px;width:100%;height:100%;padding:0;position:relative;overflow:hidden}.reference-chip>button:first-child:hover{border-color:#91addc}.reference-chip img{object-fit:contain;width:100%;height:100%;display:block}.reference-chip b{min-width:16px;height:16px;font-size:9px;top:3px;left:3px}.reference-remove{color:#ffb4c0;cursor:pointer;background:#2b2027;border:1px solid #6a4b55;border-radius:50%;place-items:center;width:17px;height:17px;padding:0;display:grid;position:absolute;top:-5px;right:-5px}.reference-linked{color:#9db0cd;pointer-events:none;position:absolute;bottom:3px;right:3px}.reference-add{color:#9fa7b4;cursor:pointer;background:#181b21;border:1px dashed #4c5563;border-radius:6px;flex:none;place-items:center;width:46px;height:42px;display:grid}.reference-add:hover{color:#dce8ff;background:#202631;border-color:#91addc}.reference-order-hint{color:#69727f;white-space:nowrap;flex:none;font-size:10px}.generator-prompt{resize:none;color:#d4d7dd;background:#15171b;border:1px solid #2c3037;border-radius:6px;outline:0;flex:1;width:calc(100% - 24px);min-height:120px;margin:0 12px;padding:14px;font-size:14px;line-height:1.6;overflow-y:auto}.generator-prompt::placeholder{color:#555a64}.generator-prompt:focus{border-color:#666d79}.prompt-library{color:#8a909b;flex:none;width:calc(100% - 24px);margin:5px 12px 0;font-size:11px}.prompt-library summary{cursor:pointer;justify-content:space-between;align-items:center;height:32px;padding:0 8px;list-style:none;display:flex}.prompt-library summary:hover{color:#d7dae0}.prompt-library summary::-webkit-details-marker{display:none}.prompt-library b{font-size:18px;font-weight:400;transition:transform .15s}.prompt-library[open] b{transform:rotate(90deg)}.prompt-library>div{flex-direction:column;gap:4px;padding:2px 0 5px;display:flex}.prompt-library>div button{color:#8f96a1;text-align:left;cursor:pointer;background:#191b20;border:1px solid #31353d;border-radius:5px;min-height:28px;padding:5px 8px;font-size:10px}.prompt-library>div button:hover{color:#d4d8df;border-color:#4a505b}.generator-empty{color:#555b65;background:#16181c;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;min-height:120px;margin:0 12px;font-size:10px;display:flex}.generator-empty b{color:#9298a3;font-weight:500}.loader{border:2px solid #363a42;border-top-color:#e7c96f;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}.generated-result{cursor:zoom-in;background:#101115;border-radius:5px;flex:1;min-height:120px;margin:0 12px;overflow:hidden}.generated-result img,.generated-result video{object-fit:contain;width:100%;height:100%}.generated-result{position:relative}.result-badge{color:#e4c370;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#2c2518dd;border:1px solid #725d32;border-radius:5px;padding:4px 7px;font-size:7px;position:absolute;top:8px;right:8px}.result-badge.accepted{color:#7de0ae;background:#173125dd;border-color:#35694f}.node-error-block{background:#291a20;border:1px solid #5b3540;border-radius:6px;flex:none;align-items:flex-start;gap:8px;min-height:0;margin:6px 12px 0;padding:7px 8px;display:flex}.node-error-block .node-error,.node-error-block .node-warning{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#805363 #321f27;word-break:break-word;flex:1;min-width:0;max-height:58px;margin:0;overflow:auto}.node-error-block .node-error::-webkit-scrollbar{width:6px}.node-error-block .node-warning::-webkit-scrollbar{width:6px}.node-error-block .node-error::-webkit-scrollbar-thumb{background:#805363;border-radius:999px}.node-error-block .node-warning::-webkit-scrollbar-thumb{background:#805363;border-radius:999px}.node-error{color:#ef8292}.node-warning{color:#d7ae70}.node-retry{color:#ffb3bf;white-space:nowrap;cursor:pointer;background:#3a2229;border:1px solid #81505a;border-radius:5px;flex:none;align-items:center;gap:5px;height:28px;padding:0 8px;font-size:10px;display:flex}.node-retry:hover{color:#fff0f3;background:#512b35;border-color:#d47d8d}.node-retry:focus-visible{outline-offset:2px;outline:2px solid #86a9ff}.node-retry:disabled{opacity:.5;cursor:progress}.result-actions{flex:none;gap:6px;padding:8px 12px 0;display:flex}.result-actions button{color:#adb2bc;cursor:pointer;background:#202329;border:1px solid #3e444d;border-radius:5px;align-items:center;gap:5px;height:28px;padding:0 9px;font-size:8px;display:flex}.result-actions button:first-child{color:#83dcb2;background:#1c3027;border-color:#38634f}.result-actions button:disabled{opacity:.7;cursor:default}.node-controls{flex:none;align-items:center;gap:5px;min-height:50px;padding:9px 12px 11px;display:flex}.node-controls select{-webkit-appearance:none;appearance:none;color:#c9ccd2;cursor:pointer;background:#1a1c21;border:1px solid #424650;border-radius:5px;outline:0;min-width:0;height:28px;padding:0 20px 0 7px;font-size:8px}.node-controls select:first-child{flex:1}.node-run{color:#f1f2f4;cursor:pointer;background:#25282e;border:1px solid #565b65;border-radius:6px;flex:none;place-items:center;width:29px;height:29px;display:grid}.node-run:hover{background:#353942}.node-run:disabled{opacity:.45;cursor:progress}.create-menu{z-index:50;background:#181a1f;border:1px solid #363941;border-radius:10px;width:205px;padding:6px;animation:.12s ease-out pop;position:fixed;box-shadow:0 22px 65px #000c}.create-menu>div{color:#696f79;border-bottom:1px solid #2b2e34;align-items:center;gap:7px;height:31px;padding:0 9px;font-size:8px;display:flex}.create-menu button{color:#a8adb7;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:24px 1fr auto;align-items:center;width:100%;height:43px;padding:0 9px;display:grid}.create-menu button:hover{color:#fff;background:#272a31}.create-menu button small{color:#5f6570;font-size:7px}.image-context-menu{z-index:80;background:#191b20;border:1px solid #3a3e47;border-radius:9px;width:180px;padding:6px;position:fixed;box-shadow:0 18px 55px #000c}.image-context-menu strong{color:#747b87;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #2d3037;padding:7px 9px 8px;font-size:8px;display:block;overflow:hidden}.image-context-menu button{color:#c1c5cd;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;height:36px;padding:0 9px;font-size:9px;display:flex}.image-context-menu button:hover{color:#fff;background:#292c33}.image-toast{z-index:120;color:#91dfbd;background:#17251f;border:1px solid #3d554b;border-radius:8px;padding:9px 14px;font-size:9px;animation:3s forwards toast-life;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #0009}.canvas-selection-toolbar{z-index:42;color:#9de3c4;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#171c1bcc;border:1px solid #3e4946;border-radius:8px;align-items:center;gap:8px;height:42px;padding:0 5px 0 12px;display:flex;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 12px 36px #000a}.canvas-selection-toolbar span{color:#d1d8d5;min-width:94px;font-size:12px}.canvas-selection-toolbar button{color:#aeb7b4;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;display:grid}.canvas-selection-toolbar button:hover{color:#ff9eac;background:#39242a}.canvas-undo-toast{z-index:43;color:#bfc4cc;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#181b20e8;border:1px solid #3c4149;border-radius:8px;align-items:center;gap:12px;min-height:40px;padding:5px 5px 5px 12px;display:flex;position:fixed;bottom:74px;left:50%;transform:translate(-50%);box-shadow:0 12px 34px #000a}.canvas-undo-toast span{font-size:11px}.canvas-undo-toast button{color:#9cdcbc;cursor:pointer;background:#203029;border:1px solid #45564f;border-radius:6px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:11px;display:flex}.canvas-undo-toast button:hover{color:#dffbec;border-color:#6b947f}.minimal-studio.has-selection .canvas-help{opacity:0;pointer-events:none}.canvas-help{z-index:12;color:#5d626c;pointer-events:none;background:#121419d9;border:1px solid #292c33;border-radius:8px;padding:7px 11px;font-size:8px;position:fixed;bottom:17px;left:50%;transform:translate(-50%)}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#030407d9;place-items:center;display:grid;position:fixed;inset:0}.api-simple{background:#14161b;border:1px solid #3b3f48;border-radius:13px;width:min(620px,100vw - 40px);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 35px 100px #000c}.api-simple>header,.media-preview>header{border-bottom:1px solid #2b2e35;justify-content:space-between;align-items:center;height:58px;padding:0 13px 0 18px;display:flex}.api-simple>header>div,.media-preview>header>div{flex-direction:column;gap:4px;display:flex}.api-simple>header span,.media-preview>header span{color:#656b76;font-size:8px}.api-simple>header button,.media-preview>header button{color:#7c828d;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.api-simple>header button:hover,.media-preview>header button:hover{color:#fff;background:#25282f}.media-preview>header>.preview-tools{flex-direction:row;gap:2px}.api-fields{border-bottom:1px solid #292c33;grid-template-columns:1fr 1fr;gap:10px;padding:16px 18px;display:grid}.api-fields label{color:#737985;font-size:8px}.api-fields label:last-child{grid-column:1/-1}.api-fields input{color:#cfd2d8;background:#1a1c21;border:1px solid #363a43;border-radius:7px;outline:0;width:100%;height:36px;margin-top:7px;padding:0 10px;font-size:9px}.api-fields small{color:#5e6570;margin-top:5px;font-size:8px;display:block}.api-check-head{justify-content:space-between;align-items:center;padding:15px 18px 10px;display:flex}.api-check-head>div{flex-direction:column;gap:4px;display:flex}.api-check-head span{color:#676d78;font-size:8px}.api-check-head button{color:#cdd0d6;cursor:pointer;background:#202329;border:1px solid #424750;border-radius:6px;align-items:center;gap:6px;height:31px;padding:0 10px;font-size:8px;display:flex}.api-check-head button:disabled{opacity:.6}.api-discovery-status{color:#87cbaa;background:#17231f;border:1px solid #34453f;border-radius:7px;margin:0 18px 10px;padding:8px 10px;font-size:11px}.api-discovery-status.error{color:#f19aaa;background:#2d1d22;border-color:#68414a}.api-mapping{border-bottom:1px solid #292c33;grid-template-columns:1fr 1fr;gap:10px;padding:0 18px 13px;display:grid}.api-mapping label{color:#8c929e;font-size:11px}.api-mapping input,.api-mapping select{color:#d7dae0;background:#191b20;border:1px solid #3b3f48;border-radius:7px;outline:0;width:100%;height:36px;margin-top:7px;padding:0 10px;font-size:12px}.api-mapping input:focus,.api-mapping select:focus{border-color:#667080}.api-mapping input[readonly],.api-fields input[readonly]{color:#8c929e;cursor:default;background:#17191e}.api-mapping small{color:#5e6570;margin-top:5px;font-size:10px;display:block}.api-mode-row{border-bottom:1px solid #292c33;justify-content:space-between;align-items:center;gap:14px;min-height:66px;padding:11px 18px;display:flex}.api-mode-row>div:first-child{flex-direction:column;gap:4px;min-width:0;display:flex}.api-mode-row strong{font-size:12px}.api-mode-row span{color:#69707b;font-size:10px;line-height:1.45}.api-mode-switch{background:#191b20;border:1px solid #353942;border-radius:8px;flex:none;padding:3px;display:flex}.api-mode-switch button{color:#747b86;cursor:pointer;background:0 0;border:0;border-radius:5px;height:30px;padding:0 10px;font-size:11px}.api-mode-switch button.active{color:#9ce5bf;background:#294438;box-shadow:0 2px 8px #0005}.model-check-list{padding:0 18px}.model-check-list>div{color:#b7bbc4;background:#181a1f;border:1px solid #2f3239;border-bottom:0;grid-template-columns:12px 1fr auto 16px;align-items:center;gap:7px;height:42px;padding:0 11px;font-size:9px;display:grid}.model-check-list>div:first-child{border-radius:8px 8px 0 0}.model-check-list>div:last-child{border-bottom:1px solid #2f3239;border-radius:0 0 8px 8px}.model-check-list i{background:#666c76;border-radius:50%;width:7px;height:7px}.model-check-list i.ok{background:#48d58a;box-shadow:0 0 8px #48d58a}.model-check-list i.bad{background:#f05f73;box-shadow:0 0 8px #f05f73}.model-check-list small{color:#686e79;font-size:8px}.model-check-list svg{color:#737985}.model-check-list.compact{max-height:132px;margin-top:11px;overflow-y:auto}.model-check-list.compact>div{grid-template-columns:12px minmax(0,1fr) auto;height:34px}.model-check-list.compact span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.api-safe{color:#666d78;align-items:center;gap:6px;margin:13px 18px 17px;font-size:8px;display:flex}.chat-api-settings{background:#111318;border-top:1px solid #3b3f48;border-bottom:1px solid #292d34;margin-top:16px;box-shadow:inset 0 1px #ffffff05}.chat-api-settings .api-mode-row{background:#15171c;gap:16px;min-height:80px;padding:16px 18px}.chat-api-settings .api-mode-row>div:first-child{gap:4px}.chat-api-settings .api-mode-row strong{color:#d9dde3;font-size:13px}.chat-api-settings .api-mode-row span{color:#727985;max-width:280px;font-size:11px;line-height:1.5}.chat-api-settings .api-mode-switch{gap:4px;padding:4px}.chat-api-settings .api-mode-switch button{height:32px;padding:0 12px;transition:background .15s,color .15s}.chat-api-settings .api-mode-switch button:hover:not(.active){color:#c7ccd3;background:#22252b}.chat-api-settings .api-fields,.chat-api-settings .api-mapping{background:#111318;gap:16px;padding:16px 18px}.chat-api-settings .api-fields label,.chat-api-settings .api-mapping label{color:#9299a4;font-size:11px}.chat-api-settings .api-fields input,.chat-api-settings .api-mapping input{color:#dce0e5;background:#191c21;border-color:#3b4049;height:40px;margin-top:8px;padding:0 12px;font-size:12px;transition:border-color .15s,box-shadow .15s,background .15s}.chat-api-settings .api-fields input:hover,.chat-api-settings .api-mapping input:hover{background:#1c1f25;border-color:#505762}.chat-api-settings .api-fields small,.chat-api-settings .api-mapping small{color:#68707b;margin-top:4px;font-size:10px;line-height:1.5}.chat-api-settings .api-check-head{gap:16px;padding:16px 18px 8px}.chat-api-settings .api-check-head button{height:32px;padding:0 12px;transition:border-color .15s,background .15s,color .15s}.chat-api-settings .api-check-head button:hover:not(:disabled){color:#dff5e9;background:#25302b;border-color:#596b63}.chat-api-settings .api-discovery-status{color:#9ba2ad;background:#181b20;border-color:#353b44;margin:0 18px 16px;padding:8px 12px;font-size:11px;line-height:1.5}.chat-api-settings .api-discovery-status.error{color:#f19aaa;background:#2d1d22;border-color:#68414a}.chat-api-settings .api-safe{color:#747c86;margin:0 18px 16px}:is(.chat-api-settings input:focus-visible,.chat-api-settings button:focus-visible){outline-offset:2px;outline:2px solid #76b99b}.chat-api-settings input:focus-visible{border-color:#76a991;box-shadow:0 0 0 3px #76b99b1f}.preview-backdrop{padding:24px}.media-preview{background:#111318;border:1px solid #3c4049;border-radius:12px;grid-template-rows:58px minmax(0,1fr);width:min(1100px,100vw - 48px);height:min(820px,100vh - 48px);display:grid;overflow:hidden}.preview-tools{align-items:center;gap:2px;display:flex}.preview-tools output{color:#8d949f;text-align:center;width:46px;font-size:11px}.preview-viewport{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#08090c;place-items:center;min-height:0;display:grid;overflow:hidden}.preview-viewport:active{cursor:grabbing}.preview-viewport img,.preview-viewport video{object-fit:contain;transform-origin:50%;will-change:transform;-webkit-user-select:none;user-select:none;max-width:100%;max-height:100%;display:block}.preview-viewport video{width:100%;height:100%}.mask-editor-backdrop{z-index:140;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#020306ed;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.mask-editor{background:#121419;border:1px solid #40454f;border-radius:14px;grid-template-rows:58px 50px minmax(0,1fr) auto;width:min(1180px,100vw - 40px);height:min(900px,100vh - 40px);display:grid;position:relative;overflow:hidden;box-shadow:0 35px 110px #000e}.mask-editor>header{border-bottom:1px solid #2d3037;justify-content:space-between;align-items:center;padding:0 14px 0 18px;display:flex}.mask-editor>header>div{flex-direction:column;gap:4px;display:flex}.mask-editor>header strong{font-size:14px}.mask-editor>header span{color:#707782;font-size:11px}.mask-editor>header button{color:#858b95;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.mask-editor>header button:hover{color:#fff;background:#292c32}.mask-toolbar{background:#17191e;border-bottom:1px solid #2a2d34;align-items:center;gap:6px;padding:7px 10px;display:flex;overflow-x:auto}.mask-toolbar>span{flex:1}.mask-toolbar button{color:#9ba1ab;cursor:pointer;background:#1d2026;border:1px solid #353941;border-radius:7px;flex:none;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:11px;display:flex}.mask-toolbar button:hover,.mask-toolbar button.active{color:#aeeaff;background:#1c3038;border-color:#4c8aa0}.mask-toolbar button:disabled{opacity:.35;cursor:not-allowed}.mask-toolbar label{color:#858b95;align-items:center;gap:8px;height:34px;padding:0 9px;font-size:10px;display:flex}.mask-toolbar input{accent-color:#4cc7ff;width:100px}.mask-toolbar b{color:#b8bec7;width:25px;font-weight:500}.mask-zoom-value{color:#9299a4;text-align:center;width:42px;font-size:10px}.mask-stage{background-color:#080a0d;background-image:linear-gradient(45deg,#11141a 25%,#0000 25%),linear-gradient(-45deg,#11141a 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#11141a 75%),linear-gradient(-45deg,#0000 75%,#11141a 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-repeat:repeat;background-size:24px 24px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;place-items:center;min-height:0;padding:14px;display:grid;overflow:auto}.mask-image-stack{transform-origin:50%;will-change:transform;place-items:center;max-width:100%;max-height:100%;display:grid;position:relative;box-shadow:0 14px 48px #000c}.mask-image-stack img{object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none;max-width:min(1040px,100vw - 120px);max-height:min(620px,100vh - 250px);display:block}.mask-image-stack canvas{cursor:crosshair;touch-action:none;opacity:0;width:100%;height:100%;position:absolute;inset:0}.mask-image-stack canvas.ready{opacity:1}.mask-image-stack canvas.pan-tool{cursor:grab}.mask-image-stack.panning canvas.pan-tool{cursor:grabbing}.mask-editor>footer{background:#15171c;border-top:1px solid #2c3037;grid-template-columns:190px minmax(260px,1fr) 126px;align-items:center;gap:11px;min-height:105px;padding:11px 13px;display:grid}.mask-editor>footer>div{color:#64ccec;align-items:center;gap:8px;display:flex}.mask-editor>footer p{flex-direction:column;gap:3px;margin:0;display:flex}.mask-editor>footer p strong{color:#c8cdd4;font-size:11px}.mask-editor>footer p span{color:#747b86;font-size:10px;line-height:1.45}.mask-editor textarea{resize:none;color:#d8dbe0;background:#1b1e24;border:1px solid #3a3f48;border-radius:8px;outline:0;height:72px;padding:10px;font-size:12px;line-height:1.5}.mask-editor textarea:focus{border-color:#4b899e}.mask-submit{color:#9aebc4;cursor:pointer;background:#1d3a2f;border:1px solid #4c8b73;border-radius:8px;height:42px;font-size:12px;font-weight:650}.mask-submit:hover{background:#26503f}.mask-submit:disabled{opacity:.4;cursor:not-allowed}.mask-editor-error{color:#ff9aa9;background:#321d23;border:1px solid #71424b;border-radius:7px;max-width:540px;margin:0;padding:8px 10px;font-size:11px;position:absolute;bottom:102px;right:14px;box-shadow:0 8px 25px #0009}.mask-editor-notice{color:#8aa7b8;background:#18232a;border:1px solid #394851;border-radius:7px;max-width:540px;margin:0;padding:7px 9px;font-size:10px;line-height:1.45;position:absolute;bottom:102px;left:15px;box-shadow:0 8px 25px #0007}.result-quality{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;pointer-events:none;border:1px solid;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:650;transition:opacity .15s;position:absolute;bottom:12px;right:12px;box-shadow:0 4px 15px #0008}.flow-result:hover .result-quality,.flow-result.selected .result-quality{opacity:1}.result-quality.passed{color:#91e8bd;background:#173528dc;border-color:#3b705d}.result-quality.warning{color:#f2ca82;background:#3d2c16e6;border-color:#8a6a39}.flow-upload{background:0 0;border-color:#303640;overflow:visible;box-shadow:0 12px 30px #0007}.flow-upload:hover{border-color:#566273}.flow-upload>header{display:none}.flow-upload .upload-node-delete{z-index:12;background:#171b20e6;border-radius:7px;width:30px;height:30px;position:absolute;top:7px;right:7px;box-shadow:0 5px 16px #0009}.flow-upload .upload-zone{background:#111419;border:1px solid #303640;border-radius:8px}.flow-upload .upload-zone:hover{background:#171b21}.flow-upload .upload-zone.image-ready{background:0 0;border-color:#303640}.upload-error{color:#ef9aaa;word-break:break-word;background:#2a1b20;border:1px solid #62404a;border-radius:6px;flex:none;max-height:46px;margin:6px 10px 8px;padding:6px 8px;font-size:10px;line-height:1.45;overflow:auto}.flow-upload .upload-gallery{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));grid-auto-rows:minmax(72px,1fr);gap:6px;padding:0}.flow-upload .upload-gallery-item{border-color:#3a424e;border-radius:7px;box-shadow:0 7px 18px #0008}.flow-upload .upload-gallery-item:only-of-type{border:0;border-radius:7px;grid-area:1/1/-1/-1}.flow-upload .upload-gallery-item:only-of-type img{object-fit:contain}.flow-upload .upload-gallery-item.is-linked{border-color:#6d9c87;box-shadow:0 0 0 1px #6d9c8755,0 7px 18px #0008}.flow-upload .upload-image-remove{top:auto;bottom:3px}.upload-image-linked{color:#a1e9c6;filter:drop-shadow(0 1px 3px #000);pointer-events:none;position:absolute;bottom:4px;right:4px}.flow-upload .upload-add-tile{z-index:5;color:#d6dbe2;opacity:0;background:#151a20e6;border-style:solid;border-color:#515b68;width:30px;min-height:30px;transition:opacity .15s,background .15s;position:absolute;top:7px;right:43px;box-shadow:0 5px 16px #0009}.flow-upload .upload-add-tile span{display:none}.flow-upload:hover .upload-add-tile,.flow-upload.selected .upload-add-tile,.flow-upload .upload-add-tile:focus-within{opacity:1}.flow-upload .upload-edit-button{bottom:6px;left:6px}.flow-result{background:#111419;border-color:#303640;box-shadow:0 12px 30px #0007}.flow-result:hover{border-color:#566273}.result-node-image,.result-node-empty{border-radius:7px}.chat-panel{z-index:66;background:#111318;border-left:1px solid #30343c;flex-direction:column;width:420px;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-22px 0 65px #0008}.chat-panel>header{background:#14161b;border-bottom:1px solid #292d34;flex:none;justify-content:space-between;align-items:center;height:64px;padding:0 12px 0 18px;display:flex}.chat-title{min-width:0;color:var(--ui-accent,#8ee8c0);align-items:center;gap:10px;display:flex}.chat-title>span{flex-direction:column;gap:2px;min-width:0;display:flex}.chat-title strong{color:#e5e8ec;font-size:14px;line-height:1.2}.chat-title small{color:#6f7681;letter-spacing:.02em;font-size:10px}.chat-header-actions{gap:2px;display:flex}.chat-header-actions button{color:#7d8490;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:34px;height:34px;padding:0;display:grid}.chat-header-actions button:hover{color:#fff;background:#25282f}.chat-model-bar{background:#13151a;border-bottom:1px solid #292d34;flex:none;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:9px;min-height:64px;padding:10px 14px;display:grid}.chat-model-status{color:#858c97;align-items:center;gap:7px;font-size:11px;display:flex}.chat-model-status i{background:#555c66;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #555c6622}.chat-model-status.ready i{background:var(--ui-accent,#8ee8c0);box-shadow:0 0 8px var(--ui-accent,#8ee8c0)}@supports (color:color-mix(in lab, red, red)){.chat-model-status.ready i{box-shadow:0 0 8px color-mix(in srgb,var(--ui-accent,#8ee8c0) 65%,transparent)}}.chat-model-bar select{color:#d6dae0;text-overflow:ellipsis;background:#1b1e24;border:1px solid #373c45;border-radius:7px;outline:0;width:100%;height:36px;padding:0 30px 0 10px;font-size:12px;overflow:hidden}.chat-model-bar select:focus{border-color:#626b77}.chat-model-bar select:disabled{color:#686f79;cursor:not-allowed}.chat-context-bar{background:#111318;border-bottom:1px solid #292d34;flex:none;min-height:84px;padding:11px 14px 9px}.chat-context-bar>div{background:#0d0f13;border:1px solid #30353d;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:2px;padding:3px;display:grid}.chat-context-bar button{color:#737b86;cursor:pointer;background:0 0;border:0;border-radius:5px;height:29px;padding:0 6px;font-size:11px}.chat-context-bar button:hover:not(:disabled){color:#d7dbe1}.chat-context-bar button.active{color:#aae7ca;background:#262c2a;box-shadow:0 1px 5px #0008}.chat-context-bar button:disabled{opacity:.32;cursor:not-allowed}.chat-context-bar p{color:#626a75;white-space:nowrap;text-overflow:ellipsis;margin:7px 2px 0;font-size:10px;overflow:hidden}.chat-selection-context{background:#12151a;border-bottom:1px solid #292d34;flex:none;max-height:190px;padding:11px 14px;overflow-y:auto}.chat-selection-context>label{color:#8c949f;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:8px;font-size:10px;display:grid}.chat-selection-context select{color:#d1d6dc;background:#1b1f25;border:1px solid #373d46;border-radius:6px;outline:0;width:100%;height:32px;padding:0 28px 0 9px;font-size:11px}.chat-selection-context select:focus{border-color:#59675f}.chat-selected-node-list{flex-direction:column;gap:5px;margin-top:9px;display:flex}.chat-selected-node-list>div{background:#171a20;border:1px solid #2d333b;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;padding:7px 8px;display:grid}.chat-selected-node-list strong,.chat-selected-node-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-selected-node-list strong{color:#c9ced5;font-size:10px;font-weight:600}.chat-selected-node-list span{color:#68717c;font-size:9px}.chat-selection-empty{color:#ba737f;margin:9px 1px 0;font-size:10px;line-height:1.5}.chat-messages{scroll-behavior:smooth;flex:1;min-height:0;padding:18px 16px 24px;overflow-y:auto}.chat-empty{text-align:center;color:#59616d;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:28px 12px;display:flex}.chat-empty>svg{color:#59616d}.chat-empty>strong{color:#b7bdc6;margin:14px 0 6px;font-size:14px}.chat-empty>p{color:#6e7580;max-width:310px;margin:0;font-size:11px;line-height:1.65}.chat-starters{flex-direction:column;gap:8px;width:100%;margin-top:22px;display:flex}.chat-starters button{color:#b7bdc6;text-align:left;cursor:pointer;background:#171a1f;border:1px solid #30353d;border-radius:8px;justify-content:space-between;align-items:center;min-height:42px;padding:9px 12px;font-size:11px;transition:border-color .15s,background .15s,color .15s;display:flex}.chat-starters button:hover:not(:disabled){color:#dff8ed;background:#1b2420;border-color:#4f625a}.chat-starters button span{color:#69716c;font-size:15px}.chat-starters button:disabled{opacity:.36;cursor:not-allowed}.chat-setup-button{color:#a3e5c5;cursor:pointer;background:#1b3027;border:1px solid #466858;border-radius:7px;align-items:center;gap:7px;height:38px;margin-top:20px;padding:0 13px;font-size:11px;display:flex}.chat-message{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;margin:0 0 18px;display:grid}.chat-message>span{color:#b0b6c0;background:#272b32;border-radius:8px;place-items:center;width:28px;height:28px;font-size:10px;display:grid}.chat-message.assistant>span{color:var(--ui-accent,#8ee8c0);background:#1c3329}.chat-message-body{min-width:0}.chat-message.user .chat-message-body{background:#1c1f25;border:1px solid #323740;border-radius:9px;padding:9px 11px}.chat-markdown{color:#c7cbd2;word-break:break-word;font-size:12px;line-height:1.72}.chat-markdown p{white-space:pre-wrap;margin:0 0 8px}.chat-markdown p:last-child{margin-bottom:0}.chat-markdown-heading{color:#edf0f3;margin:2px 0 8px;font-size:13px;display:block}.chat-markdown ul{margin:2px 0 10px;padding-left:19px}.chat-markdown li{margin:3px 0}.chat-markdown code{color:#a9e8ca;background:#292d34;border-radius:4px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.chat-markdown pre{background:#0d1014;border:1px solid #303640;border-radius:7px;margin:8px 0;padding:10px 11px;overflow-x:auto}.chat-markdown pre code{color:#c7d1ca;white-space:pre-wrap;background:0 0;padding:0}.chat-message-actions{opacity:0;align-items:center;gap:4px;min-height:27px;margin-top:5px;transition:opacity .15s;display:flex}.chat-message:hover .chat-message-actions,.chat-message-actions:focus-within{opacity:1}.chat-message-actions button{color:#69717c;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;height:25px;padding:0 7px;font-size:10px;display:flex}.chat-message-actions button:hover{color:#cdd2d9;background:#22262c}.chat-typing{background:#171a1f;border:1px solid #2f353c;border-radius:8px;align-items:center;gap:5px;width:max-content;height:30px;padding:0 11px;display:flex}.chat-typing i{background:#727b86;border-radius:50%;width:5px;height:5px;animation:1s infinite pulse}.chat-typing i:nth-child(2){animation-delay:.15s}.chat-typing i:nth-child(3){animation-delay:.3s}.chat-recovery-nav{background:#151a1b;border-bottom:1px solid #30353d;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px;display:flex}.chat-recovery-nav button{color:#aae7ca;cursor:pointer;background:0 0;border:0;border-radius:5px;min-height:30px;padding:3px 7px;font-size:11px}.chat-recovery-nav button:hover{background:#26352e}.chat-recovery-nav>span{color:#a0a8b2;font-size:10px}:is(.chat-recovery-nav button:focus-visible,.chat-recovered summary:focus-visible,.chat-recovered button:focus-visible){outline-offset:2px;outline:2px solid #aae7ca}.chat-recovered h2{color:#edf0f3;margin:0 0 8px;font-size:16px;font-weight:600}.chat-recovered-intro{color:#9ca5b0;margin:0 0 24px;font-size:12px;line-height:1.7}.chat-recovered-entry{background:#15191e;border:1px solid #343b44;border-radius:7px;margin-bottom:12px;overflow:hidden}.chat-recovered-entry summary{cursor:pointer;padding:14px;list-style:none}.chat-recovered-entry summary::-webkit-details-marker{display:none}.chat-recovered-entry summary strong{text-overflow:ellipsis;white-space:nowrap;color:#dde2e8;font-size:13px;font-weight:500;display:block;overflow:hidden}.chat-recovered-entry summary strong:before{content:"›";color:#aae7ca;margin-right:8px;display:inline-block}.chat-recovered-entry[open] summary strong:before{transform:rotate(90deg)}.chat-recovered-entry summary>span{color:#929da9;overflow-wrap:anywhere;margin-top:6px;font-size:10px;display:block}.chat-recovered-entry summary:hover{background:#1c2328}.chat-recovered-content{border-top:1px solid #303740;padding:0 14px 14px}.chat-recovered-content h3{color:#9dbaa9;margin:18px 0 8px;font-size:11px;font-weight:500}.chat-recovered-prompt{color:#b8c1cb;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.7}.chat-recovered .chat-message-actions{opacity:1;margin-top:14px}.chat-recovered .chat-message-actions button{color:#a7bcaf;min-height:32px}.chat-recovered-error{color:#efa2ae;border:1px solid #704c55;border-radius:6px;margin-bottom:16px;padding:12px;font-size:12px}.chat-recovered-error p{margin:0 0 8px}.chat-recovered-error button{color:#f5c5ce;cursor:pointer;background:#39242a;border:1px solid #73565e;border-radius:5px;padding:6px 10px}.chat-image-batch{background:#15191d;border:1px solid #343b42;border-radius:8px;margin-top:10px;overflow:hidden}.chat-image-batch.active{border-color:#476156}.chat-image-batch>header{background:#191e22;border-bottom:1px solid #2d3339;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:9px 11px;display:grid}.chat-image-batch>header>span{color:#91d7b7;background:#29362f;border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.chat-image-batch>header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.chat-image-batch>header strong{color:#e1e5e8;font-size:11px}.chat-image-batch>header small{color:#758079;font-size:9px}.chat-image-batch>header>b{color:#b7c0c7;font-size:10px;font-weight:600}.chat-image-batch-fields{grid-template-columns:76px minmax(0,1fr);gap:9px;padding:11px;display:grid}.chat-image-batch-fields label{color:#78818b;flex-direction:column;gap:5px;min-width:0;font-size:9px;display:flex}.chat-image-batch-fields .chat-image-batch-prompt{grid-column:1/-1}.chat-image-batch-fields textarea,.chat-image-batch-fields input,.chat-image-batch-fields select{color:#d1d6da;background:#101317;border:1px solid #394048;border-radius:6px;outline:0;width:100%;font-size:10px}.chat-image-batch-fields textarea{resize:vertical;min-height:88px;padding:8px;line-height:1.55}.chat-image-batch-fields input,.chat-image-batch-fields select{height:32px;padding:0 8px}.chat-image-batch-fields textarea:focus,.chat-image-batch-fields input:focus,.chat-image-batch-fields select:focus{border-color:#5a7569}.chat-image-batch-fields :disabled{color:#777f86;opacity:.75;cursor:not-allowed}.chat-image-batch-progress{padding:0 11px 10px}.chat-image-batch-progress>div{background:#292f34;border-radius:2px;height:4px;overflow:hidden}.chat-image-batch-progress>div>span{background:#72c59e;height:100%;transition:width .2s;display:block}.chat-image-batch-progress p{color:#838d95;margin:6px 0 0;font-size:9px}.chat-image-batch-results{flex-direction:column;gap:5px;margin:0;padding:0 11px 10px;list-style:none;display:flex}.chat-image-batch-results li{background:#121519;border:1px solid #2c3238;border-radius:6px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;height:50px;padding:4px;display:grid}.chat-image-batch-result-media{color:#69737c;background:#20262b;border-radius:4px;place-items:center;width:42px;height:40px;font-size:10px;display:grid;overflow:hidden}.chat-image-batch-result-media>button{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0}.chat-image-batch-result-media img{object-fit:cover;width:100%;height:100%;display:block}.chat-image-batch-results .running .chat-image-batch-result-media{color:#91d7b7}.chat-image-batch-results .failed .chat-image-batch-result-media{color:#dc8996}.chat-image-batch-results .success .chat-image-batch-result-media{color:#82cba9}.chat-image-batch-result-media .spin{animation:1s linear infinite spin}.chat-image-batch-result-meta{flex-direction:column;gap:3px;min-width:0;display:flex}.chat-image-batch-result-meta strong,.chat-image-batch-result-meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-image-batch-result-meta strong{color:#cbd1d5;font-size:10px}.chat-image-batch-result-meta span{color:#727b83;font-size:9px}.chat-image-batch-result-actions{gap:2px;display:flex}.chat-image-batch-result-actions button{color:#78828a;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:27px;height:27px;padding:0;display:grid}.chat-image-batch-result-actions button:hover{color:#bce7d2;background:#29312d}.chat-image-batch>footer{background:#171b1f;border-top:1px solid #2d3339;justify-content:flex-end;align-items:center;gap:8px;min-height:45px;padding:8px 11px;display:flex}.chat-image-batch>footer>span{color:#b87884;margin-right:auto;font-size:9px}.chat-image-batch>footer>button{color:#a5e4c5;cursor:pointer;background:#223b30;border:1px solid #4a6b5c;border-radius:6px;align-items:center;gap:6px;height:30px;padding:0 11px;font-size:10px;display:flex}.chat-image-batch>footer>button:disabled{opacity:.35;cursor:not-allowed}.chat-image-batch>footer>.chat-image-batch-stop{color:#efa2ae;background:#39242a;border-color:#704c55}.chat-compose{background:#14171c;border-top:1px solid #2b3037;flex:none;padding:12px 14px 13px}.chat-compose textarea{resize:none;color:#d7dbe1;background:#1a1d23;border:1px solid #3a4049;border-bottom:0;border-radius:9px 9px 0 0;outline:0;width:100%;height:76px;padding:11px 12px;font-size:12px;line-height:1.55}.chat-compose textarea::placeholder{color:#626a75}.chat-compose textarea:focus{border-color:#56655f}.chat-compose textarea:disabled{color:#5f6670;cursor:not-allowed}.chat-compose footer{background:#1a1d23;border:1px solid #3a4049;border-top-color:#2a2f36;border-radius:0 0 9px 9px;justify-content:space-between;align-items:center;min-height:42px;padding:6px 7px 6px 10px;display:flex}.chat-compose footer>span{color:#747c86;white-space:nowrap;text-overflow:ellipsis;flex-direction:column;gap:2px;min-width:0;font-size:10px;display:flex;overflow:hidden}.chat-compose footer small{color:#555d67;font-size:9px}.chat-compose footer>button{color:#9de6c3;cursor:pointer;background:#244034;border:1px solid #4b685a;border-radius:7px;flex:none;place-items:center;width:32px;height:32px;padding:0;display:grid}.chat-compose footer>button:hover{color:#d9f8e9;background:#2b4c3d}.chat-compose footer>button:disabled{opacity:.32;cursor:not-allowed}.chat-compose footer>.chat-stop-button{color:#f4a5b1;background:#3a262c;border-color:#75515a}.media-library-panel{z-index:65;background:#121419;border-left:1px solid #343840;grid-template-rows:64px auto 86px minmax(0,1fr);width:min(460px,92vw);display:grid;position:fixed;top:0;bottom:0;right:0;box-shadow:-20px 0 60px #0009}.media-library-panel>header{border-bottom:1px solid #2c3037;justify-content:space-between;align-items:center;padding:0 12px 0 20px;display:flex}.media-library-panel>header>div{flex-direction:column;gap:4px;min-width:0;display:flex}.media-library-panel>header strong{font-size:14px}.media-library-panel>header span{color:#707782;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.media-library-panel>header button{color:#838a95;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.media-library-panel>header button:hover{color:#fff;background:#282c33}.media-library-settings{background:#15181d;border-bottom:1px solid #2c3037;padding:12px 16px}.media-directory-row{grid-template-columns:22px minmax(0,1fr) auto 34px;align-items:center;gap:9px;display:grid}.media-directory-row>svg{color:#77d5ac}.media-directory-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.media-directory-row strong,.media-directory-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.media-directory-row strong{color:#d8dce2;font-size:12px}.media-directory-row span{color:#656c77;font-size:10px}.media-directory-row button{color:#c4c9d0;cursor:pointer;background:#20242a;border:1px solid #3d434c;border-radius:6px;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:11px;display:flex}.media-directory-row button:hover{color:#fff;border-color:#69717d}.media-directory-row button:disabled{opacity:.5;cursor:progress}.media-icon-button{place-items:center!important;width:32px!important;padding:0!important;display:grid!important}.media-auto-save{cursor:pointer;border-top:1px solid #282c33;grid-template-columns:minmax(0,1fr) 34px;align-items:center;column-gap:10px;min-height:42px;margin-top:10px;padding-top:9px;display:grid}.media-auto-save>span{flex-direction:column;gap:2px;display:flex}.media-auto-save strong{color:#cbd0d7;font-size:12px}.media-auto-save small{color:#676e79;font-size:10px}.media-auto-save input{opacity:0;pointer-events:none;position:absolute}.media-auto-save i{background:#363b44;border-radius:10px;width:34px;height:18px;transition:all .15s;position:relative}.media-auto-save i:after{content:"";background:#8b929d;border-radius:50%;width:12px;height:12px;transition:all .15s;position:absolute;top:3px;left:3px}.media-auto-save input:checked+i{background:#356c56}.media-auto-save input:checked+i:after{background:#8ce2ba;left:19px}.media-auto-save.disabled{opacity:.45;cursor:not-allowed}.media-library-error{color:#ef99a8;background:#2b1b21;border:1px solid #68404a;border-radius:6px;margin:9px 0 0;padding:8px 10px;font-size:11px;line-height:1.45}.media-library-toolbar{background:#14171b;border-bottom:1px solid #292d34;grid-template-rows:30px 32px;gap:8px;padding:8px 12px;display:grid}.media-library-filters{background:#101216;border:1px solid #343941;border-radius:7px;align-items:center;width:max-content;padding:2px;display:flex}.media-library-filters button{color:#737b86;cursor:pointer;background:0 0;border:0;border-radius:5px;height:24px;padding:0 12px;font-size:10px}.media-library-filters button:hover{color:#d9dde3}.media-library-filters button.active{color:#a9e2c8;background:#29302d;box-shadow:0 1px 4px #0008}.media-library-actions-row{align-items:center;gap:7px;display:flex}.media-library-actions-row label{color:#a3a9b2;cursor:pointer;align-items:center;gap:5px;font-size:10px;display:flex}.media-library-actions-row input,.media-select input{accent-color:#68c99f}.media-library-actions-row>span{color:#666d78;flex:1;min-width:0;font-size:10px}.media-library-actions-row button{color:#b7bdc6;cursor:pointer;background:#1d2126;border:1px solid #3b414a;border-radius:6px;align-items:center;gap:5px;height:30px;padding:0 8px;font-size:10px;display:flex}.media-library-actions-row button:hover{color:#fff;border-color:#626a76}.media-library-actions-row button:disabled{opacity:.45;cursor:progress}.media-library-actions-row .media-clear-button:hover{color:#ff9cac;background:#2d1d22;border-color:#75434c}.media-library-list{background:#101216;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;min-height:0;padding:12px 14px;display:grid;overflow-y:auto}.media-library-list>article{background:#15181d;border:1px solid #2f343c;border-radius:7px;min-width:0;transition:border-color .15s,background .15s,box-shadow .15s;position:relative;overflow:hidden}.media-library-list>article:hover{background:#191d22;border-color:#4a515c}.media-library-list>article.selected{border-color:#69b994;box-shadow:0 0 0 1px #69b99440}.media-select{z-index:3;background:#101318d9;border-radius:5px;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:7px;left:7px;box-shadow:0 2px 8px #0008}.media-thumbnail{aspect-ratio:4/3;cursor:zoom-in;background:#090b0e;border:0;border-bottom:1px solid #2b3037;border-radius:0;width:100%;padding:0;display:block;overflow:hidden}.media-thumbnail img,.media-thumbnail video{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.media-record-meta{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;min-width:0;padding:8px 9px 9px;display:grid}.media-record-meta strong{color:#cfd3d9;text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:11px;font-weight:600;overflow:hidden}.media-record-meta span,.media-record-meta time{color:#6b727d;font-variant-numeric:tabular-nums;font-size:9px}.media-record-meta time{text-align:right}.media-record-actions{z-index:3;opacity:0;pointer-events:none;gap:4px;transition:opacity .15s;display:flex;position:absolute;top:7px;right:7px}.media-library-list>article:hover .media-record-actions,.media-record-actions:focus-within{opacity:1;pointer-events:auto}.media-record-actions button{color:#aeb5bf;cursor:pointer;background:#171b20e8;border:1px solid #414851;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;box-shadow:0 3px 10px #0008}.media-record-actions button:hover{color:#fff;background:#252b33;border-color:#718092}.media-record-actions button.danger:hover{color:#ff9cac;background:#352229;border-color:#82505b}.media-library-empty{text-align:center;color:#555d68;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;min-height:260px;padding:32px;display:flex}.media-library-empty strong{color:#9299a3;margin-top:14px;font-size:13px}.media-library-empty span{max-width:280px;margin-top:6px;font-size:11px;line-height:1.55}.spinning{animation:.8s linear infinite spin}.api-simple.local-api-modal{color:#e6e7ea;letter-spacing:0;background:#17181b;border-color:#303238;border-radius:8px;width:min(820px,100vw - 32px);max-height:calc(100dvh - 32px)}.local-api-modal>header{height:76px;padding:0 28px}.local-api-modal>header strong{font-weight:600;font-size:20px!important}.local-api-inputs{grid-template-columns:185px minmax(0,1fr);align-items:center;gap:18px;padding:28px;display:grid}.local-api-field{display:contents}.local-api-inputs label{font-size:14px;font-weight:500;line-height:1.5}.local-api-input{background:#212226;border:1px solid #32343a;border-radius:7px;align-items:center;min-width:0;height:48px;display:flex}.local-api-input:focus-within{border-color:#75bfa5;box-shadow:0 0 0 1px #75bfa52a}.local-api-input>svg{color:#858992;flex:none;margin-left:16px}.local-api-input input{color:#e6e7ea;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0 16px;font-size:14px}.local-api-input.url input{padding-left:10px}.local-api-input button{color:#858992;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.local-api-input button:hover{color:#e6e7ea}.local-api-check{border-block:1px solid #303238;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:92px;padding:22px 28px;display:grid}.local-api-check>svg{color:#7bc7ac;align-self:start;margin-top:2px}.local-api-check.error>svg{color:#e0a273}.local-api-check>div{flex-direction:column;gap:7px;display:flex}.local-api-check strong{font-size:15px;font-weight:500}.local-api-check span{color:#8f959f;font-size:13px;line-height:1.5}.local-api-check button{color:#d8dce1;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #34363c;border-radius:7px;align-items:center;gap:9px;height:42px;padding:0 16px;font-size:14px;display:flex}.local-api-check button:hover{background:#24262a}.local-api-check button:disabled{opacity:.55;cursor:wait}.local-api-models{padding:24px 28px 32px}.local-api-models>header{justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;display:flex}.local-api-models>header strong{font-weight:500}.local-api-models>header span{color:#8f959f}.local-api-model-group{border-bottom:1px solid #303238;grid-template-columns:185px minmax(0,1fr);gap:18px;padding:18px 0;display:grid}.local-api-model-group:last-child{border-bottom:0}.local-api-model-label{color:#969ca5;align-items:flex-start;gap:9px;padding-top:7px;font-size:13px;line-height:1.5;display:flex}.local-api-model-label svg{flex:none}.local-api-model-list{flex-direction:column;gap:8px;min-width:0;display:flex}.local-api-model{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:32px;font-size:13px;display:grid}.local-api-model strong{overflow-wrap:anywhere;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:600}.local-api-model>span{color:#7bc7ac;white-space:nowrap;align-items:center;gap:6px;display:flex}.local-api-model>span.discovered{color:#dfb477}.local-api-empty{color:#858b95;overflow-wrap:anywhere;min-height:32px;padding-top:7px;font-size:13px;line-height:1.5}.local-api-empty.error{color:#e0a273}@media (max-width:600px){.local-api-modal>header{height:62px;padding:0 18px}.local-api-inputs{grid-template-columns:minmax(0,1fr);gap:9px;padding:20px 18px}.local-api-inputs label:not(:first-child),.local-api-field label{margin-top:7px}.local-api-check{grid-template-columns:20px minmax(0,1fr);gap:10px;padding:18px}.local-api-check button{grid-column:2;justify-self:start;margin-top:4px}.local-api-models{padding:20px 18px}.local-api-model-group{grid-template-columns:minmax(0,1fr);gap:12px}.local-api-model{gap:8px}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes pop{0%{opacity:0;transform:translateY(-5px)scale(.98)}to{opacity:1;transform:none}}@keyframes toast-life{0%,80%{opacity:1}to{opacity:0}}@media (max-width:1200px){.minimal-studio.media-open .project-mark,.minimal-studio.chat-open .project-mark{display:none}.minimal-studio.media-open .top-float,.minimal-studio.chat-open .top-float{padding-left:5px}}@media (max-width:900px){.chat-panel{width:min(420px,94vw)}.canvas-stage.with-chat,.canvas-stage.with-media{right:0}.minimal-studio.media-open .top-float,.minimal-studio.chat-open .top-float{left:50%}}@media (max-width:760px){.top-float{left:auto;right:12px;transform:none}.project-mark{display:none}.flow-card{width:280px}.flow-image,.flow-video{width:330px}.api-fields,.api-mapping{grid-template-columns:1fr}.api-mode-row{flex-direction:column;align-items:flex-start}.canvas-help{display:none}.media-library-panel{width:100vw}.chat-api-settings{margin-top:8px}.chat-api-settings .api-mode-row{align-items:stretch;gap:16px;padding:16px}.chat-api-settings .api-mode-row span{max-width:none}.chat-api-settings .api-mode-switch{width:100%}.chat-api-settings .api-mode-switch button{flex:1;min-width:0;padding:0 8px}.chat-api-settings .api-fields,.chat-api-settings .api-mapping{grid-template-columns:1fr;gap:16px;padding:16px}.chat-api-settings .api-check-head{padding:16px 16px 8px}.chat-api-settings .api-discovery-status,.chat-api-settings .api-safe{margin:0 16px 16px}}@media (max-width:520px){.chat-api-settings .api-check-head{flex-direction:column;align-items:stretch;gap:12px}.chat-api-settings .api-check-head button{justify-content:center;width:100%}}@media (max-width:420px){.media-library-list{grid-template-columns:1fr}.media-library-actions-row>span{display:none}.media-library-panel{grid-template-rows:64px auto 86px minmax(0,1fr)}}@media (max-width:760px){.mask-editor-backdrop{padding:8px}.mask-editor{width:calc(100vw - 16px);height:calc(100vh - 16px)}.mask-toolbar label{display:none}.mask-toolbar button{padding:0 7px}.mask-editor>footer{grid-template-columns:1fr}.mask-editor>footer>div{display:none}.mask-editor textarea{height:60px}.mask-submit{height:38px}.mask-image-stack img{max-width:calc(100vw - 44px);max-height:calc(100vh - 300px)}}.project-mark strong{font-size:12px}.project-mark span{white-space:nowrap;font-size:11px}.project-mark input,.top-float button{font-size:12px}.hosted-task-count{color:#b9edcf;font-variant-numeric:tabular-nums;background:#294036;border-radius:4px;min-width:17px;padding:1px 4px;font-size:10px}.hosted-tasks-dialog{color:#e0e5e9;text-align:left;background:#111419;border:1px solid #383e46;border-radius:12px;width:min(520px,100vw - 32px);max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 24px 90px #0009}.hosted-tasks-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#030609a6}.hosted-tasks-panel{flex-direction:column;max-height:calc(100dvh - 50px);display:flex}.hosted-tasks-panel>header{border-bottom:1px solid #2b3138;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.hosted-tasks-panel h2{letter-spacing:.02em;margin:0;font-size:18px;font-weight:650}.hosted-tasks-panel>header p{color:#9ba6b1;margin:6px 0 0;font-size:12px}.hosted-tasks-panel button{color:#c5cfd8;height:32px;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #38414a;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:12px;display:inline-flex}.hosted-tasks-panel button:hover{color:#eef7f1;background:#242c32;border-color:#657c70}.hosted-tasks-panel button:disabled{opacity:.5;cursor:wait}.hosted-tasks-panel :is(button,summary):focus-visible{outline-offset:3px;outline:2px solid #9ce5c4}.hosted-tasks-panel>header button{border-color:#0000;flex:none;width:34px;padding:0}.hosted-tasks-content{overscroll-behavior:contain;min-height:0;padding:0 24px;overflow:auto}.hosted-tasks-content ul{margin:0;padding:0;list-style:none}.hosted-task-row{border-bottom:1px solid #292f36;min-width:0;padding:22px 0}.hosted-task-row:last-child{border-bottom:0}.hosted-task-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.hosted-task-heading strong{font-weight:600}.hosted-task-status{color:#ade3c9;font-size:12px}.hosted-task-status.attention{color:#edc083}.hosted-task-prompt{color:#e0e5e9;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:10px 0 8px;font-size:14px;line-height:1.65;display:-webkit-box;overflow:hidden}.hosted-task-meta{color:#909ca8;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;display:flex}.hosted-task-meta>span{overflow-wrap:anywhere;min-width:0}.hosted-task-meta time{font-variant-numeric:tabular-nums;flex:none}.hosted-task-hint{color:#a8b4be;overflow-wrap:anywhere;margin:12px 0 0;font-size:12px;line-height:1.7}.hosted-task-hint.error{color:#edc083}.hosted-task-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.hosted-task-actions:empty{display:none}.hosted-task-actions .hosted-task-cancel{color:#c4adb0;margin-left:auto}.hosted-task-details{color:#8e9da9;margin-top:12px;font-size:11px}.hosted-task-details summary{cursor:pointer;width:fit-content}.hosted-task-details code{color:#c5cfd8;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;padding:8px 0;display:block}.hosted-task-details button{height:28px;font-size:11px}.hosted-tasks-content h3{color:#b8c3cc;border-top:1px solid #343b43;gap:8px;margin:10px 0 0;padding-top:18px;font-size:12px;font-weight:500;display:flex}.hosted-tasks-content h3 span{color:#88949f}.hosted-tasks-empty{color:#aab6c0;text-align:center;margin:0;padding:40px 12px;font-size:13px;line-height:1.8}.hosted-tasks-panel>footer{color:#93a0ac;border-top:1px solid #2b3138;padding:14px 24px;font-size:11px;line-height:1.6}@media (max-width:600px){.hosted-tasks-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.hosted-tasks-panel{max-height:calc(100dvh - 26px)}.hosted-tasks-panel>header{padding:18px 16px}.hosted-tasks-content{padding:0 16px}.hosted-tasks-panel>footer{padding:12px 16px}.top-float{gap:0;max-width:calc(100vw - 24px);padding-left:4px}.top-float>button{gap:5px;padding:0 7px;font-size:11px}}.canvas-popover button,.flow-card header span{font-size:12px}.node-state{padding:3px 6px;font-size:10px}.upload-zone strong{font-size:12px}.upload-zone span{font-size:11px;line-height:1.55}.node-textarea{font-size:14px}.upstream-pill{font-size:11px}.generator-empty{font-size:12px}.result-badge{font-size:10px}.node-error,.node-warning,.result-actions button,.node-controls select{font-size:11px}.create-menu>div{font-size:10px}.create-menu button span{font-size:12px}.create-menu button small,.image-context-menu strong{font-size:10px}.image-context-menu button{font-size:12px}.image-toast{font-size:11px}.canvas-help{font-size:10px}.api-simple>header strong,.media-preview>header strong{font-size:14px}.api-simple>header span,.media-preview>header span,.api-fields label{font-size:11px}.api-fields input{font-size:12px}.api-check-head strong{font-size:13px}.api-check-head span,.api-check-head button{font-size:11px}.model-check-list>div{font-size:12px}.model-check-list small,.api-safe{font-size:11px}.hosted-account-backdrop{padding:20px}.hosted-account-panel{grid-template-rows:64px minmax(0,1fr);width:min(640px,100vw - 40px);max-height:min(760px,100vh - 40px);display:grid;overflow:hidden}.hosted-account-header{min-height:64px;height:auto!important;padding:0 16px 0 24px!important}.hosted-account-header>div{min-width:0;gap:4px!important}.hosted-account-header strong{color:#eef0f3;line-height:1.2;font-size:15px!important}.hosted-account-header span{text-overflow:ellipsis;white-space:nowrap;line-height:1.4;overflow:hidden;color:#747b86!important;font-size:11px!important}.hosted-account-header button:focus-visible{outline-offset:2px;outline:2px solid #78bda0}.hosted-account-content{background:#111318;min-height:0;padding:24px;overflow-y:auto}.hosted-account-state{color:#69717c;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex}.hosted-account-state>svg{color:#79c8a5;margin-bottom:16px}.hosted-account-state strong{color:#d9dde2;font-size:14px;font-weight:600}.hosted-account-state span{color:#737b86;max-width:320px;margin-top:8px;font-size:12px;line-height:1.6}.hosted-account-state .hosted-account-primary{width:auto;min-width:112px;margin-top:24px;padding:0 20px}.hosted-account-auth{width:min(100%,440px);margin:0 auto}.hosted-account-flow{background:#0d0f13;border:1px solid #30353d;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;padding:4px;display:grid}.hosted-account-flow button{color:#777f8a;cursor:pointer;background:0 0;border:0;border-radius:5px;height:32px;font-size:12px}.hosted-account-flow button:hover:not(.active){color:#cbd0d7;background:#1a1d22}.hosted-account-flow button.active{color:#afe9ce;background:#262c2a;box-shadow:0 1px 5px #0008}.hosted-account-flow button:focus-visible{outline-offset:2px;outline:2px solid #78bda0}.hosted-account-intro{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:16px;padding:24px 0 16px;display:grid}.hosted-account-intro>span{color:#8fdab9;background:#17251f;border:1px solid #3b5148;border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.hosted-account-intro strong{color:#e1e4e8;font-size:14px;line-height:1.3}.hosted-account-intro p{color:#737b86;margin:8px 0 0;font-size:12px;line-height:1.6}.hosted-account-form{flex-direction:column;gap:16px;display:flex}.hosted-account-form label{color:#9299a4;flex-direction:column;gap:8px;font-size:12px;display:flex}.hosted-account-form input{color:#dce0e5;background:#191c21;border:1px solid #3b4049;border-radius:7px;outline:0;width:100%;height:40px;padding:0 12px;font-size:12px;transition:border-color .15s,box-shadow .15s,background .15s}.hosted-account-form input:hover{background:#1c1f25;border-color:#505762}.hosted-account-form input:focus-visible{border-color:#76a991;box-shadow:0 0 0 3px #76b99b1f}.hosted-account-form input:disabled{opacity:.58;cursor:progress}.hosted-account-form input::placeholder{color:#5f6670}.hosted-account-primary{color:#b5efd3;cursor:pointer;background:#244335;border:1px solid #4d826b;border-radius:7px;width:100%;height:40px;font-size:12px;font-weight:650;transition:border-color .15s,background .15s,color .15s}.hosted-account-primary:hover:not(:disabled){color:#effbf5;background:#2b513f;border-color:#68ac8e}.hosted-account-primary:focus-visible{outline-offset:2px;outline:2px solid #8fd5b6}.hosted-account-primary:disabled{opacity:.42;cursor:progress}.hosted-account-security{color:#69717b;border-top:1px solid #292d34;align-items:flex-start;gap:8px;margin:24px 0 0;padding-top:16px;font-size:11px;line-height:1.55;display:flex}.hosted-account-security svg{color:#789286;flex:none;margin-top:2px}.hosted-account-dashboard{flex-direction:column;gap:24px;display:flex}.hosted-account-identity{justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.hosted-account-identity>div:first-child{align-items:center;gap:12px;min-width:0;display:flex}.hosted-account-avatar{color:#a7e8c9;text-transform:uppercase;background:#192820;border:1px solid #3d544a;border-radius:9px;flex:none;place-items:center;width:40px;height:40px;font-size:14px;font-weight:650;display:grid}.hosted-account-identity p{flex-direction:column;gap:4px;min-width:0;margin:0;display:flex}.hosted-account-identity p strong{color:#e1e4e8;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.hosted-account-identity p span{color:#747c87;font-size:11px}.hosted-account-actions{flex:none;align-items:center;gap:8px;display:flex}.hosted-account-actions button,.hosted-account-actions a{color:#969da7;cursor:pointer;background:#1a1d22;border:1px solid #393f48;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:11px;text-decoration:none;display:flex}.hosted-account-actions button:first-child{width:34px;padding:0}.hosted-account-actions button:hover:not(:disabled),.hosted-account-actions a:hover{color:#e3e6ea;background:#22262c;border-color:#58616d}.hosted-account-actions button:last-child:hover:not(:disabled){color:#f1a2ae;background:#2c1d22;border-color:#704750}:is(.hosted-account-actions button:focus-visible,.hosted-account-actions a:focus-visible){outline-offset:2px;outline:2px solid #78bda0}.hosted-account-actions button:disabled{opacity:.42;cursor:progress}.hosted-account-wallet,.hosted-account-ledger{border-top:1px solid #2b2f36;padding-top:24px}.hosted-account-section-title{justify-content:space-between;align-items:center;gap:16px;min-height:24px;margin-bottom:16px;display:flex}.hosted-account-section-title>span{color:#cfd3d9;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.hosted-account-section-title>span svg{color:#77cba7}.hosted-account-section-title time,.hosted-account-section-title small{color:#656d78;font-variant-numeric:tabular-nums;font-size:10px;font-weight:400}.hosted-account-wallet-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.hosted-account-wallet-grid>div{background:#16191e;border:1px solid #30353d;border-radius:9px;grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;min-height:112px;padding:16px;display:grid}.hosted-account-wallet-grid span{color:#737b86;grid-column:1/-1;align-self:start;font-size:11px}.hosted-account-wallet-grid strong{color:#edf0f3;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:24px;font-weight:600;line-height:1}.hosted-account-wallet-grid small{color:#626a75;text-align:right;font-size:10px}.hosted-account-ledger ol{background:#15181d;border:1px solid #30353d;border-radius:9px;margin:0;padding:0;list-style:none;overflow:hidden}.hosted-account-ledger li{border-bottom:1px solid #292e35;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:8px 12px;display:flex}.hosted-account-ledger li:last-child{border-bottom:0}.hosted-account-ledger li>span{flex-direction:column;gap:4px;min-width:0;display:flex}.hosted-account-ledger li>span:last-child{flex:none;align-items:flex-end}.hosted-account-ledger strong{color:#cbd0d6;font-size:11px;font-weight:600}.hosted-account-ledger small{color:#666e79;text-overflow:ellipsis;white-space:nowrap;max-width:280px;font-size:10px;overflow:hidden}.hosted-account-ledger b{color:#a5debf;font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.hosted-account-ledger time{color:#626a74;font-variant-numeric:tabular-nums;font-size:9px}.hosted-account-empty{color:#69717b;text-align:center;border:1px dashed #30353d;border-radius:9px;place-items:center;min-height:96px;margin:0;padding:24px;font-size:11px;line-height:1.6;display:grid}.hosted-account-notice{color:#92d5b6;background:#17241f;border:1px solid #355046;border-radius:7px;margin:16px 0 0;padding:10px 12px;font-size:11px;line-height:1.55}.hosted-account-error{color:#efa0ad;background:#2b1c21;border:1px solid #68414a;border-radius:7px;flex-direction:column;gap:4px;margin-top:16px;padding:12px;display:flex}.hosted-account-error strong{font-size:11px}.hosted-account-error span{font-size:11px;line-height:1.55}.hosted-account-error small{color:#a8737c;word-break:break-all;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.hosted-admin-console{border-top:1px solid #2b2f36;flex-direction:column;gap:16px;padding-top:24px;display:flex}.hosted-admin-titlebar{grid-template-columns:auto minmax(0,1fr) 34px;align-items:center;gap:12px;min-height:34px;display:grid}.hosted-admin-titlebar>button{color:#929aa5;cursor:pointer;background:#1a1d22;border:1px solid #393f48;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 10px;font-size:11px;display:flex}.hosted-admin-titlebar>button:last-child{width:34px;padding:0}.hosted-admin-titlebar>button:hover:not(:disabled){color:#e3e6ea;background:#22262c;border-color:#58616d}.hosted-admin-titlebar>button:focus-visible{outline-offset:2px;outline:2px solid #78bda0}.hosted-admin-tabs button:focus-visible{outline-offset:2px;outline:2px solid #78bda0}.hosted-admin-more:focus-visible{outline-offset:2px;outline:2px solid #78bda0}.hosted-admin-titlebar>button:disabled{opacity:.42;cursor:progress}.hosted-admin-titlebar p{flex-direction:column;gap:3px;min-width:0;margin:0;display:flex}.hosted-admin-titlebar p strong{color:#dce1e6;align-items:center;gap:6px;font-size:12px;font-weight:650;display:flex}.hosted-admin-titlebar p strong svg{color:#83cbaa}.hosted-admin-titlebar p span{color:#6f7782;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.hosted-admin-readonly{color:#899c93;background:#17201d;border:1px solid #384a43;border-radius:7px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:10px;line-height:1.55;display:flex}.hosted-admin-readonly svg{color:#79af97;flex:none;margin-top:1px}.hosted-admin-tabs{background:#0d0f13;border:1px solid #30353d;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;display:grid}.hosted-admin-tabs button{color:#777f8a;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:6px;height:32px;font-size:11px;display:flex}.hosted-admin-tabs button:hover:not(.active):not(:disabled){color:#cbd0d7;background:#1a1d22}.hosted-admin-tabs button.active{color:#afe9ce;background:#262c2a;box-shadow:0 1px 5px #0008}.hosted-admin-tabs button:disabled{opacity:.5;cursor:progress}.hosted-admin-error{color:#efa0ad;background:#2b1c21;border:1px solid #68414a;border-radius:8px;flex-direction:column;gap:5px;padding:16px;display:flex}.hosted-admin-error strong{font-size:12px}.hosted-admin-error span{font-size:11px;line-height:1.55}.hosted-admin-error small{color:#a8737c;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.hosted-admin-empty{color:#69717b;border:1px dashed #30353d;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:160px;font-size:11px;display:flex}.hosted-admin-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.hosted-admin-row{background:#15181d;border:1px solid #30353d;border-radius:8px;padding:14px}.hosted-admin-row-head{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.hosted-admin-row-head p{flex-direction:column;gap:4px;min-width:0;margin:0;display:flex}.hosted-admin-row-head p strong{color:#d9dde2;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;overflow:hidden}.hosted-admin-row-head p span{color:#646d78;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;overflow:hidden}.hosted-admin-row-head time{color:#68717c;font-variant-numeric:tabular-nums;flex:none;font-size:9px}.hosted-admin-badge{color:#9bd9bc;white-space:nowrap;background:#19261f;border:1px solid #3c554a;border-radius:999px;align-items:center;min-height:22px;padding:0 7px;font-size:9px;display:inline-flex}.hosted-admin-badge.is-warning,.hosted-admin-badge.state-suspended{color:#e3bd7e;background:#2a2318;border-color:#68563c}.hosted-admin-badge.is-muted,.hosted-admin-badge.state-closed{color:#8d939c;background:#222429;border-color:#4a4d52}.hosted-admin-badge.state-invited{color:#91aed3;background:#1b222e;border-color:#43536a}.hosted-admin-row dl{border-top:1px solid #292e35;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 0;padding-top:12px;display:grid}.hosted-admin-row dl div{flex-direction:column;gap:4px;min-width:0;display:flex}.hosted-admin-row dt{color:#646d78;font-size:9px}.hosted-admin-row dd{color:#b9c0c8;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:10px;overflow:hidden}.hosted-admin-review-note{color:#bd9c6e;background:#211d17;border-left:2px solid #a17843;margin:12px 0 0;padding:8px 10px;font-size:10px;line-height:1.55}.hosted-admin-audit-reason{color:#aeb5bd;word-break:break-word;margin:12px 0 6px;font-size:10px;line-height:1.5}.hosted-admin-audit-row>small{color:#666f7a;font-size:9px}.hosted-admin-more{color:#929aa5;cursor:pointer;background:#1a1d22;border:1px solid #3b424b;border-radius:7px;width:100%;height:36px;font-size:11px}.hosted-admin-more:hover:not(:disabled){color:#e3e6ea;background:#22262c;border-color:#58616d}.hosted-admin-more:disabled{opacity:.42;cursor:progress}@media (max-width:640px){.hosted-account-backdrop{padding:8px}.hosted-account-panel{grid-template-rows:64px minmax(0,1fr);width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.hosted-account-header{padding:0 12px 0 16px!important}.hosted-account-content{padding:16px}.hosted-account-intro{padding-top:16px}.hosted-account-identity{flex-direction:column;align-items:flex-start}.hosted-account-actions{width:100%}.hosted-account-actions a,.hosted-account-actions button:last-child{flex:1}.hosted-account-wallet-grid{grid-template-columns:1fr}.hosted-account-wallet-grid>div{min-height:96px}.hosted-account-ledger small{max-width:160px}.hosted-admin-titlebar{grid-template-columns:auto minmax(0,1fr) 34px;gap:8px}.hosted-admin-tabs button{gap:4px;font-size:10px}.hosted-admin-row dl{grid-template-columns:1fr 1fr}}.hosted-account-recharge-hint{color:#939ca7;margin:12px 0 0;font-size:11px;line-height:1.7}.hosted-account-ledger li>span:first-child{min-width:0}.hosted-account-ledger li small{overflow-wrap:anywhere}.hosted-account-ledger .hosted-account-credit{color:#8ed8b8}.hosted-account-pagination{justify-content:space-between;gap:12px;margin-top:16px;display:flex}.hosted-account-pagination button{color:#cfd3d9;cursor:pointer;background:0 0;border:1px solid #3a424c;border-radius:6px;padding:7px 12px;font-size:11px}.hosted-account-pagination button:disabled{opacity:.4;cursor:default}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
