.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.border-glow-card{--edge-proximity: 0;--cursor-angle: 45deg;--edge-sensitivity: 30;--color-sensitivity: calc(var(--edge-sensitivity) + 20);--border-radius: 28px;--glow-padding: 40px;--cone-spread: 25;--tilt-rotate-x: 0deg;--tilt-rotate-y: 0deg;--tilt-scale: 1;position:relative;display:grid;border:1px solid rgb(255 255 255 / 15%);border-radius:var(--border-radius);background:var(--card-bg, #120F17);box-shadow:#0000001a 0 1px 2px,#0000001a 0 2px 4px,#0000001a 0 4px 8px,#0000001a 0 8px 16px,#0000001a 0 16px 32px,#0000001a 0 32px 64px;isolation:isolate;overflow:visible;transform:translateZ(.01px)}.border-glow-card[data-tilt-enabled=true]{transform:perspective(900px) rotateX(var(--tilt-rotate-x)) rotateY(var(--tilt-rotate-y)) scale(var(--tilt-scale)) translateZ(.01px);transform-style:preserve-3d;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,filter .22s ease;will-change:transform}.border-glow-card[data-tilt-enabled=true]:hover{transition:transform 70ms linear,box-shadow .18s ease,filter .18s ease}.border-glow-card:before,.border-glow-card:after,.border-glow-card>.edge-light{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;transition:opacity .25s ease-out}.border-glow-card:not(:hover):not(.sweep-active):before,.border-glow-card:not(:hover):not(.sweep-active):after,.border-glow-card:not(:hover):not(.sweep-active)>.edge-light{opacity:0;transition:opacity .75s ease-in-out}.border-glow-card:before{border:1px solid transparent;background:linear-gradient(var(--card-bg, #120F17) 0 100%) padding-box,linear-gradient(#fff0,#fff0) border-box,var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) border-box,var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) border-box,var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) border-box,var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) border-box,var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) border-box,var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) border-box,var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) border-box,var(--gradient-base, linear-gradient(#c299ff 0 100%)) border-box;opacity:calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));-webkit-mask-image:conic-gradient(from var(--cursor-angle) at center,black calc(var(--cone-spread) * 1%),transparent calc((var(--cone-spread) + 15) * 1%),transparent calc((100 - var(--cone-spread) - 15) * 1%),black calc((100 - var(--cone-spread)) * 1%));mask-image:conic-gradient(from var(--cursor-angle) at center,black calc(var(--cone-spread) * 1%),transparent calc((var(--cone-spread) + 15) * 1%),transparent calc((100 - var(--cone-spread) - 15) * 1%),black calc((100 - var(--cone-spread)) * 1%))}.border-glow-card:after{border:1px solid transparent;background:var(--gradient-one, radial-gradient(at 80% 55%, hsla(268, 100%, 76%, 1) 0px, transparent 50%)) padding-box,var(--gradient-two, radial-gradient(at 69% 34%, hsla(349, 100%, 74%, 1) 0px, transparent 50%)) padding-box,var(--gradient-three, radial-gradient(at 8% 6%, hsla(136, 100%, 78%, 1) 0px, transparent 50%)) padding-box,var(--gradient-four, radial-gradient(at 41% 38%, hsla(192, 100%, 64%, 1) 0px, transparent 50%)) padding-box,var(--gradient-five, radial-gradient(at 86% 85%, hsla(186, 100%, 74%, 1) 0px, transparent 50%)) padding-box,var(--gradient-six, radial-gradient(at 82% 18%, hsla(52, 100%, 65%, 1) 0px, transparent 50%)) padding-box,var(--gradient-seven, radial-gradient(at 51% 4%, hsla(12, 100%, 72%, 1) 0px, transparent 50%)) padding-box,var(--gradient-base, linear-gradient(#c299ff 0 100%)) padding-box;opacity:calc(var(--fill-opacity, .5) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));-webkit-mask-image:linear-gradient(to bottom,#000,#000),radial-gradient(ellipse at 50% 50%,black 40%,transparent 65%),radial-gradient(ellipse at 66% 66%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 66% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 66%,black 5%,transparent 40%),conic-gradient(from var(--cursor-angle) at center,transparent 5%,black 15%,black 85%,transparent 95%);mask-image:linear-gradient(to bottom,#000,#000),radial-gradient(ellipse at 50% 50%,black 40%,transparent 65%),radial-gradient(ellipse at 66% 66%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 66% 33%,black 5%,transparent 40%),radial-gradient(ellipse at 33% 66%,black 5%,transparent 40%),conic-gradient(from var(--cursor-angle) at center,transparent 5%,black 15%,black 85%,transparent 95%);-webkit-mask-composite:source-out,source-over,source-over,source-over,source-over,source-over;mask-composite:subtract,add,add,add,add,add;mix-blend-mode:soft-light}.border-glow-card>.edge-light{inset:calc(var(--glow-padding) * -1);z-index:1;pointer-events:none;opacity:calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));-webkit-mask-image:conic-gradient(from var(--cursor-angle) at center,black 2.5%,transparent 10%,transparent 90%,black 97.5%);mask-image:conic-gradient(from var(--cursor-angle) at center,black 2.5%,transparent 10%,transparent 90%,black 97.5%);mix-blend-mode:screen}.border-glow-card>.edge-light:before{content:"";position:absolute;inset:var(--glow-padding);border-radius:inherit;box-shadow:inset 0 0 0 1px var(--glow-color, hsl(40deg 80% 80% / 100%)),inset 0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),inset 0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),inset 0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),inset 0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),inset 0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),inset 0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%)),0 0 1px 0 var(--glow-color-60, hsl(40deg 80% 80% / 60%)),0 0 3px 0 var(--glow-color-50, hsl(40deg 80% 80% / 50%)),0 0 6px 0 var(--glow-color-40, hsl(40deg 80% 80% / 40%)),0 0 15px 0 var(--glow-color-30, hsl(40deg 80% 80% / 30%)),0 0 25px 2px var(--glow-color-20, hsl(40deg 80% 80% / 20%)),0 0 50px 2px var(--glow-color-10, hsl(40deg 80% 80% / 10%))}.border-glow-inner{position:relative;z-index:1;display:flex;flex-direction:column;overflow:auto}.border-glow-card[data-tilt-enabled=true]>.border-glow-inner{transform:translateZ(18px);transform-style:preserve-3d}@media(hover:none),(prefers-reduced-motion:reduce){.border-glow-card[data-tilt-enabled=true]{transform:translateZ(.01px);transition:none}.border-glow-card[data-tilt-enabled=true]>.border-glow-inner{transform:none}}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f7f7f8;--panel: #ffffff;--panel-soft: #f4f4f5;--ink: #15161a;--muted: #85878e;--line: #e8e8eb;--line-strong: #d8dce7;--blue: #2f74ff;--blue-soft: #e9f0ff;--green: #1f9d82;--green-deep: #0f6f61;--coral: #ff6848;--amber: #efaa2f;--danger: #c44236;--dark: #0c0d10;--dark-2: #14161b;--dark-3: #1d2027;--dark-line: rgba(255, 255, 255, .09);--soft-shadow: 0 14px 44px rgba(15, 17, 22, .08);--dock-shadow: 0 18px 70px rgba(38, 76, 160, .16)}html[data-platform=windows]{font-family:Segoe UI Variable,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,ui-sans-serif,system-ui,sans-serif;text-rendering:optimizeLegibility;font-optical-sizing:auto}html[data-platform=windows] body{-webkit-font-smoothing:antialiased;font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;min-width:0;height:100%;margin:0}body{background:var(--bg);color:var(--ink);overflow:hidden}.app-error-fallback{min-height:100vh;display:grid;place-items:center;padding:32px;color:#e8edf7;background:#10141d}.app-recovering-screen{min-height:100vh;display:grid;place-items:center;padding:32px;background:#10141d}.app-error-fallback>div{width:min(520px,100%);padding:24px;border:1px solid rgba(148,163,184,.26);border-radius:8px;background:#0f172ac7}.app-error-fallback h1{margin:0 0 10px;font-size:22px}.app-error-fallback p{margin:0 0 18px;color:#b9c3d3;line-height:1.6}.app-error-fallback button{height:38px;padding:0 16px;border:0;border-radius:6px;color:#111827;background:#f4c95d;cursor:pointer}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}textarea,input,select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}textarea:focus,input:focus,select:focus{border-color:#2f74ff9e;box-shadow:0 0 0 4px #2f74ff1c}textarea{min-height:96px;resize:vertical;padding:12px;line-height:1.55}input,select{height:42px;padding:0 12px}.xlb-unified-select{position:relative;display:inline-flex;min-width:0;width:100%;color:var(--theme-text, var(--ink));font:inherit}.xlb-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;width:100%;min-height:42px;padding:0 12px;border:1px solid var(--theme-line-strong, var(--line));border-radius:8px;color:inherit;background:var(--theme-input, #fff);font:inherit;line-height:1.2;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.xlb-select-trigger:hover:not(:disabled){border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 34%,var(--theme-line-strong, #d8dce7));background:color-mix(in srgb,var(--theme-input, #fff) 94%,var(--theme-accent, #3268f2) 6%)}.xlb-unified-select.open .xlb-select-trigger,.xlb-select-trigger:focus-visible{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 68%,var(--theme-line-strong, #d8dce7));outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent, #3268f2) 13%,transparent)}.xlb-unified-select.disabled .xlb-select-trigger{color:var(--theme-disabled-text, var(--theme-muted, #7b8494));background:var(--theme-disabled-bg, var(--theme-surface-2, #f4f6f9))}.xlb-select-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xlb-select-indicator{flex:0 0 auto;opacity:.72;transition:transform .16s ease}.xlb-unified-select.open .xlb-select-indicator{transform:rotate(180deg)}.xlb-select-menu{position:fixed;z-index:100000;display:grid;align-content:start;gap:3px;min-width:0;padding:6px;overflow:auto;overscroll-behavior:contain;border:1px solid color-mix(in srgb,var(--theme-line-strong, #d8dce7) 88%,transparent);border-radius:10px;color:var(--theme-text, #151922);background:color-mix(in srgb,var(--theme-surface, #fff) 96%,var(--theme-main, #f7f8fb) 4%);box-shadow:0 22px 56px #1720342e,0 3px 10px #17203414;animation:xlb-select-menu-in .14s ease-out both;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--theme-muted, #7b8494) 44%,transparent) transparent}.xlb-select-option{display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:36px;padding:7px 9px;border:0;border-radius:7px;color:inherit;background:transparent;font:inherit;font-size:13px;font-weight:680;line-height:1.35;text-align:left}.xlb-select-option>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xlb-select-option>svg{color:var(--theme-accent, #3268f2)}.xlb-select-option:hover:not(:disabled),.xlb-select-option.active{color:var(--theme-heading, #10131a);background:color-mix(in srgb,var(--theme-accent, #3268f2) 10%,var(--theme-surface-2, #f2f5fa))}.xlb-select-option.selected{color:var(--theme-accent-readable, var(--theme-accent, #2459d6));background:color-mix(in srgb,var(--theme-accent, #3268f2) 14%,var(--theme-surface, #fff))}.xlb-select-option:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 46%,transparent);outline-offset:-2px}.xlb-select-group-label{padding:8px 9px 4px;color:var(--theme-muted, #778092);font-size:11px;font-weight:820;letter-spacing:.04em}@keyframes xlb-select-menu-in{0%{opacity:0;transform:translateY(-3px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.xlb-select-menu{animation:none}.xlb-select-indicator{transition:none}}.select-chip.xlb-unified-select{width:auto}.select-chip.xlb-unified-select .xlb-select-trigger{justify-content:flex-start;gap:inherit;min-height:inherit;padding:0;border:0;border-radius:inherit;color:inherit;background:transparent;box-shadow:none}.select-chip.xlb-unified-select.open,.select-chip.xlb-unified-select:focus-within{color:var(--theme-accent-readable, #1c58df);background:color-mix(in srgb,var(--theme-accent, #3268f2) 10%,transparent)}html[data-platform=windows] :is(input[type=number],input[type=date],input[type=datetime-local]){font-variant-numeric:tabular-nums}html[data-platform=windows] input[type=number]::-webkit-inner-spin-button,html[data-platform=windows] input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}html[data-platform=windows] input::-webkit-calendar-picker-indicator{opacity:.68;cursor:pointer}html[data-platform=windows] *{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--theme-muted, #7b8494) 42%,transparent) transparent}html[data-platform=windows] *::-webkit-scrollbar{width:10px;height:10px}html[data-platform=windows] *::-webkit-scrollbar-track{background:transparent}html[data-platform=windows] *::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--theme-muted, #7b8494) 44%,transparent);background-clip:padding-box}html[data-platform=windows] *::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--theme-muted, #7b8494) 66%,transparent);background-clip:padding-box}pre{white-space:pre-wrap;word-break:break-word;margin:12px 0 0;padding:12px;background:#111;color:#f4f4f0;border-radius:8px;font-size:12px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes sweep{0%{transform:translate(-100%)}58%,to{transform:translate(100%)}}@keyframes pulseBar{0%,to{opacity:.45;transform:scaleX(.78)}50%{opacity:1;transform:scaleX(1)}}@keyframes stepPulse{0%,to{opacity:.35}50%{opacity:1}}@keyframes edgeFlow{to{stroke-dashoffset:-20}}.xlb-light-app{display:grid;grid-template-columns:var(--xlb-left-sidebar-width, 272px) minmax(0,1fr);position:relative;width:100%;height:100%;min-width:0;overflow:hidden;background:#fff}.video-module-layer{display:none;width:100%;height:100%;visibility:visible;pointer-events:none}.video-module-layer.active{display:block;visibility:visible;pointer-events:auto}.xlb-light-sidebar{position:relative;display:flex;flex-direction:column;min-width:var(--xlb-left-sidebar-min, 236px);padding:18px 18px 0;border-right:1px solid #ececef;background:#f8f8fa;overflow:hidden}.xlb-light-sidebar.collapsed{min-width:0;width:0;padding:0;border-right:0;pointer-events:none;visibility:hidden}.sidebar-resize-handle{position:absolute;z-index:30;display:block;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;touch-action:none}.sidebar-resize-handle:after{content:"";position:absolute;border-radius:999px;background:transparent;transition:background .18s ease,opacity .18s ease,box-shadow .18s ease;opacity:0}.sidebar-resize-handle.left{top:0;right:0;bottom:0;width:10px;height:100%}.sidebar-resize-handle.left:after{top:14px;bottom:14px;right:3px;width:2px}.sidebar-resize-handle.right{top:0;left:0;bottom:0;width:10px;height:100%}.sidebar-resize-handle.right:after{top:14px;bottom:14px;left:3px;width:2px}.sidebar-resize-handle:hover:after,.sidebar-resize-handle:focus-visible:after,body.resizing-sidebar .sidebar-resize-handle:after{background:var(--theme-accent-2, rgba(50, 104, 242, .72));box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent-2, #3268f2) 16%,transparent);opacity:1}body.resizing-sidebar{cursor:col-resize;-webkit-user-select:none;user-select:none}body.resizing-sidebar *{cursor:col-resize!important}.search-box{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px solid #e1e1e5;border-radius:10px;color:#a1a4ad;background:#f0f1f4}.search-box input{height:auto;padding:0;border:0;background:transparent;color:#3a3d45;box-shadow:none;font-size:15px}.search-box input:focus{box-shadow:none}.search-box kbd{color:#a6a8b0;font-size:13px;font-family:inherit}.xlb-light-brand{display:flex;align-items:center;gap:12px;min-height:58px;color:#202126;font-size:18px}.brand-avatar,.user-photo{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#e9fbff,#ffe5ec);color:#1e2025;font-weight:850}.brand-logo-image{display:block;flex:0 0 42px;width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(22,126,255,.18))}.new-chat-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:2px 0 6px;border:1px solid #dfe7f6;border-radius:8px;color:#16315f;background:#fff;font-size:14px;font-weight:820;box-shadow:0 10px 24px #1e345f0f}.new-chat-button:hover{border-color:#3268f23d;background:#f7faff}.xlb-light-nav{display:grid;gap:8px;padding:4px 0 24px}.xlb-light-nav button,.history-list button,.user-entry{display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;padding:0 14px;border-radius:8px;color:#202126;background:transparent;text-align:left;font-size:16px;font-weight:720}.xlb-light-nav button.active{background:#fff;box-shadow:0 8px 22px #16181e0b}.xlb-light-nav button span,.history-list button span,.user-entry span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-list{display:grid;align-content:start;gap:4px;min-height:0;margin:0 -6px;padding:8px 6px 18px;overflow-y:auto}.history-list h3{margin:14px 14px 12px;color:#aaaeb7;font-size:14px;font-weight:760}.history-list button{min-height:44px;color:#42454d;font-size:14px;font-weight:560}.history-list button.active{border-color:#3268f233;color:#183463;background:#fff}.history-list button span{display:grid;gap:2px}.history-list button b{min-width:0;overflow:hidden;color:inherit;font-size:13px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.history-list button small{min-width:0;overflow:hidden;color:#929aa8;font-size:11px;font-weight:640;text-overflow:ellipsis;white-space:nowrap}.history-list button:hover{background:#fff}.sidebar-history-context-menu{position:fixed;z-index:4200;min-width:176px;padding:6px;border:1px solid #e1e5ec;border-radius:9px;background:#fffffffa;box-shadow:0 18px 48px #161c262e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.sidebar-history-context-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:0 10px;border-radius:7px;color:#b42318;background:transparent;text-align:left;font-size:13px;font-weight:760}.sidebar-history-context-menu button:hover:not(:disabled){background:#fff0ee}.sidebar-history-context-menu button:disabled{color:#9299a5;opacity:1}.sidebar-footer{display:grid;gap:10px;margin:auto -18px 0;padding:12px 18px 18px;border-top:1px solid #e8e8ec;background:#f7f7f8}.download-links{display:flex;align-items:center;gap:8px;min-width:0}.download-links a,.primary,.icon-button,.asset-actions button,.asset-actions a,.section-title button,.node-output-head button,.node-output-toggle,.task-actions a,.modal-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border-radius:8px;font-weight:760;white-space:nowrap}.download-links a{flex:1;border:1px solid var(--line);background:#fff;color:#2f3531;font-size:13px}.download-links.compact a{min-height:34px}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:0 12px;border:1px solid #e2e2e6;border-radius:999px;color:#87795f;background:#fffaf0;font-size:13px;font-weight:750;white-space:nowrap}.status-pill.ready{color:var(--green-deep);background:#edf9f3;border-color:#1f9d823d}.status-pill.dark{justify-self:start;border-color:#ffffff1f;color:#aab0bd;background:#ffffff0f}.status-pill.dark.ready{color:#76e8d6}.user-entry{min-height:46px;padding:0;color:#5a5d65;font-size:15px}.xlb-light-main{position:relative;display:grid;grid-template-rows:82px minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:#fff}.xlb-light-header{display:grid;grid-template-columns:54px minmax(0,1fr) 92px;align-items:center;min-width:0;padding:0 28px;border-bottom:1px solid #ececef}.xlb-light-header h1{margin:0;text-align:center;color:#1f2024;font-size:19px;line-height:1.2}.xlb-light-header p{margin:5px 0 0;text-align:center;color:#9fa3ad;font-size:13px}.header-actions{display:flex;justify-content:flex-end;gap:8px}.icon-button{flex:0 0 auto;width:42px;height:42px;border:1px solid var(--line);color:#343842;background:#fff}.plain-icon{border:0;color:#1c1d22;background:transparent}.chat-scroll,.image-canvas{min-width:0;min-height:0;overflow-y:auto}.chat-scroll{padding:30px 28px 24px}.xlb-light-welcome{display:grid;place-items:center;align-content:center;min-height:100%;width:min(1260px,100%);margin:0 auto;text-align:center}.xlb-light-welcome h2{margin:0 0 30px;color:#030304;font-size:clamp(32px,3.4vw,44px);font-weight:900;letter-spacing:0}.suggestion-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:860px}.suggestion-cloud button{min-height:46px;max-width:360px;padding:0 18px;border-radius:12px;color:#202126;background:#f2f2f3;font-size:15px;white-space:nowrap}.message-list{display:grid;gap:22px;max-width:920px;margin:0 auto}.message{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start}.message.user{grid-template-columns:minmax(0,1fr) 38px}.message.user .avatar{grid-column:2;grid-row:1}.message.user .message-body{grid-column:1;grid-row:1;justify-self:end}.message-body{display:grid;gap:8px;min-width:0;max-width:min(820px,100%)}.message.assistant .message-body{max-width:min(900px,100%)}.message.user .bubble{color:#fff;background:#2f74ff}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;background:#111216;font-weight:850}.message.user .avatar{border:1px solid #e6e7ec;color:#1d1f25;background:#fff}.bubble{max-width:100%;padding:13px 15px;border-radius:12px;background:#f6f6f7;box-shadow:0 10px 24px #15171a0a}.message.assistant .bubble{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.bubble p{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.75}.message.user .bubble p{color:inherit}.message-rich-text{display:grid;gap:10px;color:inherit;font-size:15px;line-height:1.74}.message-rich-text h3{margin:0 0 2px;color:#1d2431;font-size:16px;font-weight:860;line-height:1.42}.message-rich-text p{margin:0;white-space:normal}.message-inline-link{display:inline;min-width:0;padding:0;border:0;border-radius:0;color:#1d58d5;background:transparent;box-shadow:none;font:inherit;font-weight:760;line-height:inherit;text-align:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;word-break:break-all;cursor:pointer}.message-inline-link:hover,.message-inline-link:focus-visible{color:#164ec2;background:transparent}.message.user .message-rich-text h3,.message.user .message-rich-text p,.message.user .message-rich-text li,.message.user .message-rich-text strong,.message.user .message-rich-text em,.message.user .message-inline-link,.agent-message.user .message-rich-text h3,.agent-message.user .message-rich-text p,.agent-message.user .message-rich-text li,.agent-message.user .message-rich-text strong,.agent-message.user .message-rich-text em,.agent-message.user .message-inline-link{color:inherit}.message.user .message-inline-link,.agent-message.user .message-inline-link{text-decoration-color:#ffffffc7}.message-rich-text ul,.message-rich-text ol{display:grid;gap:7px;margin:0;padding-left:1.2em}.message-rich-text li{padding-left:2px}.message-rich-text strong{color:#1f2937;font-weight:860}.message-rich-text em{color:#374151;font-style:normal;font-weight:760}.message-rich-text code{padding:2px 5px;border-radius:6px;color:#1e3a8a;background:#eef4ff;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}.message-rich-text code .message-inline-link{color:inherit;font:inherit;font-weight:760;text-decoration-color:currentColor}.message-rich-text code .message-inline-link:hover,.message-rich-text code .message-inline-link:focus-visible{color:inherit;text-decoration-thickness:2px}.message-rich-text pre{margin:0;padding:12px;border:1px solid #e2e8f0;border-radius:8px;color:#dbeafe;background:#101827;overflow:auto;font-size:13px;line-height:1.6}.message-rich-text pre code{padding:0;color:inherit;background:transparent}.message-table-wrap{display:grid;gap:0;max-width:100%;overflow:hidden;border:1px solid #c9d4e5;border-radius:8px;background:#fff;box-shadow:0 10px 24px #1f2c410d,0 0 0 1px #4f607c0a inset}.message-table-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:40px;padding:7px 8px 7px 12px;border-bottom:1px solid #d6dfed;color:#5b6678;background:#f8fbff;font-size:12px;font-weight:820}.message-table-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.message-table-download{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:6px;min-height:28px;padding:0 10px;border:1px solid #c9d8f0;border-radius:7px;color:#1d58d5;background:#fff;font-size:12px;font-weight:850;box-shadow:0 6px 14px #1f50a014}.message-table-download:hover,.message-table-download:focus-visible{border-color:#2f74ff6b;color:#164ec2;background:#eef5ff}.message-table-download.copied{border-color:#9ee5b3;color:#147a36;background:#f0fff4}.message-table-download.error{border-color:#fecaca;color:#b42318;background:#fff5f5}.message-table-scroll{max-width:100%;overflow-x:auto}.message-table{width:100%;min-width:min(680px,100%);border-collapse:collapse;color:#233044;font-size:14px;line-height:1.55}.message-table th,.message-table td{min-width:116px;padding:10px 12px;border:1px solid #d6dfed;vertical-align:top}.message-table th{position:sticky;top:0;z-index:1;color:#1c2a3d;background:#eef4fb;font-size:13px;font-weight:860}.message-table td{background:#fff}.message-table tbody tr:nth-child(2n) td{background:#f8fbff}.message-table tbody tr:hover td{background:#f2f7ff}.message-actions,.next-prompt-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}.message.user .message-actions{justify-content:flex-end}.message-actions button,.next-prompt-row button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid #e3e8f0;border-radius:8px;color:#657082;background:#ffffffc7;font-size:12px;font-weight:760}.message-actions button:hover,.next-prompt-row button:hover{border-color:#3268f238;color:#235de4;background:#f4f8ff}.message-actions button:disabled{cursor:not-allowed;opacity:.45;transform:none}.message-copy-action{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;min-width:0}.message-copy-feedback{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid rgba(22,160,132,.22);border-radius:999px;color:#0f8069;background:#ecfff8;font-size:11px;font-weight:820;line-height:1;white-space:nowrap;box-shadow:0 8px 18px #0f806914}.next-prompt-row{margin-top:4px}.next-prompt-row button{color:#33506f;background:#f6f9ff}.assistant-thinking-card{display:grid;gap:10px;min-width:0;margin:0 0 10px;padding:12px;border:1px solid #d9e4ff;border-radius:8px;color:#26334d;background:#f4f8ff}.assistant-thinking-card:last-child{margin-bottom:0}.assistant-thinking-card.streaming{border-color:#e2e6ef;color:#343842;background:#fafbfe}.thinking-card-head{display:flex;align-items:center;gap:8px;min-width:0;color:#1f5fe6;font-size:14px;font-weight:820}.assistant-thinking-card.streaming .thinking-card-head{color:#3c4658}.thinking-card-head small{min-width:0;color:#667085;font-size:12px;font-weight:680;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thinking-step-row{display:flex;flex-wrap:wrap;gap:7px}.thinking-step-row span{min-height:26px;padding:5px 9px;border:1px solid #e1e7f5;border-radius:999px;color:#778095;background:#fff;font-size:12px;font-weight:720}.thinking-step-row span.active{border-color:#2f74ff47;color:#1757d8;background:#eaf2ff}.thinking-preview{max-height:220px;margin:0;padding-left:10px;border-left:2px solid rgba(47,116,255,.28);color:#5e6878;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.inline-refs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.inline-refs img{width:112px;height:82px;border-radius:8px;object-fit:cover}.composer-attachment-row{padding:14px 18px 0}.composer-attachment-row:empty{display:none}.chat-attachment-strip{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.bubble .chat-attachment-strip{margin-top:12px}.chat-attachment-strip.compact{gap:7px}.chat-attachment-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:min(278px,100%);min-width:0;padding:8px;border:1px solid #e4e9f3;border-radius:12px;color:#20242c;background:#f7f9fc}.chat-attachment-strip.compact .chat-attachment-card{width:min(248px,100%)}.chat-attachment-preview{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#2b61df;background:#eef3ff;overflow:hidden}.chat-attachment-preview img{width:100%;height:100%;object-fit:cover}.chat-attachment-copy{display:grid;gap:2px;min-width:0}.chat-attachment-copy b,.chat-attachment-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment-copy b{color:inherit;font-size:13px;font-weight:750}.chat-attachment-copy small{color:#717987;font-size:12px;font-weight:650}.chat-attachment-card button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #e0e5ee;border-radius:8px;color:#687181;background:#fff}.chat-attachment-card button:hover{color:#d44333;background:#fff5f3}.message.user .chat-attachment-card{color:#18202d;background:#fffffff2;border-color:#ffffffc7}.chat-dock,.image-dock{position:relative;z-index:3;display:grid;gap:10px;width:min(1168px,calc(100% - 92px));margin:0 auto 24px}.xlb-light-composer{--composer-textarea-min-height: 82px;--composer-textarea-padding: 22px 28px 8px;--composer-textarea-font-size: 18px;--composer-textarea-line-height: normal;position:relative;min-width:0;border:1px solid #c9d9ff;border-radius:24px;background:#fff;box-shadow:0 18px 60px #2f549621;overflow:hidden}.xlb-light-composer.dragging-files{border-color:#2f74ff;box-shadow:0 20px 70px #2f74ff3d}.chat-drop-zone.dragging-files{box-shadow:inset 0 0 0 1px #2f74ff29}.chat-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:88px 28px 128px;background:#f7faffbd;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none}.chat-drop-overlay-panel{display:grid;place-items:center;align-content:center;gap:10px;width:min(520px,calc(100% - 28px));min-height:184px;padding:26px 28px;border:1px solid rgba(47,116,255,.26);border-radius:18px;color:#174fd1;text-align:center;background:#fffffff5;box-shadow:0 24px 80px #2f549633}.chat-drop-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;color:#fff;background:#2f74ff;box-shadow:0 16px 32px #2f74ff42}.chat-drop-icon svg{display:block;width:30px;height:30px}.chat-drop-overlay-panel>span:not(.chat-drop-icon){color:#172033;font-size:17px;font-weight:820}.chat-drop-overlay-panel small{color:#5f6d83;font-size:13px;font-weight:650}.image-composer:focus-within{border-color:#2f74ff47;box-shadow:0 18px 60px #2f549621}.composer-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;align-content:center;gap:8px;padding:18px;color:#174fd1;text-align:center;background:#f4f8ffed;pointer-events:none}.composer-drop-overlay svg{width:48px;height:48px;padding:12px;border-radius:50%;color:#fff;background:#2f74ff}.composer-drop-overlay span{color:#172033;font-size:16px;font-weight:800}.composer-drop-overlay small{color:#5f6d83;font-size:13px;font-weight:650}.xlb-light-composer textarea{display:block;min-height:var(--composer-textarea-min-height);max-height:200px;padding:var(--composer-textarea-padding);border:0;border-radius:0;box-shadow:none;resize:none;color:#1e2026;font-size:var(--composer-textarea-font-size);line-height:var(--composer-textarea-line-height)}.xlb-light-composer textarea:focus{box-shadow:none}.xlb-light-composer textarea::placeholder{color:#b9bbc3}.composer-bar{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px 12px 22px}.composer-tools-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1;overflow-x:auto}.tool-round,.voice-button,.send-button{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:50%}.tool-round{color:#0f1115;background:#fff}.tool-round.dark{color:#cfd4df;background:#ffffff12}.divider{flex:0 0 1px;height:28px;background:#ececf0}.composer-chip,.active-tool,.select-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;border-radius:10px;color:#22242a;background:transparent;font-size:16px;font-weight:650;white-space:nowrap}.prompt-inspiration-toggle.active{color:#1757d8;background:#edf3ff}.instant-tooltip{--instant-tooltip-bg: color-mix(in srgb, var(--theme-surface, #fff) 96%, var(--theme-main, #f4f6fa));--instant-tooltip-border: color-mix(in srgb, var(--theme-line-strong, #cbd5e1) 86%, transparent);position:fixed;z-index:2147483000;width:max-content;max-width:min(320px,calc(100vw - 24px));padding:9px 12px;border:1px solid var(--instant-tooltip-border);border-radius:9px;color:var(--theme-text, #1d2230);background:var(--instant-tooltip-bg);box-shadow:0 10px 30px #1f2a4429;font-size:12px;font-weight:620;line-height:1.55;text-align:left;white-space:normal;pointer-events:none;visibility:hidden;opacity:0;transform:translateY(2px) scale(.985);transition:opacity 70ms ease-out,transform 90ms ease-out;contain:layout paint style}.instant-tooltip.ready{visibility:visible;opacity:1;transform:translateY(0) scale(1)}.instant-tooltip:after{content:"";position:absolute;left:var(--instant-tooltip-arrow-left, 50%);width:9px;height:9px;background:var(--instant-tooltip-bg)}.instant-tooltip.is-above:after{top:calc(100% - 5px);border-right:1px solid var(--instant-tooltip-border);border-bottom:1px solid var(--instant-tooltip-border);transform:translate(-50%) rotate(45deg)}.instant-tooltip.is-below:after{bottom:calc(100% - 5px);border-top:1px solid var(--instant-tooltip-border);border-left:1px solid var(--instant-tooltip-border);transform:translate(-50%) rotate(45deg)}@media(prefers-reduced-motion:reduce){.instant-tooltip{transition:none}}.expandable-chip{transition:all .35s cubic-bezier(.34,1.56,.64,1);overflow:hidden}.expandable-chip:not(.active){padding:0 10px;gap:0}.expandable-chip-icon-wrapper{display:flex;align-items:center;justify-content:center;flex-shrink:0}.expandable-chip-icon{transition:transform .4s cubic-bezier(.34,1.56,.64,1)}.expandable-chip.active .expandable-chip-icon{transform:rotate(180deg) scale(1.1)}.expandable-chip:not(.active):hover .expandable-chip-icon{transform:rotate(15deg) scale(1.1)}.expandable-chip-text{display:inline-block;max-width:100px;opacity:1;white-space:nowrap;transition:all .35s cubic-bezier(.34,1.56,.64,1)}.expandable-chip:not(.active) .expandable-chip-text{max-width:0;opacity:0;transform:scaleX(.8);transform-origin:left}.prompt-ghost-field{position:relative;display:block;width:100%}.prompt-ghost-field textarea{position:relative;z-index:1;width:100%;background:transparent}.prompt-ghost-mirror{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;min-height:var(--composer-textarea-min-height);padding:var(--composer-textarea-padding);color:transparent;font:inherit;font-size:var(--composer-textarea-font-size);line-height:var(--composer-textarea-line-height);pointer-events:none;white-space:pre-wrap;word-break:break-word}.image-composer .prompt-ghost-mirror,.video-composer .prompt-ghost-mirror{min-height:var(--composer-textarea-min-height);padding:var(--composer-textarea-padding);font-size:var(--composer-textarea-font-size)}.prompt-ghost-existing{color:transparent}.prompt-ghost-suggestion{color:#545e7061;filter:blur(.25px)}.prompt-ghost-accept-hint{color:#545e7080;font-size:.9em;filter:blur(.15px)}.think-toggle{border:1px solid transparent;color:#455064}.think-toggle.active{border-color:#2f74ff2e;color:#1757d8;background:#edf3ff}.thinking-switch{position:relative;gap:6px;padding-right:10px;border:1px solid transparent;color:#455064}.thinking-switch:hover{border-color:#3268f23d;background:#f2f6ff}.thinking-switch.active{border-color:#3268f21a;color:#1757d8;background:#3268f212}.thinking-state-dot{flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:#a9b2c2;box-shadow:0 0 0 3px #a9b2c229}.thinking-switch.active .thinking-state-dot{background:#3268f2;box-shadow:0 0 0 3px #3268f229}.web-search-toggle{border:1px solid transparent;color:#455064}.web-search-toggle:hover{border-color:#1186613d;background:#edf9f4}.web-search-toggle.active{border-color:#11866129;color:#0d7b59;background:#11866117}.web-search-toggle.active .thinking-state-dot{background:#118661;box-shadow:0 0 0 3px #11866129}.web-search-toggle.compact{min-height:30px;padding:0 10px;border-radius:8px;font-size:12px}.image-composer .composer-tools-left{gap:7px}.image-composer.has-references{--composer-textarea-min-height: 66px;--composer-textarea-padding: 14px 28px 4px}.image-composer.has-references textarea{padding-top:14px}.image-composer{--composer-textarea-min-height: 58px;--composer-textarea-padding: 16px 28px 4px;--composer-textarea-font-size: 17px}.image-composer textarea:focus,.image-composer textarea:focus-visible{outline:none;border-color:transparent;box-shadow:none}.image-composer .composer-bar{padding:6px 10px 10px 18px}.image-composer .composer-chip,.image-composer .active-tool,.image-composer .select-chip{min-height:34px;padding:0 8px;gap:5px;font-size:14px}.image-composer .tool-round,.image-composer .voice-button,.image-composer .send-button{width:42px;height:42px}.image-composer .select-chip .select-value{max-width:104px;overflow:hidden;text-overflow:ellipsis}.image-composer .image2-quality-select .select-value{max-width:none}.image-composer .image-model-select,.video-composer .video-model-select{flex:0 0 auto;min-height:32px;padding:0 7px;gap:4px;font-size:13px}.image-composer .image-model-select .select-value,.video-composer .video-model-select .select-value{max-width:92px;font-weight:820}.active-tool{color:#1b65ef;background:#edf3ff}.select-chip{position:relative}.select-chip.dark{color:#d9dde7;background:#ffffff0f}.voice-button{color:#1a1c22;background:#f4f4f5}.send-button{color:#fff;background:#101116}.mini-ref-strip{display:flex;align-items:center;gap:6px;flex:0 0 auto}.mini-ref-item{position:relative;flex:0 0 auto;width:42px;height:42px}.mini-ref{position:relative;width:100%;height:100%;padding:0;border:1px solid rgba(19,23,32,.08);border-radius:8px;background:#f1f1f2;overflow:hidden}.mini-ref:focus-visible{outline:2px solid rgba(47,116,255,.58);outline-offset:2px}.mini-ref img{width:100%;height:100%;object-fit:cover}.mini-ref-remove{position:absolute;top:3px;right:3px;z-index:2;display:grid;place-items:center;width:20px;height:20px;padding:0;border:1px solid rgba(255,255,255,.68);border-radius:50%;color:#fff;background:#101218d6;box-shadow:0 8px 18px #070a123d;opacity:0;transform:scale(.86);transition:opacity .16s ease,transform .16s ease,background .16s ease}.mini-ref-item:hover .mini-ref-remove,.mini-ref-item:focus-within .mini-ref-remove{opacity:1;transform:scale(1)}.mini-ref-remove:hover,.mini-ref-remove:focus-visible{background:#c44236;opacity:1;transform:scale(1)}.mini-ref-remove:focus-visible{outline:2px solid rgba(47,116,255,.62);outline-offset:2px}@media(hover:none){.mini-ref-remove{opacity:1;transform:scale(1)}}.advanced-toggle{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:36px;color:#6b6f79;background:transparent}.chat-control-row{justify-self:start;display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.chat-thinking-toggle{min-height:36px}.current-persona-chip{max-width:min(280px,42vw);border:1px solid rgba(50,104,242,.12);color:#455064;background:#3268f20a}.current-persona-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis}.current-persona-chip:hover,.current-persona-chip:focus-visible{border-color:#3268f23d;color:#1757d8;background:#f2f6ff}.flip{transform:rotate(180deg)}.advanced-panel,.settings-modal,.workflow-inspector{border:1px solid var(--line);border-radius:8px;background:#fffffff5;box-shadow:var(--soft-shadow)}.advanced-panel{display:grid;gap:10px;padding:12px}.advanced-panel-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.advanced-persona-section{display:grid;gap:8px;min-width:0}.advanced-persona-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.persona-current-summary.chat-persona-current{align-items:center;min-height:40px;padding:7px 10px}.persona-current-summary.chat-persona-current>svg{width:16px;height:16px;margin-top:0}.persona-current-summary.chat-persona-current>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}.persona-current-summary.chat-persona-current b{font-size:13px;line-height:1.2}.persona-current-summary.chat-persona-current small{display:none}.persona-current-summary.chat-persona-current .persona-param-pills{margin-top:0;gap:4px}.persona-grid.chat-persona-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.persona-card.chat-persona-card{grid-template-columns:24px minmax(0,1fr) auto;grid-template-areas:"icon copy state";min-height:46px;padding:8px 9px;gap:7px;align-items:center}.persona-card.chat-persona-card .persona-card-icon{grid-area:icon;width:24px;height:24px;border-radius:7px}.persona-card.chat-persona-card .persona-card-icon svg{width:14px;height:14px}.persona-card.chat-persona-card .persona-card-copy{grid-area:copy;gap:0}.persona-card.chat-persona-card .persona-card-copy b{font-size:13px;line-height:1.2}.persona-card.chat-persona-card .persona-card-copy small{display:none}.persona-card.chat-persona-card .persona-card-state{grid-area:state;justify-self:end;min-height:18px;padding:0 6px;border-radius:999px;background:#636d8014;font-size:10px;line-height:1}.persona-card.chat-persona-card .persona-card-state svg{width:11px;height:11px}.persona-current-summary.chat-persona-current .persona-param-pills em{min-height:18px;padding:0 6px;border-radius:999px;font-size:10px}.advanced-help{padding:10px 12px;border:1px solid #dce7ff;border-radius:8px;background:#f5f8ff}.advanced-help b{color:#1d2b4f;font-size:14px}.advanced-help p{margin:4px 0 0;color:#5c6577;font-size:12px;line-height:1.55}.param-reset-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:86px;min-height:42px;padding:0 13px;border:1px solid #d9e1ef;border-radius:8px;color:#394150;background:#fff;font-size:13px;font-weight:820;cursor:pointer}.param-reset-button:hover,.param-reset-button:focus-visible{border-color:#2f74ff47;color:#195ae4;background:#f5f8ff}.compact-panel{max-height:38vh;overflow:auto}.advanced-panel textarea{min-height:72px}.advanced-panel input[type=number]{height:38px}.field{display:grid;gap:7px;min-width:0}.field-label{color:#363c38;font-size:13px;font-weight:780}.field-hint{color:var(--muted);font-size:11px;line-height:1.45}.clearable-input{position:relative;display:grid;min-width:0}.clearable-input input{width:100%;min-width:0;padding-right:36px}.clearable-input button{position:absolute;right:7px;top:50%;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:7px;color:var(--theme-muted, #747b89);background:transparent;cursor:pointer;transform:translateY(-50%)}.clearable-input button:hover{color:var(--theme-heading, #171b24);background:color-mix(in srgb,var(--theme-line, #e5e8ef) 62%,transparent)}.clearable-input.will-clear input{border-color:color-mix(in srgb,#b33b3b 42%,var(--theme-line, #e5e8ef));color:#b33b3b;background:color-mix(in srgb,#fff0f0 54%,var(--theme-surface, #fff))}.clearable-input em{position:absolute;right:36px;top:50%;max-width:min(160px,calc(100% - 48px));overflow:hidden;color:#b33b3b;font-size:11px;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%);pointer-events:none}.param-value{color:#2f74ff;font-size:18px;font-weight:820}.field-row-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.field-row-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-line{display:flex;flex-wrap:wrap;gap:8px}.provider-line span{padding:6px 9px;border:1px solid #e2e6ef;border-radius:999px;background:#f8fafc;color:#4a5363;font-size:12px;font-weight:760}.toggle-line{display:inline-flex;align-items:center;gap:9px;min-height:42px;color:#333936;font-size:14px;font-weight:730}.toggle-line input{width:18px;height:18px}.error-banner{padding:10px 12px;border:1px solid rgba(196,66,54,.2);border-radius:8px;color:var(--danger);background:#fff2ef;font-size:13px;line-height:1.45}.error-banner.floating{width:min(1168px,calc(100% - 92px));margin:0 auto 10px}.image-mode-page .xlb-light-main{grid-template-rows:82px minmax(0,1fr) auto}.image-canvas{display:grid;min-height:0;padding:24px 28px;background:radial-gradient(circle at 50% 72%,rgba(47,116,255,.07),transparent 34%),#fff}.blank-canvas{min-height:100%}.image-empty-panel{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:center;gap:42px;width:min(980px,100%);min-height:100%;margin:0 auto;padding-bottom:48px}.image-empty-panel span{display:inline-flex;margin-bottom:12px;color:#718096;font-size:13px;font-weight:800}.image-empty-panel h2{max-width:560px;margin:0 0 24px;color:#15171d;font-size:clamp(30px,3.8vw,48px);line-height:1.08;letter-spacing:0}.quick-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-start-grid button{display:flex;align-items:center;gap:8px;min-height:52px;padding:10px 12px;border:1px solid #e8ebf2;border-radius:8px;color:#343944;background:#ffffffc7;box-shadow:0 8px 24px #171f2e0b;text-align:left;line-height:1.35}.empty-mosaic{display:grid;grid-template-columns:1fr .78fr;grid-template-rows:.85fr 1fr;gap:12px;height:360px}.empty-mosaic i{display:block;border:1px solid rgba(218,224,236,.88);border-radius:8px;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent),linear-gradient(145deg,#e8edf8,#f8f4ef 52%,#e9f7f2);box-shadow:0 18px 46px #171f2e14}.empty-mosaic i:nth-child(1){grid-row:span 2}.empty-mosaic i:nth-child(3){background:linear-gradient(135deg,rgba(255,255,255,.6),transparent),linear-gradient(145deg,#f3e8ff,#eaf4ff)}.empty-mosaic i:nth-child(4){display:none}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));align-content:start;gap:14px;min-height:0;overflow-y:auto;padding-right:4px}.xlb-light-gallery{width:min(1180px,100%);margin:0 auto}.asset-card{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 10px 26px #15171a0f;overflow:hidden}.image-card img,.image-card .empty-thumb{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#eeeff2}.image-preview-trigger{display:block;width:100%;padding:0;background:transparent;text-align:left}.image-preview-trigger:focus-visible{outline:3px solid rgba(47,116,255,.34);outline-offset:-3px}.image-card p{display:-webkit-box;min-height:42px;margin:0 0 8px;overflow:hidden;color:#202521;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.image-card span{color:var(--muted);font-size:12px}.asset-actions{display:flex;gap:8px;margin-top:10px}.asset-actions button,.asset-actions a{min-height:32px;padding:0 10px;border:1px solid var(--line);background:#fafafa;color:#323842;font-size:12px}.generating-card{border-color:#2f74ff3d;box-shadow:0 16px 42px #2f54961f}.generating-thumb{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1 / 1;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.72),transparent 42%),linear-gradient(145deg,#edf3ff,#f5f7fb 46%,#eef8f3)}.generating-thumb:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);animation:sweep 1.6s ease-in-out infinite}.generating-thumb .generating-frame{position:relative;display:grid;place-items:center;width:min(56%,148px);aspect-ratio:1 / 1;border:1px solid rgba(95,118,155,.16);border-radius:8px;color:#36435b5c;background:#ffffff75}.generating-thumb .generating-frame span{position:absolute;inset:auto 18px 18px;height:7px;border-radius:999px;background:#2f74ff2e;animation:pulseBar 1.2s ease-in-out infinite}.generating-steps{display:flex;gap:6px;margin-top:10px}.generating-steps i{display:block;width:34px;height:5px;border-radius:999px;background:#dce7ff;animation:stepPulse 1.2s ease-in-out infinite}.generating-steps i:nth-child(2){animation-delay:.16s}.generating-steps i:nth-child(3){animation-delay:.32s}.loading-card,.empty-state{display:grid;place-items:center;align-content:center;gap:8px;min-height:260px;padding:22px;border:1px dashed var(--line-strong);border-radius:8px;color:#626a65;background:#ffffffb8;text-align:center}.center-card{position:absolute;top:150px;left:50%;z-index:5;width:280px;min-height:180px;transform:translate(-50%);box-shadow:var(--soft-shadow)}.loading-card b,.empty-state h2{margin:0;color:#252a27}.empty-state p,.loading-card span{margin:0;max-width:360px;line-height:1.5}.mode-segment{justify-self:start;margin-left:8px;background:#ffffffe6;box-shadow:0 10px 30px #12161e0f}.image2-mode-row{display:flex;align-items:center;justify-self:start;gap:9px;min-width:0}.image2-mode-row>small{color:var(--theme-readable-muted, #727b8b);font-size:11px;font-weight:550;line-height:1.3;opacity:.72;white-space:nowrap}.composer-ref-row{display:flex;align-items:center;min-height:62px;padding:14px 18px 10px;border-bottom:1px solid rgba(23,31,46,.06);background:#f8faff85}.composer-ref-row .mini-ref-strip{max-width:100%;min-width:0;overflow-x:auto;padding:1px 1px 4px}.segmented{display:inline-grid;grid-auto-flow:column;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff}.segmented button{min-height:34px;padding:0 12px;border-radius:7px;color:#5b625e;background:transparent;font-size:13px;font-weight:760;white-space:nowrap}.segmented button.active{color:#111;background:#eef3ff}.video-mode-page .xlb-light-main,.tasks-mode-page .xlb-light-main,.workflow-mode-page .xlb-light-main{background:#fbfbfd}.video-mode-page .xlb-light-main{--video-workspace-inline-gap: 28px;--video-workspace-max-width: 1600px;grid-template-rows:82px minmax(0,1fr) auto;overflow-anchor:none}.video-mode-page .xlb-light-header,.tasks-mode-page .xlb-light-header,.workflow-mode-page .xlb-light-header{background:#ffffffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.video-mode-page .xlb-light-header{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}.video-studio{display:grid;grid-template-columns:minmax(520px,1fr) minmax(320px,var(--xlb-right-panel-width, 360px));gap:18px;min-width:0;min-height:0;padding:22px 28px 16px;overflow:hidden;overflow-anchor:none;contain:layout style}.video-studio.settings-collapsed{grid-template-columns:minmax(0,1fr)}.video-studio.settings-collapsed .video-settings-panel{display:none}.video-stage-panel,.video-settings-panel{min-width:0;border:1px solid #e8eaf0;border-radius:8px;background:#fff;box-shadow:0 12px 34px #171f2e0b}.resizable-side-panel{position:relative;min-width:320px;overflow-x:hidden}.video-stage-panel{display:flex;flex-direction:column;gap:16px;padding:16px;overflow-y:auto;overflow-anchor:none}.video-feed-end{flex:0 0 1px;width:100%}.video-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.video-toolbar label,.video-toolbar button{display:inline-flex;align-items:center;flex:0 0 auto;gap:8px;min-height:38px;padding:0 12px;border:1px solid #e6e8ee;border-radius:8px;color:#3d4451;background:#fbfcff;font-weight:760;white-space:nowrap}.video-toolbar label{min-width:210px}.video-toolbar input{width:120px;height:auto;padding:0;border:0;background:transparent;box-shadow:none}.video-preview-card{display:grid;place-items:center;flex:0 0 auto;width:min(760px,100%);aspect-ratio:16 / 9;margin:0 auto;border-radius:8px;background:linear-gradient(145deg,#1f2432f0,#0e1118fa),#151821;overflow:hidden}.video-preview-card video{width:100%;height:100%;object-fit:contain;background:#000}.video-preview-empty{display:grid;place-items:center;gap:10px;color:#8891a4;text-align:center}.video-preview-empty b{color:#f0f3f8;font-size:22px}.video-preview-empty.error{color:#ff5b5b}.video-preview-empty.warning{color:#f2a23a}.video-preview-empty span{max-width:min(460px,80%)}.video-generation-lite{--generation-content-max: 700px;--generation-preview-shell-aspect: 16 / 9;--generation-preview-padding: 10px;position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;container-type:normal;background:linear-gradient(145deg,#11161e,#171d27 52%,#0d1118);color:#fff;contain:layout paint style}.video-generation-lite.tone-waiting{background:linear-gradient(145deg,#17140f,#1b1d20 52%,#0f1318)}.video-generation-lite-ambient{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.06),transparent 62%);opacity:.36;pointer-events:none}.video-generation-lite-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(188px,.75fr);align-items:center;gap:18px;width:min(94%,var(--generation-content-max));max-height:calc(100% - 20px);min-width:0;min-height:0;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#0f1116e6;box-shadow:none;overflow:hidden}.video-generation-lite-preview{display:grid;place-items:center;width:100%;max-width:100%;min-width:0;min-height:0;aspect-ratio:var(--generation-preview-shell-aspect);padding:var(--generation-preview-padding);border:1px solid rgba(255,255,255,.1);border-radius:8px;background:linear-gradient(150deg,#0d1219,#151c27 58%,#090d13);overflow:hidden;box-shadow:none}.video-generation-lite-empty-preview{place-items:center}.video-generation-lite-meta{display:grid;align-content:center;gap:11px;min-width:0}.video-generation-lite-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.video-generation-lite-logo{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#ffffff0e}.video-generation-lite-logo-image{width:23px;height:23px;border-radius:7px}.video-generation-lite-stage{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#ffffffbd;font-size:11px;font-weight:750;white-space:nowrap}.video-generation-lite-copy{display:grid;gap:5px;min-width:0}.video-generation-lite-copy b{color:#fff;font-size:16px;line-height:1.25}.video-generation-lite-copy small{color:#ffffffad;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.video-generation-lite-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.video-generation-lite-steps span{display:grid;place-items:center;min-height:24px;border-radius:5px;color:#ffffff75;background:#ffffff0e;font-size:10px;font-weight:700}.video-generation-lite-steps span.completed,.video-generation-lite-steps span.active{color:#ffffffdb;background:color-mix(in srgb,var(--theme-accent, #3268f2) 38%,rgba(255,255,255,.06))}.video-generation-lite-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px}.video-generation-lite-progress-bar{height:7px;overflow:hidden;border-radius:99px;background:#ffffff1a}.video-generation-lite-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f86ff,#61d5c2);transition:none}.video-generation-lite-progress em{color:#ffffffc2;font-size:12px;font-style:normal;font-variant-numeric:tabular-nums}.video-generation-lite .video-generation-lite-steps span{animation:none!important}.video-generation-lite.aspect-21-9{--generation-preview-shell-aspect: 21 / 9;--generation-content-max: 620px;--generation-preview-padding: 5px}.video-generation-lite.aspect-3-2{--generation-preview-shell-aspect: 3 / 2}.video-generation-lite.aspect-4-3{--generation-preview-shell-aspect: 4 / 3}.video-generation-lite.aspect-1-1,.video-generation-lite.aspect-3-4,.video-generation-lite.aspect-2-3,.video-generation-lite.aspect-9-16{--generation-preview-shell-aspect: 1 / 1;--generation-preview-padding: 6px}.video-generation-lite.aspect-21-9 .video-generation-lite-content{grid-template-columns:minmax(0,1fr) minmax(118px,.86fr);gap:8px;width:min(96%,var(--generation-content-max));max-height:calc(100% - 8px);padding:8px}.video-generation-lite.aspect-21-9 .video-generation-lite-meta{gap:5px}.video-generation-lite.aspect-21-9 .video-generation-lite-logo{width:28px;height:28px;border-radius:7px}.video-generation-lite.aspect-21-9 .video-generation-lite-logo-image{width:18px;height:18px;border-radius:5px}.video-generation-lite.aspect-21-9 .video-generation-lite-stage{min-height:20px;padding:0 6px;font-size:10px}.video-generation-lite.aspect-21-9 .video-generation-lite-copy b{font-size:12px;line-height:1.16}.video-generation-lite.aspect-21-9 .video-generation-lite-copy small{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:1}.video-generation-lite.aspect-21-9 .video-generation-lite-steps{gap:3px}.video-generation-lite.aspect-21-9 .video-generation-lite-steps span{min-height:19px;padding:0;font-size:9px}.video-generation-lite.aspect-21-9 .video-generation-lite-progress{gap:5px}.video-generation-lite.aspect-21-9 .video-generation-lite-progress-bar{height:5px}.video-generation-lite.aspect-21-9 .video-generation-lite-progress em{font-size:10px}.video-generation-lite.aspect-1-1 .video-generation-lite-content,.video-generation-lite.aspect-3-4 .video-generation-lite-content,.video-generation-lite.aspect-2-3 .video-generation-lite-content,.video-generation-lite.aspect-9-16 .video-generation-lite-content{grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;width:min(88%,300px);max-height:calc(100% - 14px);padding:10px;gap:8px}.video-generation-lite.aspect-1-1 .video-generation-lite-content{width:min(88%,268px)}.video-generation-lite.aspect-3-4 .video-generation-lite-content{width:min(88%,250px);padding:9px;gap:7px}.video-generation-lite.aspect-2-3 .video-generation-lite-content{width:min(88%,220px);padding:8px;gap:6px}.video-generation-lite.aspect-9-16 .video-generation-lite-content{width:min(86%,180px);padding:8px;gap:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-preview,.video-generation-lite.aspect-3-4 .video-generation-lite-preview,.video-generation-lite.aspect-2-3 .video-generation-lite-preview,.video-generation-lite.aspect-9-16 .video-generation-lite-preview{width:min(100%,150px);justify-self:center}.video-generation-lite.aspect-3-4 .video-generation-lite-preview{width:min(100%,122px)}.video-generation-lite.aspect-2-3 .video-generation-lite-preview{width:min(100%,104px)}.video-generation-lite.aspect-9-16 .video-generation-lite-preview{width:min(100%,88px)}.video-generation-lite.aspect-1-1 .video-generation-lite-meta,.video-generation-lite.aspect-3-4 .video-generation-lite-meta,.video-generation-lite.aspect-2-3 .video-generation-lite-meta,.video-generation-lite.aspect-9-16 .video-generation-lite-meta{width:100%;gap:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-head,.video-generation-lite.aspect-3-4 .video-generation-lite-head,.video-generation-lite.aspect-2-3 .video-generation-lite-head,.video-generation-lite.aspect-9-16 .video-generation-lite-head{justify-content:center;gap:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-logo,.video-generation-lite.aspect-3-4 .video-generation-lite-logo,.video-generation-lite.aspect-2-3 .video-generation-lite-logo,.video-generation-lite.aspect-9-16 .video-generation-lite-logo{width:30px;height:30px;border-radius:7px}.video-generation-lite.aspect-1-1 .video-generation-lite-logo-image,.video-generation-lite.aspect-3-4 .video-generation-lite-logo-image,.video-generation-lite.aspect-2-3 .video-generation-lite-logo-image,.video-generation-lite.aspect-9-16 .video-generation-lite-logo-image{width:19px;height:19px;border-radius:5px}.video-generation-lite.aspect-1-1 .video-generation-lite-stage,.video-generation-lite.aspect-3-4 .video-generation-lite-stage,.video-generation-lite.aspect-2-3 .video-generation-lite-stage,.video-generation-lite.aspect-9-16 .video-generation-lite-stage{min-height:21px;padding:0 6px;font-size:10px}.video-generation-lite.aspect-1-1 .video-generation-lite-copy b,.video-generation-lite.aspect-3-4 .video-generation-lite-copy b,.video-generation-lite.aspect-2-3 .video-generation-lite-copy b,.video-generation-lite.aspect-9-16 .video-generation-lite-copy b{font-size:13px;line-height:1.2;text-align:center}.video-generation-lite.aspect-2-3 .video-generation-lite-copy b,.video-generation-lite.aspect-9-16 .video-generation-lite-copy b{font-size:12px}.video-generation-lite.aspect-1-1 .video-generation-lite-copy small,.video-generation-lite.aspect-3-4 .video-generation-lite-copy small,.video-generation-lite.aspect-2-3 .video-generation-lite-copy small,.video-generation-lite.aspect-9-16 .video-generation-lite-copy small{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.28;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-generation-lite.aspect-2-3 .video-generation-lite-copy small,.video-generation-lite.aspect-9-16 .video-generation-lite-copy small{-webkit-line-clamp:1}.video-generation-lite.aspect-1-1 .video-generation-lite-steps,.video-generation-lite.aspect-3-4 .video-generation-lite-steps{gap:4px}.video-generation-lite.aspect-2-3 .video-generation-lite-steps,.video-generation-lite.aspect-9-16 .video-generation-lite-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.video-generation-lite.aspect-1-1 .video-generation-lite-steps span,.video-generation-lite.aspect-3-4 .video-generation-lite-steps span,.video-generation-lite.aspect-2-3 .video-generation-lite-steps span,.video-generation-lite.aspect-9-16 .video-generation-lite-steps span{min-height:21px;padding:0 2px;font-size:9px}.video-generation-lite.aspect-1-1 .video-generation-lite-progress,.video-generation-lite.aspect-3-4 .video-generation-lite-progress,.video-generation-lite.aspect-2-3 .video-generation-lite-progress,.video-generation-lite.aspect-9-16 .video-generation-lite-progress{gap:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-progress-bar,.video-generation-lite.aspect-3-4 .video-generation-lite-progress-bar,.video-generation-lite.aspect-2-3 .video-generation-lite-progress-bar,.video-generation-lite.aspect-9-16 .video-generation-lite-progress-bar{height:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-progress em,.video-generation-lite.aspect-3-4 .video-generation-lite-progress em,.video-generation-lite.aspect-2-3 .video-generation-lite-progress em,.video-generation-lite.aspect-9-16 .video-generation-lite-progress em{font-size:10px}@container (max-width: 280px){.video-generation-lite.aspect-1-1 .video-generation-lite-content{max-height:calc(100% - 10px);padding:7px;gap:6px}.video-generation-lite.aspect-1-1 .video-generation-lite-preview{width:min(100%,96px)}.video-generation-lite.aspect-1-1 .video-generation-lite-meta{gap:5px}.video-generation-lite.aspect-1-1 .video-generation-lite-logo{width:25px;height:25px}.video-generation-lite.aspect-1-1 .video-generation-lite-logo-image{width:16px;height:16px}.video-generation-lite.aspect-1-1 .video-generation-lite-stage{min-height:19px;font-size:9px}.video-generation-lite.aspect-1-1 .video-generation-lite-copy b{font-size:12px}.video-generation-lite.aspect-1-1 .video-generation-lite-copy small{font-size:9px;line-height:1.22;-webkit-line-clamp:1}.video-generation-lite.aspect-1-1 .video-generation-lite-steps span{min-height:18px;font-size:8px}}@container (max-width: 220px){.video-generation-lite.aspect-3-4 .video-generation-lite-content,.video-generation-lite.aspect-2-3 .video-generation-lite-content{max-height:calc(100% - 10px);padding:7px;gap:5px}.video-generation-lite.aspect-3-4 .video-generation-lite-preview{width:min(100%,82px)}.video-generation-lite.aspect-2-3 .video-generation-lite-preview{width:min(100%,70px)}.video-generation-lite.aspect-3-4 .video-generation-lite-meta,.video-generation-lite.aspect-2-3 .video-generation-lite-meta{gap:5px}.video-generation-lite.aspect-3-4 .video-generation-lite-logo,.video-generation-lite.aspect-2-3 .video-generation-lite-logo{width:25px;height:25px}.video-generation-lite.aspect-3-4 .video-generation-lite-logo-image,.video-generation-lite.aspect-2-3 .video-generation-lite-logo-image{width:16px;height:16px}.video-generation-lite.aspect-3-4 .video-generation-lite-stage,.video-generation-lite.aspect-2-3 .video-generation-lite-stage{min-height:19px;font-size:9px}.video-generation-lite.aspect-3-4 .video-generation-lite-copy b,.video-generation-lite.aspect-2-3 .video-generation-lite-copy b{font-size:12px}.video-generation-lite.aspect-3-4 .video-generation-lite-copy small,.video-generation-lite.aspect-2-3 .video-generation-lite-copy small{font-size:9px;line-height:1.22;-webkit-line-clamp:1}.video-generation-lite.aspect-3-4 .video-generation-lite-steps span,.video-generation-lite.aspect-2-3 .video-generation-lite-steps span{min-height:18px;font-size:8px}}@container (max-width: 170px){.video-generation-lite.aspect-9-16 .video-generation-lite-content{max-height:calc(100% - 10px);padding:7px;gap:5px}.video-generation-lite.aspect-9-16 .video-generation-lite-preview{width:min(100%,70px)}.video-generation-lite.aspect-9-16 .video-generation-lite-meta{gap:5px}.video-generation-lite.aspect-9-16 .video-generation-lite-logo{width:25px;height:25px}.video-generation-lite.aspect-9-16 .video-generation-lite-logo-image{width:16px;height:16px}.video-generation-lite.aspect-9-16 .video-generation-lite-stage{min-height:19px;font-size:9px}.video-generation-lite.aspect-9-16 .video-generation-lite-copy b{font-size:11px}.video-generation-lite.aspect-9-16 .video-generation-lite-copy small{display:none}.video-generation-lite.aspect-9-16 .video-generation-lite-steps span{min-height:18px;font-size:8px}}@container (max-height: 118px){.video-generation-lite.aspect-21-9 .video-generation-lite-content{gap:6px;padding:6px}.video-generation-lite.aspect-21-9 .video-generation-lite-logo{width:24px;height:24px}.video-generation-lite.aspect-21-9 .video-generation-lite-logo-image{width:15px;height:15px}.video-generation-lite.aspect-21-9 .video-generation-lite-stage{min-height:18px;font-size:9px}.video-generation-lite.aspect-21-9 .video-generation-lite-copy small{display:none}.video-generation-lite.aspect-21-9 .video-generation-lite-steps span{min-height:17px;font-size:8px}}.video-generation-placeholder{position:relative;display:grid;place-items:center;--generation-content-max: 700px;--generation-preview-shell-aspect: 16 / 9;--generation-preview-padding: clamp(8px, 2cqw, 12px);--generation-aura-scale-min: .98;--generation-aura-scale-max: 1.025;--generation-scan-start: -120%;--generation-scan-end: 126%;--video-frame-scale-min: .996;--video-frame-scale-max: 1.006;--video-field-shift-start: -1%;--video-field-shift-end: 1%;--video-field-scale-min: 1.01;--video-field-scale-max: 1.025;--video-scan-travel: 460%;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;container-type:inline-size;background:radial-gradient(circle at 18% 12%,color-mix(in srgb,var(--theme-accent, #3268f2) 18%,transparent),transparent 34%),radial-gradient(circle at 86% 86%,rgba(214,173,108,.12),transparent 34%),linear-gradient(145deg,#10141b,#151922 48%,#0b0f15);color:#fff;contain:layout paint style}.video-generation-placeholder.tone-waiting{background:radial-gradient(circle at 16% 14%,rgba(226,183,104,.13),transparent 34%),radial-gradient(circle at 82% 82%,color-mix(in srgb,var(--theme-accent-2, #18a27f) 12%,transparent),transparent 34%),linear-gradient(145deg,#15130f,#191b1d 52%,#0d1115)}.video-generation-ambient{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.028) 1px,transparent 1px),radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.08),transparent 58%);background-size:56px 56px,56px 56px,auto;-webkit-mask-image:radial-gradient(circle at 50% 50%,#000 0%,rgba(0,0,0,.72) 54%,transparent 86%);mask-image:radial-gradient(circle at 50% 50%,#000 0%,rgba(0,0,0,.72) 54%,transparent 86%);opacity:.56}.video-generation-content{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(188px,.75fr);align-items:center;gap:clamp(14px,3cqw,22px);width:min(94%,var(--generation-content-max));max-height:calc(100% - 20px);padding:clamp(12px,2.8cqw,18px);border:1px solid rgba(255,255,255,.11);border-radius:8px;background:linear-gradient(180deg,#191d25e6,#0c0f14d1),#0f1116e0;box-shadow:0 22px 58px #0000004d,inset 0 1px #ffffff13;overflow:hidden}.video-mode-page .video-generation-content,.video-mode-page .video-generation-preview,.video-mode-page .generation-reference-frame{box-shadow:none}.video-mode-page .video-generation-ambient{background:radial-gradient(ellipse at 50% 42%,rgba(255,255,255,.06),transparent 62%);-webkit-mask-image:none;mask-image:none;opacity:.36}.video-mode-page .generation-reference-aura,.video-mode-page .generation-reference-shadow{filter:none}.video-mode-page .generation-logo-loader-lite{background:#ffffff0e;box-shadow:none}.video-mode-page .generation-logo-loader-lite .generation-logo-mark{width:25px;height:25px;filter:none;animation:none!important}.video-generation-empty-preview{place-items:center}.video-generation-empty-logo{width:56px;height:56px;border-radius:14px;opacity:.72}@container (max-width: 560px){.video-generation-content{grid-template-columns:minmax(0,.92fr) minmax(142px,1.08fr);width:min(94%,520px);padding:clamp(9px,2.6cqw,12px);gap:clamp(8px,2.6cqw,12px)}.video-generation-preview{min-height:0;max-height:none;justify-self:center}.video-generation-meta{gap:8px}.generation-copy b{font-size:15px;line-height:1.24}.generation-copy small{font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.generation-loader{width:34px;height:34px}.generation-stage{min-height:22px;padding:0 8px;font-size:11px}.video-generation-steps{gap:4px}.video-generation-steps span{padding:6px 0;font-size:10px}}.video-generation-content:before{content:"";position:absolute;inset:-42% -18% auto;height:70%;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--theme-accent, #3268f2) 18%,transparent),transparent 64%),linear-gradient(180deg,rgba(255,255,255,.07),transparent 70%);opacity:.62;animation:studioLightBreathe 7.5s ease-in-out infinite;pointer-events:none}.video-generation-preview{position:relative;display:grid;place-items:center;min-width:0;width:100%;min-height:0;aspect-ratio:var(--generation-preview-shell-aspect);border-radius:8px;border:1px solid rgba(255,255,255,.1);background:radial-gradient(circle at 22% 14%,color-mix(in srgb,var(--theme-accent-2, #18a27f) 13%,transparent),transparent 36%),linear-gradient(150deg,#0b0f15,#121720 58%,#080b10);overflow:hidden;padding:var(--generation-preview-padding);box-shadow:inset 0 1px #ffffff0f,inset 0 -34px 64px #00000047}.video-generation-preview{aspect-ratio:var(--generation-preview-shell-aspect);align-self:center;justify-self:center}.video-generation-placeholder.aspect-21-9{--generation-content-max: 640px;--generation-preview-shell-aspect: 21 / 9;--generation-preview-padding: 7px;--generation-scan-start: -112%;--generation-scan-end: 116%;--video-frame-scale-min: .998;--video-frame-scale-max: 1.002;--video-field-shift-start: -.45%;--video-field-shift-end: .45%;--video-field-scale-min: 1.004;--video-field-scale-max: 1.012;--video-scan-travel: 360%}.video-generation-placeholder.aspect-21-9 .video-generation-content{gap:10px;padding:10px}.video-generation-placeholder.aspect-21-9 .video-generation-meta{gap:6px}.video-generation-placeholder.aspect-21-9 .generation-loader{width:32px;height:32px}.video-generation-placeholder.aspect-21-9 .generation-stage{min-height:21px;padding:0 7px;font-size:10px}.video-generation-placeholder.aspect-21-9 .generation-copy b{font-size:13px;line-height:1.18}.video-generation-placeholder.aspect-21-9 .generation-copy small{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:1}.video-generation-placeholder.aspect-21-9 .video-generation-steps{gap:4px}.video-generation-placeholder.aspect-21-9 .video-generation-steps span{min-height:21px;font-size:9px}.video-generation-placeholder.aspect-3-2,.video-generation-placeholder.aspect-4-3{--generation-content-max: 660px;--generation-preview-shell-aspect: 4 / 3;--video-frame-scale-min: .997;--video-frame-scale-max: 1.004;--video-field-shift-start: -.75%;--video-field-shift-end: .75%}.video-generation-placeholder.aspect-1-1,.video-generation-placeholder.aspect-3-4,.video-generation-placeholder.aspect-2-3,.video-generation-placeholder.aspect-9-16{--generation-preview-shell-aspect: 1 / 1;--generation-preview-padding: 6px;--generation-aura-scale-min: .99;--generation-aura-scale-max: 1.012;--generation-scan-start: -108%;--generation-scan-end: 112%;--video-frame-scale-min: .998;--video-frame-scale-max: 1.002;--video-field-shift-start: -.35%;--video-field-shift-end: .35%;--video-field-scale-min: 1.003;--video-field-scale-max: 1.01;--video-scan-travel: 330%}.video-generation-placeholder.aspect-1-1 .video-generation-content,.video-generation-placeholder.aspect-3-4 .video-generation-content,.video-generation-placeholder.aspect-2-3 .video-generation-content,.video-generation-placeholder.aspect-9-16 .video-generation-content{grid-template-columns:minmax(0,1fr);align-content:center;justify-items:center;width:min(88%,268px);max-height:calc(100% - 14px);padding:10px;gap:8px}.video-generation-placeholder.aspect-3-4 .video-generation-content{width:min(88%,220px)}.video-generation-placeholder.aspect-2-3 .video-generation-content{width:min(88%,190px);padding:9px;gap:7px}.video-generation-placeholder.aspect-9-16 .video-generation-content{width:min(86%,158px);padding:8px;gap:6px}.video-generation-placeholder.aspect-1-1 .video-generation-preview,.video-generation-placeholder.aspect-3-4 .video-generation-preview,.video-generation-placeholder.aspect-2-3 .video-generation-preview,.video-generation-placeholder.aspect-9-16 .video-generation-preview{width:min(100%,150px);justify-self:center}.video-generation-placeholder.aspect-3-4 .video-generation-preview{width:min(100%,132px)}.video-generation-placeholder.aspect-2-3 .video-generation-preview{width:min(100%,112px)}.video-generation-placeholder.aspect-9-16 .video-generation-preview{width:min(100%,116px)}.video-generation-placeholder.aspect-1-1 .video-generation-meta,.video-generation-placeholder.aspect-3-4 .video-generation-meta,.video-generation-placeholder.aspect-2-3 .video-generation-meta,.video-generation-placeholder.aspect-9-16 .video-generation-meta{width:100%;gap:7px}.video-generation-placeholder.aspect-2-3 .video-generation-meta,.video-generation-placeholder.aspect-9-16 .video-generation-meta{gap:5px}.video-generation-placeholder.aspect-1-1 .generation-copy b,.video-generation-placeholder.aspect-3-4 .generation-copy b,.video-generation-placeholder.aspect-2-3 .generation-copy b,.video-generation-placeholder.aspect-9-16 .generation-copy b{font-size:13px;line-height:1.22;text-align:center}.video-generation-placeholder.aspect-2-3 .generation-copy b,.video-generation-placeholder.aspect-9-16 .generation-copy b{font-size:12px}.video-generation-placeholder.aspect-1-1 .generation-copy small,.video-generation-placeholder.aspect-3-4 .generation-copy small,.video-generation-placeholder.aspect-2-3 .generation-copy small,.video-generation-placeholder.aspect-9-16 .generation-copy small{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.3;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-generation-placeholder.aspect-9-16 .generation-copy small{-webkit-line-clamp:1}.video-generation-placeholder.aspect-2-3 .video-generation-head,.video-generation-placeholder.aspect-9-16 .video-generation-head{justify-content:center;gap:6px}.video-generation-placeholder.aspect-2-3 .generation-loader,.video-generation-placeholder.aspect-9-16 .generation-loader{width:30px;height:30px}.video-generation-placeholder.aspect-2-3 .generation-stage,.video-generation-placeholder.aspect-9-16 .generation-stage{min-height:21px;padding:0 6px;font-size:10px}.video-generation-placeholder.aspect-2-3 .video-generation-steps,.video-generation-placeholder.aspect-9-16 .video-generation-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.video-generation-placeholder.aspect-2-3 .video-generation-steps span,.video-generation-placeholder.aspect-9-16 .video-generation-steps span{min-height:21px;padding:0 2px;font-size:9px}.generation-reference-stage{position:relative;display:grid;place-items:center;width:min(100%,320px);min-height:0;isolation:isolate}.generation-reference-stage.compact{width:min(100%,248px);min-height:0}.generation-reference-aura{position:absolute;top:14%;right:8%;bottom:14%;left:8%;z-index:0;border-radius:50%;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--theme-accent-2, #18a27f) 18%,transparent),transparent 64%),radial-gradient(ellipse at center,color-mix(in srgb,var(--theme-accent, #3268f2) 14%,transparent),transparent 72%);filter:blur(16px);opacity:.42;animation:none;pointer-events:none}.generation-reference-frame{position:relative;z-index:1;display:grid;place-items:center;width:min(var(--generation-preview-width, 260px),100%);aspect-ratio:var(--generation-preview-aspect, 1.777);min-height:72px;max-height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 34%),repeating-linear-gradient(90deg,rgba(255,255,255,.026) 0 1px,transparent 1px 28px),repeating-linear-gradient(0deg,rgba(255,255,255,.022) 0 1px,transparent 1px 28px),linear-gradient(145deg,#121923,#0d131b 58%,#080d13);background-size:auto;box-shadow:0 18px 44px #00000042,inset 0 1px #ffffff14}.generation-reference-stage.compact .generation-reference-frame{box-shadow:0 16px 36px #00000038,inset 0 1px #ffffff14}.generation-reference-image{display:block;width:100%;height:100%;padding:8px;object-fit:contain;filter:saturate(1.02) contrast(1.01)}.generation-reference-stack{position:absolute;top:10px;right:10px;bottom:10px;left:10px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 46%),linear-gradient(145deg,#151c27,#0e141d)}.generation-reference-stack span{position:absolute;display:grid;place-items:center;width:min(58%,118px);height:min(68%,108px);padding:4px;border:1px solid rgba(255,255,255,.24);border-radius:7px;background:#f8fbfff0;box-shadow:0 12px 26px #0000003d,inset 0 1px #ffffffb8;transform:translate(calc((var(--stack-order, 0) - 1.5) * 12%),calc((var(--stack-order, 0) - 1.5) * 3%)) rotate(calc((var(--stack-order, 0) - 1.5) * 2.5deg))}.generation-reference-stack img{display:block;width:100%;height:100%;border-radius:5px;object-fit:contain;background:#0b0f15}.generation-reference-empty{display:grid;place-items:center;width:42%;max-width:86px;aspect-ratio:1;border-radius:8px;background:#ffffff14}.generation-reference-logo{width:68%;height:68%;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(37,118,255,.24))}.generation-reference-scan{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.12) 45%,transparent 58%),linear-gradient(180deg,rgba(255,255,255,.05),transparent 34%,rgba(255,255,255,.025));transform:translate(0);opacity:.1;animation:none;pointer-events:none}.image-record-generating .generation-reference-aura{animation:generationAuraBreathe 4.8s ease-in-out infinite}.image-record-generating .generation-reference-scan{--generation-scan-start: -118%;--generation-scan-end: 122%;animation:generationPreviewScan 3.4s ease-in-out infinite}.generation-reference-shadow{position:absolute;left:50%;bottom:12px;z-index:0;width:min(78%,230px);height:22px;border-radius:999px;background:radial-gradient(ellipse,rgba(0,0,0,.34),transparent 68%);opacity:.62;transform:translate(-50%);filter:blur(4px);pointer-events:none}.video-generation-source{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.video-generation-source.blur{transform:scale(1.08);filter:blur(18px) saturate(1.04);opacity:.32}.video-generation-source.main{position:relative;width:auto;height:auto;max-width:100%;max-height:240px;object-fit:contain;padding:0;filter:saturate(1.04) contrast(1.02);opacity:.9;animation:none}.video-generation-field{position:relative;width:100%;height:100%;background:radial-gradient(circle at 24% 24%,color-mix(in srgb,var(--theme-accent, #3268f2) 18%,transparent),transparent 34%),linear-gradient(110deg,transparent 10%,rgba(103,211,194,.08) 36%,transparent 62%),repeating-linear-gradient(90deg,rgba(255,255,255,.026) 0 1px,transparent 1px 20px),linear-gradient(150deg,#121823,#181719,#0d1017);animation:none}.video-generation-vignette,.video-generation-scan,.video-generation-grain{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.video-generation-vignette{box-shadow:inset 0 0 0 1px #ffffff0d,inset 0 -46px 78px #0000006b,inset 0 0 74px #00000070}.video-generation-scan{background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.16) 50%,transparent 100%);height:28%;inset:-28% 0 auto;mix-blend-mode:screen;opacity:.22;animation:none;opacity:.1}.video-generation-grain{background-image:radial-gradient(circle at 12% 18%,rgba(255,255,255,.16) 0 1px,transparent 1px),radial-gradient(circle at 72% 64%,rgba(255,255,255,.12) 0 1px,transparent 1px),radial-gradient(circle at 42% 82%,rgba(255,255,255,.1) 0 1px,transparent 1px);background-size:17px 19px,23px 21px,29px 27px;opacity:.1}.video-generation-meta{position:relative;z-index:1;display:grid;align-content:center;gap:clamp(8px,2.1cqw,13px);min-width:0;min-height:0}.video-generation-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.generation-loader{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.1),transparent 48%),#ffffff0e;box-shadow:inset 0 1px #ffffff14}.generation-loader span{width:5px;height:5px;border-radius:999px;background:#ffffffb3;animation:generationLoaderDot 1.8s ease-in-out infinite}.generation-loader span:nth-child(2){animation-delay:.18s}.generation-loader span:nth-child(3){animation-delay:.36s}.generation-logo-loader{position:relative;width:44px;height:44px;display:grid;place-items:center}.generation-logo-ring,.generation-logo-pulse,.generation-logo-spark{position:absolute;pointer-events:none}.generation-logo-ring{top:2px;right:2px;bottom:2px;left:2px;border-radius:999px;border:1px solid rgba(130,174,255,.34);box-shadow:inset 0 0 14px #5788eb1f,0 0 18px #4e9bff1f}.generation-logo-ring.main{border-top-color:#66d5c7d1;border-right-color:#e2b7688f;animation:logoRingSpin 5.8s linear infinite}.generation-logo-ring.soft{top:9px;right:9px;bottom:9px;left:9px;border-color:#ffffff21;border-left-color:#76beff66;animation:logoRingSpinReverse 7.2s linear infinite}.generation-logo-pulse{top:20px;right:20px;bottom:20px;left:20px;border-radius:999px;background:radial-gradient(circle,#67d3c22e,#67d3c200 62%);animation:logoPulse 2.9s ease-in-out infinite}.generation-logo-mark{position:relative;z-index:2;width:27px;height:27px;border-radius:9px;filter:drop-shadow(0 9px 16px rgba(47,139,255,.26));animation:logoFloat 3.2s ease-in-out infinite}.generation-logo-spark{width:7px;height:7px;border-radius:999px;background:#e0b86ce6;box-shadow:0 0 18px #e0b86c61}.generation-logo-spark.one{top:17px;right:21px;animation:logoSparkOne 4.8s ease-in-out infinite}.generation-logo-spark.two{left:18px;bottom:22px;background:#64d2c6d1;box-shadow:0 0 18px #64d2c652;animation:logoSparkTwo 5.4s ease-in-out infinite}.video-generation-lite.tone-queued .video-generation-content:before,.video-generation-lite.tone-waiting .video-generation-content:before,.video-generation-lite.tone-queued .generation-logo-loader *,.video-generation-lite.tone-waiting .generation-logo-loader *,.video-generation-lite.tone-queued .progress-fill:after,.video-generation-lite.tone-waiting .progress-fill:after{animation:none!important}.video-mode-page .video-generation-lite .video-generation-content:before,.video-mode-page .video-generation-lite .generation-logo-loader *,.video-mode-page .video-generation-lite .progress-fill:after{animation:none!important}.generation-copy{position:relative;z-index:1;display:grid;gap:5px;min-width:0}.generation-copy b{margin:0;font-size:clamp(15px,3.8cqw,18px);font-weight:760;line-height:1.25;letter-spacing:0}.generation-copy small{max-width:100%;color:#ffffffb3;font-size:13px;line-height:1.5;text-align:left;overflow-wrap:anywhere}.generation-stage{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:0 10px;border-radius:8px;color:#ffeecdf0;background:#d6ad6c1c;border:1px solid rgba(214,173,108,.2);font-size:12px;font-weight:760;line-height:1}.video-generation-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}.video-generation-steps span{position:relative;display:grid;place-items:center;min-width:0;min-height:28px;padding:0 4px;border:1px solid rgba(255,255,255,.075);border-radius:8px;color:#ffffff7a;background:#ffffff07;font-size:11px;font-weight:720;line-height:1;text-align:center;transition:color .28s ease,border-color .28s ease,background .28s ease,box-shadow .28s ease}.video-generation-steps span.completed{color:#beeee3c7;border-color:#67d3c22e;background:#67d3c20e}.video-generation-steps span.active{color:#fff6e0f5;border-color:#e2b7684d;background:linear-gradient(180deg,#e2b76826,#ffffff09);box-shadow:0 0 18px #e2b76814}.progress-container{display:flex;align-items:center;gap:12px;width:min(240px,100%);margin-top:8px}.generation-progress{position:relative;z-index:1;width:100%;margin-top:0}.progress-bar{flex:1;height:7px;background:#ffffff18;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 2px #0000003d}.progress-fill{display:block;height:100%;background:linear-gradient(90deg,#7aa2ff,#6ed7c8 58%,#d9b978);border-radius:999px;transition:width .9s cubic-bezier(.22,1,.36,1);position:relative;box-shadow:0 0 14px #67d3c229}.progress-fill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#fff0,#ffffff42,#fff0);animation:shimmer 2.4s infinite linear}.progress-container span,.progress-container em{font-size:12px;font-variant-numeric:tabular-nums;min-width:36px;color:#a1a9b8;font-style:normal;text-align:right}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes studioLightBreathe{0%,to{transform:translateY(0) scale(.98);opacity:.48}50%{transform:translateY(6%) scale(1.03);opacity:.72}}@keyframes generationLoaderDot{0%,to{transform:translateY(0);opacity:.38}45%{transform:translateY(-3px);opacity:.92}}@keyframes videoPanelScan{0%,58%{transform:translate(-120%);opacity:0}70%{opacity:.85}to{transform:translate(120%);opacity:0}}@keyframes videoFrameSweep{0%,28%{transform:translate(-140%);opacity:0}42%{opacity:.75}76%,to{transform:translate(140%);opacity:0}}@keyframes videoFrameBreathe{0%,to{transform:scale(var(--video-frame-scale-min, .996));opacity:.86}50%{transform:scale(var(--video-frame-scale-max, 1.006));opacity:.94}}@keyframes videoFieldDrift{0%,to{transform:translate(var(--video-field-shift-start, -1%)) scale(var(--video-field-scale-min, 1.01));filter:saturate(1)}50%{transform:translate(var(--video-field-shift-end, 1%)) scale(var(--video-field-scale-max, 1.025));filter:saturate(1.08)}}@keyframes videoScanDown{0%,12%{transform:translateY(0);opacity:0}32%{opacity:.24}72%,to{transform:translateY(var(--video-scan-travel, 460%));opacity:0}}@keyframes ambientDrift{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(1.04)}to{transform:rotate(360deg) scale(1)}}@keyframes logoRingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes logoRingSpinReverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}@keyframes logoPulse{0%,to{transform:scale(.9);opacity:.38}50%{transform:scale(1.12);opacity:.78}}@keyframes logoFloat{0%,to{transform:translateY(0) scale(.98);filter:drop-shadow(0 14px 26px rgba(47,139,255,.28))}50%{transform:translateY(-3px) scale(1.02);filter:drop-shadow(0 18px 34px rgba(47,139,255,.38))}}@keyframes logoSparkOne{0%,to{transform:translateZ(0);opacity:.48}50%{transform:translate3d(-8px,8px,0);opacity:.96}}@keyframes logoSparkTwo{0%,to{transform:translateZ(0);opacity:.42}50%{transform:translate3d(9px,-7px,0);opacity:.88}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes imageGeneratingSheen{0%{transform:translate(-120%) skew(-14deg);opacity:0}18%{opacity:.8}62%{opacity:.8}to{transform:translate(260%) skew(-14deg);opacity:0}}@keyframes imageProgressSweep{0%{transform:translate(-110%);opacity:0}30%{opacity:1}to{transform:translate(120%);opacity:0}}@keyframes generationPreviewScan{0%{transform:translate(var(--generation-scan-start, -120%));opacity:0}18%{opacity:.42}55%{opacity:.32}to{transform:translate(var(--generation-scan-end, 126%));opacity:0}}@keyframes generationAuraBreathe{0%,to{transform:scale(var(--generation-aura-scale-min, .98));opacity:.52}50%{transform:scale(var(--generation-aura-scale-max, 1.025));opacity:.68}}@keyframes artboardFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px);box-shadow:0 20px 45px -10px color-mix(in srgb,var(--theme-accent, #3268f2) 25%,transparent)}}@keyframes gridPan{0%{background-position:0 0}to{background-position:20px 20px}}@keyframes iconPulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.05);opacity:1}}@keyframes gradientFlow{0%{background-position:200% 0}to{background-position:0 0}}@keyframes textPulse{0%,to{opacity:.6}50%{opacity:1;color:var(--theme-accent, #3268f2)}}@media(prefers-reduced-motion:reduce){.video-generation-content:before,.generation-reference-aura,.generation-reference-scan,.video-generation-source.main,.video-generation-field,.video-generation-scan,.generation-loader span,.progress-fill:after{animation:none}}.video-actions{display:flex;flex:0 0 auto;justify-content:center;gap:8px}.video-actions button{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border-radius:8px;color:#252b35;background:#f3f5f9;font-weight:760}.video-prompt-row.light{flex:0 0 auto;width:min(760px,100%);margin:0 auto}.video-prompt-row.light button{border-color:#e8eaf0;color:#3d4451;background:#fafbfe}.video-history-block{display:grid;flex:0 0 auto;gap:10px}.section-title.compact h1,.tasks-column .section-title h1{font-size:20px}.video-task-list{display:grid;gap:10px}.video-task-card{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid #eceef4;border-radius:8px;background:#fbfcff}.task-mini-progress{width:100%;height:5px;margin-top:8px;border-radius:999px;background:#e7ecf4;overflow:hidden}.task-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#18a27f,#3268f2);transition:width .24s ease}.video-task-card.muted{color:#77808f;background:#fafbfe}.video-task-card p{display:-webkit-box;margin:0 0 6px;overflow:hidden;color:#232832;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-task-card span,.video-task-card em{color:#7a8392;font-size:13px;font-style:normal}.video-task-card a{color:#2f74ff;font-weight:800}.video-settings-panel{display:grid;align-content:start;gap:14px;padding:16px;max-height:100%;overflow-y:auto;scrollbar-gutter:stable}.video-brief-card.light{margin:0;border-color:#dce7ff;color:#202633;background:#f5f8ff}.video-brief-card.light span,.video-brief-card.light p{color:#63708a}.video-brief-card.light b{color:#1d2b4f}.video-brief-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.video-brief-meta span{padding:5px 8px;border:1px solid #dce7ff;border-radius:8px;color:#41516f;background:#fff;font-size:12px;font-weight:760}.video-ratio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid #e8eaf0;border-radius:8px;padding:8px;background:#fafbfe}.video-ratio-grid button{display:grid;align-content:center;gap:5px;min-width:0;min-height:58px;padding:8px 6px;border-radius:8px;color:#596273;background:transparent;font-size:13px;font-weight:760}.video-ratio-grid button span{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0}.video-ratio-grid button small{overflow:hidden;color:#8a94a6;font-size:11px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.video-ratio-grid button.active{color:#1d5ce6;background:#edf3ff}.video-ratio-grid button.active small{color:#326ce8}.video-resolution-readout{display:grid;align-content:center;min-height:54px;padding:9px 12px;border:1px solid #e8eaf0;border-radius:8px;background:#fbfcff}.video-resolution-readout span{color:#687184;font-size:12px;font-weight:760}.video-resolution-readout b{margin-top:4px;color:#1f2b3f;font-size:14px}.video-quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.video-quality-grid button{display:grid;justify-items:center;align-items:center;gap:5px;min-height:58px;min-width:0;padding:8px 6px;border:1px solid #e8eaf0;border-radius:8px;color:#445064;background:#fbfcff;text-align:center}.video-quality-grid button span{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;font-size:13px;font-weight:780}.video-quality-grid button b{overflow:hidden;max-width:100%;color:#687184;font-size:12px;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.video-quality-grid button.active{border-color:#cfe0ff;color:#1d5ce6;background:#edf3ff}.video-quality-grid button.active b{color:#326ce8}.compact-fields{align-items:stretch}.advanced-details.light{display:grid;gap:12px;border:1px solid #e8eaf0;border-radius:8px;background:#fff}.advanced-details.light summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;color:#3f4654;cursor:pointer;font-weight:780}.advanced-details.light>*:not(summary){margin:0 12px 12px}.video-dock-unified{position:relative;z-index:4;width:min(1080px,calc(100% - 56px));margin:0 auto 16px}.upload-status{display:inline-flex;align-items:center;max-width:100%;min-height:32px;gap:8px;margin:0 0 8px 10px;padding:7px 10px;border:1px solid #dce4ef;border-radius:999px;background:#ffffffeb;box-shadow:0 12px 28px #1f252f14;color:#465060;font-size:12px;font-weight:760;line-height:1.25}.upload-status svg{flex:0 0 auto}.video-composer{--composer-textarea-min-height: 58px;--composer-textarea-padding: 8px 28px 8px;--composer-textarea-font-size: 17px}.video-composer .composer-bar.top{padding-bottom:2px}.video-composer .mini-ref-strip{max-width:min(320px,42vw);overflow-x:auto;padding:2px 0}.video-mode-page.dragging-over .video-stage-panel,.video-mode-page.dragging-over .video-dock-unified{outline:2px solid rgba(50,104,242,.42);outline-offset:-2px}.video-mode-page.dragging-over .video-dock-unified:before{content:"释放图片导入为视频参考图";position:absolute;left:18px;top:-42px;z-index:2;padding:9px 12px;border:1px solid rgba(50,104,242,.22);border-radius:8px;color:#174fc6;background:#edf3fff5;box-shadow:0 12px 26px #1e2e4e1f;font-size:13px;font-weight:820}.video-dock-summary{flex:1;min-width:0;overflow:hidden;color:#687184;font-size:13px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.xlb-video-app{display:grid;grid-template-columns:76px 300px minmax(0,1fr);width:100%;height:100%;min-width:0;overflow:hidden;color:#f3f5f8;background:#101116}.xlb-video-rail{display:flex;flex-direction:column;align-items:center;gap:20px;min-width:0;padding:30px 12px 20px;border-right:1px solid var(--dark-line);background:#0f1015}.xlb-video-logo{display:block;width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 14px 24px rgba(28,156,255,.28))}.xlb-video-rail nav{display:grid;gap:18px;width:100%;margin-top:78px}.xlb-video-rail nav button,.xlb-video-menu,.xlb-video-user{display:grid;place-items:center;gap:6px;width:60px;min-height:64px;color:#f0f2f7;background:transparent}.xlb-video-rail nav button span{font-size:13px}.xlb-video-rail nav button.active{color:#35e3ff}.credit-pill{display:grid;place-items:center;gap:4px;width:62px;min-height:74px;margin-top:auto;border:1px solid rgba(44,221,255,.18);border-radius:8px;color:#2ee7ff;background:#101922e6;font-weight:850}.credit-pill span{color:#23e0ff;font-size:13px}.xlb-video-user{width:44px;min-height:44px;border-radius:50%;background:linear-gradient(135deg,#f2ffe8,#d7edff 54%,#fce0ff);color:#101216;font-weight:900}.xlb-video-menu{min-height:40px;color:#8f96a5}.xlb-video-sidebar{min-width:0;padding:36px 20px;border-right:1px solid var(--dark-line);background:#15171d}.xlb-video-side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.xlb-video-side-title b{font-size:20px}.dark-icon{border-color:#ffffff1c;color:#dfe3eb;background:#ffffff0f}.xlb-video-chat-button{display:flex;align-items:center;gap:18px;width:100%;min-height:54px;margin-bottom:10px;padding:0 16px;border-radius:8px;color:#d9dee8;background:transparent;text-align:left;font-size:16px;font-weight:700}.xlb-video-chat-button.active{background:#242832}.video-brief-card{display:grid;gap:7px;margin-top:22px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff09}.video-brief-card span{color:#7f8795;font-size:12px;font-weight:760}.video-brief-card b{color:#edf1f7;font-size:15px}.video-brief-card p{margin:0;color:#9da4b3;font-size:13px}.xlb-video-main{position:relative;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(circle at 38% 10%,rgba(47,116,255,.09),transparent 34%),#101116}.xlb-video-top-filter{position:absolute;top:28px;right:44px;z-index:4;display:flex;align-items:center;gap:0;min-height:48px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#1c1f27f0;box-shadow:0 12px 32px #00000038;overflow:hidden}.xlb-video-top-filter label,.xlb-video-top-filter button{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:0 15px;border-right:1px solid rgba(255,255,255,.08);color:#e8ebf2;background:transparent;font-size:14px;font-weight:720}.xlb-video-top-filter button:last-child{border-right:0}.xlb-video-top-filter input{width:76px;height:auto;padding:0;border:0;color:#e8ebf2;background:transparent;box-shadow:none}.xlb-video-feed{height:100%;min-width:0;overflow-y:auto;padding:38px 44px 360px 72px}.xlb-video-preview{display:grid;place-items:center;width:min(660px,60vw);aspect-ratio:16 / 9;margin:0 0 20px;border-radius:8px;background:#151821;overflow:hidden}.xlb-video-preview video{width:100%;height:100%;object-fit:contain;background:#000}.xlb-video-preview.placeholder{align-content:center;gap:10px;border:1px solid rgba(255,255,255,.06);color:#737b8a}.xlb-video-preview.placeholder b{color:#dfe4ee;font-size:20px}.video-prompt-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(760px,100%);margin:18px 0 56px}.video-prompt-row button{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:8px;color:#cfd5e0;background:#ffffff0b;text-align:left;line-height:1.35}.xlb-video-result-actions{display:flex;gap:8px;margin-bottom:74px}.xlb-video-result-actions button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:8px;color:#e9edf6;background:#20232c;font-size:16px;font-weight:720}.xlb-video-feed h2{margin:0 0 28px;color:#f1f4fa;font-size:36px;font-weight:820}.xlb-video-history{display:grid;gap:14px;width:min(980px,100%)}.xlb-video-task{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0;padding:10px;border-radius:8px;color:#e5e9f2;background:#ffffff08}.xlb-video-task.muted{color:#9098a7}.task-thumb{display:grid;place-items:center;width:112px;height:70px;border-radius:8px;color:#8991a1;background:#171a21;overflow:hidden}.task-thumb video{width:100%;height:100%;object-fit:cover}.xlb-video-task p{display:-webkit-box;margin:0 0 8px;overflow:hidden;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.xlb-video-task span,.xlb-video-task em{color:#7f8797;font-size:14px;font-style:normal}.xlb-video-task a{color:#21d8ef;font-weight:800}.xlb-video-dock-wrap{position:absolute;left:50%;bottom:24px;z-index:5;display:grid;justify-items:end;gap:10px;width:min(1040px,calc(100% - 72px));transform:translate(-50%);pointer-events:none}.xlb-video-dock-wrap>*{pointer-events:auto}.generation-popover{display:grid;gap:14px;width:min(640px,100%);padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#1b1e26f7;box-shadow:0 22px 72px #00000057;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.popover-head b{color:#f1f4fa;font-size:18px}.auto-switch{display:inline-flex;align-items:center;gap:8px;color:#8f96a5;font-size:14px;font-weight:760}.auto-switch input{width:42px;height:24px;accent-color:#22e3ef}.dark-segment{width:100%;border-color:#ffffff0f;background:#191c23}.dark-segment button{color:#858d9c}.dark-segment button.active{color:#dfe5f1;background:#252933}.dark-segment.wrap{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr))}.popover-block{display:grid;gap:10px}.popover-block>span{color:#727b8d;font-size:14px;font-weight:760}.ratio-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:8px;border-radius:12px;background:#20232b}.ratio-row button{display:grid;place-items:center;gap:6px;min-height:54px;border-radius:10px;color:#8c94a4;background:transparent;font-size:13px}.ratio-row button.active{color:#dfe5f1;background:#2a2f3b}.popover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dark-details{display:grid;gap:12px;color:#dfe5f1}.dark-details summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#aeb5c4;font-weight:760}.dark-details .field-label,.xlb-video-app .field-label{color:#b6bdca}.xlb-video-app input,.xlb-video-app textarea,.xlb-video-app select{border-color:#ffffff14;color:#edf1f7;background:#20232b}.xlb-video-app input:focus,.xlb-video-app textarea:focus,.xlb-video-app select:focus{border-color:#22e3ef8c;box-shadow:0 0 0 4px #22e3ef1a}.lookup-box{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px}.dark-error{margin:0;border-color:#ff606038;color:#ffb6b6;background:#ff484814}.xlb-video-dock{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr) auto 52px;align-items:center;gap:12px;width:100%;min-height:124px;padding:18px;border-radius:18px;background:#1f222bf2;box-shadow:0 22px 72px #00000057;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.xlb-video-dock .tool-round{width:58px;height:78px;border-radius:8px;background:#2c313d;transform:rotate(-5deg)}.xlb-video-dock textarea{min-height:64px;max-height:130px;border:0;background:transparent;box-shadow:none;resize:none;font-size:18px}.xlb-video-dock textarea:focus{box-shadow:none}.xlb-video-dock-tools{display:flex;align-items:center;gap:8px;align-self:end}.xlb-video-dock-tools button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;color:#e0e5ef;background:#20242e;font-weight:760;white-space:nowrap}.xlb-video-dock-tools button.active{background:#323744}.agent-chip{color:#28e8ff!important}.xlb-video-send{display:grid;place-items:center;align-self:end;width:52px;height:52px;border-radius:50%;color:#a8b0bd;background:#4a5160}.upload-box{display:grid;gap:10px}.upload-box.compact{grid-template-columns:148px minmax(0,1fr);align-items:center}.upload-drop{display:flex;align-items:center;justify-content:center;gap:8px;min-height:58px;border:1px dashed var(--line-strong);border-radius:8px;color:#47504a;background:#fbfbfc}.upload-box.dark .upload-drop{border-color:#ffffff21;color:#cbd2df;background:#20232b}.url-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px}.reference-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px}.reference-thumb{position:relative;aspect-ratio:1 / 1;overflow:hidden;border-radius:8px;border:1px solid var(--line);background:#eef0f3}.reference-thumb img{width:100%;height:100%;object-fit:cover}.reference-thumb button{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#15171ac2;color:#fff}.studio-page{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;min-width:0;overflow:hidden;background:#f7f7f8}.studio-header{display:grid;grid-template-columns:minmax(260px,1fr) auto minmax(300px,1fr);align-items:center;gap:18px;padding:18px 24px;border-bottom:1px solid var(--line);background:#ffffffe6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.studio-header b{color:#1f2026;font-size:15px}.studio-header h1{margin:4px 0 2px;font-size:24px}.studio-header p{margin:0;color:var(--muted);font-size:13px}.studio-header nav{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff}.studio-header nav button{min-height:34px;padding:0 12px;border-radius:7px;color:#5b606a;background:transparent;font-weight:760}.studio-header nav button.active{color:#111319;background:#eef3ff}.studio-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.primary{padding:0 14px;background:#15171a;color:#fff;box-shadow:0 10px 26px #15171a29}.primary.ghost{border:1px solid var(--line);background:#fff;color:#15171a;box-shadow:none}.primary.full{width:100%}.primary.large{min-height:46px;font-size:15px}.workflow-page{display:grid;grid-template-columns:minmax(520px,1fr) minmax(320px,var(--xlb-right-panel-width, 340px));gap:18px;min-width:0;min-height:0;padding:18px 28px 22px;overflow:hidden}.workflow-canvas{display:grid;grid-template-rows:auto minmax(360px,1fr);align-content:start;gap:14px;min-width:0;min-height:0;overflow:hidden}.workflow-topbar,.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.workflow-topbar{min-height:58px;padding:8px 12px;border:1px solid #e8eaf0;border-radius:8px;background:#ffffffeb;box-shadow:0 12px 34px #171f2e0b}.workflow-project-pill{display:inline-flex;align-items:center;gap:10px;min-width:0;padding:8px 12px;border:1px solid #e8eaf0;border-radius:10px;color:#20252d;background:#fff;font-weight:800}.workflow-project-pill b{max-width:220px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.workflow-node-actions{display:flex;align-items:center;gap:6px;min-width:0}.workflow-node-actions button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 9px;border:1px solid #e5e8ef;border-radius:9px;color:#3d4654;background:#fff;font-size:12px;font-weight:760;white-space:nowrap}.workflow-run-meter{display:grid;gap:5px;min-width:140px;margin-left:auto;color:#5f6674;font-size:12px;font-weight:760}.workflow-run-meter div{height:6px;border-radius:999px;background:#edf0f5;overflow:hidden}.workflow-run-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#35a889,#2f74ff);transition:width .24s ease}.eyebrow{display:inline-flex;margin-bottom:8px;color:var(--green-deep);font-size:12px;font-weight:850}.section-title h1{margin:0;font-size:clamp(24px,2.4vw,32px);line-height:1.1}.node-surface{position:relative;min-height:360px;border:1px solid var(--line);border-radius:12px;background:radial-gradient(circle at 2px 2px,rgba(70,79,98,.12) 1px,transparent 0),linear-gradient(90deg,rgba(21,23,26,.04) 1px,transparent 1px),linear-gradient(0deg,rgba(21,23,26,.04) 1px,transparent 1px),#fbfcff;background-size:18px 18px,42px 42px,42px 42px;box-shadow:0 12px 34px #171f2e0b;overflow:hidden;cursor:grab;-webkit-user-select:none;user-select:none}.node-surface:active{cursor:grabbing}.workflow-viewport{position:absolute;top:0;left:0;transform-origin:0 0;will-change:transform}.workflow-canvas-title{position:absolute;top:16px;left:18px;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(226,231,240,.9);border-radius:10px;color:#59616f;background:#ffffffb8;font-size:12px;font-weight:800;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.workflow-canvas-title b{color:#8b93a1;font-size:12px}.edges{position:absolute;top:0;left:0;pointer-events:auto}.workflow-view-controls{position:absolute;right:14px;bottom:14px;z-index:5;display:inline-flex;align-items:center;gap:4px;padding:5px;border:1px solid rgba(226,231,240,.94);border-radius:8px;background:#ffffffdb;box-shadow:0 14px 34px #171f2e1f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.workflow-view-controls button{display:grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:7px;color:#3d4654;background:transparent}.workflow-view-controls button:hover{border-color:#dfe5ef;background:#f6f8fb}.workflow-view-controls span{min-width:46px;color:#4d5666;font-size:12px;font-weight:820;text-align:center}.workflow-control-bar{position:absolute;top:14px;left:14px;z-index:12;display:grid;gap:8px;width:min(760px,calc(100% - 28px));padding:10px;border:1px solid rgba(226,231,240,.94);border-radius:12px;background:#ffffffe0;box-shadow:0 18px 46px #171f2e1f;cursor:auto;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.workflow-control-main,.workflow-add-toolbar,.workflow-new-node-buttons{display:flex;align-items:center;gap:7px;min-width:0}.workflow-control-main{flex-wrap:wrap}.workflow-control-main button,.workflow-new-node-buttons button,.workflow-add-mode button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;min-width:0;padding:0 10px;border:1px solid #e1e6ef;border-radius:8px;color:#2f3744;background:#fff;font-size:12px;font-weight:850;white-space:nowrap}.workflow-control-main .workflow-run-all{border-color:#111827;color:#fff;background:#111827}.workflow-add-toolbar{justify-content:space-between;flex-wrap:wrap}.workflow-add-mode{display:inline-flex;gap:3px;min-width:0;padding:3px;border:1px solid #e1e6ef;border-radius:9px;background:#f5f7fb}.workflow-add-mode button{min-height:28px;border-color:transparent;background:transparent}.workflow-add-mode button.active{color:#fff;background:#2f74ff;box-shadow:0 8px 18px #2f74ff38}.workflow-new-node-buttons{flex-wrap:wrap;justify-content:flex-end}.workflow-new-node-buttons button{min-height:30px;padding:0 9px;font-size:11px}.workflow-double-click-hint{display:block;color:#7b8290;font-size:11px;font-weight:760}.workflow-selection-line{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.workflow-edge-delete,.workflow-selected-count,.workflow-connection-draft{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 9px;border:1px solid #e1e6ef;border-radius:8px;color:#344054;background:#fff;font-size:11px;font-weight:850;white-space:nowrap}.workflow-edge-delete{color:#b42318}.workflow-connection-draft{color:#1757d8;background:#edf3ff}.edge-link .edge-path{fill:none;stroke:#49587161;stroke-width:3;stroke-linecap:round;pointer-events:none;transition:stroke .2s ease,stroke-width .2s ease}.edge-link .edge-hit{fill:none;stroke:#2f74ff00;stroke-width:18;pointer-events:stroke;cursor:pointer}.edge-link.done .edge-path{stroke:#1f9d8280}.edge-link.active .edge-path{stroke:#2f74ff;stroke-dasharray:8 12;stroke-width:3;animation:edgeFlow 1s linear infinite}.edge-link.selected .edge-path{stroke:#2f74ff;stroke-width:4;filter:drop-shadow(0 0 7px rgba(47,116,255,.32))}.workflow-selection-box{position:absolute;z-index:14;pointer-events:none;border:1px solid rgba(47,116,255,.72);border-radius:8px;background:#2f74ff1f;box-shadow:0 0 0 1px #ffffffc7 inset}.flow-node{position:absolute;top:0;left:0;z-index:2;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto auto auto;column-gap:10px;align-items:center;width:170px;min-height:138px;padding:11px 11px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#15171a;box-shadow:0 12px 30px #171f2e17;text-align:left;touch-action:none;cursor:grab}.flow-node:active{cursor:grabbing}.flow-node.selected{border-color:#2f74ff94;box-shadow:0 0 0 3px #2f74ff1c,0 16px 36px #171f2e1f}.flow-node.connecting-source{border-color:#2f74ffc2}.flow-node.done{border-color:#1f9d8273}.flow-node.running{border-color:#4977e87a}.flow-node.failed{border-color:#c442366b}.flow-node.running{box-shadow:0 0 0 3px #2f74ff1a,0 16px 36px #2f549629}.node-icon{display:grid;grid-row:2 / 5;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff}.node-kicker{grid-column:1 / -1;margin-bottom:8px;color:#7b8290;font-size:11px;font-weight:820}.flow-node.coral .node-icon{background:var(--coral)}.flow-node.green .node-icon{background:var(--green)}.flow-node.blue .node-icon{background:var(--blue)}.flow-node.amber .node-icon{background:var(--amber)}.flow-node b,.flow-node small,.flow-node em{min-width:0;overflow:hidden;text-overflow:ellipsis}.flow-node b{font-size:14px}.flow-node small{color:var(--muted);display:-webkit-box;min-height:36px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.node-status-row{display:flex;grid-column:2;align-items:center;gap:7px;min-width:0;margin-top:9px}.flow-node em{display:inline-flex;padding:3px 8px;border-radius:999px;color:#667085;background:#f3f5f8;font-size:11px;font-style:normal;font-weight:750}.node-output-toggle{display:grid;place-items:center;width:24px;height:24px;margin-left:auto;border:1px solid #e4e8f0;border-radius:7px;color:#5d6676;background:#fff}.node-output-toggle:disabled{opacity:.42;cursor:not-allowed}.flow-node.expanded .node-output-toggle svg{transform:rotate(180deg)}.flow-node.done em{color:var(--green-deep);background:#eaf8f2}.flow-node.running em{color:#1757d8;background:#edf3ff}.flow-node.failed em{color:var(--danger);background:#fff3ef}.node-progress{grid-column:1 / -1;display:block;height:4px;margin-top:10px;border-radius:999px;background:#eef1f6;overflow:hidden}.node-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#35a889,#2f74ff);transition:width .24s ease}.node-output-panel{grid-column:1 / -1;display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f5}.workflow-mode-page .workflow-main{grid-template-rows:minmax(0,1fr)}.workflow-mode-page .workflow-page.canvas-only{grid-template-columns:minmax(0,1fr);gap:0;height:100%;padding:0}.workflow-mode-page .workflow-canvas{grid-template-rows:minmax(0,1fr);gap:0;height:100%}.workflow-mode-page .node-surface{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}.workflow-mode-page .flow-node{z-index:2;grid-template-columns:42px minmax(0,1fr);width:240px;min-height:158px;padding:13px;border-radius:10px}.workflow-mode-page .flow-node.config-open{z-index:8}.workflow-mode-page .flow-node b{font-size:15px}.workflow-mode-page .flow-node small{min-height:38px}.workflow-mode-page .node-icon{width:42px;height:42px}.node-config-panel{position:absolute;top:0;left:0;z-index:18;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;min-height:320px;padding:12px;border:1px solid rgba(226,231,240,.96);border-radius:14px;background:#fffffff5;box-shadow:0 22px 56px #1018282e;overflow:hidden;color:#15171a;cursor:auto;-webkit-user-select:text;user-select:text;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.node-panel-head,.node-run-row,.node-export-actions{display:grid;gap:8px;min-width:0}.node-panel-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;cursor:grab}.node-panel-head:active{cursor:grabbing}.node-panel-title{display:grid;gap:3px;min-width:0}.node-panel-title b{min-width:0;overflow:hidden;color:#15171a;font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.node-panel-title span,.node-add-groups span,.node-input-summary span,.node-section-head p{min-width:0;overflow:hidden;color:#687386;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.node-panel-actions{display:inline-flex;gap:6px;cursor:default}.node-panel-actions button,.node-add-groups button,.node-export-actions button{min-width:0;min-height:30px;padding:0 8px;border:1px solid #e4e8f0;border-radius:8px;color:#3d4654;background:#fff;font-size:11px;font-weight:800}.node-panel-actions button{display:grid;place-items:center;width:32px;padding:0;cursor:pointer}.node-run-row{grid-template-columns:minmax(0,1fr) minmax(112px,auto);align-items:stretch;padding:8px;border:1px solid #edf0f5;border-radius:10px;background:#f8fafc}.node-run-row select,.node-config-panel select,.node-config-panel textarea{min-width:0;width:100%;border-radius:8px}.node-run-row .xlb-unified-select,.node-config-panel .xlb-unified-select{min-width:0;width:100%}.node-run-row .xlb-select-trigger{min-height:36px}.node-run-row .node-config-run{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 11px;border:1px solid #111827;border-radius:9px;background:#111827;color:#fff;font-weight:850}.node-config-panel textarea{min-height:112px;max-height:180px;resize:vertical}.node-config-panel .field{gap:5px}.node-config-panel .field-label{font-size:11px}.node-config-panel .node-mode-tabs.compact{padding:3px;overflow-x:auto}.node-config-panel .node-mode-tabs.compact button{min-height:28px;padding:0 8px;font-size:11px}.node-config-scroll{display:grid;gap:10px;min-height:0;padding-right:3px;overflow-y:auto;overscroll-behavior:contain}.node-config-scroll::-webkit-scrollbar{width:8px}.node-config-scroll::-webkit-scrollbar-track{background:transparent}.node-config-scroll::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#68738657;background-clip:content-box}.node-config-section{display:grid;gap:10px;min-width:0;padding:10px;border:1px solid #edf0f5;border-radius:11px;background:#f8fafccc}.node-section-head{display:grid;gap:3px;min-width:0}.node-section-head span{color:#1f2937;font-size:12px;font-weight:880}.node-section-head p{margin:0;font-weight:760}.node-input-summary{display:grid;gap:5px;min-width:0;padding:9px;border:1px solid #edf0f5;border-radius:8px;background:#f8fafc}.node-input-summary p{display:-webkit-box;margin:0;overflow:hidden;color:#3d4654;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.node-config-panel .node-config-grid,.node-export-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.node-add-groups{display:grid;gap:9px;min-width:0}.node-add-groups>div{display:grid;gap:6px;min-width:0}.node-add-groups>div>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.node-add-groups button,.node-export-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.node-output-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#59616f;font-size:11px;font-weight:820}.node-output-head button{display:grid;place-items:center;width:24px;height:24px;border:1px solid #e4e8f0;border-radius:7px;color:#4d5666;background:#fff}.node-output-body{display:grid;gap:8px;min-width:0}.node-output-body p{max-height:96px;margin:0;overflow:auto;color:#3a403c;font-size:12px;line-height:1.45;white-space:pre-wrap}.node-output-body small{color:var(--muted);font-size:11px;line-height:1.4}.node-output-body img,.node-output-body video{width:100%;aspect-ratio:16 / 10;border-radius:8px;object-fit:cover;background:#eeeff2}.node-output-body span{display:grid;place-items:center;min-height:82px;border:1px dashed #dfe4ec;border-radius:8px;color:var(--muted);font-size:12px}.node-port{position:absolute;top:66px;z-index:2;display:block;width:12px;height:12px;padding:0;border:2px solid #9aa7bd;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffffe6;cursor:crosshair;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.node-port.in{left:-7px}.node-port.out{right:-7px}.node-port:hover,.node-port.active,.node-port.connectable{transform:scale(1.18);border-color:#2f74ff;background:#2f74ff;box-shadow:0 0 0 4px #2f74ff29,0 0 0 1px #fffffff5 inset}.workflow-inspector{display:flex;flex-direction:column;gap:16px;min-height:0;margin:0;padding:18px;overflow-y:auto}.workflow-inspector-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.workflow-inspector h2{margin:0;font-size:15px}.workflow-inspector-head button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;color:#4b5565;background:#fff}.template-note,.selected-node,.parallel-node-actions,.workflow-output-actions,.empty-log,.log-item{border:1px solid var(--line);border-radius:8px;background:#fff}.template-note{padding:12px;color:var(--muted);font-size:13px;line-height:1.5}.selected-node{display:flex;align-items:center;gap:10px;padding:12px}.selected-node div{display:grid;gap:2px;min-width:0}.selected-node span{color:var(--muted);font-size:12px}.selected-node em{margin-left:auto;color:#5f6674;font-size:12px;font-style:normal;font-weight:780}.parallel-node-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.parallel-node-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:34px;padding:0 8px;border:1px solid var(--line);border-radius:8px;color:#3d4654;background:#fbfbfc;font-size:12px;font-weight:780;white-space:nowrap}.delete-node-button{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;color:var(--danger);background:#fff}.node-config-card{display:grid;gap:11px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}.node-config-title{display:flex;align-items:center;gap:8px;color:#1f2630;font-size:14px}.node-mode-tabs{display:flex;gap:7px;min-width:0;padding:3px;border:1px solid #eceff5;border-radius:10px;background:#f7f8fb;overflow-x:auto}.node-mode-tabs button{flex:0 0 auto;min-height:32px;height:32px;padding:0 11px;border:1px solid transparent;border-radius:8px;color:#586170;background:transparent;font-size:12px;font-weight:800;white-space:nowrap}.node-mode-tabs button.active{color:#fff;border-color:#11151b;background:#11151b;box-shadow:0 8px 20px #11151b24}.node-config-card textarea{min-height:126px;resize:none}.node-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.node-config-run{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:9px;color:#fff;background:#11151b;font-weight:800}.workflow-output-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.workflow-output-actions button{min-height:34px;padding:0 8px;border:1px solid var(--line);background:#fbfbfc;font-size:12px}.log-list{display:grid;gap:8px}.empty-log,.log-item{padding:10px 12px}.empty-log{color:var(--muted)}.log-item span{color:var(--muted);font-size:12px}.log-item p{margin:4px 0 0;line-height:1.45}.log-item.error{border-color:#c442362e;background:#fff3ef}.log-item.success{border-color:#1f9d8233;background:#eff8f4}.tasks-page{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;min-width:0;min-height:0;padding:22px 28px;overflow-y:auto}.tasks-column{display:grid;align-content:start;gap:12px;min-width:0;padding:16px;border:1px solid #e8eaf0;border-radius:8px;background:#fff;box-shadow:0 12px 34px #171f2e0b}.section-title{margin-bottom:2px}.section-title button{min-height:38px;padding:0 12px;border:1px solid var(--line);background:#fff}.task-card,.history-row{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid #e8eaf0;border-radius:8px;background:#fbfcff;box-shadow:none}.task-card.with-thumb{grid-template-columns:80px minmax(0,1fr);align-items:start}.task-body{display:flex;flex-direction:column;gap:10px}.task-card b,.history-row p{overflow:hidden;text-overflow:ellipsis}.task-card b{display:-webkit-box;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.task-card p{margin:5px 0 0;color:var(--muted);font-size:13px}.task-card .task-note{color:#b45309}.progress{height:7px;border-radius:999px;background:#eceef4;overflow:hidden}.progress span{display:block;height:100%;border-radius:inherit;background:var(--green)}.task-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.task-actions code{max-width:100%;overflow:hidden;padding:6px 8px;border-radius:6px;background:#f3f4f7;color:#414842;text-overflow:ellipsis}.task-actions a{min-height:32px;padding:0 10px;border:1px solid var(--line);background:#fbfbfc}.history-row{grid-template-columns:48px 76px 72px minmax(0,1fr) 152px;align-items:center}.history-row span,.history-row b{display:inline-flex;justify-content:center;padding:5px 8px;border-radius:99px;background:#f1f3f7;font-size:12px}.history-row p{margin:0;white-space:nowrap}.history-row time{color:var(--muted);font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:20px;background:#15171a5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.settings-modal{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;width:min(960px,calc(100vw - 40px));height:min(760px,calc(100vh - 40px));max-height:calc(100vh - 40px);padding:20px;background:#fff;overflow:hidden}.image-preview-backdrop{background:#0b0d12ad}.image-preview-modal{display:grid;gap:14px;width:min(1040px,100%);max-height:calc(100vh - 40px);padding:18px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#fff;box-shadow:0 24px 80px #00000047}.image-result-preview-modal{width:fit-content;max-width:calc(100vw - 40px)}.image-result-preview-modal .image-preview-stage,.image-result-preview-modal .image-preview-meta{width:var(--image-preview-frame-width);max-width:calc(100vw - 96px)}.image-result-preview-modal .modal-title>div{min-width:0}.image-preview-prompt-shell{min-width:0;max-width:100%}.image-preview-prompt{margin:4px 0 0}.image-preview-prompt-text{display:block;min-width:0;overflow-wrap:anywhere}.image-preview-prompt.collapsible:not(.expanded) .image-preview-prompt-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.image-preview-prompt.expanded .image-preview-prompt-text{max-height:min(22vh,180px);overflow:auto;white-space:pre-wrap}.image-preview-prompt-toggle{margin:4px 0 0}.image-preview-stage{display:grid;place-items:center;min-height:0;border-radius:8px;background:linear-gradient(45deg,#f0f1f4 25%,transparent 25%),linear-gradient(-45deg,#f0f1f4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f0f1f4 75%),linear-gradient(-45deg,transparent 75%,#f0f1f4 75%),#fff;background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;overflow:hidden}.image-result-preview-modal .image-preview-stage{display:block;aspect-ratio:var(--image-preview-aspect, 1 / 1);height:var(--image-preview-frame-height);max-height:calc(100vh - 220px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;cursor:zoom-in}.image-result-preview-modal .image-preview-stage.zoomed{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.image-result-preview-modal .image-preview-stage.zoomed.panning{cursor:grabbing}.image-result-preview-modal .image-preview-stage.zoomed.panning img{pointer-events:none}.image-preview-zoom-surface{display:flex;align-items:center;justify-content:center;width:max(100%,calc(100% * var(--image-preview-zoom, 1)));height:max(100%,calc(100% * var(--image-preview-zoom, 1)));min-width:100%;min-height:100%}.image-preview-stage img{display:block;max-width:100%;max-height:min(70vh,760px);object-fit:contain}.reference-preview-modal{width:min(1040px,calc(100vw - 40px))}.reference-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;color:var(--theme-muted, #737b8c);font-size:12px;font-weight:800}.reference-preview-stage{position:relative;width:100%;height:min(66vh,680px);min-height:320px;overflow:hidden}.reference-preview-stage img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center;transform:none!important}.reference-preview-note{margin:-2px 0 0}.video-api-normalization-note{margin:-4px 0 2px}.image-result-preview-modal .image-preview-stage img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}.video-result-preview-modal{width:min(1040px,calc(100vw - 40px));overflow:auto}.video-result-preview-modal .video-preview-stage,.video-result-preview-modal .image-preview-meta{width:min(960px,calc(100vw - 96px))}.video-result-preview-modal .modal-title{align-items:flex-start}.video-result-preview-modal .modal-title>div{flex:1 1 auto;min-width:0}.video-preview-prompt-shell{position:relative;min-width:0;max-width:100%}.video-preview-prompt-shell.has-toggle{padding-right:56px}.video-preview-prompt{max-width:none;margin:4px 0 0;color:var(--theme-muted, var(--muted));font-size:14px;font-weight:560;line-height:1.5;overflow-wrap:anywhere}.video-preview-prompt-text{display:block;min-width:0;white-space:pre-wrap}.video-preview-prompt.collapsible:not(.expanded) .video-preview-prompt-text{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-preview-prompt.expanded .video-preview-prompt-text{max-height:min(24vh,220px);overflow:auto;padding-right:4px}.video-preview-prompt-toggle{position:absolute;top:4px;right:0;display:inline-flex;align-items:center;gap:4px;min-height:22px;padding:0;border:0;color:var(--theme-accent, #3268f2);background:transparent;font-size:12px;font-weight:820;line-height:1;white-space:nowrap;cursor:pointer}.video-preview-prompt-toggle:hover,.video-preview-prompt-toggle:focus-visible{color:var(--theme-heading, #141922)}.video-preview-prompt-toggle svg{flex:0 0 auto;transition:transform .18s ease}.video-preview-prompt-toggle svg.rotated{transform:rotate(180deg)}.video-result-preview-modal .video-preview-stage{justify-self:center;aspect-ratio:var(--video-preview-aspect, 16 / 9);max-height:calc(100vh - 220px);background:#020306}.video-result-preview-modal.aspect-square .video-preview-stage,.video-result-preview-modal.aspect-square .image-preview-meta{width:min(720px,calc(100vw - 96px))}.video-result-preview-modal.aspect-vertical{width:fit-content;max-width:calc(100vw - 40px)}.video-result-preview-modal.aspect-vertical .image-preview-meta{width:min(460px,calc(100vw - 96px))}.video-result-preview-modal.aspect-vertical .video-preview-stage{width:auto;height:min(72vh,760px);max-width:calc(100vw - 96px);max-height:calc(100vh - 220px)}.video-result-preview-modal .video-preview-stage video{display:block;width:100%;height:100%;background:#020306;object-fit:contain}.image-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.image-preview-meta>span{color:var(--muted);font-size:13px;font-weight:760}.image-preview-meta>span>small{display:block;margin-top:3px;color:var(--theme-muted, var(--muted));font-size:11px;font-weight:650}@media(max-width:720px){.image-result-preview-modal{padding:14px}.image-result-preview-modal .image-preview-stage,.image-result-preview-modal .image-preview-meta{max-width:calc(100vw - 52px)}.image-result-preview-modal .image-preview-stage{max-height:calc(100vh - 180px)}}.modal-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-bottom:4px}.modal-title>:first-child{flex:1 1 auto;min-width:0}.modal-title h2{margin:0}.modal-title p{margin:4px 0 0;color:var(--muted);line-height:1.45}.modal-close-button{position:relative;z-index:1;display:inline-grid;place-items:center;flex:0 0 44px;align-self:flex-start;margin-inline-start:auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;line-height:0;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-app-region:no-drag}.modal-close-button>svg{display:block;width:20px;height:20px;pointer-events:none}.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;min-width:0;min-height:0}.settings-nav{display:grid;align-content:start;gap:8px;min-width:0;padding:8px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.settings-nav-button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px;border:1px solid transparent;border-radius:8px;color:var(--theme-text, #2c313b);background:transparent;text-align:left}.settings-nav-button svg{display:block;color:var(--theme-muted, #6f7785)}.settings-nav-button span,.settings-nav-button b,.settings-nav-button small{min-width:0}.settings-nav-button b{display:block;overflow:hidden;color:var(--theme-heading, #171b24);font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.settings-nav-button small{display:block;margin-top:3px;overflow:hidden;color:var(--theme-muted, var(--muted));font-size:11px;font-weight:680;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.settings-nav-button:hover,.settings-nav-button.active{border-color:color-mix(in srgb,var(--theme-primary, var(--blue)) 28%,var(--theme-line, var(--line)));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 10%,var(--theme-surface, #fff))}.settings-nav-button.active svg{color:var(--theme-primary, var(--blue))}.settings-nav-button.active b{color:var(--theme-heading, #171b24)}.settings-panel{display:grid;align-content:start;gap:14px;min-width:0;min-height:0;max-height:min(690px,calc(100vh - 146px));padding-right:4px;overflow-y:auto}.settings-section{display:grid;align-content:start;gap:14px;min-width:0}.settings-section-title{display:grid;gap:5px;min-width:0}.settings-section-title h3{margin:0;color:var(--theme-heading, #171b24);font-size:19px;line-height:1.25}.settings-section-title p{margin:0;color:var(--theme-muted, var(--muted));font-size:13px;line-height:1.55}.settings-section-card{display:grid;gap:14px;min-width:0;padding:16px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.asset-auto-save-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;padding:13px 14px;border:1px solid var(--theme-line-strong, var(--line-strong));border-radius:10px;background:var(--theme-surface, #fff);cursor:pointer}.asset-auto-save-control.enabled{border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 42%,var(--theme-line, var(--line)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 8%,var(--theme-surface, #fff))}.asset-auto-save-control input{width:19px;height:19px;margin:1px 0 0;accent-color:var(--theme-accent, var(--blue))}.asset-auto-save-control span{display:grid;gap:4px;min-width:0}.asset-auto-save-control b{color:var(--theme-heading, #151922);font-size:14px;line-height:1.4}.asset-auto-save-control small,.asset-auto-save-note,.asset-cache-warning{margin:0;color:var(--theme-muted, var(--muted));font-size:12px;line-height:1.58}.asset-cache-warning{padding:10px 12px;border:1px solid color-mix(in srgb,#d49322 32%,var(--theme-line, var(--line)));border-radius:8px;color:color-mix(in srgb,#9a5d00 82%,var(--theme-text, #151922));background:color-mix(in srgb,#f5b642 11%,var(--theme-surface, #fff))}.persona-current-summary{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid color-mix(in srgb,var(--theme-primary, var(--blue)) 24%,var(--theme-line, var(--line)));border-radius:8px;background:color-mix(in srgb,var(--theme-primary, var(--blue)) 9%,var(--theme-surface, #fff))}.persona-current-summary>svg{flex:0 0 auto;margin-top:1px;color:var(--theme-primary, var(--blue))}.persona-current-summary span,.persona-current-summary b,.persona-current-summary small{min-width:0}.persona-current-summary span{display:grid;gap:3px}.persona-current-summary b{color:var(--theme-heading, #141922);font-size:14px;font-weight:820;line-height:1.3}.persona-current-summary small{color:var(--theme-muted, #687386);font-size:12px;font-weight:650;line-height:1.45}.persona-param-pills{display:flex!important;flex-wrap:wrap;gap:5px;min-width:0;margin-top:2px}.persona-param-pills em{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border:1px solid color-mix(in srgb,var(--theme-primary, var(--blue)) 18%,var(--theme-line, var(--line)));border-radius:8px;color:var(--theme-primary, var(--blue));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 8%,var(--theme-surface, #fff));font-size:11px;font-style:normal;font-weight:820;line-height:1;white-space:nowrap}.persona-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.persona-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:78px;padding:12px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface, #fff);color:var(--theme-text, #202532);text-align:left;cursor:pointer}.persona-card:hover,.persona-card.active{border-color:color-mix(in srgb,var(--theme-primary, var(--blue)) 40%,var(--theme-line, var(--line)));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 9%,var(--theme-surface, #fff))}.persona-card-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--theme-primary, var(--blue));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 12%,var(--theme-surface-2, #f7f8fb))}.persona-card-copy{display:grid;gap:4px;min-width:0}.persona-card-copy b,.persona-card-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis}.persona-card-copy b{color:var(--theme-heading, #141922);font-size:14px;font-weight:820;line-height:1.25;white-space:nowrap}.persona-card-copy small{display:-webkit-box;color:var(--theme-muted, #687386);font-size:12px;font-weight:640;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.persona-card-state{display:inline-flex;align-items:center;gap:4px;color:var(--theme-muted, #687386);font-size:12px;font-weight:820;white-space:nowrap}.persona-card.active .persona-card-state{color:var(--theme-primary, var(--blue))}.custom-persona-list{display:grid;gap:12px;min-width:0}.custom-persona-card{display:grid;gap:14px;min-width:0;padding:16px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.custom-persona-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.custom-persona-head span{display:grid;gap:3px;min-width:0}.custom-persona-head b{color:var(--theme-heading, #141922);font-size:15px;font-weight:840;line-height:1.3}.custom-persona-head small{color:var(--theme-muted, #687386);font-size:12px;font-weight:650;line-height:1.45}.custom-persona-head button{width:34px;min-height:34px;padding:0}.custom-persona-card textarea{min-height:132px;resize:vertical}.custom-persona-advanced{display:grid;gap:14px;min-width:0;padding-top:14px;border-top:1px solid var(--theme-line, var(--line))}.custom-persona-advanced-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.custom-persona-advanced-head span{display:grid;gap:3px;min-width:0}.custom-persona-advanced-head b{color:var(--theme-heading, #141922);font-size:14px;font-weight:840;line-height:1.3}.custom-persona-advanced-head small{color:var(--theme-muted, #687386);font-size:12px;font-weight:650;line-height:1.45}.persona-thinking-toggle{flex:0 0 auto;min-height:34px;padding:0 10px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface, #fff);white-space:nowrap}.api-module-grid{display:grid;gap:16px;min-width:0}.api-module-card{display:flex;flex-direction:column;min-width:0;padding:16px 20px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb);transition:all .2s ease}.api-module-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.api-module-head>span{display:flex;flex-direction:column;gap:4px}.api-module-head b{color:var(--theme-heading, #141922);font-size:14px;font-weight:600}.api-module-head small{color:var(--theme-muted, #687386);font-size:13px;line-height:1.4}.api-module-config-state{flex:0 0 auto;padding:6px 10px;border:1px solid var(--theme-line, var(--line));border-radius:999px;color:var(--theme-muted, #687386);background:var(--theme-surface, #fff);font-size:12px;font-style:normal;font-weight:750;white-space:nowrap}.api-module-card.custom .api-module-config-state{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 28%,var(--theme-line, var(--line)));color:var(--theme-accent-readable, #1c58df)}.api-module-switch{margin:0!important;padding:6px 12px;border:1px solid var(--theme-line, var(--line))!important;border-radius:8px;background:var(--theme-surface, #fff);font-size:13px;font-weight:500;white-space:nowrap}.master-accordion-card{display:flex;flex-direction:column;padding:18px 22px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.master-accordion-head{display:flex;align-items:flex-start;justify-content:space-between;width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left;color:var(--theme-text, #141922)}.master-accordion-head>span{display:flex;flex-direction:column;gap:4px}.master-accordion-head b{color:var(--theme-heading, #141922);font-size:14px;font-weight:600}.master-accordion-head small{color:var(--theme-muted, #687386);font-size:13px;line-height:1.4}.master-accordion-head svg{color:var(--theme-muted, #687386);transition:transform .3s cubic-bezier(.4,0,.2,1)}.master-accordion-head svg.flip{transform:rotate(-180deg)}.master-accordion-body-wrapper{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1)}.master-accordion-body-wrapper.expanded{grid-template-rows:1fr}.master-accordion-body{overflow:hidden}.master-accordion-body .api-module-grid{padding-top:20px;margin-top:16px;border-top:1px dashed var(--theme-line, var(--line))}.api-module-default{margin-top:14px;padding:12px 14px;border-radius:8px;background:var(--theme-surface, #fff);color:var(--theme-muted, #687386);font-size:13px}.api-module-fields{display:grid;gap:14px;margin-top:16px;padding-top:16px;border-top:1px dashed var(--theme-line, var(--line))}.api-usage-summary,.api-usage-breakdown,.api-usage-events{gap:14px}.api-usage-shell{display:grid;grid-template-columns:1fr;gap:14px;align-items:start;min-width:0;color:var(--theme-text, #202532)}.api-credit-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:14px;min-width:0}.api-credit-balance-card,.api-credit-price-card,.api-credit-claim-card{min-width:0;min-height:126px;border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 24%,var(--theme-line, var(--line)));color:var(--theme-text, #202532);background:color-mix(in srgb,var(--theme-accent, var(--blue)) 6%,var(--theme-surface, #fff))}.api-credit-claim-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px 12px;padding:18px}.api-credit-claim-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:color-mix(in srgb,var(--theme-warning, #c88719) 78%,var(--theme-heading, #141922));background:color-mix(in srgb,var(--theme-warning, #c88719) 14%,var(--theme-surface, #fff))}.api-credit-claim-copy{display:grid;gap:3px;min-width:0}.api-credit-claim-copy small{color:var(--theme-warning-readable, #805200);font-size:9px;font-weight:900;letter-spacing:.12em}.api-credit-claim-copy b{color:var(--theme-heading, #141922);font-size:15px;font-weight:880}.api-credit-claim-copy em{color:var(--theme-muted, #687386);font-size:11px;font-style:normal;font-weight:650;line-height:1.45}.api-credit-claim-card>button{grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid color-mix(in srgb,var(--theme-warning, #c88719) 38%,var(--theme-line, var(--line)));border-radius:9px;color:var(--theme-warning-readable, #805200);background:color-mix(in srgb,var(--theme-warning, #c88719) 8%,var(--theme-surface, #fff));font-size:12px;font-weight:850}.api-credit-claim-card>button:disabled{cursor:not-allowed;opacity:.48}.api-credit-balance-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px}.api-credit-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--theme-accent-readable, var(--theme-primary, var(--blue)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 14%,var(--theme-surface, #fff))}.api-credit-copy,.api-credit-price-card>span{display:grid;gap:4px;min-width:0}.api-credit-copy small,.api-credit-price-card small,.api-credit-copy em,.api-credit-price-card em{color:var(--theme-muted, #687386);font-size:12px;font-style:normal;font-weight:720;line-height:1.35}.api-credit-copy b{color:var(--theme-heading, #141922);font-size:31px;font-weight:900;line-height:1}.api-credit-balance-card button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;min-height:40px;padding:0 13px;border:1px solid color-mix(in srgb,var(--theme-accent, var(--blue)) 34%,var(--theme-line, var(--line)));border-radius:9px;color:var(--theme-accent-readable, var(--theme-primary, var(--blue)));background:var(--theme-surface, #fff);font-size:12px;font-weight:840}.api-credit-actions{display:grid;gap:8px}.api-credit-balance-card .api-credit-actions button.primary{border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 48%,var(--theme-line, var(--line)));color:var(--theme-primary-text, #fff);background:var(--theme-primary, var(--blue))}.api-credit-price-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.api-credit-price-card>span b{color:var(--theme-heading, #141922);font-size:16px;font-weight:880}.api-credit-price-card>strong{padding:8px 10px;border-radius:9px;color:color-mix(in srgb,var(--theme-warning, #c88719) 72%,var(--theme-heading, #141922));background:color-mix(in srgb,var(--theme-warning, #c88719) 13%,var(--theme-surface, #fff));font-size:14px;font-weight:900;white-space:nowrap}.api-credit-price-card>small{grid-column:1 / -1}.api-usage-controls{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:16px;padding:14px 16px}.api-usage-range{display:grid;gap:8px;min-width:0}.api-usage-control-label{color:var(--theme-muted, #687386);font-size:12px;font-weight:780;line-height:1.25}.api-usage-control-actions{display:grid;grid-template-columns:repeat(2,minmax(190px,.72fr)) minmax(210px,1fr);align-items:stretch;justify-content:stretch;gap:10px;min-width:0}.api-usage-date-field{width:100%;min-width:0}.api-usage-date-field .field{gap:6px}.api-usage-date-field input{width:100%}.api-usage-main{display:grid;gap:14px;min-width:0}.api-usage-scope-card{position:sticky;top:0;gap:14px;min-width:0;padding:14px 10px}.usage-scope-rail{min-width:0;color:var(--text-color)}.usage-scope-list{display:flex;gap:8px;min-width:0;max-height:none;margin:0;padding:2px;overflow-x:auto;overflow-y:hidden;list-style:none;scrollbar-width:thin}.usage-scope-item{flex:0 0 auto;min-width:0;--effect: 0}.usage-scope-item button{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;width:auto;min-width:126px;min-height:42px;padding:6px 10px 6px 6px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface, #fff);color:var(--theme-text, var(--text-color));text-align:left;cursor:pointer;transform:translate(calc(var(--effect, 0) * var(--max-shift, 18px)));transition:background .14s ease,color .14s ease}.usage-scope-item button:hover,.usage-scope-item[aria-current=true] button{border-color:color-mix(in srgb,var(--accent-color) 48%,var(--theme-line, var(--line)));color:var(--theme-accent-readable, var(--accent-color));background:color-mix(in srgb,var(--accent-color) 10%,var(--theme-surface, #fff))}.usage-scope-marker{justify-self:end;width:calc(8px + (var(--effect, 0) * 15px));height:calc(2px + (var(--effect, 0) * 2px));border-radius:999px;background:color-mix(in srgb,var(--accent-color) calc(24% + (var(--effect, 0) * 70%)),var(--marker-color));box-shadow:0 0 0 calc(var(--effect, 0) * 3px) color-mix(in srgb,var(--accent-color) 12%,transparent)}.usage-scope-copy{display:grid;gap:2px;min-width:0}.usage-scope-copy b{min-width:0;color:currentColor;font-size:calc(12px + (var(--effect, 0) * 1px));font-weight:860;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-scope-copy small{min-width:0;color:var(--theme-muted, #687386);font-size:11px;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-total-button{display:inline-grid;grid-template-columns:16px auto;grid-template-areas:"icon label" "icon meta";align-items:center;column-gap:8px;min-height:48px;width:100%;min-width:0;padding:7px 12px;border:1px solid color-mix(in srgb,var(--theme-accent, var(--blue)) 28%,var(--theme-line, var(--line)));border-radius:8px;color:var(--theme-accent-readable, var(--theme-primary, var(--blue)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 9%,var(--theme-surface, #fff));font-weight:860;text-align:left;cursor:pointer}.usage-total-button svg{grid-area:icon}.usage-total-button span{grid-area:label;font-size:13px;line-height:1.2;white-space:nowrap}.usage-total-button small{grid-area:meta;color:var(--theme-muted, #687386);font-size:11px;font-weight:760;line-height:1.2;white-space:nowrap}.usage-total-button:hover,.usage-total-button.active{border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 58%,var(--theme-line, var(--line)));color:var(--theme-accent-readable, var(--theme-primary, var(--blue)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 15%,var(--theme-surface, #fff))}.usage-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.usage-summary-head span{display:grid;gap:3px;min-width:0}.usage-summary-head b{color:var(--theme-heading, #141922);font-size:17px;font-weight:880;line-height:1.25}.usage-summary-head small,.usage-summary-head em{color:var(--theme-muted, #687386);font-size:12px;font-style:normal;font-weight:720;line-height:1.35}.usage-summary-head em{text-align:right;white-space:nowrap}.usage-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.usage-stat{display:grid;gap:6px;min-width:0;padding:13px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface, #fff)}.usage-stat span,.usage-stat small,.usage-module-row small,.usage-event-row small{color:var(--theme-muted, #687386);font-size:12px;font-weight:680;line-height:1.35}.usage-stat b{min-width:0;color:var(--theme-heading, #141922);font-size:19px;font-weight:880;line-height:1.15;overflow-wrap:anywhere}.usage-token-row{display:flex;flex-wrap:wrap;gap:8px}.usage-token-row span{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid var(--theme-line-strong, var(--theme-line, var(--line)));border-radius:8px;color:var(--theme-heading, #141922);background:var(--theme-surface-2, #f7f8fb);font-size:12px;font-weight:820}html[data-theme] .api-usage-shell :is(.api-usage-control-label,.usage-scope-copy small,.usage-total-button small,.usage-summary-head small,.usage-summary-head em,.usage-stat span,.usage-stat small,.usage-module-row small,.usage-event-row small){color:color-mix(in srgb,var(--theme-heading) 72%,var(--theme-muted))}html[data-theme] .api-usage-shell .usage-token-row span{border-color:var(--theme-line-strong);color:var(--theme-heading);background:var(--theme-surface-2)}.usage-module-list,.usage-event-list{display:grid;gap:8px;min-width:0}.usage-module-row,.usage-event-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,auto) minmax(112px,auto);align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface, #fff)}.usage-event-row{grid-template-columns:minmax(0,1fr) minmax(112px,auto)}.usage-module-row>span,.usage-event-row>span{display:grid;gap:3px;min-width:0}.usage-module-row b,.usage-event-row b{min-width:0;color:var(--theme-heading, #141922);font-size:13px;font-weight:840;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-module-row em,.usage-event-row em{color:var(--theme-text, #202532);font-size:13px;font-style:normal;font-weight:820;text-align:right;white-space:nowrap}.usage-empty{display:inline-flex;align-items:center;gap:8px;min-height:48px;color:var(--theme-muted, #687386);font-size:13px;font-weight:760}@media(max-width:980px){.api-usage-scope-card{position:static}.api-usage-controls{grid-template-columns:1fr;align-items:stretch}.api-credit-overview{grid-template-columns:1fr}.api-usage-control-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.api-usage-date-field{grid-column:1 / -1;width:100%}.usage-scope-item{flex:0 0 130px}.usage-scope-item button{transform:none}.usage-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-module-row{grid-template-columns:minmax(0,1fr)}.usage-module-row em,.usage-event-row em{text-align:left}}@media(max-width:720px){.api-usage-control-actions{display:grid;grid-template-columns:1fr}.api-credit-balance-card{grid-template-columns:40px minmax(0,1fr)}.api-credit-balance-card button{grid-column:1 / -1;width:100%}.api-credit-price-card{grid-template-columns:1fr}.api-credit-price-card>small{grid-column:auto}.usage-total-button{justify-content:center;width:100%}.api-usage-date-field{grid-column:auto;width:100%;min-width:0}}.settings-section-actions{margin-top:2px}.account-app-version{justify-self:end;margin-top:auto;padding:4px 2px 0;color:var(--theme-muted, #687086);font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.02em;opacity:.78}.account-settings-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:16px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.account-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:var(--theme-primary-text, #fff);background:linear-gradient(135deg,var(--theme-primary, #2f74ff),var(--theme-accent-2, #1f9d82));font-size:20px;font-weight:900}.account-copy{display:grid;gap:5px;min-width:0}.account-copy b{color:var(--theme-heading, #171b24);font-size:16px;line-height:1.25}.account-copy small,.account-setting-item small{color:var(--theme-muted, var(--muted));line-height:1.5}.account-login-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid var(--theme-line, var(--line));border-radius:8px;color:var(--theme-muted, var(--muted));background:var(--theme-surface, #fff);font-weight:800;white-space:nowrap}.account-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}.account-setting-item{display:grid;align-content:start;gap:6px;min-width:0;padding:14px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.account-setting-item span{color:var(--theme-muted, var(--muted));font-size:12px;font-weight:780}.account-setting-item b{color:var(--theme-heading, #171b24);font-size:15px}.account-support-contacts{display:grid;gap:10px;min-width:0;margin-top:4px}.account-support-contact-row{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:13px 16px;border:1px solid var(--theme-line, var(--line));border-radius:8px;background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 78%,transparent)}.account-support-contact-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--theme-primary, var(--blue));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 12%,var(--theme-surface, #fff))}.account-support-contact-copy{display:grid;gap:3px;min-width:0}.account-support-contact-copy small{color:var(--theme-muted, var(--muted));font-size:12px;font-weight:760}.account-support-contact-copy b{color:var(--theme-heading, #171b24);font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-user-select:text;user-select:text}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.modal-actions button{min-height:40px;padding:0 13px;border:1px solid var(--line);background:#fff}.modal-actions .primary{background:#15171a}.settings-message{padding:10px 12px;border:1px solid rgba(196,66,54,.18);border-radius:8px;color:var(--danger);background:#fff3ef}.settings-message.ok{border-color:#1f9d8233;color:var(--green-deep);background:#eff8f4}@media(max-width:1240px){.xlb-light-app{grid-template-columns:var(--xlb-left-sidebar-width, 308px) minmax(0,1fr)}.suggestion-cloud button{font-size:16px}.xlb-video-app{grid-template-columns:76px 280px minmax(0,1fr)}.xlb-video-top-filter{right:28px}.xlb-video-feed{padding-left:44px;padding-right:28px}.ratio-row{grid-template-columns:repeat(5,minmax(0,1fr))}.studio-header{grid-template-columns:1fr}.studio-actions{justify-content:flex-start}}@media(max-width:980px){body{overflow:auto}.xlb-light-app,.xlb-video-app,.video-studio,.workflow-page,.tasks-page{grid-template-columns:1fr}.xlb-light-sidebar,.xlb-video-rail,.xlb-video-sidebar,.sidebar-resize-handle{display:none}.xlb-light-main,.studio-page{min-height:100vh}.chat-dock,.image-dock,.video-dock-unified,.error-banner.floating{width:calc(100% - 28px)}.video-studio,.workflow-page,.tasks-page{padding-left:14px;padding-right:14px}.workflow-page{overflow-y:auto}.workflow-canvas{grid-template-rows:auto minmax(380px,1fr);overflow-x:hidden}.node-surface{min-width:0}.workflow-inspector{display:flex;min-height:auto}.video-studio{padding-bottom:14px;overflow-y:auto}.video-stage-panel,.video-settings-panel{max-height:none;overflow-y:visible}.video-toolbar{justify-content:flex-start;overflow-x:auto}.video-toolbar label{min-width:190px}.video-task-card{grid-template-columns:76px minmax(0,1fr)}.video-task-card a{grid-column:2;justify-self:start}.suggestion-cloud{justify-content:flex-start}.suggestion-cloud button{width:100%;max-width:100%}.persona-grid,.custom-persona-card .field-row-grid.two,.custom-persona-advanced .field-row-grid{grid-template-columns:minmax(0,1fr)}.custom-persona-advanced-head{display:grid}.xlb-video-top-filter{left:16px;right:16px;overflow-x:auto}.xlb-video-feed{padding:104px 16px 430px}.xlb-video-preview{width:100%}.generation-popover{max-height:48vh;overflow-y:auto}.xlb-video-dock{grid-template-columns:72px minmax(0,1fr) 54px}.xlb-video-dock-tools{grid-column:1 / -1;overflow-x:auto}.xlb-video-dock .tool-round{width:56px;height:76px}.tasks-page,.field-row-grid,.field-row-grid.two,.popover-grid{grid-template-columns:1fr}}@media(max-width:640px){.xlb-light-header{grid-template-columns:42px minmax(0,1fr) 76px;padding:0 12px}.xlb-light-header p{display:none}.chat-scroll,.image-canvas{padding-left:14px;padding-right:14px}.composer-bar{align-items:stretch;flex-direction:column}.composer-tools-left{width:100%}.voice-button,.send-button{align-self:flex-end}.upload-status{display:flex;margin-left:0;border-radius:8px}.message,.message.user{grid-template-columns:34px minmax(0,1fr)}.message.user .avatar{grid-column:1}.message.user .message-body{grid-column:2;justify-self:stretch}.dark-segment.wrap,.ratio-row,.video-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-quality-grid button{grid-template-columns:1fr;justify-items:start}.history-row{grid-template-columns:1fr}}input[type=checkbox]{--xlb-control-accent: var(--theme-accent-readable, var(--theme-accent, var(--juliu-accent, #3268f2)));-moz-appearance:none;appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;border:1px solid color-mix(in srgb,var(--theme-line-strong, var(--juliu-border, #cfd7e6)) 92%,transparent);border-radius:5px;color:#fff;background:var(--theme-input, var(--juliu-panel, #ffffff));box-shadow:0 1px 2px #0f172a0d;cursor:pointer;vertical-align:middle;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}input[type=checkbox]:before{content:"";width:5px;height:9px;margin-top:-2px;border:solid currentColor;border-width:0 2px 2px 0;opacity:0;transform:rotate(45deg) scale(.7);transition:opacity .12s ease,transform .12s ease}input[type=checkbox]:checked{border-color:var(--xlb-control-accent);background:var(--xlb-control-accent);box-shadow:0 4px 12px color-mix(in srgb,var(--xlb-control-accent) 24%,transparent)}input[type=checkbox]:checked:before{opacity:1;transform:rotate(45deg) scale(1)}input[type=checkbox]:indeterminate:before{width:9px;height:0;margin:0;border-width:0 0 2px;opacity:1;transform:none}input[type=checkbox]:focus-visible{outline:3px solid color-mix(in srgb,var(--xlb-control-accent) 22%,transparent);outline-offset:2px}input[type=checkbox]:disabled{border-color:var(--theme-line, var(--juliu-border, #dfe4ec));color:var(--theme-disabled-text, #8b94a3);background:var(--theme-disabled-bg, var(--theme-surface-2, var(--juliu-panel-soft, #f0f3f7)));box-shadow:none;cursor:not-allowed;opacity:.68}:is(.advanced-details.light,.dark-details)>summary{list-style:none}:is(.advanced-details.light,.dark-details)>summary::-webkit-details-marker{display:none}:is(.advanced-details.light,.dark-details)>summary:before{content:"";display:inline-block;flex:0 0 7px;width:7px;height:7px;margin:0 3px 1px 1px;border:solid currentColor;border-width:0 2px 2px 0;opacity:.68;transform:rotate(-45deg);transition:transform .15s ease}:is(.advanced-details.light,.dark-details)[open]>summary:before{transform:rotate(45deg) translate(-1px,-1px)}.xlb-select-menu[data-placement=top]{transform-origin:bottom center}.xlb-select-menu[data-placement=bottom]{transform-origin:top center}@media(forced-colors:active){input[type=checkbox]{-moz-appearance:auto;appearance:auto;-webkit-appearance:auto;forced-color-adjust:auto}.xlb-select-trigger,.xlb-select-menu,.xlb-select-option{border-color:ButtonText;forced-color-adjust:auto}}.account-announcement-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;padding:20px;display:grid;place-items:center;background:#030812c2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.account-announcement-dialog{width:min(480px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:26px;border:1px solid color-mix(in srgb,var(--theme-border-strong, #7189aa) 70%,transparent);border-radius:22px;color:var(--theme-text, #f5f7fb);background:var(--theme-modal, #17202d);box-shadow:0 28px 80px #0000006b}.account-announcement-kicker{color:var(--theme-primary, #d2ad62);font-size:11px;font-weight:850;letter-spacing:.14em}.account-announcement-dialog h2{margin:10px 0 12px;font-size:22px}.account-announcement-dialog p{margin:0;color:var(--theme-muted, #b7c0cf);font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.account-announcement-dialog button{width:100%;min-height:44px;margin-top:22px;border:0;border-radius:13px;color:#fff;background:var(--theme-primary, #a77d2e);font-weight:800;cursor:pointer}.account-announcement-dialog button:disabled{cursor:wait;opacity:.66}.account-announcement-error{display:block;margin-top:12px;color:#ff8f8f}.app-update-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000;display:grid;place-items:center;padding:24px;background:#050912b8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.download-links a[aria-disabled=true]{cursor:not-allowed;opacity:.52}.app-update-card{width:min(560px,calc(100vw - 32px));display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:26px;border:1px solid color-mix(in srgb,var(--theme-accent-readable, #376ff0) 26%,var(--theme-line, #d9dee8));border-radius:22px;color:var(--theme-text, #182033);background:color-mix(in srgb,var(--theme-surface, #fff) 96%,var(--theme-accent, #376ff0) 4%);box-shadow:0 28px 90px #00000057}.app-update-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;color:#fff;background:linear-gradient(145deg,var(--theme-accent-readable, #376ff0),#1f54ce);box-shadow:0 12px 24px color-mix(in srgb,var(--theme-accent-readable, #376ff0) 30%,transparent)}.app-update-heading{min-width:0}.app-update-heading>span{color:var(--theme-accent-readable, #376ff0);font-size:12px;font-weight:850;letter-spacing:.08em}.app-update-heading h2{margin:4px 0 5px;font-size:25px}.app-update-heading p{margin:0;color:var(--theme-muted, #687086);font-size:13px}.app-update-notes,.app-update-security,.app-update-progress,.app-update-error,.app-update-card>footer,.app-update-required-note{grid-column:1 / -1}.app-update-notes{max-height:210px;overflow:auto;padding:16px;border:1px solid var(--theme-line, #e1e5ec);border-radius:14px;white-space:pre-wrap;line-height:1.7;background:color-mix(in srgb,var(--theme-surface-2, #f6f7fa) 92%,transparent)}.app-update-security{display:flex;align-items:flex-start;gap:9px;color:var(--theme-muted, #687086);font-size:12px}.app-update-security svg{flex:0 0 auto;margin-top:1px;color:#28a278}.app-update-security code{overflow-wrap:anywhere;font-size:10px}.app-update-progress{display:grid;gap:8px}.app-update-progress>span{height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--theme-line, #dce1ea) 78%,transparent)}.app-update-progress i{display:block;height:100%;min-width:2%;border-radius:inherit;background:linear-gradient(90deg,var(--theme-accent-readable, #376ff0),#36b99b);transition:width .2s ease}.app-update-progress small{color:var(--theme-muted, #687086);font-size:12px}.app-update-error{padding:11px 13px;border:1px solid color-mix(in srgb,#d65a4a 34%,transparent);border-radius:11px;color:#b44235;background:color-mix(in srgb,#d65a4a 8%,transparent);font-size:12px;line-height:1.6}.app-update-card>footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.app-update-card>footer button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;border:1px solid var(--theme-line, #dce1ea);border-radius:11px;font-weight:800;cursor:pointer}.app-update-card>footer button.primary{color:#fff;border-color:transparent;background:var(--theme-accent-readable, #376ff0)}.app-update-card>footer button.secondary{color:var(--theme-text, #182033);background:transparent}.app-update-card>footer button:disabled{cursor:wait;opacity:.65}.app-update-required-note{color:#c35b42;text-align:center;font-size:12px;font-weight:700}@media(max-width:560px){.app-update-overlay{padding:10px}.app-update-card{grid-template-columns:42px minmax(0,1fr);gap:13px;padding:20px 17px;border-radius:18px}.app-update-mark{width:42px;height:42px;border-radius:13px}.app-update-card>footer{align-items:stretch;flex-direction:column-reverse}.app-update-card>footer button{width:100%}}.recharge-backdrop{z-index:180;pointer-events:auto;-webkit-app-region:no-drag;background:#080d1a94}.recharge-modal{position:relative;isolation:isolate;display:grid;gap:16px;width:min(760px,100%);max-height:calc(100vh - 40px);padding:22px;overflow-y:auto;overscroll-behavior:contain;-webkit-app-region:no-drag;border:1px solid var(--theme-line, var(--line));border-radius:14px;color:var(--theme-text, #202532);background:var(--theme-surface, #fff);box-shadow:0 28px 90px #030c2057}.recharge-modal>header{position:sticky;z-index:12;top:-22px;display:flex;align-items:start;justify-content:space-between;gap:16px;margin:-22px -22px 0;padding:22px 22px 10px;background:color-mix(in srgb,var(--theme-surface, #fff) 96%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-app-region:no-drag}.recharge-modal>header span{display:grid;gap:4px}.recharge-modal>header small{color:var(--theme-primary, var(--blue));font-size:10px;font-weight:900;letter-spacing:.18em}.recharge-modal h2,.recharge-modal h3,.recharge-modal p{margin:0}.recharge-close{position:relative;z-index:14;display:inline-grid;place-items:center;flex:0 0 48px;width:48px;min-width:48px;height:48px;min-height:48px;padding:0;border:1px solid var(--theme-line, var(--line));border-radius:12px;color:var(--theme-muted, var(--muted));background:var(--theme-surface-2, #f7f8fb);cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-app-region:no-drag}.recharge-close:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:18px}.recharge-close>svg{display:block;pointer-events:none}.recharge-close:hover{border-color:color-mix(in srgb,var(--theme-primary, var(--blue)) 45%,var(--theme-line, var(--line)));color:var(--theme-heading, #171b24);background:color-mix(in srgb,var(--theme-primary, var(--blue)) 8%,var(--theme-surface-2, #f7f8fb))}.recharge-close:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-primary, var(--blue)) 28%,transparent);outline-offset:3px}.recharge-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recharge-products>button{display:grid;gap:8px;padding:16px;border:1px solid var(--theme-line, var(--line));border-radius:11px;color:inherit;background:var(--theme-surface-2, #f7f8fb);text-align:left}.recharge-products>button:hover,.recharge-products>button.active{border-color:var(--theme-primary, var(--blue));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 8%,var(--theme-surface, #fff))}.recharge-products>button>span{display:flex;align-items:center;gap:8px;color:var(--theme-heading, #171b24)}.recharge-products>button>strong{font-size:24px;color:var(--theme-heading, #171b24)}.recharge-products>button>small,.recharge-products>button>p{color:var(--theme-muted, var(--muted));font-size:12px;line-height:1.5}.recharge-amount-card{display:grid;gap:12px;padding:18px;border:1px solid var(--theme-line, var(--line));border-radius:12px;background:var(--theme-surface-2, #f7f8fb)}.recharge-amount-card>span{display:flex;align-items:center;gap:8px;color:var(--theme-heading, #171b24)}.recharge-amount-card label{display:flex;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--theme-line, var(--line));border-radius:10px;background:var(--theme-surface, #fff)}.recharge-amount-card label:focus-within{border-color:var(--theme-primary, var(--blue));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary, var(--blue)) 12%,transparent)}.recharge-amount-card em{color:var(--theme-muted, var(--muted));font-size:22px;font-style:normal;font-weight:800}.recharge-amount-card input{width:100%;min-height:58px;border:0;outline:0;color:var(--theme-heading, #171b24);background:transparent;font-size:28px;font-weight:900}.recharge-amount-card>strong{color:var(--theme-primary, var(--blue));font-size:15px}.recharge-amount-card>small{color:var(--theme-muted, var(--muted));font-size:12px;line-height:1.55}.recharge-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.recharge-presets button{min-height:34px;border:1px solid var(--theme-line, var(--line));border-radius:8px;color:var(--theme-muted, var(--muted));background:var(--theme-surface, #fff);font-weight:800}.recharge-presets button.active{border-color:var(--theme-primary, var(--blue));color:var(--theme-primary, var(--blue));background:color-mix(in srgb,var(--theme-primary, var(--blue)) 8%,var(--theme-surface, #fff))}.recharge-method-title{display:flex;align-items:end;justify-content:space-between;gap:12px}.recharge-method-title span{color:var(--theme-muted, var(--muted));font-size:11px}.recharge-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.recharge-methods button{min-height:66px;padding:0 16px;border:1px solid var(--theme-line, var(--line));border-radius:11px;color:var(--theme-text, #202532);background:var(--theme-surface-2, #f7f8fb);font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px}.recharge-methods button>span{display:grid;gap:4px;text-align:left}.recharge-methods button b{display:flex;align-items:center;gap:5px}.recharge-methods button small{color:var(--theme-muted, var(--muted));font-size:11px;font-weight:650}.recharge-methods button em{padding:2px 6px;border-radius:999px;color:#fff;background:#22a867;font-size:10px;font-style:normal}.recharge-methods button.wechat{border-color:color-mix(in srgb,#22a867 52%,var(--theme-line, var(--line)));background:color-mix(in srgb,#22a867 8%,var(--theme-surface-2, #f7f8fb))}.recharge-methods button:hover:not(:disabled){border-color:var(--theme-primary, var(--blue));transform:translateY(-1px)}.recharge-methods button:disabled{opacity:.38}.recharge-submit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:0;border-radius:10px;color:var(--theme-primary-text, #fff);background:var(--theme-primary, var(--blue));font-weight:900}.recharge-submit:disabled{opacity:.45}.recharge-warning,.recharge-message{padding:11px 13px;border:1px solid color-mix(in srgb,var(--theme-warning, #c88719) 35%,var(--theme-line, var(--line)));border-radius:9px;color:color-mix(in srgb,var(--theme-warning, #c88719) 72%,var(--theme-text, #202532));background:color-mix(in srgb,var(--theme-warning, #c88719) 9%,var(--theme-surface, #fff));font-size:12px;line-height:1.55}.recharge-empty{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:150px;color:var(--theme-muted, var(--muted))}.recharge-expired{flex-direction:column;text-align:center}.recharge-claim-form{display:grid;width:min(360px,100%);gap:9px;padding:12px;border:1px solid var(--theme-line, var(--line));border-radius:10px;background:var(--theme-surface-2, #f7f8fb);text-align:left}.recharge-claim-form label{display:grid;gap:5px;color:var(--theme-muted, var(--muted));font-size:12px}.recharge-claim-form input{width:100%;min-height:40px;padding:0 10px;border:1px solid var(--theme-line, var(--line));border-radius:8px;color:var(--theme-text, #202532);background:var(--theme-surface, #fff)}.recharge-claim-form button,.recharge-expired>button{min-height:40px;padding:0 13px;border:1px solid var(--theme-line, var(--line));border-radius:9px;color:var(--theme-text, #202532);background:var(--theme-surface, #fff);font-weight:800}.recharge-claim-contact{max-width:460px;padding:9px 11px;border-radius:8px;color:var(--theme-muted, var(--muted));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 6%,var(--theme-surface-2, #f7f8fb));font-size:11px;line-height:1.55;text-align:center}.recharge-claim-contact strong{color:var(--theme-heading, #171b24);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-user-select:all;user-select:all}.recharge-order{display:grid;gap:16px}.recharge-order-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-radius:10px;background:var(--theme-surface-2, #f7f8fb)}.recharge-order-head>span{display:grid;gap:4px}.recharge-order-head small{color:var(--theme-muted, var(--muted))}.recharge-order-head b{font-size:28px}.recharge-order-head em{display:inline-flex;align-items:center;gap:6px;color:var(--theme-warning, #c88719);font-size:12px;font-style:normal}.recharge-qr{display:grid;place-items:center;padding:14px;border:1px solid var(--theme-line, var(--line));border-radius:12px;background:#fff}.recharge-qr img{display:block;width:min(320px,100%);aspect-ratio:1;object-fit:contain}.recharge-qr-loading,.recharge-qr-error{min-height:300px;align-content:center;gap:10px;color:#667085;text-align:center}.recharge-qr-error button{min-height:38px;padding:0 12px;border:1px solid #ccd4e0;border-radius:8px;color:#344054;background:#f7f8fb;font-weight:800}.recharge-reference-alert{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;border:2px solid #fff19a;border-radius:14px;color:#171100;background:linear-gradient(135deg,#ffe66b,#ffbd16);box-shadow:0 0 0 4px #ffbe162b,0 14px 30px #5c3c0038;text-align:left}.recharge-reference-alert-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;color:#ffdc45;background:#171100;box-shadow:0 7px 18px #17110038}.recharge-reference-alert-copy{display:grid;gap:2px;min-width:0}.recharge-reference-alert-copy small{color:#6b4700;font-size:10px;font-weight:950;letter-spacing:.16em}.recharge-reference-alert-copy b{color:#171100;font-size:18px;font-weight:950;line-height:1.25}.recharge-reference-alert-copy>span{color:#4d3400;font-size:12px;font-weight:780;line-height:1.45}.recharge-reference-alert>strong{min-width:88px;padding:9px 16px;border:3px solid rgba(255,255,255,.9);border-radius:12px;color:#fff;background:#151922;box-shadow:0 8px 20px #15192247;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:30px;font-weight:950;letter-spacing:.08em;line-height:1;text-align:center;-webkit-user-select:all;user-select:all}.recharge-fulfillment-notice{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 15px;border:1px solid color-mix(in srgb,#22a867 42%,var(--theme-line, var(--line)));border-radius:11px;color:#18825d;background:color-mix(in srgb,#22a867 9%,var(--theme-surface, #fff))}.recharge-fulfillment-notice>span{display:grid;gap:3px}.recharge-fulfillment-notice b{font-size:15px}.recharge-fulfillment-notice small{color:color-mix(in srgb,#18825d 76%,var(--theme-muted, var(--muted)));font-size:11px}.recharge-pay-note{display:grid;gap:7px;text-align:center}.recharge-pay-note span,.recharge-pay-note small{color:var(--theme-muted, var(--muted));font-size:12px}.recharge-pay-note strong{color:var(--theme-heading, #171b24);font-family:ui-monospace,monospace}.recharge-actions{display:flex;justify-content:center;gap:10px}.recharge-actions button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;border:1px solid var(--theme-line, var(--line));border-radius:9px;color:var(--theme-text, #202532);background:var(--theme-surface-2, #f7f8fb)}.recharge-success{display:grid;place-items:center;gap:8px;padding:44px 20px;color:#1c9873;text-align:center}.recharge-success p{color:var(--theme-muted, var(--muted))}.recharge-success>strong{margin-top:4px;color:var(--theme-heading, #171b24)}.recharge-success>button{min-height:42px;margin-top:8px;padding:0 18px;border:0;border-radius:9px;color:#fff;background:#1c9873;font-weight:900}.late-payment-claim-modal{width:min(540px,100%)}.late-payment-claim-intro{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid color-mix(in srgb,var(--theme-warning, #c88719) 30%,var(--theme-line, var(--line)));border-radius:11px;background:color-mix(in srgb,var(--theme-warning, #c88719) 7%,var(--theme-surface-2, #f7f8fb))}.late-payment-claim-intro>svg{flex:0 0 auto;margin-top:1px;color:var(--theme-warning, #c88719)}.late-payment-claim-intro>span{display:grid;gap:5px}.late-payment-claim-intro b{color:var(--theme-heading, #171b24);font-size:14px}.late-payment-claim-intro small{color:var(--theme-muted, var(--muted));font-size:12px;line-height:1.55}.late-payment-claim-form{display:grid;gap:13px}.late-payment-claim-modal>.recharge-claim-contact{justify-self:center}.late-payment-claim-form label{display:grid;gap:6px;color:var(--theme-heading, #171b24);font-size:12px;font-weight:820}.late-payment-claim-form input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--theme-line, var(--line));border-radius:9px;outline:0;color:var(--theme-text, #202532);background:var(--theme-surface-2, #f7f8fb)}.late-payment-claim-form input:focus{border-color:var(--theme-primary, var(--blue));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary, var(--blue)) 12%,transparent)}.late-payment-transaction-hint,.recharge-claim-transaction-hint,.late-payment-time-hint,.recharge-claim-time-hint{color:var(--theme-primary, var(--blue));font-size:11px;font-weight:680;line-height:1.5}.late-payment-claim-form>button,.late-payment-claim-success>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:9px;color:var(--theme-primary-text, #fff);background:var(--theme-primary, var(--blue));font-weight:880}.late-payment-claim-form>button:disabled{cursor:wait;opacity:.58}.late-payment-claim-success{display:grid;justify-items:center;gap:9px;padding:28px 18px 16px;color:#1c9873;text-align:center}.late-payment-claim-success p,.late-payment-claim-success small{max-width:410px;color:var(--theme-muted, var(--muted));line-height:1.6}.late-payment-claim-success>button{min-width:120px;margin-top:6px;background:#1c9873}@media(max-width:720px){.api-credit-actions{grid-column:1 / -1;grid-template-columns:1fr 1fr}.recharge-products{grid-template-columns:1fr}.recharge-modal{width:100%;max-height:calc(100vh - 24px);padding:16px}.recharge-method-title{align-items:flex-start;flex-direction:column;gap:4px}.recharge-methods{grid-template-columns:1fr}.recharge-reference-alert{grid-template-columns:auto minmax(0,1fr);padding:14px}.recharge-reference-alert>strong{grid-column:1 / -1;width:100%;padding-block:11px}}.agent-stage-dock{position:relative;z-index:12;display:flex;justify-content:flex-end;min-width:0;min-height:42px;margin:0 28px 8px;pointer-events:none}.agent-stage-trigger{position:relative;z-index:2;display:grid;grid-template-columns:22px auto 16px;align-items:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid color-mix(in srgb,var(--theme-line-strong, var(--line-strong)) 88%,transparent);border-radius:999px;color:var(--theme-heading, #171b24);background:color-mix(in srgb,var(--theme-surface, #fff) 96%,transparent);box-shadow:0 12px 32px #12192624;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.agent-stage-trigger:hover{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 36%,var(--theme-line, #e5e8ef));background:color-mix(in srgb,var(--theme-accent, #2f74ff) 7%,var(--theme-surface, #fff))}.agent-stage-trigger:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 55%,transparent);outline-offset:2px}.agent-stage-trigger strong{color:inherit;font-size:14px;font-weight:900;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.agent-stage-trigger>svg{color:var(--theme-muted, #747b89);transition:transform .16s ease}.agent-stage-dock.expanded .agent-stage-trigger>svg{transform:rotate(180deg)}.agent-stage-status{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:var(--theme-accent, #2f74ff)}.agent-stage-status.completed,.agent-stage-status.done{color:#087863}.agent-stage-status.failed{color:#b33b3b}.agent-stage-status.waiting{color:#a06113}.agent-stage-panel{position:absolute;right:0;bottom:calc(100% + 8px);z-index:1;display:grid;gap:10px;width:min(440px,100%);max-width:100%;max-height:min(340px,calc(100vh - 250px));padding:14px 16px;border:1px solid color-mix(in srgb,var(--theme-line-strong, var(--line-strong)) 88%,transparent);border-radius:14px;color:var(--theme-text, #1d2230);background:color-mix(in srgb,var(--theme-surface, #fff) 97%,transparent);box-shadow:0 20px 54px #1219262e;overflow:auto;pointer-events:auto;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.agent-stage-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-bottom:9px;border-bottom:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 78%,transparent)}.agent-stage-panel-head strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:900}.agent-stage-panel-head small{color:var(--theme-muted, #747b89);font-size:11px;font-weight:760;white-space:nowrap;font-variant-numeric:tabular-nums}.agent-stage-steps{display:grid;gap:2px;min-width:0;margin:0;padding:0;list-style:none}.agent-stage-steps li{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:7px 4px;border-radius:8px}.agent-stage-steps li.active{background:color-mix(in srgb,var(--theme-accent, #2f74ff) 7%,transparent)}.agent-stage-steps li:before{content:"";position:absolute;top:29px;bottom:-5px;left:15px;width:1px;background:color-mix(in srgb,var(--theme-line, #e5e8ef) 88%,transparent)}.agent-stage-steps li:last-child:before{content:none}.agent-stage-steps li>span{position:relative;z-index:1;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:var(--theme-muted, #747b89);background:var(--theme-surface, #fff)}.agent-stage-steps li.running>span,.agent-stage-steps li.waiting>span,.agent-stage-steps li.started>span,.agent-stage-steps li.active>span{color:var(--theme-accent, #2f74ff)}.agent-stage-steps li.completed>span,.agent-stage-steps li.done>span{color:#087863}.agent-stage-steps li.failed>span{color:#b33b3b}.agent-stage-steps li div{min-width:0}.agent-stage-steps strong,.agent-stage-steps small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-stage-steps strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:850;line-height:1.35}.agent-stage-steps small{margin-top:2px;color:var(--theme-muted, #747b89);font-size:11.5px;font-weight:650;line-height:1.4}@media(max-width:720px){.agent-stage-dock{justify-content:center;margin-inline:14px}.agent-stage-panel{right:0;left:0;width:100%}}html[data-theme] .agent-message.assistant>.agent-assistant-response,html[data-theme] .agent-message.assistant>.agent-message-body,html[data-theme] .agent-message.assistant>.agent-assistant-response>.agent-message-body{padding:0;border:0;border-radius:0;color:var(--theme-text);background:transparent;box-shadow:none}html[data-theme] .agent-message.assistant .message-rich-text>pre.message-prose-code-block:only-child{margin:0;padding:0;border:0;border-radius:0;color:inherit;background:transparent;box-shadow:none;overflow:visible;font:inherit;white-space:pre-wrap;word-break:break-word}html[data-theme] .agent-message.assistant .message-rich-text>pre.message-prose-code-block:only-child>code{padding:0;color:inherit;background:transparent;font:inherit;white-space:inherit}.agnes-onboarding-backdrop{z-index:180;padding:24px;overflow-y:auto}.agnes-onboarding{display:grid;gap:16px;width:min(900px,100%);max-height:calc(100vh - 48px);padding:24px;overflow-y:auto;border:1px solid var(--theme-line-strong, var(--line-strong, #cbd5e1));border-radius:18px;color:var(--theme-text, #1d2230);background:radial-gradient(circle at 92% 0%,color-mix(in srgb,var(--theme-accent-2, #3268f2) 14%,transparent),transparent 34%),var(--theme-surface, #fff);box-shadow:0 32px 100px #070f224d}.agnes-onboarding-hero{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:15px}.agnes-onboarding-logo{display:grid;place-items:center;width:58px;height:58px;border:1px solid color-mix(in srgb,var(--theme-accent-2, #3268f2) 26%,var(--theme-line, #dce2eb));border-radius:16px;background:color-mix(in srgb,var(--theme-accent-2, #3268f2) 9%,var(--theme-surface-2, #f7f8fb))}.agnes-onboarding-logo .app-logo{width:42px;height:42px}.agnes-onboarding-kicker,.agnes-quota-head,.api-access-mode-head,.api-default-settings-head{display:flex;align-items:center}.agnes-onboarding-kicker{gap:6px;color:var(--theme-accent-2-readable, var(--theme-accent-2, #3268f2));font-size:12px;font-weight:850}.agnes-onboarding h2{margin:5px 0 6px;color:var(--theme-heading, #10131a);font-size:clamp(24px,3vw,32px);line-height:1.15}.agnes-onboarding p{margin:0;color:var(--theme-muted, #596273);line-height:1.6}.agnes-api-key-notice{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--theme-warning, #d59a2d) 34%,var(--theme-line, #dce2eb));border-radius:12px;background:color-mix(in srgb,var(--theme-warning, #d59a2d) 9%,var(--theme-surface-2, #f7f8fb))}.agnes-api-key-notice>span,.public-api-setting-summary>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--theme-warning, #b8780b);background:color-mix(in srgb,var(--theme-warning, #d59a2d) 15%,var(--theme-surface, #fff))}.agnes-api-key-notice p{font-size:13px}.agnes-quota-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agnes-quota-card{display:grid;align-content:start;gap:12px;min-width:0;padding:16px;border:1px solid var(--theme-line, #dce2eb);border-radius:14px;background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 84%,var(--theme-surface, #fff));cursor:pointer;outline:none;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.agnes-quota-card:hover{border-color:color-mix(in srgb,var(--theme-accent-2, #3268f2) 28%,var(--theme-line, #dce2eb));background:color-mix(in srgb,var(--theme-accent-2, #3268f2) 4%,var(--theme-surface-2, #f7f8fb))}.agnes-quota-card.selected{border-color:color-mix(in srgb,var(--theme-accent-2, #3268f2) 48%,var(--theme-line, #dce2eb));box-shadow:inset 0 2px color-mix(in srgb,var(--theme-accent-2, #3268f2) 72%,transparent)}.agnes-quota-card:focus-visible{box-shadow:inset 0 2px color-mix(in srgb,var(--theme-accent-2, #3268f2) 72%,transparent),0 0 0 3px color-mix(in srgb,var(--theme-accent-2, #3268f2) 22%,transparent)}.agnes-quota-head{justify-content:space-between;gap:10px}.agnes-quota-head>span{display:inline-flex;align-items:center;gap:7px;color:var(--theme-heading, #10131a);font-weight:880}.agnes-quota-head em,.api-access-mode-head em{padding:4px 8px;border-radius:999px;color:var(--theme-accent-2-readable, var(--theme-accent-2, #3268f2));background:color-mix(in srgb,var(--theme-accent-2, #3268f2) 12%,var(--theme-surface, #fff));font-size:11px;font-style:normal;font-weight:850}.agnes-quota-card>p{min-height:42px;font-size:13px}.agnes-quota-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agnes-quota-list>span{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid color-mix(in srgb,var(--theme-line, #dce2eb) 82%,transparent);border-radius:10px;background:color-mix(in srgb,var(--theme-surface, #fff) 78%,transparent)}.agnes-quota-list small,.agnes-recharge-note{color:var(--theme-muted, #596273);font-size:11px}.agnes-quota-list b{color:var(--theme-heading, #10131a);font-size:13px;white-space:nowrap}.agnes-recharge-note{line-height:1.45}.agnes-free-service-note{display:flex;align-items:center;gap:7px;min-width:0;padding:0 3px;color:var(--theme-muted, #596273);font-size:12px;line-height:1.5}.agnes-free-service-note svg{flex:0 0 auto;opacity:.76}.agnes-onboarding-message{padding:10px 12px;border:1px solid color-mix(in srgb,var(--theme-danger, #c94747) 35%,var(--theme-line, #dce2eb));border-radius:10px;color:var(--theme-danger, #b33b3b);background:color-mix(in srgb,var(--theme-danger, #c94747) 8%,var(--theme-surface, #fff));font-size:13px}.agnes-onboarding-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}.agnes-onboarding-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid var(--theme-line-strong, #cbd5e1);border-radius:11px;color:var(--theme-text, #1d2230);background:var(--theme-surface-2, #f7f8fb);font-weight:850;cursor:pointer}.agnes-onboarding-actions button.primary{border-color:var(--theme-accent-2, #3268f2);color:#fff;background:var(--theme-accent-2, #3268f2)}.agnes-onboarding-actions button:disabled{cursor:wait;opacity:.72}.api-access-mode-card,.api-default-settings{display:grid;gap:12px}.api-access-mode-head,.api-default-settings-head{justify-content:space-between;gap:12px}.api-access-mode-head>span,.api-default-settings-head>span{display:grid;gap:3px}.api-access-mode-head small,.api-default-settings-head small,.public-api-setting-summary small{color:var(--theme-muted, #596273)}.api-access-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.api-access-mode-options>button{display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:9px;min-width:0;padding:11px 12px;border:1px solid var(--theme-line, #dce2eb);border-radius:10px;color:var(--theme-text, #1d2230);background:var(--theme-surface-2, #f7f8fb);text-align:left;cursor:pointer}.api-access-mode-options>button.active{border-color:color-mix(in srgb,var(--theme-accent-2, #3268f2) 58%,var(--theme-line, #dce2eb));background:color-mix(in srgb,var(--theme-accent-2, #3268f2) 9%,var(--theme-surface, #fff))}.api-access-mode-options>button:disabled{cursor:not-allowed;opacity:.56}.api-access-mode-options>button>span{display:grid;gap:2px;min-width:0}.api-access-mode-options>button small{color:var(--theme-muted, #596273);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-default-settings-head button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid var(--theme-line, #dce2eb);border-radius:9px;color:var(--theme-accent-2-readable, var(--theme-accent-2, #3268f2));background:var(--theme-surface-2, #f7f8fb);cursor:pointer}.public-api-setting-summary{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px}.public-api-setting-summary>span{width:42px;height:42px;color:var(--theme-accent-2-readable, var(--theme-accent-2, #3268f2));background:color-mix(in srgb,var(--theme-accent-2, #3268f2) 11%,var(--theme-surface-2, #f7f8fb))}.public-api-setting-summary p{margin:4px 0;color:var(--theme-text, #1d2230);line-height:1.55}@media(max-width:720px){.agnes-onboarding-backdrop{padding:10px}.agnes-onboarding{max-height:calc(100vh - 20px);padding:17px;border-radius:14px}.agnes-quota-grid,.agnes-onboarding-actions,.api-access-mode-options{grid-template-columns:minmax(0,1fr)}.agnes-quota-card>p{min-height:0}.api-access-mode-head,.api-default-settings-head{align-items:flex-start;flex-direction:column}}.agent-live-trace.agent-run-log{width:min(860px,100%);gap:6px}.agent-work-meta-row{grid-template-columns:24px auto minmax(0,1fr) 18px;min-height:40px;gap:8px;padding:3px 2px;border:0;border-radius:6px;background:transparent;box-shadow:none}.agent-work-meta-row:hover{border-color:transparent;background:color-mix(in srgb,var(--theme-accent, #2f74ff) 4%,transparent)}.agent-work-status-mark{width:24px;height:24px;border-radius:6px;background:transparent}.agent-work-meta-copy strong{font-size:14px;font-weight:820}.agent-work-meta-copy small{margin-top:1px;font-weight:650}.agent-work-current{padding:0;border:0;background:transparent}.agent-work-current em{color:var(--theme-muted, #747b89);font-weight:680}.agent-live-events.agent-run-events{gap:5px;padding:0 0 5px 31px}.agent-process-group-copy strong,.agent-process-section-head strong{font-weight:720}.agent-process-group-copy small,.agent-process-section-head small,.agent-process-group-head em{font-weight:610}.agent-process-group-details{background:transparent}.agent-run-command.plain{max-height:180px;padding:4px 0 2px;color:var(--theme-muted, #747b89);font-size:12.5px;line-height:1.6}.agent-execution-stats{display:flex;align-items:center;gap:7px;min-width:0;padding:6px 3px 2px;color:var(--theme-muted, #747b89);font-size:12px;font-weight:650}.agent-execution-stats svg{flex:0 0 auto;color:#087863}.agent-execution-stats span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-execution-stats em{margin-left:auto;color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:620;white-space:nowrap}.agent-execution-stats.failed,.agent-execution-stats.failed svg{color:#b33b3b}@media(max-width:760px){.agent-work-current{display:none}.agent-work-meta-row{grid-template-columns:24px minmax(0,1fr) 18px}.agent-live-events.agent-run-events{padding-left:12px}}:root{color-scheme:light;--bg: #f4f6f9;--panel: #ffffff;--panel-soft: #f7f8fb;--ink: #151922;--muted: #747c8b;--muted-2: #9aa2af;--line: #e3e7ee;--line-strong: #cfd7e6;--blue: #3268f2;--blue-soft: #edf3ff;--green: #18a27f;--green-deep: #0c7561;--coral: #f26a4f;--amber: #d99a24;--danger: #bd3e35;--shadow-soft: 0 14px 36px rgba(25, 31, 43, .07);--shadow-float: 0 22px 62px rgba(42, 64, 104, .13);--radius-card: 8px}body{background:linear-gradient(180deg,#fffffff5,#f4f6f9f5),#f4f6f9}button,a,.select-chip,.flow-node,.asset-card,.task-card{transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(50,104,242,.18);outline-offset:2px}.xlb-light-app{grid-template-columns:var(--xlb-left-sidebar-width, 272px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);background:linear-gradient(90deg,#f8fafc 0,#f8fafc var(--xlb-left-sidebar-width, 272px),#ffffff var(--xlb-left-sidebar-width, 272px),#ffffff 100%)}.xlb-light-sidebar{gap:8px;min-height:0;height:100%;padding:42px 12px 0;border-right:1px solid #e5e9f1;background:linear-gradient(180deg,#fbfcff,#f6f8fc 54%,#f2f5f9);overflow:hidden;-webkit-app-region:drag}.header-actions .workspace-model-source-select{max-width:230px;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:12px;background:var(--panel-strong, #fff);-webkit-app-region:no-drag}.workspace-model-source-select .select-value{max-width:168px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xlb-light-sidebar:before{content:"";position:absolute;top:0;left:0;right:0;height:34px;-webkit-app-region:drag}.xlb-light-sidebar button,.xlb-light-sidebar input,.xlb-light-sidebar select,.xlb-light-sidebar textarea,.xlb-light-sidebar a,.xlb-light-sidebar label,.xlb-light-header button,.xlb-light-header input,.xlb-light-header select,.xlb-light-header textarea,.xlb-light-header a,.studio-header button,.studio-header input,.studio-header select,.studio-header textarea,.studio-header a,.workflow-topbar button,.workflow-topbar input,.workflow-topbar select,.workflow-topbar textarea,.workflow-topbar a,.juliu-topbar button,.juliu-topbar input,.juliu-topbar select,.juliu-topbar textarea,.juliu-topbar a{-webkit-app-region:no-drag}.sidebar-collapse-button{position:fixed;z-index:1000;top:86px;left:max(0px,calc(var(--xlb-left-sidebar-width, 272px) - 20px));display:inline-grid;place-items:center;width:20px;height:38px;min-height:38px;padding:0;border:1px solid color-mix(in srgb,var(--theme-line, #dfe5ee) 78%,transparent);border-right:0;border-radius:8px 0 0 8px;color:var(--theme-muted, #556070);background:color-mix(in srgb,var(--theme-sidebar, #f6f8fc) 88%,var(--theme-surface, #ffffff));box-shadow:none;opacity:.82;pointer-events:auto;cursor:pointer;touch-action:manipulation;-webkit-app-region:no-drag}body:has(.modal-backdrop) .sidebar-collapse-button{display:none}.sidebar-collapse-button:hover,.sidebar-collapse-button:focus-visible{border-color:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 42%,var(--theme-line, #dfe5ee));color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 8%,var(--theme-sidebar, #f6f8fc));opacity:1}.sidebar-collapse-button.collapsed{top:44px;left:0;width:28px;height:44px;min-height:44px;border-right:1px solid color-mix(in srgb,var(--theme-line, #dfe5ee) 78%,transparent);border-left:0;border-radius:0 8px 8px 0;background:color-mix(in srgb,var(--theme-main, #ffffff) 74%,var(--theme-sidebar, #f6f8fc))}.xlb-light-sidebar>*,.xlb-light-brand,.xlb-light-brand>div,.nav-copy,.sidebar-current,.sidebar-current div,.sidebar-footer,.sidebar-footer-actions,.sidebar-action-copy,.download-links{min-width:0}.xlb-light-brand b,.xlb-light-brand small,.sidebar-current b,.sidebar-current span,.download-links a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-box{min-height:38px;padding:0 10px;border-color:#dfe5ee;border-radius:8px;background:#ffffffd1;box-shadow:0 8px 24px #2d384f0d}.search-box input{font-size:13px}.search-box kbd{padding:3px 6px;border:1px solid #dde3ec;border-radius:6px;background:#f8fafc;font-size:12px}.xlb-light-brand{min-height:46px;padding:2px 4px;gap:9px}.xlb-light-brand>div{display:grid;gap:2px;min-width:0}.xlb-light-brand b{line-height:1.1}.xlb-light-brand small{overflow:hidden;color:#828b9a;font-size:12px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.brand-avatar,.user-photo{width:38px;height:38px;border:1px solid rgba(50,104,242,.12);border-radius:8px;background:linear-gradient(135deg,#3268f21f,#18a27f1f),linear-gradient(135deg,#fff,#fff1ec);box-shadow:0 10px 24px #25304514}.brand-logo-image{flex-basis:38px;width:38px;height:38px}.xlb-light-nav{gap:4px;padding:0 0 4px}.xlb-light-nav button,.history-list button,.user-entry{min-height:42px;padding:6px 8px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:760}.xlb-light-nav button{color:#485160}.xlb-light-nav button:hover,.history-list button:hover{border-color:#e4e9f2;background:#ffffffb8}.xlb-light-nav button.active{border-color:#3268f229;color:#16213a;background:linear-gradient(135deg,#3268f217,#18a27f0f),#fff;box-shadow:var(--shadow-soft)}.nav-icon{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:8px;background:#f0f3f8;color:#3d4655}.xlb-light-nav button.active .nav-icon{color:#fff;background:#151922}.nav-copy{display:grid;gap:2px;min-width:0}.nav-copy small{color:#99a2b1;font-size:10px;font-weight:700}.history-list{flex:1 1 auto;gap:5px;min-height:96px;margin:0 -4px;padding:2px 4px 8px}.history-list h3{display:flex;align-items:center;justify-content:space-between;margin:6px 8px 5px;color:#9aa3b2;font-size:12px}.history-list h3 span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;color:#697386;background:#eef2f7;font-size:11px}.history-list button{min-height:34px;color:#505968;font-weight:640}.sidebar-footer{flex:0 0 auto;gap:8px;margin:0 -12px;padding:9px 12px 12px;border-top-color:#e5e9f1;background:#f8fafcf0}.sidebar-current{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:7px;border:1px solid #e4e9f2;border-radius:8px;background:#fff}.sidebar-current svg{padding:5px;box-sizing:content-box;border-radius:8px;color:#3268f2;background:#edf3ff}.sidebar-current div{display:grid;gap:2px;min-width:0}.sidebar-current b{color:#1b2230;font-size:12px}.sidebar-current span{overflow:hidden;color:#8a94a5;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.status-pill{min-height:30px;border-color:#e5dfd1;color:#806c42;background:#fffaf0;font-size:12px}.status-pill.ready{color:#0c7561;background:#edf8f4}.download-links a{border-color:#e4e9f2;background:#fff}.user-entry{justify-content:flex-start;min-height:38px;padding:6px 7px;border:1px solid #e4e9f2;background:#fff}.user-entry>svg{flex:0 0 auto;color:#485160}.sidebar-action-copy{display:grid;gap:1px;min-width:0}.sidebar-action-copy b,.sidebar-action-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-action-copy b{color:#1b2230;font-size:12px;line-height:1.1}.sidebar-action-copy small{color:#8a94a5;font-size:10px;line-height:1.1}.xlb-light-main{grid-template-rows:78px minmax(0,1fr) auto;height:100%;max-height:100%;background:linear-gradient(180deg,#fff,#fbfcff 46%,#f7f9fc)}.xlb-light-header{grid-template-columns:48px minmax(0,1fr) auto;gap:14px;min-height:78px;padding:0 28px;border-bottom-color:#edf0f5;background:#ffffffd6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.header-copy{display:grid;justify-items:start;min-width:0}.header-eyebrow,.welcome-kicker{display:inline-flex;align-items:center;gap:7px;color:#687386;font-size:12px;font-weight:820;letter-spacing:0}.header-eyebrow svg,.welcome-kicker svg{color:#3268f2}.xlb-light-header h1,.xlb-light-header p{text-align:left}.xlb-light-header h1{margin-top:2px;color:#141922;font-size:20px}.xlb-light-header p{color:#8992a1}.header-actions{align-items:center}.header-actions .status-pill{min-width:78px}.icon-button{border-color:#e4e9f2;border-radius:8px;background:#fff}.plain-icon{border:1px solid transparent;background:transparent}.plain-icon:hover{border-color:#e4e9f2;background:#f7f9fc}.share-content-control{position:relative;display:inline-flex;flex:0 0 auto;-webkit-app-region:no-drag}.share-content-button:disabled{cursor:wait;opacity:.72}.share-content-control.is-success .share-content-button{border-color:color-mix(in srgb,#24a47a 36%,transparent);color:#168461;background:color-mix(in srgb,#45c79d 11%,transparent)}.share-content-feedback{position:absolute;z-index:80;top:calc(100% + 10px);right:0;width:max-content;max-width:min(320px,calc(100vw - 24px));min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--panel-strong);box-shadow:0 14px 34px #10182829;font-size:12px;font-weight:760;white-space:normal;pointer-events:none;-webkit-app-region:no-drag}.share-content-control.is-success .share-content-feedback{border-color:color-mix(in srgb,#24a47a 34%,var(--line));color:#168461}.share-content-control.is-error .share-content-feedback{border-color:color-mix(in srgb,#d95454 34%,var(--line));color:#b33c3c}.chat-scroll{padding:24px 28px 158px}.chat-scroll.has-messages{padding-top:16px}.xlb-light-welcome{position:relative;justify-items:start;align-content:center;width:min(920px,100%);text-align:left}.xlb-light-welcome h2{max-width:760px;margin:12px 0 24px;color:#111722;font-size:42px;line-height:1.12;font-weight:900;letter-spacing:0}.suggestion-cloud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:10px;width:min(780px,100%);max-width:none}.suggestion-cloud button{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:11px;min-height:84px;max-width:none;padding:14px;border:1px solid #e5eaf2;border-radius:8px;color:#242b39;background:#ffffffdb;box-shadow:0 10px 28px #1e283c0e;text-align:left;white-space:normal}.suggestion-cloud button:hover,.quick-start-grid button:hover,.video-prompt-row.light button:hover,.asset-actions button:hover,.asset-actions a:hover,.task-actions a:hover{border-color:#3268f238;box-shadow:0 14px 34px #2a40681a;transform:translateY(-1px)}.suggestion-cloud button>svg{display:block;width:38px;height:38px;padding:10px;border-radius:8px;color:#3268f2;background:#edf3ff}.suggestion-cloud button span{display:grid;gap:4px;min-width:0}.suggestion-cloud b{color:#151922;font-size:15px}.suggestion-cloud small{color:#7a8494;font-size:12px;line-height:1.45}.quiet-command-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.quiet-command-row button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid #e5eaf2;border-radius:8px;color:#596274;background:#fff;font-size:13px;font-weight:760}.message-list{gap:28px;max-width:1040px}.avatar{border-radius:8px;background:#151922}.message.user .avatar{border-color:#e4e9f2}.bubble{border:1px solid #edf0f5;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1e283c0e}.message.user .bubble{width:fit-content;max-width:min(680px,100%);padding:11px 15px;border-color:#3268f22e;border-radius:12px;color:#172033;background:#eef4ff;box-shadow:none}.message.assistant .bubble{padding-top:2px}.message.assistant .avatar{color:#fff;background:linear-gradient(135deg,#3268f2,#18a27f)}.chat-dock,.image-dock{width:min(1040px,calc(100% - 76px));margin-bottom:18px}.xlb-light-composer{--composer-textarea-min-height: 82px;--composer-textarea-padding: 20px 24px 8px;--composer-textarea-font-size: 17px;border-color:#3268f247;border-radius:16px;box-shadow:var(--shadow-float)}.composer-bar{padding:10px 12px 12px 18px}.composer-chip,.active-tool,.select-chip{min-height:34px;border-radius:8px;font-size:14px}.composer-chip:hover,.select-chip:hover,.tool-round:hover{background:#f4f7fb}.active-tool,.think-toggle.active,.segmented button.active{color:#1c58df;background:#edf3ff}.tool-round,.send-button{width:44px;height:44px}.send-button{background:#141922}.send-button.stop-mode,.send-button[data-stop-mode=true]{color:#fff;background:#2d3036;box-shadow:inset 0 0 0 1px #ffffff08}.send-stop-mark{position:relative;display:block;width:27px;height:27px;border:3px solid rgba(255,255,255,.92);border-radius:50%}.send-stop-mark:after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:3px;background:#fffffff0;transform:translate(-50%,-50%)}.send-button.queue-mode{color:#10251f;background:#7ee0c3}.send-button:not(:disabled):hover{background:#3268f2;transform:translateY(-1px)}.send-button.stop-mode:not(:disabled):hover,.send-button[data-stop-mode=true]:not(:disabled):hover{background:#363a42}.advanced-toggle{margin-left:4px;font-size:13px}.chat-toast{position:absolute;right:12px;bottom:calc(100% + 10px);z-index:8;max-width:min(360px,100%);min-height:30px;padding:7px 11px;border:1px solid #dbe6ff;border-radius:999px;color:#1f5fe6;background:#f1f6ff;font-size:12px;font-weight:780;box-shadow:0 10px 24px #1e40a014;pointer-events:none}.advanced-panel,.settings-modal,.workflow-inspector,.asset-card,.video-stage-panel,.video-settings-panel,.tasks-column,.task-card,.node-config-card,.selected-node,.parallel-node-actions,.template-note,.workflow-output-actions,.node-output-panel,.empty-log,.log-item{border-radius:var(--radius-card)}.advanced-panel{border-color:#e4e9f2}.image-canvas{padding:26px 28px 24px;background:linear-gradient(180deg,#fff,#fbfcff 52%,#f5f8fc)}.image-empty-panel{grid-template-columns:minmax(0,1fr) 300px;gap:56px;width:min(980px,100%)}.image-empty-panel>div:first-child>.welcome-kicker{margin-bottom:12px}.image-empty-panel h2{max-width:620px;margin:0 0 22px;color:#111722;font-size:42px;line-height:1.1;font-weight:900;letter-spacing:0}.quick-start-grid{gap:10px}.quick-start-grid button{min-height:58px;border-color:#e5eaf2;border-radius:8px;background:#ffffffe0;box-shadow:0 10px 28px #1e283c0e;font-weight:700}.image-inspiration-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;height:352px;padding:12px;border:1px solid #dfe7f3;border-radius:8px;background:linear-gradient(160deg,#ffffffeb,#eff5ffd1),#fff;box-shadow:0 22px 52px #2a40681f}.image-inspiration-panel span{display:block;margin:0}.inspiration-toolbar{display:flex;gap:7px}.inspiration-toolbar span{width:30px;height:7px;border-radius:999px;background:#dfe6f1}.inspiration-toolbar span:nth-child(2){background:#cfe1ff}.inspiration-toolbar span:nth-child(3){background:#d8efe8}.inspiration-frame{display:grid;place-items:center;align-content:center;gap:10px;min-height:0;border:1px solid rgba(50,104,242,.12);border-radius:8px;color:#67809e;background:linear-gradient(135deg,#3268f214,#f26a4f0f),#fbfdff}.inspiration-frame b{color:#222b3a;font-size:34px}.inspiration-swatches{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.inspiration-swatches span{height:42px;border-radius:8px;background:#edf3ff}.inspiration-swatches span:nth-child(2){background:#eff8f4}.inspiration-swatches span:nth-child(3){background:#fff1ec}.gallery{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.asset-card{border-color:#e5eaf2;border-radius:8px;box-shadow:0 12px 28px #1e283c0f}.image-card>div:last-child{padding:12px}.video-studio{grid-template-columns:minmax(520px,1fr) minmax(320px,var(--xlb-right-panel-width, 360px));gap:16px;width:min(var(--video-workspace-max-width),calc(100% - var(--video-workspace-inline-gap) - var(--video-workspace-inline-gap)));margin-inline:auto;padding:20px 28px 12px;padding-inline:0}.video-stage-panel,.video-settings-panel{border-color:#e5eaf2;border-radius:8px;background:#ffffffeb;box-shadow:var(--shadow-soft)}.video-stage-panel{gap:14px;padding:16px}.video-stage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.video-stage-head h2{margin:6px 0 0;color:#141922;font-size:24px;line-height:1.2}.video-stage-metrics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.video-stage-metrics span,.section-count{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid #e3e9f2;border-radius:999px;color:#687386;background:#f8fafc;font-size:12px;font-weight:760}.video-toolbar{flex:0 0 auto;justify-content:flex-start;min-height:52px;padding:7px;border:1px solid #e8edf4;border-radius:8px;background:#f8fafc;overflow-x:auto}.video-toolbar label,.video-toolbar button{min-height:36px;border-color:#e2e8f1;border-radius:8px;background:#fff}.video-toolbar label{min-width:240px}.video-preview-card{width:min(680px,100%);border:1px solid rgba(255,255,255,.08);border-radius:8px;background:linear-gradient(145deg,#1c2332fa,#0c1018fa),#111722;box-shadow:0 18px 44px #11172229}.video-preview-empty b{font-size:24px}.video-prompt-row.light{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:4px}.video-prompt-row.light button{min-height:54px;font-size:13px;border-color:#e5eaf2;border-radius:8px;background:#fff}.video-history-block{gap:9px}.section-title.compact{align-items:center}.video-task-card{border-color:#e5eaf2;border-radius:8px;background:#fff}.video-task-card.tone-running,.video-task-card.tone-queued,.video-task-card.tone-waiting{border-color:#3268f23d;background:linear-gradient(135deg,#3268f20f,#18a27f0d),#fff}.video-task-card.tone-waiting{border-color:#d99a2457;background:linear-gradient(135deg,#d99a2417,#3268f20a),#fff}.task-thumb{border-radius:8px;background:#edf1f7}.video-brief-card.light,.video-ratio-grid,.video-quality-grid button,.video-resolution-readout,.advanced-details.light,.upload-drop,.reference-thumb{border-radius:8px}.video-brief-card.light{border-color:#dfe9ff;background:linear-gradient(135deg,#3268f214,#18a27f0f),#fff}.video-dock-unified{width:min(var(--video-workspace-max-width),calc(100% - var(--video-workspace-inline-gap) - var(--video-workspace-inline-gap)));margin-bottom:16px}.video-composer{--composer-textarea-min-height: 62px}.video-dock-summary{color:#687386}.video-stage-panel{--creation-record-left: max(28px, calc((100% - 820px)/2 - 44px) );--video-record-column: min(860px, calc(100% - var(--creation-record-left) - 28px));gap:16px;padding:18px;background:color-mix(in srgb,var(--theme-surface, #ffffff) 88%,transparent)}.video-feed-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:var(--video-record-column);margin:0 auto 0 var(--creation-record-left)}.video-feed-head h2{margin:6px 0 0;color:var(--theme-heading, #141922);font-size:26px;line-height:1.16}.video-feed-head p{margin:7px 0 0;color:var(--theme-muted, #687386);font-size:13px;font-weight:740;line-height:1.45}.video-feed-controls{position:sticky;top:8px;z-index:3;display:grid;grid-template-columns:minmax(180px,1fr) 118px 118px auto;gap:6px;align-items:center;width:min(760px,var(--video-record-column));margin:0 auto 2px var(--creation-record-left);padding:5px;border:1px solid var(--theme-line, #e5eaf2);border-radius:10px;background:color-mix(in srgb,var(--theme-surface, #ffffff) 80%,transparent);box-shadow:0 10px 26px #171f2e0d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.video-feed-controls label,.video-feed-controls button,.video-feed-controls select{display:inline-flex;align-items:center;gap:8px;min-width:0;min-height:32px;height:32px;border:1px solid var(--theme-line, #e2e8f1);border-radius:8px;color:var(--theme-text, #202633);background:color-mix(in srgb,var(--theme-surface-2, #f8fafc) 70%,transparent);font-size:12px;font-weight:780}.video-feed-controls label{padding:0 10px}.video-feed-controls input{width:100%;height:auto;padding:0;border:0;background:transparent;box-shadow:none}.video-feed-controls select{min-height:32px;height:32px;padding:0 8px}.video-feed-controls button{justify-content:center;padding:0 10px;white-space:nowrap}.video-record-feed{display:grid;gap:30px;justify-items:start;width:var(--video-record-column);margin:0 auto 0 var(--creation-record-left);padding-bottom:8px;overflow-anchor:none}.video-record-history-more{display:flex;justify-content:center;width:var(--video-record-column);margin:0 auto 12px var(--creation-record-left)}.video-record-history-more button{min-height:32px;padding:0 14px;border:1px solid var(--theme-line, #e5eaf2);border-radius:8px;color:var(--theme-muted, #687386);background:var(--theme-surface-2, #f8fafc);font-size:12px;font-weight:780;cursor:pointer}.video-record-history-more button:hover,.video-record-history-more button:focus-visible{color:var(--theme-text, #202633);border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 38%,var(--theme-line, #e5eaf2))}.video-record-day{display:grid;gap:14px;min-width:0}.video-record-day h3{margin:0;color:var(--theme-heading, #141922);font-size:22px;line-height:1.2}.video-record-list{display:grid;gap:22px;justify-items:start;min-width:0}.video-record-card{display:grid;gap:10px;width:min(820px,100%);min-width:0;padding:0;border-radius:8px;color:var(--theme-text, #202633);scroll-margin-block:92px;overflow-anchor:none;content-visibility:auto;contain-intrinsic-size:520px;contain:layout paint style;transition:box-shadow .18s ease,outline-color .18s ease}.video-record-card.is-generating{content-visibility:visible;contain-intrinsic-size:auto}.video-mode-page .video-record-card.located{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,#ffffff);outline-offset:8px;box-shadow:0 0 0 8px color-mix(in srgb,var(--theme-accent, #3268f2) 12%,transparent)}.video-record-head,.video-record-foot{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%;max-width:min(820px,100%);min-width:0}.video-record-titleline{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;flex:1;width:100%;min-width:0}.video-record-titleline .video-record-copy:only-child{grid-column:1 / -1}.video-record-titleline p{display:-webkit-box;margin:0 0 5px;overflow:hidden;color:var(--theme-heading, #141922);font-size:15px;font-weight:830;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.video-record-prompt-wrap{min-width:0}.video-record-prompt-inline{color:var(--theme-heading, #141922);font-size:15px;font-weight:830;line-height:1.45;overflow-wrap:anywhere}.video-record-prompt-inline.expanded{white-space:pre-wrap}.video-prompt-expand{display:inline-flex;align-items:center;gap:4px;min-height:20px;margin:0 0 0 6px;padding:0;border:0;color:var(--theme-accent, #3268f2);background:transparent;vertical-align:baseline;font-size:11px;font-weight:800}.video-prompt-expand:hover,.video-prompt-expand:focus-visible{color:var(--theme-heading, #141922)}.video-prompt-expand svg{transition:transform .18s ease}.video-prompt-expand svg.rotated{transform:rotate(180deg)}.video-record-titleline span,.video-record-status span{color:var(--theme-muted, #687386);font-size:12px;font-weight:760}.video-record-refs{position:relative;display:block;width:70px;height:58px;min-width:0;margin-top:2px}.video-record-refs img,.video-record-refs span{position:absolute;left:0;top:5px;width:46px;height:46px;margin:0;border:2px solid var(--theme-surface, #ffffff);border-radius:6px;background:var(--theme-surface-3, #eef2f7);object-fit:cover;box-shadow:0 10px 24px #0f172a29}.video-record-refs img:nth-child(1){z-index:3;transform:rotate(-6deg)}.video-record-refs img:nth-child(2){left:18px;top:10px;z-index:2;opacity:.92;transform:rotate(4deg)}.video-record-refs img:nth-child(3){left:31px;top:15px;z-index:1;opacity:.84;transform:rotate(8deg)}.video-record-refs span{display:grid;place-items:center;left:34px;top:31px;z-index:4;width:26px;height:20px;border-radius:999px;color:var(--theme-muted, #687386);font-size:11px;font-weight:850}.video-record-copy{width:100%;min-width:0;padding-top:1px}.video-record-detail-anchor{position:relative;flex:0 0 auto}.video-record-info{flex:0 0 auto;min-height:28px;padding:0 9px;border:1px solid var(--theme-line, #e3e7ee);border-radius:8px;color:var(--theme-muted, #687386);background:var(--theme-surface-2, #f8fafc);font-size:12px;font-weight:780}.video-record-info.active{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 42%,var(--theme-line, #e3e7ee));color:var(--theme-heading, #141922);background:color-mix(in srgb,var(--theme-accent-soft, #eaf1ff) 76%,var(--theme-surface, #ffffff))}.video-record-detail-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:9;display:grid;gap:13px;width:min(360px,calc(100vw - 40px));padding:18px 18px 16px;border:1px solid var(--theme-line, #2c3442);border-radius:8px;color:var(--theme-text, #202633);background:color-mix(in srgb,var(--theme-surface, #ffffff) 96%,#000 4%);box-shadow:0 28px 70px #0000003d}.video-record-detail-popover div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start}.video-record-detail-popover span{color:var(--theme-muted, #687386);font-size:13px;font-weight:780}.video-record-detail-popover b{min-width:0;color:var(--theme-heading, #141922);font-size:14px;font-weight:820;line-height:1.5;text-align:right;word-break:break-word}.video-record-id-detail{min-width:0}.video-record-id-detail summary{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;cursor:pointer;list-style:none}.video-record-id-detail summary::-webkit-details-marker{display:none}.video-record-id-detail summary span,.video-record-id-detail .video-record-id-full span{color:var(--theme-muted, #687386);font-size:13px;font-weight:780}.video-record-id-detail summary b{min-width:0;overflow:hidden;color:var(--theme-heading, #141922);font-size:13px;font-weight:820;line-height:1.35;text-align:right;text-overflow:ellipsis;white-space:nowrap}.video-record-id-detail summary em{color:var(--theme-accent, #3268f2);font-size:12px;font-style:normal;font-weight:820}.video-record-id-detail[open] summary em{color:var(--theme-muted, #687386)}.video-record-id-detail[open] summary em:before{content:"收起"}.video-record-id-detail[open] summary em{font-size:0}.video-record-id-detail[open] summary em:before{font-size:12px}.video-record-id-full{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start;min-width:0;margin-top:10px}.video-record-id-full b{min-width:0;color:var(--theme-heading, #141922);font-size:13px;font-weight:820;line-height:1.45;text-align:right;word-break:break-all}.video-record-media{position:relative;display:grid;place-items:center;width:min(var(--video-record-width, 420px),100%);max-width:420px;height:auto;max-height:var(--video-record-height, 320px);aspect-ratio:var(--video-record-aspect, 16 / 9);border:1px solid var(--theme-line, #202633);border-radius:8px;background:#08090d;box-shadow:0 16px 42px #0000002e;z-index:0}.video-record-card.is-generating .video-record-media{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 42%,var(--theme-line, #202633))}.video-record-media video{width:100%;height:100%;background:#020306;object-fit:contain;border-radius:var(--border-radius, 8px);overflow:hidden}.video-record-player-shell{position:relative;width:100%;height:100%}.video-record-player{position:relative;z-index:1;cursor:pointer}.video-record-expand-overlay{position:absolute;top:10px;right:10px;z-index:3;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(255,255,255,.38);border-radius:8px;color:#fff;background:#0a0e16a8;box-shadow:0 12px 28px #00000047;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;opacity:.92;transition:opacity .16s ease,transform .16s ease,background .16s ease,border-color .16s ease}.video-record-expand-overlay:hover,.video-record-expand-overlay:focus-visible,.video-record-player-shell:hover .video-record-expand-overlay,.video-record-player-shell:focus-within .video-record-expand-overlay{border-color:#ffffffb8;background:#101622d6;opacity:1;transform:translateY(-1px)}.video-record-expand-overlay:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,white);outline-offset:2px}.video-record-controls{position:absolute;right:8px;bottom:7px;left:8px;z-index:4;display:grid;grid-template-columns:24px auto minmax(36px,1fr) 24px;align-items:center;gap:6px;min-width:0;min-height:26px;padding:2px 5px;border:1px solid rgba(255,255,255,.16);border-radius:7px;color:#fff;background:linear-gradient(180deg,#0a0e1657,#05080d8a);box-shadow:0 8px 18px #0000002e;opacity:.78;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:opacity .16s ease,background .16s ease,border-color .16s ease}.video-record-controls:hover,.video-record-controls:focus-within{border-color:#ffffff4d;background:linear-gradient(180deg,#0a0e167a,#05080dad);opacity:1}.video-record-control-button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:6px;color:#fff;background:transparent;cursor:pointer}.video-record-control-button:hover,.video-record-control-button:focus-visible{background:#ffffff2e}.video-record-control-button:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,white);outline-offset:2px}.video-record-time{min-width:52px;color:#ffffffeb;font-size:10px;font-variant-numeric:tabular-nums;font-weight:820;line-height:1;white-space:nowrap}.video-record-progress{width:100%;height:14px;min-width:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;accent-color:#ffffff;background:transparent;cursor:pointer}.video-record-progress:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,white);outline-offset:4px}.video-record-progress::-webkit-slider-runnable-track{height:3px;border-radius:999px;background:#ffffff57}.video-record-progress::-webkit-slider-thumb{width:10px;height:10px;margin-top:-3.5px;border:0;border-radius:999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;box-shadow:0 1px 5px #00000047}.video-record-progress::-moz-range-track{height:3px;border:0;border-radius:999px;background:#ffffff57}.video-record-progress::-moz-range-thumb{width:10px;height:10px;border:0;border-radius:999px;background:#fff;box-shadow:0 1px 5px #00000047}@media(max-width:560px){.video-record-controls{grid-template-columns:24px minmax(36px,1fr) 24px}.video-record-time{display:none}}.video-record-poster{display:block;width:100%;height:100%;border-radius:var(--border-radius, 8px);object-fit:cover}.video-record-native-poster{position:relative;z-index:1;pointer-events:none;opacity:0;transition:opacity .18s ease}.video-record-native-poster.ready{opacity:1}@media(prefers-reduced-motion:reduce){.video-record-native-poster{transition:none}}.video-record-play-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;width:100%;height:100%;border:0;border-radius:var(--border-radius, 8px);color:#fff;background:radial-gradient(circle at 50% 48%,#0000002e,#0000006b 62%,#00000085),transparent;cursor:pointer;z-index:2}.video-record-play-overlay svg{box-sizing:content-box;padding:15px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:#0a0e16b3;box-shadow:0 14px 36px #00000052;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .16s ease,background .16s ease,border-color .16s ease}.video-record-play-overlay:hover svg,.video-record-play-overlay:focus-visible svg{border-color:#ffffffb8;background:#101622d6;transform:scale(1.04)}.video-record-play-overlay:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,white);outline-offset:-4px}.video-record-fallback{display:grid;justify-items:center;gap:9px;max-width:76%;color:#ffffffb8;text-align:center}.video-record-fallback b{color:#fff;font-size:18px}.video-record-fallback span{color:#ffffff9e;font-size:13px;line-height:1.45}.video-record-fallback.error,.video-record-fallback.error b{color:#ffb4b4}.video-record-fallback.canceled,.video-record-fallback.canceled b{color:#ffd1c7}.video-record-foot{align-items:center;width:100%;max-width:min(820px,100%)}.video-record-foot.completed{width:min(var(--video-record-width, 420px),100%);max-width:420px;justify-content:flex-start}.video-record-status{display:grid;gap:7px;min-width:0;flex:1}.video-record-status .task-mini-progress{max-width:320px;margin:0}.video-record-card.is-generating .task-mini-progress i{transition:none}.video-record-actions{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.video-record-foot.completed .video-record-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));width:100%}.video-record-actions button,.video-record-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:32px;padding:0 10px;border:1px solid var(--theme-line, #e3e7ee);border-radius:8px;color:var(--theme-text, #202633);background:var(--theme-surface-2, #f8fafc);font-size:12px;font-weight:800;white-space:nowrap}.video-record-actions button:disabled{opacity:.48}.video-record-actions a{color:var(--theme-accent, #3268f2)}.video-record-actions .primary-action{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 40%,var(--theme-line, #e3e7ee));color:#fff;background:var(--theme-accent, #3268f2)}.video-record-actions .primary-action:hover,.video-record-actions .primary-action:focus-visible{color:#fff;background:color-mix(in srgb,var(--theme-accent, #3268f2) 88%,#101828)}.video-record-actions .action-feedback.done{color:var(--theme-accent-readable, var(--theme-accent, #3268f2));border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 36%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-accent, #3268f2) 11%,var(--theme-surface, #ffffff))}.video-record-actions .action-feedback.error{color:var(--theme-danger, #c44236);border-color:color-mix(in srgb,var(--theme-danger, #c44236) 34%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-danger, #c44236) 10%,var(--theme-surface, #ffffff))}.video-record-actions .video-stop-action{color:var(--theme-danger, #c44236);border-color:color-mix(in srgb,var(--theme-danger, #c44236) 32%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-danger, #c44236) 8%,var(--theme-surface, #ffffff))}.video-record-actions .video-stop-action:hover,.video-record-actions .video-stop-action:focus-visible{color:#fff;background:var(--theme-danger, #c44236)}.video-mode-page .video-record-actions{gap:5px}.video-mode-page .video-record-foot.completed .video-record-actions{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}.video-mode-page .video-record-actions button,.video-mode-page .video-record-actions a{gap:5px;min-height:28px;padding:0 8px;border-color:var(--theme-line, #e3e7ee);color:var(--theme-text, #202633);background:var(--theme-surface-2, #f8fafc);font-size:11px;font-weight:760}.video-mode-page .video-record-actions button svg,.video-mode-page .video-record-actions a svg{width:13px;height:13px}.video-mode-page .video-record-actions .primary-action{border-color:var(--theme-line, #e3e7ee);color:var(--theme-text, #202633);background:var(--theme-surface-2, #f8fafc)}.video-mode-page .video-record-actions button:hover,.video-mode-page .video-record-actions a:hover,.video-mode-page .video-record-actions .primary-action:hover,.video-mode-page .video-record-actions .primary-action:focus-visible{color:var(--theme-heading, #141922);background:color-mix(in srgb,var(--theme-accent, #3268f2) 8%,var(--theme-surface, #ffffff))}.video-mode-page .video-record-actions .video-stop-action{color:var(--theme-danger, #c44236);border-color:color-mix(in srgb,var(--theme-danger, #c44236) 32%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-danger, #c44236) 8%,var(--theme-surface, #ffffff))}.video-mode-page .video-record-actions .video-stop-action:hover,.video-mode-page .video-record-actions .video-stop-action:focus-visible{color:#fff;background:var(--theme-danger, #c44236)}.video-record-empty{display:grid;justify-items:center;gap:10px;width:min(560px,100%);margin:36px auto 0;padding:42px 22px;border:1px dashed var(--theme-line, #e5eaf2);border-radius:12px;color:var(--theme-muted, #687386);background:transparent;text-align:center}.video-record-empty b{color:var(--theme-text, #3d4451);font-size:18px;font-weight:600;opacity:.85}.video-record-empty .video-prompt-row.light{width:100%;margin-top:12px;opacity:.75;transition:opacity .2s ease}.video-record-empty .video-prompt-row.light:hover{opacity:1}.workflow-page{grid-template-columns:minmax(520px,1fr) minmax(320px,var(--xlb-right-panel-width, 340px));gap:16px;padding:18px 28px 20px}.workflow-canvas{grid-template-rows:auto minmax(360px,1fr)}.workflow-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"project run" "nodes meter";gap:10px;min-height:0;padding:10px;border-color:#e5eaf2;border-radius:8px}.workflow-project-pill{grid-area:project;width:100%;border-radius:8px}.workflow-node-actions{grid-area:nodes;overflow-x:auto;padding-bottom:1px}.workflow-node-actions button{border-radius:8px}.workflow-run-meter{grid-area:meter;align-self:center;min-width:160px;margin-left:0}.workflow-topbar .primary.large{grid-area:run;align-self:stretch}.node-surface{border-color:#e5eaf2;border-radius:8px;box-shadow:var(--shadow-soft)}.workflow-canvas-title,.flow-node,.node-icon{border-radius:8px}.flow-node:hover{transform:translate(var(--node-x, 0),var(--node-y, 0));box-shadow:0 16px 36px #1e283c1f}.workflow-inspector{border-color:#e5eaf2;background:#fffffff0}.node-mode-tabs,.node-mode-tabs button,.node-config-run,.delete-node-button,.workflow-inspector-head button,.workflow-output-actions button,.parallel-node-actions button,.node-output-head button,.node-output-toggle,.workflow-view-controls,.workflow-view-controls button,.section-title button{border-radius:8px}.tasks-page{gap:16px;padding:20px 28px}.tasks-mode-page .xlb-light-main{background:var(--theme-bg, #0b0d12)}.asset-library-page{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:14px;min-height:0;padding:18px 34px 34px;color:var(--theme-text, #e8ebf2);background:radial-gradient(circle at 20% 0%,color-mix(in srgb,var(--theme-accent, #3268f2) 8%,transparent),transparent 28%),var(--theme-bg, #0b0d12);overflow-y:auto;scrollbar-gutter:stable}.asset-library-top{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}.asset-primary-tabs,.asset-type-tabs,.asset-library-tools{display:inline-flex;align-items:center;gap:8px;min-width:0}.asset-primary-tabs button,.asset-type-tabs button,.asset-library-tools button,.asset-filter-actions select,.asset-search{display:inline-flex;align-items:center;gap:8px;min-height:36px;border:1px solid color-mix(in srgb,var(--theme-line, #252b36) 82%,transparent);border-radius:8px;color:var(--theme-muted, #9aa3b2);background:color-mix(in srgb,var(--theme-surface, #151922) 88%,transparent);font-size:13px;font-weight:780}.asset-primary-tabs button,.asset-type-tabs button,.asset-library-tools button{padding:0 14px;white-space:nowrap}.asset-library-tools button.danger-action{border-color:color-mix(in srgb,var(--theme-danger, #c44236) 42%,var(--theme-line, #252b36));color:#fff;background:color-mix(in srgb,var(--theme-danger, #c44236) 82%,#111 18%)}.asset-primary-tabs button.active,.asset-type-tabs button.active{color:var(--theme-heading, #f5f7fb);background:color-mix(in srgb,var(--theme-surface-3, #252b36) 76%,var(--theme-accent, #3268f2) 10%)}.asset-type-tabs button span{color:var(--theme-muted-2, #747d8d);font-size:12px}.asset-library-tools{justify-content:flex-end;flex:1;flex-wrap:wrap}.asset-library-tools button:disabled{opacity:.42}.asset-selection-status{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 42%,var(--theme-line, #252b36));border-radius:8px;color:var(--theme-heading, #f5f7fb);background:color-mix(in srgb,var(--theme-accent, #3268f2) 20%,var(--theme-surface, #151922) 80%);font-size:13px;font-weight:820;white-space:nowrap}.asset-search{width:min(270px,42vw);padding:0 11px}.asset-search input{height:auto;padding:0;border:0;color:var(--theme-text, #e8ebf2);background:transparent;box-shadow:none}.asset-filter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.asset-type-tabs{flex-wrap:wrap}.asset-filter-actions{flex:0 0 auto}.asset-filter-actions select{width:auto;min-width:150px;padding:0 12px}.asset-filter-actions .xlb-unified-select{width:auto;min-width:150px}.asset-filter-actions .xlb-select-trigger{min-height:36px;border-color:color-mix(in srgb,var(--theme-line, #252b36) 82%,transparent);color:var(--theme-muted, #9aa3b2);background:color-mix(in srgb,var(--theme-surface, #151922) 88%,transparent);font-size:13px;font-weight:780}.asset-history{display:grid;align-content:start;gap:30px;min-width:0;padding-bottom:40px}.asset-day-group{display:grid;align-content:start;gap:12px;min-width:0}.asset-day-group h2{margin:0;color:var(--theme-heading, #f5f7fb);font-size:28px;line-height:1.1;font-weight:880;letter-spacing:0}.asset-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(164px,164px));gap:2px;align-items:start;grid-auto-rows:auto;min-width:0}.asset-history-card{position:relative;display:flex;flex-direction:column;gap:8px;width:164px;padding:0;color:var(--theme-text, #e8ebf2);background:transparent;text-align:left}.asset-history-card:hover .asset-history-thumb,.asset-history-card:focus-visible .asset-history-thumb{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 58%,var(--theme-line, #252b36));filter:brightness(1.06)}.asset-history-card.selected .asset-history-thumb{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 82%,#fff 10%);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent, #3268f2) 58%,transparent),0 16px 32px #00000038;filter:brightness(1.08)}.asset-selected-badge{position:absolute;top:8px;right:8px;z-index:4;display:grid;place-items:center;width:24px;height:24px;border:2px solid var(--theme-surface, #ffffff);border-radius:999px;color:#fff;background:var(--theme-accent, #3268f2);box-shadow:0 8px 18px #0f172a38;pointer-events:none}.asset-history-thumb{position:relative;display:grid;place-items:center;width:164px;height:164px;overflow:hidden;border:1px solid color-mix(in srgb,var(--theme-line, #252b36) 82%,transparent);border-radius:4px;background:color-mix(in srgb,var(--theme-surface-3, #252b36) 76%,#000 18%);transition:border-color .16s ease,filter .16s ease}.asset-history-card.type-video .asset-history-thumb{margin-top:0;height:auto;aspect-ratio:var(--asset-history-media-aspect, 16 / 9);overflow:hidden;background:#08090d}.asset-history-card.type-image .asset-history-thumb{height:auto;aspect-ratio:var(--asset-history-media-aspect, 1 / 1);background:color-mix(in srgb,var(--theme-surface-2, #f4f6fa) 92%,transparent)}.asset-history-thumb img,.asset-history-thumb video{display:block;width:100%;height:100%;object-fit:cover;filter:none}.asset-history-card.type-video .asset-history-thumb img,.asset-history-card.type-video .asset-history-thumb video{object-fit:contain}.asset-history-card.type-image .asset-history-thumb img{object-fit:contain}.asset-video-reference-poster{object-fit:cover!important;filter:saturate(.9) contrast(1.03)}.asset-video-native-preview{position:relative;width:100%;height:100%;overflow:hidden;background:#080b12}.asset-video-native-preview>.asset-video-poster-placeholder,.asset-video-native-preview>.asset-video-native-poster{position:absolute;top:0;right:0;bottom:0;left:0}.asset-video-native-poster{width:100%;height:100%;object-fit:contain}.asset-video-poster-placeholder{display:grid;place-items:center;align-content:center;gap:8px;width:100%;height:100%;color:#ffffffe0;background:radial-gradient(circle at 24% 20%,rgba(79,125,255,.34),transparent 45%),radial-gradient(circle at 76% 80%,rgba(104,208,173,.2),transparent 42%),linear-gradient(145deg,#142033,#080b12 68%)}.asset-video-poster-placeholder span{color:#ffffffb8;font-size:11px;font-weight:760}.asset-kind-badge{position:absolute;top:7px;left:42px;z-index:2;display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border:1px solid rgba(255,255,255,.16);border-radius:6px;color:#ffffffdb;background:#090c127a;font-size:11px;font-weight:820;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.asset-history-select{position:absolute;top:8px;left:8px;z-index:4;display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:0;border:1.5px solid rgba(255,255,255,.74);border-radius:7px;color:#fff;background:#080b125c;box-shadow:0 8px 18px #0000003d,inset 0 0 0 1px #00000029;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.asset-history-select svg{display:block;width:16px;height:16px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.asset-history-select.selected{border-color:#ffffffe6;background:var(--theme-accent, #3268f2);box-shadow:0 10px 24px color-mix(in srgb,var(--theme-accent, #3268f2) 42%,transparent),inset 0 0 0 1px #ffffff29}.asset-play-badge{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.58);border-radius:999px;color:#fff;background:#080b1275;box-shadow:0 10px 26px #00000038;transform:translate(-50%,-50%);pointer-events:none}.asset-play-badge svg{width:17px;height:17px;margin-left:2px}.asset-doc-preview{display:grid;place-items:center;align-content:center;gap:10px;width:100%;height:100%;padding:18px;color:var(--theme-muted, #9aa3b2);background:linear-gradient(145deg,color-mix(in srgb,var(--theme-surface-2, #1b202a) 92%,transparent),color-mix(in srgb,var(--theme-surface-3, #252b36) 84%,transparent))}.asset-doc-preview p{display:-webkit-box;margin:0;overflow:hidden;color:var(--theme-heading, #f5f7fb);font-size:13px;font-weight:820;line-height:1.45;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:3}.asset-history-card.type-text .asset-history-thumb{background:linear-gradient(160deg,color-mix(in srgb,var(--theme-surface-2, #1b202a) 92%,transparent),color-mix(in srgb,var(--theme-accent, #3268f2) 10%,var(--theme-surface-3, #252b36)))}.asset-history-meta{display:grid;gap:4px;min-width:0;padding:0 2px 10px}.asset-history-meta b{display:-webkit-box;overflow:hidden;color:var(--theme-heading, #f5f7fb);font-size:13px;font-weight:840;line-height:1.35;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.asset-history-card.title-expanded .asset-history-meta b{display:block;overflow:visible;white-space:pre-wrap;-webkit-line-clamp:unset}.asset-history-meta span,.asset-history-meta time{overflow:hidden;color:var(--theme-muted, #9aa3b2);font-size:12px;font-weight:720;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.asset-history-title-toggle{align-self:flex-start;min-height:24px;margin:-8px 0 2px 2px;padding:0 8px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 30%,var(--theme-line, #252b36));border-radius:7px;color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 9%,transparent);font-size:11px;font-weight:820;line-height:1}.asset-history-title-toggle:hover,.asset-history-title-toggle:focus-visible{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 56%,var(--theme-line, #252b36));background:color-mix(in srgb,var(--theme-accent, #3268f2) 16%,transparent)}.asset-library-empty{display:grid;place-items:center;align-content:center;gap:10px;min-height:420px;color:var(--theme-muted, #9aa3b2);text-align:center}.asset-library-empty h2{margin:0;color:var(--theme-heading, #f5f7fb);font-size:24px}.asset-library-empty p{margin:0}.xlb-agent-main{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;background:var(--theme-main, #f5f6f9)}.agent-workbench{display:flex;flex-direction:column;flex:1 1 auto;gap:12px;min-height:0;padding:18px 22px 22px;overflow:hidden}.agent-command-panel,.agent-disabled-panel,.agent-chat-panel{border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff);box-shadow:0 16px 44px #1f2e4912}.agent-command-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 18px}.agent-command-panel.running{border-color:color-mix(in srgb,#19a37f 34%,var(--theme-line, #e5e8ef))}.agent-command-panel.needs-key{border-color:color-mix(in srgb,#c9941a 42%,var(--theme-line, #e5e8ef));background:linear-gradient(180deg,color-mix(in srgb,#fff5d7 52%,var(--theme-surface, #fff)),var(--theme-surface, #fff))}.agent-command-copy{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.agent-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;color:#fff;background:linear-gradient(135deg,var(--theme-primary, #2f74ff),#18a27f);box-shadow:0 10px 26px #2f74ff38}.agent-eyebrow{display:inline-flex;align-items:center;width:fit-content;margin-bottom:4px;color:var(--theme-accent, #2f74ff);font-size:12px;font-weight:900}.agent-command-panel h2,.agent-disabled-panel h2{margin:0;color:var(--theme-heading, #171b24);font-size:20px;line-height:1.25}.agent-command-panel p,.agent-disabled-panel p{margin:5px 0 0;color:var(--theme-muted, #747b89);line-height:1.55}.agent-status-actions{display:flex;align-items:center;gap:10px}.agent-status-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--theme-line, #e2e7f0);border-radius:8px;color:var(--theme-text, #1d2230);background:var(--theme-surface-2, #f7f8fb);font-weight:900;white-space:nowrap;cursor:pointer}.agent-status-actions button:disabled{cursor:wait;opacity:.64}.agent-status-actions button.primary{border-color:transparent;color:var(--theme-primary-text, #fff);background:var(--theme-primary, #111827)}.agent-inline-message{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid color-mix(in srgb,#e0a200 38%,var(--theme-line, #e5e8ef));border-radius:8px;color:#8a5b00;background:color-mix(in srgb,#fff5cc 62%,var(--theme-surface, #fff));font-weight:800}.agent-inline-message button{min-height:32px;padding:0 12px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;font-weight:900;cursor:pointer}.agent-inline-message.ok{border-color:color-mix(in srgb,#19a37f 36%,var(--theme-line, #e5e8ef));color:#10745e;background:color-mix(in srgb,#e9fff6 66%,var(--theme-surface, #fff))}.agent-chat-panel{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;flex:1 1 auto;min-height:0;overflow:hidden}.agent-message-list{display:flex;flex-direction:column;gap:14px;min-height:0;padding:18px 18px 10px;overflow-y:auto}.agent-message{display:grid;gap:6px;max-width:min(820px,92%);min-width:0}.agent-message.user{align-self:flex-end}.agent-message>span{color:var(--theme-muted, #747b89);font-size:12px;font-weight:900}.agent-message>div{min-width:0;padding:12px 14px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-text, #1d2230);background:var(--theme-surface-2, #f7f8fb);line-height:1.65}.agent-message.user>div{border-color:transparent;color:#fff;background:#2f74ff}.agent-user-message-body{display:grid;gap:10px}.agent-message.user .chat-attachment-card{color:#18202d;background:#fffffff2;border-color:#ffffffc7}.agent-message.assistant>.agent-message-body{padding:0;border:0;border-radius:0;color:var(--theme-text, #1d2230);background:transparent;line-height:1.7}.agent-message.assistant>.agent-message-body>.message-rich-text{padding:0;border:0;background:transparent}.agent-message.assistant>.agent-message-body>.message-rich-text p:first-child{margin-top:0}.agent-message.assistant>.agent-message-body>.message-rich-text p:last-child{margin-bottom:0}.agent-message.assistant>.agent-assistant-response{display:grid;gap:12px;padding:0;border:0;border-radius:0;color:var(--theme-text, #1d2230);background:transparent;line-height:1.7}.agent-assistant-response>.agent-message-body{padding:0;border:0;border-radius:0;color:var(--theme-text, #1d2230);background:transparent;line-height:1.7}.agent-assistant-response>.agent-message-body>.message-rich-text{padding:0;border:0;background:transparent}.agent-message-live-status{min-width:0;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 72%,transparent)}.agent-message-live-status .agent-live-trace.agent-run-log{width:100%}.agent-message>.agent-message-actions{display:flex;align-items:center;gap:6px;justify-content:flex-start;min-width:0;padding:0;border:0;border-radius:0;color:var(--theme-muted, #747b89);background:transparent;line-height:1}.agent-message-actions button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border:1px solid transparent;border-radius:7px;color:inherit;background:transparent;font-size:12px;font-weight:850;cursor:pointer}.agent-message-actions button:hover{border-color:var(--theme-line, #e5e8ef);color:var(--theme-heading, #171b24);background:var(--theme-surface-2, #f7f8fb)}.agent-empty-state,.agent-disabled-panel{display:grid;place-items:center;align-content:center;gap:10px;min-height:340px;padding:28px;text-align:center}.agent-page .agent-disabled-panel{align-self:center;width:min(720px,calc(100% - 48px));min-height:min(520px,calc(100vh - 170px));margin:auto;padding:44px}.agent-disabled-panel h2,.agent-disabled-panel p{max-width:560px}.agent-disabled-panel .download-links{justify-content:center;flex-wrap:wrap;width:min(100%,540px);gap:12px;margin-top:8px}.agent-disabled-panel .download-links a{flex:1 1 240px;min-width:220px;min-height:50px;padding:0 20px;overflow:visible;text-overflow:clip;white-space:normal;line-height:1.2;font-size:15px}.agent-empty-state{color:var(--theme-muted, #747b89)}.agent-empty-state b{color:var(--theme-heading, #171b24);font-size:18px}.agent-disabled-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;color:var(--theme-accent, #2f74ff);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,transparent)}.agent-composer{display:grid;gap:8px;margin:0 18px 18px;padding:12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface-2, #f7f8fb);box-shadow:0 8px 24px #1f2e490f}.agent-attachment-row{min-width:0}.agent-composer textarea{width:100%;min-height:94px;resize:vertical;border:0;outline:0;color:var(--theme-text, #1d2230);background:transparent;font-size:16px;line-height:1.55}.agent-composer .composer-bar{justify-content:space-between;gap:14px;padding:0}.agent-composer .send-button{width:42px;height:42px}.nav-logo-icon,.sidebar-current-logo{width:20px;height:20px;object-fit:contain;border-radius:6px}.sidebar-current-logo{width:18px;height:18px}.agent-page .xlb-light-header{min-height:50px;padding:0 18px}.agent-page .xlb-light-header .plain-icon{width:30px;height:30px}.agent-page .header-eyebrow{display:none}.agent-page .xlb-light-header h1{margin:0;font-size:17px}.agent-page .xlb-light-header p{display:none}.agent-page .header-actions .status-pill{min-height:30px;padding:0 12px;font-size:12px}.agent-page .header-actions .icon-button{width:34px;height:34px}.agent-workbench{flex:1 1 auto;gap:8px;min-height:0;padding:8px 14px 14px}.agent-status-actions.compact{gap:6px}.agent-status-actions.compact button{height:30px;min-height:30px;padding:0 8px;font-size:12px}.agent-chat-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;flex:1 1 auto;align-self:stretch;width:100%;min-height:0;margin:0;border-radius:8px;box-shadow:0 18px 46px #1f2e490f}.agent-chat-panel.has-preview{width:100%;grid-template-columns:minmax(520px,1fr) minmax(360px,var(--agent-preview-width, 560px))}.agent-chat-panel.has-preview.preview-collapsed{grid-template-columns:minmax(0,1fr)}.agent-conversation-column{display:grid;grid-template-rows:minmax(0,1fr) auto auto;min-width:0;min-height:0;overflow:hidden}.agent-message-list{min-height:0;gap:12px;padding:14px 22px 18px;overflow-y:auto}.agent-message{max-width:min(1080px,96%)}.agent-message.assistant{width:min(1080px,96%)}.agent-message>div{padding:12px 14px;border-radius:8px}.agent-message-body{display:grid;gap:7px}.agent-message-body>.message-rich-text{padding:0;border:0;background:transparent;font-size:14px;line-height:1.58}.agent-execution-summary{display:grid;gap:8px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 72%,transparent)}.agent-execution-summary>button{display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:9px;min-width:0;min-height:42px;padding:7px 9px;border:1px solid color-mix(in srgb,#16a084 24%,var(--theme-line, #e5e8ef));border-radius:8px;color:var(--theme-heading, #171b24);background:color-mix(in srgb,#e9fff6 44%,var(--theme-surface, #fff));text-align:left;cursor:pointer}.agent-execution-summary.has-error>button{border-color:#b33b3b42;background:color-mix(in srgb,#fff1f0 48%,var(--theme-surface, #fff))}.agent-execution-summary-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#087863;background:#16a0841a}.agent-execution-summary.has-error .agent-execution-summary-icon{color:#b33b3b;background:#b33b3b1a}.agent-execution-summary>button b,.agent-execution-summary>button small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-execution-summary>button b{font-size:13px;font-weight:900}.agent-execution-summary>button small{margin-top:1px;color:var(--theme-muted, #747b89);font-size:11px;font-weight:820}.agent-execution-summary>button>svg{color:var(--theme-muted, #747b89);transition:transform .14s ease}.agent-execution-summary.expanded>button>svg{transform:rotate(180deg)}.agent-execution-summary-list{display:grid;gap:6px}.agent-execution-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;max-width:100%;padding:7px 8px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 72%,transparent);border-radius:7px;color:#17775f;background:color-mix(in srgb,#f4fff9 58%,var(--theme-surface, #fff));font-size:12px;font-weight:850}.agent-execution-row.failed{color:#b33b3b;background:color-mix(in srgb,#ffecec 62%,var(--theme-surface, #fff))}.agent-execution-row em,.agent-execution-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}.agent-execution-row small{color:var(--theme-muted, #747b89)}.agent-execution-row code{grid-column:2 / -1;min-width:0;padding:5px 7px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 66%,transparent);border-radius:6px;color:var(--theme-muted, #747b89);background:color-mix(in srgb,var(--theme-surface, #fff) 82%,transparent);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-empty-state{flex:1 1 auto;min-height:330px}.agent-empty-state img{width:70px;height:70px;object-fit:contain;border-radius:16px}.agent-consent-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;width:min(760px,100%);margin-top:2px;padding:12px;border:1px solid color-mix(in srgb,var(--theme-primary, #111827) 18%,var(--theme-line, #e5e8ef));border-radius:8px;background:color-mix(in srgb,var(--theme-primary, #111827) 5%,var(--theme-surface, #fff));box-shadow:0 10px 28px #141c2a12}.agent-consent-card.destructive{border-color:color-mix(in srgb,#d95b43 42%,var(--theme-line, #e5e8ef));background:color-mix(in srgb,#fff1e8 58%,var(--theme-surface, #fff))}.agent-consent-copy{min-width:0}.agent-consent-copy span{display:block;color:var(--theme-heading, #171b24);font-size:13px;font-weight:900;line-height:1.35}.agent-consent-card.destructive .agent-consent-copy span{color:#a23f2b}.agent-consent-copy p{margin:5px 0 0;color:var(--theme-muted, #747b89);font-size:12px;line-height:1.55}.agent-consent-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.agent-consent-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-text, #1d2230);background:var(--theme-surface, #fff);font-weight:900;cursor:pointer}.agent-consent-actions button:disabled{cursor:not-allowed;opacity:.58}.agent-consent-actions button.primary{border-color:transparent;color:var(--theme-primary-text, #fff);background:var(--theme-primary, #111827)}.agent-consent-card.destructive .agent-consent-actions button.primary{background:#c44932}.agent-approval-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;max-width:min(840px,94%);padding:12px;border:1px solid color-mix(in srgb,#d99c21 42%,var(--theme-line, #e5e8ef));border-radius:8px;background:color-mix(in srgb,#fff6d8 52%,var(--theme-surface, #fff))}.agent-approval-card span{color:#9a6a08;font-size:12px;font-weight:900}.agent-approval-card b{display:block;margin-top:3px;color:var(--theme-heading, #171b24)}.agent-approval-card code{display:block;max-width:100%;margin-top:8px;padding:7px 8px;border-radius:6px;color:var(--theme-text, #1d2230);background:#ffffffbd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-approval-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.agent-approval-actions button{min-height:32px;padding:0 10px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-text, #1d2230);background:var(--theme-surface, #fff);font-weight:900;cursor:pointer}.agent-approval-actions button:disabled{cursor:wait;opacity:.66}.agent-approval-actions button.primary{border-color:transparent;color:var(--theme-primary-text, #fff);background:var(--theme-primary, #111827)}.agent-live-trace{display:grid;gap:8px;align-self:flex-start;width:min(840px,94%);padding:10px 12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface-2, #f7f8fb)}.agent-live-trace.agent-run-log{gap:9px;width:min(880px,94%);padding:0 0 2px;border:0;background:transparent}.agent-inline-notice{display:inline-flex;align-items:center;align-self:flex-start;gap:7px;max-width:min(720px,94%);margin:4px 0 10px 46px;padding:8px 11px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 18%,var(--theme-line, #e5e8ef));border-radius:8px;background:color-mix(in srgb,var(--theme-accent, #2f74ff) 6%,var(--theme-surface, #fff));color:var(--theme-heading, #171b24);font-size:13px;font-weight:800;line-height:1.45}.agent-inline-notice svg{flex:0 0 auto;fill:#16a084;color:#16a084}.agent-inline-notice button{flex:0 0 auto;margin-left:4px;padding:4px 8px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 28%,var(--theme-line, #e5e8ef));border-radius:6px;color:var(--theme-accent, #2f74ff);background:var(--theme-surface, #fff);font:inherit;cursor:pointer}.agent-install-progress{display:grid;align-self:flex-start;gap:8px;width:min(720px,94%);margin:4px 0 10px 46px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 22%,var(--theme-line, #e5e8ef));border-radius:9px;background:var(--theme-surface, #fff);box-shadow:0 8px 24px #1f2e4912}.agent-install-progress-head{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--theme-heading, #171b24);font-size:13px}.agent-install-progress-head span{font-weight:800}.agent-install-progress-head b{color:var(--theme-accent, #2f74ff);font-variant-numeric:tabular-nums}.agent-install-progress-track{height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,var(--theme-line, #e5e8ef))}.agent-install-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#246bfd,#33a3ff);transition:width .24s ease}.agent-install-progress small{color:var(--theme-muted, #747b89);font-size:12px}.agent-install-progress-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.agent-install-progress-footer button{flex:0 0 auto;min-height:28px;padding:4px 10px;border:1px solid color-mix(in srgb,#d94b5b 36%,var(--theme-line, #e5e8ef));border-radius:7px;color:#b72f40;background:color-mix(in srgb,#d94b5b 6%,var(--theme-surface, #fff));font-size:12px;font-weight:700;cursor:pointer}.agent-install-progress-footer button:disabled{cursor:wait;opacity:.65}.agent-install-progress.is-error{border-color:color-mix(in srgb,#d94b5b 34%,var(--theme-line, #e5e8ef))}.agent-install-progress.is-error .agent-install-progress-head b,.agent-install-progress.is-error small{color:#c23848}.agent-install-progress.is-error .agent-install-progress-track i{background:#d94b5b}.agent-live-trace-head{display:flex;align-items:center;min-width:0}.agent-live-trace-head{justify-content:space-between;gap:10px}.agent-live-toggle{width:100%;padding:0;border:0;color:inherit;background:transparent;cursor:pointer}.agent-live-toggle>svg{flex:0 0 auto;color:var(--theme-muted, #747b89);transition:transform .14s ease}.agent-live-trace.collapsed .agent-live-toggle>svg{transform:rotate(-90deg)}.agent-live-trace-head span{color:var(--theme-muted, #747b89);font-size:12px;font-weight:900}.agent-live-trace-head b{min-width:0;color:var(--theme-heading, #171b24);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-activity-pill{position:sticky;bottom:6px;z-index:3;display:inline-flex;align-items:center;justify-self:center;gap:8px;max-width:92%;min-height:32px;padding:0 12px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 72%,transparent);border-radius:999px;color:var(--theme-heading, #171b24);background:color-mix(in srgb,var(--theme-surface, #fff) 94%,transparent);box-shadow:0 12px 34px #0f172a1f;font-size:12px;font-weight:900}.agent-activity-pill.running svg,.agent-activity-pill.waiting svg,.agent-activity-pill.started svg{color:var(--theme-accent, #2f74ff)}.agent-activity-pill.failed{color:#b33b3b}.agent-activity-pill em,.agent-activity-pill small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}.agent-activity-pill small{color:var(--theme-muted, #747b89);font-size:11px}.agent-process-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px}.agent-process-step{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:7px;min-width:0;padding:7px 8px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 78%,transparent);border-radius:8px;background:color-mix(in srgb,var(--theme-surface, #fff) 76%,transparent)}.agent-process-step.completed{opacity:.62;background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 78%,var(--theme-surface, #fff))}.agent-process-step.active{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 38%,var(--theme-line, #e5e8ef));background:color-mix(in srgb,var(--theme-accent, #2f74ff) 8%,var(--theme-surface, #fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,transparent)}.agent-process-step.failed{border-color:#b33b3b52;background:color-mix(in srgb,#ffecec 58%,var(--theme-surface, #fff))}.agent-process-index{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#16846c;background:#16846c1a}.agent-process-step.active .agent-process-index{color:var(--theme-accent, #2f74ff);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,transparent)}.agent-process-step.failed .agent-process-index{color:#b33b3b;background:#b33b3b1a}.agent-process-step strong,.agent-process-step small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-process-step strong{color:var(--theme-heading, #171b24);font-size:12px;font-weight:900}.agent-process-step small{margin-top:2px;color:var(--theme-muted, #747b89);font-size:11px;font-weight:800}.agent-live-events{display:grid;gap:3px;max-height:none;overflow:visible;overscroll-behavior:auto}.agent-live-events.agent-run-events{max-height:none;padding:2px 0 8px}.agent-run-timeline{position:relative;display:grid;gap:4px;min-width:0}.agent-run-timeline:before{content:"";position:absolute;top:9px;bottom:9px;left:8px;width:1px;background:repeating-linear-gradient(to bottom,color-mix(in srgb,var(--theme-muted, #747b89) 42%,transparent) 0 4px,transparent 4px 10px)}.agent-activity-group{display:grid;gap:4px;min-width:0}.agent-activity-head{display:grid;grid-template-columns:18px minmax(0,1fr) auto 16px;align-items:center;gap:8px;min-width:0;padding:5px 0 4px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.agent-activity-head>span{position:relative;z-index:1;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:var(--theme-muted, #747b89);background:var(--theme-surface-2, #f7f8fb)}.agent-activity-group.running .agent-activity-head>span,.agent-activity-group.waiting .agent-activity-head>span,.agent-activity-group.started .agent-activity-head>span{color:var(--theme-accent, #2f74ff);background:transparent}.agent-activity-group.failed .agent-activity-head>span{color:#b33b3b;background:transparent}.agent-activity-head strong{min-width:0;color:var(--theme-heading, #171b24);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-activity-head em{color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:850;white-space:nowrap}.agent-activity-head>svg{color:var(--theme-muted, #747b89);transition:transform .14s ease}.agent-activity-group.collapsed .agent-activity-head>svg{transform:rotate(-90deg)}.agent-activity-events{display:grid;gap:3px;min-width:0;padding:0 0 2px 26px}.agent-live-events-end{width:1px;height:1px}.agent-live-event{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;min-width:0;padding:8px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 72%,transparent);border-radius:8px;background:color-mix(in srgb,var(--theme-surface, #fff) 72%,transparent)}.agent-live-event.agent-run-event{grid-template-columns:18px minmax(0,1fr);gap:9px;padding:4px 0 5px;border:0;border-radius:0;background:transparent}.agent-live-event.agent-run-event.completed{opacity:.58}.agent-live-event>span{display:grid;place-items:center;flex:0 0 auto;width:18px;height:18px;border-radius:50%;color:#16846c;background:#16846c1a}.agent-live-event.agent-run-event>span{position:relative;z-index:1;margin-top:1px;color:var(--theme-muted, #747b89);background:var(--theme-surface-2, #f7f8fb)}.agent-live-event.running>span{color:var(--theme-accent, #2f74ff);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,transparent)}.agent-live-event.agent-run-event.running>span{color:var(--theme-accent, #2f74ff);background:transparent}.agent-live-event.failed>span{color:#b33b3b;background:#b33b3b1a}.agent-live-event.agent-run-event.failed>span{color:#b33b3b;background:transparent}.agent-live-event-body{display:grid;gap:6px;min-width:0}.agent-live-event-line{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.agent-live-event-line strong{min-width:0;color:var(--theme-heading, #171b24);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-live-event-line em{flex:0 0 auto;color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:850}.agent-event-code{display:block;width:100%;min-width:0;margin:0;padding:4px 6px;border-radius:6px;color:var(--theme-text, #1d2230);background:var(--theme-surface, #fff);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.45;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;text-align:left;-moz-tab-size:2;tab-size:2}.agent-run-command{width:100%;margin:1px 0 2px;padding:7px 9px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 62%,transparent);color:var(--theme-muted, #747b89);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 70%,transparent)}.agent-run-command.output{color:var(--theme-text, #1d2230);background:color-mix(in srgb,var(--theme-surface, #fff) 72%,transparent)}.agent-event-detail{display:block;min-height:1.5em;max-height:min(240px,32vh);overflow:auto;scrollbar-width:thin}.agent-live-trace.agent-run-log{gap:8px;width:min(900px,94%);padding:0;border:0;background:transparent}.agent-work-meta-row{display:grid;grid-template-columns:28px auto minmax(0,1fr) 22px;align-items:center;gap:10px;width:100%;min-width:0;min-height:50px;padding:7px 2px 9px;border:0;border-bottom:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 82%,transparent);border-radius:0;color:var(--theme-heading, #171b24);background:transparent;box-shadow:none;text-align:left;cursor:pointer}.agent-work-meta-row:hover{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 20%,var(--theme-line, #e5e8ef));background:color-mix(in srgb,var(--theme-accent, #2f74ff) 2.5%,transparent)}.agent-work-status-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--theme-accent, #2f74ff);background:transparent}.agent-work-meta-row.completed .agent-work-status-mark{color:#087863;background:transparent}.agent-work-meta-row.failed .agent-work-status-mark{color:#b33b3b;background:transparent}.agent-work-meta-row.waiting .agent-work-status-mark{color:#a06113;background:transparent}.agent-work-meta-copy,.agent-work-current{min-width:0}.agent-work-meta-copy strong,.agent-work-meta-copy small,.agent-work-current em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-work-meta-copy strong{font-size:14px;font-weight:950;line-height:1.2}.agent-work-meta-copy small{margin-top:2px;color:var(--theme-muted, #747b89);font-size:11px;font-weight:820}.agent-work-current{justify-self:end;max-width:100%;padding:0;border:0;border-radius:0;color:var(--theme-muted, #747b89);background:transparent}.agent-work-current em{max-width:360px;font-size:11.5px;font-style:normal;font-weight:880}.agent-work-meta-row>svg{color:var(--theme-muted, #747b89);transition:transform .16s ease}.agent-live-trace.collapsed .agent-work-meta-row>svg{transform:rotate(-90deg)}.agent-live-events.agent-run-events{max-height:none;overflow:visible;padding:0 2px 4px;scrollbar-width:thin}.agent-live-code-stream{display:grid;grid-template-rows:auto minmax(0,1fr);height:220px;min-height:220px;max-height:220px;min-width:0;margin:0 0 8px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 22%,var(--theme-line, #e5e8ef));border-radius:8px;background:linear-gradient(180deg,color-mix(in srgb,var(--theme-accent, #2f74ff) 4%,var(--theme-surface, #fff)),color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 84%,var(--theme-surface, #fff))),var(--theme-surface, #fff);box-shadow:0 12px 30px #1f2e490f;overflow:hidden}.agent-live-code-stream.embedded{margin:0;height:auto;min-height:0;max-height:none;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.agent-live-code-stream.embedded .agent-live-code-head{display:none}.agent-live-code-stream.embedded .agent-live-code-body{height:auto;min-height:0;max-height:min(520px,58vh);padding:4px 6px 6px 1px;border:0;color:var(--theme-text, #1d2230);background:transparent;font-size:11.5px;line-height:1.48;overflow-y:auto;scrollbar-color:color-mix(in srgb,var(--theme-muted, #747b89) 35%,transparent) transparent}.agent-live-code-stream.running{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 34%,var(--theme-line, #e5e8ef))}.agent-live-code-stream.running .agent-live-code-head{background:linear-gradient(90deg,color-mix(in srgb,var(--theme-accent, #2f74ff) 8%,transparent),color-mix(in srgb,#16a084 6%,transparent)),var(--theme-surface, #fff)}.agent-live-code-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:38px;padding:8px 10px;border-bottom:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 76%,transparent)}.agent-live-code-head span,.agent-live-code-head em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-live-code-head span{display:inline-flex;align-items:center;gap:7px;color:var(--theme-heading, #171b24);font-size:13px;font-weight:930}.agent-live-code-head span svg{color:var(--theme-accent, #2f74ff)}.agent-live-code-head em{flex:0 0 auto;color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:820}.agent-live-code-body{display:block;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:10px 12px 14px;color:var(--theme-text, #1d2230);background:color-mix(in srgb,var(--theme-surface, #fff) 72%,transparent);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55;overflow:auto;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;text-align:left;scrollbar-width:thin;-moz-tab-size:2;tab-size:2}.agent-run-timeline{position:relative;display:grid;gap:8px;min-width:0}.agent-run-timeline:before{content:none}.agent-process-connecting{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 18%,var(--theme-line, #e5e8ef));border-radius:8px;background:color-mix(in srgb,var(--theme-accent, #2f74ff) 5%,var(--theme-surface, #fff))}.agent-process-connecting>span{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--theme-accent, #2f74ff);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 10%,transparent)}.agent-process-connecting strong,.agent-process-connecting small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-process-connecting strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:930}.agent-process-connecting small{margin-top:2px;color:var(--theme-muted, #747b89);font-size:12px;font-weight:760}.agent-process-section{display:grid;min-width:0;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 82%,transparent);border-radius:8px;background:color-mix(in srgb,var(--theme-surface, #fff) 88%,transparent);box-shadow:0 10px 28px #1f2e490b;overflow:hidden}.agent-process-section.active{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 28%,var(--theme-line, #e5e8ef));background:linear-gradient(180deg,color-mix(in srgb,var(--theme-accent, #2f74ff) 5%,var(--theme-surface, #fff)),color-mix(in srgb,#16a084 3%,var(--theme-surface, #fff))),var(--theme-surface, #fff)}.agent-process-section.failed{border-color:#b33b3b47}.agent-process-section.waiting{border-color:#d6964257}.agent-process-section-head{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-width:0;padding:9px 11px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.agent-process-section-head:hover{background:color-mix(in srgb,var(--theme-accent, #2f74ff) 5%,transparent)}.agent-process-section-icon,.agent-process-glyph,.agent-process-event-icon{display:grid;place-items:center;border-radius:8px}.agent-process-section-icon{width:30px;height:30px;color:var(--theme-muted, #747b89);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 80%,transparent)}.agent-process-section.active .agent-process-section-icon,.agent-process-group.active .agent-process-glyph{color:var(--theme-accent, #2f74ff);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 10%,transparent)}.agent-process-section.completed .agent-process-section-icon,.agent-process-group.completed .agent-process-glyph{color:#087863;background:#16a0841a}.agent-process-section.failed .agent-process-section-icon,.agent-process-group.failed .agent-process-glyph{color:#b33b3b;background:#b33b3b1a}.agent-process-section.waiting .agent-process-section-icon,.agent-process-group.waiting .agent-process-glyph{color:#a06113;background:#d696421f}.agent-process-section-head strong,.agent-process-section-head small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-process-section-head strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:930;line-height:1.25}.agent-process-section-head small{margin-top:2px;color:var(--theme-muted, #747b89);font-size:11px;font-weight:780}.agent-process-section.active .agent-process-section-head strong,.agent-process-group.active .agent-process-group-copy strong{color:var(--theme-heading, #171b24);background:none;animation:none}.agent-process-section-head>svg,.agent-process-group-head>svg{color:var(--theme-muted, #747b89);transition:transform .15s ease}.agent-process-section:not(.expanded) .agent-process-section-head>svg,.agent-process-group:not(.open) .agent-process-group-head>svg{transform:rotate(-90deg)}.agent-process-section-body{display:grid;gap:4px;min-width:0;padding:0 9px 9px 40px}.agent-process-section-body:empty{display:none}.agent-process-group{display:grid;min-width:0}.agent-process-group-head{display:grid;grid-template-columns:24px minmax(0,1fr) auto 18px;align-items:center;gap:8px;min-width:0;padding:5px;border:0;border-radius:7px;color:inherit;background:transparent;text-align:left;cursor:pointer}.agent-process-group-head:hover:not(:disabled){background:color-mix(in srgb,var(--theme-accent, #2f74ff) 6%,transparent)}.agent-process-group-head:disabled{cursor:default}.agent-process-glyph{width:24px;height:24px;color:var(--theme-muted, #747b89);background:transparent}.agent-process-group-copy{display:grid;min-width:0}.agent-process-group-copy strong,.agent-process-group-copy small,.agent-process-group-head em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-process-group-copy strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:860}.agent-process-section.completed .agent-process-section-head strong,.agent-process-group.completed .agent-process-group-copy strong{color:color-mix(in srgb,var(--theme-heading, #171b24) 70%,var(--theme-muted, #747b89));text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:color-mix(in srgb,#16a084 42%,transparent)}.agent-process-group-copy small{margin-top:1px;color:var(--theme-muted, #747b89);font-size:11px;font-weight:760}.agent-process-group-head em{justify-self:end;color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:850}.agent-process-group-details{display:grid;gap:6px;min-width:0;margin:2px 0 6px 32px;padding:7px 8px;border-left:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 84%,transparent);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 52%,transparent)}.agent-process-event{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;min-width:0}.agent-process-event-icon{width:18px;height:18px;margin-top:2px;color:var(--theme-muted, #747b89);background:transparent}.agent-process-group-details:empty{display:none}.agent-process-event.running .agent-process-event-icon,.agent-process-event.waiting .agent-process-event-icon,.agent-process-event.started .agent-process-event-icon{color:var(--theme-accent, #2f74ff)}.agent-process-event.failed .agent-process-event-icon{color:#b33b3b}.agent-process-event-body{display:grid;gap:5px;min-width:0}.agent-process-event-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.agent-process-event-line strong,.agent-process-event-line em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-process-event-line strong{color:var(--theme-heading, #171b24);font-size:12px;font-weight:860}.agent-process-event-line em{color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:780}.agent-event-code{display:block;width:100%;min-width:0;margin:0;padding:5px 7px;border-radius:7px;color:var(--theme-text, #1d2230);background:var(--theme-surface, #fff);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;text-align:left;-moz-tab-size:2;tab-size:2}.agent-run-command{width:100%;margin:1px 0 2px;padding:8px 9px;border:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 68%,transparent);color:var(--theme-muted, #747b89);background:color-mix(in srgb,var(--theme-surface, #fff) 82%,transparent)}.agent-run-command.plain{font-family:inherit;color:var(--theme-text, #1d2230);background:transparent;border-color:transparent;padding:3px 0}.agent-run-command.output{color:var(--theme-text, #1d2230);background:color-mix(in srgb,var(--theme-surface, #fff) 88%,transparent)}@keyframes agent-shiny-text{0%{background-position:0% 50%}to{background-position:220% 50%}}.agent-run-timeline{gap:0;padding:2px 0 0 16px;border-left:1px solid color-mix(in srgb,var(--theme-muted, #747b89) 30%,transparent)}.agent-process-section,.agent-process-group.elevated{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.agent-process-section.active{border-color:transparent;background:transparent}.agent-process-section-head,.agent-process-group-head{border-radius:7px}.agent-process-section-head{padding:7px 7px 7px 0}.agent-process-section-head:hover,.agent-process-group-head:hover:not(:disabled){background:color-mix(in srgb,var(--theme-accent, #2f74ff) 4%,transparent)}.agent-process-section-body{gap:0;padding:0 0 4px 28px}.agent-process-group.elevated{position:relative;padding:0 0 2px}.agent-process-group.elevated:before{content:"";position:absolute;top:18px;left:-20px;width:7px;height:7px;border:1px solid color-mix(in srgb,var(--theme-muted, #747b89) 44%,transparent);border-radius:50%;background:var(--theme-surface, #fff)}.agent-process-group.elevated.active:before,.agent-process-group.elevated.running:before,.agent-process-group.elevated.waiting:before{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 70%,transparent);background:var(--theme-accent, #2f74ff);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent, #2f74ff) 10%,transparent)}.agent-process-group.elevated.completed:before{border-color:color-mix(in srgb,#16a084 70%,transparent);background:#16a084}.agent-process-group.elevated.failed:before{border-color:color-mix(in srgb,#b33b3b 70%,transparent);background:#b33b3b}.agent-process-group-head{grid-template-columns:24px minmax(0,1fr) auto 18px;padding:8px 6px 8px 0}.agent-process-group.elevated .agent-process-glyph,.agent-process-section-icon{background:transparent}.agent-process-group-copy strong{font-size:12.5px}.agent-process-group-copy small{margin-top:0}.agent-process-group-details{gap:3px;margin:0 0 6px 28px;padding:1px 0 2px 9px;border-left:1px solid color-mix(in srgb,var(--theme-muted, #747b89) 26%,transparent);background:transparent}.agent-process-event{grid-template-columns:0 minmax(0,1fr);gap:0}.agent-process-event-icon{display:none}.agent-process-event-line{min-height:20px}.agent-process-event-line strong{font-size:12.5px}.agent-process-event-line em{font-size:11px}.agent-run-command{margin-top:4px;border-color:color-mix(in srgb,var(--theme-line, #e5e8ef) 56%,transparent);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 54%,transparent)}.agent-run-command.plain{padding:2px 0 4px}.agent-live-trace.agent-run-log{gap:0;width:100%;padding:0;margin:0 0 10px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.agent-live-trace.agent-operation-flow{display:grid;gap:7px;width:min(880px,92%);min-width:0;margin:6px 0 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.agent-operation-flow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:26px;padding:0;border:0;color:var(--theme-heading, #171b24);background:transparent}.agent-operation-flow-head span,.agent-operation-flow-head em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-operation-flow-head span{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:900}.agent-operation-flow-head span svg{color:var(--theme-accent, #2f74ff)}.agent-operation-flow.failed .agent-operation-flow-head span svg{color:#c84444}.agent-operation-flow-head em{color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:750}.agent-operation-flow-list{width:100%;min-width:0;min-height:20px;max-height:min(360px,42vh);margin:0;padding:0 0 2px 18px;overflow:auto;color:var(--theme-text, #1d2230);background:transparent;scrollbar-width:thin}.agent-operation-flow-entry{position:relative;min-width:0;padding:5px 0 8px 12px;border-left:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 82%,transparent)}.agent-operation-flow-line{display:flex;align-items:center;gap:7px;min-width:0;min-height:22px}.agent-operation-flow-line>span{position:absolute;left:-4px;width:7px;height:7px;border-radius:50%;background:var(--theme-muted, #747b89)}.agent-operation-flow-entry.running .agent-operation-flow-line>span{background:var(--theme-accent, #2f74ff);box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent, #2f74ff) 12%,transparent)}.agent-operation-flow-entry.completed .agent-operation-flow-line>span{background:#16a084}.agent-operation-flow-entry.failed .agent-operation-flow-line>span{background:#c84444}.agent-operation-flow-line strong,.agent-operation-flow-line em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-operation-flow-line strong{color:var(--theme-heading, #171b24);font-size:13px;font-weight:860}.agent-operation-flow-line em{color:var(--theme-muted, #747b89);font-size:11px;font-style:normal;font-weight:700}.agent-operation-flow-code,.agent-operation-flow-output{display:block;min-width:0;margin:3px 0 0;padding:0;border:0;border-radius:0;color:var(--theme-text, #1d2230);background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:520;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;-moz-tab-size:2;tab-size:2}.agent-operation-flow-output{color:var(--theme-muted, #747b89)}.agent-operation-flow-wait{margin:0;color:var(--theme-muted, #747b89);font-size:12px;line-height:1.55}@media(max-width:720px){.agent-live-trace.agent-operation-flow{width:calc(100% - 20px)}.agent-operation-flow-head{align-items:flex-start;flex-direction:column;gap:3px}.agent-operation-flow-list{max-height:280px}}.agent-work-meta-row{grid-template-columns:24px auto minmax(0,1fr) 18px;min-height:36px;padding:5px 0 7px;border:0;border-bottom:1px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 76%,transparent);border-radius:0;background:transparent;box-shadow:none}.agent-work-meta-row:hover{background:color-mix(in srgb,var(--theme-accent, #2f74ff) 3%,transparent)}.agent-live-trace.collapsed .agent-work-meta-row{border-bottom-color:transparent}.agent-work-status-mark{width:24px;height:24px;border-radius:50%;background:transparent}.agent-work-meta-row.completed .agent-work-status-mark,.agent-work-meta-row.failed .agent-work-status-mark,.agent-work-meta-row.waiting .agent-work-status-mark{background:transparent}.agent-work-meta-copy strong{font-size:12.5px}.agent-work-current{padding:0;border:0;border-radius:0;background:transparent}.agent-work-current em{max-width:420px}.agent-live-events.agent-run-events{gap:3px;padding:2px 0 5px}.agent-run-command{margin-top:3px;padding:4px 0 4px 10px;border:0;border-left:2px solid color-mix(in srgb,var(--theme-line, #e5e8ef) 80%,transparent);border-radius:0;background:transparent}.agent-run-command.output{background:transparent}.agent-process-group.active .agent-process-group-details{margin:0 0 6px 28px;padding:1px 0 2px 9px;border:0;border-left:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 28%,var(--theme-line, #e5e8ef));border-radius:0;background:transparent}.agent-process-event .agent-event-code{max-height:min(420px,48vh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.agent-execution-summary{gap:5px;padding-top:9px}.agent-execution-summary>button{grid-template-columns:22px minmax(0,1fr) 18px;min-height:32px;padding:4px 0;border:0;border-radius:0;background:transparent}.agent-execution-summary>button:hover{color:var(--theme-accent, #2f74ff)}.agent-execution-summary.has-error>button{border-color:transparent;background:transparent}.agent-execution-summary-icon{width:22px;height:22px;border-radius:50%;background:transparent}.agent-execution-summary.has-error .agent-execution-summary-icon{background:transparent}.agent-execution-row{grid-template-columns:18px minmax(0,1fr) auto;padding:5px 0 5px 10px;border:0;border-left:1px solid color-mix(in srgb,#16a084 36%,var(--theme-line, #e5e8ef));border-radius:0;background:transparent}.agent-execution-row.failed{background:transparent}.agent-execution-row code{padding:2px 0 0;border:0;border-radius:0;background:transparent}@media(max-width:760px){.agent-live-trace.agent-run-log{width:100%}.agent-work-meta-row{grid-template-columns:34px minmax(0,1fr) 22px}.agent-work-current{grid-column:1 / -1;justify-self:stretch}.agent-work-current em{max-width:none}.agent-process-section-body{padding-left:12px}.agent-process-group-head{grid-template-columns:24px minmax(0,1fr) 18px}.agent-process-group-head em{display:none}.agent-process-group-details{margin-left:12px}}.agent-preview-panel{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;border-left:1px solid var(--theme-line, #e5e8ef);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 82%,var(--theme-surface, #fff))}.agent-preview-panel.collapsed{position:absolute;z-index:16;top:10px;right:10px;display:block;width:34px;height:34px;min-width:34px;min-height:34px;border:0;background:transparent}.agent-preview-panel.maximized{position:absolute;z-index:18;top:0;right:0;bottom:0;left:0;border:0;border-radius:inherit}.agent-preview-resize-handle{position:absolute;z-index:6;top:0;bottom:0;left:-6px;width:12px;padding:0;border:0;background:transparent;cursor:col-resize;touch-action:none}.agent-preview-resize-handle:after{content:"";position:absolute;top:14px;bottom:14px;left:5px;width:2px;border-radius:999px;background:transparent;opacity:0;transition:background .18s ease,opacity .18s ease,box-shadow .18s ease}.agent-preview-resize-handle:hover:after,.agent-preview-resize-handle:focus-visible:after,body.resizing-sidebar .agent-preview-resize-handle:after{background:var(--theme-accent-2, rgba(50, 104, 242, .72));box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent-2, #3268f2) 16%,transparent);opacity:1}.agent-preview-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:42px;padding:0 10px;border-bottom:1px solid var(--theme-line, #e5e8ef)}.agent-preview-title,.agent-preview-actions{display:flex;align-items:center;min-width:0}.agent-preview-title{gap:8px}.agent-preview-actions{flex:0 0 auto;gap:6px;justify-content:flex-end}.agent-preview-title span,.agent-preview-title .agent-preview-collapse,.agent-preview-actions a,.agent-preview-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--theme-muted, #747b89)}.agent-preview-title span{flex:0 0 auto;font-size:12px;font-weight:900}.agent-preview-title .agent-preview-collapse{flex:0 0 auto;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.agent-preview-title .agent-preview-collapse:hover,.agent-preview-title .agent-preview-collapse:focus-visible{color:var(--theme-accent, #244bd8);background:color-mix(in srgb,var(--theme-accent, #244bd8) 8%,transparent)}.agent-preview-title b{min-width:0;color:var(--theme-heading, #171b24);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-preview-actions a,.agent-preview-actions button{width:30px;height:30px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff);cursor:pointer}.agent-preview-restore{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff);box-shadow:0 8px 22px #1219261f;color:var(--theme-muted, #747b89);cursor:pointer}.agent-preview-restore:hover,.agent-preview-restore:focus-visible{color:var(--theme-accent, #244bd8);background:color-mix(in srgb,var(--theme-accent, #244bd8) 8%,transparent)}.agent-preview-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#fff}.agent-preview-stage:focus-within{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--theme-accent, #244bd8) 34%,transparent)}.agent-preview-stage iframe{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0;border-radius:0;background:#fff;pointer-events:auto;overscroll-behavior:contain}@media(max-width:1180px){.agent-chat-panel.has-preview,.agent-chat-panel.has-preview.preview-collapsed{grid-template-columns:minmax(0,1fr)}.agent-preview-panel{min-height:360px;border-left:0;border-top:1px solid var(--theme-line, #e5e8ef)}.agent-preview-resize-handle{display:none}.agent-preview-panel.collapsed{width:34px;min-height:34px;border:0}.agent-consent-card,.agent-approval-card{grid-template-columns:1fr}.agent-consent-actions,.agent-approval-actions{justify-content:flex-start}}.agent-composer{gap:0;margin:0 28px 18px;padding:0;border-radius:10px;overflow:hidden;background:var(--theme-surface, #fff)}.agent-composer-input-line{display:grid;grid-template-columns:34px minmax(0,1fr) 38px;align-items:end;gap:8px;padding:10px 10px 8px}.agent-composer-input-line.busy{grid-template-columns:34px minmax(0,1fr) 38px 38px}.agent-mini-tool{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-muted, #747b89);background:var(--theme-surface-2, #f7f8fb);font-size:16px;font-weight:900;cursor:pointer}.agent-composer textarea{min-height:38px;max-height:150px;padding:7px 2px;line-height:1.45;overflow-y:hidden;resize:none;font-size:15px;transition:height .12s ease}.agent-composer .send-button{width:38px;height:38px}.agent-stop-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,#b33b3b 34%,var(--theme-line, #e5e8ef));border-radius:8px;color:#b33b3b;background:color-mix(in srgb,#fff0f0 62%,var(--theme-surface, #fff));cursor:pointer}.agent-stop-button:hover{border-color:#b33b3b;background:color-mix(in srgb,#ffe3e3 70%,var(--theme-surface, #fff))}.agent-busy-send-hint{padding:0 12px 8px 52px;color:var(--theme-muted, #747b89);font-size:11px}.agent-queue-list{display:grid;gap:6px;max-height:212px;padding:8px 10px;overflow-y:auto;border-top:1px solid var(--theme-line, #e5e8ef);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 6%,var(--theme-surface, #fff))}.agent-queue-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto 32px;align-items:center;gap:8px;min-width:0;min-height:42px;padding:5px 6px 5px 8px;border:1px solid var(--theme-line, #e5e8ef);border-radius:10px;color:var(--theme-heading, #171b24);background:var(--theme-surface, #fff)}.agent-queue-position{color:var(--theme-muted, #747b89);font-size:18px;line-height:1;text-align:center}.agent-queue-copy{display:grid;min-width:0;gap:2px;font-size:12px;font-weight:750}.agent-queue-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-queue-copy small{color:var(--theme-muted, #747b89);font-size:10px}.agent-queue-steer,.agent-queue-delete{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;color:var(--theme-muted, #747b89);background:transparent;cursor:pointer}.agent-queue-steer{gap:5px;min-height:30px;padding:0 8px;font-size:12px;font-weight:850}.agent-queue-delete{width:32px;height:30px}.agent-queue-steer:hover:not(:disabled){color:var(--theme-heading, #171b24);background:var(--theme-surface-2, #f7f8fb)}.agent-queue-delete:hover:not(:disabled){color:#b33b3b;background:color-mix(in srgb,#ffe3e3 70%,var(--theme-surface, #fff))}.agent-queue-steer:disabled,.agent-queue-delete:disabled{cursor:not-allowed;opacity:.42}.agent-composer-toolbar{display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:8px;min-width:0;padding:8px 10px;border-top:1px solid var(--theme-line, #e5e8ef);background:var(--theme-surface-2, #f7f8fb)}.agent-workspace-picker,.agent-context-meter,.agent-mode-switch{display:inline-flex;align-items:center;min-height:30px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff)}.agent-workspace-picker{flex:1 1 150px;gap:7px;min-width:110px;max-width:230px;padding:0 10px;color:var(--theme-text, #1d2230);font-weight:900;cursor:pointer}.agent-workspace-picker span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-mode-switch{gap:2px;padding:2px}.agent-mode-switch button{min-height:24px;padding:0 9px;border:0;border-radius:6px;color:var(--theme-muted, #747b89);background:transparent;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.agent-mode-switch button.active{color:var(--theme-primary-text, #fff);background:var(--theme-primary, #111827)}.agent-reasoning-control{display:inline-flex;align-items:center;gap:0;padding:0 4px 0 10px;border:1px solid var(--theme-line, #e5e8ef);border-radius:9px;color:var(--theme-muted, #747b89);background:var(--theme-surface, #fff);font-size:12px;font-weight:900;white-space:nowrap;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.agent-reasoning-control.active{color:var(--theme-heading, #171b24);border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 34%,var(--theme-line, #e5e8ef));background:color-mix(in srgb,var(--theme-accent, #2f74ff) 8%,var(--theme-surface, #fff))}.agent-reasoning-toggle{display:inline-flex;align-items:center;gap:6px;height:100%;padding:0;border:0;background:transparent;color:inherit;font-size:inherit;font-weight:inherit;cursor:pointer;outline:none}.agent-reasoning-control.active .agent-reasoning-toggle svg{color:var(--theme-accent, #2f74ff)}.agent-reasoning-switch{position:relative;width:27px;height:16px;margin-left:1px;border-radius:999px;background:color-mix(in srgb,var(--theme-muted, #747b89) 28%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-muted, #747b89) 14%,transparent);transition:background-color .16s ease}.agent-reasoning-switch i{position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:var(--theme-surface, #fff);box-shadow:0 1px 3px #0000003d;transition:transform .16s ease}.agent-reasoning-control.active .agent-reasoning-switch{background:var(--theme-accent, #2f74ff)}.agent-reasoning-control.active .agent-reasoning-switch i{transform:translate(11px)}.agent-reasoning-divider{display:inline-block;width:1px;height:14px;margin:0 6px 0 8px;background:color-mix(in srgb,var(--theme-muted, #747b89) 25%,transparent)}.agent-reasoning-effort{position:relative;display:inline-flex;align-items:center;gap:4px;height:100%}.agent-reasoning-effort-label{color:color-mix(in srgb,currentColor 78%,transparent);font-size:11px;font-weight:800}html[data-theme] .agent-reasoning-effort select,.agent-reasoning-effort select{height:100%;min-width:38px;padding:0 18px 0 0;border:0!important;border-radius:0;background:transparent!important;color:inherit;-moz-appearance:none;appearance:none;-webkit-appearance:none;font-size:12px;font-weight:900;cursor:pointer;outline:none;box-shadow:none!important}.agent-reasoning-effort select option{background:var(--theme-surface, #1e222d);color:var(--theme-heading, #fff)}.agent-reasoning-effort .xlb-unified-select{width:auto;height:100%}.agent-reasoning-effort .xlb-select-trigger{gap:3px;width:auto;min-width:44px;min-height:0;height:100%;padding:0 16px 0 0;border:0;border-radius:0;color:inherit;background:transparent;font-size:12px;font-weight:900;box-shadow:none}.agent-reasoning-effort .xlb-select-indicator{width:12px;height:12px}.agent-reasoning-effort svg{position:absolute;right:2px;pointer-events:none;color:inherit;opacity:.85}.agent-reasoning-control :is(button,select):disabled{cursor:not-allowed;opacity:.55}.agent-composer-toolbar :is(.agent-workspace-picker,.agent-mode-switch,.agent-reasoning-control,.web-search-toggle.compact,.agent-context-meter){box-sizing:border-box;height:34px;min-height:34px}.agent-context-meter{gap:6px;padding:0 9px;color:var(--theme-muted, #747b89);font-size:12px;font-weight:900;white-space:nowrap}.agent-context-meter svg{fill:#16a084;color:#16a084}.agent-queue-status{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid color-mix(in srgb,var(--theme-accent, #2f74ff) 24%,var(--theme-line, #e5e8ef));border-radius:8px;color:var(--theme-heading, #171b24);background:color-mix(in srgb,var(--theme-accent, #2f74ff) 8%,var(--theme-surface, #fff));font-size:12px;font-weight:900}.agent-settings-summary{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff)}.agent-settings-summary>svg{justify-self:center;color:var(--theme-accent, #2f74ff)}.agent-settings-summary b,.agent-channel-card b{color:var(--theme-heading, #171b24)}.agent-settings-summary small,.agent-channel-card small{display:block;margin-top:3px;color:var(--theme-muted, #747b89);line-height:1.45}.agent-context-settings-row{align-items:start}.agent-context-readout{display:grid;align-content:start;gap:7px;min-width:0;padding-top:26px}.agent-context-readout button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-heading, #171b24);background:var(--theme-surface, #fff);font-weight:850}.agent-context-readout span{min-width:0;color:var(--theme-muted, #747b89);font-size:12px;font-weight:760;line-height:1.35}.settings-section-title.compact{margin-top:4px}.settings-section-title.compact h3{font-size:16px}.agent-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-channel-access-gate{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px 16px;min-width:0;padding:20px;border:1px solid color-mix(in srgb,#b88925 34%,var(--theme-line, #e5e8ef));border-radius:14px;color:var(--theme-text, #202633);background:color-mix(in srgb,#f8edcf 42%,var(--theme-surface, #fff))}.agent-channel-access-icon,.agent-channel-access-notice-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#9a6a10;background:color-mix(in srgb,#e5b957 22%,var(--theme-surface, #fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,#b88925 25%,transparent)}.agent-channel-access-copy{display:grid;gap:6px;min-width:0}.agent-channel-access-copy>small,.agent-channel-access-notice>div>small{color:#9a6a10;font-size:11px;font-weight:900;letter-spacing:.05em}.agent-channel-access-copy h4,.agent-channel-access-notice h2{margin:0;color:var(--theme-heading, #171b24)}.agent-channel-access-copy h4{font-size:18px}.agent-channel-access-copy p,.agent-channel-access-notice p{margin:0;color:var(--theme-muted, #687386);font-size:13px;line-height:1.6}.agent-channel-recharge-prompt{color:#8a6217!important;font-weight:760}.agent-channel-access-facts{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.agent-channel-access-facts>span{display:grid;gap:4px;min-width:0;padding:11px 12px;border:1px solid color-mix(in srgb,#b88925 20%,var(--theme-line, #e5e8ef));border-radius:10px;background:color-mix(in srgb,var(--theme-surface, #fff) 82%,transparent)}.agent-channel-access-facts small{color:var(--theme-muted, #687386);font-size:11px}.agent-channel-access-facts b{color:var(--theme-heading, #171b24);font-size:13px;overflow-wrap:anywhere}.agent-channel-access-actions,.agent-channel-access-notice-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:9px}.agent-channel-access-actions button,.agent-channel-access-notice-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:0 13px;border:1px solid var(--theme-line, #e5e8ef);border-radius:9px;color:var(--theme-heading, #171b24);background:var(--theme-surface, #fff);font-weight:850}.agent-channel-access-actions .primary,.agent-channel-access-notice-actions .primary{border-color:var(--theme-accent, #2f74ff);color:#fff;background:var(--theme-accent, #2f74ff)}.agent-channel-access-notice-backdrop{z-index:1210}.agent-channel-access-notice{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;width:min(560px,calc(100vw - 32px));padding:24px;border:1px solid color-mix(in srgb,#b88925 30%,var(--theme-line, #e5e8ef));border-radius:18px;color:var(--theme-text, #202633);background:var(--theme-surface, #fff);box-shadow:0 30px 90px #141d303d}.agent-channel-access-notice>div:not(.agent-channel-access-notice-actions){display:grid;gap:8px}.agent-channel-access-notice h2{font-size:22px}.agent-channel-access-notice-actions{justify-content:flex-end}@media(max-width:720px){.agent-channel-access-gate,.agent-channel-access-notice,.agent-channel-access-facts{grid-template-columns:1fr}.agent-channel-access-actions,.agent-channel-access-notice-actions{flex-direction:column}.agent-channel-access-actions button,.agent-channel-access-notice-actions button{width:100%}}.agent-channel-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;background:var(--theme-surface, #fff)}.agent-channel-card.enabled{border-color:color-mix(in srgb,var(--theme-accent, #2f74ff) 30%,var(--theme-line, #e5e8ef))}.agent-channel-card.configured{border-color:color-mix(in srgb,#16a084 42%,var(--theme-line, #e5e8ef))}.agent-channel-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.agent-channel-head label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;min-width:0;cursor:pointer}.agent-channel-state{padding:5px 8px;border-radius:999px;color:var(--theme-muted, #747b89);background:var(--theme-input, #f3f5f9);font-size:11px;font-weight:900;white-space:nowrap}.agent-channel-state.ok{color:#087863;background:#dff8f1}.agent-channel-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.agent-channel-toggle{display:inline-flex;align-items:center;gap:3px;min-height:26px;padding:0 7px;border:1px solid var(--theme-line, #e5e8ef);border-radius:7px;color:var(--theme-muted, #747b89);background:var(--theme-input, #f3f5f9);font-size:11px;font-weight:900;white-space:nowrap}.agent-channel-toggle svg{transition:transform .16s ease}.agent-channel-card:not(.collapsed) .agent-channel-toggle svg{transform:rotate(180deg)}.agent-channel-card.collapsed{gap:8px;min-height:112px;padding:11px 12px}.agent-channel-compact{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:8px 10px;border:1px solid color-mix(in srgb,#16a084 28%,var(--theme-line, #e5e8ef));border-radius:8px;color:#087863;background:color-mix(in srgb,#dff8f1 62%,var(--theme-surface, #fff));font-size:12px;font-weight:820;line-height:1.35}.agent-channel-compact span{min-width:0}.agent-channel-body{display:grid;gap:12px}.agent-channel-qr-actions{display:grid;gap:10px}.agent-channel-qr-actions>button{justify-self:start;min-height:34px;padding:0 12px;border:1px solid var(--theme-line, #e5e8ef);border-radius:8px;color:var(--theme-heading, #171b24);background:var(--theme-input, #f3f5f9);font-weight:900}.channel-qr-panel{display:grid;justify-items:start;gap:8px;padding:12px;border:1px dashed color-mix(in srgb,var(--theme-accent, #2f74ff) 45%,var(--theme-line, #e5e8ef));border-radius:8px;background:var(--theme-input, #f3f5f9)}.channel-qr-panel img{width:176px;height:176px;border-radius:8px;background:#fff}.channel-qr-panel span,.agent-channel-note{color:var(--theme-muted, #747b89);font-size:12px;font-weight:800;line-height:1.45}.channel-qr-panel code{width:100%;max-height:52px;overflow:auto;padding:8px;border-radius:6px;color:var(--theme-heading, #171b24);background:var(--theme-surface, #fff);font-size:11px;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}.agent-channel-note.error{color:#dc2626}.agent-channel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(max-width:980px){.settings-modal .agent-context-readout{padding-top:0}}.asset-preview-modal{width:fit-content;max-width:calc(100vw - 40px);overflow:auto}.asset-preview-modal .image-preview-meta{width:var(--asset-preview-shell-width, min(980px, calc(100vw - 96px) ));max-width:calc(100vw - 96px)}.asset-preview-heading{min-width:0;max-width:min(760px,calc(100vw - 140px))}.asset-preview-prompt-shell{position:relative;min-width:0}.asset-preview-prompt-shell.has-toggle{padding-right:58px}.asset-preview-prompt{min-width:0;margin:0;color:var(--theme-heading, #10131a);font-size:22px;font-weight:880;letter-spacing:0;line-height:1.18;overflow-wrap:anywhere}.asset-preview-prompt-text{display:block;min-width:0;white-space:pre-wrap}.asset-preview-prompt.collapsible:not(.expanded) .asset-preview-prompt-text{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.asset-preview-prompt.expanded .asset-preview-prompt-text{max-height:min(24vh,220px);overflow:auto;padding-right:4px}.asset-preview-prompt-toggle{position:absolute;top:2px;right:0;z-index:3;display:inline-flex;align-items:center;gap:4px;min-height:22px;padding:0;border:0;color:var(--theme-accent, #3268f2);background:transparent;font-size:12px;font-weight:820;line-height:1;pointer-events:auto;white-space:nowrap}.asset-preview-prompt-toggle:hover,.asset-preview-prompt-toggle:focus-visible{color:var(--theme-heading, #141922)}.asset-preview-prompt-toggle svg{flex:0 0 auto;transition:transform .18s ease}.asset-preview-prompt-toggle svg.rotated{transform:rotate(180deg)}.asset-preview-stage{display:grid;place-items:center;justify-self:center;width:var(--asset-preview-frame-width, min(980px, calc(100vw - 96px) ));height:var(--asset-preview-frame-height, min(72vh, 760px));min-height:0;max-width:calc(100vw - 96px);max-height:calc(100vh - 220px);aspect-ratio:var(--asset-preview-aspect, 16 / 9);overflow:hidden;border-radius:8px;background:color-mix(in srgb,var(--theme-surface-2, #f4f6fa) 94%,transparent)}.asset-preview-stage img,.asset-preview-stage video{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}.asset-preview-stage.type-video{background:#020306}.asset-preview-modal .image-preview-meta{flex-wrap:wrap}.asset-preview-modal .asset-actions{justify-content:flex-end;margin-left:auto}@media(max-width:720px){.asset-preview-modal{max-width:calc(100vw - 20px);padding:14px}.asset-preview-modal .image-preview-meta{max-width:calc(100vw - 48px)}.asset-preview-stage{max-width:calc(100vw - 48px);max-height:calc(100vh - 180px)}}.asset-preview-stage.type-text{background:color-mix(in srgb,var(--theme-surface-2, #1b202a) 94%,#000 6%)}.asset-preview-document{display:grid;place-items:center;gap:14px;max-width:620px;padding:36px;color:var(--theme-muted, #9aa3b2);text-align:center}.asset-preview-document p,.asset-preview-document pre{margin:0;color:var(--theme-heading, #f5f7fb);font-size:20px;font-weight:830;line-height:1.55}.asset-preview-document pre{width:min(680px,76vw);max-height:58vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:15px;font-weight:650;text-align:left}.tasks-column{border-color:#e5eaf2}.task-card{border-color:#e5eaf2;background:#fff}.compact-thumb{width:80px;height:48px;color:#9aa3b2}.compact-thumb video{width:100%;height:100%;object-fit:cover}.asset-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:12px}.asset-thumb{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid #e5eaf2;border-radius:8px;background:#eef2f7}.asset-thumb img{width:100%;height:100%;object-fit:cover}.empty-state{border-color:#d8e0ec;border-radius:8px;background:#ffffffd1}.modal-backdrop{background:#12172261}.settings-modal,.image-preview-modal{border-color:#e5eaf2;border-radius:8px;box-shadow:0 26px 80px #1217223d}.modal-actions button,.settings-message,.error-banner{border-radius:8px}@media(max-width:1240px){.xlb-light-app{grid-template-columns:var(--xlb-left-sidebar-width, 308px) minmax(0,1fr);background:linear-gradient(90deg,#f8fafc 0,#f8fafc var(--xlb-left-sidebar-width, 308px),#ffffff var(--xlb-left-sidebar-width, 308px),#ffffff 100%)}.workflow-page,.video-studio{grid-template-columns:minmax(0,1fr)}.video-stage-panel{--creation-record-left: max(28px, calc((100% - 820px)/2 - 44px) )}.video-settings-panel{max-height:none}.video-prompt-row.light{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.video-mode-page .xlb-light-main{--video-workspace-inline-gap: 14px}.xlb-light-app{grid-template-columns:1fr;background:#fff}.xlb-light-main{min-height:100vh}.video-stage-panel{--creation-record-left: 0px;--video-record-column: 100%}.xlb-light-header{padding:0 16px}.header-actions .status-pill{display:none}.chat-dock,.image-dock,.video-dock-unified,.error-banner.floating{width:calc(100% - 28px)}.xlb-light-welcome h2,.image-empty-panel h2{font-size:34px}.suggestion-cloud,.image-empty-panel,.tasks-page{grid-template-columns:1fr}.image-inspiration-panel{display:none}.workflow-topbar{grid-template-columns:1fr;grid-template-areas:"project" "nodes" "meter" "run"}.workflow-run-meter{min-width:0}}@media(max-width:640px){.xlb-light-header{grid-template-columns:42px minmax(0,1fr) 76px;gap:8px;padding:0 12px}.header-eyebrow{display:none}.xlb-light-header h1{font-size:18px}.chat-scroll{padding:24px 14px 158px}.xlb-light-welcome h2,.image-empty-panel h2{font-size:30px}.suggestion-cloud button{grid-template-columns:34px minmax(0,1fr);min-height:76px;padding:12px}.suggestion-cloud button>svg{width:34px;height:34px;padding:8px}.composer-bar{gap:8px;padding-left:14px;padding-right:14px}.composer-tools-left{gap:8px;padding-bottom:2px}.composer-chip,.active-tool,.select-chip{min-height:32px;padding:0 9px;font-size:13px}.chat-control-row{gap:8px}.chat-thinking-toggle,.advanced-toggle{min-height:32px}.xlb-light-composer{--composer-textarea-min-height: 74px;--composer-textarea-padding: 18px 20px 6px;--composer-textarea-font-size: 16px}.composer-drop-overlay{padding:14px}.composer-drop-overlay svg{width:42px;height:42px;padding:10px}.composer-drop-overlay span{font-size:15px}.video-stage-head{display:grid}.video-stage-metrics{justify-content:flex-start}.video-toolbar label{min-width:190px}.task-card.with-thumb{grid-template-columns:72px minmax(0,1fr)}.compact-thumb{width:72px;height:46px}}html[data-theme]{--theme-bg: #f4f6f9;--theme-main: #ffffff;--theme-sidebar: #f7f9fc;--theme-surface: #ffffff;--theme-surface-2: #f7f8fb;--theme-surface-3: #eef2f7;--theme-input: #ffffff;--theme-text: #151922;--theme-heading: #10131a;--theme-muted: #596273;--theme-muted-2: #747c8b;--theme-line: #e3e7ee;--theme-line-strong: #cfd7e6;--theme-accent: #3268f2;--theme-accent-2: #18a27f;--theme-accent-soft: #edf3ff;--theme-accent-readable: #2454c9;--theme-accent-contrast: #ffffff;--theme-accent-2-readable: #0f8069;--theme-primary: #15171a;--theme-primary-text: #ffffff;--theme-success: #0f8069;--theme-danger: #bd3e35;--theme-warning: #d99a24;--theme-warning-readable: #805200;--theme-disabled-text: #7d8796;--theme-shadow: 0 16px 44px rgba(25, 31, 43, .08);--theme-float-shadow: 0 22px 64px rgba(42, 64, 104, .14);--theme-grid-dot: rgba(70, 79, 98, .12);--theme-grid-line: rgba(21, 23, 26, .04)}html[data-theme=dark]{--theme-bg: #0b0f14;--theme-main: #111720;--theme-sidebar: #0e131b;--theme-surface: #18202b;--theme-surface-2: #202a37;--theme-surface-3: #2b3747;--theme-input: #121922;--theme-text: #e9eef6;--theme-heading: #f8fafc;--theme-muted: #bac4d2;--theme-muted-2: #9ca8ba;--theme-line: #344052;--theme-line-strong: #46566c;--theme-accent: #7ab7ff;--theme-accent-2: #64d8bf;--theme-accent-soft: rgba(122, 183, 255, .15);--theme-accent-readable: #a9d1ff;--theme-accent-contrast: #08111d;--theme-accent-2-readable: #86e6d3;--theme-primary: #2a405f;--theme-primary-text: #f8fbff;--theme-success: #69d6ba;--theme-danger: #ff8b80;--theme-warning: #f1bf68;--theme-warning-readable: #f1bf68;--theme-disabled-text: #8f9bad;--theme-shadow: 0 18px 52px rgba(0, 0, 0, .34);--theme-float-shadow: 0 24px 76px rgba(0, 0, 0, .42);--theme-grid-dot: rgba(150, 170, 205, .15);--theme-grid-line: rgba(170, 190, 225, .06)}html[data-theme=minimal]{--theme-bg: #f7f7f5;--theme-main: #fbfbfa;--theme-sidebar: #f0f0ee;--theme-surface: #ffffff;--theme-surface-2: #f3f3f1;--theme-surface-3: #e7e7e3;--theme-input: #ffffff;--theme-text: #202020;--theme-heading: #111111;--theme-muted: #5f5f5f;--theme-muted-2: #757575;--theme-line: #deded9;--theme-line-strong: #c7c7c1;--theme-accent: #222222;--theme-accent-2: #8d949e;--theme-accent-soft: #eeeeeb;--theme-accent-readable: #111111;--theme-accent-contrast: #ffffff;--theme-accent-2-readable: #4f5964;--theme-primary: #222222;--theme-primary-text: #ffffff;--theme-shadow: 0 14px 34px rgba(28, 28, 24, .06);--theme-float-shadow: 0 20px 54px rgba(28, 28, 24, .1);--theme-grid-dot: rgba(68, 68, 60, .12);--theme-grid-line: rgba(50, 50, 45, .045)}html[data-theme=warm]{--theme-bg: #fbf4e7;--theme-main: #fffaf0;--theme-sidebar: #f6ead8;--theme-surface: #fffdf8;--theme-surface-2: #f6eddf;--theme-surface-3: #eadbc6;--theme-input: #fffdf8;--theme-text: #2a2118;--theme-heading: #1f170f;--theme-muted: #6f5a43;--theme-muted-2: #846f58;--theme-line: #eadac7;--theme-line-strong: #dac2a8;--theme-accent: #b66b2a;--theme-accent-2: #3e8b71;--theme-accent-soft: #f5e4d0;--theme-accent-readable: #7a3f12;--theme-accent-contrast: #0b0b0c;--theme-accent-2-readable: #1f6f58;--theme-primary: #2a2118;--theme-primary-text: #fffaf0;--theme-danger: #b24a3e;--theme-warning: #b66b2a;--theme-warning-readable: #7a3f12;--theme-shadow: 0 16px 42px rgba(97, 64, 31, .09);--theme-float-shadow: 0 22px 60px rgba(97, 64, 31, .14);--theme-grid-dot: rgba(126, 91, 52, .14);--theme-grid-line: rgba(126, 91, 52, .05)}html[data-theme=mint]{--theme-bg: #eef8f2;--theme-main: #fbfffc;--theme-sidebar: #e6f4ed;--theme-surface: #ffffff;--theme-surface-2: #f0f9f5;--theme-surface-3: #dceee7;--theme-input: #ffffff;--theme-text: #13241f;--theme-heading: #0b1a15;--theme-muted: #526b62;--theme-muted-2: #6f857d;--theme-line: #d8eae2;--theme-line-strong: #bfd9cf;--theme-accent: #14936e;--theme-accent-2: #3a7bd5;--theme-accent-soft: #e4f5ee;--theme-accent-readable: #0b6f52;--theme-accent-contrast: #0b0b0c;--theme-accent-2-readable: #245fb6;--theme-primary: #0d3b31;--theme-primary-text: #f4fffb;--theme-shadow: 0 16px 42px rgba(24, 101, 78, .08);--theme-float-shadow: 0 22px 62px rgba(24, 101, 78, .12);--theme-grid-dot: rgba(38, 128, 98, .13);--theme-grid-line: rgba(38, 128, 98, .045)}html[data-theme=ocean]{--theme-bg: #edf6fb;--theme-main: #f8fcff;--theme-sidebar: #e5f1f7;--theme-surface: #ffffff;--theme-surface-2: #edf7fb;--theme-surface-3: #dcecf4;--theme-input: #ffffff;--theme-text: #10242c;--theme-heading: #071922;--theme-muted: #506b77;--theme-muted-2: #6f8792;--theme-line: #d7e7ef;--theme-line-strong: #bed5e2;--theme-accent: #0b6f86;--theme-accent-2: #276ef1;--theme-accent-soft: #e3f2f8;--theme-accent-readable: #07586d;--theme-accent-contrast: #f5fcff;--theme-accent-2-readable: #1f59c4;--theme-primary: #083341;--theme-primary-text: #f5fcff;--theme-shadow: 0 16px 42px rgba(18, 85, 112, .08);--theme-float-shadow: 0 22px 62px rgba(18, 85, 112, .13);--theme-grid-dot: rgba(24, 107, 138, .13);--theme-grid-line: rgba(24, 107, 138, .045)}html[data-theme=rose]{--theme-bg: #fff2f4;--theme-main: #fffafb;--theme-sidebar: #faeaf0;--theme-surface: #ffffff;--theme-surface-2: #fff3f6;--theme-surface-3: #f3dce5;--theme-input: #ffffff;--theme-text: #2d1d25;--theme-heading: #1d1017;--theme-muted: #6d5561;--theme-muted-2: #88707b;--theme-line: #efd8e0;--theme-line-strong: #ddbdc9;--theme-accent: #c84d6b;--theme-accent-2: #7d6bd1;--theme-accent-soft: #fae5eb;--theme-accent-readable: #9f2f4c;--theme-accent-contrast: #000000;--theme-accent-2-readable: #5f4bb0;--theme-primary: #3a1f2b;--theme-primary-text: #fff7fa;--theme-danger: #ba4055;--theme-shadow: 0 16px 42px rgba(125, 52, 78, .08);--theme-float-shadow: 0 22px 62px rgba(125, 52, 78, .13);--theme-grid-dot: rgba(182, 75, 108, .13);--theme-grid-line: rgba(182, 75, 108, .045)}html[data-theme=graphite]{--theme-bg: #151820;--theme-main: #1b1f28;--theme-sidebar: #12161d;--theme-surface: #232832;--theme-surface-2: #2b323f;--theme-surface-3: #353e4d;--theme-input: #1b2029;--theme-text: #eceff4;--theme-heading: #fbfcfe;--theme-muted: #c0c7d1;--theme-muted-2: #a4adb9;--theme-line: #394353;--theme-line-strong: #4c596c;--theme-accent: #d8ba73;--theme-accent-2: #7cc2ff;--theme-accent-soft: rgba(216, 186, 115, .16);--theme-accent-readable: #f0d48b;--theme-accent-contrast: #17130b;--theme-accent-2-readable: #a8d8ff;--theme-primary: #443924;--theme-primary-text: #fff3d2;--theme-success: #67d3b8;--theme-danger: #ff8d84;--theme-warning: #d8ba73;--theme-warning-readable: #e7c97f;--theme-disabled-text: #9099a8;--theme-shadow: 0 18px 52px rgba(0, 0, 0, .32);--theme-float-shadow: 0 24px 76px rgba(0, 0, 0, .44);--theme-grid-dot: rgba(214, 181, 109, .13);--theme-grid-line: rgba(214, 181, 109, .05)}html[data-theme] body{background:var(--theme-bg);color:var(--theme-text)}html[data-theme] .xlb-light-app{background:linear-gradient(90deg,var(--theme-sidebar) 0,var(--theme-sidebar) var(--xlb-left-sidebar-width, 308px),var(--theme-main) var(--xlb-left-sidebar-width, 308px),var(--theme-main) 100%);color:var(--theme-text)}html[data-theme] .xlb-light-sidebar,html[data-theme] .sidebar-footer,html[data-theme] .studio-page,html[data-theme] .xlb-light-main{background:var(--theme-main);color:var(--theme-text)}html[data-theme] .xlb-light-sidebar,html[data-theme] .sidebar-footer{background:var(--theme-sidebar);border-color:var(--theme-line)}html[data-theme] .xlb-light-header,html[data-theme] .studio-header{background:color-mix(in srgb,var(--theme-main) 92%,transparent);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] .xlb-light-header h1,html[data-theme] .studio-header h1,html[data-theme] .section-title h1,html[data-theme] .xlb-light-welcome h2,html[data-theme] .image-empty-panel h2,html[data-theme] .task-card b,html[data-theme] .history-row b,html[data-theme] .flow-node b,html[data-theme] .settings-modal h2,html[data-theme] .workflow-inspector h2{color:var(--theme-heading)}html[data-theme] .xlb-light-header p,html[data-theme] .studio-header p,html[data-theme] .modal-title p,html[data-theme] .field-hint,html[data-theme] .history-list h3,html[data-theme] .history-row time,html[data-theme] .task-card p,html[data-theme] .flow-node small,html[data-theme] .node-kicker,html[data-theme] .template-note,html[data-theme] .selected-node span,html[data-theme] .node-panel-title span,html[data-theme] .node-add-groups span,html[data-theme] .node-input-summary span,html[data-theme] .node-section-head p,html[data-theme] .workflow-double-click-hint,html[data-theme] .empty-log,html[data-theme] .node-output-body span,html[data-theme] .node-output-head{color:var(--theme-muted)}html[data-theme] textarea,html[data-theme] input,html[data-theme] select{background:var(--theme-input);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] textarea::placeholder,html[data-theme] input::placeholder{color:var(--theme-muted-2)}html[data-theme] textarea:focus,html[data-theme] input:focus,html[data-theme] select:focus{border-color:color-mix(in srgb,var(--theme-accent) 70%,var(--theme-line));box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent) 18%,transparent)}html[data-theme] .search-box,html[data-theme] .xlb-light-nav button.active,html[data-theme] .history-list button.active,html[data-theme] .history-list button:hover,html[data-theme] .xlb-light-composer,html[data-theme] .image-prompt-box,html[data-theme] .image-empty-panel,html[data-theme] .video-stage-panel,html[data-theme] .video-settings-panel,html[data-theme] .workflow-topbar,html[data-theme] .workflow-project-pill,html[data-theme] .workflow-inspector,html[data-theme] .tasks-column,html[data-theme] .task-card,html[data-theme] .history-row,html[data-theme] .asset-card,html[data-theme] .selected-node,html[data-theme] .parallel-node-actions,html[data-theme] .node-config-card,html[data-theme] .node-config-panel,html[data-theme] .node-config-section,html[data-theme] .node-input-summary,html[data-theme] .workflow-control-bar,html[data-theme] .workflow-output-actions,html[data-theme] .node-output-panel,html[data-theme] .workflow-view-controls,html[data-theme] .empty-log,html[data-theme] .log-item,html[data-theme] .template-note,html[data-theme] .settings-modal,html[data-theme] .image-preview-modal,html[data-theme] .empty-state{background:var(--theme-surface);border-color:var(--theme-line);color:var(--theme-text);box-shadow:var(--theme-shadow)}html[data-theme] .search-box,html[data-theme] .history-row span,html[data-theme] .history-row b,html[data-theme] .composer-chip,html[data-theme] .active-tool,html[data-theme] .select-chip,html[data-theme] .workflow-node-actions button,html[data-theme] .studio-header nav,html[data-theme] .node-mode-tabs,html[data-theme] .node-run-row,html[data-theme] .workflow-add-mode,html[data-theme] .flow-node em,html[data-theme] .workflow-edge-delete,html[data-theme] .workflow-selected-count,html[data-theme] .workflow-connection-draft,html[data-theme] .workflow-run-meter div,html[data-theme] .node-output-toggle,html[data-theme] .node-output-head button,html[data-theme] .node-panel-actions button,html[data-theme] .node-add-groups button,html[data-theme] .node-export-actions button,html[data-theme] .workflow-control-main button,html[data-theme] .workflow-add-mode button,html[data-theme] .workflow-new-node-buttons button,html[data-theme] .workflow-view-controls button,html[data-theme] .upload-drop,html[data-theme] .url-row button,html[data-theme] .provider-line span{background:var(--theme-surface-2);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] .xlb-light-nav button,html[data-theme] .history-list button,html[data-theme] .user-entry,html[data-theme] .workflow-node-actions button,html[data-theme] .studio-header nav button,html[data-theme] .download-links a,html[data-theme] .section-title button,html[data-theme] .parallel-node-actions button,html[data-theme] .node-panel-actions button,html[data-theme] .node-add-groups button,html[data-theme] .node-export-actions button,html[data-theme] .node-output-head button,html[data-theme] .node-output-toggle,html[data-theme] .workflow-control-main button,html[data-theme] .workflow-add-mode button,html[data-theme] .workflow-new-node-buttons button,html[data-theme] .workflow-edge-delete,html[data-theme] .workflow-view-controls button,html[data-theme] .modal-actions button,html[data-theme] .icon-button,html[data-theme] .delete-node-button{color:var(--theme-text)}html[data-theme] .icon-button{border-color:var(--theme-line);background:var(--theme-surface-2);box-shadow:none}html[data-theme] .icon-button:hover{border-color:var(--theme-line-strong);background:var(--theme-surface-3)}html[data-theme] .modal-close-button{color:var(--theme-heading);border-color:var(--theme-line-strong);background:var(--theme-surface)}html[data-theme] .modal-close-button:hover,html[data-theme] .modal-close-button:focus-visible{color:var(--theme-primary-text);border-color:var(--theme-primary);background:var(--theme-primary)}html[data-theme] .studio-header nav button.active,html[data-theme] .composer-chip.active,html[data-theme] .active-tool,html[data-theme] .select-chip.active,html[data-theme] .node-mode-tabs button.active,html[data-theme] .workflow-add-mode button.active{background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-primary-text)}html[data-theme] .new-chat-button{border-color:var(--theme-line);color:var(--theme-heading);background:var(--theme-surface-2);box-shadow:var(--theme-shadow)}html[data-theme] .new-chat-button:hover{border-color:color-mix(in srgb,var(--theme-accent) 34%,var(--theme-line));background:var(--theme-surface-3)}html[data-theme] .primary,html[data-theme] .modal-actions .primary,html[data-theme] .node-config-run,html[data-theme] .workflow-run-all,html[data-theme] .xlb-video-send,html[data-theme] .image-submit{background:var(--theme-primary);color:var(--theme-primary-text);box-shadow:var(--theme-float-shadow)}html[data-theme] .primary.ghost{background:var(--theme-surface);border-color:var(--theme-line);color:var(--theme-text);box-shadow:none}html[data-theme] .status-pill.ready,html[data-theme] .flow-node.done em,html[data-theme] .settings-message.ok{color:var(--theme-accent-2);background:color-mix(in srgb,var(--theme-accent-2) 13%,var(--theme-surface));border-color:color-mix(in srgb,var(--theme-accent-2) 28%,var(--theme-line))}html[data-theme] .status-pill,html[data-theme] .settings-message{color:var(--theme-warning);background:color-mix(in srgb,var(--theme-warning) 12%,var(--theme-surface));border-color:color-mix(in srgb,var(--theme-warning) 24%,var(--theme-line))}html[data-theme] .delete-node-button,html[data-theme] .log-item.error,html[data-theme] .settings-message:not(.ok){color:var(--theme-danger)}html[data-theme] .node-surface{border-color:var(--theme-line);background:radial-gradient(circle at 2px 2px,var(--theme-grid-dot) 1px,transparent 0),linear-gradient(90deg,var(--theme-grid-line) 1px,transparent 1px),linear-gradient(0deg,var(--theme-grid-line) 1px,transparent 1px),var(--theme-surface-2);background-size:18px 18px,42px 42px,42px 42px;box-shadow:var(--theme-shadow)}html[data-theme] .workflow-canvas-title{background:color-mix(in srgb,var(--theme-surface) 78%,transparent);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] .workflow-view-controls{background:color-mix(in srgb,var(--theme-surface) 86%,transparent);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] .workflow-view-controls span{color:var(--theme-text)}html[data-theme] .edge-link .edge-path{stroke:color-mix(in srgb,var(--theme-muted) 58%,transparent)}html[data-theme] .edge-link .edge-hit{stroke:color-mix(in srgb,var(--theme-accent) 1%,transparent)}html[data-theme] .edge-link.active .edge-path,html[data-theme] .edge-link.selected .edge-path{stroke:var(--theme-accent)}html[data-theme] .edge-link.done .edge-path,html[data-theme] .workflow-run-meter i,html[data-theme] .node-progress i,html[data-theme] .progress span{background:linear-gradient(90deg,var(--theme-accent-2),var(--theme-accent));stroke:var(--theme-accent-2)}html[data-theme] .flow-node{background:var(--theme-surface);border-color:var(--theme-line);color:var(--theme-text);box-shadow:var(--theme-shadow)}html[data-theme] .flow-node.selected{border-color:color-mix(in srgb,var(--theme-accent) 62%,var(--theme-line));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 16%,transparent),var(--theme-shadow)}html[data-theme] .node-port{background:var(--theme-surface);border-color:color-mix(in srgb,var(--theme-muted) 70%,var(--theme-line));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-surface) 86%,transparent)}html[data-theme] .node-port:hover,html[data-theme] .node-port.active,html[data-theme] .node-port.connectable{background:var(--theme-accent);border-color:var(--theme-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--theme-accent) 18%,transparent),0 0 0 1px color-mix(in srgb,var(--theme-primary-text) 70%,transparent) inset}html[data-theme] .node-output-body p,html[data-theme] .node-input-summary p,html[data-theme] .bubble p,html[data-theme] .message-list,html[data-theme] .node-config-title,html[data-theme] .node-panel-title b,html[data-theme] .node-section-head span,html[data-theme] .field-label{color:var(--theme-text)}html[data-theme] .message.assistant .bubble,html[data-theme] .bubble{background:var(--theme-surface-2);color:var(--theme-text)}html[data-theme] .message-rich-text h3,html[data-theme] .message-rich-text strong,html[data-theme] .message-rich-text em{color:var(--theme-heading)}html[data-theme] .message-rich-text code{color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 14%,var(--theme-surface))}html[data-theme] .message-rich-text pre{border-color:var(--theme-line);color:var(--theme-text);background:color-mix(in srgb,var(--theme-main) 86%,#000)}html[data-theme] .message-table-wrap{border-color:color-mix(in srgb,var(--theme-muted) 42%,var(--theme-line));background:var(--theme-surface);box-shadow:0 12px 28px color-mix(in srgb,var(--theme-main) 10%,transparent),0 0 0 1px color-mix(in srgb,var(--theme-muted) 18%,transparent) inset}html[data-theme] .message-table-toolbar{border-color:color-mix(in srgb,var(--theme-muted) 36%,var(--theme-line));color:var(--theme-muted);background:color-mix(in srgb,var(--theme-surface-2) 78%,var(--theme-accent) 7%)}html[data-theme] .message-table-download{border-color:color-mix(in srgb,var(--theme-accent) 32%,var(--theme-line));color:var(--theme-accent-readable, var(--theme-accent));background:var(--theme-surface);box-shadow:0 8px 18px color-mix(in srgb,var(--theme-main) 14%,transparent)}html[data-theme] .message-table-download:hover,html[data-theme] .message-table-download:focus-visible{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface))}html[data-theme] .message-table-download.copied{border-color:color-mix(in srgb,#16a34a 42%,var(--theme-line));color:#16a34a;background:color-mix(in srgb,#16a34a 10%,var(--theme-surface))}html[data-theme] .message-table-download.error{border-color:color-mix(in srgb,#dc2626 42%,var(--theme-line));color:#dc2626;background:color-mix(in srgb,#dc2626 9%,var(--theme-surface))}html[data-theme] .message-table{color:var(--theme-text)}html[data-theme] .message-table th{color:var(--theme-heading);background:color-mix(in srgb,var(--theme-surface-2) 78%,var(--theme-accent) 12%)}html[data-theme] .message-table th,html[data-theme] .message-table td{border-color:color-mix(in srgb,var(--theme-muted) 36%,var(--theme-line))}html[data-theme] .message-table td{background:var(--theme-surface)}html[data-theme] .message-table tbody tr:nth-child(2n) td{background:color-mix(in srgb,var(--theme-surface-2) 80%,transparent)}html[data-theme] .message-table tbody tr:hover td{background:color-mix(in srgb,var(--theme-accent) 9%,var(--theme-surface))}html[data-theme] .message.user .bubble,html[data-theme] .agent-message.user>div{background:var(--theme-accent);color:#fff}html[data-theme] .assistant-thinking-card{border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--theme-line));color:var(--theme-text);background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface-2))}html[data-theme] .assistant-thinking-card.streaming{border-color:var(--theme-line);background:color-mix(in srgb,var(--theme-surface-2) 92%,var(--theme-accent))}html[data-theme] .thinking-card-head{color:var(--theme-accent)}html[data-theme] .assistant-thinking-card.streaming .thinking-card-head{color:var(--theme-text)}html[data-theme] .thinking-card-head small,html[data-theme] .thinking-preview{color:var(--theme-muted)}html[data-theme] .thinking-step-row span{border-color:var(--theme-line);color:var(--theme-muted);background:var(--theme-surface)}html[data-theme] .thinking-step-row span.active{border-color:color-mix(in srgb,var(--theme-accent) 42%,var(--theme-line));color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 14%,var(--theme-surface))}html[data-theme] .thinking-preview{border-left-color:color-mix(in srgb,var(--theme-accent) 36%,transparent)}html[data-theme] .chat-attachment-card{background:var(--theme-surface-2);border-color:var(--theme-line);color:var(--theme-text)}html[data-theme] .chat-attachment-preview{color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 14%,var(--theme-surface))}html[data-theme] .chat-attachment-copy small{color:var(--theme-muted)}html[data-theme] .chat-attachment-card button{color:var(--theme-muted);background:var(--theme-surface);border-color:var(--theme-line)}html[data-theme] .chat-attachment-card button:hover{color:var(--theme-danger);background:color-mix(in srgb,var(--theme-danger) 10%,var(--theme-surface))}html[data-theme] .message.user .chat-attachment-card,html[data-theme] .agent-message.user .chat-attachment-card{color:var(--theme-text);background:color-mix(in srgb,var(--theme-surface) 94%,transparent);border-color:color-mix(in srgb,var(--theme-line) 82%,transparent)}html[data-theme] .xlb-light-composer.dragging-files{border-color:color-mix(in srgb,var(--theme-accent) 78%,var(--theme-line));box-shadow:0 20px 70px color-mix(in srgb,var(--theme-accent) 22%,transparent)}html[data-theme] .chat-drop-zone.dragging-files{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 18%,transparent)}html[data-theme] .chat-drop-overlay{background:color-mix(in srgb,var(--theme-main) 68%,transparent)}html[data-theme] .chat-drop-overlay-panel{color:var(--theme-accent);background:color-mix(in srgb,var(--theme-surface) 94%,transparent);border-color:color-mix(in srgb,var(--theme-accent) 28%,var(--theme-line));box-shadow:var(--theme-float-shadow)}html[data-theme] .chat-drop-icon{color:var(--theme-primary-text);background:var(--theme-primary);box-shadow:0 16px 32px color-mix(in srgb,var(--theme-accent) 24%,transparent)}html[data-theme] .chat-drop-overlay-panel>span:not(.chat-drop-icon){color:var(--theme-text)}html[data-theme] .chat-drop-overlay-panel small{color:var(--theme-muted)}html[data-theme] .composer-drop-overlay{color:var(--theme-accent);background:color-mix(in srgb,var(--theme-surface) 92%,transparent)}html[data-theme] .composer-drop-overlay svg{color:var(--theme-surface);background:var(--theme-accent)}html[data-theme] .composer-drop-overlay span{color:var(--theme-text)}html[data-theme] .composer-drop-overlay small{color:var(--theme-muted)}html[data-theme] .xlb-light-composer textarea,html[data-theme] .image-prompt-box textarea,html[data-theme] .video-dock-unified textarea,html[data-theme] .xlb-video-dock textarea{background:transparent;color:var(--theme-text)}html[data-theme] .composer-ref-row{border-bottom-color:color-mix(in srgb,var(--theme-line) 72%,transparent);background:color-mix(in srgb,var(--theme-surface-2) 56%,transparent)}html[data-theme] .image-composer:focus-within{border-color:color-mix(in srgb,var(--theme-accent) 32%,var(--theme-line));box-shadow:var(--theme-shadow)}html[data-theme] .image-composer textarea:focus,html[data-theme] .image-composer textarea:focus-visible{outline:none;border-color:transparent;box-shadow:none}html[data-theme] .mini-ref{border-color:var(--theme-line);background:var(--theme-surface-2)}html[data-theme] .mini-ref-remove{border-color:color-mix(in srgb,var(--theme-surface) 72%,transparent);color:#fff;background:color-mix(in srgb,#05070c 72%,transparent)}html[data-theme] .mini-ref-remove:hover,html[data-theme] .mini-ref-remove:focus-visible{background:var(--theme-danger)}html[data-theme] .image-canvas{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-main) 94%,var(--theme-bg)),var(--theme-bg) 100%)}html[data-theme] .segmented{border-color:var(--theme-line);background:var(--theme-surface);box-shadow:var(--theme-shadow)}html[data-theme] .segmented button{color:var(--theme-text);background:transparent}html[data-theme] .segmented button.active{color:var(--theme-primary-text);background:var(--theme-primary)}html[data-theme] .tool-round,html[data-theme] .voice-button{border:1px solid var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2)}html[data-theme] .divider{background:var(--theme-line)}html[data-theme] .modal-backdrop{background:color-mix(in srgb,var(--theme-bg) 62%,rgba(0,0,0,.45))}.theme-setting{display:grid;gap:14px;padding:16px;border:1px solid color-mix(in srgb,var(--theme-line, var(--line)) 86%,transparent);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--theme-surface, #fff) 92%,transparent),color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 96%,transparent)),var(--theme-surface-2, #f7f8fb);box-shadow:inset 0 1px color-mix(in srgb,#fff 55%,transparent)}.theme-setting-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.theme-setting-head small{max-width:430px;color:var(--theme-muted, var(--muted));text-align:right;line-height:1.45}.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-card{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:stretch;gap:12px;min-height:124px;padding:12px;border:1px solid color-mix(in srgb,var(--theme-line, var(--line)) 92%,transparent);border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--card-panel) 84%,#fff 16%),color-mix(in srgb,var(--card-bg) 86%,#fff 14%));color:#17202b;text-align:left;overflow:hidden;box-shadow:0 10px 30px #171f2e0e}.theme-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 16% 14%,color-mix(in srgb,var(--card-accent) 20%,transparent),transparent 34%),radial-gradient(circle at 88% 100%,color-mix(in srgb,var(--card-accent-2) 16%,transparent),transparent 35%);opacity:0;pointer-events:none;transition:opacity .18s ease}.theme-card:hover:before,.theme-card.active:before{opacity:1}.theme-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--card-accent) 42%,var(--theme-line, var(--line)));box-shadow:0 16px 42px #171f2e1c}.theme-card.active{border-color:var(--card-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--card-accent) 18%,transparent),0 18px 46px color-mix(in srgb,var(--card-accent) 16%,rgba(23,31,46,.12))}.theme-preview,.theme-copy,.theme-state{position:relative;z-index:1}.theme-preview{grid-row:1 / 3;display:grid;place-items:stretch;min-width:0}.theme-preview-window{position:relative;display:block;min-height:98px;border:1px solid color-mix(in srgb,var(--card-accent) 24%,rgba(255,255,255,.55));border-radius:12px;background:var(--card-bg);box-shadow:inset 0 1px #ffffff52,0 14px 28px #10141e1f;overflow:hidden}.theme-preview-window:before{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:9px;background:var(--card-panel)}.theme-preview-sidebar{position:absolute;top:10px;bottom:10px;left:10px;width:26px;border-radius:8px;background:color-mix(in srgb,var(--card-accent) 23%,var(--card-bg))}.theme-preview-main{position:absolute;top:20px;right:14px;left:46px;height:28px;border-radius:8px;background:linear-gradient(90deg,var(--card-accent),var(--card-accent-2));opacity:.92}.theme-preview-line{position:absolute;right:16px;left:48px;bottom:24px;height:5px;border-radius:99px;background:color-mix(in srgb,var(--card-accent) 22%,var(--card-panel))}.theme-preview-line.wide{bottom:36px;width:42px;left:auto}.theme-preview-dot{position:absolute;bottom:14px;width:10px;height:10px;border-radius:50%;background:var(--card-accent)}.theme-preview-dot.one{left:52px}.theme-preview-dot.two{left:68px;background:var(--card-accent-2)}.theme-card b,.theme-card small{min-width:0;overflow:hidden;text-overflow:ellipsis}.theme-card b{color:#111827;font-size:15px;line-height:1.2}.theme-copy{display:grid;align-content:start;gap:8px;min-width:0}.theme-title-row{display:grid;gap:6px;min-width:0}.theme-title-row em{justify-self:start;padding:3px 8px;border-radius:99px;color:color-mix(in srgb,var(--card-accent) 82%,#101827);background:color-mix(in srgb,var(--card-accent) 13%,var(--theme-surface, #fff));font-size:11px;font-style:normal;font-weight:820}.theme-card small{display:-webkit-box;color:#657083;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.theme-state{grid-column:2;align-self:end;justify-self:start;display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:0 9px;border:1px solid color-mix(in srgb,var(--card-accent) 22%,var(--theme-line, var(--line)));border-radius:99px;color:#4e5969;background:#ffffffad;font-size:11px;font-weight:850}.theme-card.active .theme-state{color:#fff;border-color:var(--card-accent);background:linear-gradient(90deg,var(--card-accent),var(--card-accent-2))}.theme-card.theme-dark,.theme-card.theme-graphite{color:#eef3f8}.theme-card.theme-dark b,.theme-card.theme-graphite b{color:#fff}.theme-card.theme-dark small,.theme-card.theme-graphite small{color:#c4ccd8}.theme-card.theme-dark .theme-title-row em,.theme-card.theme-graphite .theme-title-row em{color:color-mix(in srgb,var(--card-accent) 74%,#ffffff);background:color-mix(in srgb,var(--card-accent) 16%,rgba(255,255,255,.08))}.theme-card.theme-dark .theme-state,.theme-card.theme-graphite .theme-state{color:#d8dee8;background:#0c0f167a}html[data-theme] .settings-modal{width:min(960px,100%);max-height:calc(100vh - 40px);overflow:hidden}html[data-theme=dark] .flow-node.coral .node-icon,html[data-theme=graphite] .flow-node.coral .node-icon{background:#f97055}html[data-theme=dark] .flow-node.green .node-icon,html[data-theme=graphite] .flow-node.green .node-icon{background:#31c9a7}html[data-theme=dark] .flow-node.blue .node-icon,html[data-theme=graphite] .flow-node.blue .node-icon{background:#5aa7ff}html[data-theme=dark] .flow-node.amber .node-icon,html[data-theme=graphite] .flow-node.amber .node-icon{background:#d6b56d}html[data-theme] .search-box kbd,html[data-theme] .history-list h3 span{border:1px solid var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2)}html[data-theme] .history-list button small{color:var(--theme-muted)}html[data-theme] .sidebar-history-context-menu{border-color:var(--theme-line);color:var(--theme-text);background:color-mix(in srgb,var(--theme-surface) 96%,transparent);box-shadow:var(--theme-shadow)}html[data-theme] .sidebar-history-context-menu button:hover:not(:disabled){background:color-mix(in srgb,#b42318 12%,var(--theme-surface))}html[data-theme] .brand-avatar,html[data-theme] .user-photo,html[data-theme] .nav-icon,html[data-theme] .sidebar-current svg,html[data-theme] .suggestion-cloud button>svg{border:1px solid var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2);box-shadow:none}html[data-theme] .xlb-light-nav button:hover,html[data-theme] .history-list button:hover,html[data-theme] .composer-chip:hover,html[data-theme] .select-chip:hover,html[data-theme] .tool-round:hover{background:var(--theme-surface-2);border-color:var(--theme-line)}html[data-theme] .xlb-light-nav button.active .nav-icon{color:var(--theme-primary-text);background:var(--theme-primary);border-color:var(--theme-primary)}html[data-theme] .nav-copy small,html[data-theme] .xlb-light-brand small,html[data-theme] .header-eyebrow,html[data-theme] .welcome-kicker,html[data-theme] .advanced-toggle,html[data-theme] .workflow-run-meter,html[data-theme] .workflow-run-meter span,html[data-theme] .history-list h3,html[data-theme] .sidebar-current span,html[data-theme] .sidebar-action-copy small,html[data-theme] .suggestion-cloud small,html[data-theme] .video-dock-summary,html[data-theme] .empty-state p,html[data-theme] .loading-card span{color:var(--theme-muted)}html[data-theme] .sidebar-current,html[data-theme] .user-entry,html[data-theme] .download-links a,html[data-theme] .suggestion-cloud button,html[data-theme] .quiet-command-row button,html[data-theme] .quick-start-grid button,html[data-theme] .video-actions button,html[data-theme] .video-prompt-row.light button,html[data-theme] .video-toolbar label,html[data-theme] .video-toolbar button,html[data-theme] .video-task-card,html[data-theme] .video-task-card.muted,html[data-theme] .video-brief-card.light,html[data-theme] .section-title button,html[data-theme] .node-mode-tabs button,html[data-theme] .video-stage-metrics span,html[data-theme] .section-count{border-color:var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2);box-shadow:none}html[data-theme] .sidebar-action-copy b{color:var(--theme-heading)}html[data-theme] .video-brief-card.light{border-color:var(--theme-line);color:var(--theme-text);background:linear-gradient(135deg,color-mix(in srgb,var(--theme-accent) 12%,transparent),color-mix(in srgb,var(--theme-accent-2) 10%,transparent)),var(--theme-surface-2)}html[data-theme] .video-brief-card.light>span{color:var(--theme-muted-2)}html[data-theme] .video-brief-card.light>b{color:var(--theme-heading)}html[data-theme] .video-brief-card.light .video-brief-meta span{border-color:var(--theme-line-strong);color:var(--theme-text);background:color-mix(in srgb,var(--theme-surface) 72%,var(--theme-surface-3))}html[data-theme] .video-ratio-grid,html[data-theme] .video-resolution-readout,html[data-theme] .advanced-details.light,html[data-theme] .upload-status{border-color:var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2)}html[data-theme] .video-ratio-grid button,html[data-theme] .video-quality-grid button,html[data-theme] .advanced-details.light summary{color:var(--theme-text)}html[data-theme] .video-quality-grid button{border-color:var(--theme-line);background:var(--theme-surface-2)}html[data-theme] .video-ratio-grid button small,html[data-theme] .video-quality-grid button b,html[data-theme] .video-resolution-readout span{color:var(--theme-muted)}html[data-theme] .video-resolution-readout b{color:var(--theme-heading)}html[data-theme] .video-ratio-grid button.active,html[data-theme] .video-quality-grid button.active{border-color:var(--theme-primary);color:var(--theme-primary-text);background:var(--theme-primary)}html[data-theme] .video-ratio-grid button.active small,html[data-theme] .video-quality-grid button.active b{color:var(--theme-primary-text)}html[data-theme] .video-feed-controls input::placeholder{color:var(--theme-muted-2)}html[data-theme] .sidebar-current b,html[data-theme] .xlb-light-brand b,html[data-theme] .suggestion-cloud b,html[data-theme] .workflow-project-pill b,html[data-theme] .workflow-canvas-title b,html[data-theme] .image-empty-panel h2,html[data-theme] .empty-state h2,html[data-theme] .loading-card b,html[data-theme] .video-stage-head h2,html[data-theme] .video-task-card p,html[data-theme] .image-card p,html[data-theme] .asset-card p{color:var(--theme-heading)}html[data-theme] .video-task-card span,html[data-theme] .video-task-card em,html[data-theme] .image-card span,html[data-theme] .asset-card span,html[data-theme] .selected-node em{color:var(--theme-muted)}html[data-theme] .xlb-light-brand{color:var(--theme-heading)}html[data-theme] .xlb-light-brand small{background:transparent}html[data-theme] .video-task-card a{color:var(--theme-accent)}html[data-theme] .task-thumb,html[data-theme] .compact-thumb,html[data-theme] .asset-thumb,html[data-theme] .empty-thumb{border-color:var(--theme-line);color:var(--theme-muted);background:var(--theme-surface-3)}html[data-theme] .image-inspiration-panel{border-color:var(--theme-line);background:linear-gradient(145deg,color-mix(in srgb,var(--theme-surface) 94%,transparent),color-mix(in srgb,var(--theme-surface-2) 96%,transparent)),var(--theme-surface);box-shadow:var(--theme-shadow)}html[data-theme] .inspiration-toolbar span,html[data-theme] .inspiration-swatches span{background:color-mix(in srgb,var(--theme-muted) 22%,var(--theme-surface-2))}html[data-theme] .inspiration-toolbar span:nth-child(2),html[data-theme] .inspiration-swatches span:nth-child(2){background:color-mix(in srgb,var(--theme-accent) 20%,var(--theme-surface-2))}html[data-theme] .inspiration-toolbar span:nth-child(3),html[data-theme] .inspiration-swatches span:nth-child(3){background:color-mix(in srgb,var(--theme-accent-2) 20%,var(--theme-surface-2))}html[data-theme] .inspiration-frame{border-color:var(--theme-line);color:var(--theme-muted);background:linear-gradient(135deg,color-mix(in srgb,var(--theme-accent) 10%,transparent),color-mix(in srgb,var(--theme-accent-2) 8%,transparent)),var(--theme-surface-2)}html[data-theme] .inspiration-frame b{color:var(--theme-heading)}html[data-theme] .video-toolbar{border-color:var(--theme-line);background:var(--theme-surface-2)}html[data-theme] .video-toolbar input{color:var(--theme-text)}html[data-theme] .video-toolbar input::placeholder{color:var(--theme-muted-2)}html[data-theme] .workflow-output-actions button,html[data-theme] .parallel-node-actions button,html[data-theme] .node-output-head button,html[data-theme] .node-output-toggle,html[data-theme] .asset-actions button,html[data-theme] .asset-actions a,html[data-theme] .section-title button,html[data-theme] .task-actions a,html[data-theme] .modal-actions button:not(.primary){border-color:var(--theme-line);color:var(--theme-text);background:var(--theme-surface-2)}html[data-theme] button:disabled,html[data-theme] .workflow-output-actions button:disabled,html[data-theme] .parallel-node-actions button:disabled,html[data-theme] .node-output-head button:disabled,html[data-theme] .node-output-toggle:disabled,html[data-theme] .modal-actions button:disabled{border-color:color-mix(in srgb,var(--theme-line) 72%,transparent);color:color-mix(in srgb,var(--theme-muted) 74%,var(--theme-surface));background:color-mix(in srgb,var(--theme-surface-2) 78%,var(--theme-main));opacity:1}html[data-theme] .status-pill{color:color-mix(in srgb,var(--theme-warning) 64%,var(--theme-text))}html[data-theme] .status-pill.ready{color:color-mix(in srgb,var(--theme-accent-2) 62%,var(--theme-text))}html[data-theme] .message.assistant .bubble{border-color:transparent;background:transparent;box-shadow:none}html[data-theme] .message.user .bubble,html[data-theme] .agent-message.user>div{border-color:color-mix(in srgb,var(--theme-accent) 24%,var(--theme-line));color:var(--theme-heading);background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-surface-2))}html[data-theme=dark] .message.user .bubble,html[data-theme=dark] .agent-message.user>div{border-color:#345a86;color:#eef6ff;background:#22395a}html[data-theme=graphite] .message.user .bubble,html[data-theme=graphite] .agent-message.user>div{border-color:#6d5c3d;color:#fff4d6;background:#3b3427}html[data-theme] .message-actions button,html[data-theme] .next-prompt-row button{border-color:var(--theme-line);color:var(--theme-muted);background:color-mix(in srgb,var(--theme-surface-2) 88%,transparent);box-shadow:none}html[data-theme] .message-actions button:hover,html[data-theme] .next-prompt-row button:hover{border-color:color-mix(in srgb,var(--theme-accent) 34%,var(--theme-line));color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface-2))}html[data-theme] .message-copy-feedback{border-color:color-mix(in srgb,#16a084 30%,var(--theme-line));color:#16a084;background:color-mix(in srgb,#16a084 12%,var(--theme-surface));box-shadow:var(--theme-shadow)}html[data-theme] .thinking-switch{border-color:transparent;color:var(--theme-text);background:var(--theme-surface-2)}html[data-theme] .thinking-switch:hover{border-color:color-mix(in srgb,var(--theme-accent) 30%,var(--theme-line));background:var(--theme-surface-3)}html[data-theme] .thinking-switch.active{border-color:color-mix(in srgb,var(--theme-accent) 14%,var(--theme-line));color:var(--theme-accent);background:var(--theme-surface-2)}html[data-theme] .thinking-state-dot{background:var(--theme-muted);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-muted) 16%,transparent)}html[data-theme] .thinking-switch.active .thinking-state-dot{background:var(--theme-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent) 18%,transparent)}html[data-theme] .chat-toast{border-color:color-mix(in srgb,var(--theme-accent) 30%,var(--theme-line));color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface));box-shadow:var(--theme-shadow)}html[data-theme=dark] .quick-start-grid button,html[data-theme=dark] .suggestion-cloud button,html[data-theme=dark] .quiet-command-row button,html[data-theme=dark] .video-prompt-row.light button,html[data-theme=dark] .video-task-card,html[data-theme=dark] .video-task-card.muted,html[data-theme=dark] .download-links a,html[data-theme=dark] .sidebar-current,html[data-theme=graphite] .quick-start-grid button,html[data-theme=graphite] .suggestion-cloud button,html[data-theme=graphite] .quiet-command-row button,html[data-theme=graphite] .video-prompt-row.light button,html[data-theme=graphite] .video-task-card,html[data-theme=graphite] .video-task-card.muted,html[data-theme=graphite] .download-links a,html[data-theme=graphite] .sidebar-current{background:var(--theme-surface)}@media(max-width:980px){html[data-theme] .xlb-light-app{background:var(--theme-main)}}@media(max-width:720px){.settings-modal{overflow-y:auto}.settings-layout{grid-template-columns:1fr}.settings-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-nav-button{grid-template-columns:1fr;justify-items:center;min-height:66px;text-align:center}.settings-nav-button small{display:none}.settings-panel{max-height:none;overflow:visible}.theme-grid{grid-template-columns:1fr}html[data-theme] .settings-modal{width:min(560px,100%);overflow-y:auto}.account-settings-card{grid-template-columns:52px minmax(0,1fr)}.account-login-button{grid-column:1 / -1}.account-setting-grid{grid-template-columns:1fr}}.workflow-flow-main{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--theme-main, #f5f7fb)}.juliu-workflow-shell{--juliu-bg: var(--theme-main, #f6f8fb);--juliu-panel: var(--theme-surface, #ffffff);--juliu-panel-soft: var(--theme-surface-2, #f8fafc);--juliu-border: var(--theme-line, #e3e7ef);--juliu-strong: var(--theme-heading, #151922);--juliu-text: var(--theme-text, #344052);--juliu-muted: var(--theme-muted, #718096);--juliu-accent: var(--theme-accent, #2563eb);--juliu-accent-strong: color-mix(in srgb, var(--theme-accent, #2563eb) 84%, var(--theme-heading, #151922));--juliu-grid: color-mix(in srgb, var(--theme-main, #f6f8fb) 92%, var(--theme-surface-2, #f8fafc));--juliu-grid-dot: var(--theme-grid-dot, color-mix(in srgb, var(--theme-muted, #718096) 18%, transparent));--juliu-danger: var(--theme-danger, #dc2626);--juliu-success: var(--theme-accent-2, #059669);display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,var(--juliu-inspector-width, 360px));grid-template-rows:66px minmax(0,1fr) 32px;position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;color:var(--juliu-text);background:var(--juliu-bg)}.juliu-workflow-shell.inspector-collapsed{grid-template-columns:minmax(0,1fr) 0}.juliu-topbar{grid-column:1 / -1;display:grid;grid-template-columns:minmax(132px,180px) minmax(390px,1fr) max-content;align-items:center;gap:12px;min-width:0;min-height:66px;overflow:visible;padding:10px 16px;border-bottom:1px solid var(--juliu-border);background:color-mix(in srgb,var(--juliu-panel) 94%,transparent)}.juliu-brand{display:inline-flex;align-items:center;gap:10px;min-width:0}.juliu-brand>svg{flex:0 0 auto;width:38px;height:38px;padding:9px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2563eb,#14b8a6)}.juliu-brand div{display:grid;gap:2px;min-width:0}.juliu-brand b{color:var(--juliu-strong);font-size:16px;line-height:1.15}.juliu-brand span,.juliu-muted,.juliu-palette-note,.juliu-statusbar{color:var(--juliu-muted);font-size:12px;font-weight:760}.juliu-topbar input,.juliu-topbar select,.juliu-field input,.juliu-field select,.juliu-field textarea,.juliu-url-row input{min-width:0;width:100%;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel-soft);color:var(--juliu-strong);outline:none}.juliu-topbar input{height:40px;padding:0 12px;font-weight:850}.juliu-project-switcher{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:8px;min-width:0}.juliu-project-select-shell{position:relative;min-width:0}.juliu-project-select-shell select{display:block;width:100%;min-width:0;height:40px;padding:0 34px 0 12px;font-weight:850;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.juliu-project-select-shell .xlb-unified-select{width:100%}.juliu-project-select-shell .xlb-select-trigger{min-height:40px;padding:0 12px;border-color:var(--juliu-border);border-radius:9px;color:var(--juliu-strong);background:var(--juliu-panel-soft);font-weight:850}.juliu-project-select-shell>svg{position:absolute;top:50%;right:11px;color:var(--juliu-muted);pointer-events:none;transform:translateY(-50%)}.juliu-create-workflow-button,.juliu-workflow-menu-button{flex:0 0 auto;min-height:40px;padding:0 11px;white-space:nowrap}.juliu-workflow-actions{position:relative;flex:0 0 auto}.juliu-workflow-popover{position:absolute;z-index:10020;top:calc(100% + 8px);right:0;display:grid;gap:6px;width:250px;padding:8px;border:1px solid var(--juliu-border);border-radius:12px;background:color-mix(in srgb,var(--juliu-panel) 98%,transparent);box-shadow:0 22px 64px #0f172a33}.juliu-workflow-popover button{justify-content:flex-start;min-height:56px;padding:9px;text-align:left}.juliu-workflow-popover button>svg{flex:0 0 auto;color:var(--juliu-accent)}.juliu-workflow-popover button.danger>svg{color:var(--juliu-danger)}.juliu-workflow-popover button span{display:grid;gap:2px;min-width:0}.juliu-workflow-popover button strong,.juliu-workflow-popover button small{min-width:0;overflow:hidden;text-overflow:ellipsis}.juliu-workflow-popover button strong{color:var(--juliu-strong);font-size:13px;white-space:nowrap}.juliu-workflow-popover button small{color:var(--juliu-muted);font-size:11px}.juliu-run-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;min-width:0}.juliu-run-controls select{flex:0 0 auto;width:148px;max-width:100%;height:38px;padding:0 8px}.juliu-run-controls .xlb-unified-select{flex:0 0 auto;width:148px;max-width:100%}.juliu-run-controls .xlb-select-trigger{min-height:38px;height:38px;padding:0 8px;border-color:var(--juliu-border);color:var(--juliu-strong);background:var(--juliu-panel-soft)}.juliu-field .xlb-select-trigger,.juliu-topbar .xlb-select-trigger{border-color:var(--juliu-border);color:var(--juliu-strong);background:var(--juliu-panel-soft)}.juliu-run-controls button{flex:0 0 auto}.workflow-modal-backdrop{z-index:10030;padding:24px;overflow:auto}.juliu-workflow-shell button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:34px;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel-soft);color:var(--juliu-text);font-size:13px;font-weight:850}.juliu-workflow-shell button.primary{border-color:var(--juliu-accent);background:var(--juliu-accent);color:#fff}.juliu-workflow-shell button:disabled{cursor:not-allowed;opacity:.52}.juliu-palette,.juliu-inspector{min-width:0;min-height:0;overflow:auto;padding:14px;background:var(--juliu-panel)}.juliu-palette{border-right:1px solid var(--juliu-border)}.juliu-inspector{position:relative;display:grid;width:var(--juliu-inspector-width, 360px);max-width:100%;overflow:hidden;padding:0;border-left:1px solid var(--juliu-border)}.juliu-inspector.collapsed{width:0;min-width:0;padding:0;border-left:0;overflow:hidden;pointer-events:none;visibility:hidden}.juliu-workflow-shell .juliu-inspector-toggle{position:absolute;z-index:24;top:82px;right:calc(var(--juliu-inspector-width, 360px) - 20px);width:20px;height:38px;min-height:38px;padding:0;border-color:color-mix(in srgb,var(--juliu-border) 82%,transparent);border-left:0;border-radius:0 8px 8px 0;color:var(--juliu-muted);background:color-mix(in srgb,var(--juliu-panel) 86%,var(--juliu-bg));box-shadow:none;opacity:.84}.juliu-workflow-shell .juliu-inspector-toggle:hover,.juliu-workflow-shell .juliu-inspector-toggle:focus-visible{border-color:color-mix(in srgb,var(--juliu-accent) 42%,var(--juliu-border));color:var(--juliu-accent);background:color-mix(in srgb,var(--juliu-accent) 8%,var(--juliu-panel));opacity:1}.juliu-workflow-shell .juliu-inspector-toggle.collapsed{right:0;border-right:0;border-left:1px solid color-mix(in srgb,var(--juliu-border) 82%,transparent);border-radius:8px 0 0 8px;background:color-mix(in srgb,var(--juliu-bg) 76%,var(--juliu-panel))}.juliu-inspector-scroll{min-width:0;min-height:0;height:100%;padding:0 14px 18px;overflow:auto;overflow-x:hidden;overflow-wrap:anywhere;scroll-behavior:smooth;scrollbar-gutter:stable}.juliu-inspector.compact .juliu-inspector-scroll{padding:0 10px 14px}.juliu-inspector-resize-handle{position:absolute;z-index:8;top:0;bottom:0;left:0;width:12px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;touch-action:none}.juliu-inspector-resize-handle:after{content:"";position:absolute;top:14px;bottom:14px;left:4px;width:2px;border-radius:999px;background:transparent;opacity:0;transition:opacity .18s ease,background .18s ease,box-shadow .18s ease}.juliu-inspector-resize-handle:hover:after,.juliu-inspector-resize-handle:focus-visible:after,body.resizing-workflow-inspector .juliu-inspector-resize-handle:after{background:var(--juliu-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--juliu-accent) 16%,transparent);opacity:1}body.resizing-workflow-inspector,body.resizing-workflow-inspector *{cursor:col-resize!important;-webkit-user-select:none;user-select:none}.juliu-panel-title,.juliu-inspector-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin-bottom:12px}.juliu-panel-title h2,.juliu-inspector-head h2{margin:0;color:var(--juliu-strong);font-size:17px;line-height:1.15}.juliu-inspector-head small{display:block;margin-bottom:3px;color:var(--juliu-muted);font-size:11px;font-weight:850}.juliu-inspector.compact .juliu-inspector-head{align-items:flex-start;gap:8px;margin-bottom:10px}.juliu-inspector.compact .juliu-inspector-head h2{font-size:15px;overflow-wrap:anywhere}.juliu-inspector.compact .juliu-inspector-head button{flex:0 0 auto;width:32px;min-height:32px;padding:0}.juliu-inspector-content{display:grid;align-content:start;min-width:0}.juliu-inspector-sticky{--inspector-node-accent: var(--juliu-accent);position:sticky;z-index:7;top:0;display:grid;gap:9px;min-width:0;margin:0 -14px 12px;padding:14px 14px 11px;border-bottom:1px solid color-mix(in srgb,var(--inspector-node-accent) 24%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-panel) 94%,transparent);box-shadow:0 10px 24px color-mix(in srgb,var(--juliu-bg) 78%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.16);backdrop-filter:blur(18px) saturate(1.16)}.juliu-inspector-sticky.coral{--inspector-node-accent: #ff6b4a}.juliu-inspector-sticky.green{--inspector-node-accent: #20b58f}.juliu-inspector-sticky.blue{--inspector-node-accent: #4f95ff}.juliu-inspector-sticky.amber{--inspector-node-accent: #d69a2d}.juliu-inspector-sticky.slate{--inspector-node-accent: #7186a3}.juliu-inspector-sticky.violet{--inspector-node-accent: #8f6bff}.juliu-inspector-hero{display:grid;grid-template-columns:42px minmax(0,1fr) 32px;align-items:start;gap:10px;margin:0}.juliu-inspector-node-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;color:#fff;background:linear-gradient(145deg,color-mix(in srgb,var(--inspector-node-accent) 92%,white 8%),color-mix(in srgb,var(--inspector-node-accent) 80%,#111827 20%));box-shadow:0 8px 18px color-mix(in srgb,var(--inspector-node-accent) 24%,transparent)}.juliu-inspector-title-copy{display:grid;gap:3px;min-width:0}.juliu-inspector-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.juliu-inspector-eyebrow small{min-width:0;margin:0;overflow:hidden;color:color-mix(in srgb,var(--inspector-node-accent) 72%,var(--juliu-strong));text-overflow:ellipsis;white-space:nowrap}.juliu-inspector-status{flex:0 0 auto;padding:3px 6px;border:1px solid color-mix(in srgb,var(--juliu-muted) 24%,var(--juliu-border));border-radius:999px;color:var(--juliu-muted);background:var(--juliu-panel-soft);font-size:9px;font-style:normal;font-weight:900;line-height:1;white-space:nowrap}.juliu-inspector-status.running{border-color:color-mix(in srgb,var(--juliu-accent) 42%,var(--juliu-border));color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 10%,var(--juliu-panel))}.juliu-inspector-status.success{border-color:color-mix(in srgb,var(--juliu-success) 42%,var(--juliu-border));color:var(--juliu-success);background:color-mix(in srgb,var(--juliu-success) 10%,var(--juliu-panel))}.juliu-inspector-status.failed{border-color:color-mix(in srgb,var(--juliu-danger) 42%,var(--juliu-border));color:var(--juliu-danger);background:color-mix(in srgb,var(--juliu-danger) 10%,var(--juliu-panel))}.juliu-inspector-title-copy h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.juliu-inspector-title-copy p{display:-webkit-box;margin:0;overflow:hidden;color:var(--juliu-muted);font-size:11px;font-weight:720;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.juliu-workflow-shell .juliu-inspector-close{width:32px;min-height:32px;padding:0;border-color:transparent;background:transparent;color:var(--juliu-muted)}.juliu-workflow-shell .juliu-inspector-close:hover,.juliu-workflow-shell .juliu-inspector-close:focus-visible{border-color:color-mix(in srgb,var(--inspector-node-accent) 34%,var(--juliu-border));color:var(--inspector-node-accent);background:color-mix(in srgb,var(--inspector-node-accent) 8%,var(--juliu-panel))}.juliu-inspector-nav{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding-bottom:2px;overflow:visible}.juliu-workflow-shell .juliu-inspector-nav button{flex:1 1 92px;min-width:0;min-height:29px;padding:0 8px;border-color:color-mix(in srgb,var(--inspector-node-accent) 24%,var(--juliu-border));border-radius:8px;color:color-mix(in srgb,var(--inspector-node-accent) 68%,var(--juliu-strong));background:color-mix(in srgb,var(--inspector-node-accent) 6%,var(--juliu-panel));font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.juliu-workflow-shell .juliu-inspector-nav button:hover,.juliu-workflow-shell .juliu-inspector-nav button:focus-visible{border-color:color-mix(in srgb,var(--inspector-node-accent) 52%,var(--juliu-border));background:color-mix(in srgb,var(--inspector-node-accent) 12%,var(--juliu-panel))}.juliu-inspector.compact .juliu-inspector-sticky{margin-right:-10px;margin-left:-10px;padding:10px 10px 9px}.juliu-inspector.compact .juliu-inspector-hero{grid-template-columns:36px minmax(0,1fr) 30px;gap:8px}.juliu-inspector.compact .juliu-inspector-node-icon{width:36px;height:36px;border-radius:9px}.juliu-add-mode{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin-bottom:12px;border:1px solid var(--juliu-border);border-radius:11px;background:var(--juliu-panel-soft)}.juliu-add-mode button{min-height:31px;border-color:transparent}.juliu-add-mode button.active{border-color:color-mix(in srgb,var(--juliu-accent) 48%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 18%,var(--juliu-panel));color:var(--juliu-accent-strong)}.juliu-palette>button{justify-content:flex-start;width:100%;min-height:64px;padding:11px;margin-bottom:8px;text-align:left}.juliu-palette>button>svg{flex:0 0 auto;color:var(--juliu-accent)}.juliu-palette>button span{display:grid;gap:3px;min-width:0}.juliu-palette>button strong,.juliu-palette>button small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.juliu-palette>button strong{color:var(--juliu-strong);font-size:14px}.juliu-palette>button small{color:var(--juliu-muted);font-size:11px}.juliu-palette-note{margin-top:12px;padding:10px;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel-soft);line-height:1.5}.juliu-canvas{position:relative;min-width:0;min-height:0;background:var(--juliu-grid)}.juliu-canvas .react-flow{width:100%;height:100%;min-height:0;background:var(--juliu-grid)}.juliu-canvas,.juliu-canvas .react-flow,.juliu-canvas .react-flow__renderer,.juliu-canvas .react-flow__pane,.juliu-canvas .react-flow__pane.draggable,.juliu-canvas .react-flow__node,.juliu-canvas .react-flow__node.draggable{cursor:default!important}.juliu-canvas .react-flow__node{overflow:visible}.juliu-canvas .react-flow__node:has(.juliu-cloud-node:hover),.juliu-canvas .react-flow__node:has(.juliu-cloud-node:focus-within){z-index:20!important}.juliu-canvas .react-flow__node.draggable .juliu-cloud-node{cursor:grab!important}.juliu-canvas .react-flow__pane.dragging,.juliu-canvas .react-flow__node.dragging,.juliu-canvas .react-flow__node.dragging .juliu-cloud-node{cursor:grabbing!important}.juliu-cloud-node .nodrag,.juliu-cloud-node .nowheel{cursor:auto}.juliu-canvas .react-flow__edge-path{stroke:color-mix(in srgb,var(--juliu-muted) 64%,transparent);stroke-width:2.2}.juliu-canvas .react-flow__edge-interaction{stroke-width:28;cursor:default}.juliu-canvas .react-flow__edgeupdater{cursor:pointer}.juliu-canvas .react-flow__edge.selected .react-flow__edge-path,.juliu-canvas .react-flow__edge:focus .react-flow__edge-path{stroke:var(--juliu-accent);stroke-width:3}.juliu-canvas .react-flow__edge.juliu-relay-edge .react-flow__edge-path{stroke:color-mix(in srgb,var(--juliu-accent) 78%,var(--juliu-muted));stroke-width:2.8}.juliu-canvas .react-flow__edge.juliu-relay-edge.has-upstream:not(.has-downstream) .react-flow__edge-path{stroke:color-mix(in srgb,#20b58f 76%,var(--juliu-muted))}.juliu-canvas .react-flow__edge.juliu-relay-edge.has-downstream:not(.has-upstream) .react-flow__edge-path{stroke:color-mix(in srgb,#ff6b4a 74%,var(--juliu-muted))}.juliu-relay-route-badges{position:absolute;z-index:4;display:inline-flex;gap:5px;align-items:center;pointer-events:none}.juliu-relay-route-badge{--relay-badge-color: var(--juliu-accent);display:inline-flex;align-items:center;gap:5px;height:25px;min-width:0;padding:2px 7px 2px 3px;border:1px solid color-mix(in srgb,var(--relay-badge-color) 38%,var(--juliu-border));border-radius:999px;background:color-mix(in srgb,var(--juliu-panel) 90%,#ffffff 10%);box-shadow:0 8px 18px #0f172a24;color:var(--juliu-strong);font-size:11px;font-weight:900;letter-spacing:0;line-height:1;white-space:nowrap}.juliu-relay-route-badge.upstream{--relay-badge-color: #20b58f}.juliu-relay-route-badge.downstream{--relay-badge-color: #ff6b4a}.juliu-relay-route-badge small{color:color-mix(in srgb,var(--relay-badge-color) 72%,var(--juliu-strong));font-size:10px;font-weight:900}.juliu-relay-route-badge b{display:grid;place-items:center;width:19px;height:19px;border-radius:999px;background:var(--relay-badge-color);color:#fff;font-size:11px;font-weight:950}.juliu-relay-route-badges.selected .juliu-relay-route-badge{border-color:var(--relay-badge-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--relay-badge-color) 18%,transparent),0 10px 22px #0f172a29}.juliu-canvas .react-flow__edge-text{paint-order:stroke;stroke:var(--juliu-panel);stroke-width:2px}.juliu-canvas .react-flow__edge-textbg{filter:drop-shadow(0 8px 16px rgba(15,23,42,.14))}.juliu-canvas .react-flow__connection-path{stroke:var(--juliu-accent);stroke-width:2.6}.juliu-callout-layer,.juliu-callout-connector-svg,.juliu-node-callout{position:absolute;left:0;top:0;pointer-events:none}.juliu-callout-layer{z-index:9}.juliu-callout-connector-svg{z-index:1;width:1px;height:1px;overflow:visible;color:var(--juliu-accent)}.juliu-callout-connector-svg.coral,.juliu-node-callout.coral{color:#ff6b4a}.juliu-callout-connector-svg.green,.juliu-node-callout.green{color:#20b58f}.juliu-callout-connector-svg.blue,.juliu-node-callout.blue{color:#4f95ff}.juliu-callout-connector-svg.amber,.juliu-node-callout.amber{color:#d69a2d}.juliu-callout-connector-svg.slate,.juliu-node-callout.slate{color:#7186a3}.juliu-callout-connector-svg.violet,.juliu-node-callout.violet{color:#8f6bff}.juliu-callout-connector-svg>line{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:butt;stroke-linejoin:round;filter:drop-shadow(0 1px 1px rgba(15,23,42,.18))}.juliu-callout-arrow-head{fill:currentColor;filter:drop-shadow(0 1px 1px rgba(15,23,42,.16))}.juliu-node-callout{z-index:2;display:grid;align-content:start;gap:6px;padding:10px 11px;overflow:hidden;border:1px solid color-mix(in srgb,currentColor 36%,var(--juliu-border));border-left:4px solid currentColor;border-radius:10px;background:color-mix(in srgb,var(--juliu-panel) 92%,currentColor 8%);box-shadow:0 14px 34px #0f172a24;cursor:grab!important;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}.juliu-node-callout.dragging{box-shadow:0 0 0 2px color-mix(in srgb,currentColor 22%,transparent),0 18px 42px #0f172a33;cursor:grabbing!important}.juliu-node-callout.selected{box-shadow:0 0 0 2px color-mix(in srgb,currentColor 34%,transparent),0 16px 38px #0f172a2e}.juliu-node-callout.editing{cursor:text!important;-webkit-user-select:text;user-select:text}.juliu-node-callout span{display:inline-flex;align-items:center;gap:6px;min-width:0;color:currentColor;font-size:11px;font-weight:900;line-height:1.2}.juliu-node-callout span svg{flex:0 0 auto}.juliu-node-callout p{display:-webkit-box;margin:0;overflow:hidden;color:var(--juliu-strong);font-size:12px;font-weight:760;line-height:1.48;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:5}.juliu-callout-inline-text{box-sizing:border-box;width:100%;min-height:74px;max-height:130px;margin:0;padding:8px 9px;border:1px solid color-mix(in srgb,currentColor 32%,var(--juliu-border));border-radius:8px;background:color-mix(in srgb,var(--juliu-panel) 96%,currentColor 4%);color:var(--juliu-strong);font-size:12px;font-weight:760;line-height:1.48;outline:none;resize:vertical;overflow-wrap:anywhere}.juliu-callout-inline-text:focus{border-color:color-mix(in srgb,currentColor 54%,var(--juliu-border));box-shadow:0 0 0 2px color-mix(in srgb,currentColor 16%,transparent)}.juliu-canvas .react-flow__controls,.juliu-canvas .react-flow__minimap{overflow:hidden;border:1px solid var(--juliu-border);border-radius:10px;background:var(--juliu-panel);box-shadow:none}.juliu-canvas .react-flow__controls-button{border-color:var(--juliu-border);background:var(--juliu-panel);color:var(--juliu-text)}.juliu-cloud-node{position:relative;display:grid;gap:9px;width:var(--workflow-node-width, 252px);min-height:150px;padding:13px 13px 11px;border:1px solid var(--juliu-border);border-left:5px solid var(--node-accent, var(--juliu-accent));border-radius:10px;background:var(--juliu-panel);box-shadow:0 12px 28px #0f172a14;transition:border-color .16s ease,box-shadow .16s ease}.juliu-cloud-node[data-tooltip]{overflow:visible}.juliu-cloud-node[data-tooltip]:after,.juliu-node-menu-grid button[data-tooltip]:after{width:max-content;max-width:min(280px,calc(100vw - 32px));color:#f8fafc;font-weight:760;word-break:break-word}.juliu-cloud-node[data-tooltip]:after{left:12px;transform:translateY(-4px) scale(.96)}.juliu-cloud-node[data-tooltip]:before{left:30px;transform:translateY(-4px) scale(.96)}.juliu-cloud-node[data-tooltip]:hover:after,.juliu-cloud-node[data-tooltip]:hover:before,.juliu-cloud-node[data-tooltip]:focus-within:after,.juliu-cloud-node[data-tooltip]:focus-within:before{opacity:1;transform:translateY(0) scale(1);transition-delay:.1s}.juliu-cloud-node.coral{--node-accent: #ff6b4a}.juliu-cloud-node.green{--node-accent: #20b58f}.juliu-cloud-node.blue{--node-accent: #4f95ff}.juliu-cloud-node.amber{--node-accent: #e3b357}.juliu-cloud-node.slate{--node-accent: #8ba0bb}.juliu-cloud-node.violet{--node-accent: #9b7cff}.juliu-cloud-node.selected{border-color:var(--node-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--node-accent) 24%,transparent),0 14px 32px #0f172a1f}.juliu-cloud-node.running{border-left-color:var(--juliu-accent)}.juliu-cloud-node.failed{border-left-color:var(--juliu-danger)}.juliu-cloud-node.success{border-left-color:var(--juliu-success)}.juliu-node-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;cursor:inherit}.juliu-node-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;color:#fff;background:var(--node-accent, var(--juliu-accent))}.juliu-node-meta{display:grid;gap:2px;min-width:0}.juliu-node-meta small,.juliu-node-top em{color:var(--juliu-muted);font-size:11px;font-style:normal;font-weight:850}.juliu-node-meta b{min-width:0;overflow:hidden;color:var(--juliu-strong);font-size:15px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.juliu-cloud-node p,.juliu-node-output,.juliu-node-error{margin:0;color:var(--juliu-muted);font-size:12px;line-height:1.45}.juliu-node-output,.juliu-node-error{display:-webkit-box;overflow:hidden;padding:8px;border-radius:8px;background:var(--juliu-panel-soft);-webkit-box-orient:vertical;-webkit-line-clamp:3}.juliu-node-output-wrap{display:grid;gap:6px;min-width:0}.juliu-node-output-headline{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.juliu-node-output-label{min-width:0;color:var(--juliu-muted);font-size:10px;font-weight:900;letter-spacing:0}.juliu-node-output{white-space:pre-wrap;overflow-wrap:anywhere}.juliu-node-output-wrap.expanded .juliu-node-output{display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset}.juliu-node-error-wrap{display:grid;gap:6px;min-width:0;padding:8px;border:1px solid color-mix(in srgb,var(--juliu-danger) 30%,var(--juliu-border));border-radius:8px;background:color-mix(in srgb,var(--juliu-danger) 9%,var(--juliu-panel))}.juliu-node-error-headline{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.juliu-node-error-headline span,.juliu-node-error-toggle{display:inline-flex;align-items:center;gap:4px;min-width:0;color:var(--juliu-danger);font-size:11px;font-weight:900;line-height:1}.juliu-node-error-headline span svg{flex:0 0 auto}.juliu-node-error-toggle{flex:0 0 auto;min-height:24px;padding:0;border:0;background:transparent;cursor:pointer!important}.juliu-node-output-toggle{justify-self:end;display:inline-flex;align-items:center;flex:0 0 auto;gap:3px;border:0;background:transparent;color:var(--juliu-primary);font-size:11px;font-weight:850;line-height:1;cursor:pointer}.juliu-node-output-toggle:hover{color:var(--juliu-primary-strong)}.juliu-node-error{color:var(--juliu-danger);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.juliu-node-error-wrap .juliu-node-error{padding:0;border-radius:0;background:transparent}.juliu-node-error-wrap.expanded .juliu-node-error{display:block;max-height:162px;overflow:auto;-webkit-line-clamp:unset}.juliu-node-inline-text{width:100%;min-height:74px;max-height:138px;padding:8px;border:1px solid color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 34%,var(--juliu-border));border-radius:8px;background:color-mix(in srgb,var(--juliu-panel-soft) 92%,var(--node-accent, var(--juliu-accent)) 8%);color:var(--juliu-strong);font-family:inherit;font-size:12px;font-weight:760;line-height:1.45;resize:vertical;outline:none;box-sizing:border-box;cursor:text!important}.juliu-node-inline-text:focus{border-color:var(--node-accent, var(--juliu-accent));box-shadow:0 0 0 3px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 18%,transparent)}.juliu-node-image-drop{display:grid;place-items:center;min-height:92px;padding:8px;border:1px dashed color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 42%,var(--juliu-border));border-radius:9px;background:color-mix(in srgb,var(--juliu-panel-soft) 90%,var(--node-accent, var(--juliu-accent)) 10%);color:var(--juliu-muted);cursor:pointer!important;outline:none;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.juliu-node-image-drop:hover,.juliu-node-image-drop:focus-visible,.juliu-node-image-drop.dragging{border-color:var(--node-accent, var(--juliu-accent));background:color-mix(in srgb,var(--juliu-panel-soft) 82%,var(--node-accent, var(--juliu-accent)) 18%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 16%,transparent)}.juliu-node-image-empty{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;color:var(--juliu-muted);font-size:12px;font-weight:850;text-align:center}.juliu-node-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}.juliu-node-image-grid span,.juliu-node-image-grid em{display:grid;place-items:center;aspect-ratio:1;min-width:0;overflow:hidden;border:1px solid var(--juliu-border);border-radius:7px;background:var(--juliu-panel)}.juliu-node-image-grid img{width:100%;height:100%;object-fit:cover}.juliu-node-image-grid em{color:var(--juliu-muted);font-size:12px;font-style:normal;font-weight:900}.juliu-asset-strip{display:flex;gap:7px;min-width:0;flex-wrap:wrap}.juliu-asset-strip button{position:relative;display:grid;place-items:center;width:42px;height:42px;min-height:42px;overflow:hidden;padding:0;border:1px solid var(--juliu-border);border-radius:8px;background:var(--juliu-panel-soft);color:var(--juliu-accent);cursor:pointer!important}.juliu-asset-strip.has-image-output button.image{flex:1 1 104px;width:auto;height:96px;min-height:96px;background:#0f172a}.juliu-asset-strip img,.juliu-asset-strip video{width:100%;height:100%;object-fit:cover}.juliu-asset-strip.has-image-output button.image img{object-fit:contain}.juliu-asset-strip.adaptive-image-output{display:grid;place-items:center;width:100%}.juliu-asset-strip.adaptive-image-output button.image[data-adaptive-image=true]{flex:none;width:var(--workflow-image-preview-width);height:var(--workflow-image-preview-height);min-height:0;aspect-ratio:var(--workflow-image-aspect);background:color-mix(in srgb,var(--juliu-panel-soft) 88%,#000 12%)}.juliu-asset-strip.adaptive-image-output button.image[data-adaptive-image=true] img{display:block;width:100%;height:100%;object-fit:contain}.juliu-asset-strip button.video svg{position:absolute;inset:auto 4px 4px auto;padding:3px;border-radius:999px;color:#fff;background:#0f172ab8;box-sizing:content-box}.juliu-asset-strip.has-video-output{display:grid;grid-template-columns:minmax(0,1fr)}.juliu-asset-strip.has-video-output button.video{width:100%;height:112px;min-height:112px;aspect-ratio:var(--workflow-video-aspect, 16 / 9);background:#05070a}.juliu-asset-strip.has-video-output button.video.ultrawide{height:96px;min-height:96px}.juliu-asset-strip.has-video-output button.video.standard{height:124px;min-height:124px}.juliu-asset-strip.has-video-output button.video.square{height:132px;min-height:132px}.juliu-asset-strip.has-video-output button.video.portrait{height:148px;min-height:148px}.juliu-asset-strip.has-video-output button.video video{background:#05070a;object-fit:contain}.juliu-asset-strip.has-video-output button.video svg{inset:50% auto auto 50%;width:18px;height:18px;padding:8px;color:#fff;transform:translate(-50%,-50%);background:#0f172abd}.juliu-progress{display:block;width:100%;height:4px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--juliu-border) 70%,transparent)}.juliu-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--node-accent),var(--juliu-accent))}.juliu-flow-handle{width:13px;height:13px;border:2px solid var(--juliu-panel);background:var(--node-accent, var(--juliu-accent));cursor:crosshair!important;transition:transform .14s ease,box-shadow .14s ease}.juliu-flow-handle:hover{transform:translate(50%,-50%) scale(1.22);box-shadow:0 0 0 5px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 18%,transparent)}.juliu-flow-handle.react-flow__handle-left:hover{transform:translate(-50%,-50%) scale(1.22)}.juliu-flow-handle:is(.connectingfrom,.connectingto,.valid){box-shadow:0 0 0 7px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 18%,transparent),0 0 0 1px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 62%,transparent)}.juliu-flow-handle.react-flow__handle-right:is(.connectingfrom,.connectingto,.valid){transform:translate(50%,-50%) scale(1.22)}.juliu-flow-handle.react-flow__handle-left:is(.connectingfrom,.connectingto,.valid){transform:translate(-50%,-50%) scale(1.22)}.juliu-node-menu{position:fixed;z-index:30;display:grid;gap:12px;width:374px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:auto;padding:12px;border:1px solid var(--juliu-border);border-radius:14px;background:color-mix(in srgb,var(--juliu-panel) 97%,transparent);box-shadow:0 24px 80px #0000003d}.juliu-node-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.juliu-node-menu-head div{display:grid;gap:3px;min-width:0}.juliu-node-menu-head b,.juliu-node-menu h3{color:var(--juliu-strong)}.juliu-node-menu-head span{color:var(--juliu-muted);font-size:12px;font-weight:760}.juliu-node-menu-head button{width:32px;min-height:32px;padding:0}.juliu-node-menu-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;border:1px solid var(--juliu-border);border-radius:11px;background:var(--juliu-panel-soft)}.juliu-node-menu-mode button{min-height:30px;border-color:transparent;font-size:12px}.juliu-node-menu-mode button.active{border-color:color-mix(in srgb,var(--juliu-accent) 48%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 18%,var(--juliu-panel));color:var(--juliu-accent-strong)}.juliu-node-menu section{display:grid;gap:7px}.juliu-node-menu h3{margin:0;font-size:12px}.juliu-node-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.juliu-node-menu-grid button{position:relative;justify-content:flex-start;min-height:72px;padding:10px;border-left:4px solid var(--node-accent, var(--juliu-accent));text-align:left}.juliu-node-menu-grid button.coral{--node-accent: #ff6b4a}.juliu-node-menu-grid button.green{--node-accent: #20b58f}.juliu-node-menu-grid button.blue{--node-accent: #4f95ff}.juliu-node-menu-grid button.amber{--node-accent: #e3b357}.juliu-node-menu-grid button.slate{--node-accent: #8ba0bb}.juliu-node-menu-grid button.violet{--node-accent: #9b7cff}.juliu-node-menu-grid button>svg{flex:0 0 auto;color:var(--node-accent, var(--juliu-accent))}.juliu-node-menu-grid button span{display:grid;gap:3px;min-width:0}.juliu-node-menu-grid button b,.juliu-node-menu-grid button small{min-width:0;overflow:hidden;text-overflow:ellipsis}.juliu-node-menu-grid button b{color:var(--juliu-strong);font-size:13px;white-space:nowrap}.juliu-node-menu-grid button small{display:-webkit-box;color:var(--juliu-muted);font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.juliu-field{display:grid;gap:7px;min-width:0;max-width:100%;margin-bottom:12px;color:var(--juliu-strong);font-size:12px;font-weight:850}.juliu-field-label{display:inline-flex;align-items:center;min-width:0;color:var(--juliu-strong);font-size:12px;font-weight:900;line-height:1.35}.juliu-field-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.juliu-field-heading>span{min-width:0;overflow-wrap:anywhere}.juliu-field-preview-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:28px;padding:0 8px;border:1px solid color-mix(in srgb,var(--juliu-accent) 38%,var(--juliu-border));border-radius:8px;background:color-mix(in srgb,var(--juliu-accent) 9%,var(--juliu-panel));color:var(--juliu-primary);font-size:11px;font-weight:900;white-space:nowrap}.juliu-field-preview-button:disabled{cursor:not-allowed;opacity:.48}.juliu-field-preview-button:not(:disabled):hover{border-color:color-mix(in srgb,var(--juliu-accent) 62%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 15%,var(--juliu-panel));color:var(--juliu-primary-strong)}.juliu-field input,.juliu-field select{height:40px;padding:0 11px}.juliu-field textarea{min-height:108px;max-height:240px;padding:11px;resize:vertical}.juliu-field input:hover,.juliu-field textarea:hover,.juliu-url-row input:hover,.juliu-field .xlb-select-trigger:hover{border-color:color-mix(in srgb,var(--juliu-accent) 28%,var(--juliu-border))}.juliu-field input:focus,.juliu-field textarea:focus,.juliu-url-row input:focus,.juliu-field .xlb-select-trigger:focus-visible{border-color:color-mix(in srgb,var(--juliu-accent) 62%,var(--juliu-border));background:var(--juliu-panel);box-shadow:0 0 0 3px color-mix(in srgb,var(--juliu-accent) 13%,transparent)}.juliu-upstream-text-section{border-color:color-mix(in srgb,var(--juliu-accent) 30%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-panel-soft) 88%,var(--juliu-accent) 6%)}.juliu-readonly-text-field textarea{min-height:118px;border-style:dashed;background:color-mix(in srgb,var(--juliu-panel) 82%,var(--juliu-panel-soft));color:var(--juliu-strong);cursor:text}.juliu-readonly-text-field.empty textarea{color:var(--juliu-muted)}.juliu-field small{color:var(--juliu-muted);font-size:11px;font-weight:720;line-height:1.48}.juliu-export-path-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;min-width:0}.juliu-export-path-row button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel);color:var(--juliu-primary)}.juliu-check-field{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:flex-start;margin:0 0 12px;color:var(--juliu-strong);font-size:12px;font-weight:850}.juliu-check-field input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--juliu-accent)}.juliu-check-field span{display:grid;gap:3px;min-width:0}.juliu-check-field small{color:var(--juliu-muted);font-size:11px;font-weight:760}.juliu-thinking-control{min-width:0;margin:0 0 12px}.juliu-thinking-toggle{justify-content:center;width:100%;min-height:38px;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel);color:var(--juliu-strong);font-size:12px}.juliu-thinking-toggle:hover{border-color:color-mix(in srgb,var(--juliu-accent) 34%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 7%,var(--juliu-panel))}.juliu-thinking-toggle.active{border-color:color-mix(in srgb,var(--juliu-accent) 38%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 12%,var(--juliu-panel));color:var(--juliu-primary)}.juliu-thinking-toggle .thinking-state-dot{margin-left:1px}.juliu-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.juliu-field-grid .juliu-field{margin-bottom:0}.juliu-video-spec-grid{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}.juliu-image-model-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.juliu-image-model-options button{display:grid;gap:3px;width:100%;min-width:0;max-width:100%;min-height:54px;padding:8px 9px;border:1px solid var(--juliu-border);border-radius:9px;color:var(--juliu-strong);background:var(--juliu-panel);overflow:hidden;text-align:left;white-space:normal}.juliu-image-model-options button:hover{border-color:color-mix(in srgb,var(--juliu-accent) 34%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 6%,var(--juliu-panel))}.juliu-image-model-options button.active{border-color:color-mix(in srgb,var(--juliu-accent) 62%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 12%,var(--juliu-panel));box-shadow:0 0 0 2px color-mix(in srgb,var(--juliu-accent) 12%,transparent)}.juliu-image-model-options strong,.juliu-image-model-options small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.juliu-image-model-options strong{font-size:12px;font-weight:900}.juliu-image-model-options small{color:var(--juliu-muted);font-size:10.5px;font-weight:760}.juliu-image-model-auto{display:grid;place-items:center;min-height:36px;border:1px solid color-mix(in srgb,var(--juliu-accent) 28%,var(--juliu-border));border-radius:8px;color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 8%,var(--juliu-panel));font-size:12px;font-weight:880}.juliu-inspector.compact .juliu-field-grid{grid-template-columns:minmax(0,1fr);gap:8px}.juliu-inspector.compact .juliu-image-model-options,.juliu-inspector.compact .juliu-video-spec-grid,.juliu-inspector.compact .juliu-output-video-actions{grid-template-columns:minmax(0,1fr)}.juliu-config-section{width:100%;min-width:0;max-width:100%;margin-bottom:12px;padding:0;overflow:hidden;border:1px solid var(--juliu-border);border-radius:13px;background:color-mix(in srgb,var(--juliu-panel-soft) 82%,var(--juliu-panel));scroll-margin-top:146px}.juliu-inspector.compact .juliu-config-section{margin-bottom:10px;padding:0;border-radius:9px}.juliu-config-section summary{display:grid;grid-template-columns:30px minmax(0,1fr) auto 16px;align-items:center;gap:9px;min-width:0;padding:10px;cursor:pointer;color:var(--juliu-strong);font-size:13px;font-weight:900;list-style:none;outline:none;transition:background .16s ease,border-color .16s ease}.juliu-config-section summary::marker{content:""}.juliu-config-section summary::-webkit-details-marker{display:none}.juliu-config-section>summary:before{content:none;display:none}.juliu-inspector.compact .juliu-config-section summary{grid-template-columns:28px minmax(0,1fr) 15px;gap:7px;padding:8px}.juliu-inspector.compact .juliu-config-section-badge{display:none}.juliu-inspector.compact .juliu-config-section-copy small{overflow:visible;text-overflow:clip;white-space:normal}.juliu-config-section summary:hover,.juliu-config-section summary:focus-visible{background:color-mix(in srgb,var(--juliu-accent) 6%,var(--juliu-panel))}.juliu-config-section[open] summary{margin-bottom:0;border-bottom:1px solid color-mix(in srgb,var(--juliu-border) 82%,transparent);background:color-mix(in srgb,var(--juliu-panel) 88%,var(--juliu-panel-soft))}.juliu-core-config-section{border-color:color-mix(in srgb,var(--juliu-accent) 34%,var(--juliu-border));box-shadow:0 10px 28px color-mix(in srgb,var(--juliu-accent) 7%,transparent)}.juliu-core-config-section>summary{background:color-mix(in srgb,var(--juliu-accent) 8%,var(--juliu-panel))}.juliu-config-section-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--juliu-accent) 22%,var(--juliu-border));border-radius:9px;color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 9%,var(--juliu-panel))}.juliu-config-section-copy{display:grid;gap:2px;min-width:0}.juliu-config-section-copy b,.juliu-config-section-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis}.juliu-config-section-copy b{color:var(--juliu-strong);font-size:13px;font-weight:920;line-height:1.25;white-space:nowrap}.juliu-config-section-copy small{color:var(--juliu-muted);font-size:10px;font-weight:720;line-height:1.32;white-space:nowrap}.juliu-config-section-badge{max-width:88px;padding:4px 6px;overflow:hidden;border:1px solid color-mix(in srgb,var(--juliu-accent) 28%,var(--juliu-border));border-radius:999px;color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 8%,var(--juliu-panel));font-size:9px;font-style:normal;font-weight:900;line-height:1;text-overflow:ellipsis;white-space:nowrap}.juliu-config-section-chevron{color:var(--juliu-muted);transition:transform .18s ease}.juliu-config-section[open]>summary .juliu-config-section-chevron{transform:rotate(180deg)}.juliu-config-group{display:grid;gap:10px;width:auto;min-width:0;max-width:calc(100% - 20px);margin:10px;padding:11px;border:1px solid color-mix(in srgb,var(--juliu-border) 88%,transparent);border-radius:10px;color:var(--juliu-text);background:var(--juliu-panel);box-shadow:none;white-space:normal}.juliu-config-group+.juliu-config-group{margin-top:0}.juliu-config-group.is-emphasis{border-color:color-mix(in srgb,var(--juliu-accent) 25%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 4%,var(--juliu-panel))}.juliu-inspector.compact .juliu-config-group{max-width:calc(100% - 16px);margin:8px;padding:9px}.juliu-config-group-head{display:grid;gap:3px;min-width:0;padding-bottom:9px;border-bottom:1px solid color-mix(in srgb,var(--juliu-border) 74%,transparent);overflow-wrap:anywhere}.juliu-config-group-head b{color:var(--juliu-strong);font-size:12px;font-weight:920;line-height:1.3}.juliu-config-group-head small{color:var(--juliu-muted);font-size:10.5px;font-weight:700;line-height:1.42}.juliu-config-group-body{display:grid;gap:12px;min-width:0}.juliu-config-group-body>*,.juliu-config-group-body :is(input,textarea,select,button,.xlb-unified-select){min-width:0;max-width:100%}.juliu-inspector.compact .juliu-field-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.juliu-inspector.compact .juliu-field-preview-button{width:100%;white-space:normal}.juliu-config-group-body>:is(.juliu-field,.juliu-check-field,.juliu-thinking-control,.juliu-muted),.juliu-config-group-body>.juliu-field-grid>.juliu-field{margin-top:0;margin-bottom:0}.juliu-secondary-config-section{border-style:dashed;background:color-mix(in srgb,var(--juliu-panel-soft) 72%,var(--juliu-panel))}.juliu-secondary-config-section>summary .juliu-config-section-icon{color:var(--juliu-muted);background:var(--juliu-panel)}.juliu-secondary-settings-divider{display:flex;align-items:center;gap:9px;margin:15px 2px 10px;color:var(--juliu-muted)}.juliu-secondary-settings-divider:before,.juliu-secondary-settings-divider:after{content:"";flex:1 1 auto;height:1px;background:var(--juliu-border)}.juliu-secondary-settings-divider span{flex:0 0 auto;font-size:10px;font-weight:900;letter-spacing:.06em}.juliu-negative-prompt-section{margin:0 10px 10px;border-style:dashed;background:color-mix(in srgb,var(--juliu-panel-soft) 78%,var(--juliu-panel))}.juliu-negative-prompt-section>.juliu-field{margin:10px}.juliu-negative-prompt-section textarea{min-height:88px}.juliu-callout-config textarea{min-height:92px}.juliu-inline-setting-label{display:block;margin-bottom:-2px;color:var(--juliu-strong);font-size:11px;font-weight:900}.juliu-callout-empty{display:grid;gap:10px;margin:10px;padding:12px;border:1px dashed color-mix(in srgb,var(--juliu-accent) 28%,var(--juliu-border));border-radius:10px;background:var(--juliu-panel)}.juliu-callout-empty p{margin:0;color:var(--juliu-muted);font-size:11px;font-weight:720;line-height:1.48}.juliu-callout-add-button{width:100%;min-height:42px;border-style:dashed;border-color:color-mix(in srgb,var(--juliu-accent) 38%,var(--juliu-border));color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 9%,var(--juliu-panel))}.juliu-callout-color-row{display:flex;flex-wrap:wrap;gap:7px;min-width:0;margin:0 0 10px}.juliu-callout-color-row button{display:grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border-color:color-mix(in srgb,var(--juliu-border) 88%,transparent);border-radius:9px;background:var(--juliu-panel)}.juliu-callout-color-row button.active{border-color:var(--juliu-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--juliu-accent) 18%,transparent)}.juliu-callout-color-swatch{display:block;width:18px;height:18px;border-radius:999px;background:var(--juliu-accent);box-shadow:0 0 0 1px #0f172a14 inset}.juliu-callout-color-swatch.node{background:conic-gradient(#20b58f,#4f95ff,#9b7cff,#ff6b4a,#20b58f)}.juliu-callout-color-swatch.green{background:#20b58f}.juliu-callout-color-swatch.blue{background:#4f95ff}.juliu-callout-color-swatch.violet{background:#8f6bff}.juliu-callout-color-swatch.amber{background:#d69a2d}.juliu-callout-color-swatch.coral{background:#ff6b4a}.juliu-callout-color-swatch.slate{background:#7186a3}.juliu-callout-position-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0;margin:0 0 10px;padding:4px;border:1px solid var(--juliu-border);border-radius:11px;background:color-mix(in srgb,var(--juliu-panel-soft) 86%,var(--juliu-panel))}.juliu-callout-position-row button{min-height:30px;border-color:transparent;background:transparent;font-size:12px}.juliu-callout-position-row button.active{border-color:color-mix(in srgb,var(--juliu-accent) 46%,var(--juliu-border));color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 16%,var(--juliu-panel))}.juliu-callout-actions{display:flex;justify-content:flex-end;margin:0 10px 10px}.juliu-callout-actions button.danger{border-color:color-mix(in srgb,var(--juliu-danger) 32%,var(--juliu-border));color:var(--juliu-danger);background:color-mix(in srgb,var(--juliu-danger) 8%,var(--juliu-panel))}.juliu-inspector.compact .juliu-callout-position-row{grid-template-columns:repeat(2,minmax(0,1fr))}.juliu-relay-route-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(188px,1fr));gap:8px;min-width:0}.juliu-inspector.compact .juliu-relay-route-grid{grid-template-columns:1fr}.juliu-relay-sequence{--relay-route-color: var(--node-accent, var(--juliu-accent));display:grid;align-content:start;gap:8px;min-width:0;padding:9px;border:1px solid color-mix(in srgb,var(--relay-route-color) 30%,var(--juliu-border));border-radius:8px;background:color-mix(in srgb,var(--juliu-panel) 78%,var(--relay-route-color) 5%)}.juliu-relay-sequence.upstream{--relay-route-color: #20b58f}.juliu-relay-sequence.downstream{--relay-route-color: #ff6b4a}.juliu-relay-sequence>span{color:color-mix(in srgb,var(--relay-route-color) 70%,var(--juliu-strong));font-size:11px;font-weight:900}.juliu-relay-sequence div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;min-width:0}.juliu-relay-sequence b{display:grid;grid-template-rows:auto auto;gap:2px;place-items:center;min-height:34px;border-radius:8px;background:color-mix(in srgb,var(--relay-route-color) 92%,#111827 8%);box-shadow:inset 0 -8px 16px #0f172a1a;color:#fff;font-size:15px;line-height:1}.juliu-relay-sequence p{display:grid;gap:2px;min-width:0;margin:0;color:var(--juliu-strong);font-size:12px;font-weight:850}.juliu-relay-sequence p strong{min-width:0;overflow:hidden;color:var(--juliu-strong);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.juliu-relay-sequence small,.juliu-relay-sequence em{min-width:0;color:var(--juliu-muted);font-size:11px;font-style:normal;font-weight:760;overflow-wrap:anywhere}.juliu-relay-sequence b small{color:#ffffffdb;font-size:8.5px;font-weight:900;line-height:1}.juliu-relay-sequence code{min-width:0;padding:2px 5px;border:1px solid var(--juliu-border);border-radius:6px;background:var(--juliu-panel-soft);color:var(--juliu-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10.5px;font-weight:760;overflow-wrap:anywhere}.juliu-reference-input{display:grid;gap:8px}.juliu-inspector.compact .juliu-reference-input{gap:7px}.juliu-reference-drop{display:grid;grid-template-columns:18px minmax(0,1fr);gap:3px 8px;align-items:center;min-width:0;min-height:58px;padding:9px;border:1px dashed color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 42%,var(--juliu-border));border-radius:9px;background:color-mix(in srgb,var(--juliu-panel-soft) 90%,var(--node-accent, var(--juliu-accent)) 10%);color:var(--juliu-muted);outline:none;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.juliu-reference-drop:hover,.juliu-reference-drop:focus-visible,.juliu-reference-drop.dragging{border-color:var(--node-accent, var(--juliu-accent));background:color-mix(in srgb,var(--juliu-panel-soft) 82%,var(--node-accent, var(--juliu-accent)) 18%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--node-accent, var(--juliu-accent)) 16%,transparent)}.juliu-reference-drop svg{grid-row:1 / span 2;color:var(--node-accent, var(--juliu-accent))}.juliu-reference-drop span{min-width:0;color:var(--juliu-strong);font-size:12px;font-weight:900}.juliu-reference-drop small{min-width:0;color:var(--juliu-muted);font-size:11px;font-weight:760}.juliu-url-row{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px}.juliu-inspector.compact .juliu-url-row{grid-template-columns:minmax(0,1fr) 34px;gap:6px}.juliu-url-row input{height:38px;padding:0 10px}.juliu-inspector.compact .juliu-url-row input{height:34px;padding:0 8px}.juliu-reference-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.juliu-inspector.compact .juliu-reference-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.juliu-reference-strip span{position:relative;display:block;overflow:hidden;aspect-ratio:1;border:1px solid var(--juliu-border);border-radius:9px;background:var(--juliu-panel)}.juliu-reference-strip img{width:100%;height:100%;object-fit:cover}.juliu-reference-strip button{position:absolute;top:4px;right:4px;width:22px;min-height:22px;padding:0;border-radius:999px}.juliu-api-model-note{display:flex;align-items:flex-start;gap:7px;min-width:0;margin-bottom:10px;padding:9px 10px;border:1px solid color-mix(in srgb,var(--juliu-accent) 24%,var(--juliu-border));border-radius:10px;color:var(--juliu-accent-strong);background:color-mix(in srgb,var(--juliu-accent) 7%,var(--juliu-panel));font-size:11px;font-weight:780;line-height:1.45}.juliu-api-model-note svg{flex:0 0 auto;margin-top:1px}.juliu-node-actions-bar{display:grid;gap:9px;min-width:0;margin-bottom:12px;padding:11px;border:1px solid color-mix(in srgb,var(--juliu-accent) 34%,var(--juliu-border));border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,var(--juliu-accent) 9%,var(--juliu-panel)),var(--juliu-panel));box-shadow:0 10px 24px color-mix(in srgb,var(--juliu-accent) 7%,transparent)}.juliu-node-actions-copy{display:grid;gap:2px;min-width:0}.juliu-node-actions-copy b{color:var(--juliu-strong);font-size:12px;font-weight:920}.juliu-node-actions-copy small{color:var(--juliu-muted);font-size:10.5px;font-weight:700;line-height:1.4}.juliu-node-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.juliu-inspector.compact .juliu-node-actions{grid-template-columns:minmax(0,1fr);gap:7px}.juliu-inspector.compact .juliu-node-actions button,.juliu-inspector.compact .juliu-reference-input>button{width:100%;min-height:32px}.juliu-inspector.compact .juliu-field input,.juliu-inspector.compact .juliu-field select{height:34px;padding:0 8px}.juliu-inspector.compact .juliu-field textarea{min-height:88px;padding:8px}.juliu-node-actions button:first-child{border-color:var(--juliu-accent);background:var(--juliu-accent);color:#fff}.juliu-node-actions button:last-child{border-color:color-mix(in srgb,var(--juliu-accent) 28%,var(--juliu-border));background:color-mix(in srgb,var(--juliu-accent) 7%,var(--juliu-panel));color:var(--juliu-accent-strong)}.juliu-output-panel{display:grid;gap:10px;padding:11px;border:1px solid var(--juliu-border);border-radius:12px;background:color-mix(in srgb,var(--juliu-panel-soft) 76%,var(--juliu-panel));scroll-margin-top:146px}.juliu-inspector.compact .juliu-output-panel{gap:8px;padding:8px;border-radius:9px}.juliu-output-panel h3{margin:0;color:var(--juliu-strong);font-size:13px}.juliu-output-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0;padding-bottom:9px;border-bottom:1px solid var(--juliu-border)}.juliu-output-panel-head>span{display:flex;align-items:flex-start;gap:8px;min-width:0}.juliu-output-panel-head>span>svg{flex:0 0 auto;margin-top:1px;color:var(--juliu-accent-strong)}.juliu-output-panel-head>span>span{display:grid;gap:2px;min-width:0}.juliu-output-panel-head small{color:var(--juliu-muted);font-size:10px;font-weight:700;line-height:1.35}.juliu-output-panel-head>em{flex:0 0 auto;padding:4px 7px;border:1px solid var(--juliu-border);border-radius:999px;color:var(--juliu-muted);background:var(--juliu-panel);font-size:9px;font-style:normal;font-weight:900;line-height:1}.juliu-output-panel-head>em.has-output{border-color:color-mix(in srgb,var(--juliu-success) 36%,var(--juliu-border));color:var(--juliu-success);background:color-mix(in srgb,var(--juliu-success) 8%,var(--juliu-panel))}.juliu-inspector.compact .juliu-output-panel-head{display:grid;grid-template-columns:minmax(0,1fr)}.juliu-inspector.compact .juliu-output-panel-head>em{justify-self:start}.juliu-output-panel pre,.juliu-output-panel p{max-height:180px;margin:0;overflow:auto;color:var(--juliu-text);font-size:12px;line-height:1.55;white-space:pre-wrap}.juliu-inspector.compact .juliu-output-panel pre,.juliu-inspector.compact .juliu-output-panel p{max-height:150px;font-size:11px}.juliu-route-output-list{display:grid;gap:7px}.juliu-route-output-list div{display:grid;gap:4px;min-width:0;padding:8px;border:1px solid var(--juliu-border);border-radius:8px;background:var(--juliu-panel)}.juliu-route-output-list b{color:var(--juliu-strong);font-size:11px;overflow-wrap:anywhere}.juliu-route-output-list span{display:-webkit-box;overflow:hidden;color:var(--juliu-muted);font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.juliu-output-assets{display:grid;gap:8px}.juliu-output-media{position:relative;display:block;width:100%;min-height:0;padding:0;overflow:hidden;border:1px solid var(--juliu-border);border-radius:10px;background:#000}.juliu-output-media img,.juliu-output-media video{display:block;width:100%;max-height:360px;object-fit:contain}.juliu-output-media.video span{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;color:#fff;background:#0f172ac2;font-size:12px;font-weight:850}.juliu-output-actions{display:flex;gap:8px}.juliu-output-video-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.juliu-output-video-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:36px;padding:8px 10px;border:1px solid var(--juliu-border);border-radius:8px;background:var(--juliu-panel);color:var(--juliu-strong);font-size:12px;font-weight:850;white-space:nowrap}.juliu-output-video-actions button:first-child{border-color:var(--juliu-accent);background:var(--juliu-accent);color:#fff}.juliu-output-video-actions button.action-feedback.done{border-color:var(--juliu-success);background:color-mix(in srgb,var(--juliu-success) 12%,var(--juliu-panel));color:var(--juliu-success)}.juliu-output-video-actions button.action-feedback.error{border-color:var(--juliu-danger);background:color-mix(in srgb,var(--juliu-danger) 10%,var(--juliu-panel));color:var(--juliu-danger)}.juliu-output-video-actions button:disabled{cursor:wait;opacity:.72}.juliu-output-export-card{display:grid;gap:9px;padding:10px;border:1px solid var(--juliu-border);border-radius:10px;background:color-mix(in srgb,var(--juliu-panel-soft) 88%,var(--juliu-accent) 5%)}.juliu-output-export-card>span{display:grid;gap:3px;min-width:0}.juliu-output-export-card b{color:var(--juliu-strong);font-size:12px;font-weight:900}.juliu-output-export-card small{color:var(--juliu-muted);font-size:11px;font-weight:760;overflow-wrap:anywhere}.juliu-output-export-actions{grid-template-columns:minmax(0,1fr)}.juliu-media-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:grid;place-items:center;padding:32px;background:#05080db8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.juliu-media-preview-window{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(980px,calc(100vw - 64px));max-height:min(760px,calc(100vh - 64px));overflow:hidden;border:1px solid var(--juliu-border);border-radius:14px;background:var(--juliu-panel);box-shadow:0 28px 80px #0000006b}.juliu-media-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--juliu-border);color:var(--juliu-strong)}.juliu-media-preview-head b{min-width:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.juliu-media-preview-head button{width:36px;min-height:36px;padding:0;border-radius:10px;color:var(--juliu-strong);background:var(--juliu-panel-soft)}.juliu-media-preview-body{display:grid;place-items:center;min-height:220px;max-height:calc(100vh - 140px);padding:14px;background:#05070a}.juliu-media-preview-body img,.juliu-media-preview-body video{display:block;max-width:100%;max-height:calc(100vh - 170px);border-radius:10px;object-fit:contain}.juliu-workflow-modal{display:grid;gap:16px;width:min(440px,100%);padding:18px;border:1px solid var(--theme-line, #e3e7ef);border-radius:12px;background:var(--theme-surface, #ffffff);color:var(--theme-text, #344052);box-shadow:0 28px 80px #0f172a47}.juliu-workflow-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.juliu-workflow-modal-head h3{margin:0;color:var(--theme-heading, #151922);font-size:18px}.juliu-workflow-modal-head small,.juliu-workflow-modal-head p{margin:0;color:var(--theme-muted, #64748b);font-size:12px;font-weight:780}.juliu-workflow-modal-head small{display:block;margin-bottom:3px}.juliu-workflow-modal-head p{margin-top:4px}.juliu-workflow-modal-head button,.juliu-workflow-modal-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid var(--theme-line, #e3e7ef);border-radius:9px;background:var(--theme-surface-2, #f8fafc);color:var(--theme-text, #344052);font-weight:850}.juliu-workflow-modal-head button{width:36px;min-height:36px;padding:0}.juliu-workflow-modal-field{display:grid;gap:8px;color:var(--theme-heading, #151922);font-size:13px;font-weight:850}.juliu-workflow-modal-field input{height:42px;padding:0 12px;border-color:var(--theme-line, #e3e7ef);border-radius:9px;background:var(--theme-surface-2, #f8fafc);color:var(--theme-heading, #151922);font-weight:780}.juliu-workflow-modal-actions{display:flex;justify-content:flex-end;gap:10px}.juliu-workflow-modal-actions button{padding:0 14px}.juliu-workflow-modal-actions button.primary{border-color:var(--theme-accent, #2563eb);background:var(--theme-accent, #2563eb);color:#fff}.juliu-workflow-modal-actions button.danger{border-color:color-mix(in srgb,var(--theme-danger, #dc2626) 62%,var(--theme-line, #e3e7ef));background:color-mix(in srgb,var(--theme-danger, #dc2626) 12%,var(--theme-surface, #ffffff));color:var(--theme-danger, #dc2626)}.juliu-long-text-backdrop{z-index:160}.juliu-long-text-modal{grid-template-rows:auto minmax(0,1fr) auto;width:min(920px,calc(100vw - 40px));height:min(760px,calc(100vh - 40px));max-height:calc(100vh - 40px)}.juliu-long-text-preview{min-height:0;margin:0;padding:14px;overflow:auto;border:1px solid var(--theme-line, #e3e7ef);border-radius:10px;background:var(--theme-surface-2, #f8fafc);color:var(--theme-heading, #151922);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;font-weight:650;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.juliu-long-text-editor{width:100%;height:100%;resize:none;outline:none}.juliu-long-text-editor:focus{border-color:color-mix(in srgb,var(--theme-accent, #2563eb) 58%,var(--theme-line, #e3e7ef));background:var(--theme-surface, #ffffff);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent, #2563eb) 14%,transparent)}.juliu-workflow-delete-warning{display:grid;gap:8px;padding:12px;border:1px solid color-mix(in srgb,var(--theme-danger, #dc2626) 24%,var(--theme-line, #e3e7ef));border-radius:10px;background:color-mix(in srgb,var(--theme-danger, #dc2626) 8%,var(--theme-surface, #ffffff))}.juliu-workflow-delete-warning strong{color:var(--theme-heading, #151922)}.juliu-workflow-delete-warning p{margin:0;color:var(--theme-muted, #718096);font-size:13px;line-height:1.55}.juliu-empty-inspector{display:grid;place-items:center;align-content:center;gap:8px;height:100%;min-height:260px;color:var(--juliu-muted);text-align:center}.juliu-empty-inspector b{color:var(--juliu-strong)}.juliu-empty-inspector p{max-width:240px;margin:0;line-height:1.55}.juliu-statusbar{grid-column:1 / -1;display:flex;align-items:center;gap:14px;min-width:0;padding:0 14px;border-top:1px solid var(--juliu-border);background:var(--juliu-panel)}.juliu-statusbar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.juliu-workflow-shell{grid-template-columns:minmax(0,1fr) minmax(260px,var(--juliu-inspector-width, 320px));grid-template-rows:auto minmax(0,1fr) 32px}.juliu-workflow-shell.inspector-collapsed{grid-template-columns:minmax(0,1fr) 0}.juliu-topbar{grid-template-columns:minmax(120px,1fr) max-content;grid-template-areas:"brand run" "project project";gap:8px 12px;padding:8px 12px}.juliu-brand{grid-area:brand}.juliu-project-switcher{grid-area:project;grid-template-columns:minmax(160px,1fr) auto auto}.juliu-run-controls{grid-area:run;gap:6px}.juliu-run-controls select,.juliu-run-controls .xlb-unified-select{width:132px}.juliu-run-controls>button{width:38px;min-height:38px;padding:0;overflow:hidden;font-size:0}.juliu-run-controls>button>svg{flex:0 0 auto}}@media(max-width:760px){.juliu-workflow-shell{grid-template-columns:minmax(0,1fr)}.juliu-topbar{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "project" "run";gap:8px;padding:10px 12px}.juliu-project-switcher{grid-template-columns:minmax(154px,1fr) auto auto;gap:6px}.juliu-project-select-shell{width:100%}.juliu-run-controls{justify-content:flex-start;gap:5px;overflow-x:auto;padding:2px 0}.juliu-run-controls select,.juliu-run-controls .xlb-unified-select{width:118px}.juliu-create-workflow-button,.juliu-workflow-menu-button{padding:0 9px}}.xlb-light-main{grid-template-rows:72px minmax(0,1fr) auto}.xlb-light-header{grid-template-columns:44px minmax(0,1fr) auto;position:relative;z-index:2;min-height:72px;padding:0 26px;-webkit-app-region:drag}.xlb-light-main:before{content:"";position:absolute;z-index:1;top:0;left:0;right:0;height:34px;-webkit-app-region:drag}.workspace-access-stage{min-width:0;min-height:0;display:grid;place-items:center;padding:clamp(20px,5vw,64px);overflow:auto}.workspace-access-card{width:min(760px,100%);display:grid;justify-items:center;gap:20px;padding:clamp(28px,5vw,52px);border:1px solid var(--line);border-radius:28px;color:var(--text);background:color-mix(in srgb,var(--panel) 94%,transparent);box-shadow:0 24px 80px #151f331f;text-align:center}.workspace-access-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;color:#bd8e2b;background:#dbae4e24;box-shadow:inset 0 0 0 1px #bd8e2b33}.workspace-access-copy{display:grid;justify-items:center;gap:8px}.workspace-access-copy>span{color:#a77920;font-size:12px;font-weight:850;letter-spacing:.08em}.workspace-access-copy h2{margin:0;color:var(--text);font-size:clamp(24px,3vw,34px)}.workspace-access-copy p{max-width:580px;margin:0;color:var(--muted);font-size:15px;line-height:1.75}.workspace-access-facts{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.workspace-access-facts>div{min-width:0;display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--panel-strong) 82%,transparent)}.workspace-access-facts small{color:var(--muted);font-size:11px}.workspace-access-facts strong{overflow-wrap:anywhere;color:var(--text);font-size:14px}.workspace-access-message{width:100%;margin:0;padding:10px 12px;border-radius:12px;color:#9b6e16;background:#dbae4e1f;font-size:13px}.workspace-access-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.workspace-access-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:13px;font-weight:800}.workspace-access-actions .primary{border-color:#1e5be0;color:#fff;background:#2e69ed}.workspace-access-actions .secondary{border-color:var(--line);color:var(--text);background:var(--panel-strong)}.workspace-access-actions .text-action{border-color:transparent;color:#8e6a22;background:transparent}.workspace-access-security{max-width:600px;color:var(--muted);font-size:11px;line-height:1.6}@media(max-width:720px){.workspace-access-stage{padding:14px;align-items:start}.workspace-access-card{gap:16px;padding:24px 18px;border-radius:20px}.workspace-access-facts{grid-template-columns:1fr}.workspace-access-actions{width:100%;align-items:stretch;flex-direction:column}.workspace-access-actions button{width:100%}}.xlb-light-header:before,.juliu-topbar:before{content:"";position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;-webkit-app-region:drag}.xlb-light-header>*,.juliu-topbar>*{position:relative;z-index:1}.studio-header,.workflow-topbar,.juliu-topbar{position:relative;z-index:2;-webkit-app-region:drag}.xlb-light-header h1{margin-top:1px;font-size:18px;line-height:1.2}.xlb-light-header p{margin-top:3px;font-size:12px;line-height:1.35}.chat-scroll{padding:22px 30px 146px}.chat-scroll.has-messages{padding-top:18px}.xlb-light-welcome{align-content:start;width:min(860px,100%);padding-top:42px}.xlb-light-welcome h2{max-width:690px;margin:10px 0 22px;font-size:34px;line-height:1.16;font-weight:860}.suggestion-cloud{width:min(720px,100%);gap:9px}.suggestion-cloud button{grid-template-columns:34px minmax(0,1fr);min-height:72px;padding:12px}.suggestion-cloud button>svg{width:34px;height:34px;padding:9px}.suggestion-cloud b{font-size:14px}.suggestion-cloud small,.quiet-command-row button,.composer-chip,.active-tool,.select-chip{font-size:12px}.message-list{gap:24px;max-width:980px}.message{grid-template-columns:34px minmax(0,1fr);gap:11px}.message.user{grid-template-columns:minmax(0,1fr) 34px}.avatar{width:34px;height:34px;font-size:14px}.message.user .bubble{max-width:min(620px,100%);padding:9px 13px;font-size:14px}.message-rich-text{gap:8px;font-size:14px;line-height:1.68}.message-rich-text h3{font-size:15px}.message-actions button,.next-prompt-row button{min-height:30px;font-size:12px}.chat-dock,.image-dock{width:min(980px,calc(100% - 88px));margin-bottom:16px}.xlb-light-composer{--composer-textarea-min-height: 72px;--composer-textarea-padding: 18px 22px 6px;--composer-textarea-font-size: 15px;--composer-textarea-line-height: 1.5;border-radius:14px;box-shadow:0 18px 52px #1520361c}.composer-bar{padding:9px 11px 11px 16px}.composer-chip,.active-tool,.select-chip{min-height:32px}.tool-round,.send-button{width:40px;height:40px}.image-canvas{padding:24px 30px}.image-empty-panel{grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:44px;width:min(900px,100%);min-height:min(600px,100%);padding-bottom:36px}.image-empty-panel h2{max-width:560px;margin-bottom:18px;font-size:34px;line-height:1.16;font-weight:860}.quick-start-grid{gap:9px;max-width:620px}.quick-start-grid button{min-height:50px;padding:9px 11px;font-size:14px;line-height:1.35}.image-inspiration-panel{height:318px;padding:11px;background:linear-gradient(160deg,#fffffff5,#f4f8fdeb),#fff;box-shadow:0 18px 42px #2a40681a}.inspiration-toolbar span{height:6px}.inspiration-frame{position:relative;gap:7px;overflow:hidden;background:linear-gradient(135deg,#3268f212,#18a27f14),linear-gradient(180deg,#fbfdff,#f2f6fb)}.inspiration-frame:before{content:"";position:absolute;top:14px;right:14px;bottom:14px;left:14px;border:1px dashed rgba(92,105,126,.2);border-radius:8px}.inspiration-frame.has-reference{color:#ffffffe0;background:#0d1118}.inspiration-frame.has-reference:before{display:none}.inspiration-frame.has-reference:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(180deg,transparent 34%,rgba(5,8,12,.76)),linear-gradient(135deg,rgba(255,255,255,.2),transparent 42%);pointer-events:none}.inspiration-frame img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.inspiration-frame svg,.inspiration-frame b,.inspiration-frame small{position:relative;z-index:2}.inspiration-frame b{color:#242b36;font-size:17px;line-height:1.2}.inspiration-frame small{color:#7a8495;font-size:12px;font-weight:760}.inspiration-frame.has-reference b{align-self:end;margin-top:auto;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.42)}.inspiration-frame.has-reference small{color:#ffffffc7;text-shadow:0 2px 10px rgba(0,0,0,.38)}.inspiration-swatches span{height:34px}.gallery{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.image-card>div:last-child{padding:11px}.image-card p{min-height:38px;margin-bottom:7px;font-size:13px;line-height:1.42}.image-card span{font-size:11px}@media(max-width:980px){.xlb-light-welcome h2,.image-empty-panel h2{font-size:30px}.image-empty-panel{grid-template-columns:1fr;gap:28px}.image-inspiration-panel{width:min(320px,100%)}}@media(max-width:720px){.xlb-light-header{padding:0 18px}.chat-scroll,.image-canvas{padding-left:18px;padding-right:18px}.xlb-light-welcome,.image-empty-panel{padding-top:24px}.xlb-light-welcome h2,.image-empty-panel h2{font-size:26px}.suggestion-cloud,.quick-start-grid{grid-template-columns:1fr}.chat-dock,.image-dock{width:calc(100% - 32px)}}.image-mode-page .image-canvas{padding:24px 30px;background:var(--theme-surface, #ffffff)}html[data-theme] .image-mode-page .image-canvas{background:var(--theme-surface)}.image-mode-page .image-empty-panel,html[data-theme] .image-mode-page .image-empty-panel{width:min(1040px,100%);min-height:100%;margin:0 auto;border:0;background:transparent;box-shadow:none}html[data-theme] .image-mode-page .image-empty-panel{background:transparent;box-shadow:none}.image-mode-page .quick-start-grid button{background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 72%,var(--theme-surface, #ffffff))}.message-actions{gap:5px}.message-actions button{justify-content:center;width:28px;height:28px;min-height:28px;padding:0;border-radius:7px;line-height:1}.message-actions button svg{width:14px;height:14px}.next-prompt-row{gap:6px;margin-top:2px}.next-prompt-row button{min-height:28px;padding:0 9px;border-radius:8px;font-size:11px}html[data-theme] .message-actions button{background:transparent}html[data-theme] .message-actions button:hover{background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface-2))}.app-logo{display:block;flex:0 0 auto;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.brand-logo-image,.header-logo-button,.user-photo,.nav-logo-icon,.sidebar-current-logo,.message-logo,.xlb-video-logo,.xlb-video-user-logo,.agent-empty-state .app-logo,.agent-message-logo,.account-avatar{object-fit:contain}.brand-logo-image{padding:0;border-radius:12px;background:transparent;filter:drop-shadow(0 10px 20px rgba(22,126,255,.18))}.header-logo-button{width:28px;height:28px;border-radius:8px;filter:drop-shadow(0 8px 16px rgba(22,126,255,.16))}.user-photo,.account-avatar,.xlb-video-user-logo{padding:0;border:0;background:transparent;box-shadow:none}.user-photo{width:38px;height:38px;border-radius:10px}.message-logo{width:28px;height:28px}.avatar:has(.message-logo){border:0;background:transparent;box-shadow:none}.xlb-video-user{overflow:hidden;padding:0;border:0;background:transparent}.xlb-video-user-logo{width:44px;height:44px}.nav-logo-icon,.sidebar-current-logo{border:0;background:transparent;box-shadow:none}.agent-message>span{display:inline-flex;align-items:center;gap:6px}.agent-message>span b{color:inherit;font:inherit}.agent-steer-message-label{display:inline-flex;align-items:center;min-height:19px;padding:1px 7px;border:1px solid rgba(47,116,255,.22);border-radius:999px;color:#2f74ff;background:#2f74ff17;font-size:10px;font-style:normal;font-weight:800;line-height:1}.agent-steer-message-label.applied{border-color:#19995b40;color:#17824f;background:#19995b1a}.agent-steer-message-label.deferred,.agent-steer-message-label.cancelled{border-color:#c1751840;color:#a15f12;background:#c175181a}.agent-message-logo{width:18px;height:18px}.agent-empty-state .app-logo{width:56px;height:56px;filter:drop-shadow(0 12px 26px rgba(22,126,255,.2))}.account-avatar{width:52px;height:52px;border-radius:12px}html[data-theme] .brand-logo-image,html[data-theme] .header-logo-button,html[data-theme] .user-photo,html[data-theme] .nav-logo-icon,html[data-theme] .sidebar-current-logo,html[data-theme] .message-logo,html[data-theme] .xlb-video-logo,html[data-theme] .xlb-video-user-logo,html[data-theme] .agent-message-logo,html[data-theme] .account-avatar{border:0;color:inherit;background:transparent;box-shadow:none}.image-mode-page .xlb-light-gallery{display:flex;flex-direction:column;align-items:stretch;gap:28px;width:min(680px,100%);margin:0 auto;min-width:0}.image-card{display:flex;flex-direction:column;width:100%;border-radius:16px;min-width:0;overflow:hidden;border:1px solid var(--theme-line, #e8eaf0);background:var(--theme-surface, #ffffff);box-shadow:0 4px 16px #14182812}.image-card-media{position:relative;display:flex;justify-content:center;align-items:flex-start;width:100%;min-width:0;overflow:hidden;background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 80%,#ffffff)}.image-card img,.image-card .empty-thumb{display:block;width:100%;height:auto;object-fit:contain;background:linear-gradient(135deg,#ffffffb8,#fff0),color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 82%,#ffffff)}.image-preview-trigger{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;cursor:zoom-in}.image-card-delete{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:0;border:1px solid color-mix(in srgb,var(--theme-danger, #bd3e35) 24%,var(--theme-line, #e6e0d5));border-radius:8px;color:var(--theme-danger, #bd3e35);background:color-mix(in srgb,var(--theme-surface, #ffffff) 88%,transparent);box-shadow:0 10px 24px #14100c1a;opacity:0;transition:opacity .14s ease,transform .14s ease,background .14s ease}.image-card:hover .image-card-delete,.image-card-delete:focus-visible{opacity:1}.image-card-delete:hover{color:#fff;background:var(--theme-danger, #bd3e35)}.image-card-body,.image-card>div:last-child{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px 20px}.image-card-prompt,.image-card p{margin:0;color:var(--theme-heading, #202521);font-size:15px;line-height:1.6;overflow-wrap:anywhere}.image-card span{min-width:0;color:var(--theme-muted, #747b89);font-size:12px;font-weight:760}.asset-actions{flex-wrap:wrap}.asset-actions .action-feedback{justify-content:center;min-width:74px}.asset-actions .danger-action,.danger-action{color:var(--theme-danger, var(--danger, #c44236));background:color-mix(in srgb,var(--theme-danger, #c44236) 8%,var(--theme-surface, #ffffff))}.asset-actions .danger-action:hover,.danger-action:hover{color:#fff;background:var(--theme-danger, var(--danger, #c44236))}.image-record-feed{--creation-record-left: max(28px, calc((100% - 820px)/2 - 44px) );display:grid;gap:30px;justify-items:start;width:min(820px,calc(100% - var(--creation-record-left) - 28px));margin:0 auto 0 var(--creation-record-left);padding:10px 0 22px}.image-record-end{width:1px;height:1px}.image-record-day,.image-record-list{width:100%;min-width:0}.image-record-card{display:grid;gap:10px;width:min(820px,100%);min-width:0;color:var(--theme-text, #202633);border-radius:8px;transition:box-shadow .18s ease,outline-color .18s ease;scroll-margin-block:92px}.image-record-card.located{outline:2px solid color-mix(in srgb,var(--theme-accent, #3268f2) 72%,#ffffff);outline-offset:8px;box-shadow:0 0 0 8px color-mix(in srgb,var(--theme-accent, #3268f2) 12%,transparent)}.image-record-titleline,.image-record-prompt-wrap{min-width:0}.image-record-prompt{margin:0 0 5px;color:var(--theme-heading, #141922);font-size:15px;font-weight:830;line-height:1.45;overflow-wrap:anywhere}.image-record-prompt-text{display:block;min-width:0}.image-record-prompt:not(.expanded) .image-record-prompt-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.image-record-prompt.expanded .image-record-prompt-text{white-space:pre-wrap}.image-prompt-expand{display:inline-flex;align-items:center;gap:4px;min-height:20px;margin:-1px 0 5px;padding:0;border:0;color:var(--theme-accent, #3268f2);background:transparent;font-size:11px;font-weight:800}.image-prompt-expand:hover,.image-prompt-expand:focus-visible{color:var(--theme-heading, #141922)}.image-prompt-expand svg{transition:transform .18s ease}.image-prompt-expand svg.rotated{transform:rotate(180deg)}.image-record-media{position:relative;display:grid;place-items:center;width:min(var(--image-record-width, 360px),100%);max-width:520px;height:var(--image-record-height, auto);max-height:420px;min-height:160px;padding:0;border:1px solid var(--theme-line, #e8e1d4);border-radius:8px;color:var(--theme-muted, #747b89);background:linear-gradient(135deg,rgba(255,255,255,.5),transparent),color-mix(in srgb,var(--theme-surface-2, #f7f1e7) 78%,var(--theme-surface, #ffffff));box-shadow:0 16px 40px #3023141a;cursor:default;z-index:0}button.image-record-media{cursor:zoom-in}.image-record-media img{display:block;width:100%;height:100%;max-height:inherit;background:transparent;object-fit:contain;border-radius:var(--border-radius, 8px);overflow:hidden}.image-record-placeholder{align-content:center;gap:8px;text-align:center}.image-record-placeholder b{color:var(--theme-heading, #141922);font-size:15px;font-weight:830}.image-record-placeholder span{color:var(--theme-muted, #747b89);font-size:12px;font-weight:760}.image-record-generating .image-record-media{--image-generation-on-media: #f7fbff;--image-generation-on-media-muted: rgba(229, 240, 255, .86);--image-generation-on-media-subtle: rgba(209, 224, 244, .72);--image-generation-accent: color-mix(in srgb, var(--theme-accent-readable, var(--theme-accent, #3268f2)) 68%, #7dd3fc);min-height:220px;border-color:color-mix(in srgb,var(--image-generation-accent) 42%,rgba(255,255,255,.18));color:var(--image-generation-on-media);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.018) 40%,transparent 72%),repeating-linear-gradient(90deg,rgba(255,255,255,.032) 0 1px,transparent 1px 38px),repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 38px),radial-gradient(ellipse at 50% -12%,color-mix(in srgb,var(--image-generation-accent) 28%,transparent),transparent 58%),linear-gradient(145deg,#101923,color-mix(in srgb,var(--theme-accent-2, #18a27f) 10%,#122231) 48%,#0b111a);box-shadow:0 18px 46px color-mix(in srgb,var(--theme-accent, #3268f2) 16%,rgba(0,0,0,.24)),inset 0 1px #ffffff14;overflow:hidden}.image-record-generating .generated-media-glow.image-record-media,.image-record-generating .generated-media-glow.effect-active.image-record-media,.image-record-generating .generated-media-glow:not(.effect-active).image-record-media{border-color:color-mix(in srgb,var(--image-generation-accent) 42%,rgba(255,255,255,.18));background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.018) 40%,transparent 72%),repeating-linear-gradient(90deg,rgba(255,255,255,.032) 0 1px,transparent 1px 38px),repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 38px),radial-gradient(ellipse at 50% -12%,color-mix(in srgb,var(--image-generation-accent) 28%,transparent),transparent 58%),linear-gradient(145deg,#101923,color-mix(in srgb,var(--theme-accent-2, #18a27f) 10%,#122231) 48%,#0b111a);box-shadow:0 18px 46px color-mix(in srgb,var(--theme-accent, #3268f2) 16%,rgba(0,0,0,.24)),inset 0 1px #ffffff14}.image-record-generating .image-generating-shell:before,.image-record-generating .image-generating-shell:after,.image-record-generating .image-generating-shell>.edge-light{opacity:0}.image-record-generating .image-generating-shell>.border-glow-inner{background:linear-gradient(180deg,rgba(255,255,255,.045),transparent 36%),repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 38px),repeating-linear-gradient(0deg,rgba(255,255,255,.028) 0 1px,transparent 1px 38px)}.image-record-generating .generating-frame{display:grid;justify-items:center;place-items:center;gap:12px;width:min(336px,calc(100% - 36px));min-width:0;padding:18px 0 16px;color:var(--image-generation-on-media-muted);text-shadow:0 1px 2px rgba(0,0,0,.42);z-index:1}.generating-artboard{position:relative;display:grid;place-items:center;width:min(128px,46%);min-width:96px;aspect-ratio:4 / 3;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 20%,transparent);border-radius:12px;color:color-mix(in srgb,var(--theme-accent, #3268f2) 72%,var(--theme-text, #222832));background:linear-gradient(135deg,color-mix(in srgb,var(--theme-surface, #fff) 92%,transparent),color-mix(in srgb,var(--theme-surface, #fff) 58%,transparent)),linear-gradient(180deg,color-mix(in srgb,var(--theme-accent, #3268f2) 6%,var(--theme-surface, #fff)),color-mix(in srgb,var(--theme-accent, #3268f2) 3%,var(--theme-surface, #fff)));box-shadow:0 16px 40px -10px color-mix(in srgb,var(--theme-accent, #3268f2) 15%,transparent);overflow:hidden;animation:artboardFloat 4s ease-in-out infinite}.generating-artboard svg{position:relative;z-index:2;filter:drop-shadow(0 8px 18px color-mix(in srgb,var(--theme-accent, #3268f2) 25%,transparent));animation:iconPulse 2.5s ease-in-out infinite}.generating-artboard-grid,.generating-artboard-sheen{position:absolute;top:0;right:0;bottom:0;left:0;display:block;pointer-events:none}.generating-artboard-grid{background-image:linear-gradient(color-mix(in srgb,var(--theme-accent, #3268f2) 15%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--theme-accent, #3268f2) 10%,transparent) 1px,transparent 1px);background-size:20px 20px;opacity:.75;animation:gridPan 6s linear infinite}.generating-artboard-sheen{width:48%;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--theme-surface, #fff) 84%,rgba(255,255,255,.2)),transparent);animation:imageGeneratingSheen 2.2s ease-in-out infinite}.generating-copy{display:grid;gap:4px;max-width:100%;text-align:center}.image-record-placeholder .generating-copy b{color:var(--theme-heading, #141922);font-size:15px;font-weight:860}.image-record-placeholder .generating-copy span,.image-record-placeholder .image-generation-progress-head span,.image-record-placeholder .image-generation-waiting span{color:var(--theme-muted, #747b89);font-size:12px;font-weight:760;line-height:1.35}.image-record-placeholder .image-generation-progress-head span{animation:textPulse 3s ease-in-out infinite}.image-record-generating .image-record-placeholder .generating-copy b,html[data-theme] .image-record-generating .image-record-placeholder .generating-copy b,.image-record-generating .image-generation-progress-head strong,html[data-theme] .image-record-generating .image-generation-progress-head strong,html[data-theme] .image-record-generating .image-record-placeholder b{color:var(--image-generation-on-media);text-shadow:0 1px 2px rgba(0,0,0,.48)}.image-record-generating .image-record-placeholder .generating-copy span,.image-record-generating .image-record-placeholder .image-generation-progress-head span,.image-record-generating .image-record-placeholder .image-generation-waiting span,html[data-theme] .image-record-generating .image-record-placeholder span,html[data-theme] .image-record-generating .image-generation-progress-head span,html[data-theme] .image-record-generating .image-generation-waiting span{color:var(--image-generation-on-media-muted);text-shadow:0 1px 2px rgba(0,0,0,.42)}.image-record-generating .image-record-placeholder .image-generation-progress-head span{animation:none}.image-generation-progress{display:grid;gap:7px;width:min(260px,100%);margin-top:2px}.image-generation-progress-head{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;min-width:0;row-gap:5px}.image-generation-progress-head strong{color:var(--theme-heading, #141922);font-size:18px;font-variant-numeric:tabular-nums;font-weight:900;letter-spacing:0}.image-record-generating .image-generation-progress-head strong{font-size:22px;line-height:1}.image-record-generating .image-generation-progress-head span{display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#060c1657;line-height:1.3}.image-generation-progress-track{position:relative;width:100%;height:8px;border-radius:999px;background:color-mix(in srgb,var(--theme-line, #e8e1d4) 74%,#ffffff);overflow:hidden;box-shadow:inset 0 1px 2px #252d3a1a}.image-record-generating .image-generation-progress-track{height:10px;border:1px solid rgba(255,255,255,.14);background:#ecf5ff33;box-shadow:inset 0 1px 2px #00000042,0 1px #ffffff0d}.image-generation-progress-track i{position:relative;display:block;width:var(--image-generation-progress, 1%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#18a27f,#3268f2,#7a64d8,#18a27f);background-size:200% 100%;transition:width .52s cubic-bezier(.22,1,.36,1);overflow:hidden;animation:gradientFlow 4s linear infinite}.image-record-generating .image-generation-progress-track i{background:linear-gradient(90deg,#2f7bff,#76e8d6,#f7fbff);background-size:180% 100%;box-shadow:0 0 18px #76e8d657,inset 0 1px #ffffff59}.image-generation-progress-track i:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);animation:imageProgressSweep 1.35s ease-in-out infinite}.image-generation-waiting{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-height:30px;padding:0 10px;border:1px solid color-mix(in srgb,var(--theme-line, #e8e1d4) 78%,#ffffff);border-radius:8px;background:#ffffff9e}.image-record-generating .image-generation-waiting{border-color:#ffffff29;color:var(--image-generation-on-media-muted);background:#060c166b;box-shadow:inset 0 1px #ffffff0f}.image-generation-waiting svg{flex:0 0 auto;color:color-mix(in srgb,var(--theme-accent, #3268f2) 70%,var(--theme-muted, #747b89));animation:spin 1.8s linear infinite}.image-record-generating .image-generation-waiting svg{color:var(--image-generation-accent)}.image-generation-stop{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;margin-top:2px;padding:0 13px;border:1px solid rgba(255,255,255,.2);border-radius:9px;color:var(--image-generation-on-media);background:#070d1785;box-shadow:inset 0 1px #ffffff12;font-size:12px;font-weight:840;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.image-generation-stop:hover{border-color:#ffffff61;background:#131d2bc7;transform:translateY(-1px)}.image-generation-stop:focus-visible{outline:2px solid var(--image-generation-accent);outline-offset:2px}.image-record-generating .generating-steps{position:absolute;right:16px;bottom:14px;gap:6px;margin:0;padding:5px 6px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:#060c1642}.image-record-generating .generating-steps i{width:6px;height:6px;background:#eaf4ffbd;box-shadow:0 0 8px #76e8d63d}.image-record-generating .generating-steps.quiet{opacity:.72}.image-record-foot,.video-record-foot.image-record-foot.completed{width:min(var(--image-record-width, 360px),100%);max-width:520px;justify-content:flex-start}.image-record-actions,.video-record-foot.image-record-foot.completed .image-record-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(352px,100%);gap:5px}.image-record-actions button,.image-record-actions a{justify-content:center;gap:4px;min-width:0;min-height:28px;padding:0 6px;border-radius:7px;font-size:11px;font-weight:760;line-height:1}.image-record-actions button svg,.image-record-actions a svg{flex:0 0 auto;width:13px;height:13px}.image-record-actions .action-feedback.done,.asset-actions .action-feedback.done{color:var(--theme-accent-readable, var(--theme-accent, #3268f2));border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 36%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-accent, #3268f2) 11%,var(--theme-surface, #ffffff))}.image-record-actions .action-feedback.error,.asset-actions .action-feedback.error{color:var(--theme-danger, #c44236);border-color:color-mix(in srgb,var(--theme-danger, #c44236) 34%,var(--theme-line, #e3e7ee));background:color-mix(in srgb,var(--theme-danger, #c44236) 10%,var(--theme-surface, #ffffff))}.image-composer-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 1 auto;max-width:min(220px,28vw);min-height:30px;padding:0 10px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 24%,var(--theme-line, #d8dee8));border-radius:8px;color:var(--theme-heading, #141922);background:color-mix(in srgb,var(--theme-accent, #3268f2) 7%,var(--theme-surface, #ffffff));box-shadow:none;font-size:12px;font-weight:820;line-height:1;white-space:nowrap}.image-composer-status svg{flex:0 0 auto;color:var(--theme-accent-readable, var(--theme-accent, #3268f2))}.image-composer-status span{min-width:0;overflow:hidden;text-overflow:ellipsis}@media(max-width:760px){.image-composer-status{max-width:132px;padding:0 8px}}.asset-history-open{position:relative;display:flex;flex-direction:column;gap:8px;width:164px;min-width:0;overflow:visible;padding:0;color:inherit;background:transparent;text-align:left}.asset-history-card:hover .asset-history-thumb,.asset-history-open:focus-visible .asset-history-thumb{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 58%,var(--theme-line, #252b36));filter:brightness(1.06)}.asset-history-save,.asset-history-delete{position:absolute;top:7px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;padding:0;border:1px solid color-mix(in srgb,var(--theme-danger, #c44236) 26%,rgba(255,255,255,.2));border-radius:7px;color:#fff;background:color-mix(in srgb,var(--theme-danger, #c44236) 86%,#111 14%);box-shadow:0 10px 24px #0000003d;opacity:0;transition:opacity .14s ease,transform .14s ease}.asset-history-save{right:42px;border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 34%,rgba(255,255,255,.2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 80%,#111 20%)}.asset-history-delete{right:7px}.asset-history-save:disabled{opacity:.46}.asset-history-card:hover .asset-history-save,.asset-history-save:focus-visible,.asset-history-card:hover .asset-history-delete,.asset-history-delete:focus-visible{opacity:1}.asset-history-select:hover,.asset-history-select:focus-visible{border-color:#fff;background:color-mix(in srgb,var(--theme-accent, #3268f2) 28%,rgba(8,11,18,.5));transform:translateY(-1px)}@media(max-width:820px){.image-card img,.image-card .empty-thumb{max-height:80vh}}.chat-composer{padding:12px 14px}.chat-composer .composer-attachment-row{padding:0 0 10px}.chat-composer-input-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0}.chat-composer .tool-round,.chat-composer .send-button{width:46px;height:46px;align-self:center}.chat-composer textarea{width:100%;min-width:0;height:46px;min-height:46px;max-height:156px;padding:10px 4px;overflow-y:hidden;scrollbar-gutter:stable;border:0;border-radius:0;box-shadow:none;resize:none;font-size:17px;line-height:1.45}.chat-composer textarea:focus{box-shadow:none}@media(max-width:640px){.chat-drop-overlay{padding:78px 16px 118px}.chat-drop-overlay-panel{width:100%;min-height:156px;padding:22px 18px;border-radius:14px}.chat-drop-icon{width:56px;height:56px}.chat-drop-icon svg{width:27px;height:27px}.chat-drop-overlay-panel>span:not(.chat-drop-icon){font-size:15px}.chat-composer{padding:10px 12px}.chat-composer-input-row{gap:8px}.chat-composer .tool-round,.chat-composer .send-button{width:42px;height:42px}.chat-composer textarea{height:42px;min-height:42px;max-height:140px;padding:9px 2px;font-size:16px}}:root{--muted: #596273;--muted-2: #747c8b;--line: #dfe5ee;--line-strong: #c8d2e2}html[data-theme]{--theme-muted: #4f596b;--theme-muted-2: #667084;--theme-line: #dce2eb;--theme-line-strong: #c3cede;--theme-readable-muted: #4f596b;--theme-readable-subtle: #667084;--theme-disabled-text: #687386;--theme-disabled-bg: color-mix(in srgb, var(--theme-surface-2) 88%, var(--theme-main));--theme-on-media: #ffffff;--theme-on-media-muted: rgba(255, 255, 255, .88);--theme-media-scrim: rgba(6, 9, 15, .72);--readable-note-bg: color-mix(in srgb, var(--theme-accent) 7%, var(--theme-surface))}html[data-theme=minimal]{--theme-muted: #555555;--theme-muted-2: #6b6b6b;--theme-line: #d7d7d1;--theme-line-strong: #bebeb7;--theme-readable-muted: #505050;--theme-readable-subtle: #646464;--theme-disabled-text: #696969}html[data-theme=warm]{--theme-muted: #604d39;--theme-muted-2: #766049;--theme-line: #e2cfb8;--theme-line-strong: #ceb08f;--theme-readable-muted: #59442f;--theme-readable-subtle: #6f5740;--theme-disabled-text: #785f46}html[data-theme=mint]{--theme-muted: #40594f;--theme-muted-2: #5b746b;--theme-line: #cfe4db;--theme-line-strong: #abcfc1;--theme-readable-muted: #385247;--theme-readable-subtle: #526b62;--theme-disabled-text: #5d736b}html[data-theme=ocean]{--theme-muted: #3f5b67;--theme-muted-2: #5d7782;--theme-line: #cbe0eb;--theme-line-strong: #accadb;--theme-readable-muted: #365462;--theme-readable-subtle: #526e7a;--theme-disabled-text: #607984}html[data-theme=rose]{--theme-muted: #5f4853;--theme-muted-2: #765d69;--theme-line: #ead0da;--theme-line-strong: #d6adbd;--theme-readable-muted: #583f4b;--theme-readable-subtle: #6d5360;--theme-disabled-text: #765d69}html[data-theme=dark]{--theme-muted: #c8d0dc;--theme-muted-2: #aeb9ca;--theme-line: #3c485b;--theme-line-strong: #566579;--theme-readable-muted: #d2d9e4;--theme-readable-subtle: #bac4d2;--theme-disabled-text: #aeb8c8;--theme-disabled-bg: color-mix(in srgb, var(--theme-surface-2) 76%, var(--theme-main));--readable-note-bg: color-mix(in srgb, var(--theme-accent) 12%, var(--theme-surface))}html[data-theme=graphite]{--theme-muted: #cbd2dc;--theme-muted-2: #b2bbc7;--theme-line: #445064;--theme-line-strong: #59677c;--theme-readable-muted: #d5dbe4;--theme-readable-subtle: #bec7d2;--theme-disabled-text: #b5bfcc;--theme-disabled-bg: color-mix(in srgb, var(--theme-surface-2) 76%, var(--theme-main));--readable-note-bg: color-mix(in srgb, var(--theme-accent) 12%, var(--theme-surface))}body{-webkit-font-smoothing:antialiased;text-size-adjust:100%}textarea::placeholder,input::placeholder{color:var(--theme-muted-2, #667084);opacity:1}html[data-theme] textarea::placeholder,html[data-theme] input::placeholder{color:var(--theme-muted-2);opacity:1}html[data-theme] .settings-modal,html[data-theme] .video-settings-panel,html[data-theme] .workflow-inspector,html[data-theme] .node-config-panel,html[data-theme] .tasks-column,html[data-theme] .asset-card,html[data-theme] .image-card,html[data-theme] .video-task-card{border-color:var(--theme-line-strong)}.settings-modal{border-radius:10px;color:var(--theme-text, #151922)}.modal-title{align-items:center}.modal-title h2{color:var(--theme-heading, #10131a);font-size:22px;font-weight:880;letter-spacing:0;line-height:1.18}.modal-title p{max-width:680px;color:var(--theme-muted, #596273);font-size:14px;font-weight:560;line-height:1.58}.settings-layout{gap:18px}.settings-nav{border-color:var(--theme-line-strong, var(--line-strong));background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 82%,var(--theme-surface, #fff))}.settings-nav-button{min-height:62px;padding:11px 10px}.settings-nav-button svg{color:var(--theme-muted, #596273)}.settings-nav-button b{color:var(--theme-heading, #10131a);font-size:14px;font-weight:860;line-height:1.3}.settings-nav-button small{display:-webkit-box;color:var(--theme-muted, #596273);font-size:12px;font-weight:700;line-height:1.42;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.settings-nav-button:hover,.settings-nav-button.active{border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 38%,var(--theme-line, var(--line)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 12%,var(--theme-surface, #fff))}.settings-panel{gap:16px;padding-right:8px;scrollbar-gutter:stable}.settings-section-title{gap:6px}.settings-section-title h3{color:var(--theme-heading, #10131a);font-size:20px;font-weight:880;letter-spacing:0}.settings-section-title p{max-width:720px;color:var(--theme-muted, #596273);font-size:14px;font-weight:560;line-height:1.6}.settings-section-card,.api-module-card,.account-settings-card,.account-setting-item,.agent-settings-summary,.agent-channel-card,.custom-persona-card,.theme-setting{border-color:var(--theme-line-strong, var(--line-strong));background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface, #fff) 82%,transparent),color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 92%,transparent)),var(--theme-surface-2, #f7f8fb)}.settings-section-card,.api-module-card,.agent-channel-card,.custom-persona-card{gap:16px}.field{gap:8px}.field-label{color:var(--theme-heading, #151922);font-size:13px;font-weight:860;line-height:1.35}.field-hint{color:var(--theme-muted, #596273);font-size:12px;font-weight:650;line-height:1.58}.settings-modal .field-row-grid,.settings-modal .field-row-grid.two{align-items:start}.settings-modal .field{align-content:start;min-height:0}.settings-modal .field>:is(input,select,textarea,.clearable-input){min-width:0}.settings-modal .field>.xlb-unified-select{min-width:0;width:100%}.settings-modal .xlb-select-trigger{min-height:42px;border-color:var(--theme-line-strong, var(--line-strong));color:var(--theme-text, #151922);background:var(--theme-input, #fff);font-size:14px;font-weight:540}.settings-modal :is(input,select){min-height:42px}.settings-modal .toggle-line{align-self:start}.settings-modal input,.settings-modal select,.settings-modal textarea{border-color:var(--theme-line-strong, var(--line-strong));background:var(--theme-input, #fff);color:var(--theme-text, #151922);font-size:14px;font-weight:540}.settings-modal input:read-only{color:var(--theme-heading, #151922);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 70%,var(--theme-surface, #fff))}.settings-modal input::placeholder,.settings-modal textarea::placeholder{color:var(--theme-muted-2, #667084);font-weight:520}.toggle-line{color:var(--theme-heading, #151922);font-size:14px;font-weight:780;line-height:1.35}.settings-section-actions{align-items:center;flex-wrap:wrap}.provider-line span{color:var(--theme-text, #151922);font-size:12px;font-weight:780}.api-module-head b,.agent-settings-summary b,.agent-channel-card b,.persona-current-summary b,.persona-card-copy b,.custom-persona-head b,.custom-persona-advanced-head b,.account-copy b,.account-setting-item b{color:var(--theme-heading, #10131a);font-weight:860}.api-module-head b{font-size:15px}.api-module-head small,.api-module-default,.agent-settings-summary small,.agent-channel-card small,.persona-current-summary small,.persona-card-copy small,.persona-card-state,.custom-persona-head small,.custom-persona-advanced-head small,.account-copy small,.account-setting-item small,.account-setting-note,.channel-qr-panel span,.agent-channel-note{color:var(--theme-muted, #596273);font-size:13px;font-weight:620;line-height:1.58}.api-module-default,.account-setting-note{border:1px solid color-mix(in srgb,var(--theme-accent, var(--blue)) 18%,var(--theme-line, var(--line)));background:var(--readable-note-bg, #f5f8ff)}.api-module-switch,.agent-channel-toggle,.agent-channel-state,.theme-state{color:var(--theme-text, #151922);font-size:12px;font-weight:860}.agent-channel-state{border:1px solid var(--theme-line, var(--line));background:color-mix(in srgb,var(--theme-surface, #fff) 72%,var(--theme-surface-3, #eef2f7))}.agent-channel-state.ok,.agent-channel-compact{color:var(--theme-success, #168a73);background:color-mix(in srgb,var(--theme-success, #168a73) 13%,var(--theme-surface, #fff));border-color:color-mix(in srgb,var(--theme-success, #168a73) 34%,var(--theme-line, var(--line)))}.agent-channel-compact{font-size:13px;font-weight:800;line-height:1.45}.modal-actions button,.account-login-button,.agent-context-readout button,.agent-channel-qr-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:var(--theme-line-strong, var(--line-strong));color:var(--theme-heading, #151922);background:var(--theme-surface, #fff);font-weight:820}.modal-actions button:not(.primary):hover,.account-login-button:not(:disabled):hover,.agent-channel-qr-actions>button:not(:disabled):hover{border-color:color-mix(in srgb,var(--theme-accent, var(--blue)) 38%,var(--theme-line, var(--line)));background:color-mix(in srgb,var(--theme-accent, var(--blue)) 10%,var(--theme-surface, #fff))}.settings-message{font-size:13px;font-weight:650;line-height:1.55}.theme-card{border-color:var(--theme-line-strong, var(--line-strong));color:#111827}.theme-card b{font-size:15px;font-weight:880;line-height:1.25}.theme-card small{color:#4f5b6d;font-size:13px;font-weight:600;line-height:1.5}.theme-title-row em{font-size:12px;font-weight:860}.theme-card.theme-dark small,.theme-card.theme-graphite small{color:#d8dee8}html[data-theme] .xlb-light-header p,html[data-theme] .studio-header p,html[data-theme] .history-list h3,html[data-theme] .history-list button small,html[data-theme] .nav-copy small,html[data-theme] .xlb-light-brand small,html[data-theme] .sidebar-current span,html[data-theme] .sidebar-action-copy small,html[data-theme] .suggestion-cloud small,html[data-theme] .video-dock-summary,html[data-theme] .video-ratio-grid button small,html[data-theme] .video-quality-grid button b,html[data-theme] .video-resolution-readout span,html[data-theme] .video-task-card span,html[data-theme] .video-task-card em,html[data-theme] .video-task-card small,html[data-theme] .video-record-card small,html[data-theme] .image-card span,html[data-theme] .image-card small,html[data-theme] .image-record-card small,html[data-theme] .asset-card span,html[data-theme] .asset-card small,html[data-theme] .asset-history-open small,html[data-theme] .selected-node em,html[data-theme] .juliu-muted,html[data-theme] .flow-node small,html[data-theme] .node-kicker,html[data-theme] .node-section-head p,html[data-theme] .template-note,html[data-theme] .empty-state p,html[data-theme] .loading-card span{color:var(--theme-muted)}html[data-theme] .video-task-card small,html[data-theme] .video-record-card small,html[data-theme] .image-card small,html[data-theme] .image-record-card small,html[data-theme] .asset-card small,html[data-theme] .asset-history-open small{font-size:12px;font-weight:760;line-height:1.45}html[data-theme] .message-actions button,html[data-theme] .next-prompt-row button,html[data-theme] .asset-actions button,html[data-theme] .asset-actions a,html[data-theme] .task-actions a,html[data-theme] .section-title button,html[data-theme] .video-actions button,html[data-theme] .video-toolbar button,html[data-theme] .video-prompt-row.light button{color:var(--theme-text);border-color:var(--theme-line-strong);background:color-mix(in srgb,var(--theme-surface-2) 88%,var(--theme-surface))}html[data-theme] .message-actions button:hover,html[data-theme] .next-prompt-row button:hover,html[data-theme] .asset-actions button:hover,html[data-theme] .asset-actions a:hover,html[data-theme] .task-actions a:hover{color:var(--theme-accent);border-color:color-mix(in srgb,var(--theme-accent) 38%,var(--theme-line));background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface))}html[data-theme] .search-box input,html[data-theme] .video-toolbar input,html[data-theme] .video-feed-controls input{color:var(--theme-heading)}html[data-theme] .search-box input::placeholder,html[data-theme] .video-toolbar input::placeholder,html[data-theme] .video-feed-controls input::placeholder,html[data-theme] .xlb-light-composer textarea::placeholder,html[data-theme] .chat-composer textarea::placeholder,html[data-theme] .image-prompt-box textarea::placeholder,html[data-theme] .video-dock-unified textarea::placeholder,html[data-theme] .xlb-video-dock textarea::placeholder{color:var(--theme-muted-2)}html[data-theme] button:disabled,html[data-theme] .modal-actions button:disabled,html[data-theme] .account-login-button:disabled{color:var(--theme-muted);border-color:color-mix(in srgb,var(--theme-line) 78%,transparent);background:color-mix(in srgb,var(--theme-surface-2) 86%,var(--theme-main));opacity:1}html[data-theme=dark],html[data-theme=graphite]{color-scheme:dark}html[data-theme] .advanced-panel{max-height:min(54vh,560px);border-color:var(--theme-line-strong);color:var(--theme-text);background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface) 96%,transparent),color-mix(in srgb,var(--theme-surface-2) 98%,transparent)),var(--theme-surface);box-shadow:var(--theme-float-shadow, var(--theme-shadow, var(--soft-shadow)));scrollbar-color:color-mix(in srgb,var(--theme-muted) 46%,transparent) transparent}html[data-theme] .advanced-panel::-webkit-scrollbar{width:10px}html[data-theme] .advanced-panel::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--theme-muted) 46%,transparent);background-clip:content-box}html[data-theme] .advanced-help{border-color:color-mix(in srgb,var(--theme-accent) 30%,var(--theme-line));color:var(--theme-text);background:linear-gradient(135deg,color-mix(in srgb,var(--theme-accent) 12%,transparent),color-mix(in srgb,var(--theme-accent-2) 9%,transparent)),var(--theme-surface)}html[data-theme] .advanced-help b,html[data-theme] .advanced-panel .field-label{color:var(--theme-heading)}html[data-theme] .advanced-help p,html[data-theme] .advanced-panel .field-hint{color:var(--theme-muted)}html[data-theme] .param-reset-button{border-color:var(--theme-line-strong);color:var(--theme-heading);background:color-mix(in srgb,var(--theme-surface) 88%,var(--theme-surface-2))}html[data-theme] .param-reset-button:hover,html[data-theme] .param-reset-button:focus-visible{border-color:color-mix(in srgb,var(--theme-accent) 36%,var(--theme-line));color:var(--theme-accent-readable, var(--theme-accent));background:color-mix(in srgb,var(--theme-accent) 10%,var(--theme-surface))}html[data-theme] .advanced-panel textarea,html[data-theme] .advanced-panel input[type=number]{border-color:var(--theme-line-strong);color:var(--theme-heading);background:color-mix(in srgb,var(--theme-input) 84%,var(--theme-surface))}html[data-theme] .advanced-panel textarea{min-height:112px;max-height:220px;font-size:14px;line-height:1.62}html[data-theme] .advanced-panel input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;height:24px;min-width:0;padding:0;border:0;background:transparent;accent-color:var(--theme-accent);cursor:pointer}html[data-theme] .advanced-panel input[type=range]::-webkit-slider-runnable-track{height:5px;border:1px solid color-mix(in srgb,var(--theme-line-strong) 76%,transparent);border-radius:999px;background:color-mix(in srgb,var(--theme-accent) 22%,var(--theme-surface-2));box-shadow:inset 0 1px 2px #0f172a1a}html[data-theme] .advanced-panel input[type=range]::-webkit-slider-thumb{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:2px solid var(--theme-surface);border-radius:50%;background:var(--theme-accent-readable, var(--theme-accent));box-shadow:0 0 0 1px color-mix(in srgb,var(--theme-accent) 62%,var(--theme-line-strong)),0 3px 8px color-mix(in srgb,var(--theme-accent) 24%,transparent)}html[data-theme] .advanced-panel input[type=range]::-moz-range-track{height:5px;border:1px solid color-mix(in srgb,var(--theme-line-strong) 76%,transparent);border-radius:999px;background:color-mix(in srgb,var(--theme-accent) 22%,var(--theme-surface-2))}html[data-theme] .advanced-panel input[type=range]::-moz-range-thumb{width:12px;height:12px;border:2px solid var(--theme-surface);border-radius:50%;background:var(--theme-accent-readable, var(--theme-accent));box-shadow:0 3px 8px color-mix(in srgb,var(--theme-accent) 24%,transparent)}html[data-theme] .advanced-panel input[type=range]:focus{box-shadow:none}html[data-theme] .advanced-panel input[type=range]:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-accent) 46%,transparent);outline-offset:4px}html[data-theme] .advanced-panel input[type=range]:disabled{cursor:not-allowed;opacity:.45}html[data-theme] .advanced-panel .param-value{color:var(--theme-accent)}html[data-theme] .advanced-toggle:hover,html[data-theme] .advanced-toggle:focus-visible{color:var(--theme-heading)}html[data-theme] .advanced-panel .field-row-grid{align-items:start}html[data-theme] .current-persona-chip{border-color:color-mix(in srgb,var(--contrast-chip) 22%,var(--theme-line));color:var(--theme-heading);background:color-mix(in srgb,var(--contrast-chip) 8%,var(--theme-surface-2))}html[data-theme] .current-persona-chip:hover,html[data-theme] .current-persona-chip:focus-visible{border-color:color-mix(in srgb,var(--contrast-chip) 36%,var(--theme-line-strong));color:var(--contrast-chip);background:color-mix(in srgb,var(--contrast-chip) 12%,var(--theme-surface))}html[data-theme] .chat-persona-card .persona-card-state{background:color-mix(in srgb,var(--contrast-muted) 10%,var(--theme-surface-2))}html[data-theme] .advanced-param-field{display:flex;flex-direction:column;gap:8px}html[data-theme] .advanced-param-header{display:flex;justify-content:space-between;align-items:flex-end}html[data-theme] .advanced-param-label{font-size:13px;font-weight:600;color:var(--theme-heading)}html[data-theme] .advanced-param-value{font-size:16px;font-weight:700;color:var(--theme-accent);font-family:var(--font-mono, monospace);line-height:1}html[data-theme] .advanced-param-hint{font-size:12px;color:var(--theme-muted);line-height:1.5;margin-top:2px}@media(max-width:900px){.advanced-panel .field-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.persona-grid.chat-persona-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){html[data-theme] .advanced-panel{max-height:min(62vh,560px);padding:12px}.advanced-panel-head,.advanced-persona-head{grid-template-columns:1fr}.param-reset-button{justify-self:start}.persona-grid.chat-persona-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-panel .field-row-grid,.advanced-panel .field-row-grid.two{grid-template-columns:1fr}.settings-nav-button{min-height:70px;padding:10px 8px}.settings-nav-button b{font-size:13px}.settings-section-title h3{font-size:19px}.settings-section-title p,.modal-title p{font-size:13px}}html[data-theme] .thinking-switch.active,html[data-theme] .param-value,html[data-theme] .video-record-actions a,html[data-theme] .asset-actions a,html[data-theme] .video-task-card a{color:var(--theme-accent-readable, var(--theme-accent))}html[data-theme] .thinking-switch.active{border-color:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 28%,var(--theme-line));background:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 10%,var(--theme-surface))}html[data-theme] .thinking-switch.active .thinking-state-dot{background:var(--theme-accent-readable, var(--theme-accent));box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 18%,transparent)}html[data-theme] .web-search-toggle.active{border-color:color-mix(in srgb,#118661 28%,var(--theme-line));color:#0b7654;background:color-mix(in srgb,#118661 10%,var(--theme-surface))}html[data-theme] .web-search-toggle.active .thinking-state-dot{background:#118661;box-shadow:0 0 0 3px color-mix(in srgb,#118661 18%,transparent)}html[data-theme] .message-copy-feedback,html[data-theme] .agent-channel-state.ok,html[data-theme] .agent-channel-compact{color:var(--theme-accent-2-readable, var(--theme-success))}.asset-kind-badge{border-color:#ffffff3d;color:#fff;background:#080b12c2;text-shadow:0 1px 1px rgba(0,0,0,.28)}.asset-type-tabs button span,html[data-theme] .asset-type-tabs button span{color:currentColor;opacity:1}.asset-primary-tabs button.active,.asset-type-tabs button.active{color:var(--theme-heading, #f5f7fb)}html[data-theme] .active-tool{border-color:var(--theme-primary);color:var(--theme-primary-text);background:var(--theme-primary)}html[data-theme] .settings-nav{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface-2) 82%,transparent),color-mix(in srgb,var(--theme-surface) 68%,transparent)),var(--theme-surface-2);background-color:var(--theme-surface-2)}html[data-theme] .settings-nav-button:hover,html[data-theme] .settings-nav-button.active{background:linear-gradient(0deg,color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 10%,transparent),color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 10%,transparent)),var(--theme-surface);background-color:var(--theme-surface)}.status-pill{color:#604815}html[data-theme] .status-pill{color:color-mix(in srgb,var(--theme-warning) 52%,var(--theme-heading))}html[data-theme=dark] .status-pill,html[data-theme=graphite] .status-pill{color:#f7d38a;background:color-mix(in srgb,var(--theme-warning) 13%,var(--theme-surface));border-color:color-mix(in srgb,var(--theme-warning) 28%,var(--theme-line))}.generation-content small,.video-generation-content small,html[data-theme] .generation-content small,html[data-theme] .video-generation-content small{color:#ffffffd1}.progress-container span,.progress-container em,html[data-theme] .progress-container span,html[data-theme] .progress-container em{color:#ebf1fae6}.generation-stage,html[data-theme] .generation-stage{color:#ffe6ad;background:#d6ad6c2e;border-color:#f3d8a747}html[data-theme] .juliu-workflow-shell button.primary,html[data-theme] .juliu-node-actions button:first-child{border-color:var(--theme-primary, var(--juliu-accent));color:var(--theme-primary-text, #ffffff);background:var(--theme-primary, var(--juliu-accent))}html[data-theme] .juliu-workflow-shell button.primary:hover,html[data-theme] .juliu-node-actions button:first-child:hover{filter:brightness(1.04)}html[data-theme] .persona-card.active .persona-card-state{color:var(--theme-accent-readable, var(--theme-primary))}html[data-theme=dark] .persona-card.active .persona-card-state,html[data-theme=graphite] .persona-card.active .persona-card-state{color:var(--theme-accent-readable, var(--theme-heading))}html[data-theme] .theme-card{--card-readable-text: #111827;--card-readable-muted: #4f5b6d;--card-readable-chip: color-mix(in srgb, var(--card-accent) 42%, #050b12);--card-readable-chip-bg: rgba(255, 255, 255, .9);color:var(--card-readable-text);background-color:var(--card-bg)}html[data-theme] .theme-card b{color:var(--card-readable-text)}html[data-theme] .theme-card small{color:var(--card-readable-muted)}html[data-theme] .theme-title-row em{color:var(--card-readable-chip);background:var(--card-readable-chip-bg);border:1px solid color-mix(in srgb,var(--card-accent) 18%,transparent)}html[data-theme] .theme-state{color:#344052;background:#ffffffd1}html[data-theme] .theme-card.theme-dark,html[data-theme] .theme-card.theme-graphite{--card-readable-text: #ffffff;--card-readable-muted: #d8dee8;--card-readable-chip: #ffffff;--card-readable-chip-bg: rgba(8, 11, 18, .78)}html[data-theme] .theme-card.theme-dark .theme-state,html[data-theme] .theme-card.theme-graphite .theme-state{color:#f3f7fb;background:#080b12c7}html[data-theme] .theme-card.active .theme-state{color:var(--theme-primary-text);border-color:var(--theme-primary);background:var(--theme-primary)}html[data-theme] .xlb-light-header p,html[data-theme] .studio-header p,html[data-theme] .modal-title p,html[data-theme] .settings-section-title p,html[data-theme] .field-hint,html[data-theme] .history-list h3,html[data-theme] .history-list button small,html[data-theme] .nav-copy small,html[data-theme] .xlb-light-brand small,html[data-theme] .sidebar-current span,html[data-theme] .sidebar-action-copy small,html[data-theme] .suggestion-cloud small,html[data-theme] .quick-start-grid small,html[data-theme] .empty-state p,html[data-theme] .video-feed-head p,html[data-theme] .video-dock-summary,html[data-theme] .video-record-titleline span,html[data-theme] .video-record-status span,html[data-theme] .video-record-detail-popover span,html[data-theme] .video-record-empty,html[data-theme] .video-record-empty b,html[data-theme] .video-ratio-grid button small,html[data-theme] .video-quality-grid button b,html[data-theme] .video-resolution-readout span,html[data-theme] .image-record-status,html[data-theme] .image-record-placeholder span,html[data-theme] .image-generation-progress-head span,html[data-theme] .image-generation-waiting span,html[data-theme] .asset-history-meta span,html[data-theme] .asset-history-meta time,html[data-theme] .asset-library-empty,html[data-theme] .asset-type-tabs button span,html[data-theme] .agent-command-panel p,html[data-theme] .agent-disabled-panel p,html[data-theme] .agent-message>span,html[data-theme] .agent-work-meta-copy small,html[data-theme] .agent-work-current,html[data-theme] .agent-process-section-head small,html[data-theme] .agent-process-group-copy small,html[data-theme] .agent-process-group-head em,html[data-theme] .agent-process-event-line em,html[data-theme] .agent-live-code-head em,html[data-theme] .agent-event-code,html[data-theme] .agent-run-command,html[data-theme] .juliu-brand span,html[data-theme] .juliu-muted,html[data-theme] .juliu-palette-note,html[data-theme] .juliu-statusbar,html[data-theme] .juliu-inspector-head small,html[data-theme] .juliu-palette>button small,html[data-theme] .juliu-node-meta small,html[data-theme] .juliu-node-top em,html[data-theme] .juliu-cloud-node p,html[data-theme] .juliu-node-output,html[data-theme] .juliu-node-image-empty,html[data-theme] .juliu-node-menu-head span,html[data-theme] .juliu-node-menu-grid button small,html[data-theme] .juliu-status,html[data-theme] .juliu-field small{color:var(--theme-readable-muted, var(--theme-muted))}html[data-theme] .juliu-status.ok{color:var(--juliu-success)}html[data-theme] .juliu-status.bad{color:var(--juliu-danger)}html[data-theme] .juliu-status.active{color:var(--juliu-accent-strong)}html[data-theme] .juliu-status-headline strong,html[data-theme] .juliu-status p{color:currentColor}html[data-theme] .theme-setting-head small,html[data-theme] .theme-card small,html[data-theme] .settings-nav-button small,html[data-theme] .api-module-head small,html[data-theme] .api-module-default,html[data-theme] .agent-settings-summary small,html[data-theme] .agent-channel-card small,html[data-theme] .persona-current-summary small,html[data-theme] .persona-card-copy small,html[data-theme] .custom-persona-head small,html[data-theme] .custom-persona-advanced-head small,html[data-theme] .account-copy small,html[data-theme] .account-setting-item small,html[data-theme] .account-setting-note,html[data-theme] .channel-qr-panel span,html[data-theme] .agent-channel-note{color:var(--theme-readable-muted, var(--theme-muted))}html[data-theme] .settings-nav-button small,html[data-theme] .field-hint,html[data-theme] .theme-card small,html[data-theme] .video-record-titleline span,html[data-theme] .video-record-status span,html[data-theme] .asset-history-meta span,html[data-theme] .asset-history-meta time,html[data-theme] .juliu-palette>button small,html[data-theme] .juliu-node-menu-grid button small,html[data-theme] .agent-process-section-head small,html[data-theme] .agent-process-group-copy small{font-weight:740}html[data-theme] button:disabled,html[data-theme] .send-button:disabled,html[data-theme] .message-actions button:disabled,html[data-theme] .video-record-actions button:disabled,html[data-theme] .asset-library-tools button:disabled,html[data-theme] .asset-history-save:disabled,html[data-theme] .agent-status-actions button:disabled,html[data-theme] .agent-approval-actions button:disabled,html[data-theme] .juliu-workflow-shell button:disabled{border-color:color-mix(in srgb,var(--theme-line) 76%,transparent);color:var(--theme-disabled-text, var(--theme-muted));background:var(--theme-disabled-bg, color-mix(in srgb, var(--theme-surface-2) 86%, var(--theme-main)));opacity:1;filter:none}html[data-theme] .send-button:disabled,html[data-theme] .segmented button:disabled,html[data-theme] .tool-round:disabled{box-shadow:none}html[data-theme] .asset-primary-tabs button,html[data-theme] .asset-type-tabs button,html[data-theme] .asset-library-tools button,html[data-theme] .asset-filter-actions select,html[data-theme] .asset-search{color:var(--theme-text);background:color-mix(in srgb,var(--theme-surface) 92%,var(--theme-main))}html[data-theme] .asset-primary-tabs button.active,html[data-theme] .asset-type-tabs button.active,html[data-theme] .asset-selection-status{color:var(--theme-primary-text);background:var(--theme-primary)}html[data-theme] .asset-kind-badge,html[data-theme] .asset-history-select,html[data-theme] .asset-play-badge,html[data-theme] .mini-ref-remove,html[data-theme] .juliu-asset-strip button.video svg{color:var(--theme-on-media);background:var(--theme-media-scrim);text-shadow:0 1px 2px rgba(0,0,0,.38)}html[data-theme] .asset-history-select.selected{color:#fff;border-color:#ffffffe6;background:var(--theme-primary, var(--theme-accent, #3268f2));text-shadow:none}html[data-theme] .asset-history-select:not(.selected){color:#fff;border-color:#ffffffbd;background:#080b125c;text-shadow:none}html[data-theme] .video-record-fallback,html[data-theme] .video-record-fallback span,html[data-theme] .video-preview-empty,html[data-theme] .video-preview-empty span,html[data-theme] .generation-content small,html[data-theme] .video-generation-content small,html[data-theme] .progress-container span,html[data-theme] .progress-container em{color:var(--theme-on-media-muted)}html[data-theme] .video-record-fallback b,html[data-theme] .video-preview-empty b,html[data-theme] .generation-copy b,html[data-theme] .video-generation-content .generation-copy b{color:var(--theme-on-media)}html[data-theme] .image-record-placeholder,html[data-theme] .generating-copy,html[data-theme] .image-generation-progress{color:var(--theme-text)}html[data-theme] .image-record-placeholder b,html[data-theme] .image-generation-progress-head b,html[data-theme] .asset-history-meta b,html[data-theme] .asset-library-empty h2,html[data-theme] .video-record-day h3,html[data-theme] .video-feed-head h2,html[data-theme] .video-record-titleline p,html[data-theme] .juliu-palette>button strong,html[data-theme] .juliu-node-menu-grid button b,html[data-theme] .juliu-node-meta b,html[data-theme] .juliu-inspector-head h2,html[data-theme] .juliu-panel-title h2,html[data-theme] .agent-process-section-head strong,html[data-theme] .agent-process-group-copy strong,html[data-theme] .agent-process-event-line strong,html[data-theme] .agent-work-meta-copy strong{color:var(--theme-heading)}html[data-theme] .juliu-node-output,html[data-theme] .juliu-palette-note,html[data-theme] .agent-run-command,html[data-theme] .agent-event-code,html[data-theme] .agent-work-current{border-color:var(--theme-line);background:color-mix(in srgb,var(--theme-surface-2) 86%,var(--theme-surface))}html[data-theme] .agent-process-section.active .agent-process-section-head strong,html[data-theme] .agent-process-group.active .agent-process-group-copy strong,html[data-theme] .agent-work-meta-row.running .agent-work-meta-copy strong{color:transparent;background:linear-gradient(90deg,color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 72%,var(--theme-muted)) 0%,var(--theme-accent-readable, var(--theme-accent)) 46%,color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 58%,white) 54%,var(--theme-accent-readable, var(--theme-accent)) 64%,color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent)) 72%,var(--theme-muted)) 100%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:agent-shiny-text 2.05s linear infinite}@supports not ((background-clip: text) or (-webkit-background-clip: text)){html[data-theme] .agent-process-section.active .agent-process-section-head strong,html[data-theme] .agent-process-group.active .agent-process-group-copy strong,html[data-theme] .agent-work-meta-row.running .agent-work-meta-copy strong{background:none;color:var(--theme-accent-readable, var(--theme-accent));-webkit-text-fill-color:currentColor;animation:none}}@media(prefers-reduced-motion:reduce){html[data-theme] .agent-process-section.active .agent-process-section-head strong,html[data-theme] .agent-process-group.active .agent-process-group-copy strong,html[data-theme] .agent-work-meta-row.running .agent-work-meta-copy strong{background:none;color:var(--theme-accent-readable, var(--theme-accent));-webkit-text-fill-color:currentColor;animation:none}}html[data-theme]{--contrast-muted: var(--theme-readable-muted, var(--theme-muted));--contrast-subtle: var(--theme-readable-subtle, var(--theme-muted-2));--contrast-control: var(--theme-heading, var(--theme-text));--contrast-chip: var(--theme-accent-readable, var(--theme-accent))}html[data-theme=dark],html[data-theme=graphite]{--contrast-muted: var(--theme-readable-muted, #d4dbe5);--contrast-subtle: var(--theme-readable-subtle, #c2cad6);--contrast-chip: var(--theme-accent-readable, #a9d1ff)}html[data-theme] .settings-modal{color:var(--theme-text);background:linear-gradient(180deg,color-mix(in srgb,var(--theme-main) 94%,var(--theme-surface)),var(--theme-main)),var(--theme-main)}html[data-theme] .settings-modal :is(input,select,textarea){border-color:var(--theme-line-strong);color:var(--contrast-control);background:var(--theme-input);opacity:1}html[data-theme] .settings-modal :is(input,select,textarea)::placeholder{color:var(--contrast-subtle);opacity:1}html[data-theme] .settings-modal :is(input,select,textarea):disabled{border-color:var(--theme-line-strong);color:var(--theme-disabled-text, var(--contrast-subtle));background:var(--theme-disabled-bg, color-mix(in srgb, var(--theme-surface-2) 88%, var(--theme-main)));opacity:1;-webkit-text-fill-color:currentColor}html[data-theme] .settings-modal input[type=range]{accent-color:var(--contrast-chip)}html[data-theme] .settings-modal input[type=range]:disabled{accent-color:var(--theme-disabled-text, var(--contrast-subtle));opacity:1;cursor:not-allowed}html[data-theme] .settings-modal :is(.modal-title p,.settings-section-title p,.field-hint),html[data-theme] .settings-nav-button small,html[data-theme] .settings-message,html[data-theme] .api-module-head small,html[data-theme] .api-module-default,html[data-theme] .provider-line span,html[data-theme] .agent-settings-summary small,html[data-theme] .agent-channel-card small,html[data-theme] .agent-channel-note,html[data-theme] .channel-qr-panel span,html[data-theme] .account-copy small,html[data-theme] .account-setting-item small,html[data-theme] .account-setting-note,html[data-theme] .theme-setting-head small,html[data-theme] .theme-card small{color:var(--contrast-muted);opacity:1}html[data-theme] .settings-modal :is(.field-label,.toggle-line),html[data-theme] .settings-nav-button b,html[data-theme] .settings-section-title h3,html[data-theme] .api-module-head b,html[data-theme] .agent-settings-summary b,html[data-theme] .agent-channel-card b,html[data-theme] .account-copy b,html[data-theme] .account-setting-item b{color:var(--theme-heading)}html[data-theme] .persona-current-summary,html[data-theme] .persona-card,html[data-theme] .custom-persona-card,html[data-theme] .custom-persona-advanced,html[data-theme] .persona-thinking-toggle{border-color:var(--theme-line-strong)}html[data-theme] .persona-card{background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface) 96%,transparent),color-mix(in srgb,var(--theme-surface-2) 72%,transparent)),var(--theme-surface)}html[data-theme] .persona-card:hover,html[data-theme] .persona-card.active,html[data-theme] .persona-current-summary{border-color:color-mix(in srgb,var(--contrast-chip) 42%,var(--theme-line-strong));background:linear-gradient(0deg,color-mix(in srgb,var(--contrast-chip) 10%,transparent),color-mix(in srgb,var(--contrast-chip) 10%,transparent)),var(--theme-surface)}html[data-theme] .persona-card-icon{color:var(--contrast-chip);background:color-mix(in srgb,var(--contrast-chip) 14%,var(--theme-surface-2))}html[data-theme] .persona-current-summary>svg{color:var(--contrast-chip)}html[data-theme] .persona-current-summary b,html[data-theme] .persona-card-copy b,html[data-theme] .custom-persona-head b,html[data-theme] .custom-persona-advanced-head b{color:var(--theme-heading)}html[data-theme] .persona-current-summary small,html[data-theme] .persona-card-copy small,html[data-theme] .persona-card-state,html[data-theme] .custom-persona-head small,html[data-theme] .custom-persona-advanced-head small{color:var(--contrast-muted);opacity:1}html[data-theme] .persona-card.active .persona-card-state{color:var(--contrast-chip)}html[data-theme] .persona-param-pills em,html[data-theme] .param-value{border-color:color-mix(in srgb,var(--contrast-chip) 34%,var(--theme-line-strong));color:var(--contrast-chip);background:color-mix(in srgb,var(--contrast-chip) 12%,var(--theme-surface));opacity:1}html[data-theme] .settings-modal :is(button,.modal-actions button,.account-login-button){color:var(--theme-heading)}html[data-theme] .settings-modal button.primary:not(:disabled),html[data-theme] .settings-modal .account-login-button.primary:not(:disabled){border-color:var(--theme-primary);color:var(--theme-primary-text);background:var(--theme-primary);-webkit-text-fill-color:currentColor}html[data-theme] .settings-modal button.primary:not(:disabled) :is(svg,span,strong,small),html[data-theme] .settings-modal .account-login-button.primary:not(:disabled) :is(svg,span,strong,small){color:currentColor;-webkit-text-fill-color:currentColor}html[data-theme] .settings-modal .modal-actions button.primary{border-color:var(--theme-primary);color:var(--theme-primary-text);background:var(--theme-primary)}html[data-theme] .settings-modal button.danger-action,html[data-theme] .settings-modal .danger-action{border-color:color-mix(in srgb,var(--theme-danger) 34%,var(--theme-line-strong));color:var(--theme-danger);background:color-mix(in srgb,var(--theme-danger) 10%,var(--theme-surface))}html[data-theme] .settings-modal :is(button,.modal-actions button,.account-login-button):disabled{color:var(--theme-disabled-text, var(--contrast-subtle));background:var(--theme-disabled-bg, color-mix(in srgb, var(--theme-surface-2) 88%, var(--theme-main)));opacity:1;-webkit-text-fill-color:currentColor}html[data-theme] .settings-modal .field:has(input[type=range]:disabled) .param-value{border-color:var(--theme-line-strong);color:var(--theme-disabled-text, var(--contrast-subtle));background:var(--theme-disabled-bg, color-mix(in srgb, var(--theme-surface-2) 88%, var(--theme-main)))}html[data-theme] :is(.video-task-card small,.video-task-card span,.video-record-card small,.image-card small,.image-record-card small,.asset-card small,.asset-card span,.asset-history-meta span,.asset-history-meta time,.history-list button small,.suggestion-cloud small,.quick-start-grid small,.empty-state p,.loading-card span,.agent-message>span,.agent-work-meta-copy small,.agent-process-section-head small,.agent-process-group-copy small,.juliu-muted,.juliu-field small,.juliu-node-output,.juliu-statusbar){color:var(--contrast-muted);opacity:1}[data-tooltip]{position:relative}[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%) scale(.95);background:#1e222b;color:#e5e7eb;border:1px solid #3f4453;padding:8px 12px;border-radius:6px;font-size:12px;line-height:1.6;white-space:normal;width:240px;box-shadow:0 4px 16px #0006;opacity:0;pointer-events:none;transition:opacity .12s ease-out,transform .12s ease-out;z-index:9999;text-align:left;font-weight:400}[data-tooltip]:before{content:"";position:absolute;bottom:calc(100% + 3px);left:50%;transform:translate(-50%) scale(.95);border-width:5px;border-style:solid;border-color:#3f4453 transparent transparent transparent;opacity:0;pointer-events:none;transition:opacity .12s ease-out,transform .12s ease-out;z-index:9999}[data-tooltip]:hover:after,[data-tooltip]:hover:before{opacity:1;transform:translate(-50%) scale(1);transition-delay:.1s}[data-tooltip-dir=down]:after{bottom:auto;top:calc(100% + 8px)}[data-tooltip-dir=down]:before{bottom:auto;top:calc(100% + 3px);border-color:transparent transparent #3f4453 transparent}.generated-media-glow{overflow:visible}.generated-media-glow:not(.effect-active){box-shadow:none}.generated-media-glow>.border-glow-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border-radius:calc(var(--border-radius, 8px) - 1px)}.generated-media-glow.image-record-media,.generated-media-glow.video-record-media,.generated-media-glow.asset-history-thumb,.generated-media-glow.asset-preview-stage{border-color:color-mix(in srgb,var(--theme-line, #e3e7ee) 62%,transparent)}.generated-media-glow.effect-active.image-record-media,.generated-media-glow.effect-active.video-record-media{box-shadow:0 16px 40px #00000029,0 0 0 1px color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 10%,transparent)}.generated-media-glow:not(.effect-active).image-record-media,.generated-media-glow:not(.effect-active).video-record-media{border-color:color-mix(in srgb,var(--theme-line, #e3e7ee) 88%,transparent);background:transparent}.video-record-card:not(.is-generating) .generated-media-glow.video-record-media,.video-record-card:not(.is-generating) .video-record-media video{background:transparent}.generated-media-glow.asset-history-thumb{box-sizing:border-box;overflow:hidden;box-shadow:0 10px 24px #00000024}.asset-history-card:hover .generated-media-glow.asset-history-thumb,.asset-history-open:focus-visible .generated-media-glow.asset-history-thumb{border-color:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 70%,var(--theme-line, #252b36));filter:brightness(1.06)}.asset-history-card.selected .generated-media-glow.asset-history-thumb{border-color:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 86%,#fff 8%);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 58%,transparent),0 16px 32px #00000038;filter:brightness(1.08)}.generated-media-glow.asset-preview-stage{overflow:hidden;box-shadow:0 22px 64px #0000003d,0 0 0 1px color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 12%,transparent)}.chat-scroll.has-messages{--chat-user-message-right-space: clamp(28px, 4vw, 72px);padding-bottom:28px}.chat-scroll.has-messages .message-list{width:min(1280px,100%);max-width:min(1280px,100%);min-height:100%;align-content:start}.chat-turn-tail-space{height:clamp(320px,62vh,760px);pointer-events:none}.message.user{grid-template-columns:minmax(0,1fr);justify-items:end}.message.user .message-body{grid-column:1;justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:6px;width:min(720px,calc(100% - var(--chat-user-message-right-space)));max-width:calc(100% - var(--chat-user-message-right-space));margin-right:var(--chat-user-message-right-space)}.message.user .bubble{max-width:100%;text-align:left}.message.user .message-actions{align-self:flex-end;justify-content:flex-end;max-width:100%}@media(max-width:640px){.chat-scroll.has-messages{--chat-user-message-right-space: 12px;padding-bottom:22px}.chat-scroll.has-messages .message-list{width:100%;max-width:100%}.chat-turn-tail-space{height:clamp(260px,56vh,560px)}.message.user .message-body{width:calc(100% - var(--chat-user-message-right-space));max-width:calc(100% - var(--chat-user-message-right-space))}}.agent-settings-section{gap:16px}.agent-page-heading{position:relative;padding-left:2px}.agent-page-kicker{display:inline-flex;align-items:center;gap:6px;width:max-content;color:var(--theme-accent-readable, var(--theme-accent, #3268f2));font-size:11px;font-weight:900;letter-spacing:.08em}.agent-settings-stack{display:grid;gap:14px;min-width:0}.agent-overview-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;min-width:0;padding:18px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:14px;background:radial-gradient(circle at 88% 10%,color-mix(in srgb,var(--theme-accent, #3268f2) 11%,transparent),transparent 34%),linear-gradient(145deg,var(--theme-surface, #fff),var(--theme-surface-2, #f7f9fc));box-shadow:0 10px 28px color-mix(in srgb,var(--theme-heading, #111827) 7%,transparent);transition:border-color .18s ease,box-shadow .18s ease}.agent-overview-card.enabled{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 44%,var(--theme-line-strong, #dfe5ee));box-shadow:0 10px 28px color-mix(in srgb,var(--theme-heading, #111827) 7%,transparent),inset 3px 0 color-mix(in srgb,var(--theme-accent, #3268f2) 86%,transparent)}.agent-overview-icon,.agent-setting-option-icon,.agent-config-card-head>span:first-child,.agent-config-card-icon{display:grid;place-items:center;color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 12%,var(--theme-surface, #fff))}.agent-overview-icon{width:52px;height:52px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 18%,var(--theme-line, #e5e8ef));border-radius:15px}.agent-overview-copy{display:grid;gap:5px;min-width:0}.agent-overview-copy>b{color:var(--theme-heading, #111827);font-size:17px;font-weight:900;line-height:1.25}.agent-overview-copy>small{color:var(--theme-readable-muted, var(--theme-muted, #657084));font-size:12px;font-weight:650;line-height:1.5}.agent-overview-status{display:inline-flex;align-items:center;gap:6px;width:max-content;color:var(--theme-readable-muted, var(--theme-muted, #657084));font-size:11px;font-weight:850}.agent-overview-status i{width:7px;height:7px;border-radius:50%;background:var(--theme-muted-2, #8993a4);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-muted-2, #8993a4) 14%,transparent)}.agent-overview-status.active{color:var(--theme-accent-2-readable, var(--theme-success, #0d836c))}.agent-overview-status.active i{background:var(--theme-success, #0d9b7f);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-success, #0d9b7f) 16%,transparent)}.agent-master-control{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 13px 0 11px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:999px;color:var(--theme-heading, #111827);background:var(--theme-surface, #fff);font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer}.agent-master-control.active{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 35%,var(--theme-line-strong, #dfe5ee));color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 8%,var(--theme-surface, #fff))}.agent-master-control>input,.agent-setting-option>input{position:absolute;width:1px;min-width:1px;height:1px;min-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;opacity:0;clip-path:inset(50%);pointer-events:none}.agent-setting-switch{position:relative;display:block;flex:0 0 auto;width:38px;height:22px;border:1px solid color-mix(in srgb,var(--theme-muted, #718096) 34%,var(--theme-line-strong, #dfe5ee));border-radius:999px;background:color-mix(in srgb,var(--theme-muted, #718096) 16%,var(--theme-surface-2, #f3f5f9));transition:border-color .18s ease,background .18s ease}.agent-setting-switch i{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--theme-surface, #fff);box-shadow:0 1px 4px color-mix(in srgb,var(--theme-heading, #111827) 22%,transparent);transition:transform .18s ease}.agent-master-control.active .agent-setting-switch,.agent-setting-option.active .agent-setting-switch{border-color:var(--theme-accent, #3268f2);background:var(--theme-accent, #3268f2)}.agent-master-control.active .agent-setting-switch i,.agent-setting-option.active .agent-setting-switch i{transform:translate(16px)}.agent-master-control>input:focus-visible+.agent-setting-switch,.agent-setting-option>input:focus-visible+.agent-setting-switch{outline:3px solid color-mix(in srgb,var(--theme-accent, #3268f2) 22%,transparent);outline-offset:2px}.agent-quick-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agent-setting-option{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;min-height:78px;padding:13px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:12px;background:var(--theme-surface, #fff);cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}.agent-setting-option:hover{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 34%,var(--theme-line-strong, #dfe5ee));transform:translateY(-1px)}.agent-setting-option.active{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 38%,var(--theme-line-strong, #dfe5ee));background:color-mix(in srgb,var(--theme-accent, #3268f2) 6%,var(--theme-surface, #fff))}.agent-setting-option-icon{width:38px;height:38px;border-radius:10px}.agent-setting-option-copy{display:grid;gap:3px;min-width:0}.agent-setting-option-copy b{color:var(--theme-heading, #111827);font-size:13px;font-weight:860;line-height:1.35}.agent-setting-option-copy small{color:var(--theme-readable-muted, var(--theme-muted, #657084));font-size:11px;font-weight:650;line-height:1.45}.agent-config-card,.agent-channel-section{min-width:0;overflow:hidden;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:14px;background:var(--theme-surface, #fff)}.agent-config-card-head,.agent-channel-section-head{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0}.agent-config-card-head{padding:14px 16px;border-bottom:1px solid var(--theme-line, #e7ebf1);background:color-mix(in srgb,var(--theme-surface-2, #f7f9fc) 78%,var(--theme-surface, #fff))}.agent-config-card-head>span:first-child,.agent-config-card-icon{width:38px;height:38px;border-radius:10px}.agent-config-card-head>div,.agent-channel-section-head>div{display:grid;gap:3px;min-width:0}.agent-config-card-head h4,.agent-channel-section-head h4{margin:0;color:var(--theme-heading, #111827);font-size:14px;font-weight:900;line-height:1.3}.agent-config-card-head p,.agent-channel-section-head p{margin:0;color:var(--theme-readable-muted, var(--theme-muted, #657084));font-size:12px;font-weight:620;line-height:1.45}.agent-config-card-head>em{align-self:start;color:color-mix(in srgb,var(--theme-accent-readable, var(--theme-accent, #3268f2)) 54%,var(--theme-muted, #657084));font-size:11px;font-style:normal;font-weight:900;letter-spacing:.08em}.agent-config-card-body{display:grid;gap:16px;min-width:0;padding:16px}.agent-direct-key-panel{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;min-width:0;padding:14px;border:1px solid color-mix(in srgb,var(--theme-warning, #b7791f) 24%,var(--theme-line-strong, #dfe5ee));border-radius:12px;background:color-mix(in srgb,var(--theme-warning, #b7791f) 6%,var(--theme-surface, #fff))}.agent-direct-key-panel>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--theme-warning, #9a6616);background:color-mix(in srgb,var(--theme-warning, #b7791f) 13%,var(--theme-surface, #fff))}.agent-direct-key-panel>.field{min-width:0}.agent-inherited-key-note{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:34px;padding:0 10px;border:1px solid color-mix(in srgb,var(--theme-success, #0d9b7f) 28%,var(--theme-line, #e7ebf1));border-radius:9px;color:var(--theme-accent-2-readable, var(--theme-success, #0d836c));background:color-mix(in srgb,var(--theme-success, #0d9b7f) 8%,var(--theme-surface, #fff));font-size:12px;font-weight:780}.agent-reasoning-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.agent-reasoning-control-grid .agent-setting-option{min-height:84px}.agent-reasoning-control-grid>.field{padding:2px 0 0}.agent-context-readout{padding-top:27px}.agent-context-readout button{width:100%}.agent-config-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 26%,var(--theme-line-strong, #dfe5ee));border-radius:12px;background:color-mix(in srgb,var(--theme-accent, #3268f2) 6%,var(--theme-surface, #fff))}.agent-config-savebar>span{display:inline-flex;align-items:center;gap:7px;color:var(--theme-readable-muted, var(--theme-muted, #657084));font-size:12px;font-weight:720}.agent-config-savebar>span svg{color:var(--theme-accent-readable, var(--theme-accent, #3268f2))}.agent-config-savebar button,.agent-channel-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:9px;font-size:12px;font-weight:840}.agent-channel-section{display:grid;gap:14px;padding:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface-2, #f7f9fc) 66%,var(--theme-surface, #fff)),var(--theme-surface, #fff))}.agent-channel-section-head{padding-bottom:2px}.agent-channel-count{padding:5px 8px;border:1px solid var(--theme-line, #e7ebf1);border-radius:999px;color:var(--theme-readable-muted, var(--theme-muted, #657084));background:var(--theme-surface, #fff);font-size:11px;font-weight:820;white-space:nowrap}.agent-channel-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid var(--theme-line, #e7ebf1);border-radius:11px;background:color-mix(in srgb,var(--theme-surface-2, #f7f9fc) 78%,var(--theme-surface, #fff))}.agent-channel-section .agent-channel-grid{gap:10px}.agent-channel-section .agent-channel-card{border-radius:11px;box-shadow:0 5px 14px color-mix(in srgb,var(--theme-heading, #111827) 4%,transparent)}.agent-runtime-details{order:10}.agent-runtime-details>summary{list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.agent-runtime-details>summary::-webkit-details-marker{display:none}.agent-runtime-details:not([open])>.agent-config-card-head{border-bottom-color:transparent}.agent-runtime-details>summary:hover{background:color-mix(in srgb,var(--theme-accent, #3268f2) 6%,var(--theme-surface-2, #f7f9fc))}.agent-runtime-details>summary:focus-visible{outline:3px solid color-mix(in srgb,var(--theme-accent, #3268f2) 22%,transparent);outline-offset:-3px}.agent-runtime-summary-action{display:inline-flex;align-items:center;gap:7px;color:var(--theme-readable-muted, var(--theme-muted, #657084))}.agent-runtime-summary-action em{font-size:11px;font-style:normal;font-weight:820;white-space:nowrap}.agent-runtime-summary-action svg{transition:transform .18s ease}.agent-runtime-details[open] .agent-runtime-summary-action svg{transform:rotate(180deg)}.agent-runtime-save{display:flex;justify-content:flex-end;padding-top:2px}.agent-runtime-save button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:9px;font-size:12px;font-weight:840}html[data-theme] .agent-overview-copy>small,html[data-theme] .agent-setting-option-copy small,html[data-theme] .agent-config-card-head p,html[data-theme] .agent-channel-section-head p,html[data-theme] .agent-config-savebar>span{color:var(--theme-readable-muted, var(--theme-muted));opacity:1}html[data-theme] .agent-overview-copy>b,html[data-theme] .agent-setting-option-copy b,html[data-theme] .agent-config-card-head h4,html[data-theme] .agent-channel-section-head h4{color:var(--theme-heading)}html[data-theme] .settings-modal input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;padding:0;aspect-ratio:1}html[data-theme] .settings-modal .agent-master-control>input[type=checkbox],html[data-theme] .settings-modal .agent-setting-option>input[type=checkbox]{position:absolute;width:1px;min-width:1px;height:1px;min-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;opacity:0;clip-path:inset(50%);pointer-events:none}html[data-theme] .settings-modal .agent-channel-head input[type=checkbox]{align-self:start;width:20px;min-width:20px;height:20px;min-height:20px;margin-top:1px;border-radius:6px;aspect-ratio:1}@media(max-width:980px){.agent-overview-card{grid-template-columns:48px minmax(0,1fr)}.agent-overview-icon{width:48px;height:48px}.agent-master-control{grid-column:1 / -1;justify-self:stretch;justify-content:center;border-radius:10px}.agent-quick-settings,.agent-reasoning-control-grid{grid-template-columns:1fr}.settings-modal .agent-context-readout{padding-top:0}}@media(max-width:720px){.agent-overview-card{padding:15px}.agent-config-card-head,.agent-channel-section-head{grid-template-columns:38px minmax(0,1fr)}.agent-config-card-head>em,.agent-channel-count{grid-column:2;justify-self:start}.agent-runtime-summary-action{grid-column:2;justify-self:start}.agent-config-savebar{align-items:stretch;flex-direction:column}.agent-config-savebar button,.agent-channel-toolbar button{width:100%}.agent-channel-toolbar{display:grid}}@media(max-width:520px){.agent-overview-card{grid-template-columns:1fr}.agent-overview-icon{justify-self:start}.agent-master-control{grid-column:auto}.agent-setting-option{grid-template-columns:34px minmax(0,1fr) auto;padding:11px}.agent-setting-option-icon{width:34px;height:34px}.agent-config-card-body,.agent-channel-section{padding:13px}.agent-direct-key-panel{grid-template-columns:1fr}.agent-runtime-save button{width:100%}}.video-mode-page .video-studio{position:relative;grid-template-columns:minmax(0,1fr)}.video-mode-page .video-settings-panel{position:absolute;top:20px;right:28px;bottom:12px;z-index:8;width:min(var(--xlb-right-panel-width, 360px),calc(100% - 56px));max-height:none;border-color:color-mix(in srgb,var(--theme-line, #e5eaf2) 88%,var(--theme-accent, #3268f2));box-shadow:0 24px 70px #141d3033}.video-mode-page .video-studio.settings-collapsed .video-settings-panel{display:none}.video-settings-close{position:sticky;top:0;z-index:3;justify-self:end;display:grid;place-items:center;width:32px;height:32px;margin:0 0 -46px;padding:0;border:1px solid var(--theme-line, #e2e8f1);border-radius:8px;color:var(--theme-text, #202633);background:color-mix(in srgb,var(--theme-surface, #ffffff) 92%,transparent);box-shadow:0 8px 22px #141d301a;cursor:pointer}.video-settings-close:hover{color:var(--theme-accent, #3268f2);border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 35%,var(--theme-line, #e2e8f1))}.nav-icon-wrap{position:relative}.xlb-light-nav button .nav-icon-wrap{display:grid;align-items:center;flex:0 0 38px;width:38px;height:34px;overflow:visible;text-overflow:clip;white-space:normal}.nav-icon-wrap>.nav-icon{grid-area:1 / 1;justify-self:start}.workspace-nav-badge{position:absolute;z-index:3;top:-5px;right:-1px;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border:2px solid var(--theme-surface, #ffffff);border-radius:999px;color:#fff;background:linear-gradient(145deg,#ff5b63,#e83e4a);box-shadow:0 5px 12px #e83e4a57,0 1px 2px #5e0d1733;font-size:11px;font-weight:900;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;pointer-events:none}.xlb-light-nav button .workspace-nav-badge{min-width:20px;overflow:visible;text-overflow:clip;white-space:nowrap}.completion-reminder-card{padding:0;overflow:hidden}.completion-reminder-overview{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid var(--theme-line-strong, #dfe5ee);background:color-mix(in srgb,var(--theme-accent, #3268f2) 7%,var(--theme-surface, #fff))}.completion-reminder-overview-icon,.completion-reminder-workspace-icon{display:grid;place-items:center;flex:0 0 auto;color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 12%,var(--theme-surface, #fff))}.completion-reminder-overview-icon{width:42px;height:42px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 22%,var(--theme-line-strong, #dfe5ee));border-radius:11px}.completion-reminder-overview>span:nth-child(2),.completion-reminder-copy{display:grid;gap:4px;min-width:0}.completion-reminder-overview b,.completion-reminder-copy b{color:var(--theme-heading, #111827);font-size:14px;font-weight:880}.completion-reminder-overview small,.completion-reminder-copy small{color:var(--theme-muted, #657083);font-size:12px;font-weight:650;line-height:1.5}.completion-reminder-overview>em{padding:7px 10px;border:1px solid color-mix(in srgb,var(--theme-accent, #3268f2) 24%,var(--theme-line-strong, #dfe5ee));border-radius:999px;color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:var(--theme-surface, #fff);font-size:12px;font-style:normal;font-weight:850;white-space:nowrap}.completion-reminder-list{display:grid;padding:6px 12px}.completion-reminder-row{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto 40px;align-items:center;gap:12px;min-height:64px;padding:9px 8px;border-bottom:1px solid color-mix(in srgb,var(--theme-line-strong, #dfe5ee) 76%,transparent);border-radius:8px;cursor:pointer;transition:background .18s ease}.completion-reminder-row:last-child{border-bottom-color:transparent}.completion-reminder-row:hover,.completion-reminder-row.active{background:color-mix(in srgb,var(--theme-accent, #3268f2) 6%,transparent)}.completion-reminder-row>input{position:absolute;width:1px;min-width:1px;height:1px;min-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;opacity:0;clip-path:inset(50%);pointer-events:none}.completion-reminder-workspace-icon{width:36px;height:36px;border-radius:9px;color:var(--theme-muted, #657083);background:color-mix(in srgb,var(--theme-muted, #657083) 9%,var(--theme-surface, #fff))}.completion-reminder-row.active .completion-reminder-workspace-icon{color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 12%,var(--theme-surface, #fff))}.completion-reminder-agent-logo{width:22px;height:22px;object-fit:contain}.completion-reminder-state{color:var(--theme-muted-2, #7b8494);font-size:12px;font-style:normal;font-weight:760;white-space:nowrap}.completion-reminder-row.active .completion-reminder-state{color:var(--theme-accent-readable, var(--theme-accent, #3268f2))}.completion-reminder-switch{position:relative;display:block;width:38px;height:22px;border:1px solid color-mix(in srgb,var(--theme-muted, #718096) 34%,var(--theme-line-strong, #dfe5ee));border-radius:999px;background:color-mix(in srgb,var(--theme-muted, #718096) 16%,var(--theme-surface-2, #f3f5f9));transition:border-color .18s ease,background .18s ease}.completion-reminder-switch i{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--theme-surface, #fff);box-shadow:0 1px 4px color-mix(in srgb,var(--theme-heading, #111827) 22%,transparent);transition:transform .18s ease}.completion-reminder-row.active .completion-reminder-switch{border-color:var(--theme-accent, #3268f2);background:var(--theme-accent, #3268f2)}.completion-reminder-row.active .completion-reminder-switch i{transform:translate(16px)}.completion-reminder-row>input:focus-visible~.completion-reminder-switch{outline:3px solid color-mix(in srgb,var(--theme-accent, #3268f2) 22%,transparent);outline-offset:2px}.completion-reminder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--theme-line-strong, #dfe5ee);color:var(--theme-muted, #657083);background:color-mix(in srgb,var(--theme-surface-2, #f7f8fb) 86%,transparent);font-size:11px;font-weight:650}.completion-reminder-footer>span{display:inline-flex;align-items:center;gap:7px;min-width:0;line-height:1.45}.completion-reminder-footer>span svg{flex:0 0 auto;color:var(--theme-success, #0d9b7f)}.completion-reminder-footer button{min-height:32px;padding:0 11px;border:1px solid var(--theme-line-strong, #dfe5ee);border-radius:8px;color:var(--theme-heading, #111827);background:var(--theme-surface, #fff);font-size:12px;font-weight:800;white-space:nowrap}.completion-reminder-footer button:hover{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 32%,var(--theme-line-strong, #dfe5ee));color:var(--theme-accent-readable, var(--theme-accent, #3268f2))}.app-icon-reminder-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto 40px;align-items:center;gap:14px;min-height:104px;padding:16px 18px;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.app-icon-reminder-card:hover,.app-icon-reminder-card.active{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 34%,var(--theme-line-strong, #dfe5ee));background:linear-gradient(180deg,color-mix(in srgb,var(--theme-accent, #3268f2) 7%,transparent),transparent),var(--theme-surface-2, #f7f8fb)}.app-icon-reminder-card>input{position:absolute;width:1px;min-width:1px;height:1px;min-height:1px;margin:-1px;padding:0;overflow:hidden;border:0;opacity:0;clip-path:inset(50%);pointer-events:none}.app-icon-reminder-preview{position:relative;display:grid;place-items:center;width:54px;height:54px;border:1px solid color-mix(in srgb,var(--theme-line-strong, #dfe5ee) 90%,transparent);border-radius:14px;background:color-mix(in srgb,var(--theme-surface, #fff) 90%,var(--theme-surface-2, #f7f8fb));box-shadow:0 8px 18px color-mix(in srgb,var(--theme-heading, #111827) 9%,transparent)}.app-icon-reminder-preview>img,.app-icon-reminder-preview>svg{width:38px;height:38px;object-fit:contain}.app-icon-reminder-preview>i{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border:2px solid var(--theme-surface-2, #f7f8fb);border-radius:999px;color:#fff;background:#ef4444;box-shadow:0 5px 12px #ef444452;font-size:11px;font-style:normal;font-weight:900;line-height:1}.app-icon-reminder-copy{display:grid;gap:4px;min-width:0}.app-icon-reminder-copy b{color:var(--theme-heading, #111827);font-size:14px;font-weight:880}.app-icon-reminder-copy small,.app-icon-reminder-copy em{color:var(--theme-muted, #657083);font-size:12px;font-style:normal;font-weight:650;line-height:1.45}.app-icon-reminder-copy em{color:var(--theme-muted-2, #7b8494);font-size:11px}.app-icon-reminder-state{color:var(--theme-muted-2, #7b8494);font-size:12px;font-weight:780;white-space:nowrap}.app-icon-reminder-card.active .app-icon-reminder-state{color:var(--theme-accent-readable, var(--theme-accent, #3268f2))}.app-icon-reminder-card.active .completion-reminder-switch{border-color:var(--theme-accent, #3268f2);background:var(--theme-accent, #3268f2)}.app-icon-reminder-card.active .completion-reminder-switch i{transform:translate(16px)}.app-icon-reminder-card>input:focus-visible~.completion-reminder-switch{outline:3px solid color-mix(in srgb,var(--theme-accent, #3268f2) 22%,transparent);outline-offset:2px}@media(max-width:720px){.completion-reminder-overview{grid-template-columns:40px minmax(0,1fr)}.completion-reminder-overview>em{grid-column:2;justify-self:start}.completion-reminder-row{grid-template-columns:36px minmax(0,1fr) 38px;gap:9px}.completion-reminder-state{display:none}.completion-reminder-footer{align-items:flex-start;flex-direction:column}.app-icon-reminder-card{grid-template-columns:50px minmax(0,1fr) 38px;gap:10px;padding:14px}.app-icon-reminder-state{display:none}.app-icon-reminder-preview{width:46px;height:46px}}.video-record-player-shell[title],.video-preview-stage[title]{cursor:context-menu}@media(max-width:720px){.video-mode-page .video-settings-panel{top:12px;right:12px;bottom:12px;width:calc(100% - 24px)}.video-feed-controls{position:static;grid-template-columns:minmax(0,1fr) 1fr}.video-feed-controls label{grid-column:1 / -1}}html[data-theme] .xlb-light-sidebar .search-box{grid-template-columns:20px minmax(0,1fr) auto;gap:8px;width:100%;height:40px;min-height:40px;padding:0 10px;overflow:visible;border:1px solid color-mix(in srgb,var(--theme-line, #dfe5ee) 86%,transparent);border-radius:9px;color:var(--theme-muted, #7e8797);background:color-mix(in srgb,var(--theme-surface-2, #f8fafc) 78%,transparent);box-shadow:0 6px 18px #141d300b}html[data-theme] .xlb-light-sidebar .search-box:focus-within{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 48%,var(--theme-line, #dfe5ee));background:color-mix(in srgb,var(--theme-surface, #ffffff) 92%,var(--theme-accent, #3268f2) 8%);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent, #3268f2) 12%,transparent)}html[data-theme] .asset-search:focus-within{border-color:color-mix(in srgb,var(--theme-accent, #3268f2) 48%,var(--theme-line, #dfe5ee));background:color-mix(in srgb,var(--theme-surface, #ffffff) 92%,var(--theme-accent, #3268f2) 8%);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-accent, #3268f2) 12%,transparent)}html[data-theme] .xlb-light-sidebar .search-box>svg{width:18px;height:18px}html[data-theme] .asset-search>svg{flex:0 0 auto}html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;width:100%;height:26px;min-height:0;padding:0;overflow:visible;border:0!important;border-radius:0;outline:0!important;color:var(--theme-heading, #202633);background:transparent!important;box-shadow:none!important;line-height:26px}html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]:focus,html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]:focus-visible{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]::-webkit-search-decoration,html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]::-webkit-search-cancel-button,html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]::-webkit-search-results-button,html[data-theme] :is(.xlb-light-sidebar .search-box,.asset-search) input[type=search]::-webkit-search-results-decoration{display:none}html[data-theme] .xlb-light-sidebar .search-box kbd{display:inline-grid;place-items:center;min-width:42px;height:24px;padding:0 6px;overflow:visible;border-radius:6px;line-height:1;white-space:nowrap}.status-pill>svg{flex:0 0 auto}.status-pill-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-copy .header-eyebrow,.header-copy h1{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{min-width:0;flex-wrap:nowrap}.header-actions .status-pill{display:inline-flex;flex:0 0 124px;width:124px;min-width:124px;max-width:124px;box-sizing:border-box;overflow:hidden}@media(max-width:1380px){.header-actions .status-pill.secondary{display:none}}@media(max-width:1180px){.xlb-light-header{grid-template-columns:38px minmax(150px,1fr) auto;gap:10px;padding-right:14px;padding-left:14px}.header-eyebrow{display:none}.header-actions{gap:6px}.header-actions .workspace-model-source-select{flex:0 0 142px;width:142px;min-width:0;max-width:142px}.workspace-model-source-select .select-value{max-width:94px}.header-actions .status-pill{flex-basis:124px;width:124px;min-width:124px;max-width:124px;padding-right:10px;padding-left:10px}.header-actions .icon-button{width:36px;height:36px}}@media(max-width:720px){.header-actions .status-pill{flex-basis:36px;width:36px;min-width:36px;max-width:36px;gap:0;padding:0}.header-actions .status-pill-label{display:none}}.juliu-output-panel pre{margin:0;padding:10px;border:1px solid var(--juliu-border);border-radius:8px;color:var(--juliu-strong);background:color-mix(in srgb,var(--juliu-panel-soft) 86%,var(--juliu-panel));opacity:1;-webkit-text-fill-color:currentColor}.juliu-output-actions{display:grid;grid-template-columns:minmax(106px,1.25fr) repeat(2,minmax(74px,.9fr));gap:6px;min-width:0}.juliu-output-actions button,html[data-theme] .juliu-output-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:36px;padding:0 7px;overflow:hidden;border:1px solid var(--juliu-border);border-radius:8px;color:var(--juliu-strong);background:var(--juliu-panel);font-size:12px;font-weight:850;line-height:1;text-overflow:ellipsis;white-space:nowrap;opacity:1;-webkit-text-fill-color:currentColor}.juliu-output-actions button>svg{flex:0 0 auto}.mobile-sidebar-backdrop,.mobile-workspace-nav{display:none}@media(max-width:720px){:root{--xlb-mobile-nav-height: 66px;--xlb-mobile-edge: 10px}html,body,#root{width:100%;height:100%;min-height:100%;overflow:hidden;overscroll-behavior:none}body{min-width:0}input,textarea,select{font-size:16px}button,a,label,input,textarea,select{touch-action:manipulation}.xlb-light-app,html[data-theme] .xlb-light-app{grid-template-columns:minmax(0,1fr);width:100%;height:100dvh;min-height:100dvh;background:var(--theme-main, #ffffff)}.xlb-light-sidebar,.xlb-light-sidebar.collapsed{position:fixed;z-index:1400;inset:0 auto 0 0;width:min(86vw,320px);min-width:0;height:100dvh;padding:calc(16px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));border-right:1px solid var(--theme-line, #e5e9f1);background:var(--theme-sidebar, #f7f9fc);box-shadow:24px 0 64px #0f172a33;visibility:visible;transform:translate(0);transition:transform .22s ease,visibility .22s ease;pointer-events:auto;-webkit-app-region:no-drag}.xlb-light-sidebar.collapsed{visibility:hidden;transform:translate(-104%);pointer-events:none}.xlb-light-sidebar:before,.xlb-light-main:before,.xlb-light-header:before{-webkit-app-region:no-drag}.xlb-light-sidebar .sidebar-resize-handle,.sidebar-collapse-button.collapsed{display:none}.sidebar-collapse-button:not(.collapsed){z-index:1410;top:calc(18px + env(safe-area-inset-top));left:min(calc(86vw - 20px),300px);width:34px;height:38px;border:1px solid var(--theme-line, #dfe5ee);border-radius:10px;background:var(--theme-surface, #ffffff);opacity:1}.mobile-sidebar-backdrop{position:fixed;z-index:1390;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100dvh;padding:0;border:0;border-radius:0;background:#0f172a6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.mobile-workspace-nav{position:fixed;z-index:1100;left:var(--xlb-mobile-edge);right:var(--xlb-mobile-edge);bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;min-height:var(--xlb-mobile-nav-height);padding:6px;border:1px solid color-mix(in srgb,var(--theme-line, #dfe5ee) 86%,transparent);border-radius:18px;background:color-mix(in srgb,var(--theme-surface, #ffffff) 92%,transparent);box-shadow:0 18px 46px #0f172a2e;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2)}.mobile-workspace-nav button{display:grid;place-items:center;align-content:center;gap:3px;min-width:0;min-height:52px;padding:4px 2px;border:0;border-radius:13px;color:var(--theme-muted, #687386);background:transparent}.mobile-workspace-nav button span{overflow:hidden;max-width:100%;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.mobile-workspace-nav button.active{color:var(--theme-accent-readable, var(--theme-accent, #3268f2));background:color-mix(in srgb,var(--theme-accent, #3268f2) 12%,var(--theme-surface, #ffffff))}.xlb-light-main,.video-mode-page .xlb-light-main{grid-template-rows:calc(58px + env(safe-area-inset-top)) minmax(0,1fr) auto;height:100dvh;max-height:100dvh}.xlb-light-header{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;min-height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0}.xlb-light-header h1{font-size:16px}.header-actions{gap:3px}.header-actions .workspace-model-source-select,.header-actions .status-pill.secondary,.header-actions>.icon-button,.header-actions .share-content-control{display:none}.header-actions .status-pill{flex-basis:34px;width:34px;min-width:34px;max-width:34px;min-height:34px}.chat-scroll,.image-canvas,.image-mode-page .image-canvas{padding:14px 12px 24px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chat-scroll.has-messages{padding:12px 10px 20px}.xlb-light-welcome,.image-empty-panel{align-content:start;min-height:100%;padding-top:22px}.xlb-light-welcome h2,.image-empty-panel h2{margin-bottom:16px;font-size:clamp(23px,7vw,29px);line-height:1.18}.suggestion-cloud,.quick-start-grid{grid-template-columns:1fr;width:100%}.suggestion-cloud button,.quick-start-grid button{min-height:54px}.message-list,.chat-scroll.has-messages .message-list{width:100%;max-width:100%;gap:20px}.message{grid-template-columns:30px minmax(0,1fr);gap:8px}.avatar{width:30px;height:30px}.message.user .message-body{width:calc(100% - 6px);max-width:calc(100% - 6px);margin-right:6px}.message-rich-text,.message.user .bubble{font-size:15px;line-height:1.64}.chat-dock,.image-dock,.video-dock-unified{width:calc(100% - 20px);margin-right:auto;margin-bottom:calc(var(--xlb-mobile-nav-height) + max(18px,env(safe-area-inset-bottom)));margin-left:auto}.xlb-light-composer,.image-composer,.video-composer{--composer-textarea-min-height: 54px;--composer-textarea-padding: 14px 14px 8px;--composer-textarea-font-size: 16px;border-radius:15px}.chat-composer-input-row{grid-template-columns:42px minmax(0,1fr) 42px}.chat-composer-input-row textarea{min-width:0;padding-right:6px;padding-left:6px}.chat-control-row,.mode-segment,.composer-tools-left,.video-composer .composer-bar.top{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.chat-control-row::-webkit-scrollbar,.mode-segment::-webkit-scrollbar,.composer-tools-left::-webkit-scrollbar,.video-composer .composer-bar.top::-webkit-scrollbar{display:none}.chat-control-row>*,.mode-segment>*,.composer-tools-left>*,.video-composer .composer-bar.top>*{flex:0 0 auto}.current-persona-chip{max-width:190px}.advanced-panel.compact-panel{max-height:min(58dvh,520px);overflow-y:auto}.image-empty-panel{grid-template-columns:1fr;gap:0;width:100%}.image-inspiration-panel{display:none}.image-record-feed{--creation-record-left: 0px;justify-items:stretch;width:100%;margin:0;padding:2px 0 18px}.image-record-card,.image-record-media,.image-record-foot,.video-record-foot.image-record-foot.completed{width:100%;max-width:100%}.image-record-media{max-height:62dvh}.image-record-actions,.video-record-foot.image-record-foot.completed .image-record-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.image-composer .composer-bar,.video-composer .composer-bar{gap:6px;padding:7px 8px 9px}.image-composer .composer-tools-left{flex:1 1 auto;min-width:0}.image-composer .composer-tools-left>.active-tool,.image-composer .composer-tools-left>.divider{display:none}.image-composer-status{display:none}.video-studio,.video-mode-page .video-studio{width:100%;padding:10px}.video-stage-panel{--creation-record-left: 0px;--video-record-column: 100%;width:100%;padding:12px}.video-feed-head,.video-record-feed,.video-record-history-more{width:100%;margin-right:0;margin-left:0}.video-feed-head{display:grid;gap:10px}.video-feed-head h2{font-size:22px}.video-stage-metrics{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto}.video-feed-controls{width:100%;margin-right:0;margin-left:0}.video-record-card,.video-record-media,.video-record-foot,.video-record-foot.completed{width:100%;max-width:100%}.video-record-titleline{gap:8px}.video-record-foot.completed .video-record-actions,.video-mode-page .video-record-foot.completed .video-record-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.video-mode-page .video-settings-panel,.video-mode-page .video-studio .video-settings-panel{top:8px;right:8px;bottom:8px;width:calc(100% - 16px);min-width:0;padding:12px;border-radius:14px;box-shadow:0 24px 64px #0f172a3d}.video-settings-panel .sidebar-resize-handle{display:none}.video-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-composer .composer-bar.top{padding:7px 8px 3px}.video-dock-summary{font-size:11px}.asset-library-page{grid-template-rows:auto auto minmax(0,1fr);gap:12px;padding:12px 12px calc(var(--xlb-mobile-nav-height) + max(30px,env(safe-area-inset-bottom)));-webkit-overflow-scrolling:touch}.asset-library-top,.asset-filter-row{align-items:stretch;flex-direction:column;gap:10px}.asset-library-tools{display:flex;justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.asset-library-tools::-webkit-scrollbar,.asset-type-tabs::-webkit-scrollbar{display:none}.asset-search{flex:0 0 min(76vw,280px);width:min(76vw,280px);min-height:44px}.asset-library-tools button,.asset-type-tabs button,.asset-filter-actions .xlb-select-trigger{min-height:44px}.asset-type-tabs{flex-wrap:nowrap;width:100%;overflow-x:auto;scrollbar-width:none}.asset-filter-actions,.asset-filter-actions .xlb-unified-select{width:100%}.asset-history{gap:24px}.asset-day-group h2{font-size:22px}.asset-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.asset-history-card,.asset-history-open,.asset-history-thumb,.generated-media-glow.asset-history-thumb{width:100%}.asset-history-save,.asset-history-delete,.image-card-delete{opacity:1}.modal-backdrop{z-index:1700;place-items:stretch;padding:0}.settings-modal{width:100%;height:100dvh;max-height:100dvh;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));border:0;border-radius:0;overflow:hidden}.settings-modal>.modal-title{align-items:center;min-height:48px;margin:0}.settings-modal>.modal-title h2{font-size:19px}.settings-modal>.modal-title p{display:none}.settings-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px;overflow:hidden}.settings-nav{display:flex;gap:6px;padding:4px;overflow-x:auto;border-radius:12px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.settings-nav::-webkit-scrollbar{display:none}.settings-nav-button{grid-template-columns:18px auto;justify-items:start;flex:0 0 auto;min-width:104px;min-height:46px;padding:8px 10px;text-align:left;scroll-snap-align:start}.settings-nav-button b{font-size:12px}.settings-nav-button small{display:none}.settings-panel{min-height:0;max-height:none;padding:2px 2px 24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.settings-section,.settings-section-card,.api-module-card,.theme-setting{gap:12px}.settings-section-card,.api-module-card,.theme-setting{padding:13px}.settings-modal .field-row-grid,.settings-modal .field-row-grid.two,.api-module-grid,.api-module-fields,.api-access-mode-options,.usage-stat-grid,.account-setting-grid,.theme-grid{grid-template-columns:1fr}.settings-section-actions,.settings-section-actions button,.settings-modal .modal-actions,.settings-modal .modal-actions button{width:100%}.image-preview-modal,.image-result-preview-modal,.video-result-preview-modal,.video-result-preview-modal.aspect-vertical,.asset-preview-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:0;overflow-y:auto}.image-result-preview-modal .image-preview-stage,.image-result-preview-modal .image-preview-meta,.video-result-preview-modal .video-preview-stage,.video-result-preview-modal .image-preview-meta,.video-result-preview-modal.aspect-square .video-preview-stage,.video-result-preview-modal.aspect-square .image-preview-meta,.video-result-preview-modal.aspect-vertical .video-preview-stage,.video-result-preview-modal.aspect-vertical .image-preview-meta,.asset-preview-modal .asset-preview-stage,.asset-preview-modal .image-preview-meta{width:100%;max-width:100%}.image-preview-meta,.asset-preview-modal .image-preview-meta{align-items:stretch;flex-direction:column}.image-preview-meta .asset-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.image-preview-meta .asset-actions>*{min-height:44px}.workflow-mode-page .xlb-light-main,.agent-page .xlb-agent-main{padding-bottom:calc(var(--xlb-mobile-nav-height) + max(18px,env(safe-area-inset-bottom)))}}@media(max-width:720px)and (max-height:520px){.mobile-workspace-nav{display:none}.chat-dock,.image-dock,.video-dock-unified{margin-bottom:max(8px,env(safe-area-inset-bottom))}}@media(max-width:720px)and (hover:none){.asset-history-save,.asset-history-delete,.image-card-delete{opacity:1}}@media(max-width:720px){:root{--xlb-mobile-nav-height: 54px;--xlb-mobile-edge: 6px}.mobile-workspace-nav{bottom:max(4px,env(safe-area-inset-bottom));min-height:var(--xlb-mobile-nav-height);padding:3px 4px;border-radius:14px;box-shadow:0 10px 30px #0f172a29}.mobile-workspace-nav button{gap:1px;min-height:46px;padding:2px;border-radius:10px}.mobile-workspace-nav button svg{width:19px;height:19px}.mobile-workspace-nav button span{font-size:9px;line-height:1.1}.xlb-light-main,.video-mode-page .xlb-light-main{grid-template-rows:calc(52px + env(safe-area-inset-top)) minmax(0,1fr) auto}.xlb-light-header{grid-template-columns:36px minmax(0,1fr) auto;min-height:calc(52px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0}.xlb-light-header>.icon-button{width:36px;height:36px}.header-logo-button{width:27px;height:27px;visibility:visible;opacity:1}.xlb-light-header h1{font-size:15px}.header-actions .status-pill{flex-basis:32px;width:32px;min-width:32px;max-width:32px;min-height:32px}.chat-dock,.image-dock,.video-dock-unified{gap:6px;width:calc(100% - 12px);margin-bottom:calc(var(--xlb-mobile-nav-height) + max(10px,env(safe-area-inset-bottom)))}.xlb-light-composer,.image-composer,.video-composer{--composer-textarea-min-height: 50px;--composer-textarea-padding: 11px 12px 5px;--composer-textarea-font-size: 15px;border-radius:12px}.mode-segment,.image2-mode-row,.image2-mode-segment{justify-self:stretch;width:100%;margin-left:0}.mode-segment{gap:2px;padding:3px;border-radius:10px;box-shadow:0 6px 18px #12161e0d}.mode-segment button{min-height:34px;padding:0 7px;border-radius:7px;font-size:12px}.image-composer .composer-bar,.video-composer .composer-bar,.video-composer .composer-bar.top{align-items:center;flex-direction:row;flex-wrap:nowrap;gap:5px;min-height:46px;padding:4px 6px 6px}.image-composer .composer-tools-left,.video-composer .composer-bar.top{min-height:40px;padding-right:3px}.image-composer .tool-round,.image-composer .send-button,.video-composer .tool-round,.video-composer .send-button{align-self:center;width:38px;height:38px}.image-composer .composer-chip,.image-composer .select-chip,.video-composer .composer-chip,.video-composer .select-chip{min-height:34px;padding:0 7px;font-size:12px}.video-composer .composer-bar.top>.active-tool{display:none}.video-dock-summary{font-size:10px}.chat-scroll,.image-canvas,.image-mode-page .image-canvas{padding:10px 8px 18px;scroll-padding-bottom:20px}.image-record-feed{gap:20px;padding-bottom:28px}.image-record-card{gap:7px}.image-record-media{max-height:56dvh}.image-record-actions button,.image-record-actions a{min-height:38px;font-size:11px}.video-studio,.video-mode-page .video-studio{padding:6px}.video-stage-panel{padding:8px}.video-feed-head{gap:6px}.video-feed-head p{display:none}.video-feed-head h2{font-size:19px}}@media(min-width:380px)and (max-width:720px){.image-record-actions,.video-record-foot.image-record-foot.completed .image-record-actions,.video-record-foot.completed .video-record-actions,.video-mode-page .video-record-foot.completed .video-record-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.xlb-light-app,.xlb-light-main,.video-mode-page .xlb-light-main,.video-dock-unified,.video-composer,.video-composer .prompt-ghost-field,.video-composer .composer-bar{min-width:0;max-width:100%;box-sizing:border-box}.video-dock-unified{width:calc(100% - 12px);max-width:calc(100vw - 12px);overflow:visible}.xlb-light-composer,.image-composer,.video-composer{--composer-textarea-min-height: 42px;--composer-textarea-padding: 9px 11px 6px;--composer-textarea-font-size: 16px;width:100%}.xlb-light-composer textarea,.chat-composer textarea,.image-composer textarea,.video-composer textarea{width:100%;height:42px!important;min-height:42px;max-height:42px;overflow-x:hidden;overflow-y:auto!important;box-sizing:border-box;font-size:16px;line-height:1.35}.prompt-ghost-mirror,.image-composer .prompt-ghost-mirror,.video-composer .prompt-ghost-mirror{height:42px;min-height:42px;max-height:42px;overflow:hidden;box-sizing:border-box;font-size:16px;line-height:1.35}.video-composer>.composer-bar:last-child{display:grid;grid-template-columns:minmax(0,1fr) 38px;width:100%}.video-composer>.composer-bar:last-child .send-button{position:static;justify-self:end;margin:0;visibility:visible;opacity:1}.video-composer .composer-bar.top{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}.video-dock-summary{width:auto;max-width:100%}}
