.react-flow{--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:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--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:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--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:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--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 #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.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:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--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:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--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:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--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 #00000014;--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{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.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{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.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;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:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.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:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;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%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;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{z-index:5;margin:15px;position:absolute}.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{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.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{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;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));padding:10px;font-size:12px}.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{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.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-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.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))}.app-shell{--node-radius:10px;--node-radius-hover:12px;--node-card-bg:#202020;--node-card-bg-hover:#242424;--node-card-border:#ffffff4d;--node-card-border-hover:#ffffff7a;--node-card-shadow:none;--node-card-shadow-hover:0 22px 54px #0000005c;--node-title-color:#ffffffa3;--node-handle-size:32px;--node-handle-line:14px;--node-handle-bg:#141414d1;--node-handle-bg-hover:#1e1e1ef5;--node-handle-border:#ffffff47;--node-handle-border-hover:#ffffff8a;--node-active-border:#ffffff94;--node-error-border:#fb7185b8;--node-success-border:#4ade8094}.theme-light{--node-card-bg:#fffffff5;--node-card-bg-hover:#fff;--node-card-border:#0f172a24;--node-card-border-hover:#0f172a3d;--node-card-shadow:0 16px 34px #0f172a1f;--node-card-shadow-hover:0 20px 44px #0f172a29, 0 0 34px #0f172a0f;--node-title-color:#0f172aad;--node-handle-bg:#ffffffeb;--node-handle-bg-hover:#fff;--node-handle-border:#0f172a3d;--node-handle-border-hover:#0f172a6b;--node-active-border:#2563eb70;--node-error-border:#e11d48a8;--node-success-border:#16a34a94}button,input,select,textarea{font:inherit}button{border:1px solid var(--line);background:var(--control);min-height:32px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:7px 10px;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}button:hover{background:var(--control-hover);border-color:var(--line-strong)}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.58}input,select,textarea{border:1px solid var(--line);background:var(--field);width:100%;color:var(--text);border-radius:9px;outline:none;padding:8px 10px}input:focus,select:focus,textarea:focus{border-color:#7dd3fcb8;box-shadow:0 0 0 3px #0ea5e91f}input:disabled,select:disabled{color:var(--muted);cursor:not-allowed;opacity:.78}textarea{resize:none;min-height:118px}label{color:var(--muted);gap:6px;font-size:11px;display:grid}.panel-section{border:1px solid var(--line);background:var(--panel);border-radius:14px;gap:10px;padding:13px;display:grid}.history-panel-section{grid-template-rows:auto minmax(0,1fr);min-height:0}.history-list{min-height:0;padding-right:3px;overflow:hidden auto}.panel-section h2,.panel-section h3{color:var(--text);align-items:center;gap:8px;margin:0 0 2px;font-size:13px;display:flex}.panel-section p{color:var(--muted);margin:0;font-size:12px}.panel-inline-button{justify-content:center;width:100%;min-height:34px}.settings-note{padding:4px 0}.panel-section input[readonly]{color:var(--muted)}.button-row,.form-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.primary,.primary-button{color:#fff;background:linear-gradient(135deg,#1d9bf0,#2563eb);border-color:#25b7ff8c}.primary:hover,.primary-button:hover{background:linear-gradient(135deg,#0ea5e9,#1d4ed8);border-color:#7dd3fcd9}.ui-surface{border:1px solid var(--line);background:var(--panel);box-shadow:0 18px 44px #00000057}.theme-light .ui-surface{box-shadow:0 18px 44px #0f172a24}.ui-popover{z-index:72;background:#2f2f2ffa;border:1px solid #ffffff14;border-radius:16px;display:grid;box-shadow:0 18px 44px #00000061}.theme-light .ui-popover{background:#fffffffa;border-color:#0f172a1f;box-shadow:0 18px 44px #0f172a29}.ui-control-surface{color:#fff;background:#1e1e1e;border:1px solid #ffffff21}.theme-light .ui-control-surface{color:#111827;background:#fff;border-color:#0f172a1f}.ui-ghost-button{background:0 0;border:0}.ui-ghost-button:hover,.ui-ghost-button.active,.ui-ghost-button.open{background:#ffffff1a}.theme-light .ui-ghost-button:hover,.theme-light .ui-ghost-button.active,.theme-light .ui-ghost-button.open{background:#0f172a14}.ui-round-submit-button{color:#111111eb;background:#fffffff5;border:1px solid #ffffff14;border-radius:999px;width:34px;height:34px;min-height:34px;padding:0}.theme-light .ui-round-submit-button{border-color:#0f172a1a}.ui-menu{z-index:120;border:1px solid var(--line-strong);background:var(--panel);transform-origin:0 0;border-radius:10px;gap:4px;padding:6px;animation:.29s cubic-bezier(.22,1.08,.32,1) both menu-scale-enter;display:grid;position:fixed;box-shadow:0 18px 50px #0000005c}.ui-menu button{background:0 0;border:0;justify-content:flex-start;width:100%;min-height:32px}.ui-menu button:hover{background:var(--panel-soft)}.ui-menu button:disabled{cursor:not-allowed;opacity:.38}.ui-option-button{color:#ffffff9e;background:0 0;border:0}.theme-light .ui-option-button{color:#0f172a9e}.ui-option-button:hover:not(:disabled),.ui-option-button.active{color:#fffffff2;background:#ffffff1f}.theme-light .ui-option-button:hover:not(:disabled),.theme-light .ui-option-button.active{color:#111827;background:#0f172a14}.ui-option-list{display:grid}.ui-option-list button{color:#ffffff9e;background:0 0;border:0;width:100%}.theme-light .ui-option-list button{color:#0f172a9e}.ui-option-list button:hover:not(:disabled),.ui-option-list button.active{color:#fffffff2;background:#ffffff1f}.theme-light .ui-option-list button:hover:not(:disabled),.theme-light .ui-option-list button.active{color:#111827;background:#0f172a14}.ui-option-grid{display:grid}.ui-option-grid button{color:#ffffff9e;background:0 0;border:0}.theme-light .ui-option-grid button{color:#0f172a9e}.ui-option-grid button:hover:not(:disabled),.ui-option-grid button.active{color:#fffffff2;background:#ffffff24}.theme-light .ui-option-grid button:hover:not(:disabled),.theme-light .ui-option-grid button.active{color:#111827;background:#0f172a14}.ui-option-segment{background:#ffffff14;border-radius:10px;display:grid;overflow:hidden}.theme-light .ui-option-segment{background:#0f172a0f}.ui-option-segment button{color:#ffffff61;background:0 0;border:0}.theme-light .ui-option-segment button{color:#0f172a80}.ui-option-segment button:hover,.ui-option-segment button.active{color:#ffffffe6;background:#ffffff17}.theme-light .ui-option-segment button:hover,.theme-light .ui-option-segment button.active{color:#111827;background:#0f172a14}.ui-tool-button{color:var(--text);background:#ffffff0e;border:1px solid #ffffff1a;border-radius:12px;justify-content:flex-start;gap:8px;font-size:13px;font-weight:800}.ui-tool-button:hover:not(:disabled),.ui-tool-button.active{background:#ffffff24;border-color:#ffffff4d}.ui-card{color:#fff;background:#202020;border:1px solid #ffffff1c}.ui-card:hover,.ui-card.active{background:#262626;border-color:#ffffff38}.theme-light .ui-card{color:#111827;background:#fff;border-color:#0f172a1a}.theme-light .ui-card:hover,.theme-light .ui-card.active{background:#f8fafc;border-color:#0f172a2e}.ui-thumbnail-surface{background:#ffffff0a;border:1px solid #ffffff14;overflow:hidden}.theme-light .ui-thumbnail-surface{background:#0f172a0a;border-color:#0f172a1a}@keyframes spin{to{transform:rotate(360deg)}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f4f4f5;background:#050505;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:1180px;min-height:720px;margin:0;overflow:hidden}.app-shell{--bg:#050505;--canvas:#000;--panel:#161616eb;--panel-solid:#151515;--panel-soft:#ffffff0e;--control:#ffffff13;--control-hover:#ffffff1f;--field:#00000047;--line:#ffffff1c;--line-strong:#ffffff38;--text:#f4f4f5;--muted:#a1a1aa;--dim:#71717a;--accent:#25b7ff;--accent-strong:#3b82f6;--danger:#fb7185;--edge-base:#ffffff38;--edge-active:#e6e6e66b;--edge-active-shadow:#ebebeb52;--edge-glow-shadow:#f0f0f085;--edge-flow-shadow:#f5f5f59e;--edge-gradient-fade:#f5f5f500;--edge-gradient-soft:#ebebeb33;--edge-gradient-strong:#fafafaf0;--edge-gradient-core:#fff;background:var(--canvas);height:100vh;color:var(--text);position:relative;overflow:hidden}.theme-light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eceff3;--canvas:#eceff3;--panel:#ffffffe6;--panel-solid:#fff;--panel-soft:#0f172a0e;--control:#ffffffeb;--control-hover:#eef2f7;--field:#fff;--line:#0f172a1f;--line-strong:#0f172a38;--text:#15171a;--muted:#5f6875;--dim:#8a93a3;--accent:#0ea5e9;--accent-strong:#2563eb;--danger:#e11d48;--edge-base:#64748b;--edge-active:#2563ebd1;--edge-active-shadow:#2563eb3d;--edge-glow-shadow:#2563eb33;--edge-flow-shadow:#2563eb5c;--edge-gradient-fade:#2563eb00;--edge-gradient-soft:#2563eb2e;--edge-gradient-strong:#2563ebd1;--edge-gradient-core:#1d4ed8f5;background:var(--canvas)}.app-topbar{z-index:30;pointer-events:none;grid-template-columns:minmax(286px,1fr) auto;align-items:center;gap:12px;display:grid;position:absolute;top:14px;left:14px;right:18px}.topbar-brand,.topbar-control-cluster,.project-path,.topbar-actions{pointer-events:auto}.topbar-brand{align-items:center;width:max-content;height:auto;padding:0;display:flex;transform:translate(18px,2px)}.brand-mark{flex:none;width:140px;height:42px;overflow:hidden}.brand-mark img{object-fit:contain;width:100%;height:100%;display:block}.topbar-control-cluster{justify-self:end;align-items:center;gap:10px;display:flex}.project-path{border:1px solid var(--line);background:var(--panel);width:clamp(250px,18.75vw,360px);height:42px;color:var(--muted);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:12px;grid-template-columns:45px minmax(120px,1fr);align-items:center;gap:6px;padding:6px 8px;font-size:11px;display:grid}.project-path input{height:28px;font-size:12px}.topbar-actions{border:1px solid var(--line);background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:13px;align-items:center;gap:7px;padding:5px;display:flex;box-shadow:0 18px 50px #00000040}.topbar-actions button{width:32px;height:32px;padding:0}.topbar-actions .project-list-return{width:auto;min-width:100px;padding:0 10px;font-size:12px}.project-menu-wrap{position:relative}.topbar-actions .project-menu-trigger{width:auto;min-width:118px;padding:0 10px}.project-menu-trigger span{font-size:12px}.project-menu-panel{z-index:80;border:1px solid var(--line-strong);background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:12px;gap:4px;width:186px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 54px #00000057}.project-menu-panel button{background:0 0;border:0;justify-content:flex-start;width:100%;min-height:34px;padding:7px 9px;font-size:12px}.project-menu-panel button:hover{background:var(--panel-soft)}.user-chip{min-width:0;max-width:116px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;padding:0 8px;font-size:12px;line-height:32px;overflow:hidden}.user-chip.team-unsaved{color:#f59e0b;font-weight:700}.user-chip.team-synced{color:#34d399;font-weight:700}.user-chip.team-warning{color:#fbbf24;background:#f59e0b1f;font-weight:700}.user-chip.team-revoked{color:#fb7185;background:#f43f5e1f;font-weight:800}.topbar-actions .spin-icon{animation:.9s linear infinite spin}@media (max-width:700px){.app-topbar{grid-template-rows:42px 42px;grid-template-columns:112px minmax(0,1fr);gap:6px 8px;width:calc(100vw - 16px);top:8px;left:8px;right:auto}.topbar-brand{grid-area:1/1;transform:none}.brand-mark{width:112px}.topbar-control-cluster{display:contents}.project-path{grid-area:1/2;width:100%;min-width:0;max-width:100%}.topbar-actions{scrollbar-width:none;grid-area:2/1/auto/-1;justify-self:stretch;width:100%;min-width:0;max-width:100%;overflow-x:auto}.topbar-actions::-webkit-scrollbar{display:none}}.project-dashboard-shell{background:var(--canvas);min-height:100vh;color:var(--text);--project-tab-text:var(--muted);--project-tab-text-hover:var(--text);--project-tab-text-active:var(--text);--project-tab-count:var(--dim);--project-tab-count-active:var(--muted);--project-card-text:var(--text);--project-card-muted:var(--muted);--project-card-dim:var(--dim);--project-new-surface:var(--panel-solid);--project-empty-border:var(--line-strong);--project-dialog-bg:var(--panel-solid);overflow:auto}.project-board-header,.project-board{width:min(1580px,100vw - 112px);margin:0 auto}.project-board-header{justify-content:space-between;align-items:center;gap:24px;height:98px;display:flex}.project-board-tabs{align-items:center;gap:30px;display:flex}.project-board-tabs button{min-height:38px;color:var(--project-tab-text);background:0 0;border:0;border-radius:0;padding:0 0 10px;font-size:22px;font-weight:700;position:relative}.project-board-tabs button span{color:var(--project-tab-count);margin-left:6px;font-size:15px;font-weight:700}.project-board-tabs button.active span{color:var(--project-tab-count-active)}.project-board-tabs button:hover{color:var(--project-tab-text-hover);background:0 0}.project-board-tabs button.active{color:var(--text)}.project-board-tabs button.active:after{content:"";background:var(--project-tab-text-active);border-radius:999px;height:2px;position:absolute;bottom:0;left:0;right:0}.project-board-tools{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.project-search-box{border:1px solid var(--line);background:var(--field);width:182px;height:46px;color:var(--muted);border-radius:12px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:0 13px;display:grid}.project-search-box input{height:30px;color:var(--text);background:0 0;border:0;padding:0;font-size:14px}.project-search-box input:focus{box-shadow:none}.project-search-box input::placeholder{color:var(--dim)}.project-filter-button,.project-view-switch,.project-icon-action,.project-automation-trigger,.project-live-data-button,.project-chat-button,.project-goal-progress-button,.project-create-button{height:46px;min-height:46px}.project-filter-button{border-radius:12px;padding:0 14px;font-size:14px;font-weight:700}.project-view-switch{border-radius:12px;align-items:center;gap:2px;padding:4px;display:flex}.project-view-switch button,.project-icon-action{border:0;border-radius:9px;width:38px;height:38px;min-height:38px;padding:0}.project-view-switch button{color:var(--muted);background:0 0}.project-view-switch button.active,.project-view-switch button:hover,.project-icon-action:hover{color:var(--text)}.project-toolbar-divider{background:var(--line);width:1px;height:34px;margin:0 4px}.project-create-button{border:0;border-radius:12px;padding:0 17px;font-size:15px;font-weight:800}.project-automation-trigger,.project-live-data-button,.project-chat-button,.project-goal-progress-button{white-space:nowrap;border:0;border-radius:12px;min-width:104px;padding:0 14px;font-size:14px;font-weight:800}.project-automation-menu{z-index:40;flex:none;position:relative}.project-automation-trigger{justify-content:center;align-items:center;gap:7px;display:inline-flex}.project-automation-chevron{transition:transform .16s}.project-automation-menu.open .project-automation-chevron{transform:rotate(180deg)}.project-automation-dropdown{border:1px solid var(--line-strong);background:var(--panel-solid);opacity:0;visibility:hidden;pointer-events:none;transform-origin:0 0;border-radius:8px;gap:4px;width:156px;padding:6px;transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;top:calc(100% + 8px);left:0;transform:translateY(-5px);box-shadow:0 18px 48px #00000061}.project-automation-menu.open .project-automation-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.project-automation-dropdown button{width:100%;height:40px;min-height:40px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:9px;padding:0 10px;font-size:14px;font-weight:700;display:flex}.project-automation-dropdown button:hover,.project-automation-dropdown button:focus-visible{background:var(--control-hover)}.project-user-label{max-width:70px;color:var(--project-tab-count-active);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.project-board{padding-bottom:48px}.project-card-grid{grid-template-columns:repeat(auto-fill,minmax(284px,1fr));align-items:start;gap:20px;display:grid}.project-card-grid-list{grid-template-columns:1fr}.project-card,.project-new-card{text-align:left;border-radius:16px;grid-template-columns:minmax(0,1fr);place-content:start stretch;place-items:stretch stretch;gap:10px;width:100%;min-height:282px;padding:10px;display:grid}.project-card-preview,.project-new-card-inner{aspect-ratio:4/3;border-radius:12px;width:100%;overflow:hidden}.project-card-preview{display:block}.project-card-preview img,.project-card-placeholder{width:100%;height:100%;display:block}.project-card-preview img{object-fit:cover}.project-card-placeholder{background:radial-gradient(circle at 50% 48%,#fff3,#0000 22%),linear-gradient(135deg,#202022 0%,#5b6c85 58%,#2f55a4 100%)}.project-card:nth-child(4n+1) .project-card-placeholder{background:radial-gradient(circle at 22% 70%,#fff3,#0000 20%),linear-gradient(135deg,#2a2a2d 0%,#75869d 58%,#2f5da8 100%)}.project-card:nth-child(4n+2) .project-card-placeholder{background:radial-gradient(circle at 72% 25%,#ffffff38,#0000 18%),linear-gradient(135deg,#687589 0%,#a7b0ba 45%,#33415f 100%)}.project-card:nth-child(4n+3) .project-card-placeholder{background:radial-gradient(circle at 46% 38%,#ffffff2e,#0000 19%),linear-gradient(135deg,#7d8794 0%,#58687e 52%,#2f3b59 100%)}.project-new-card{text-align:center;place-items:center}.project-new-card-inner{background:var(--project-new-surface);align-content:center;place-items:center;gap:14px;min-height:260px;display:grid}.project-new-plus{background:var(--project-tab-text-active);width:44px;height:44px;color:var(--canvas);border-radius:999px;place-items:center;display:grid}.project-new-card strong{color:var(--text);font-size:16px}.project-new-card small{max-width:210px;color:var(--project-card-muted);font-size:12px;line-height:1.5}.project-new-ai-video-card .project-new-card-inner{background:radial-gradient(circle at 50% 25%, #2dd4bf2b, transparent 38%), var(--project-new-surface)}.project-new-ai-video-card .project-new-plus{color:#08201c;background:#2dd4bfe6}.project-card-body{gap:6px;min-width:0;display:grid}.project-card-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:800;line-height:1.25;overflow:hidden}.project-type-badge{color:#69e5cb;vertical-align:2px;background:#2dd4bf1f;border-radius:999px;align-items:center;gap:4px;margin-right:7px;padding:3px 6px;font-size:10px;font-style:normal;display:inline-flex}.project-ai-video-progress{flex-wrap:wrap;gap:5px;display:flex}.project-ai-video-progress span{color:var(--project-card-muted);background:#2dd4bf0f;border:1px solid #2dd4bf1f;border-radius:999px;padding:4px 7px;font-size:11px}.project-card-meta{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.project-card-time{color:var(--project-card-dim);font-size:13px}.project-card-size{color:var(--project-card-muted);font-size:13px}.project-card-grid-list .project-card,.project-card-grid-list .project-new-card{grid-template-columns:112px minmax(0,1fr);align-items:center;min-height:96px}.project-card-grid-list .project-card-preview,.project-card-grid-list .project-new-card-inner{aspect-ratio:16/10;min-height:72px}.project-card-grid-list .project-new-card-inner{justify-content:center;display:flex}.project-no-results{border:1px dashed var(--project-empty-border);color:var(--muted);text-align:center;border-radius:16px;margin-top:22px;padding:28px}.project-member-backdrop{z-index:220;background:#0000008a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-member-dialog{border:1px solid var(--line);background:var(--project-dialog-bg);border-radius:18px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:14px;width:min(520px,100vw - 48px);max-height:min(680px,100vh - 72px);padding:18px;display:grid;box-shadow:0 28px 80px #0000007a}.project-member-dialog header,.project-member-dialog footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-member-dialog header div{gap:4px;min-width:0;display:grid}.project-member-dialog header strong{color:var(--text);font-size:17px}.project-member-dialog header span,.project-member-owner{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.project-member-list{align-content:start;gap:8px;min-height:180px;padding-right:4px;display:grid;overflow-y:auto}.project-member-row{border:1px solid var(--line);background:var(--panel-soft);border-radius:10px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.project-member-row span{gap:3px;min-width:0;display:grid}.project-member-row strong,.project-member-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.project-versions-backdrop{z-index:220;background:#0000008a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-versions-dialog{border:1px solid var(--line);background:var(--project-dialog-bg,var(--panel-solid));border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto auto;gap:14px;width:min(600px,100vw - 48px);max-height:min(720px,100vh - 72px);padding:18px;display:grid;box-shadow:0 28px 80px #0000007a}.project-versions-dialog header,.project-versions-dialog footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.project-versions-dialog header>div{gap:4px;min-width:0;display:grid}.project-versions-dialog header strong{color:var(--text);align-items:center;gap:7px;font-size:17px;display:flex}.project-versions-dialog header span,.project-versions-dialog footer span{color:var(--muted);font-size:12px}.project-versions-dialog header button{width:32px;height:32px;padding:0;font-size:22px;line-height:1}.project-versions-list{align-content:start;gap:8px;min-height:180px;padding-right:4px;display:grid;overflow-y:auto}.project-version-row{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:76px;padding:11px 12px;display:grid}.project-version-main{gap:5px;min-width:0;display:grid}.project-version-title{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.project-version-title strong{color:var(--text);font-size:14px}.project-version-title span{color:#d8d2ff;background:#7c5cff33;border-radius:4px;padding:2px 6px;font-size:11px}.project-version-main>span,.project-version-main small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-version-restore{justify-content:center;align-items:center;gap:6px;min-width:78px;height:34px;display:inline-flex}.project-versions-empty{min-height:180px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.project-versions-error{border:1px solid color-mix(in srgb, var(--danger) 38%, transparent);color:var(--danger);background:color-mix(in srgb, var(--danger) 9%, transparent);border-radius:6px;padding:9px 10px;font-size:12px}.project-versions-load-more{justify-content:center;justify-self:center;align-items:center;gap:7px;min-width:148px;display:inline-flex}.project-leave-dialog{grid-template-rows:auto auto auto;width:min(520px,100vw - 48px)}.project-leave-message{border:1px solid var(--line);background:var(--panel-soft);color:var(--text);border-radius:8px;padding:14px;font-size:13px;line-height:1.6}.project-leave-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.project-leave-actions .primary{justify-content:center;align-items:center;gap:6px;display:inline-flex}.team-revoked-dialog .primary{color:#6ee7b7;background:#34d39929;border-color:#34d39994}.team-revoked-backdrop{z-index:230}.team-revoked-dialog{grid-template-rows:auto auto auto;width:min(480px,100vw - 48px)}.team-revoked-message{border:1px solid color-mix(in srgb, var(--danger) 34%, transparent);background:color-mix(in srgb, var(--danger) 8%, transparent);color:var(--text);border-radius:8px;padding:14px;font-size:13px;line-height:1.6}@media (max-width:640px){.project-versions-backdrop{padding:12px}.project-versions-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:14px}.project-version-row{grid-template-columns:minmax(0,1fr)}.project-version-restore{width:100%}.team-revoked-dialog footer{flex-direction:column;align-items:stretch}.project-leave-footer,.project-leave-actions{flex-direction:column-reverse;align-items:stretch}.project-leave-footer button,.project-leave-actions button{width:100%}.team-revoked-dialog footer button{flex:1 1 0}}.project-member-row strong{color:var(--text);font-size:14px}.project-member-row small{color:var(--muted);font-size:12px}.team-save-dialog{z-index:90;border:1px solid var(--line-strong);background:color-mix(in srgb, var(--panel-solid) 94%, transparent);min-width:220px;max-width:min(360px,100vw - 56px);color:var(--text);text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:14px;justify-items:center;gap:8px;padding:18px 22px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 22px 64px #0000006b}.team-save-dialog-icon{background:var(--panel-soft);border-radius:999px;place-items:center;width:40px;height:40px;display:grid}.team-save-dialog strong{font-size:16px}.team-save-dialog span:last-child{color:var(--muted);font-size:13px}.team-save-dialog.success .team-save-dialog-icon{color:#34d399}.team-save-dialog.error .team-save-dialog-icon{color:var(--danger)}.theme-light.project-dashboard-shell{--project-new-surface:#fff;--project-empty-border:#0f172a2e;--project-dialog-bg:#fff}.project-help-center-button{position:relative}.project-help-center-button>span{box-sizing:border-box;border:2px solid var(--dashboard-bg,#111);color:#fff;background:#7860ef;border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:750;display:grid;position:absolute;top:-5px;right:-5px}.app-body{--left-panel-x:20px;--left-panel-top:74px;--left-panel-bottom:24px;--left-panel-width:286px;--left-toolbar-x:clamp(18px, 1.35vw, 26px);--left-rail-default-x:0px;--left-panel-rail-gap:10px;--left-rail-open-x:calc(var(--left-panel-x) + var(--left-panel-width) + var(--left-panel-rail-gap) - var(--left-toolbar-x));grid-template-columns:minmax(620px,1fr);height:100vh;min-height:0;display:grid;position:relative}.app-body.right-open.left-closed{grid-template-columns:minmax(620px,1fr) 360px}.app-body.right-closed.left-closed{grid-template-columns:minmax(620px,1fr)}.app-body.right-open.left-open{grid-template-columns:minmax(620px,1fr) 360px}.app-body.right-closed.left-open{grid-template-columns:minmax(620px,1fr)}.app-body.right-open.left-open.assets-open{grid-template-columns:minmax(620px,1fr) 360px}.app-body.right-closed.left-open.assets-open{grid-template-columns:minmax(620px,1fr)}.app-body.left-open .left-drawer,.app-body.left-open .workspace{grid-column:1}.app-body.right-open.left-open .settings-panel{grid-column:2}.icon-rail{--toolbar-x:var(--left-toolbar-x);--toolbar-w:clamp(64px, 3.75vw, 72px);--toolbar-h:clamp(296px, 31vh, 335px);--toolbar-y:calc((100vh - var(--toolbar-h)) / 2);--tool-size:calc(var(--toolbar-w) * .62);top:0;bottom:0;left:var(--left-rail-default-x);z-index:24;will-change:left;background:0 0;width:120px;padding:0;transition:left .32s cubic-bezier(.2,.9,.24,1);position:absolute}.app-body.left-open .icon-rail{left:var(--left-rail-open-x);z-index:80;opacity:1;pointer-events:auto;transform:none}.app-body.ai-chat-open.assets-open .icon-rail{z-index:80}.icon-rail:before{content:"";top:var(--toolbar-y);left:var(--toolbar-x);width:var(--toolbar-w);height:var(--toolbar-h);border:1px solid var(--line);border-radius:calc(var(--toolbar-w) / 2);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#141414f0;position:absolute;box-shadow:0 18px 44px #00000047,inset 0 1px #ffffff0a}.icon-rail button{z-index:1;left:calc(var(--toolbar-x) + var(--toolbar-w) / 2);width:var(--tool-size);height:var(--tool-size);min-height:var(--tool-size);color:#f4f4f5;background:0 0;border:0;border-radius:999px;padding:0;position:absolute;transform:translate(-50%,-50%)}.icon-rail button:active{transform:translate(-50%,-50%)translateY(1px)}.icon-rail button:first-child{top:calc(var(--toolbar-y) + var(--toolbar-h) * .16)}.icon-rail button:nth-child(2){top:calc(var(--toolbar-y) + var(--toolbar-h) * .39)}.icon-rail button:nth-child(3){top:calc(var(--toolbar-y) + var(--toolbar-h) * .62)}.icon-rail button:nth-child(4){top:calc(var(--toolbar-y) + var(--toolbar-h) * .85)}.icon-rail button:hover,.icon-rail button.active{color:#fff;background:#ffffff14}.icon-rail button svg{width:calc(var(--tool-size) * .52);height:calc(var(--tool-size) * .52);stroke-width:1.7px}.icon-rail button.active:before{content:"";top:50%;left:calc((var(--tool-size) - var(--toolbar-w)) / 2 - 1px);width:3px;height:calc(var(--tool-size) * .88);background:#ff9d45;border-radius:999px;position:absolute;transform:translateY(-50%)}.icon-rail button:hover:after{content:attr(data-label);top:50%;left:calc(var(--toolbar-w) * .9);color:#ffffffd6;white-space:nowrap;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;background:#0a0a0ac7;border:1px solid #ffffff1a;border-radius:999px;align-items:center;height:clamp(34px,3.52vh,38px);padding:0 16px;font-size:14px;line-height:1;display:inline-flex;position:absolute;transform:translateY(-50%);box-shadow:0 12px 28px #00000047}.theme-light .icon-rail:before{background:#ffffffeb;border-color:#0f172a1f;box-shadow:0 18px 44px #0f172a29,inset 0 1px #ffffffc7}.theme-light .icon-rail button{color:#0f172ac7}.theme-light .icon-rail button:hover,.theme-light .icon-rail button.active{color:#111827;background:#0f172a12}.theme-light .icon-rail button:hover:after{color:#0f172ac7;background:#fffffff0;border-color:#0f172a1f;box-shadow:0 12px 28px #0f172a26}.left-drawer,.settings-panel{z-index:20;border-left:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#080808c7;min-height:0;padding:86px 14px 16px;overflow:auto}.left-drawer{top:var(--left-panel-top);bottom:var(--left-panel-bottom);left:var(--left-panel-x);width:var(--left-panel-width);-webkit-backdrop-filter:none;backdrop-filter:none;transform-origin:0;will-change:transform, opacity;background:0 0;border:0;padding:0;animation:.32s cubic-bezier(.2,.9,.24,1) both left-drawer-enter;position:absolute;overflow:visible}.left-drawer.closing{pointer-events:none;animation:.24s cubic-bezier(.4,0,.2,1) both left-drawer-exit}.left-drawer.asset-library-drawer{z-index:42}.left-drawer>.panel-section{background:var(--panel);border-radius:24px;grid-template-rows:auto minmax(0,1fr);align-content:start;gap:0;width:100%;height:100%;min-height:0;padding:0;overflow:auto;box-shadow:0 24px 70px #0000002e}.left-panel-header{border-bottom:1px solid var(--line);align-items:center;min-height:68px;padding:16px 18px 12px;display:flex}.left-panel-header h2,.left-panel-header h3{color:var(--text);align-items:center;gap:8px;margin:0;font-size:15px;line-height:1.2;display:flex}.left-panel-body{min-height:0;padding:16px 14px;overflow:auto}.theme-light .left-drawer>.panel-section{background:#fffffff5;box-shadow:0 24px 70px #0f172a1f}.left-drawer.ai-chat-drawer{z-index:70;border:1px solid var(--line);transform-origin:100%;background:#080808e0;border-radius:18px;width:clamp(520px,26vw,620px);padding:0;animation:.32s cubic-bezier(.18,1.08,.24,1) both right-chat-drawer-enter;inset:62px 18px 24px auto;overflow:hidden;box-shadow:0 24px 72px #00000057}.left-drawer.ai-chat-drawer.closing{animation:.22s cubic-bezier(.4,0,.2,1) both right-chat-drawer-exit}.theme-light .left-drawer,.theme-light .settings-panel{background:0 0}@keyframes left-drawer-enter{0%{opacity:0;filter:blur(4px);transform:translate(-24px)}to{opacity:1;filter:blur();transform:translate(0)}}@keyframes left-drawer-exit{0%{opacity:1;filter:blur();transform:translate(0)scaleX(1)}to{opacity:0;filter:blur(4px);transform:translate(-24px)}}@keyframes right-chat-drawer-enter{0%{opacity:0;filter:blur(7px);transform:translate(34px)scaleX(.96)}72%{opacity:1;filter:blur();transform:translate(-6px)scaleX(1.008)}to{opacity:1;filter:blur();transform:translate(0)scaleX(1)}}@keyframes right-chat-drawer-exit{0%{opacity:1;filter:blur();transform:translate(0)scaleX(1)}to{opacity:0;filter:blur(5px);transform:translate(28px)scaleX(.98)}}.ai-chat-shell{background:#080808e6;grid-template-columns:176px minmax(0,1fr);height:100%;display:grid}.theme-light .ai-chat-shell{background:#fffffff0}.ai-chat-sidebar{border-right:1px solid var(--line);background:#ffffff09;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.theme-light .ai-chat-sidebar{background:#0f172a09}.ai-chat-sidebar-header{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:14px 10px 12px;display:grid}.ai-chat-sidebar-header div{gap:3px;min-width:0;display:grid}.ai-chat-sidebar-header strong{color:var(--text);font-size:14px;line-height:1.2}.ai-chat-sidebar-header span{color:var(--muted);font-size:12px}.ai-chat-sidebar-header button{color:#111;background:#e3bd9e;border:0;border-radius:999px;align-items:center;gap:5px;min-height:32px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.ai-chat-session-list{align-content:start;gap:7px;min-height:0;padding:8px;display:grid;overflow-y:auto}.ai-chat-session-list button{min-width:0;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;gap:5px;padding:10px 9px;display:grid}.ai-chat-session-list button:hover,.ai-chat-session-list button.active{background:#e3bd9e24;border-color:#e3bd9e5c}.ai-chat-session-list button:disabled{opacity:.78}.ai-chat-session-list strong,.ai-chat-session-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-chat-session-list strong{font-size:13px;line-height:1.25}.ai-chat-session-list span{color:var(--muted);font-size:11px}.ai-chat-main{grid-template-rows:auto auto minmax(0,1fr) auto auto;min-width:0;min-height:0;display:grid}.ai-chat-header{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px 18px 12px;display:grid}.ai-chat-header h2{color:var(--text);margin:0;font-size:18px;line-height:1.2}.ai-chat-header span,.ai-chat-composer-footer span{color:var(--muted);font-size:12px}.ai-chat-clear{background:var(--control);min-height:32px;color:var(--muted);border-radius:999px;padding:0 12px;font-size:12px;font-weight:800}.ai-chat-model{border-bottom:1px solid var(--line);gap:7px;padding:12px 18px;display:grid}.ai-chat-model span{color:var(--muted);font-size:12px;font-weight:800}.ai-chat-model select{min-height:38px}.ai-chat-messages{flex-direction:column;gap:14px;min-height:0;padding:18px;display:flex;overflow-y:auto}.ai-chat-empty{min-height:100%;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:10px;display:grid}.ai-chat-empty strong{color:var(--text);font-size:18px}.ai-chat-message{border:1px solid var(--line);max-width:86%;color:var(--text);white-space:pre-wrap;background:#fff1;border-radius:18px;gap:8px;padding:12px 14px;display:grid}.ai-chat-message.user{background:#e3bd9e2e;border-color:#e3bd9e47;align-self:flex-end}.ai-chat-message.assistant{align-self:flex-start}.ai-chat-message.error{border-color:#fb718559}.theme-light .ai-chat-message{background:#0f172a0b}.theme-light .ai-chat-message.user{background:#e3bd9e57}.ai-chat-message-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:800;display:flex}.ai-chat-message p{margin:0;font-size:14px;line-height:1.62}.ai-chat-message-images{flex-wrap:wrap;gap:8px;display:flex}.ai-chat-message-images img{object-fit:cover;border:1px solid var(--line);background:#00000047;border-radius:12px;width:88px;height:88px}.ai-chat-message-files{flex-wrap:wrap;gap:6px;display:flex}.ai-chat-message-files span{border:1px solid var(--line);max-width:180px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#ffffff14;border-radius:999px;padding:5px 9px;font-size:11px;overflow:hidden}.ai-chat-actions{gap:8px;display:flex}.ai-chat-actions button{background:var(--control);min-height:28px;color:var(--muted);border-radius:999px;padding:0 10px;font-size:12px;font-weight:800}.ai-chat-error{color:#fecdd3;background:#fb71851a;border:1px solid #fb718547;border-radius:12px;margin:0 18px 12px;padding:10px 12px;font-size:13px}.theme-light .ai-chat-error{color:#be123c}.ai-chat-composer{border-top:1px solid var(--line);gap:10px;padding:14px 18px 18px;display:grid;position:relative}.ai-chat-input-area{min-width:0;position:relative}.ai-chat-composer textarea{resize:none;border:1px solid var(--line);width:100%;min-height:96px;max-height:170px;color:var(--text);background:#0000006b;border-radius:18px;padding:14px 15px;line-height:1.5}.ai-chat-composer textarea:disabled{cursor:not-allowed;opacity:.64}.theme-light .ai-chat-composer textarea{background:#fffffff5}.ai-chat-attachment-strip{align-items:flex-start;gap:8px;padding:6px 2px 4px 4px;display:flex;overflow:auto visible}.ai-chat-attachment-strip .generate-reference-strip{flex:none;max-width:none}.ai-chat-reference-card{border:1px solid var(--line);text-align:left;background:#ffffff14;border-radius:10px;align-content:center;gap:3px;width:114px;height:38px;min-height:38px;padding:5px 9px 5px 18px;display:grid;position:relative;overflow:visible}.ai-chat-attachment-strip .reference-fallback-icon svg{width:18px;height:18px}.theme-light .ai-chat-reference-card{background:#0f172a0f}.ai-chat-reference-card strong,.ai-chat-reference-card em{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ai-chat-reference-card strong{color:var(--text);font-size:11px;line-height:1.15}.ai-chat-reference-card em{color:var(--muted);font-size:10px;font-style:normal;line-height:1.2}.ai-chat-reference-card .reference-remove-badge{z-index:3;color:#fff;cursor:pointer;background:#202020e0;border:1px solid #ffffff47;border-radius:999px;place-items:center;width:16px;height:16px;padding:0;font-size:0;font-weight:900;line-height:1;display:grid;position:absolute;top:-4px;left:-4px}.ai-chat-reference-card .reference-remove-badge:after{content:"x";font-size:13px}.ai-chat-composer-footer{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.ai-chat-composer-footer>span{flex:220px}.ai-chat-composer-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.ai-chat-composer-actions button,.ai-chat-attach-button{color:#111;background:#e3bd9e;border:0;border-radius:999px;align-items:center;gap:7px;min-height:36px;padding:0 15px;font-size:13px;font-weight:900;display:inline-flex}.ai-chat-attach-button{cursor:pointer}.ai-chat-attach-button.disabled{cursor:not-allowed;opacity:.5}.ai-chat-attach-button input{display:none}.ai-chat-composer-actions button:disabled{opacity:.5}.ai-chat-composer-actions button.active{color:#111;background:#fff;box-shadow:0 0 0 3px #e3bd9e2e}.ai-chat-shell.reference-picking{box-shadow:inset 0 0 0 1px #e3bd9e5c}.ai-chat-shell.read-only .ai-chat-attachment-strip button{pointer-events:none;opacity:.64}.app-body.ai-chat-reference-picking .react-flow__node{cursor:copy}.app-body.ai-chat-reference-picking .workflow-node.image-input,.app-body.ai-chat-reference-picking .workflow-node.generate-image,.app-body.ai-chat-reference-picking .workflow-node.text,.app-body.ai-chat-reference-picking .workflow-node.prompt,.app-body.ai-chat-reference-picking .workflow-node.text-note{outline-offset:5px;outline:1px solid #e3bd9e7a}.assistant-panel{flex-direction:column;gap:14px;display:flex}.panel-kicker{color:var(--dim);letter-spacing:.12em;padding:2px 2px 5px;font-size:10px;font-weight:800}.workspace{background:0 0;grid-template-rows:1fr;min-width:0;min-height:0;display:grid}.canvas-panel{min-height:0;position:relative}.react-flow{background-color:var(--canvas);--xy-edge-stroke:var(--edge-base);--xy-edge-stroke-width:2.4;--xy-edge-stroke-selected:var(--accent);--xy-selection-background-color:#ffffff13;--xy-selection-border:1px solid #f5f5f56b}.theme-light .react-flow{--xy-edge-stroke-width:3;--xy-selection-background-color:#0ea5e91f;--xy-selection-border:1px solid #2563eb57}.react-flow__pane,.react-flow__pane.draggable,.react-flow__pane.selection{cursor:default!important}.react-flow__pane.dragging{cursor:grabbing!important}.react-flow__node,.react-flow__node.draggable,.react-flow__node .workflow-node{cursor:default!important}.react-flow__node.dragging,.react-flow__node.draggable.dragging,.react-flow__node.dragging .workflow-node,.react-flow__node.draggable.dragging .workflow-node{cursor:grabbing!important}.flow-zoom-control{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#ffffffb8;background:#121212db;border:1px solid #ffffff24;border-radius:999px;grid-template-columns:28px auto minmax(110px,1fr) 50px;align-items:center;gap:10px;min-width:262px;height:42px;padding:0 12px;font-size:12px;font-weight:800;display:grid;position:absolute;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 16px 42px #0000005c}.flow-fit-view-button{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.flow-fit-view-button:hover{color:var(--text);background:#ffffff1a}.theme-light .flow-fit-view-button:hover{background:#0f172a14}.canvas-upload-status{z-index:31;color:#ffffffeb;pointer-events:none;background:#262629f5;border-radius:8px;align-items:center;gap:12px;min-width:220px;max-width:min(360px,100vw - 40px);min-height:50px;padding:0 16px;font-size:14px;font-weight:800;display:flex;position:absolute;bottom:76px;left:50%;transform:translate(-50%);box-shadow:0 18px 42px #00000052}.canvas-upload-status svg{flex:none}.canvas-upload-status.uploading svg{color:#ffffff70;animation:.85s linear infinite upload-status-spin}.canvas-upload-status.success svg{color:#22c995}.canvas-upload-status.error svg{color:#ff6b6b}.canvas-upload-status span{overflow-wrap:anywhere;min-width:0}.theme-light .canvas-upload-status{color:#0f172ae0;background:#fffffff5;box-shadow:0 18px 42px #0f172a29}@keyframes upload-status-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.theme-light .flow-zoom-control{color:#0f172aad;background:#ffffffe6;border-color:#0f172a24;box-shadow:0 16px 42px #0f172a24}.flow-zoom-control input{accent-color:#e3bd9e;width:100%}.flow-zoom-control strong{color:var(--text);text-align:right;font-variant-numeric:tabular-nums}.react-flow__edge-path{stroke:var(--edge-base);stroke-width:2.4px}.theme-light .react-flow__edge-path{stroke-width:3px}.react-flow__selection,.react-flow__nodesselection-rect{border-radius:12px;box-shadow:0 0 0 1px #00000029}.energy-edge-base{stroke:var(--edge-base);stroke-width:2.4px;transition:stroke .18s,stroke-width .18s,filter .18s}.theme-light .energy-edge-base{stroke-width:3px}.energy-edge-base.active{stroke:var(--edge-active);stroke-width:2.8px;filter:drop-shadow(0 0 8px var(--edge-active-shadow))}.theme-light .energy-edge-base.active{stroke-width:3.2px}.energy-edge-glow{stroke-width:9px;stroke-linecap:round;stroke-dasharray:64 260;opacity:.58;filter:blur(4px) drop-shadow(0 0 13px var(--edge-glow-shadow));animation:1.25s linear infinite energy-flow}.energy-edge-flow{stroke-width:4.2px;stroke-linecap:round;stroke-dasharray:64 260;filter:blur(.15px) drop-shadow(0 0 9px var(--edge-flow-shadow));animation:1.25s linear infinite energy-flow}@keyframes energy-flow{to{stroke-dashoffset:-324px}}@keyframes menu-scale-enter{0%{opacity:0;transform:scale(.88)}72%{opacity:1;transform:scale(1.008)}to{opacity:1;transform:scale(1)}}.react-flow__edge.selected .react-flow__edge-path{stroke:var(--accent)}.react-flow__edge-interaction{stroke-width:22px;cursor:pointer}.floating-toolbox{z-index:92;border:1px solid var(--line-strong);background:var(--panel);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);transform-origin:0 0;border-radius:14px;gap:8px;width:242px;max-height:min(560px,100% - 24px);padding:12px;animation:.3s cubic-bezier(.22,1.08,.32,1) both menu-scale-enter;display:grid;position:absolute;overflow:auto;box-shadow:0 22px 70px #0000006b}.floating-toolbox.connection-mode{border-color:#25b7ff8c;box-shadow:0 22px 70px #0000006b,0 0 0 1px #25b7ff24}.floating-toolbox>button,.floating-toolbox .template-stack button{justify-content:flex-start;min-height:36px;font-size:12px}.floating-toolbox h3{color:var(--text);align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.toolbox-empty-note{border:1px solid var(--line);color:var(--muted);border-radius:8px;margin:0;padding:7px 8px;font-size:10px;line-height:1.45}.toolbox-divider{background:var(--line);height:1px;margin:2px 0}.hidden-file-input{display:none}.asset-library-shell{z-index:44;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:visible!important}.asset-library-header{z-index:2;flex-direction:column;justify-content:start;align-items:stretch;gap:10px;min-height:68px;padding-bottom:10px;position:relative}.asset-library-title-row{justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.asset-library-heading{align-items:center;gap:14px;min-width:0;display:flex}.asset-library-heading h3{white-space:nowrap}.asset-library-title-icon{color:#ffffffdb;background:#ffffff14;border-radius:8px;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.asset-library-actions{flex:none;position:relative}.asset-library-action-button{background:#ffffff1f;border-radius:8px;width:32px;height:32px;min-height:32px;padding:0}.asset-library-action-menu{z-index:8;background:#2a2a2afa;border:1px solid #ffffff1f;border-radius:12px;gap:4px;width:200px;padding:12px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 18px 42px #00000057}.asset-library-action-menu button,.asset-library-action-menu label{color:#ffffffe0;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:10px;height:36px;min-height:36px;padding:0 10px;font-size:14px;font-weight:650;display:flex}.asset-library-action-menu button:hover,.asset-library-action-menu label:hover{background:#ffffff14}.asset-library-action-menu label.disabled{opacity:.48;cursor:not-allowed}.asset-library-action-menu input[type=file]{display:none}.asset-library-folder-form{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;margin:-2px 0 2px;display:grid}.asset-library-folder-form input{color:#ffffffdb;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:10px;min-width:0;height:31px;padding:0 10px;font-size:13px}.asset-library-folder-form button{border-radius:8px;height:28px;min-height:28px;padding:0 8px;font-size:12px}.asset-library-upload-status{color:#ffffff94;min-height:16px;margin:0;font-size:12px;line-height:16px}.asset-library-search{color:#ffffff75;background:#ffffff08;border:1px solid #ffffff1f;border-radius:999px;flex:none;align-items:center;gap:8px;width:100%;height:34px;padding:0 14px;display:flex}.asset-library-search input{color:#ffffffdb;background:0 0;border:0;width:100%;min-width:0;height:32px;padding:0;font-size:13px}.asset-library-body{flex-direction:column;gap:8px;min-height:0;padding:10px 12px 16px;display:flex;overflow:auto}.asset-library-favorite{color:#ffffffb8;background:0 0;border:0;border-radius:8px;justify-content:flex-start;gap:10px;width:100%;height:38px;min-height:38px;padding:0 10px;font-size:14px;font-weight:650}.asset-library-favorite svg{fill:#ffffffc7}.asset-library-divider{background:#ffffff17;height:1px;margin:2px 0 8px}.asset-library-categories{gap:4px;min-height:auto;padding:0;display:grid;overflow:visible}.asset-library-categories button{color:#ffffffbd;background:0 0;border:0;border-radius:9px;justify-content:flex-start;gap:10px;width:100%;height:41px;min-height:41px;padding:0 10px;font-size:14px;font-weight:650}.asset-library-categories button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.asset-library-categories button:hover,.asset-library-categories button.active{color:#fff;background:#ffffff14}.asset-library-grid{min-height:0;padding:8px 0 0;overflow:visible}.asset-library-masonry{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.asset-library-column{flex-direction:column;gap:12px;min-width:0;display:flex}.asset-library-empty{color:#ffffff85;grid-column:1/-1;margin:0;font-size:12px}.asset-card{cursor:grab;text-align:left;border-radius:10px;width:100%;min-height:0;margin:0;padding:0 0 4px;display:block}.asset-card:active{cursor:grabbing}.library-drag-preview{z-index:90;pointer-events:none;background:#181818eb;border:1px solid #ffffff47;border-radius:12px;width:118px;max-height:160px;position:fixed;overflow:hidden;transform:translate(-50%,-50%)rotate(-2deg);box-shadow:0 18px 40px #00000061}.library-drag-preview img{width:100%;height:auto;display:block}.library-drag-preview span{color:#ffffffe0;padding:12px;font-size:12px;line-height:16px;display:block}.asset-card-image{border-radius:9px;display:block;overflow:hidden}.asset-card-image img{width:100%;height:auto;display:block}.asset-card strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:5px 4px 0;font-size:12px;line-height:16px;display:block;overflow:hidden}.asset-preview-popover{z-index:45;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#161616f7;border:1px solid #ffffff1f;border-radius:14px;flex-direction:column;gap:18px;width:clamp(420px,24vw,460px);min-height:654px;padding:20px 16px;display:flex;position:fixed;top:clamp(206px,23.15vh,250px);left:clamp(494px,27.3vw,536px);box-shadow:0 24px 70px #00000061}.asset-preview-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.asset-preview-title h3{text-overflow:ellipsis;white-space:nowrap;color:#f7f7f7;min-width:0;margin:0;font-size:21px;overflow:hidden}.asset-preview-title button{color:#ffffff8a;background:0 0;border:0;width:28px;height:28px;min-height:28px;padding:0;font-size:24px}.asset-preview-image{background:#ffffff0a;border-radius:13px;height:340px;overflow:hidden}.asset-preview-image img{object-fit:contain;cursor:zoom-in;width:100%;height:100%;display:block}.asset-preview-description{color:#ffffffb8;min-height:136px}.asset-preview-description strong{color:#ffffff6b;margin-bottom:10px;font-size:13px;display:block}.asset-preview-description p{color:#ffffffd1;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.45}.asset-preview-apply{color:#ffffffdb;background:#ffffff1a;border-radius:999px;align-self:flex-end;min-width:78px;height:30px;min-height:30px}.asset-folder-modal-backdrop{z-index:90;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0000007a;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.asset-folder-modal{background:#2a2a2afa;border:1px solid #ffffff1a;border-radius:14px;flex-direction:column;gap:16px;width:min(360px,100vw - 48px);min-height:430px;padding:18px 20px 16px;display:flex;box-shadow:0 28px 80px #00000075}.asset-folder-modal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.asset-folder-modal-header h3{color:#ffffffeb;align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.asset-folder-modal-header button{color:#ffffff94;background:0 0;border:0;gap:6px;height:30px;min-height:30px;padding:0 8px;font-size:13px}.asset-folder-modal-list{flex:1;align-content:start;gap:5px;min-height:0;display:grid;overflow:auto}.asset-folder-modal-list button{color:#ffffffc7;background:0 0;border:0;border-radius:9px;justify-content:flex-start;gap:10px;width:100%;height:42px;min-height:42px;padding:0 10px;font-size:14px;font-weight:650}.asset-folder-modal-list button:hover,.asset-folder-modal-list button.active{color:#fff;background:#ffffff1a}.asset-folder-modal-footer{justify-content:flex-end;gap:8px;display:flex}.asset-folder-modal-footer button,.asset-folder-modal-footer label{color:#ffffffd1;cursor:pointer;background:#ffffff1a;border:0;border-radius:9px;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0 13px;font-size:13px;font-weight:700;display:inline-flex}.asset-folder-modal-footer label.primary{color:#111827;background:#fff}.asset-folder-modal-footer label.disabled{opacity:.48;cursor:not-allowed}.asset-folder-modal-footer input[type=file]{display:none}.theme-light .asset-preview-popover{background:#fffffff5;border-color:#0f172a1f;box-shadow:0 24px 70px #0f172a29}.theme-light .asset-folder-modal{background:#fffffffa;border-color:#0f172a1f;box-shadow:0 28px 80px #0f172a33}.theme-light .asset-folder-modal-header h3{color:#111827}.theme-light .asset-folder-modal-header button{color:#0f172a94}.theme-light .asset-folder-modal-list button{color:#0f172ac7}.theme-light .asset-folder-modal-list button:hover,.theme-light .asset-folder-modal-list button.active{color:#111827;background:#0f172a14}.theme-light .asset-folder-modal-footer button{color:#0f172ab3;background:#0f172a14}.theme-light .asset-folder-modal-footer label.primary{color:#fff;background:#111827}.theme-light .asset-preview-title h3{color:#111827}.theme-light .asset-preview-title button{color:#0f172a9e}.theme-light .asset-library-search{color:#0f172a80;background:#0f172a09;border-color:#0f172a1f}.theme-light .asset-library-action-menu{background:#fffffffa;border-color:#0f172a1f;box-shadow:0 18px 42px #0f172a29}.theme-light .asset-library-action-menu button,.theme-light .asset-library-action-menu label{color:#0f172ad1}.theme-light .asset-library-action-menu button:hover,.theme-light .asset-library-action-menu label:hover{background:#0f172a0f}.theme-light .asset-library-folder-form input{color:#111827;background:#0f172a09;border-color:#0f172a1f}.theme-light .asset-library-upload-status{color:#0f172a94}.theme-light .asset-library-search input{color:#111827}.theme-light .asset-library-favorite,.theme-light .asset-library-categories button,.theme-light .asset-card{color:#0f172ac7}.theme-light .asset-library-favorite svg{fill:#0f172aa3}.theme-light .asset-library-divider{background:#0f172a17}.theme-light .asset-library-favorite:hover,.theme-light .asset-library-categories button:hover,.theme-light .asset-library-categories button.active,.theme-light .asset-card:hover,.theme-light .asset-card.active{color:#111827;background:#0f172a0f}.theme-light .asset-card-image,.theme-light .asset-preview-image{background:#0f172a0a;border-color:#0f172a14}.theme-light .asset-library-empty,.theme-light .asset-preview-description,.theme-light .asset-preview-description p{color:#0f172ab3}.theme-light .asset-preview-description strong{color:#0f172a7a}.theme-light .asset-preview-apply{color:#0f172adb;background:#0f172a0f}.asset-detail-modal{z-index:105;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000000b8;place-items:center;padding:44px 70px;display:grid;position:fixed;inset:0}.asset-detail-frame{background:#171717f7;border:1px solid #ffffff1f;border-radius:22px;grid-template-columns:minmax(560px,1fr) minmax(360px,540px);gap:clamp(44px,4.2vw,80px);width:min(88vw,1680px);height:min(84vh,960px);min-height:620px;padding:clamp(52px,6.1vh,66px) clamp(56px,4.45vw,86px) clamp(44px,5.56vh,60px);display:grid;position:relative;box-shadow:0 32px 90px #00000085}.asset-detail-close{color:#ffffff94;background:0 0;border:0;width:34px;height:34px;min-height:34px;padding:0;font-size:30px;line-height:1;position:absolute;top:18px;right:20px}.asset-detail-media{background:#ffffff0a;border-radius:18px;align-self:stretch;place-items:center;min-width:0;min-height:0;display:grid;overflow:hidden}.asset-detail-media img{object-fit:contain;border-radius:18px;max-width:100%;max-height:100%;display:block}.asset-detail-side{grid-template-rows:auto minmax(0,1fr) auto;gap:28px;min-width:0;min-height:0;display:grid}.asset-detail-side h2{color:#f8f8f8;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:26px;line-height:1.2;overflow:hidden}.asset-detail-description{color:#fffc;background:#ffffff0d;border-radius:12px;min-height:0;padding:28px 32px;overflow:auto}.asset-detail-description strong{color:#ffffff75;margin-bottom:18px;font-size:14px;display:block}.asset-detail-description p{color:#ffffffdb;white-space:pre-wrap;margin:0;font-size:15px;line-height:1.45}.asset-detail-apply{color:#ffffffe6;background:#ffffff14;border-radius:14px;width:100%;height:50px;min-height:50px;font-size:15px}.danger{color:var(--danger)}.danger.subtle{background:0 0}.template-stack{align-content:start;gap:7px;display:grid}.template-stack button{align-content:center;justify-items:start;gap:3px;min-height:42px;display:grid}.template-stack button strong{font-size:12px;line-height:1.2}.template-stack button span{color:var(--muted);font-size:10px}.project-manager{gap:12px}.project-action-stack,.auto-project-list{gap:7px;display:grid}.project-action-stack button,.auto-project-row{align-content:center;justify-items:start;gap:3px;min-height:42px;display:grid}.project-action-stack button strong,.auto-project-row strong{font-size:12px;line-height:1.2}.project-action-stack button span,.auto-project-row span{color:var(--muted);font-size:10px}.asset-row,.history-row{border-bottom:1px solid var(--line);color:var(--muted);grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-width:0;max-width:100%;padding:8px 0;font-size:11px;display:grid}.asset-row:last-child,.history-row:last-child{border-bottom:0}.asset-row img,.history-row img,.history-row video,.history-empty{object-fit:cover;border:1px solid var(--line);background:var(--panel-soft);border-radius:10px;width:48px;height:48px}.history-thumb{background:0 0;border:0;width:48px;height:48px;min-height:48px;padding:0;overflow:hidden}.history-thumb img,.history-thumb video{display:block}.history-missing-thumb{color:var(--muted);place-items:center;font-size:11px;display:grid}.history-empty{place-items:center;display:grid;position:relative}.history-empty .asset-preview-reload{background:var(--panel);width:20px;height:20px;position:absolute;bottom:2px;right:2px}.asset-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-row-meta{align-items:center;gap:7px;min-width:0;max-width:100%;margin-bottom:3px;display:flex}.history-row-meta strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:11px;overflow:hidden}.history-row-content{min-width:0;max-width:100%;overflow:hidden}.history-row-actions{flex:none;align-items:center;gap:3px;display:inline-flex}.history-row-actions button{width:20px;height:20px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.history-row-actions button:hover{background:var(--hover);color:var(--text)}.history-row-meta em{color:#ffffff94;background:#ffffff17;border-radius:999px;flex:none;padding:2px 5px;font-size:9px;font-style:normal;font-weight:800;line-height:1.1}.theme-light .history-row-meta em{color:#0f172a8a;background:#0f172a12}.history-row-meta .history-user-badge{background:color-mix(in srgb, var(--history-user-color) 22%, transparent);color:color-mix(in srgb, var(--history-user-color) 86%, white)}.theme-light .history-row-meta .history-user-badge{background:color-mix(in srgb, var(--history-user-color) 30%, transparent);color:color-mix(in srgb, var(--history-user-color) 74%, black)}.history-row-content>span{-webkit-line-clamp:2;overflow-wrap:anywhere;color:var(--muted);-webkit-box-orient:vertical;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.history-row.error .history-row-content>span{color:var(--danger)}.history-row.running .history-row-meta strong{color:#ffffffe0}.theme-light .history-row.running .history-row-meta strong{color:#0f172adb}.history-running-thumb{color:#ffffffb3;place-items:center;display:grid}.theme-light .history-running-thumb{color:#0f172a9e}.library-row{text-align:left;border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) 48px;justify-content:stretch;align-items:center;gap:10px;min-height:58px;padding:7px 0;display:grid}.library-row:last-child{border-bottom:0}.library-group{gap:7px;display:grid}.library-thumb{border-radius:10px;width:48px;height:48px;min-height:48px;padding:0;overflow:hidden}.library-thumb img{object-fit:cover;background:var(--panel-soft);width:48px;height:48px;display:block}.library-row span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-use{width:48px;height:30px;min-height:30px;padding:0;font-size:11px}.image-context-menu{width:138px}.image-context-menu button{font-size:13px}.image-context-menu button.danger{color:#ff8484eb}.admin-context-menu{z-index:240;background:#121212f5;border:1px solid #ffffff24;border-radius:10px;gap:4px;width:132px;padding:6px;display:grid;position:fixed;box-shadow:0 18px 50px #0000005c}.admin-context-menu button{width:100%;min-height:34px;color:var(--text);background:0 0;border:0;justify-content:flex-start;gap:8px;font-size:13px}.admin-context-menu button:hover:not(:disabled){background:#ffffff14}.admin-context-menu button.danger{color:#ff8484eb}.auth-page{color:#f4f4f5;background:#050505;place-items:center;min-height:100vh;display:grid}.auth-panel{background:#161616f5;border:1px solid #ffffff1f;border-radius:16px;gap:28px;width:420px;padding:28px;display:grid;box-shadow:0 24px 70px #00000061}.auth-brand,.admin-title{align-items:center;gap:12px;display:flex}.auth-brand-mark{color:#7dd3fc;background:#ffffff0f;border:1px solid #ffffff24;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.auth-brand img{object-fit:contain;width:auto;max-width:calc(100% - 54px);height:38px;display:block}.admin-title strong{color:#fff;font-size:18px;line-height:1.1;display:block}.admin-title span{color:#ffffff8a;margin-top:4px;font-size:12px;display:block}.auth-form{gap:14px;display:grid}.auth-heading{gap:8px;display:grid}.auth-heading h1{color:#fff;margin:0;font-size:24px}.auth-heading p,.auth-message{color:#ffffff9e;margin:0;font-size:13px;line-height:1.45}.danger-text{color:#fb7185}.auth-submit{width:100%;min-height:42px;margin-top:4px}.auth-switch{color:#7dd3fc;background:0 0;border:0;width:100%;min-height:36px}.auth-switch:hover{background:#7dd3fc14}.admin-shell{color:#f4f4f5;background:#050505;grid-template-rows:72px minmax(0,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.admin-topbar{background:#101010f5;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:18px;padding:0 24px;display:flex}.admin-title svg{color:#7dd3fc}.admin-actions,.admin-tabs{align-items:center;gap:8px;display:flex}.admin-layout{grid-template-columns:188px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.admin-tabs{background:#101010d1;border-right:1px solid #ffffff1a;flex-direction:column;align-items:stretch;min-height:0;padding:18px 14px;overflow-y:auto}.admin-tabs button{border-radius:10px;justify-content:flex-start;height:42px}.admin-tabs button.active{color:#dff7ff;background:#0ea5e924;border-color:#7dd3fc61}.admin-content{min-height:0;padding:22px 52px 22px 22px;overflow:auto}.admin-message,.admin-empty{color:#ffffffa8;margin:0 0 14px;font-size:13px}.admin-section{gap:18px;display:grid}.admin-section select{color:#9ca3af}.admin-section select option{color:#6b7280;background:#111827}.admin-department-manager{background:#0ea5e90b;border:1px solid #7dd3fc33;border-radius:12px;gap:12px;padding:16px;display:grid}.admin-department-manager>header{justify-content:space-between;align-items:end;gap:18px;display:flex}.admin-department-manager>header>div{gap:5px;display:grid}.admin-department-manager>header strong{color:#f4f4f5;align-items:center;gap:7px;font-size:15px;display:flex}.admin-department-manager>header span,.admin-department-list article>span,.admin-department-empty{color:#ffffff85;font-size:12px}.admin-department-manager>header form{grid-template-columns:minmax(180px,260px) auto;gap:8px;display:grid}.admin-department-list{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:8px;display:grid}.admin-department-list article{background:#ffffff09;border:1px solid #ffffff17;border-radius:10px;grid-template-columns:minmax(140px,1fr) minmax(90px,auto) auto 38px;align-items:center;gap:8px;padding:9px;display:grid}.admin-department-list button.danger{color:#fb7185;padding:0}.admin-department-empty{grid-column:1/-1;padding:12px 2px 2px}.admin-upload,.admin-user-create,.admin-group-create,.admin-model-create{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:minmax(220px,1.1fr) minmax(180px,.7fr) minmax(280px,1.4fr) auto;align-items:end;gap:12px;padding:16px;display:grid}.admin-group-create{grid-template-columns:minmax(220px,360px) auto;justify-content:start}.admin-user-create{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px}.admin-model-create{grid-template-columns:minmax(150px,.9fr) 110px 168px minmax(220px,1.2fr) minmax(180px,1fr) auto}.admin-upload-description textarea{height:42px;min-height:42px}.admin-asset-list,.admin-user-list,.admin-model-list{gap:10px;display:grid}.admin-user-list{gap:8px}.admin-asset-row,.admin-user-row,.admin-model-row{background:#ffffff09;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:14px;padding:14px;display:grid}.admin-asset-row{grid-template-columns:92px minmax(0,1fr) 108px}.admin-asset-row img{object-fit:cover;background:#ffffff0f;border-radius:10px;width:92px;height:92px}.admin-asset-main,.admin-user-row>div{gap:6px;min-width:0;display:grid}.admin-asset-main strong,.admin-user-row strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;overflow:hidden}.admin-asset-main span,.admin-user-row span{color:#ffffff80;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.admin-asset-fields{grid-template-columns:minmax(150px,.65fr) minmax(150px,.65fr) minmax(260px,1.4fr);gap:10px;display:grid}.admin-asset-fields textarea{height:38px;min-height:38px}.admin-row-actions{gap:8px;display:grid}.admin-row-actions button.danger{color:#fecaca}.admin-row-actions button.danger:hover:not(:disabled){background:#ef44441a;border-color:#f8717157}.admin-user-row{border-radius:8px;grid-template-columns:minmax(105px,.75fr) 100px 90px 100px minmax(116px,.8fr) 112px;gap:10px;padding:11px;container:admin-user-row/inline-size}.admin-user-edit-row{grid-template-columns:minmax(0,1fr);align-items:end;gap:10px;min-width:0;display:grid}.admin-user-edit-row>label,.admin-user-edit-row>label>input,.admin-user-edit-row>label>select{min-width:0}.admin-user-edit-row>.admin-user-save{width:100%}.admin-user-create>.admin-user-identity,.admin-user-row>.admin-user-identity{grid-column:1/-1;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.admin-user-basic-fields{grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:10px;display:grid}.admin-user-permission-fields{grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);align-items:stretch;gap:24px;display:grid}.admin-user-permission-fields-create{grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr) auto;align-items:end}.admin-user-permission-fields-create>fieldset{align-self:stretch}.admin-user-permission-fields-create>.primary-button{min-width:112px}.admin-user-edit-row>.admin-user-summary{grid-template-columns:minmax(0,max-content) auto;align-items:center;gap:6px 8px;min-width:0;display:grid}.admin-user-edit-row>.admin-user-summary>span{grid-column:1/-1}.admin-user-edit-row>.admin-user-summary>strong{max-width:100%}.admin-user-edit-row>.admin-user-summary>em{color:#fbbf24;background:#f59e0b17;border:1px solid #fbbf243d;border-radius:999px;width:max-content;padding:2px 6px;font-size:11px;font-style:normal}@container admin-user-row (width>=900px){.admin-user-edit-row{grid-template-columns:minmax(180px,1fr) minmax(90px,.65fr) 82px 78px 90px minmax(110px,.7fr) 112px}.admin-user-edit-row>.admin-user-save{width:auto}}@container admin-user-row (width>=1120px){.admin-user-edit-row{grid-template-columns:minmax(260px,1fr) 116px 116px 108px 128px minmax(155px,.75fr) 112px;align-items:center}.admin-user-edit-row>label{grid-template-columns:max-content minmax(0,1fr);align-items:center}.admin-user-edit-row>.admin-user-summary{gap:8px;display:flex}.admin-user-edit-row>.admin-user-summary>span{flex:auto;grid-column:auto}.admin-user-edit-row>.admin-user-summary>strong{flex:none;max-width:45%}.admin-user-edit-row>.admin-user-summary>em{flex:none}}.admin-user-save:not(:disabled){color:#a7f3d0;background:#10b9811f;border-color:#34d39952}.admin-feature-departments{color:#ffffffad;border:1px solid #8b5cf647;border-radius:10px;flex-wrap:wrap;grid-column:1/-1;gap:8px 16px;min-width:0;margin:0;padding:10px 12px;display:flex}.admin-user-permission-fields>.admin-feature-departments{grid-column:auto}.admin-feature-role-options{color:#ffffffad;border:1px solid #38bdf847;border-radius:10px;flex-wrap:wrap;align-content:center;gap:8px 16px;min-width:0;margin:0;padding:10px 12px;display:flex}.admin-feature-role-options legend{color:#7dd3fc;padding:0 6px;font-size:12px}.admin-feature-role-options label{color:#ffffffd1;flex-direction:row;align-items:center;gap:6px;font-size:12px;display:inline-flex}.admin-feature-role-options input{width:14px;height:14px;margin:0}.admin-feature-departments legend{color:#c4b5fd;padding:0 6px;font-size:12px}.admin-feature-departments label{color:#ffffffd1;flex-direction:row;align-items:center;gap:6px;font-size:12px;display:inline-flex}.admin-feature-departments input{width:14px;height:14px;margin:0}.admin-feature-departments small{color:#ffffff75}.admin-user-api-keys{border-top:1px solid #ffffff12;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;min-width:0;padding-top:9px;display:grid}.admin-user-api-key-row{grid-template-columns:minmax(0,1fr) 34px;align-items:end;gap:6px;min-width:0;display:grid}.admin-user-api-key-row label{min-width:0}.admin-user-api-key-row label span{text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px;display:block;overflow:hidden}.admin-user-api-key-row button{white-space:nowrap;place-items:center;width:34px;min-width:0;padding:0;display:grid}.admin-user-api-key-row button.danger{color:#fb7185}.admin-user-api-key-row button.pending-clear{color:#fbbf24;background:#f59e0b1a;border-color:#fbbf2447}@media (max-width:1279px){.admin-user-create,.admin-user-row{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-user-basic-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-user-permission-fields{grid-template-columns:minmax(0,1.25fr) minmax(240px,1fr);gap:16px}.admin-user-permission-fields-create{grid-template-columns:minmax(0,1.25fr) minmax(240px,1fr) auto}.admin-user-row>div{grid-column:span 2}.admin-feature-departments,.admin-user-api-keys{grid-column:1/-1}.admin-user-api-keys{grid-template-columns:repeat(2,minmax(0,1fr))}}.model-management-section{grid-template-rows:auto minmax(0,1fr);gap:18px;min-width:0;height:100%;min-height:0}.model-management-tabs{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;flex-wrap:wrap;justify-self:start;gap:4px;padding:4px;display:inline-flex}.model-management-tabs button{color:#ffffff94;background:0 0;border-color:#0000;border-radius:6px;min-width:108px;min-height:34px}.model-management-tabs button.active{color:#fff;background:#ffffff1a;border-color:#ffffff24}.model-management-section input:not([type=checkbox]),.model-management-section select{background:#101216;border-radius:8px;min-height:38px}.model-management-section input:not([type=checkbox]){border:0;outline:0}.model-management-section select{border:1px solid #fff3;font-size:12px}.model-management-section select:hover{border-color:#ffffff4d}.model-management-section select:focus{border-color:#38bdf8bf;box-shadow:0 0 0 2px #38bdf81f}.model-management-section input:not([type=checkbox]):hover,.model-management-section input:not([type=checkbox]):focus{box-shadow:none;background:#15181d;border:0;outline:0}.model-library-workspace,.relay-library-workspace{grid-template-columns:220px minmax(0,1fr);align-items:stretch;gap:14px;min-width:0;height:100%;min-height:0;display:grid}.relay-library-workspace{grid-template-columns:252px minmax(0,1fr)}.model-selector-pane{background:#ffffff08;border:1px solid #ffffff1a;border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;height:100%;padding:12px;display:grid;position:sticky;top:0;overflow:hidden}.model-selector-create{gap:9px;display:grid}.model-selector-create>strong{color:#fff;font-size:14px}.model-selector-create>div{grid-template-columns:minmax(0,1fr) 38px;align-items:end;gap:7px;display:grid}.model-selector-create>div>.primary-icon-button{width:38px;min-width:38px;height:38px;padding:0}.model-selector-list{align-content:start;gap:6px;min-height:0;display:grid;overflow-y:auto}.model-selector-item{background:#ffffff06;border:1px solid #0000;border-radius:7px;grid-template-columns:minmax(0,1fr) 32px 32px;align-items:center;gap:5px;min-width:0;padding:5px;display:grid}.model-selector-item:hover{background:#ffffff0e}.model-selector-item.active{background:#38bdf81a;border-color:#38bdf875}.model-selector-main{text-align:left;background:0 0;border:0;justify-items:start;gap:4px;min-width:0;padding:7px 8px;display:grid}.model-selector-main strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;overflow:hidden}.model-selector-main span{color:#ffffff7a;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;overflow:hidden}.model-selector-main em{color:#7dd3fcbd;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;font-style:normal;overflow:hidden}.model-selector-create-button{width:100%;min-height:38px}.model-selector-edit,.model-selector-delete{opacity:.72;width:32px;min-width:32px;height:32px;padding:0}.model-selector-edit{color:#7dd3fceb}.model-selector-delete{color:#ff8484e0}.model-selector-item:hover .model-selector-edit,.model-selector-item.active .model-selector-edit,.model-selector-item:hover .model-selector-delete,.model-selector-item.active .model-selector-delete{opacity:1}.selected-model-pane,.relay-library-pane{align-content:start;gap:12px;min-width:0;display:grid}.selected-model-editor{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:minmax(140px,.7fr) minmax(180px,1fr) 96px 82px max-content;align-items:end;gap:8px;min-width:0;padding:12px;display:grid}.selected-model-editor>div{align-self:center;gap:5px;min-width:0;display:grid}.selected-model-editor>div strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.selected-model-editor>div span{color:#ffffff75;font-size:11px}.selected-model-editor>button{min-height:38px}.selected-model-editor.chat{grid-template-columns:minmax(140px,.7fr) minmax(160px,1fr) 88px 108px 118px 104px 140px 104px 76px max-content;overflow-x:auto}.model-memory-toggle>span{background:#101216;border-radius:6px;align-items:center;gap:7px;min-height:38px;padding:0 9px;display:flex}.model-memory-toggle input{width:15px;height:15px;min-height:15px;margin:0}.model-relay-summary{background:#ffffff06;border:1px solid #ffffff1a;border-radius:8px;gap:0;min-width:0;padding:12px;display:grid}.model-relay-summary>header,.relay-linked-capabilities>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.model-relay-summary>header{padding-bottom:10px}.model-relay-summary>header>div,.relay-linked-capabilities>header>div:first-child{gap:3px;min-width:0;display:grid}.model-relay-summary>header strong,.relay-linked-capabilities>header strong{color:#fff;font-size:13px}.model-relay-summary>header span,.relay-linked-capabilities>header span{color:#ffffff75;font-size:10px}.model-relay-summary-list{display:grid}.model-relay-summary-row{border-top:1px solid #ffffff12;grid-template-columns:minmax(130px,.9fr) minmax(120px,.8fr) minmax(220px,1.6fr) 58px 58px 84px;align-items:center;gap:9px;min-width:0;min-height:58px;padding:9px 0;display:grid}.model-relay-summary-row>div{gap:4px;min-width:0;display:grid}.model-relay-summary-row>div>span{color:#ffffff6b;font-size:10px}.model-relay-summary-row>div>strong{color:#ffffffc7;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.45;overflow:hidden}.model-relay-summary-row>button{white-space:nowrap;min-height:32px;padding:5px 8px}.model-effective-capabilities{background:#0e749012;border:1px solid #38bdf838;border-radius:8px;gap:0;min-width:0;padding:0;display:grid;overflow:hidden}.model-effective-capabilities>header{display:block}.model-effective-capabilities-toggle{width:100%;min-height:56px;color:inherit;text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.model-effective-capabilities-toggle:hover{background:#38bdf80b;border-color:#0000}.model-effective-capabilities-toggle>div{flex:auto;gap:3px;min-width:0;display:grid}.model-effective-capabilities-toggle strong{color:#e0f2fe;font-size:13px}.model-effective-capabilities-toggle span{color:#ffffff80;font-size:10px}.model-effective-capabilities-toggle>b{color:#7dd3fc;background:#0e74901f;border:1px solid #38bdf83d;border-radius:999px;flex:none;padding:5px 8px;font-size:10px}.model-effective-capabilities-toggle>svg{color:#7dd3fcad;flex:none;transition:transform .16s}.model-effective-capabilities.expanded .model-effective-capabilities-toggle>svg{transform:rotate(180deg)}.model-effective-capabilities-content{gap:10px;padding:0 12px 12px;display:grid}.model-capability-coverage-list{gap:6px;display:grid}.model-capability-coverage-list article{background:#ffffff06;border:1px solid #ffffff12;border-radius:6px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:8px 10px;display:grid}.model-capability-coverage-list article strong{color:#fff;font-size:12px}.model-capability-coverage-list article span{color:#ffffff9e;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.5;overflow:hidden}.model-effective-capabilities-content>footer{color:#ffffff7a;flex-wrap:wrap;gap:6px 16px;font-size:10px;display:flex}.model-relay-summary>header>.model-relay-summary-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.model-relay-summary-actions>button{white-space:nowrap}.model-direct-mapping-list,.builtin-provider-credential-list{gap:8px;min-width:0;display:grid}.model-direct-mapping-row{background:#ffffff06;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:10px;min-width:0;padding:10px;display:grid}.model-direct-mapping-row.pending{background:#2563eb14;border-color:#3b82f659}.model-direct-mapping-row.dirty{background:#2563eb0f;border-color:#3b82f67a}.model-direct-mapping-fields{grid-template-columns:minmax(150px,.85fr) minmax(210px,1.25fr) 82px 94px;align-items:end;gap:8px;min-width:0;display:grid}.model-direct-mapping-fields.video{grid-template-columns:minmax(118px,.62fr) minmax(160px,.88fr) minmax(190px,1.25fr) 78px 88px}.model-direct-mapping-fields.video.fixed-access-type{grid-template-columns:minmax(170px,.9fr) minmax(220px,1.35fr) 82px 94px}.model-direct-mapping-fields>label{color:#ffffff7a;gap:4px;min-width:0;font-size:10px;display:grid}.model-direct-mapping-fields input,.model-direct-mapping-fields select{width:100%;min-width:0;height:34px}.model-direct-mapping-meta{color:#ffffff7a;white-space:nowrap;align-self:center;gap:4px;min-width:88px;font-size:10px;display:grid}.model-direct-mapping-statuses{justify-content:center;align-self:end;align-items:center;min-width:18px;min-height:34px;padding-bottom:1px;display:flex}.model-mapping-status{border-radius:999px;flex:0 0 9px;width:9px;height:9px}.model-mapping-status.healthy{background:#4ade80;box-shadow:0 0 0 3px #22c55e1a}.model-mapping-status.error{background:#f87171;box-shadow:0 0 0 3px #ef44441a}.model-direct-mapping-row>.admin-capability-actions{align-self:end;padding-bottom:1px}.model-direct-mapping-row>.admin-capability-actions button{width:34px;min-width:34px;height:34px;padding:0}.model-custom-mapping-notice{color:#fde68a;background:#78350f1f;border:1px solid #fbbf2433;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;padding:8px 10px;font-size:10px;display:flex}.model-custom-mapping-notice button{white-space:nowrap;min-height:30px}.model-video-routing-note{color:#ffffff94;background:#0e749012;border:1px solid #38bdf82e;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:9px;padding:8px 10px;font-size:10px;line-height:1.5;display:flex}.model-video-routing-note>span:first-child{color:#e0f2fec2;flex:100%}.model-video-routing-note>span:not(:first-child){color:#fbbf24}.model-video-routing-note>span.ready{color:#86efac}.model-video-routing-note.conflict{background:#7f1d1d21;border-color:#f8717152}.model-video-routing-note.conflict>span:first-child{color:#fecaca}.builtin-provider-credentials{align-content:start;gap:12px;min-width:0;display:grid}.builtin-provider-credentials>header{border-bottom:1px solid #ffffff14;padding:2px 0 10px}.builtin-provider-credentials>header>div{gap:4px;display:grid}.builtin-provider-credentials>header strong{color:#fff;font-size:14px}.builtin-provider-credentials>header span{color:#ffffff80;font-size:11px}.builtin-provider-credential-list article{background:#ffffff06;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr) auto;align-items:center;gap:16px;min-width:0;padding:14px;display:grid}.builtin-provider-credential-list article>div{gap:4px;min-width:0;display:grid}.builtin-provider-credential-list article>div:nth-child(2){color:#ffffff80;flex-wrap:wrap;gap:6px 14px;font-size:11px;display:flex}.builtin-provider-credential-list article strong{color:#fff;font-size:13px}.builtin-provider-credential-list article>div:first-child span{color:#ffffff7a;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.builtin-provider-credential-list article>button{white-space:nowrap}.relay-selector-pane{background:#ffffff08;border:1px solid #ffffff1a;border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;height:100%;padding:12px;display:grid;position:sticky;top:0;overflow:hidden}.relay-selector-create{gap:9px;display:grid}.relay-selector-create>strong{color:#fff;font-size:14px}.relay-selector-create>.primary-button{width:100%;min-height:38px}.relay-selector-create .admin-relay-key-field{grid-template-columns:minmax(0,1fr) 38px}.relay-selector-list{align-content:start;gap:6px;min-height:0;display:grid;overflow-y:auto}.relay-selector-item{background:#ffffff06;border:1px solid #0000;border-radius:7px;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:5px;min-width:0;padding:5px;display:grid}.relay-selector-item:hover{background:#ffffff0e}.relay-selector-item.active{background:#38bdf81a;border-color:#38bdf875}.relay-selector-main{text-align:left;background:0 0;border:0;justify-content:stretch;justify-items:start;gap:4px;width:100%;min-width:0;padding:7px 8px;display:grid}.relay-selector-main strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.relay-selector-main span{color:#ffffff75;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;overflow:hidden}.relay-selector-delete{color:#ff8484e0;width:32px;min-width:32px;height:32px;padding:0}.admin-confirm-backdrop{z-index:260;background:#000000b3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-confirm-dialog{color:#f4f4f5;background:#171717;border:1px solid #ffffff24;border-radius:8px;width:440px;display:grid;overflow:hidden;box-shadow:0 24px 70px #00000085}.admin-confirm-dialog>header,.admin-confirm-dialog>footer{align-items:center;gap:11px;padding:14px 16px;display:flex}.admin-confirm-dialog>header{border-bottom:1px solid #ffffff17}.admin-confirm-dialog>header>div{gap:3px;min-width:0;display:grid}.admin-confirm-dialog>header strong{color:#fff;font-size:14px}.admin-confirm-dialog>header span:last-child{color:#ffffff80;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.admin-confirm-icon{color:#fca5a5;background:#ef44441a;border:1px solid #f8717147;border-radius:7px;flex:none;place-items:center;width:34px;height:34px;display:grid}.admin-confirm-body{gap:9px;padding:16px;display:grid}.admin-confirm-body p{color:#ffffffb3;margin:0;font-size:12px;line-height:1.6}.admin-confirm-body .admin-confirm-warning{color:#fca5a5}.admin-confirm-body .admin-confirm-error{color:#fecaca;background:#7f1d1d38;border:1px solid #f8717140;border-radius:6px;padding:9px 10px}.admin-confirm-dialog>footer{border-top:1px solid #ffffff17;justify-content:flex-end}.admin-confirm-dialog>footer button{min-width:88px;min-height:36px}.admin-confirm-dialog>footer button.danger{color:#fff;background:#b91c1c;border-color:#f8717157}.admin-confirm-dialog>footer button.danger:hover:not(:disabled){background:#dc2626}.admin-model-editor-dialog,.admin-relay-editor-dialog{width:min(520px,100vw - 32px)}.admin-model-editor-dialog{width:min(720px,100vw - 32px)}.admin-model-editor-dialog>header>div,.admin-relay-editor-dialog>header>div{flex:auto}.admin-model-editor-dialog .admin-confirm-icon,.admin-relay-editor-dialog .admin-confirm-icon{color:#93c5fd;background:#2563eb24;border-color:#3b82f652}.admin-model-editor-dialog-body,.admin-relay-editor-dialog-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;display:grid}.admin-model-editor-dialog-body{max-height:min(72vh,720px);overflow-y:auto}.admin-model-editor-dialog-body>label,.admin-relay-editor-dialog-body>label{color:#ffffffa8;gap:6px;min-width:0;font-size:12px;display:grid}.admin-model-editor-dialog-body>label:first-child,.admin-relay-editor-dialog-body>label:first-child,.admin-relay-editor-dialog-body>.admin-relay-editor-full-row,.admin-model-editor-dialog-body .admin-confirm-error,.admin-relay-editor-dialog-body .admin-confirm-error{grid-column:1/-1}.admin-model-editor-dialog-body input,.admin-model-editor-dialog-body select,.admin-relay-editor-dialog-body input,.admin-relay-editor-dialog-body select{color:#fff;background:#ffffff0a;border:1px solid #ffffff24;border-radius:6px;width:100%;min-width:0}.admin-model-editor-dialog-body .admin-confirm-error,.admin-relay-editor-dialog-body .admin-confirm-error{color:#fecaca;background:#7f1d1d38;border:1px solid #f8717140;border-radius:6px;margin:0;padding:9px 10px;font-size:12px}.admin-model-link-preview{background:#1e40af14;border:1px solid #60a5fa33;border-radius:8px;grid-column:1/-1;gap:7px;min-width:0;padding:11px 12px;display:grid}.admin-model-link-preview>strong{color:#dbeafe;font-size:12px}.admin-model-link-preview>span{color:#ffffffc2;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.admin-model-link-preview>span b{color:#fff;font-weight:650}.admin-model-link-preview>span i{color:#60a5fa;font-style:normal}.admin-model-link-preview>small{color:#ffffff80;font-size:11px;line-height:1.5}.admin-video-access-setup{background:#0e749013;border:1px solid #38bdf83d;border-radius:8px;grid-column:1/-1;gap:10px;min-width:0;padding:12px;display:grid}.admin-video-access-setup>header{gap:3px;display:grid}.admin-video-access-setup>header strong{color:#e0f2fe;font-size:12px}.admin-video-access-setup>header span{color:#ffffff80;font-size:10px}.admin-video-access-setup>p{color:#fbbf24;margin:0;font-size:10px;line-height:1.5}.capability-overview-settings{gap:9px;min-width:0;display:grid}.capability-overview-settings>strong{color:#ffffffd6;font-size:12px}.capability-protocol-card{background:#ffffff05;border:1px solid #ffffff14;border-radius:8px;gap:10px;min-width:0;padding:11px;display:grid}.capability-protocol-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.capability-protocol-heading>div{gap:3px;display:grid}.capability-protocol-heading strong{color:#ffffffd6;font-size:11px}.capability-protocol-heading span{color:#ffffff73;font-size:10px}.capability-endpoint-grid,.capability-preset-summary-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px;min-width:0;display:grid}.capability-preset-value{background:#ffffff05;border:1px solid #ffffff17;border-radius:6px;gap:5px;min-width:0;padding:9px 10px;display:grid}.capability-preset-value>span{color:var(--muted);font-size:10px}.capability-preset-value>strong{overflow-wrap:anywhere;color:#ffffffc2;font-size:11px;font-weight:500}.capability-readonly-constraints{grid-template-columns:minmax(0,1fr)}.relay-library-editor{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;gap:8px;min-width:0;padding:10px 12px;display:grid}.relay-library-editor-heading{align-items:center;min-width:0;min-height:24px;display:flex}.relay-library-editor-heading>.admin-relay-title{align-items:baseline;gap:8px;min-width:0;display:flex}.relay-library-editor-heading>.admin-relay-title strong,.relay-library-editor-heading>.admin-relay-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.relay-library-editor-fields{grid-template-columns:minmax(90px,.8fr) 90px minmax(130px,1.2fr) minmax(180px,1.45fr) 74px 108px;align-items:end;gap:8px;min-width:0;display:grid}.relay-library-editor-fields>*{min-width:0}.relay-library-editor-fields>.admin-relay-save-button{white-space:nowrap;min-height:38px;padding:0 10px}.relay-library-editor.local>.relay-library-editor-fields{grid-template-columns:minmax(140px,1fr) 100px 80px 108px}.relay-fixed-field,.relay-fixed-protocol{gap:6px;min-width:0;display:grid}.relay-fixed-field span,.relay-fixed-protocol span{color:var(--muted);font-size:11px}.relay-fixed-field strong,.relay-fixed-protocol strong{color:#ffffffb3;text-overflow:ellipsis;white-space:nowrap;background:#101216;border:1px solid #ffffff1f;border-radius:8px;min-width:0;min-height:38px;padding:11px 9px;font-size:11px;font-weight:500;overflow:hidden}.relay-linked-capabilities{border-top:1px solid #ffffff17;gap:6px;min-width:0;padding:8px 0;display:grid}.relay-copy-control{grid-template-columns:minmax(160px,1fr) max-content;gap:7px;min-width:300px;display:grid}.relay-copy-control button{white-space:nowrap;min-height:38px}.relay-mapping-toolbar{grid-template-columns:minmax(300px,1fr) max-content;gap:7px;min-width:470px;display:grid}.relay-mapping-toolbar>.primary-button{white-space:nowrap;min-height:38px;padding:0 12px}.relay-capability-list{gap:4px;min-width:0;display:grid;overflow-x:auto}.relay-capability-card{background:#ffffff06;border:1px solid #ffffff17;border-radius:8px;grid-template-columns:minmax(150px,.8fr) minmax(0,6fr) 66px;align-items:end;gap:6px;min-width:900px;padding:6px 8px;display:grid}.relay-capability-card.pending{border-color:#38bdf838}.relay-capability-card.degraded{border-color:#fbbf2457}.relay-capability-card.open{border-color:#f8717166}.relay-capability-card.speech{grid-template-columns:minmax(110px,.7fr) minmax(0,4.8fr) 62px;min-width:720px}.relay-capability-model-field,.relay-capability-action-field{gap:4px;min-width:0;display:grid}.relay-capability-model-field>span,.relay-capability-action-field>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.relay-capability-model-field>select{height:34px;min-height:34px}.relay-capability-action-field .admin-capability-actions{justify-content:flex-start;gap:4px;min-height:34px}.relay-capability-action-field .admin-capability-actions button{border-radius:6px;width:30px;min-width:30px;height:34px;padding:0}.relay-capability-fields{grid-template-columns:minmax(140px,1.1fr) minmax(140px,1.15fr) minmax(140px,1.15fr) minmax(90px,.65fr) 52px 66px 74px;align-items:end;gap:6px;min-width:0;display:grid}.relay-capability-fields.chat{grid-template-columns:minmax(180px,1.4fr) minmax(180px,1fr) 66px 74px}.relay-capability-fields.video{grid-template-columns:minmax(180px,1.25fr) minmax(190px,1.2fr) 66px 74px}.relay-capability-fields.speech{grid-template-columns:minmax(115px,.9fr) minmax(125px,1fr) minmax(170px,1.35fr) 46px 58px}.relay-capability-fields>*{min-width:0}.relay-capability-fields>label,.relay-capability-fields>.admin-capability-protocol-field,.relay-capability-fields>.relay-fixed-protocol{gap:4px}.relay-capability-fields input:not([type=checkbox]),.relay-capability-fields select,.relay-capability-fields .relay-fixed-protocol strong{height:34px;min-height:34px}.relay-capability-fields .relay-fixed-protocol strong{padding:9px 8px}.relay-capability-settings-field{gap:4px;min-width:0;display:grid}.relay-capability-settings-field>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.relay-capability-settings-field>button{width:100%;min-width:0;height:34px;padding:0}.capability-settings-dialog{width:min(980px,100vw - 48px);max-height:calc(100vh - 48px)}.capability-settings-dialog>header>div{flex:auto}.capability-settings-dialog .admin-confirm-icon{color:#7dd3fc;background:#0e749024;border-color:#38bdf84d}.capability-settings-close{width:34px;min-width:34px;height:34px;padding:0}.capability-settings-body{gap:18px;min-height:0;padding:16px;display:grid;overflow-y:auto}.capability-endpoint-settings,.capability-constraint-settings{gap:9px;min-width:0;display:grid}.capability-endpoint-settings>strong,.capability-constraint-settings>strong{color:#ffffffd6;font-size:12px}.capability-endpoint-row{border-top:1px solid #ffffff12;grid-template-columns:150px repeat(3,minmax(170px,1fr));align-items:end;gap:8px;min-width:0;padding:9px 0;display:grid}.capability-endpoint-row>div{align-self:center;gap:3px;min-width:0;display:grid}.capability-endpoint-row>div strong{color:#ffffffd1;font-size:12px}.capability-endpoint-row>div span{color:#ffffff75;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.capability-constraint-settings{grid-template-columns:repeat(4,minmax(130px,1fr)) 110px 110px;align-items:start}.capability-constraint-settings>strong{grid-column:1/-1}.capability-constraint-settings fieldset{border:1px solid #ffffff17;border-radius:6px;flex-wrap:wrap;align-content:start;gap:6px 10px;min-width:0;min-height:70px;margin:0;padding:9px;display:flex}.capability-constraint-settings legend{color:var(--muted);padding:0 4px;font-size:11px}.capability-constraint-settings fieldset label{color:#ffffffb3;flex-direction:row;align-items:center;gap:5px;font-size:11px;display:flex}.capability-constraint-settings fieldset input{width:14px;height:14px;min-height:14px;margin:0}.capability-constraint-settings .capability-ratio-options{grid-column:span 2}.admin-model-definition-create{border-radius:12px;grid-template-columns:minmax(260px,1fr) 140px auto;min-height:88px;padding:16px}.admin-model-definition-list{gap:10px}.admin-model-definition-row{border-radius:12px;grid-template-columns:minmax(180px,220px) minmax(0,520px) minmax(126px,auto);justify-content:start;gap:10px;min-height:84px;padding:14px}.admin-model-title{align-content:center;gap:6px;min-width:0;display:grid}.admin-model-title strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.admin-model-title span{color:#ffffff80;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.admin-model-fields{grid-template-columns:minmax(160px,240px) 110px 110px;gap:8px;min-width:0;display:grid}.admin-model-definition-row>.admin-row-actions{align-items:end;gap:6px;display:flex}.admin-model-definition-row>.admin-row-actions .danger{color:#ff8484eb;width:38px;padding:0}.admin-channel-create{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:220px minmax(300px,420px) minmax(280px,360px) auto;align-items:end;gap:12px;padding:16px;display:grid}.admin-channel-create>.primary-button{justify-self:start;min-width:112px}.admin-channel-list{gap:12px;display:grid}.admin-relay-card{background:#ffffff09;border:1px solid #ffffff1a;border-radius:12px;gap:14px;min-width:0;padding:14px;display:grid}.admin-relay-settings{grid-template-columns:minmax(150px,.9fr) minmax(75px,.5fr) minmax(105px,.75fr) minmax(140px,1fr) 82px 116px;align-items:end;gap:8px;min-width:0;display:grid}.admin-relay-settings.local{grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) 140px 88px max-content}.admin-relay-title{align-self:center;gap:6px;min-width:0;display:grid}.admin-relay-title strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.admin-relay-title span{color:#ffffff80;font-size:11px}.admin-relay-actions,.admin-capability-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.admin-relay-actions button{white-space:nowrap;min-width:38px;min-height:38px;padding:0 10px}.admin-relay-save-button svg{color:#7dd3fc}.admin-relay-delete-button{color:#ff8484eb}.admin-relay-key-field{grid-template-columns:minmax(0,1fr) 38px 38px;gap:6px;min-width:0;display:grid}.admin-channel-create .admin-relay-key-field{grid-template-columns:minmax(0,1fr) 38px}.relay-create-error{color:#ff9c9c;margin:0;font-size:12px;line-height:1.45}.admin-relay-key-field button{border-radius:8px;width:38px;min-width:38px;height:38px;padding:0}.admin-relay-key-field button.danger{color:#ff8484eb}.admin-relay-key-field input::placeholder{color:#ffffff80;letter-spacing:0;opacity:1}.admin-relay-local-call{align-content:end;gap:6px;display:grid}.admin-relay-local-call span{color:#ffffff85;font-size:11px}.admin-relay-local-call strong{color:#ffffffb8;border:1px solid #fff3;border-radius:8px;min-height:38px;padding:10px;font-size:12px}.admin-capability-matrix{border-top:1px solid #ffffff14;gap:0;min-width:0;padding-top:12px;display:grid}.admin-capability-heading{align-items:baseline;gap:8px;min-height:28px;display:flex}.admin-capability-heading strong{color:#ffffffb8;font-size:12px;font-weight:500}.admin-capability-heading span{color:#fff6;font-size:10px}.admin-capability-row{border-top:1px solid #ffffff0f;grid-template-columns:minmax(150px,.8fr) minmax(210px,1.05fr) minmax(180px,.9fr) minmax(180px,.9fr) 110px 76px 84px 70px;align-items:end;gap:8px;min-width:0;padding:10px 0;display:grid}.admin-capability-create-row{border-top:0}.admin-capability-row>*{min-width:0}.admin-capability-create-row>.primary-icon-button{grid-column:8}.admin-capability-empty{color:#ffffff73;margin:0;padding:10px 0;font-size:12px}.admin-capability-protocol-field{gap:6px;min-width:0;display:grid}.admin-capability-protocol-field>span{color:var(--muted);font-size:11px}.admin-capability-protocol-control{grid-template-columns:15px minmax(0,1fr);align-items:center;gap:7px;min-width:0;display:grid}.admin-capability-protocol-control input{width:15px;height:15px;min-height:15px;margin:0}.admin-capability-protocol-control select{min-width:0}.admin-capability-actions{min-height:38px}.admin-capability-actions button,.admin-capability-create-row>.primary-icon-button{border-radius:8px;width:34px;min-width:34px;height:38px;padding:0}.admin-model-channels{border-top:1px solid #ffffff14;grid-column:1/-1;gap:8px;padding-top:12px;display:grid}.admin-model-channel{background:#00000029;border:1px solid #ffffff1a;border-radius:8px;gap:10px;padding:12px;display:grid}.admin-model-channel.degraded{border-color:#fbbf245c}.admin-model-channel.open{border-color:#f871716b}.admin-model-channel>header,.model-usage-detail>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-model-channel>header strong{color:#f4f4f5;font-size:13px}.admin-model-channel>header span{color:#ffffff80;font-size:11px}.admin-model-channel-fields{grid-template-columns:minmax(130px,.75fr) minmax(120px,.7fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(120px,.65fr) minmax(220px,1.35fr) minmax(160px,1fr) 82px 92px minmax(220px,1.25fr);align-items:end;gap:8px;display:grid}.admin-channel-protocols{border:1px solid #ffffff1a;border-radius:6px;min-width:0;margin:0;padding:7px 8px 8px}.admin-model-channel-fields>.admin-channel-protocols{grid-column:span 2}.admin-channel-protocols legend{color:#ffffff85;padding:0 4px;font-size:11px}.admin-channel-protocol-row{grid-template-columns:72px minmax(0,1fr) max-content;align-items:center;gap:7px;display:grid}.admin-channel-protocol-row+.admin-channel-protocol-row{margin-top:6px}.admin-channel-protocol-row label{flex-direction:row;align-items:center;gap:5px;display:flex}.admin-channel-protocol-row label input{width:14px;height:14px;margin:0}.admin-channel-protocol-row select{min-width:0}.admin-protocol-label{color:#ffffffd1;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;line-height:32px;overflow:hidden}.admin-protocol-label.disabled{color:#ffffff52}.admin-protocol-health{white-space:nowrap;font-size:10px}.admin-protocol-health.healthy{color:#86efac}.admin-protocol-health.degraded{color:#fcd34d}.admin-protocol-health.open{color:#fca5a5}.admin-model-channel-actions{justify-content:flex-end;gap:8px;display:flex}.admin-model-channel-actions .danger{color:#fecaca}.model-usage-section{position:relative}.model-usage-filters{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:repeat(5,minmax(150px,1fr)) max-content;align-items:end;gap:10px;padding:14px;display:grid}.model-usage-summary{grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;display:grid}.model-usage-summary span{color:#ffffff80;background:#ffffff06;border:1px solid #ffffff14;border-radius:8px;gap:5px;padding:12px;font-size:11px;display:grid}.model-usage-summary strong{color:#f4f4f5;font-size:18px}.model-usage-table-wrap,.model-usage-base-url-wrap{overflow-x:auto}.model-usage-base-url-table{border-collapse:collapse;color:#ffffffb8;width:100%;min-width:860px;font-size:12px}.model-usage-base-url-table th,.model-usage-base-url-table td{text-align:left;border-bottom:1px solid #ffffff14;padding:9px}.model-usage-base-url-table th{color:#ffffff7a;font-weight:500}.model-usage-base-url-table td:first-child{overflow-wrap:anywhere;max-width:420px}.model-usage-table{border-collapse:collapse;color:#ffffffc2;width:100%;min-width:1020px;font-size:12px}.model-usage-table th,.model-usage-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #ffffff14;padding:10px 9px}.model-usage-table th{color:#ffffff7a;font-weight:500}.model-usage-table tbody .model-usage-record-row{cursor:pointer}.model-usage-table tbody .model-usage-record-row:hover{background:#38bdf80f}.model-usage-table tbody .model-usage-detail-row{cursor:default}.model-usage-table tbody .model-usage-detail-row:hover{background:0 0}.model-usage-table td.model-usage-detail-cell{white-space:normal;padding:0 9px 10px}.usage-status{font-weight:600}.usage-status.success{color:#86efac}.usage-status.failed{color:#fca5a5}.usage-status.unknown{color:#fcd34d}.usage-status.running{color:#7dd3fc}.model-usage-pagination{justify-content:center;align-items:center;gap:10px;display:flex}.model-usage-detail{background:#08101ce6;border:1px solid #38bdf847;border-radius:8px;gap:12px;padding:14px;display:grid}.model-usage-detail>header>div{gap:4px;display:grid}.model-usage-detail>header strong{color:#f4f4f5;font-size:14px}.model-usage-detail>header span{color:#ffffff7a;font-size:11px}.model-attempt-list{gap:8px;display:grid}.model-attempt-list article{border:1px solid #ffffff14;border-radius:6px;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) minmax(220px,1.2fr) minmax(150px,.7fr);gap:8px;padding:10px;display:grid}.model-attempt-list article strong{color:#e4e4e7;font-size:12px}.model-attempt-list article span{color:#ffffff8a;font-size:11px}.model-attempt-list article .model-attempt-token-usage{color:#7dd3fccc;white-space:normal;grid-column:1/-1}.model-attempt-list article p{color:#fca5a5;white-space:pre-wrap;grid-column:1/-1;margin:0;font-size:11px}@media (max-width:1400px){.admin-model-channel-fields{grid-template-columns:repeat(4,minmax(140px,1fr))}}@media (max-width:900px){.admin-model-channel-fields,.model-usage-filters,.model-usage-summary,.model-direct-mapping-fields,.model-direct-mapping-fields.video,.model-direct-mapping-fields.video.fixed-access-type{grid-template-columns:repeat(2,minmax(0,1fr))}.model-attempt-list article{grid-template-columns:minmax(0,1fr)}.model-attempt-list article p{grid-column:1}}.admin-model-checkbox{align-items:center;gap:8px;min-height:58px;padding-top:20px;flex-direction:row!important;display:flex!important}.admin-model-checkbox input{height:16px;margin:0;width:16px!important}.admin-standalone-chat-stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.admin-standalone-chat-stats article{background:#ffffff09;border:1px solid #ffffff1a;border-radius:7px;align-content:center;gap:8px;min-height:92px;padding:14px 16px;display:grid}.admin-standalone-chat-stats span{color:#ffffff85;font-size:11px}.admin-standalone-chat-stats strong{color:#fff;font-size:22px;font-weight:650}.dreamina-admin-heading,.dreamina-usage-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.dreamina-account-create{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:minmax(240px,420px) max-content;align-items:end;gap:12px;padding:14px;display:grid}.dreamina-admin-heading>div{gap:5px;min-width:0;display:grid}.dreamina-admin-heading>.cli-runtime-control{grid-template-columns:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.cli-runtime-control button{flex:none}.dreamina-admin-heading strong,.dreamina-usage-heading strong{color:#fff;font-size:15px}.dreamina-admin-heading>div>span,.dreamina-usage-heading>span{color:#ffffff85;font-size:12px}.dreamina-cli-status{color:#ffffffa8;text-overflow:ellipsis;white-space:nowrap;border:1px solid #ffffff1f;border-radius:6px;max-width:min(420px,50vw);padding:5px 8px;font-size:12px;overflow:hidden}.dreamina-cli-status.online{color:#a7f3d0;background:#10b9811a;border-color:#34d39952}.dreamina-cli-status.offline{color:#fecaca;background:#ef444414;border-color:#f871714d}.dreamina-account-list,.dreamina-usage-list{gap:10px;display:grid}.dreamina-account-row,.dreamina-usage-section{background:#ffffff09;border:1px solid #ffffff1a;border-radius:8px;gap:14px;padding:14px;display:grid}.dreamina-account-main{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.dreamina-account-name-field{gap:6px;min-width:min(360px,100%);display:grid}.dreamina-account-refresh-field{color:#ffffff94;gap:6px;min-width:min(230px,100%);font-size:12px;display:grid}.dreamina-account-refresh-field input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;cursor:pointer;width:min(230px,100%)}.dreamina-account-refresh-field input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.82}.dreamina-account-name-field input{width:min(340px,100%)}.dreamina-account-main strong{color:#fff;font-size:14px}.dreamina-account-main span,.dreamina-account-state{color:#ffffff94;font-size:12px}.dreamina-account-state{border:1px solid #ffffff1a;border-radius:6px;flex:none;padding:5px 8px}.dreamina-account-state.enabled{color:#a7f3d0;border-color:#34d39940}.dreamina-account-state.disabled{color:#fecaca;border-color:#f8717140}.dreamina-account-metrics{grid-template-columns:repeat(4,minmax(150px,1fr));gap:8px;display:grid}.dreamina-account-metrics>span{color:#ffffff8f;text-overflow:ellipsis;white-space:nowrap;border:1px solid #ffffff14;border-radius:6px;min-width:0;padding:9px 10px;font-size:12px;overflow:hidden}.dreamina-account-metrics svg{vertical-align:-3px;margin-right:4px}.dreamina-account-metrics strong{color:#fff}.dreamina-account-metrics .account-refresh-status.soon{color:#fbbf24}.dreamina-account-metrics .account-refresh-status.error{color:#fca5a5}.dreamina-account-metrics .account-refresh-status.unset{color:#ffffff7a}.dreamina-account-error{color:#fecaca;margin:0;font-size:12px}.dreamina-login-pending{color:#ffffffb8;background:#0ea5e914;border:1px solid #7dd3fc33;border-radius:6px;align-items:center;gap:10px;padding:10px;font-size:12px;display:flex}.dreamina-login-pending a,.dreamina-login-pending button,.dreamina-account-actions button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.dreamina-login-pending a{color:#bae6fd;text-decoration:none}.kling-login-pending{grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;display:grid}.kling-login-pending input{width:100%;min-width:0}.kling-login-pending>span,.kling-login-link-row{grid-column:1/-1}.kling-login-link-row{grid-template-columns:minmax(0,1fr) max-content;gap:8px;display:grid}.kling-login-link-row input{color:#ffffffad;font-family:Consolas,Courier New,monospace}.kling-callback-input{font-family:Consolas,Courier New,monospace}.kling-account-models{color:#ffffff8f;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.dreamina-account-actions{grid-template-columns:repeat(5,max-content);justify-content:end}.dreamina-usage-list{max-height:min(50vh,520px);overflow-y:auto}.dreamina-usage-row{color:#ffffff8c;border-bottom:1px solid #ffffff12;grid-template-columns:minmax(138px,.9fr) minmax(120px,.8fr) minmax(130px,1fr) minmax(130px,1fr) 56px repeat(3,minmax(76px,.6fr));align-items:center;gap:10px;min-width:840px;padding:10px;font-size:12px;display:grid}.dreamina-usage-row:last-child{border-bottom:0}.dreamina-usage-row strong{color:#ffffffdb;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (max-width:980px){.admin-department-manager>header{flex-direction:column;align-items:stretch}.admin-department-manager>header form{grid-template-columns:minmax(0,1fr) auto}.admin-user-create,.admin-user-row{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-create>.admin-user-identity,.admin-user-row>.admin-user-identity{grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:10px}.admin-user-basic-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-user-permission-fields,.admin-user-permission-fields-create{grid-template-columns:minmax(0,1fr);gap:10px}.admin-user-permission-fields-create>.primary-button{width:100%}.admin-user-row>div,.admin-feature-departments,.admin-user-api-keys{grid-column:1/-1}.admin-user-api-keys{grid-template-columns:minmax(0,1fr)}.dreamina-account-metrics{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (max-width:640px){body:has(.admin-shell){min-width:0;min-height:0}.admin-shell{grid-template-rows:auto minmax(0,1fr)}.admin-topbar{flex-wrap:wrap;padding:12px 14px}.admin-actions{width:100%;overflow-x:auto}.admin-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.admin-tabs{border-bottom:1px solid #ffffff1a;border-right:0;flex-direction:row;padding:8px 10px;overflow:auto hidden}.admin-tabs button{flex:none}.admin-content{min-width:0;padding:14px}.model-library-workspace{grid-template-columns:minmax(0,1fr);height:auto}.model-selector-pane{max-height:320px;position:static}.model-relay-summary>header{flex-direction:column;align-items:stretch}.model-relay-summary>header>.model-relay-summary-actions{flex-wrap:wrap;justify-content:flex-start}.model-direct-mapping-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.model-direct-mapping-fields,.model-direct-mapping-fields.video,.model-direct-mapping-fields.video.fixed-access-type,.admin-model-editor-dialog-body{grid-template-columns:minmax(0,1fr)}.model-direct-mapping-statuses{justify-content:flex-start}.admin-model-editor-dialog-body>label,.admin-video-access-setup,.admin-model-link-preview{grid-column:1}.admin-department-manager>header form,.admin-department-list,.admin-user-create,.admin-user-row,.admin-user-basic-fields{grid-template-columns:minmax(0,1fr)}.admin-department-list article{grid-template-columns:minmax(0,1fr) auto 38px}.admin-department-list article>input{grid-column:1/-1}.admin-user-row>div,.admin-feature-departments,.admin-user-api-keys{grid-column:1}.dreamina-admin-heading,.dreamina-account-main,.dreamina-account-create,.dreamina-login-pending{flex-direction:column;align-items:flex-start}.kling-login-pending input{width:100%;min-width:0}.kling-login-pending,.kling-login-link-row{grid-template-columns:minmax(0,1fr)}.kling-login-pending button{width:100%}.dreamina-account-create{grid-template-columns:minmax(0,1fr)}.dreamina-cli-status{text-overflow:clip;white-space:normal;max-width:100%;overflow:visible}.dreamina-admin-heading>.cli-runtime-control{flex-direction:column;align-items:stretch;width:100%}.cli-runtime-control button{width:100%}.dreamina-account-metrics{grid-template-columns:minmax(0,1fr)}.dreamina-account-actions{grid-template-columns:minmax(0,1fr);justify-content:stretch}}.lightbox{z-index:100;background:#000000c7;place-items:center;padding:34px;display:grid;position:fixed;inset:0}.lightbox-frame{border:1px solid var(--line);background:#09090bf0;border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(92vw,1280px);height:92vh;padding:12px;display:grid;box-shadow:0 24px 80px #00000075}.viewer-topbar,.viewer-controls{align-items:center;gap:10px;display:flex}.viewer-topbar{justify-content:space-between}.viewer-topbar strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.viewer-stage{border:1px solid var(--line);cursor:grab;-webkit-user-select:none;user-select:none;background:#050505;border-radius:12px;min-height:0;position:relative;overflow:hidden}.viewer-stage.dragging{cursor:grabbing}.viewer-stage img{transform-origin:50%;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:auto;background:#09090b;border-radius:10px;max-width:none;max-height:none;transition:none;position:absolute;top:50%;left:50%}.viewer-stage img.viewer-image-pending{opacity:0;visibility:hidden;transition:none}.viewer-stage img.viewer-image-ready{opacity:1;visibility:visible}.viewer-stage.dragging img{transition:none}.viewer-stage.video-viewer-stage{cursor:default;place-items:center;display:grid}.lightbox-frame.video-viewer{width:min(92vw,1180px);height:min(88vh,820px)}.viewer-video{object-fit:contain;background:#050505;width:auto;max-width:none;height:auto;max-height:none;display:block}.viewer-video-pending{visibility:hidden}.viewer-video-ready{visibility:visible}.viewer-controls{color:var(--muted);justify-content:center;font-size:12px}.viewer-controls span{text-align:center;min-width:70px}.video-viewer-controls{justify-content:space-between}.video-viewer-controls>span{text-align:left}.video-download-button{justify-content:center;align-items:center;gap:7px;min-width:118px;display:inline-flex}@media (max-width:720px){.lightbox{padding:12px}.lightbox-frame,.lightbox-frame.video-viewer{width:calc(100vw - 24px);height:calc(100dvh - 24px)}.viewer-controls{flex-wrap:wrap}}.image-editor-backdrop{z-index:220;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#000000a3;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.image-editor-shell{background:#101010f5;border:1px solid #ffffff24;border-radius:24px;grid-template-rows:auto minmax(0,1fr);width:min(94vw,1480px);height:min(90vh,940px);min-height:620px;display:grid;overflow:hidden;box-shadow:0 30px 100px #00000094}.theme-light .image-editor-shell{background:#f7f7f5f5}.image-editor-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:16px;height:72px;padding:0 22px 0 28px;display:flex}.theme-light .image-editor-header{border-bottom-color:#00000014}.image-editor-header div{gap:4px;min-width:0;display:grid}.image-editor-header span{color:var(--muted);font-size:12px;font-weight:700}.image-editor-header strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.image-editor-icon-button{border-radius:999px;width:42px;height:42px;min-height:42px;padding:0}.image-editor-main{grid-template-columns:minmax(0,1fr) 288px;gap:18px;min-height:0;padding:18px;display:grid}.image-editor-stage{cursor:grab;background:#202020;border:1px solid #ffffff1c;border-radius:18px;min-width:0;min-height:0;position:relative;overflow:hidden}.image-editor-stage.panning,.image-editor-stage.panning canvas{cursor:grabbing!important}.theme-light .image-editor-stage{background:#d2d2cf;border-color:#0000001a}.image-editor-stage canvas{transform-origin:50%;touch-action:none;-webkit-user-select:none;user-select:none;background-color:#111;background-image:linear-gradient(45deg,#ffffff29 25%,#0000 25% 75%,#ffffff29 75%),linear-gradient(45deg,#ffffff29 25%,#0000 25% 75%,#ffffff29 75%),none;background-position:0 0,10px 10px;background-repeat:repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-radius:0;outline:1px solid #ffffff7a;position:absolute;top:50%;left:50%;box-shadow:0 0 0 1px #000000b8,0 20px 70px #00000057}.theme-light .image-editor-stage canvas{background-color:#f5f5f2;background-image:linear-gradient(45deg,#00000014 25%,#0000 25% 75%,#00000014 75%),linear-gradient(45deg,#00000014 25%,#0000 25% 75%,#00000014 75%),none;background-position:0 0,10px 10px;background-repeat:repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;outline-color:#0000006b;box-shadow:0 0 0 1px #ffffffbd,0 20px 70px #0000002e}.image-editor-stage canvas.crop-mode{cursor:crosshair}.image-editor-stage canvas.text-mode{cursor:text}.image-editor-text-layer-plane{z-index:2;pointer-events:none;position:absolute;overflow:hidden}.image-editor-text-layer{color:#fff;min-width:24px;min-height:1.2em;font-family:var(--font-sans);text-shadow:0 0 2px var(--text-layer-shadow), 0 1px 3px var(--text-layer-shadow);white-space:pre;-webkit-user-select:none;user-select:none;cursor:default;border:1px solid #0000;padding:4px 8px;font-weight:700;line-height:1.24;position:absolute}.image-editor-text-layer.selected{background:#1f6fff14;border-color:#fffffff0;box-shadow:0 0 0 1px #1f6fffb8}.image-editor-text-layer.editing{cursor:text}.image-editor-text-layer-content{cursor:text;display:block}.image-editor-text-layer-input{resize:both;color:inherit;font:inherit;line-height:inherit;text-shadow:inherit;white-space:pre;background:#0000002e;border:0;outline:0;padding:2px 4px;display:block}.image-editor-text-move-handle{cursor:move;background:#111;border:2px solid #fffffff5;border-radius:999px;width:18px;height:18px;min-height:18px;padding:0;position:absolute;top:-9px;left:-9px;box-shadow:0 0 0 2px #0000007a}.image-editor-text-move-handle:before{content:"";background:#ffffffb8;border-radius:999px;position:absolute;inset:5px}.image-editor-text-scale-handle{cursor:nwse-resize;background:#111;border:2px solid #fffffff5;border-radius:999px;width:16px;height:16px;min-height:16px;padding:0;position:absolute;bottom:-8px;right:-8px;box-shadow:0 0 0 2px #0000007a}.image-editor-crop-box{z-index:3;cursor:move;background:#ffffff0d;border:2px solid #fffffff2;min-width:14px;min-height:14px;position:absolute;box-shadow:0 0 0 9999px #0000006b,0 0 0 1px #0000009e}.image-editor-crop-box.active{box-shadow:0 0 0 9999px #00000075,0 0 0 1px #000000b8,0 0 36px #fff3}.image-editor-crop-grid{pointer-events:none;background:linear-gradient(90deg,#0000 33.333%,#ffffff6b 33.333% calc(33.333% + 1px),#0000 calc(33.333% + 1px) 66.666%,#ffffff6b 66.666% calc(66.666% + 1px),#0000 calc(66.666% + 1px)),linear-gradient(#0000 33.333%,#ffffff6b 33.333% calc(33.333% + 1px),#0000 calc(33.333% + 1px) 66.666%,#ffffff6b 66.666% calc(66.666% + 1px),#0000 calc(66.666% + 1px));position:absolute;inset:0}.image-editor-crop-handle{background:#111;border:2px solid #fffffff5;border-radius:999px;width:16px;height:16px;min-height:16px;padding:0;position:absolute;box-shadow:0 0 0 2px #0000007a}.image-editor-crop-handle.nw,.image-editor-crop-handle.ne,.image-editor-crop-handle.se,.image-editor-crop-handle.sw{width:18px;height:18px;min-height:18px}.image-editor-crop-handle.n{cursor:ns-resize;top:-9px;left:50%;transform:translate(-50%)}.image-editor-crop-handle.s{cursor:ns-resize;bottom:-9px;left:50%;transform:translate(-50%)}.image-editor-crop-handle.e{cursor:ew-resize;top:50%;right:-9px;transform:translateY(-50%)}.image-editor-crop-handle.w{cursor:ew-resize;top:50%;left:-9px;transform:translateY(-50%)}.image-editor-crop-handle.nw{cursor:nwse-resize;top:-10px;left:-10px}.image-editor-crop-handle.ne{cursor:nesw-resize;top:-10px;right:-10px}.image-editor-crop-handle.se{cursor:nwse-resize;bottom:-10px;right:-10px}.image-editor-crop-handle.sw{cursor:nesw-resize;bottom:-10px;left:-10px}.image-editor-state{color:#ffffffc2;text-align:center;background:#0000009e;place-items:center;padding:24px;font-size:14px;display:grid;position:absolute;inset:0}.image-editor-size{color:#ffffffb3;background:#0000008a;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;position:absolute;bottom:18px;left:18px}.image-editor-toolbar{background:#ffffff0b;border:1px solid #ffffff1c;border-radius:18px;align-content:start;gap:16px;min-width:0;padding:16px;display:grid;overflow-y:auto}.theme-light .image-editor-toolbar{background:#00000009;border-color:#00000014}.image-editor-toolbar section{gap:10px;display:grid}.image-editor-section-title,.image-editor-slider-label strong{color:var(--muted);font-size:12px;font-weight:800}.image-editor-tool-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.image-editor-tool-grid button,.image-editor-action-grid button{min-height:44px;padding:0 12px}.image-editor-crop-actions p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.image-editor-aspect-control{gap:7px;display:grid}.image-editor-aspect-control>span{color:var(--muted);font-size:12px;font-weight:800}.image-editor-aspect-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.image-editor-crop-actions .image-editor-aspect-grid button{justify-content:center;min-height:32px;padding:0 8px;font-size:12px}.image-editor-crop-actions button{min-height:42px;padding:0 12px}.image-editor-text-actions p{color:var(--muted);margin:0;font-size:12px;font-weight:800}.image-editor-color-row{background:#ffffff0e;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:10px;min-height:40px;padding:6px 10px;display:flex}.image-editor-color-row input{background:0 0;border:0;border-radius:999px;width:32px;height:32px;padding:0;overflow:hidden}.image-editor-color-row span{color:var(--text);font-size:13px;font-weight:800}.image-editor-swatches{grid-template-columns:repeat(8,1fr);gap:6px;display:grid}.image-editor-swatches button{border:2px solid #ffffff24;border-radius:999px;width:100%;min-height:28px;padding:0}.image-editor-swatches button.active{border-color:#ffffffdb;box-shadow:0 0 0 3px #ffffff1f}.image-editor-slider-label{justify-content:space-between;align-items:center;display:flex}.image-editor-toolbar input[type=range]{width:100%}.image-editor-action-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.image-editor-toolbar footer{gap:10px;margin-top:4px;display:grid}.image-editor-toolbar footer button{border-radius:14px;min-height:46px;font-size:14px;font-weight:900}.image-editor-toolbar button:disabled{cursor:not-allowed;opacity:.46}@media (max-width:900px){.image-editor-main{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:1fr}.image-editor-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}.precise-cmf-mask-backdrop{z-index:1300;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#04080ec7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.precise-cmf-mask-shell{background:#111820;border:1px solid #ffffff1f;border-radius:18px;grid-template-rows:auto minmax(0,1fr);width:min(1320px,96vw);max-height:94vh;display:grid;overflow:hidden;box-shadow:0 28px 90px #00000085}.theme-light .precise-cmf-mask-shell{background:#f7f9fc;border-color:#0f172a1f}.precise-cmf-mask-shell>header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:0 18px 0 22px;display:flex}.theme-light .precise-cmf-mask-shell>header{border-bottom-color:#0f172a14}.precise-cmf-mask-shell>header>div{gap:4px;display:grid}.precise-cmf-mask-shell>header strong{color:#fffffff0;font-size:16px}.precise-cmf-mask-shell>header span{color:var(--muted);font-size:12px}.theme-light .precise-cmf-mask-shell>header strong{color:#0f172af0}.precise-cmf-mask-shell>header button{width:38px;height:38px;color:var(--muted);cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;place-items:center;display:grid}.precise-cmf-mask-main{grid-template-columns:minmax(0,1fr) 300px;min-height:0;display:grid}.precise-cmf-mask-stage{background-color:#0a0f14;background-image:linear-gradient(45deg,#ffffff09 25%,#0000 25%),linear-gradient(-45deg,#ffffff09 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ffffff09 75%),linear-gradient(-45deg,#0000 75%,#ffffff09 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;place-items:center;min-width:0;min-height:560px;padding:24px;display:grid;position:relative;overflow:auto}.precise-cmf-mask-stage canvas{touch-action:none;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:calc(94vh - 118px);display:block;box-shadow:0 14px 48px #00000061}.precise-cmf-mask-stage canvas.brush{cursor:crosshair}.precise-cmf-mask-stage canvas.eraser{cursor:cell}.precise-cmf-mask-loading{color:#ffffffc2;background:#080c12b3;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}.precise-cmf-mask-tools{background:#ffffff06;border-left:1px solid #ffffff14;align-content:start;gap:18px;min-height:0;padding:20px;display:grid;overflow:auto}.theme-light .precise-cmf-mask-tools{background:#0f172a05;border-left-color:#0f172a14}.precise-cmf-mask-tool-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.precise-cmf-mask-tools button{color:#ffffffd6;min-height:40px;font:inherit;cursor:pointer;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:12px;display:inline-flex}.theme-light .precise-cmf-mask-tools button{color:#0f172ad6;background:#0f172a0a;border-color:#0f172a1f}.precise-cmf-mask-tools button.active,.precise-cmf-mask-tools button.primary{color:var(--accent);background:#25b7ff26;border-color:#25b7ff5c}.precise-cmf-mask-tools button:disabled{cursor:not-allowed;opacity:.45}.precise-cmf-mask-tools label{color:var(--muted);gap:10px;font-size:12px;display:grid}.precise-cmf-mask-tools label span{justify-content:space-between;gap:12px;display:flex}.precise-cmf-mask-tools label strong{color:#ffffffd6}.theme-light .precise-cmf-mask-tools label strong{color:#0f172ad6}.precise-cmf-mask-tools input[type=range]{width:100%}.precise-cmf-mask-tools p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.precise-cmf-mask-clear{color:#ffbc65!important}.precise-cmf-mask-error{color:#ff9f9f;background:#ff666614;border:1px solid #ff666647;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.45}.precise-cmf-mask-tools footer{grid-template-columns:1fr 1.4fr;gap:8px;margin-top:4px;display:grid}@media (max-width:900px){.precise-cmf-mask-backdrop{padding:10px}.precise-cmf-mask-main{grid-template-columns:1fr;overflow:auto}.precise-cmf-mask-stage{min-height:420px}.precise-cmf-mask-tools{border-top:1px solid #ffffff14;border-left:0}}.react-flow__handle.node-handle{color:#f4f4f5eb;opacity:1;pointer-events:auto;z-index:20;background:0 0;border:0;border-radius:0;width:16px;height:44px;overflow:visible}.theme-light .react-flow__handle.node-handle{color:#111827e6}.node-handle-plus{border:1px solid var(--line-strong);width:36px;height:36px;color:inherit;opacity:0;pointer-events:none;background:0 0;border-radius:999px;transition:opacity .18s,transform .18s,border-color .18s,background .18s,box-shadow .18s;position:absolute;top:50%;left:50%;box-shadow:0 10px 24px #00000042}.theme-light .node-handle-plus{border-color:#0f172a57}.workflow-node:hover .react-flow__handle.node-handle:not(.magnet-active) .node-handle-plus,.react-flow__node:hover .react-flow__handle.node-handle:not(.magnet-active) .node-handle-plus,.react-flow__node.selected .react-flow__handle.node-handle:not(.magnet-active) .node-handle-plus,.handle-magnet-zone.left:hover~.react-flow__handle.node-handle.left:not(.magnet-active) .node-handle-plus,.handle-magnet-zone.right:hover~.react-flow__handle.node-handle.right:not(.magnet-active) .node-handle-plus{opacity:.6;pointer-events:auto}.handle-magnet-zone{z-index:3;pointer-events:auto;background:0 0;width:42px;position:absolute;top:25%;bottom:25%}.handle-magnet-zone.left{left:-42px}.handle-magnet-zone.right{right:-42px}.workflow-node.image-input .handle-magnet-zone,.workflow-node.audio-input .handle-magnet-zone{top:var(--image-input-preview-top,44px);height:var(--image-input-preview-height,265px);bottom:auto}.workflow-node.audio-input .handle-magnet-zone{top:var(--audio-input-preview-top,44px);height:var(--audio-input-preview-height,132px)}.workflow-node.image-input .handle-magnet-zone.right,.workflow-node.audio-input .handle-magnet-zone.right{right:calc(var(--image-input-preview-inset,12px) - 42px)}.workflow-node.audio-input .handle-magnet-zone.right{right:calc(var(--audio-input-preview-inset,12px) - 42px)}.workflow-node.generate-image .handle-magnet-zone,.workflow-node.generate-video .handle-magnet-zone{top:var(--generate-preview-top,44px);height:var(--generate-preview-height,236px);bottom:auto}.workflow-node.generate-image .handle-magnet-zone.left,.workflow-node.generate-video .handle-magnet-zone.left{left:calc(var(--generate-preview-inset,0px) - 42px)}.workflow-node.generate-image .handle-magnet-zone.right,.workflow-node.generate-video .handle-magnet-zone.right{right:calc(var(--generate-preview-inset,0px) - 42px)}.react-flow__handle.node-handle.left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle.node-handle.right{top:50%;right:0;transform:translate(50%,-50%)}.workflow-node.generate-image .react-flow__handle.node-handle.left,.workflow-node.generate-video .react-flow__handle.node-handle.left{left:var(--generate-preview-inset,0px);top:var(--generate-preview-center-y,50%)}.workflow-node.generate-image .react-flow__handle.node-handle.right,.workflow-node.generate-video .react-flow__handle.node-handle.right{right:var(--generate-preview-inset,0px);top:var(--generate-preview-center-y,50%)}.workflow-node.image-input .react-flow__handle.node-handle.right,.workflow-node.audio-input .react-flow__handle.node-handle.right{right:var(--image-input-preview-inset,12px);top:var(--image-input-preview-center-y,176.5px)}.workflow-node.audio-input .react-flow__handle.node-handle.right{right:var(--audio-input-preview-inset,12px);top:var(--audio-input-preview-center-y,110px)}.react-flow__handle.node-handle.left .node-handle-plus{transform:translate(-50%,-50%)translate(8px)scale(.9)}.react-flow__handle.node-handle.right .node-handle-plus{transform:translate(-50%,-50%)translate(-8px)scale(.9)}.workflow-node:hover .react-flow__handle.node-handle.left:not(.magnet-active) .node-handle-plus,.react-flow__node:hover .react-flow__handle.node-handle.left:not(.magnet-active) .node-handle-plus,.react-flow__node.selected .react-flow__handle.node-handle.left:not(.magnet-active) .node-handle-plus,.handle-magnet-zone.left:hover~.react-flow__handle.node-handle.left:not(.magnet-active) .node-handle-plus{transform:translate(-50%,-50%)translate(-30px)scale(1)}.workflow-node:hover .react-flow__handle.node-handle.right:not(.magnet-active) .node-handle-plus,.react-flow__node:hover .react-flow__handle.node-handle.right:not(.magnet-active) .node-handle-plus,.react-flow__node.selected .react-flow__handle.node-handle.right:not(.magnet-active) .node-handle-plus,.handle-magnet-zone.right:hover~.react-flow__handle.node-handle.right:not(.magnet-active) .node-handle-plus{transform:translate(-50%,-50%)translate(30px)scale(1)}.node-handle-plus:hover{opacity:1;color:var(--accent);background:0 0;border-color:#25b7ffb3;box-shadow:0 14px 30px #25b7ff33,0 10px 24px #00000042}.react-flow__handle.node-handle.left .node-handle-plus:hover{transform:translate(-50%,-50%)translate(-36px)scale(1.06)}.react-flow__handle.node-handle.right .node-handle-plus:hover{transform:translate(-50%,-50%)translate(36px)scale(1.06)}.react-flow__handle.node-handle.magnet-active .node-handle-plus{opacity:1;color:var(--accent);pointer-events:auto;border-color:#25b7ffc2;transition:opacity .14s,transform .4s cubic-bezier(.18,1.32,.22,1),border-color .14s,box-shadow .14s}.react-flow__handle.node-handle.magnet-canceling .node-handle-plus{opacity:.6;pointer-events:auto;transition:opacity 80ms,transform .1s cubic-bezier(.3,0,.35,1),border-color 80ms,box-shadow 80ms}.react-flow__handle.node-handle.left.magnet-active .node-handle-plus{transform:translate(-50%, -50%) translate(var(--handle-magnet-x,-30px), var(--handle-magnet-y,0px)) scale(1.08)}.react-flow__handle.node-handle.right.magnet-active .node-handle-plus{transform:translate(-50%, -50%) translate(var(--handle-magnet-x,30px), var(--handle-magnet-y,0px)) scale(1.08)}.react-flow__handle.node-handle.left.magnet-canceling .node-handle-plus{transform:translate(-50%,-50%)translate(-30px)scale(1)}.react-flow__handle.node-handle.right.magnet-canceling .node-handle-plus{transform:translate(-50%,-50%)translate(30px)scale(1)}.node-handle-plus:before,.node-handle-plus:after{content:"";background:currentColor;border-radius:999px;width:24px;height:4px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.node-handle-plus:after{width:4px;height:24px}.workflow-node.generate-image .react-flow__handle.node-handle .node-handle-plus:before,.workflow-node.generate-video .react-flow__handle.node-handle .node-handle-plus:before,.workflow-node.image-input .react-flow__handle.node-handle.right .node-handle-plus:before,.workflow-node.audio-input .react-flow__handle.node-handle.right .node-handle-plus:before,.workflow-node.text .react-flow__handle.node-handle .node-handle-plus:before,.workflow-node.prompt .react-flow__handle.node-handle .node-handle-plus:before,.workflow-node.text-note .react-flow__handle.node-handle .node-handle-plus:before{width:14px;height:2px}.workflow-node.generate-image .react-flow__handle.node-handle .node-handle-plus:after,.workflow-node.generate-video .react-flow__handle.node-handle .node-handle-plus:after,.workflow-node.image-input .react-flow__handle.node-handle.right .node-handle-plus:after,.workflow-node.audio-input .react-flow__handle.node-handle.right .node-handle-plus:after,.workflow-node.text .react-flow__handle.node-handle .node-handle-plus:after,.workflow-node.prompt .react-flow__handle.node-handle .node-handle-plus:after,.workflow-node.text-note .react-flow__handle.node-handle .node-handle-plus:after{width:2px;height:14px}.node-handle-target{z-index:3;pointer-events:auto;background:0 0;border:0;width:42px;height:56%;min-height:42px}.node-handle-target.left{left:-19px}.node-handle-target.right{right:-19px}.selection-action-bar{z-index:54;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#ffffffb8;background:#121212e6;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:10px;height:42px;padding:0 10px 0 16px;font-size:12px;font-weight:800;animation:.22s cubic-bezier(.22,1.08,.32,1) both selection-action-enter;display:inline-flex;position:absolute;top:18px;left:50%;transform:translate(-50%);box-shadow:0 18px 48px #0000005c}.selection-action-bar button{color:#17130f;background:#e3bd9e;border:0;border-radius:999px;min-height:30px;padding:0 14px;font-size:12px;font-weight:900}.selection-action-bar button:hover{filter:brightness(1.05)}.theme-light .selection-action-bar{color:#0f172aad;background:#ffffffeb;border-color:#0f172a24;box-shadow:0 18px 48px #0f172a24}@keyframes selection-action-enter{0%{opacity:0;transform:translate(-50%,-8px)scale(.96)}to{opacity:1;transform:translate(-50%)scale(1)}}.node-context-menu{width:132px}.node-context-menu button{min-height:34px;font-size:13px}.node-context-menu button.danger{color:#ff8484eb}.node-context-rename{gap:8px;display:grid}.node-context-rename input{border:1px solid var(--line-strong);background:var(--control);width:100%;min-height:34px;color:var(--text);border-radius:8px;outline:none;padding:0 10px}.node-context-rename-actions{grid-template-columns:1fr 1fr;gap:6px;display:grid}.node-context-rename-actions button{background:var(--panel-soft);justify-content:center}.workflow-node{border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1c1c1ce6;border-radius:12px;width:292px;transition:border-color .22s,border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .28s,background .22s;position:relative;overflow:visible;box-shadow:0 18px 38px #00000052}.workflow-node.team-locked{filter:saturate(.72);border-color:#94a3b859}.workflow-node.team-locked input,.workflow-node.team-locked textarea,.workflow-node.team-locked select,.workflow-node.team-locked button:not([data-image-asset-id]){pointer-events:none}.node-owner-label{z-index:4;text-overflow:ellipsis;white-space:nowrap;max-width:42%;color:var(--muted);font-size:10px;position:absolute;top:8px;right:10px;overflow:hidden}.theme-light .workflow-node{background:#ffffffeb;box-shadow:0 16px 34px #0f172a21}.react-flow__node:hover .workflow-node:not(.generate-image):not(.text):not(.transparent-text):not(.prompt):not(.text-note):not(.image-input){border-color:#ffffff57;border-radius:32px;box-shadow:0 22px 48px #0006,0 0 42px #ffffff21}.theme-light .react-flow__node:hover .workflow-node:not(.generate-image):not(.text):not(.transparent-text):not(.prompt):not(.text-note):not(.image-input){border-color:#0f172a33;box-shadow:0 20px 44px #0f172a29,0 0 36px #0f172a14}.workflow-node.generate-image,.workflow-node.generate-video,.workflow-node.preview-save{width:330px}.workflow-node.preview-save:is(.precise-cmf-mask-output,.precise-cmf-group-mask-output,.precise-cmf-api-mask-output,.precise-cmf-result-output){width:var(--preview-save-node-width,330px)}.workflow-node.preview-save:is(.precise-cmf-mask-output,.precise-cmf-group-mask-output,.precise-cmf-api-mask-output,.precise-cmf-result-output) .node-image,.workflow-node.preview-save:is(.precise-cmf-mask-output,.precise-cmf-group-mask-output,.precise-cmf-api-mask-output,.precise-cmf-result-output) .empty-preview{aspect-ratio:var(--preview-save-aspect-ratio,1/1)}.workflow-node.preview-save:is(.precise-cmf-mask-output,.precise-cmf-group-mask-output,.precise-cmf-api-mask-output,.precise-cmf-result-output) .node-image{object-fit:var(--preview-save-image-fit,contain)}.workflow-node.preview-save.precise-cmf-mask-output .precise-cmf-output-image-stage{width:100%;aspect-ratio:var(--preview-save-aspect-ratio,1/1);background:#050505;position:relative;overflow:hidden}.workflow-node.preview-save.precise-cmf-api-mask-output .precise-cmf-output-image-stage{width:100%;aspect-ratio:var(--preview-save-aspect-ratio,1/1);background-color:#1a1a1a;background-image:linear-gradient(45deg,#333 25%,#0000 25%),linear-gradient(-45deg,#333 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#333 75%),linear-gradient(-45deg,#0000 75%,#333 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;position:relative;overflow:hidden}.workflow-node.preview-save.precise-cmf-api-mask-output .precise-cmf-output-image-stage .node-image,.workflow-node.preview-save.precise-cmf-mask-output .precise-cmf-output-image-stage .node-image{aspect-ratio:auto;width:100%;height:100%}.precise-cmf-output-region-label{box-sizing:border-box;color:#fff;text-align:center;pointer-events:none;text-shadow:0 1px 2px #000;background:#000000c7;border:2px solid #fffffff5;border-radius:999px;min-width:24px;height:24px;padding:0 6px;font-size:12px;font-weight:850;line-height:20px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #000000b3}.workflow-node.generate-image,.workflow-node.generate-video{width:var(--generate-node-width,289px);height:var(--generate-node-height,428px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.theme-light .workflow-node.generate-image,.theme-light .workflow-node.generate-video{box-shadow:none;background:0 0}.workflow-node.text,.workflow-node.prompt,.workflow-node.text-note{width:var(--text-node-width,289px);height:var(--text-node-height,309px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.workflow-node.transparent-text{width:var(--transparent-text-node-width,220px);height:var(--transparent-text-node-height,55px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;transition:none}.theme-light .workflow-node.transparent-text{box-shadow:none;background:0 0}.react-flow__node.selected .workflow-node.transparent-text:after{content:"";z-index:69;pointer-events:none;border:1px solid #60a5fa;position:absolute;inset:0}.workflow-node.transparent-text .transparent-text-resize-handle{z-index:71;background:#fff!important;border:2px solid #3b82f6!important;border-radius:2px!important;width:10px!important;height:10px!important}.workflow-node.image-input{width:var(--image-input-node-width,289px);height:var(--image-input-node-height,309px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.workflow-node.audio-input{width:var(--audio-input-node-width,289px);height:var(--audio-input-node-height,176px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.workflow-node.node-group{-webkit-backdrop-filter:none;backdrop-filter:none;background:#e3bd9e0e;border:1px solid #e3bd9e6b;border-radius:28px;width:100%;min-width:260px;height:100%;min-height:160px;box-shadow:inset 0 0 0 1px #ffffff0a,0 18px 54px #00000024}.react-flow__node.node-group-shell,.react-flow__node.node-group-shell .workflow-node.node-group{pointer-events:none}.theme-light .workflow-node.node-group{background:#e3bd9e2e;border-color:#825b3a57;box-shadow:inset 0 0 0 1px #ffffff57,0 18px 42px #0f172a17}.workflow-node.node-group header{z-index:2;color:#ffefe2eb;pointer-events:auto;border-bottom:0;min-height:0;padding:0;position:absolute;top:16px;left:18px;cursor:grab!important}.workflow-node.node-group .node-group-hit-area{z-index:3;pointer-events:auto;position:absolute}.workflow-node.node-group .node-group-hit-area.top,.workflow-node.node-group .node-group-hit-area.bottom{cursor:grab;height:12px;left:12px;right:12px}.workflow-node.node-group .node-group-hit-area.top{top:-6px}.workflow-node.node-group .node-group-hit-area.bottom{bottom:-6px}.workflow-node.node-group .node-group-hit-area.left,.workflow-node.node-group .node-group-hit-area.right{cursor:grab;width:12px;top:12px;bottom:12px}.workflow-node.node-group .node-group-hit-area.left{left:-6px}.workflow-node.node-group .node-group-hit-area.right{right:-6px}.theme-light .workflow-node.node-group header{color:#442d1ce6}.workflow-node.node-group .node-title{justify-content:flex-start;gap:0;font-size:44px;font-weight:900;line-height:1}.react-flow__node.ai-video-material-section-group .workflow-node.node-group{background:#2dd4bf09;border-color:#2dd4bf61}.react-flow__node.ai-video-material-section-group .workflow-node.node-group .node-title{color:#ccfbf1eb;text-overflow:ellipsis;white-space:nowrap;max-width:720px;font-size:22px;line-height:1.2;overflow:hidden}.theme-light .react-flow__node.ai-video-material-section-group .workflow-node.node-group{background:#0d94880b;border-color:#0d948852}.theme-light .react-flow__node.ai-video-material-section-group .workflow-node.node-group .node-title{color:#0f766ee6}.react-flow__node.ai-video-material-shared-group .workflow-node.node-group{background:#f59e0b09;border-color:#f59e0b61}.react-flow__node.ai-video-material-shared-group .workflow-node.node-group .node-title{color:#fef3c7f0;text-overflow:ellipsis;white-space:nowrap;max-width:470px;font-size:22px;line-height:1.2;overflow:hidden}.theme-light .react-flow__node.ai-video-material-shared-group .workflow-node.node-group{background:#d977060b;border-color:#b4530952}.theme-light .react-flow__node.ai-video-material-shared-group .workflow-node.node-group .node-title{color:#92400ee6}.workflow-node.node-group .group-resize-line{z-index:4;pointer-events:auto!important;background:0 0!important;border:0!important}.workflow-node.node-group .group-resize-handle{z-index:5;pointer-events:auto!important;background:#121212d1!important;border:1px solid #e3bd9eb3!important;border-radius:999px!important;width:18px!important;height:18px!important}.workflow-node.generate-image .generate-resize-line{z-index:30;pointer-events:none!important;background:0 0!important;border:0!important}.workflow-node.generate-image .generate-resize-line.top,.workflow-node.generate-image .generate-resize-line.bottom{height:14px!important}.workflow-node.generate-image .generate-resize-line.left,.workflow-node.generate-image .generate-resize-line.right{width:14px!important}.workflow-node.generate-image .generate-resize-handle{z-index:31;background:0 0!important;border:0!important;width:28px!important;height:28px!important}.workflow-node.generate-image .generate-resize-handle.top.left,.workflow-node.generate-image .generate-resize-handle.bottom.right{cursor:nwse-resize}.workflow-node.generate-image .generate-resize-handle.top.right,.workflow-node.generate-image .generate-resize-handle.bottom.left{cursor:nesw-resize}.workflow-node.text .text-resize-line,.workflow-node.prompt .text-resize-line,.workflow-node.text-note .text-resize-line{z-index:60;pointer-events:all!important;background:0 0!important;border:0!important}.workflow-node.text .text-resize-line.right,.workflow-node.prompt .text-resize-line.right,.workflow-node.text-note .text-resize-line.right{cursor:ew-resize;width:36px!important;height:calc(100% - 100px)!important;top:72px!important;left:calc(100% - 18px)!important}.workflow-node.text .text-resize-line.bottom,.workflow-node.prompt .text-resize-line.bottom,.workflow-node.text-note .text-resize-line.bottom{cursor:ns-resize;width:calc(100% - 152px)!important;height:28px!important;top:100%!important;left:76px!important}.workflow-node.text .text-resize-handle,.workflow-node.prompt .text-resize-handle,.workflow-node.text-note .text-resize-handle{z-index:61;background:0 0!important;border:0!important;width:44px!important;height:44px!important}.workflow-node.text .text-resize-handle.bottom,.workflow-node.prompt .text-resize-handle.bottom,.workflow-node.text-note .text-resize-handle.bottom{top:calc(100% - 22px)!important}.workflow-node.text .text-resize-handle.right,.workflow-node.prompt .text-resize-handle.right,.workflow-node.text-note .text-resize-handle.right{left:calc(100% - 22px)!important}.workflow-node.text .text-resize-handle.bottom.right,.workflow-node.prompt .text-resize-handle.bottom.right,.workflow-node.text-note .text-resize-handle.bottom.right{cursor:nwse-resize}.workflow-node header{border-bottom:1px solid var(--line);min-height:34px;color:var(--text);justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font-size:12px;font-weight:700;display:flex}.workflow-node.generate-image header,.workflow-node.generate-video header{width:min(calc(100% - 24px), var(--generate-preview-width,calc(100% - 24px)));height:44px;min-height:44px;color:var(--node-title-color);border-bottom:0;margin:0 auto;padding:10px 0 0;font-size:13px;font-weight:760}.workflow-node.image-input header,.workflow-node.audio-input header{width:calc(100% - 24px);height:44px;min-height:44px;color:var(--node-title-color);border-bottom:0;margin:0 auto;padding:10px 0 0;font-size:13px;font-weight:760}.workflow-node.generate-image .node-title,.workflow-node.generate-video .node-title,.workflow-node.image-input .node-title,.workflow-node.audio-input .node-title{gap:6px;width:100%}.workflow-node.generate-image .node-title svg,.workflow-node.generate-video .node-title svg,.workflow-node.image-input .node-title svg,.workflow-node.audio-input .node-title svg{opacity:.74;stroke-width:1.8px;width:14px;height:14px}.workflow-node.text header,.workflow-node.chat header,.workflow-node.prompt header,.workflow-node.text-note header{width:min(calc(100% - 24px), var(--text-node-width,calc(100% - 24px)));height:44px;min-height:44px;color:var(--node-title-color);border-bottom:0;margin:0 auto;padding:10px 0 0;font-size:13px;font-weight:760}.workflow-node.text .node-title,.workflow-node.prompt .node-title,.workflow-node.text-note .node-title{gap:6px;width:100%}.workflow-node.text .node-title svg,.workflow-node.prompt .node-title svg,.workflow-node.text-note .node-title svg{opacity:.74;stroke-width:1.8px;width:14px;height:14px}.node-title{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;display:inline-flex;overflow:hidden}.node-title svg{opacity:.78;stroke-width:1.8px;flex:none}.node-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workflow-node.success{border-color:#22c55e94}.workflow-node.error{border-color:#f43f5eb8}.node-body{gap:10px;padding:10px;display:grid}.node-body.compact{gap:8px}.node-image,.empty-preview{aspect-ratio:16/9;border:1px solid var(--line);width:100%;color:var(--dim);text-align:center;background:#080808;border-radius:10px;place-items:center;gap:7px;font-size:12px;display:grid}.missing-asset-preview{color:var(--muted)}.asset-preview-reload{border:1px solid var(--line);background:var(--panel-soft);width:28px;height:28px;color:var(--text);cursor:pointer;border-radius:6px;place-items:center;padding:0;display:inline-grid}.asset-preview-reload:hover{border-color:var(--accent);color:var(--accent)}.asset-preview-reload:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.theme-light .node-image,.theme-light .empty-preview{background:#f8fafc}.node-image{object-fit:cover;cursor:default}.node-image.zoomable{cursor:default}.generate-result-image{aspect-ratio:1}.generate-node-body{width:100%;height:calc(var(--generate-node-height,532px) - 44px);justify-items:center;padding:0;position:relative}.generate-preview-frame{width:min(calc(100% - 24px), var(--generate-preview-width,calc(100% - 24px)));height:var(--generate-preview-height,236px);aspect-ratio:auto;transition:border-color .22s,border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .3s,background .22s;position:relative;overflow:hidden}.generate-preview-frame :is(.node-image,.empty-preview){background:0 0;border:0;border-radius:0;width:100%;height:100%}.generate-preview-frame .node-image{object-fit:cover}.generate-preview-frame.is-generating .node-image,.generate-preview-frame.is-generating .empty-preview{filter:blur(8px)saturate(.72)brightness(.64);transform:scale(1.025)}.generate-node-progress-overlay{z-index:28;border-radius:inherit;pointer-events:none;background:#0000006b;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.generate-result-save-status{color:#fff;pointer-events:auto;background:#14171ae6;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;line-height:1.4;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.generate-result-save-status span{overflow-wrap:anywhere;flex:1;min-width:0}.generate-result-save-status.is-error{color:#ffcbc5}.generate-result-save-status button{width:30px;height:30px;color:inherit;flex:0 0 30px;place-items:center;display:grid}.theme-light .generate-node-progress-overlay{background:#ffffff42}.generate-node-progress-fill{transform-origin:0;background:linear-gradient(90deg,#ffffff1a,#ffffff52 72%,#ffffff8f),repeating-linear-gradient(90deg,#ffffff12 0 1px,#0000 1px 22px);animation:8s cubic-bezier(.18,.78,.18,1) infinite generate-node-progress-fill;position:absolute;inset:0;box-shadow:inset -28px 0 52px #ffffff3d}.generate-node-progress-fill:after{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);animation:2.8s ease-in-out infinite generate-node-progress-sheen;position:absolute;inset:0}.theme-light .generate-node-progress-fill{background:linear-gradient(90deg,#0f172a0d,#0f172a29 72%,#0f172a42),repeating-linear-gradient(90deg,#0f172a0f 0 1px,#0000 1px 22px);box-shadow:inset -28px 0 52px #0f172a1f}.generate-node-progress-copy{z-index:1;color:#ffffff8a;text-shadow:0 10px 30px #00000047;text-align:center;justify-items:center;gap:6px;max-width:calc(100% - 24px);display:grid;position:relative}.generate-node-progress-copy strong{font-size:34px;font-weight:900}.generate-node-progress-copy span{font-variant-numeric:tabular-nums;letter-spacing:0;overflow-wrap:anywhere;opacity:.72;font-size:16px;font-weight:800}.theme-light .generate-node-progress-copy{color:#0f172a85;text-shadow:none}.generate-result-empty{aspect-ratio:1;color:#ffffff61}.theme-light .generate-result-empty{color:#0f172a5c}.generate-result-empty svg{stroke-width:1.35px;width:42px;height:42px}.generate-upload-floating{right:var(--generate-preview-inset,24px);z-index:36;color:#fffffff0;opacity:0;pointer-events:none;background:#121212eb;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:5px;min-height:28px;padding:0 10px;font-size:11px;font-weight:800;transition:opacity .18s,transform .24s cubic-bezier(.2,1.18,.24,1);display:inline-flex;position:absolute;top:8px;transform:translateY(8px);box-shadow:0 14px 32px #00000057}.theme-light .generate-upload-floating{color:#0f172adb;background:#fffffff0;border-color:#0f172a1f;box-shadow:0 14px 32px #0f172a21}.generate-upload-floating input{display:none}.react-flow__node.selected .workflow-node.generate-image .generate-upload-floating,.react-flow__node.selected .workflow-node.image-input .generate-upload-floating,.react-flow__node.selected .workflow-node.audio-input .generate-upload-floating,.react-flow__node.selected .workflow-node.generate-video .generate-upload-floating,.workflow-node.generate-image:hover .preview-upload-floating,.workflow-node.generate-video:hover .preview-upload-floating,.workflow-node.image-input:hover .preview-upload-floating,.workflow-node.audio-input:hover .preview-upload-floating,.react-flow__node:hover .workflow-node.generate-image .preview-upload-floating,.react-flow__node:hover .workflow-node.generate-video .preview-upload-floating,.react-flow__node:hover .workflow-node.image-input .preview-upload-floating,.react-flow__node:hover .workflow-node.audio-input .preview-upload-floating{opacity:1;pointer-events:auto;transform:translateY(0)}.workflow-node.generate-image .preview-upload-floating,.workflow-node.generate-video .preview-upload-floating,.workflow-node.image-input .preview-upload-floating,.workflow-node.audio-input .preview-upload-floating{color:#fffffff0;cursor:pointer;background:#2c2c2ce0;border-color:#ffffff1f;border-radius:8px;gap:6px;min-height:32px;padding:0 12px;font-size:12px;font-weight:800;top:52px;right:20px;box-shadow:0 10px 24px #00000047}.workflow-node.generate-image .preview-upload-floating,.workflow-node.generate-video .preview-upload-floating{top:calc(var(--generate-preview-top,44px) + 8px);right:calc(var(--generate-preview-inset,12px) + 8px)}.workflow-node.generate-image .preview-upload-floating:hover,.workflow-node.generate-video .preview-upload-floating:hover,.workflow-node.image-input .preview-upload-floating:hover,.workflow-node.audio-input .preview-upload-floating:hover{opacity:.72}.workflow-node.generate-image .preview-upload-floating svg,.workflow-node.generate-video .preview-upload-floating svg,.workflow-node.image-input .preview-upload-floating svg,.workflow-node.audio-input .preview-upload-floating svg{stroke-width:2px;width:13px;height:13px}.workflow-node textarea{min-height:142px}.workflow-node .generate-prompt-input{min-height:0}.image-input-node-body,.audio-input-node-body{justify-items:center;width:100%;padding:0}.image-input-preview-frame{width:var(--image-input-preview-width,265px);height:var(--image-input-preview-height,265px);aspect-ratio:auto;transition:border-color .22s,border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .3s,background .22s;position:relative;overflow:hidden}.audio-input-preview-frame{width:var(--audio-input-preview-width,265px);height:var(--audio-input-preview-height,132px);place-items:center;padding:14px;transition:border-color .22s,border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .3s,background .22s;display:grid;position:relative;overflow:hidden}.image-input-preview-frame :is(.node-image,.empty-preview){aspect-ratio:auto;border:0;border-radius:0;width:100%;height:100%}.audio-input-preview-frame :is(.audio-input-player-card,.empty-preview){border:0;border-radius:0;width:100%;height:100%}.image-input-preview-frame .node-image{object-fit:cover}.image-input-preview-frame .empty-preview,.audio-input-preview-frame .empty-preview{color:#ffffff61}.theme-light .image-input-preview-frame .empty-preview,.theme-light .audio-input-preview-frame .empty-preview{color:#0f172a5c}.image-input-preview-frame .image-input-empty{place-items:center;display:grid}.audio-input-preview-frame .audio-input-empty,.audio-input-player-card{align-content:center;place-items:center;gap:12px;display:grid}.audio-input-player-card{color:#ffffffe0}.theme-light .audio-input-player-card{color:#0f172ae0}.node-audio{width:100%;max-width:238px;height:34px}.image-input-preview-frame .empty-preview svg{stroke-width:1.35px;width:42px;height:42px}.workflow-node.image-input.image-drop-active .image-input-preview-frame,.workflow-node.audio-input.image-drop-active .audio-input-preview-frame,.workflow-node.generate-image.image-drop-active .generate-preview-frame,.workflow-node.generate-video.image-drop-active .video-preview-frame{border-radius:var(--node-radius-hover);background:#121212fa;border-color:#ffffffc7;box-shadow:0 22px 54px #0000007a,0 0 58px #ffffff3d}.theme-light .workflow-node.image-input.image-drop-active .image-input-preview-frame,.theme-light .workflow-node.audio-input.image-drop-active .audio-input-preview-frame,.theme-light .workflow-node.generate-image.image-drop-active .generate-preview-frame,.theme-light .workflow-node.generate-video.image-drop-active .video-preview-frame{background:#fff;border-color:#2563eb70;box-shadow:0 22px 54px #0f172a2e,0 0 50px #2563eb29}.react-flow__node.draggable.dragging .workflow-node.image-input,.react-flow__node.draggable.dragging .workflow-node.image-input .image-input-preview-frame,.react-flow__node.draggable.dragging .workflow-node.image-input .node-image,.react-flow__node.draggable.dragging .workflow-node.audio-input,.react-flow__node.draggable.dragging .workflow-node.audio-input .audio-input-preview-frame{cursor:grabbing!important}.video-preview-frame{background:#050505}.video-preview-frame .node-video,.video-preview-frame .video-empty-preview{border:0;border-radius:0;width:100%;height:100%}.video-preview-frame.is-generating .node-video,.video-preview-frame.is-generating .video-empty-preview{filter:blur(8px)saturate(.72)brightness(.64);transform:scale(1.025)}.node-video{object-fit:contain;background:#000;display:block}.video-empty-preview{color:var(--dim);place-items:center;gap:8px;font-size:12px;display:grid}.video-controls-panel{grid-template-rows:minmax(0,1fr) 36px;gap:12px}.video-prompt-area{gap:8px}.video-prompt-area.has-dreamina-frame-rail{grid-template-rows:auto minmax(0,1fr)}.video-prompt-area.has-prompt-limit{grid-template-rows:minmax(0,1fr) auto}.video-prompt-area.has-reference-strip.has-prompt-limit,.video-prompt-area.has-dreamina-frame-rail.has-prompt-limit{grid-template-rows:auto minmax(0,1fr) auto}.dreamina-video-prompt-limit,.dreamina-transition-prompt-limit{color:#ffffff75;white-space:nowrap;justify-self:end;font-size:10px;line-height:14px}.dreamina-video-prompt-limit.is-over-limit,.dreamina-transition-prompt-limit.is-over-limit{color:#fb7185;font-weight:700}.video-prompt-area.is-prompt-over-limit .video-prompt-input{color:#fecdd3}.dreamina-frame-rail{gap:5px;min-width:0;display:grid;position:relative}.dreamina-frame-rail-track{scrollbar-width:thin;scrollbar-color:#ffffff38 transparent;align-items:center;gap:12px;min-width:0;min-height:62px;padding:3px 5px 3px 38px;display:flex;overflow:auto visible}.dreamina-frame-sequence{flex:none;align-items:center;gap:18px;display:inline-flex}.dreamina-frame-card{flex:none;width:64px;height:54px;position:relative}.dreamina-frame-preview{color:#ffffff94;cursor:default;background:#ffffff0f;border:1px solid #ffffff29;border-radius:6px;place-items:center;width:54px;height:54px;min-height:54px;margin-left:10px;padding:0;transition:border-color .16s,background .16s,transform .18s cubic-bezier(.22,1,.36,1);display:grid;position:relative;overflow:hidden}.dreamina-multiframe-rail .dreamina-frame-card.is-filled .dreamina-frame-preview{cursor:grab}.dreamina-frame-preview:hover{background:#ffffff17;border-color:#ffffff57}.dreamina-frame-preview img{object-fit:cover;width:100%;height:100%;display:block}.dreamina-frame-slot-handle{z-index:12;cursor:crosshair;background:#ffffffeb;border:2px solid #191a1d;border-radius:50%;width:11px;min-width:11px;height:11px;min-height:11px;position:absolute;top:50%;left:-6px;transform:translate(-50%,-50%);box-shadow:0 0 0 3px #ffffff14}.dreamina-frame-slot-handle:hover,.dreamina-frame-slot-handle.connectingfrom,.dreamina-frame-slot-handle.connectingto{background:#fff;box-shadow:0 0 0 5px #ffffff29}.dreamina-frame-slot-handle.is-connected{background:#45d483;border-color:#17251d;box-shadow:0 0 0 3px #45d4832e}.dreamina-frame-slot-handle.is-connected:hover{background:#5ee596;box-shadow:0 0 0 5px #45d48338}.dreamina-frame-label{color:#fffffff0;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:#000000b8;border-radius:3px;min-width:17px;max-width:calc(100% - 8px);padding:1px 4px;font-size:9px;font-weight:800;line-height:14px;position:absolute;bottom:4px;left:4px;overflow:hidden}.dreamina-frame-card.is-empty .dreamina-frame-label{color:#ffffff94;background:0 0;max-width:none;left:2px;right:2px}.dreamina-frame-remove{z-index:3;color:#fff;cursor:pointer;background:#000000b8;border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;top:3px;right:3px}.dreamina-frame-direction{color:#ffffff6b;flex:none}.dreamina-transition-card{color:#ffffff94;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:6px;align-content:center;place-items:center;gap:3px;width:48px;height:54px;min-height:54px;padding:0;font-size:10px;font-weight:800;display:grid}.dreamina-transition-card:hover,.dreamina-transition-card.active{color:#ffffffdb;background:#ffffff17;border-color:#ffffff57}.dreamina-transition-popover{z-index:110;background:#1f2023fa;border:1px solid #ffffff1f;border-radius:8px;grid-template-rows:auto minmax(110px,1fr) auto auto;gap:12px;width:390px;min-height:218px;padding:16px;display:grid;position:absolute;bottom:calc(100% + 10px);left:18px;box-shadow:0 22px 54px #0000007a}.dreamina-transition-popover>strong{color:#ffffffeb;font-size:13px;font-weight:800}.dreamina-transition-popover textarea{resize:none;color:#ffffffe6;background:0 0;border:0;outline:0;width:100%;height:110px;min-height:110px;padding:0;font-size:13px;line-height:1.55}.dreamina-transition-popover textarea::placeholder{color:#ffffff61}.dreamina-transition-popover-footer{align-items:center;gap:8px;display:flex}.dreamina-transition-duration-field{color:#ffffffc2;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:4px;height:34px;padding:0 9px;display:inline-flex}.dreamina-transition-duration-field input{width:34px;color:inherit;text-align:right;background:0 0;border:0;outline:0;padding:0;font-size:12px}.dreamina-transition-duration-field span{font-size:11px}.dreamina-transition-apply-all,.dreamina-transition-confirm{color:#ffffffd1;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:6px;justify-content:center;align-items:center;gap:5px;height:34px;padding:0 12px;font-size:11px;font-weight:800;display:inline-flex}.dreamina-transition-confirm{color:#151515;background:#ffffffe6;margin-left:auto}.dreamina-transition-apply-all:disabled,.dreamina-transition-confirm:disabled{opacity:.36;cursor:not-allowed}.dreamina-frame-warning{color:#f1b46b;padding-left:8px;font-size:10px;line-height:14px;display:block}.theme-light .dreamina-frame-preview{color:#0f172a80;background:#0f172a0d;border-color:#0f172a29}.theme-light .dreamina-frame-slot-handle{background:#0f172ae0;border-color:#fff;box-shadow:0 0 0 3px #0f172a14}.theme-light .dreamina-frame-slot-handle.is-connected{background:#159957;border-color:#fff;box-shadow:0 0 0 3px #15995729}.theme-light .dreamina-frame-direction,.theme-light .dreamina-transition-card{color:#0f172a85}.theme-light .dreamina-transition-card{background:#0f172a0a;border-color:#0f172a21}.theme-light .dreamina-transition-popover{background:#fffffffc;border-color:#0f172a1f;box-shadow:0 22px 54px #0f172a2e}.theme-light .dreamina-transition-popover>strong,.theme-light .dreamina-transition-popover textarea{color:#0f172ae6}.theme-light .dreamina-video-prompt-limit,.theme-light .dreamina-transition-prompt-limit{color:#0f172a80}.theme-light .dreamina-video-prompt-limit.is-over-limit,.theme-light .dreamina-transition-prompt-limit.is-over-limit{color:#e11d48}.theme-light .video-prompt-area.is-prompt-over-limit .video-prompt-input{color:#be123c}.theme-light .dreamina-transition-popover textarea::placeholder{color:#0f172a66}.theme-light .dreamina-transition-duration-field,.theme-light .dreamina-transition-apply-all{color:#0f172ac7;background:#0f172a0d;border-color:#0f172a1f}.theme-light .dreamina-transition-confirm{color:#fff;background:#111827;border-color:#111827}.video-prompt-input{height:100%;min-height:0;font-size:14px;line-height:1.45}.workflow-node.generate-video .video-prompt-input{min-height:0}.video-compose-footer{gap:6px}.video-primary-controls{flex:auto;min-width:0;overflow:visible}.video-model-menu-wrapper{flex:0 auto;min-width:0}.video-model-menu-wrapper .generate-model-button strong{max-width:190px}.video-controls-panel.is-kling-video .video-model-menu-wrapper .generate-model-button strong{max-width:140px}.video-gpt-controls{flex:none;gap:5px}.video-gpt-control>button{justify-content:center;align-items:center;gap:5px;min-width:52px;padding:0 10px;display:inline-flex}.video-gpt-control>button svg{stroke-width:2px;width:14px;height:14px}.video-smart-storyboard-control>button,.video-audio-sync-control>button{min-width:92px}.video-smart-storyboard-control>button.active,.video-audio-sync-control>button.active{background:#2b2b2b;border-color:#ffffff47}.theme-light .video-model-menu-wrapper .generate-model-button,.theme-light .video-gpt-control>button{color:#0f172ae6}.theme-light .video-gpt-control>button:hover,.theme-light .video-gpt-control>button.open,.theme-light .video-smart-storyboard-control>button.active,.theme-light .video-audio-sync-control>button.active{background:#0f172a14;border-color:#0f172a7a}.video-generate-button:disabled{opacity:.75}.dreamina-total-duration{cursor:default}.dreamina-mode-popover{min-width:132px}.workflow-node.text .text-main-display,.workflow-node.prompt .text-main-display,.workflow-node.text-note .text-main-display,.workflow-node.text .text-main-input,.workflow-node.prompt .text-main-input,.workflow-node.text-note .text-main-input{color:#ffffffeb;cursor:default;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;height:100%;min-height:0;padding:18px;font-size:13px;line-height:1.55;transition:border-color .22s,border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .3s,background .22s;overflow-y:auto}.theme-light .workflow-node.text .text-main-display,.theme-light .workflow-node.prompt .text-main-display,.theme-light .workflow-node.text-note .text-main-display,.theme-light .workflow-node.text .text-main-input,.theme-light .workflow-node.prompt .text-main-input,.theme-light .workflow-node.text-note .text-main-input{color:#111827}.workflow-node.text .text-main-display p,.workflow-node.prompt .text-main-display p,.workflow-node.text-note .text-main-display p{white-space:pre-wrap;word-break:break-word;margin:0}.workflow-node.text .text-main-input.is-editing,.workflow-node.prompt .text-main-input.is-editing,.workflow-node.text-note .text-main-input.is-editing{cursor:text}.workflow-node.text .text-main-input:focus,.workflow-node.prompt .text-main-input:focus,.workflow-node.text-note .text-main-input:focus{border-color:var(--node-card-border-hover)}.workflow-node.text .text-main-input::placeholder,.workflow-node.prompt .text-main-input::placeholder,.workflow-node.text-note .text-main-input::placeholder{color:#ffffff5c}.theme-light .workflow-node.text .text-main-input::placeholder,.theme-light .workflow-node.prompt .text-main-input::placeholder,.theme-light .workflow-node.text-note .text-main-input::placeholder{color:#0f172a6b}.workflow-node.text .text-main-input::-webkit-scrollbar{width:10px}.workflow-node.prompt .text-main-input::-webkit-scrollbar{width:10px}.workflow-node.text-note .text-main-input::-webkit-scrollbar{width:10px}.workflow-node.text .text-main-input::-webkit-scrollbar-track{background:0 0}.workflow-node.prompt .text-main-input::-webkit-scrollbar-track{background:0 0}.workflow-node.text-note .text-main-input::-webkit-scrollbar-track{background:0 0}.workflow-node.text .text-main-input::-webkit-scrollbar-thumb{background:#ffffff57 padding-box content-box;border:3px solid #0000;border-radius:999px;min-height:42px}.workflow-node.prompt .text-main-input::-webkit-scrollbar-thumb{background:#ffffff57 padding-box content-box;border:3px solid #0000;border-radius:999px;min-height:42px}.workflow-node.text-note .text-main-input::-webkit-scrollbar-thumb{background:#ffffff57 padding-box content-box;border:3px solid #0000;border-radius:999px;min-height:42px}.workflow-node.text .text-main-input::-webkit-scrollbar-thumb:hover{background:#ffffff80 padding-box content-box}.workflow-node.prompt .text-main-input::-webkit-scrollbar-thumb:hover{background:#ffffff80 padding-box content-box}.workflow-node.text-note .text-main-input::-webkit-scrollbar-thumb:hover{background:#ffffff80 padding-box content-box}.text-main-empty{color:#fff6;pointer-events:none;grid-template-rows:auto auto;align-content:center;place-items:center;gap:12px;font-size:13px;font-weight:700;display:grid;position:absolute;inset:0}.text-main-empty svg{stroke-width:1.6px;width:38px;height:38px}.text-main-empty span{color:#ffffff75}.theme-light .text-main-empty{color:#0f172a5c}.text-generation-status{z-index:5;pointer-events:none;gap:8px;display:grid;position:absolute;bottom:16px;left:16px;right:16px}.text-generation-status span{color:#ffffffa8;font-size:12px;font-weight:800}.text-generation-status i{background:#ffffff1f;border-radius:999px;height:3px;position:relative;overflow:hidden;box-shadow:0 0 12px #ffffff1a}.text-generation-status i:after{content:"";border-radius:inherit;background:linear-gradient(90deg,#0000,#fffc,#0000);animation:1.65s ease-in-out infinite textGenerationBreath;position:absolute;inset:0}.theme-light .text-generation-status span{color:#0f172a9e}.theme-light .text-generation-status i{background:#0f172a1f;box-shadow:0 0 12px #0f172a14}.theme-light .text-generation-status i:after{background:linear-gradient(90deg,#0000,#0f172ab3,#0000)}@keyframes textGenerationBreath{0%{opacity:.22;transform:translate(-65%)scaleX(.35)}45%{opacity:1;transform:translate(0)scaleX(1)}to{opacity:.22;transform:translate(65%)scaleX(.35)}}.protocol-upload-row{color:var(--muted);align-items:center;gap:10px;min-height:34px;margin:0 0 8px;font-size:13px;display:flex}.protocol-upload-button{color:var(--text);background:var(--panel-soft);border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:13px;display:inline-flex}.protocol-upload-button:hover{border-color:var(--accent);color:var(--accent)}.transparent-text-body{width:100%;height:100%;position:relative}.transparent-text-display,.transparent-text-input{width:100%;height:100%;color:var(--transparent-text-color,#f4f4f5);padding:calc(var(--transparent-text-font-size,32px) * .25);font:400 var(--transparent-text-font-size,32px)/1.2 "Inter","Microsoft YaHei","PingFang SC",system-ui,sans-serif;letter-spacing:.01em;white-space:pre;overflow-wrap:normal;background:0 0;border:0;outline:0;margin:0}.transparent-text-display{cursor:grab;-webkit-user-select:none;user-select:none;overflow:visible}.transparent-text-display:active{cursor:grabbing}.transparent-text-display.is-empty{color:#94a3b8b8;font-weight:400}.workflow-node.transparent-text .transparent-text-input{resize:none;cursor:text;min-width:0;min-height:0;max-height:100%;display:block;overflow:hidden}.transparent-text-input::placeholder{color:#94a3b8b8}.transparent-text-color-control{z-index:80;color:#f8fafc;background:#18181bef;border:1px solid #ffffff24;border-radius:9px;align-items:center;gap:8px;padding:6px 8px 6px 10px;font-size:12px;font-weight:700;display:flex;position:absolute;bottom:calc(100% + 12px);left:0;box-shadow:0 10px 28px #0008}.transparent-text-color-control input{cursor:pointer;background:0 0;border:0;width:26px;height:22px;padding:0}.theme-light .transparent-text-color-control{color:#0f172a;background:#fffffff2;border-color:#0f172a24;box-shadow:0 10px 28px #0f172a2b}.workflow-node.protocol-module-extraction,.workflow-node.protocol-portrait-fusion,.workflow-node.protocol-precise-cmf,.workflow-node.protocol-still-life-s2{width:460px}.workflow-node.protocol-module-extraction header,.workflow-node.protocol-portrait-fusion header,.workflow-node.protocol-precise-cmf header,.workflow-node.protocol-still-life-s2 header{min-height:54px}.protocol-node-body{gap:12px;padding:0 16px 16px;display:grid}.protocol-description{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.protocol-run-status{color:#f5f5f5d1;background:#ffffff0a;border:1px solid #ffffff14;border-radius:14px;gap:6px;padding:10px 12px;font-size:12px;line-height:1.45;display:grid}.protocol-run-status strong{color:#ff9f9f;font-weight:600}.theme-light .protocol-run-status{color:#0f172ab8;background:#0f172a0a;border-color:#0f172a14}.protocol-port-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.workflow-node.protocol-module-extraction .protocol-port-list.align-node-handles,.workflow-node.protocol-portrait-fusion .protocol-port-list.align-node-handles,.workflow-node.protocol-precise-cmf .protocol-port-list.align-node-handles,.workflow-node.protocol-still-life-s2 .protocol-port-list.align-node-handles{grid-template-columns:minmax(0,1fr)}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-a],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-a],.workflow-node.protocol-still-life-s2>.react-flow__handle[data-handleid=module-a]{top:var(--protocol-port-module-a-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-c],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-c]{top:var(--protocol-port-module-c-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-d],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-d]{top:var(--protocol-port-module-d-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-e],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-e],.workflow-node.protocol-still-life-s2>.react-flow__handle[data-handleid=module-e]{top:var(--protocol-port-module-e-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-f],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-f],.workflow-node.protocol-still-life-s2>.react-flow__handle[data-handleid=module-f]{top:var(--protocol-port-module-f-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle[data-handleid=module-g],.workflow-node.protocol-portrait-fusion>.react-flow__handle[data-handleid=module-g],.workflow-node.protocol-still-life-s2>.react-flow__handle[data-handleid=module-g]{top:var(--protocol-port-module-g-y)!important}.workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left,.workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left,.workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left,.workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left{width:36px;height:36px;left:-30px}.workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus{transform:translate(-50%,-50%)scale(.9)}.workflow-node.protocol-module-extraction:hover>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-portrait-fusion:hover>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-precise-cmf:hover>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.workflow-node.protocol-still-life-s2:hover>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.react-flow__node.selected .workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.react-flow__node.selected .workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.react-flow__node.selected .workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus,.react-flow__node.selected .workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left .node-handle-plus{transform:translate(-50%,-50%)scale(1)}.workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left:hover .node-handle-plus,.workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left:hover .node-handle-plus,.workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left:hover .node-handle-plus,.workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left:hover .node-handle-plus,.workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left.connectingto .node-handle-plus,.workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left.connectingto .node-handle-plus,.workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left.connectingto .node-handle-plus,.workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left.connectingto .node-handle-plus,.workflow-node.protocol-module-extraction>.react-flow__handle.protocol-fixed-handle.left.valid .node-handle-plus,.workflow-node.protocol-portrait-fusion>.react-flow__handle.protocol-fixed-handle.left.valid .node-handle-plus,.workflow-node.protocol-precise-cmf>.react-flow__handle.protocol-fixed-handle.left.valid .node-handle-plus,.workflow-node.protocol-still-life-s2>.react-flow__handle.protocol-fixed-handle.left.valid .node-handle-plus{opacity:1;color:var(--accent);background:#25b7ff14;border-color:#25b7ffd1;transform:translate(-50%,-50%)scale(1.06);box-shadow:0 0 0 5px #25b7ff1f,0 14px 30px #25b7ff33}.protocol-port-row{background:#00000024;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.theme-light .protocol-port-row{background:#0f172a08;border-color:#0f172a14}.protocol-port-badge{width:28px;height:28px;color:var(--accent);background:#25b7ff24;border-radius:999px;flex:none;place-items:center;font-weight:800;display:inline-grid}.protocol-port-row strong,.protocol-port-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.protocol-run-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.protocol-run-controls label{color:var(--muted);gap:6px;font-size:12px;display:grid}.protocol-run-controls select,.protocol-run-controls button{color:#ffffffeb;min-height:38px;font:inherit;background:#0003;border:1px solid #ffffff1a;border-radius:12px}.protocol-run-controls select{width:100%;padding:0 10px}.protocol-run-controls button{color:var(--accent);cursor:pointer;background:#25b7ff29;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:700;display:inline-flex}.protocol-run-controls button:disabled{cursor:not-allowed;opacity:.5}.theme-light .protocol-run-controls select,.theme-light .protocol-run-controls button{color:#0f172ae6;background:#0f172a0a;border-color:#0f172a1f}.protocol-upload-field{background:#007eb214;border:1px solid #25b7ff38;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.protocol-upload-field>div:first-child{gap:3px;min-width:0;display:grid}.protocol-upload-field span,.protocol-upload-field small{color:var(--muted);font-size:11px}.protocol-upload-field strong{color:#ffffffe6;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.protocol-upload-actions{align-items:center;gap:6px;display:flex}.protocol-upload-button,.protocol-upload-actions button{height:34px;color:var(--accent);font:inherit;cursor:pointer;background:#25b7ff1f;border:1px solid #25b7ff4d;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:inline-flex}.protocol-upload-button{position:relative}.protocol-upload-actions button{width:34px;padding:0}.protocol-upload-button input{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.protocol-upload-button:focus-within,.protocol-upload-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.protocol-upload-actions button:disabled{cursor:not-allowed;opacity:.5}.protocol-upload-button:has(input:disabled){cursor:not-allowed;opacity:.5}.theme-light .protocol-upload-field{background:#0284c70f;border-color:#0284c733}.theme-light .protocol-upload-field strong{color:#0f172ae6}.protocol-input-crop-check{background:#ffb14214;border:1px solid #ffb1424d;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.protocol-input-crop-check.ready{background:#49d17d14;border-color:#49d17d4d}.protocol-input-crop-check>div{gap:3px;min-width:0;display:grid}.protocol-input-crop-check strong,.protocol-input-crop-check span,.protocol-input-crop-check small{display:block}.protocol-input-crop-check strong{color:#ffc36a;font-size:12px}.protocol-input-crop-check.ready strong{color:#72dfa0}.protocol-input-crop-check span{color:#ffffffe0;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.protocol-input-crop-check small{color:var(--muted);font-size:10px;line-height:1.4}.protocol-input-crop-check button{color:#ffc36a;min-height:34px;font:inherit;cursor:pointer;white-space:nowrap;background:#ffb1421f;border:1px solid #ffb1425c;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:11px;font-weight:700;display:inline-flex}.protocol-input-crop-check button:disabled{cursor:not-allowed;opacity:.5}.theme-light .protocol-input-crop-check span{color:#0f172adb}.protocol-port-row strong{color:#ffffffeb;font-size:13px}.theme-light .protocol-port-row strong{color:#0f172ae6}.protocol-port-row small{color:var(--muted);margin-top:2px;font-size:11px}.protocol-global-field{color:#ffffffe0;gap:7px;font-size:13px;display:grid}.theme-light .protocol-global-field{color:#0f172ad6}.protocol-global-field textarea{resize:vertical;min-height:88px;color:inherit;font:inherit;background:#0000002e;border:1px solid #ffffff1a;border-radius:14px;outline:0;padding:10px 12px;line-height:1.5}.protocol-live-reference-map{color:#ffffffc2;background:#007eb214;border:1px solid #00b7ff38;border-radius:10px;gap:4px;padding:9px 10px;font-size:11px;line-height:1.45;display:grid}.protocol-live-reference-map strong{color:#60d5fff5;font-size:11px}.protocol-live-reference-map small{color:#ffffff8f;font-size:10px}.theme-light .protocol-global-field textarea{background:#0f172a0a;border-color:#0f172a1f}.protocol-sync-note{color:var(--muted);margin:-2px 0 0;font-size:12px;line-height:1.45}.protocol-result-preview{color:var(--muted);border-top:1px solid #ffffff14;padding-top:8px;font-size:12px}.protocol-instruction-preview{color:var(--muted);font-size:12px}.protocol-instruction-preview summary{cursor:pointer}.protocol-instruction-preview pre{white-space:pre-wrap;color:#f5f5f5c7;border:1px solid #ffffff14;border-radius:12px;max-height:220px;margin:8px 0 0;padding:10px;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;overflow:auto}.theme-light .protocol-instruction-preview pre{color:#0f172ac2;border-color:#0f172a14}.theme-light .protocol-result-preview{border-top-color:#0f172a14}.protocol-result-preview summary{cursor:pointer}.protocol-result-preview pre{white-space:pre-wrap;color:#f5f5f5d1;max-height:180px;margin:8px 0 0;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;overflow:auto}.theme-light .protocol-result-preview pre{color:#0f172ac7}.protocol-warning-list{color:#ffc36a;background:#ffb14214;border:1px solid #ffb1424d;border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.5}.protocol-warning-list ul{margin:6px 0 0;padding-left:18px}.precise-cmf-node-body{gap:10px}.precise-cmf-step{background:#ffffff09;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.precise-cmf-step.ready{background:#49d17d12;border-color:#49d17d4d}.precise-cmf-step.required{background:#ffb14214;border-color:#ffb14257}.precise-cmf-step>div{gap:3px;min-width:0;display:grid}.precise-cmf-step strong,.precise-cmf-step span,.precise-cmf-step small{display:block}.precise-cmf-step strong{color:#ffffffeb;font-size:12px}.precise-cmf-step span{color:#ffffffc7;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.precise-cmf-step small{color:var(--muted);font-size:10px;line-height:1.4}.precise-cmf-step button,.precise-cmf-run{min-height:36px;color:var(--accent);font:inherit;cursor:pointer;white-space:nowrap;background:#25b7ff1f;border:1px solid #25b7ff47;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:11px;font-weight:700;display:inline-flex}.precise-cmf-step button:disabled,.precise-cmf-run:disabled{cursor:not-allowed;opacity:.45}.precise-cmf-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.precise-cmf-mask-preview{background:#25b7ff0e;border:1px solid #25b7ff38;border-radius:12px;grid-template-columns:148px minmax(0,1fr);gap:10px;padding:10px;display:grid}.precise-cmf-mask-image{width:148px;height:112px;color:var(--muted);cursor:zoom-in;background:#050505;border:1px solid #ffffff1f;border-radius:9px;place-items:center;padding:0;display:grid;overflow:hidden}.precise-cmf-mask-image-stage{max-width:100%;max-height:100%;line-height:0;display:inline-block;position:relative}.precise-cmf-mask-image-stage img{object-fit:contain;width:auto;max-width:148px;height:auto;max-height:112px;display:block}.precise-cmf-mask-label{color:#fff;text-align:center;pointer-events:none;background:#000000b8;border:1px solid #ffffffeb;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;line-height:15px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 4px #000000a6}.precise-cmf-region-panel{background:#25b7ff0e;border:1px solid #25b7ff38;border-radius:12px;align-content:start;gap:8px;min-width:0;padding:10px 12px;display:grid}.precise-cmf-region-panel strong,.precise-cmf-stage-heading strong{color:#ffffffe6;font-size:11px}.precise-cmf-region-panel small,.precise-cmf-stage-heading small{color:var(--muted);font-size:10px}.precise-cmf-show-mask-output{width:max-content;min-height:30px;color:var(--accent);font:inherit;cursor:pointer;background:#25b7ff1a;border:1px solid #25b7ff4d;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:10px;font-weight:750;display:inline-flex}.precise-cmf-show-mask-output:disabled{cursor:not-allowed;opacity:.45}.precise-cmf-region-chips{flex-wrap:wrap;gap:6px;display:flex}.precise-cmf-region-chips button{border:2px solid color-mix(in srgb, var(--region-color) 70%, white);background:color-mix(in srgb, var(--region-color) 28%, transparent);color:#ffffffeb;width:30px;height:30px;font:inherit;cursor:pointer;border-radius:8px;font-size:11px;font-weight:800;position:relative}.precise-cmf-region-chips button>small{color:#fff;text-align:center;background:#17191c;border:1px solid #ffffffb8;border-radius:999px;min-width:14px;height:14px;padding:0 3px;font-size:8px;line-height:12px;position:absolute;bottom:-4px;right:-4px}.precise-cmf-region-chips button.active{background:var(--region-color);color:#fff;box-shadow:0 0 0 2px #ffffffbf, 0 4px 12px color-mix(in srgb, var(--region-color) 45%, transparent)}.precise-cmf-region-chips button.assigned-other{opacity:.58;background:color-mix(in srgb, var(--region-color) 42%, transparent)}.precise-cmf-stage-two{background:#ffffff09;border:1px solid #ffffff1a;border-radius:12px;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px;display:grid}.precise-cmf-group-tabs{flex-wrap:wrap;gap:6px;display:flex}.precise-cmf-group-tabs button{color:#fffc;min-width:68px;font:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:9px;gap:2px;padding:7px 9px;font-size:10px;font-weight:750;display:grid}.precise-cmf-group-tabs button small{max-width:88px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:500;overflow:hidden}.precise-cmf-group-tabs button.active{color:var(--accent);background:#25b7ff24;border-color:#25b7ff7a}.precise-cmf-group-tabs button.add{min-width:82px;color:var(--accent);justify-content:center;align-items:center;display:inline-flex}.precise-cmf-group-editor{background:#0000001f;border:1px solid #ffffff17;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px;display:grid}.precise-cmf-group-editor-heading{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;display:flex}.precise-cmf-group-editor-heading strong{color:#ffffffe6;font-size:11px}.precise-cmf-group-editor-heading button{color:#ff9f9f;font:inherit;cursor:pointer;background:#ff5d5d14;border:0;border-radius:7px;align-items:center;gap:4px;padding:5px 7px;font-size:9px;display:inline-flex}.precise-cmf-group-editor-heading button:disabled,.precise-cmf-group-tabs button:disabled{cursor:not-allowed;opacity:.42}.precise-cmf-material-select{color:var(--muted);gap:5px;font-size:10px;display:grid}.precise-cmf-material-select select{box-sizing:border-box;color:#ffffffe6;width:100%;min-width:0;min-height:36px;font:inherit;background:#0000002e;border:1px solid #ffffff1a;border-radius:9px;outline:0;padding:8px 9px;font-size:11px}.precise-cmf-group-editor .precise-cmf-fields{grid-column:1/-1}.precise-cmf-group-validation{color:#ff9f9f;font-size:10px;line-height:1.4}.precise-cmf-stage-heading{gap:4px;min-width:0;display:grid}.precise-cmf-inspect-group-masks{width:max-content;min-height:30px;color:var(--accent);font:inherit;cursor:pointer;background:#25b7ff1a;border:1px solid #25b7ff4d;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin-top:4px;padding:0 9px;font-size:10px;font-weight:750;display:inline-flex}.precise-cmf-inspect-group-masks:disabled{cursor:not-allowed;opacity:.45}.precise-cmf-target-regions{color:var(--muted);gap:5px;font-size:10px;display:grid}.precise-cmf-target-regions input{box-sizing:border-box;color:#ffffffe6;width:100%;min-width:0;min-height:36px;font:inherit;background:#0000002e;border:1px solid #ffffff1a;border-radius:9px;outline:0;padding:8px 9px;font-size:11px}.precise-cmf-material-mode{color:#ffc36a;background:#ffb14214;border-radius:8px;grid-column:1/-1;align-items:center;gap:7px;padding:8px 9px;font-size:10px;line-height:1.4;display:flex}.precise-cmf-material-mode.reference{color:#72dfa0;background:#49d17d14}.precise-cmf-material-mode.error{color:#ff9f9f;background:#ff5d5d1a}.precise-cmf-fields.disabled label:not(.precise-cmf-notes){opacity:.48}.precise-cmf-fields label,.precise-cmf-generation label{min-width:0;color:var(--muted);gap:5px;font-size:10px;display:grid}.precise-cmf-fields input,.precise-cmf-fields textarea,.precise-cmf-generation select{box-sizing:border-box;color:#ffffffe6;width:100%;min-width:0;min-height:36px;font:inherit;background:#0000002e;border:1px solid #ffffff1a;border-radius:9px;outline:0;padding:8px 9px;font-size:11px}.precise-cmf-fields .precise-cmf-notes{grid-column:1/-1}.precise-cmf-fields textarea{resize:vertical;min-height:58px;line-height:1.45}.precise-cmf-generation{grid-template-columns:minmax(0,1fr);align-items:end;gap:8px;display:grid}.precise-cmf-fixed-model{background:#52d2ff12;border:1px solid #52d2ff38;border-radius:10px;gap:4px;min-width:0;padding:9px 10px;display:grid}.precise-cmf-fixed-model>span,.precise-cmf-fixed-model>small{color:var(--muted);font-size:10px}.precise-cmf-fixed-model>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.precise-cmf-fixed-model.missing{background:#ff646412;border-color:#ff787840}.precise-cmf-generation>small{color:var(--muted);grid-column:1/-1;font-size:10px;line-height:1.4}.precise-cmf-generation>small.unsupported{color:#ff9f9f}.precise-cmf-generation .precise-cmf-run{background:linear-gradient(135deg,#25b7ff3d,#755bff33);grid-column:1/-1;min-height:42px;font-size:12px}.precise-cmf-freeze-note{color:#72dfa0;background:#49d17d14;border-radius:9px;align-items:center;gap:7px;padding:8px 10px;font-size:10px;line-height:1.4;display:flex}.theme-light .precise-cmf-step strong,.theme-light .precise-cmf-step span,.theme-light .precise-cmf-region-panel strong,.theme-light .precise-cmf-stage-heading strong,.theme-light .precise-cmf-group-editor-heading strong,.theme-light .precise-cmf-group-tabs button,.theme-light .precise-cmf-fields input,.theme-light .precise-cmf-fields textarea,.theme-light .precise-cmf-target-regions input,.theme-light .precise-cmf-material-select select,.theme-light .precise-cmf-generation select{color:#0f172ae6}.theme-light .precise-cmf-fields input,.theme-light .precise-cmf-fields textarea,.theme-light .precise-cmf-target-regions input,.theme-light .precise-cmf-material-select select,.theme-light .precise-cmf-generation select{background:#0f172a0a;border-color:#0f172a1f}.workflow-node.ai-video-project{border-color:#95f3cf4d;width:720px}.workflow-node.ai-video-rule-pack{border-color:#a78bfa57;width:360px}.workflow-node.ai-video-initial-script,.workflow-node.ai-video-global-settings,.workflow-node.ai-video-storyboard{width:var(--ai-video-script-node-width,680px);height:var(--ai-video-script-node-height,940px);border-color:#2dd4bf52;flex-direction:column;display:flex}.workflow-node.ai-video-initial-script>header{flex:none}.workflow-node.ai-video-global-settings{border-color:#2dd4bf52}.workflow-node.ai-video-storyboard{border-color:#38bdf861}.workflow-node.ai-video-project header,.workflow-node.ai-video-rule-pack header,.workflow-node.ai-video-initial-script header,.workflow-node.ai-video-global-settings header,.workflow-node.ai-video-storyboard header{min-height:52px}.ai-video-shell{color:#ffffffe6;gap:11px;padding:0 15px 15px;font-size:12px;display:grid}.ai-video-node-intro{color:var(--muted);line-height:1.55}.ai-video-field{color:var(--muted);gap:6px;display:grid}.ai-video-field select,.ai-video-field input,.ai-video-field textarea,.ai-video-rule-content{color:#ffffffeb;width:100%;font:inherit;box-sizing:border-box;background:#00000038;border:1px solid #ffffff1c;border-radius:10px;outline:none}.ai-video-field select,.ai-video-field input{height:36px;padding:0 9px}.ai-video-rule-library{background:#2dd4bf0b;border:1px solid #2dd4bf2b;border-radius:12px;gap:9px;padding:10px;display:grid}.ai-video-rule-library-actions{flex-wrap:wrap;gap:7px;display:flex}.ai-video-rule-content{resize:vertical;white-space:pre-wrap;min-height:190px;max-height:340px;padding:10px;line-height:1.55}.ai-video-rule-content:read-only{color:#ffffffa8;background:#ffffff09}.ai-video-revision{resize:vertical;min-height:76px;padding:9px 10px;line-height:1.5}.ai-video-revision-input{position:relative}.ai-video-revision-input .reference-mention-popover{z-index:90;width:min(300px,100%);top:auto;bottom:calc(100% + 6px)}.ai-video-image-reference-hint{color:#81e6d9c7;font-size:11px;line-height:1.45}.ai-video-reference-thumbnail-strip{gap:8px;padding:2px 1px 5px;display:flex;overflow-x:auto}.ai-video-reference-thumbnail-strip button{color:#ffffffc7;text-align:left;background:#2dd4bf0b;border:1px solid #2dd4bf38;border-radius:9px;flex:0 0 82px;grid-template-rows:54px auto auto;gap:3px;min-width:0;padding:5px;display:grid}.ai-video-reference-thumbnail-strip img,.ai-video-reference-thumbnail-strip button>span{object-fit:cover;background:#ffffff0d;border-radius:6px;width:100%;height:54px}.ai-video-reference-thumbnail-strip button>span{color:var(--muted);place-items:center;font-size:10px;display:grid}.ai-video-reference-thumbnail-strip strong,.ai-video-reference-thumbnail-strip small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-video-reference-thumbnail-strip strong{color:#7dd3c7;font-size:10px}.ai-video-reference-thumbnail-strip small{color:var(--muted);font-size:9px}.ai-video-meta-row,.ai-video-status-row,.ai-video-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-video-badge{color:#ffffffb8;background:#ffffff0e;border:1px solid #ffffff1a;border-radius:999px;align-items:center;min-height:23px;padding:0 8px;font-size:11px;display:inline-flex}.ai-video-badge.is-official,.ai-video-badge.status-approved{color:#8ef0da;background:#2dd4bf1a;border-color:#2dd4bf59}.ai-video-badge.is-custom,.ai-video-badge.status-awaiting_review{color:#fde68a;background:#facc151a;border-color:#facc1552}.ai-video-badge.status-stale{color:#fda4af;background:#fb71851a;border-color:#fb718566}.ai-video-version-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-video-secondary-button,.ai-video-danger-button,.ai-video-run-button,.ai-video-approve-button,.ai-video-file-button{color:#ffffffe0;min-height:36px;font:inherit;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-weight:650;display:inline-flex}.ai-video-danger-button{color:#fda4af;min-height:36px;font:inherit;cursor:pointer;background:#fb718514;border:1px solid #fb71854d;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-weight:650;display:inline-flex}.ai-video-run-button,.ai-video-approve-button{width:100%}.ai-video-run-button{color:#9bdcf9;background:#38bdf821;border-color:#38bdf861}.ai-video-approve-button{color:#8ef0da;background:#2dd4bf1a;border-color:#2dd4bf59}.ai-video-approve-button.is-approved{background:#2dd4bf2e}.ai-video-secondary-button:disabled,.ai-video-danger-button:disabled,.ai-video-run-button:disabled,.ai-video-approve-button:disabled{opacity:.48;cursor:not-allowed}.ai-video-file-button{width:-moz-fit-content;width:fit-content;position:relative;overflow:hidden}.ai-video-file-button input{opacity:0;width:1px;height:1px;position:absolute}.ai-video-file-list{flex-wrap:wrap;gap:6px;display:flex}.ai-video-file-chip{text-overflow:ellipsis;white-space:nowrap;background:#fff1;border-radius:8px;align-items:center;gap:4px;max-width:100%;padding:5px 7px;display:inline-flex;overflow:hidden}.ai-video-file-chip button{width:18px;height:18px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;padding:0;display:inline-grid}.ai-video-input-hint,.ai-video-warning,.ai-video-error,.ai-video-validation{border:1px solid #ffffff17;border-radius:10px;padding:8px 9px;line-height:1.5}.ai-video-input-hint{color:var(--muted);background:#ffffff08}.ai-video-warning,.ai-video-error{color:#fda4af;background:#fb718514;border-color:#fb718538;align-items:flex-start;gap:6px;display:flex}.ai-video-warning svg,.ai-video-error svg{flex:none;margin-top:2px}.ai-video-validation{color:#fde68a;background:#facc1512;border-color:#facc153d}.ai-video-validation ul{margin:6px 0 0;padding-left:18px}.ai-video-output{color:#ffffffdb;white-space:pre-wrap;word-break:break-word;background:#0003;border:1px solid #ffffff1a;border-radius:10px;max-height:340px;margin:0;padding:10px;font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:11px;line-height:1.6;overflow:auto}.ai-video-rule-snapshot{color:var(--muted);font-size:10px;line-height:1.6}.ai-video-rule-snapshot summary{cursor:pointer}.ai-video-script-conversation-shell{overscroll-behavior:contain;flex:auto;gap:13px;min-height:0;max-height:none;padding-right:11px;overflow-y:auto}.workflow-node.ai-video-initial-script .ai-video-script-resize-line,.workflow-node.ai-video-global-settings .ai-video-script-resize-line,.workflow-node.ai-video-storyboard .ai-video-script-resize-line{z-index:76;border-color:#2dd4bf7a!important}.workflow-node.ai-video-initial-script .ai-video-script-resize-handle,.workflow-node.ai-video-global-settings .ai-video-script-resize-handle,.workflow-node.ai-video-storyboard .ai-video-script-resize-handle{z-index:77;background:#ecfffb!important;border:2px solid #2dd4bf!important;border-radius:4px!important;width:13px!important;height:13px!important}.workflow-node.ai-video-initial-script .ai-video-script-legacy-input-handle{opacity:0;pointer-events:none;border:0;width:1px;height:1px}.ai-video-script-stagebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.ai-video-script-stagebar>button,.ai-video-script-stagebar>div{color:#ffffff61;min-width:0;font:inherit;background:#ffffff06;border:1px solid #ffffff14;border-radius:9px;place-items:center;gap:4px;padding:7px 3px;font-size:9px;display:grid}.ai-video-script-stagebar>button{cursor:pointer}.ai-video-script-stagebar span{background:#ffffff12;border-radius:50%;place-items:center;width:18px;height:18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;display:grid}.ai-video-script-stagebar>div.complete,.ai-video-script-stagebar>button.complete,.ai-video-script-stagebar>button.current{color:#8ef0dab8}.ai-video-script-stagebar>button.active,.ai-video-script-stagebar>div.active{color:#a9f4e3;background:#2dd4bf17;border-color:#2dd4bf5c}.ai-video-script-stagebar>button:disabled{cursor:not-allowed;opacity:.46}.ai-video-stage-view-hint{color:var(--muted);margin-top:-6px;font-size:10px;line-height:1.45}.ai-video-approved-stage-summary{background:#2dd4bf0f;border:1px solid #2dd4bf38;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.ai-video-approved-stage-summary>div{gap:4px;min-width:0;display:grid}.ai-video-approved-stage-summary span{color:var(--muted);font-size:10px;line-height:1.45}.ai-video-approved-stage-summary .ai-video-secondary-button{flex:none}.ai-video-version-history{gap:7px;display:grid}.ai-video-version-history-header{color:#ffffffb8;justify-content:space-between;align-items:center;gap:10px;font-size:10px;display:flex}.ai-video-version-latest-button{color:#9ee9d8;font:inherit;cursor:pointer;background:#2dd4bf12;border:1px solid #2dd4bf3d;border-radius:7px;padding:4px 8px;font-size:9px}.ai-video-version-latest-button:disabled{opacity:.42;cursor:default}.ai-video-version-history-list{scrollbar-gutter:stable;overscroll-behavior:contain;gap:5px;max-height:210px;padding:2px 5px 2px 2px;display:grid;overflow-y:auto}.ai-video-version-history-list>button{color:#ffffffbf;width:100%;min-height:38px;font:inherit;text-align:left;cursor:pointer;background:#ffffff06;border:1px solid #ffffff14;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;display:flex}.ai-video-version-history-list>button:hover,.ai-video-version-history-list>button.is-current{color:#a9f4e3;background:#2dd4bf14;border-color:#2dd4bf57}.ai-video-version-history-list>button span{color:var(--muted);text-align:right;font-size:9px}.ai-video-approved-script-source-control{background:#2dd4bf0b;border:1px solid #2dd4bf2e;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;padding:9px;display:flex}.ai-video-approved-script-source-control>div{gap:3px;display:grid}.ai-video-approved-script-source-control strong{color:#d8fff6d6;font-size:10px}.ai-video-approved-script-source-control span{color:var(--muted);font-size:9px;line-height:1.45}.ai-video-approved-script-source-control button{flex:none}.ai-video-section-title{color:#ffffffc7;align-items:center;gap:6px;display:flex}.ai-video-script-port-list{gap:6px;display:grid}.ai-video-script-port-row{background:#ffffff06;border:1px solid #ffffff12;border-radius:9px;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:48px;padding:7px 9px;display:grid}.ai-video-script-port-row.is-connected{background:#2dd4bf0e;border-color:#2dd4bf47}.ai-video-script-port-badge{color:#7dd3fc;background:#38bdf81f;border-radius:50%;place-items:center;width:26px;height:26px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:800;display:grid}.ai-video-script-port-row.is-connected .ai-video-script-port-badge{color:#8ef0da;background:#2dd4bf29}.ai-video-script-port-row>div{gap:2px;min-width:0;display:grid}.ai-video-script-port-row strong{color:#b7f7e7db;font-size:10px}.ai-video-script-port-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.45;overflow:hidden}.ai-video-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.ai-video-source-grid>div{background:#ffffff06;border:1px solid #ffffff12;border-radius:9px;gap:3px;min-width:0;padding:8px;display:grid}.ai-video-source-grid>div.is-ready{background:#2dd4bf0e;border-color:#2dd4bf40}.ai-video-source-grid span{color:var(--muted);font-size:9px}.ai-video-source-grid strong{color:#ffffffc7;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.ai-video-material-intake,.ai-video-information-card,.ai-video-conversation,.ai-video-open-questions,.ai-video-change-summary,.ai-video-settings-needed{background:#ffffff06;border:1px solid #ffffff17;border-radius:11px;gap:8px;padding:10px;display:grid}.ai-video-conversation{max-height:300px;overflow-y:auto}.ai-video-message{border-radius:10px;gap:4px;max-width:88%;padding:8px 9px;line-height:1.55;display:grid}.ai-video-message span{color:var(--muted);font-size:9px;font-weight:800}.ai-video-message p,.ai-video-change-summary p,.ai-video-info-card-row p{white-space:pre-wrap;margin:0}.ai-video-message.user{background:#38bdf81a;justify-self:end}.ai-video-message.assistant{background:#2dd4bf17;justify-self:start}.ai-video-info-card-row{border-top:1px solid #ffffff0f;grid-template-columns:112px minmax(0,1fr);gap:10px;padding-top:7px;line-height:1.5;display:grid}.ai-video-info-card-row>span{color:var(--muted);font-size:10px}.ai-video-open-questions{color:#fde68a;background:#facc150f;border-color:#facc153d}.ai-video-open-questions ol,.ai-video-settings-needed ul{margin:0;padding-left:20px;line-height:1.55}.ai-video-ready-actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;display:grid}.ai-video-ready-actions .ai-video-secondary-button{width:100%}.ai-video-script-table-wrap{border:1px solid #ffffff1a;border-radius:11px;max-height:520px;overflow:auto}.ai-video-script-table{border-collapse:collapse;background:#00000026;width:100%;font-size:10px;line-height:1.55}.ai-video-script-table th,.ai-video-script-table td{vertical-align:top;text-align:left;border-bottom:1px solid #ffffff12;border-right:1px solid #ffffff12;padding:8px}.ai-video-script-table th{z-index:1;color:#b7f7e7;background:#17201e;position:sticky;top:0}.ai-video-script-table th:first-child,.ai-video-script-table td:first-child{width:54px}.ai-video-script-table th:nth-child(2),.ai-video-script-table td:nth-child(2){width:82px}.ai-video-script-table th:nth-child(3),.ai-video-script-table td:nth-child(3){width:150px}.ai-video-script-table th:nth-child(5),.ai-video-script-table td:nth-child(5){text-align:center;width:40px}.ai-video-script-table button{color:#9ee9d8;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:7px;place-items:center;width:26px;height:26px;padding:0;display:inline-grid}.ai-video-settings-needed{color:#b8e8fb;background:#38bdf80e;border-color:#38bdf833}.ai-video-settings-needed>div:first-child{gap:3px;display:grid}.ai-video-settings-needed>div:first-child span{color:var(--muted);font-size:9px;line-height:1.45}.ai-video-settings-needed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.ai-video-settings-needed-grid section{background:#0000001f;border:1px solid #38bdf824;border-radius:9px;align-content:start;gap:5px;min-height:68px;padding:8px;display:grid}.ai-video-settings-needed-grid section>strong{color:#d8f4ff;font-size:10px}.ai-video-settings-needed-grid ul{color:#dbf4ffc7;margin:0;padding-left:16px;font-size:9px}.ai-video-settings-needed-grid p{color:var(--muted);margin:0;font-size:9px}.theme-light .ai-video-shell{color:#0f172ae6}.theme-light .ai-video-field select,.theme-light .ai-video-field input,.theme-light .ai-video-field textarea,.theme-light .ai-video-rule-content,.theme-light .ai-video-output{color:#0f172ae0;background:#0f172a09;border-color:#0f172a1f}.theme-light .ai-video-rule-content:read-only{color:#0f172aa8}.theme-light .ai-video-rule-library{background:#0d94880a;border-color:#0d94882e}.theme-light .ai-video-script-stagebar>div,.theme-light .ai-video-material-intake,.theme-light .ai-video-information-card,.theme-light .ai-video-conversation,.theme-light .ai-video-open-questions,.theme-light .ai-video-change-summary,.theme-light .ai-video-settings-needed{color:#0f172ad1;background:#0f172a06;border-color:#0f172a1a}.theme-light .ai-video-script-port-row{background:#0f172a06;border-color:#0f172a14}.theme-light .ai-video-settings-needed-grid section{background:#0e749009;border-color:#0e749021}.theme-light .ai-video-settings-needed-grid section>strong{color:#0f172adb}.theme-light .ai-video-settings-needed-grid ul{color:#0f172ab3}.theme-light .ai-video-version-history-header,.theme-light .ai-video-version-history-list>button{color:#0f172ac7}.theme-light .ai-video-version-history-list>button{background:#0f172a06;border-color:#0f172a1a}.theme-light .ai-video-version-history-list>button:hover,.theme-light .ai-video-version-history-list>button.is-current{color:#0f172ae6;background:#0d948812;border-color:#0d948847}.theme-light .ai-video-source-grid>div{background:#0f172a06;border-color:#0f172a14}.theme-light .ai-video-source-grid>div.is-ready{background:#0d94880e;border-color:#0d948838}.theme-light .ai-video-source-grid strong{color:#0f172ac7}.theme-light .ai-video-reference-thumbnail-strip button{color:#0f172ac7;background:#0d94880b;border-color:#0d948833}.theme-light .ai-video-reference-thumbnail-strip strong{color:#0f766e}.theme-light .ai-video-script-port-row.is-connected{background:#0d94880e;border-color:#0d94883d}.theme-light .ai-video-script-port-row strong{color:#155e55}.theme-light .ai-video-section-title{color:#0f172ac7}.theme-light .ai-video-info-card-row{border-color:#0f172a14}.theme-light .ai-video-script-table{color:#0f172ae0;background:#fff}.theme-light .ai-video-script-table th{color:#155e55;background:#e8f5f1}.theme-light .ai-video-script-table th,.theme-light .ai-video-script-table td{border-color:#0f172a1a}.ai-video-project-shell{gap:16px;padding:4px 2px 2px;display:grid}.ai-video-project-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.ai-video-project-kicker{color:#95f3cf;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:7px;font-size:11px;font-weight:900;display:inline-flex}.ai-video-project-heading p{color:#ffffff8f;max-width:530px;margin:7px 0 0;font-size:12px;line-height:1.6}.ai-video-project-progress{color:#beffe6d1;background:#95f3cf12;border:1px solid #95f3cf2e;border-radius:999px;flex:none;padding:6px 9px;font-size:10px;font-weight:900}.ai-video-module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ai-video-module-card{background:linear-gradient(145deg,#ffffff0e,#ffffff05),#090b0cbd;border:1px solid #ffffff17;border-radius:14px;outline:none;flex-direction:column;gap:9px;min-width:0;min-height:210px;padding:14px;transition:border-color .18s,transform .18s,background .18s;display:flex;box-shadow:inset 0 1px #ffffff0a}.ai-video-module-card:hover,.ai-video-module-card:focus-visible{background:linear-gradient(145deg,#95f3cf17,#ffffff05),#090b0cd1;border-color:#95f3cf61;transform:translateY(-2px)}.ai-video-module-card-topline,.ai-video-module-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.ai-video-module-index{color:#ffffff4d;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:900}.ai-video-module-status{color:#ffffff8c;text-overflow:ellipsis;white-space:nowrap;background:#ffffff0e;border-radius:999px;max-width:126px;padding:4px 7px;font-size:9px;font-weight:900;overflow:hidden}.ai-video-module-status.status-approved{color:#8cecc8;background:#22c5901f}.ai-video-module-status.status-awaiting_review{color:#8cdcff;background:#38bdf81f}.ai-video-module-status.status-stale{color:#fde68a;background:#facc151f}.ai-video-module-title{color:#ffffffeb;justify-content:flex-start;font-size:14px}.ai-video-module-title svg{color:#95f3cf}.ai-video-module-description{color:#fff6;font-size:10px;line-height:1.45}.ai-video-module-card p{color:#ffffff9e;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:49px;margin:0;font-size:10px;line-height:1.65;display:-webkit-box;overflow:hidden}.ai-video-module-card button{color:#baffdf;background:#95f3cf12;border:1px solid #95f3cf2e;border-radius:9px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:31px;margin-top:auto;font-size:10px;font-weight:900;display:inline-flex}.ai-video-module-card button:hover{background:#95f3cf1f;border-color:#95f3cf57}.ai-video-subcanvas-toolbar{z-index:42;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d0f10e6;border:1px solid #ffffff1f;border-radius:16px;align-items:center;gap:12px;width:min(1180px,100% - 40px);min-height:52px;padding:8px 10px;display:flex;position:absolute;top:72px;left:50%;transform:translate(-50%);box-shadow:0 18px 46px #00000059}.canvas-panel.ai-video-subcanvas-active{box-sizing:border-box;padding-top:132px}.canvas-panel.ai-video-subcanvas-active>.react-flow{height:100%}.ai-video-subcanvas-toolbar button{color:#ffffffb8;background:#ffffff09;border:1px solid #ffffff17;border-radius:9px;min-height:34px;font-size:10px;font-weight:850}.ai-video-subcanvas-toolbar button:hover:not(:disabled),.ai-video-subcanvas-toolbar button.active{color:#c5ffe7;background:#95f3cf1a;border-color:#95f3cf4d}.ai-video-subcanvas-toolbar button:disabled{opacity:.34}.ai-video-subcanvas-back{align-items:center;gap:4px;padding:0 10px;display:inline-flex}.ai-video-subcanvas-breadcrumb{color:#ffffff80;align-items:center;gap:7px;min-width:158px;font-size:11px;display:flex}.ai-video-subcanvas-breadcrumb strong{color:#ffffffe0}.ai-video-subcanvas-tabs{border-left:1px solid #ffffff14;border-right:1px solid #ffffff14;align-items:center;gap:5px;padding:0 8px;display:flex}.ai-video-subcanvas-tabs button{padding:0 10px}.ai-video-subcanvas-tabs button span{color:#ffffff52;margin-right:5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.ai-video-subcanvas-transfer{align-items:center;gap:6px;min-width:0;margin-left:auto;display:flex}.ai-video-subcanvas-transfer>span{color:#ffffff61;text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:9px;overflow:hidden}.ai-video-subcanvas-transfer button{padding:0 8px}.ai-video-subcanvas-transfer .ai-video-material-segmentation-open{color:#a9f4e3;border-color:#2dd4bf42;align-items:center;gap:5px;display:inline-flex}.ai-video-material-segmentation-dialog{border:1px solid var(--line);background:var(--panel-solid);border-radius:10px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:14px;width:min(980px,100vw - 48px);max-height:min(820px,100vh - 72px);padding:18px;display:grid;box-shadow:0 28px 80px #0000008a}.ai-video-material-segmentation-dialog header,.ai-video-material-segmentation-dialog footer{justify-content:space-between;align-items:center;gap:14px;display:flex}.ai-video-material-segmentation-dialog header>div,.ai-video-material-segmentation-summary>div{gap:4px;display:grid}.ai-video-material-segmentation-dialog header strong{color:var(--text);align-items:center;gap:7px;font-size:17px;display:inline-flex}.ai-video-material-segmentation-dialog header span,.ai-video-material-segmentation-dialog footer>span,.ai-video-material-segmentation-summary span{color:var(--muted);font-size:12px}.ai-video-material-segmentation-dialog header button{width:32px;height:32px;padding:0;font-size:22px;line-height:1}.ai-video-material-segmentation-summary{background:#2dd4bf0e;border:1px solid #2dd4bf33;border-radius:8px;gap:8px;padding:11px 12px;display:grid}.ai-video-material-storyboard-source{grid-template-columns:130px minmax(0,1fr);align-items:center;gap:10px;display:grid}.ai-video-material-storyboard-source select{border:1px solid var(--border);width:100%;min-height:34px;color:var(--text);background:var(--panel-strong);border-radius:7px;padding:6px 10px}.ai-video-material-segmentation-summary strong{color:#a9f4e3;font-size:14px}.ai-video-material-segmentation-summary p{color:#f4c86e;margin:0;font-size:11px;line-height:1.55}.ai-video-material-segmentation-body{grid-template-columns:minmax(0,1fr) 300px;gap:14px;min-height:0;display:grid}.ai-video-material-shot-list,.ai-video-material-segment-preview>div{scrollbar-gutter:stable;align-content:start;gap:7px;min-height:0;padding-right:5px;display:grid;overflow-y:auto}.ai-video-material-shot-row{border:1px solid var(--line);background:var(--panel-soft);cursor:pointer;border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 11px;display:grid}.ai-video-material-shot-row.is-break{border-color:#2dd4bf6b;box-shadow:inset 0 -3px #2dd4bf3d}.ai-video-material-shot-row.is-last{cursor:default}.ai-video-material-shot-number{color:#8ef0da;background:#2dd4bf1f;border-radius:8px;place-items:center;width:32px;height:32px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;font-weight:800;display:grid}.ai-video-material-shot-content{gap:4px;min-width:0;display:grid}.ai-video-material-shot-content strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.ai-video-material-shot-content small,.ai-video-material-shot-row em{color:var(--muted);font-size:11px;font-style:normal}.ai-video-material-break-toggle{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:inline-flex}.ai-video-material-break-toggle input{accent-color:#2dd4bf}.ai-video-material-segment-preview{border:1px solid var(--line);background:var(--panel-soft);border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:9px;min-height:0;padding:12px;display:grid}.ai-video-material-segment-preview>strong{color:var(--text);font-size:13px}.ai-video-material-segment-preview article{background:#2dd4bf0e;border-left:3px solid #2dd4bf70;border-radius:6px;gap:4px;padding:9px 10px;display:grid}.ai-video-material-segment-preview article span,.ai-video-material-segment-preview article small{color:var(--muted);font-size:10px}.ai-video-material-segment-preview article strong{color:var(--text);font-size:12px}.ai-video-material-segmentation-dialog footer>div{align-items:center;gap:8px;display:flex}.ai-video-material-segmentation-dialog footer button{min-width:88px}.ai-video-material-segmentation-dialog footer button.primary{color:#b9ffed;background:#2dd4bf29;border-color:#2dd4bf66}.theme-light .ai-video-project-heading p,.theme-light .ai-video-module-description,.theme-light .ai-video-module-card p{color:#0f172a99}.theme-light .ai-video-module-card{background:#ffffffd1;border-color:#0f172a1a;box-shadow:0 10px 30px #0f172a14}.theme-light .ai-video-module-title,.theme-light .ai-video-module-index{color:#0f172ad1}.theme-light .ai-video-subcanvas-toolbar{background:#ffffffeb;border-color:#0f172a1f;box-shadow:0 18px 46px #0f172a29}.theme-light .ai-video-subcanvas-toolbar button,.theme-light .ai-video-subcanvas-breadcrumb,.theme-light .ai-video-subcanvas-transfer>span{color:#0f172a9e}.theme-light .ai-video-subcanvas-breadcrumb strong{color:#0f172ae6}.theme-light .ai-video-material-segmentation-dialog{background:#fff}.theme-light .ai-video-material-segmentation-summary,.theme-light .ai-video-material-segment-preview article{background:#0d94880f}.theme-light .ai-video-material-segmentation-summary strong,.theme-light .ai-video-subcanvas-transfer .ai-video-material-segmentation-open{color:#0f766e}@media (max-width:1050px){.ai-video-subcanvas-breadcrumb,.ai-video-subcanvas-transfer>span{display:none}.ai-video-subcanvas-toolbar{width:calc(100% - 24px)}.ai-video-material-segmentation-body{grid-template-columns:1fr}.ai-video-material-segment-preview{max-height:220px}}.workflow-node.quick-edit{min-width:520px;min-height:360px}.quick-edit-node-shell{gap:12px;padding:12px;display:grid}.quick-edit-node-summary,.quick-edit-node-track-summary,.quick-edit-node-export{color:#e8f4f6b3;justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.quick-edit-node-summary span,.quick-edit-node-export{align-items:center;gap:6px;display:inline-flex}.quick-edit-node-preview-grid{background:#0a0e10;border:1px solid #ffffff14;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:190px;padding:6px;display:grid}.quick-edit-node-preview,.quick-edit-node-empty{background:#ffffff0a;border-radius:8px;min-height:86px;overflow:hidden}.quick-edit-node-preview img,.quick-edit-node-preview video{object-fit:cover;width:100%;height:100%}.quick-edit-node-preview.kind-audio,.quick-edit-node-empty{color:#e8f4f673;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.quick-edit-node-empty{grid-column:1/-1}.quick-edit-node-track-summary{justify-content:flex-start}.quick-edit-node-track-summary span{background:#2dd4bf14;border-radius:999px;padding:5px 8px}.quick-edit-node-export{color:#82f6dc;justify-content:flex-start}.quick-edit-node-open{color:#b9ffed;background:#2dd4bf1f;border:1px solid #2dd4bf52;border-radius:10px;justify-content:center;align-items:center;gap:8px;height:38px;display:inline-flex}.quick-edit-workspace-backdrop{z-index:1600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.quick-edit-workspace{color:#eefafa;background:#121718;border:1px solid #ffffff1f;border-radius:18px;grid-template-rows:auto minmax(0,1fr) 290px;width:min(1560px,100vw - 48px);height:min(940px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 34px 90px #00000085}.quick-edit-workspace button,.quick-edit-workspace input,.quick-edit-workspace select{font:inherit}.quick-edit-workspace-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:12px 18px;display:flex}.quick-edit-workspace-header>div,.quick-edit-workspace-actions,.quick-edit-preview-controls,.quick-edit-order-actions{align-items:center;gap:10px;display:flex}.quick-edit-workspace-header span{color:#e8f4f670;font-size:12px}.quick-edit-workspace-actions button,.quick-edit-preview-controls button,.quick-edit-order-actions button{min-height:34px;color:inherit;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.quick-edit-workspace-actions button.primary{color:#b9ffed;background:#2dd4bf29;border-color:#2dd4bf61}.quick-edit-workspace-actions button.icon{width:34px;padding:0}.quick-edit-workspace button:disabled{opacity:.42}.quick-edit-workspace-body{grid-template-columns:270px minmax(420px,1fr) 260px;min-height:0;display:grid}.quick-edit-source-panel,.quick-edit-inspector{background:#ffffff05;min-height:0;padding:16px;overflow:auto}.quick-edit-source-panel{border-right:1px solid #ffffff14}.quick-edit-inspector{border-left:1px solid #ffffff14}.quick-edit-source-panel h3,.quick-edit-inspector h3{margin:0 0 6px;font-size:14px}.quick-edit-source-panel>p,.quick-edit-inspector>p{color:#e8f4f67a;margin:0 0 14px;font-size:12px;line-height:1.6}.quick-edit-source-list{gap:10px;display:grid}.quick-edit-source-list article{background:#ffffff06;border:1px solid #ffffff14;border-radius:10px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:7px 9px;padding:8px;display:grid}.quick-edit-source-preview{background:#090d0e;border-radius:7px;grid-row:1/3;place-items:center;width:58px;height:58px;display:grid;overflow:hidden}.quick-edit-source-preview img,.quick-edit-source-preview video{object-fit:cover;width:100%;height:100%}.quick-edit-source-list article>span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.quick-edit-source-list article>button{color:#8ff7df;background:#2dd4bf1f;border:0;border-radius:6px;justify-self:start;align-items:center;gap:4px;padding:4px 7px;font-size:11px;display:inline-flex}.quick-edit-source-empty{color:#e8f4f66b;text-align:center;padding:28px 14px;line-height:1.6}.quick-edit-stage-panel{background:#080b0c;align-content:center;justify-items:center;gap:14px;min-width:0;padding:24px;display:grid}.quick-edit-stage{aspect-ratio:16/9;background:#000;place-items:center;width:min(100%,880px);display:grid;overflow:hidden;box-shadow:0 0 0 1px #ffffff14}.quick-edit-stage.ratio-9-16{aspect-ratio:9/16;width:min(52%,420px)}.quick-edit-stage.ratio-1-1{aspect-ratio:1;width:min(74%,620px)}.quick-edit-stage img,.quick-edit-stage video{object-fit:contain;width:100%;height:100%}.quick-edit-stage-empty{color:#e8f4f652;flex-direction:column;align-items:center;gap:10px;display:flex}.quick-edit-preview-controls{flex-wrap:wrap;justify-content:center}.quick-edit-preview-controls label,.quick-edit-inspector label{color:#e8f4f694;gap:6px;font-size:12px;display:grid}.quick-edit-preview-controls label{grid-template-columns:auto auto;align-items:center}.quick-edit-workspace select,.quick-edit-workspace input[type=number]{min-height:32px;color:inherit;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:7px}.quick-edit-inspector{flex-direction:column;gap:14px;display:flex}.quick-edit-inspector input[type=number]{width:100%;padding:0 8px}.quick-edit-timeline-panel{background:#0c1011;border-top:1px solid #ffffff14;padding:12px 16px 18px;overflow:auto}.quick-edit-timeline-ruler{color:#e8f4f661;justify-content:space-between;margin:0 0 8px 72px;font-size:11px;display:flex}.quick-edit-track{grid-template-columns:64px minmax(0,1fr);align-items:stretch;gap:8px;min-height:82px;margin-top:8px;display:grid}.quick-edit-track>strong{color:#e8f4f680;place-items:center;font-size:12px;display:grid}.quick-edit-track-clips{background:#ffffff06;border-radius:9px;align-items:stretch;gap:4px;min-width:0;padding:6px;display:flex}.quick-edit-track-clips>button{color:#dffbf5;text-align:left;background:#2dd4bf14;border:1px solid #2dd4bf2e;border-radius:7px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:6px;min-width:72px;padding:8px;display:flex;overflow:hidden}.quick-edit-track-clips>button.selected{border-color:#4ce0c2;box-shadow:inset 0 0 0 1px #4ce0c273}.quick-edit-track-clips>button span{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:11px;overflow:hidden}.quick-edit-track-clips>button em{color:#dffbf58c;font-size:10px;font-style:normal}.quick-edit-track-empty{color:#e8f4f64d;align-self:center;font-size:12px}.theme-light .quick-edit-workspace{color:#172023;background:#f8fafb}.theme-light .quick-edit-source-panel,.theme-light .quick-edit-inspector,.theme-light .quick-edit-timeline-panel{background:#f2f6f6}@media (max-width:1050px){.quick-edit-workspace-body{grid-template-columns:220px minmax(360px,1fr)}.quick-edit-inspector{display:none}}.generate-controls-panel{top:calc(var(--generate-preview-height,236px) + 10px);width:var(--generate-prompt-panel-width,680px);height:var(--generate-prompt-panel-height,198px)}.generate-prompt-area{grid-template-rows:minmax(0,1fr);gap:10px;min-height:0;display:grid;position:relative;overflow:visible;cursor:default!important}.generate-prompt-input{resize:none;color:#ffffffeb;scrollbar-width:thin;scrollbar-color:#ffffff47 transparent;background:0 0;border:0;outline:none;width:100%;height:100%;min-height:0;padding:0;font-size:16px;line-height:1.55}.generate-prompt-input::placeholder{color:#ffffff61}.generate-prompt-input:focus{box-shadow:none}.generate-prompt-input::-webkit-scrollbar{width:8px}.generate-prompt-input::-webkit-scrollbar-track{background:0 0}.generate-prompt-input::-webkit-scrollbar-thumb{background:#ffffff52 padding-box content-box;border:2px solid #0000;border-radius:999px}.theme-light .generate-prompt-input{color:#0f172aeb}.theme-light .generate-prompt-input::placeholder{color:#0f172a6b}.generate-submit-button{z-index:32;position:relative}.generate-submit-button svg{stroke-width:3.2px;width:18px;height:18px}.generate-compose-footer{cursor:default;border-top:0;justify-content:space-between;align-items:center;gap:18px;height:36px;min-height:0;display:flex}.theme-light .generate-compose-footer{border-top-color:#0f172a1f}.generate-panel-resize-edge{z-index:24;pointer-events:auto;cursor:ns-resize;height:34px;position:absolute;bottom:-10px;left:34px;right:62px}.generate-panel-resize-corner{z-index:24;pointer-events:auto;cursor:nwse-resize;width:24px;height:24px;position:absolute;bottom:-12px;right:-12px}.generate-primary-controls{flex:auto;align-items:center;gap:0;min-width:0;display:inline-flex;overflow:visible}.generate-action-controls{flex:none;align-items:center;gap:8px;min-width:0;margin-left:auto;display:inline-flex}.generation-menu-wrapper{align-items:center;display:inline-flex;position:relative}.generate-model-button{color:#fffffff5;background:0 0;border:0;flex:0 auto;align-items:center;gap:7px;min-width:0;height:34px;margin-right:0;padding:0;display:inline-flex}.generate-model-button strong{text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:13px;font-weight:800;overflow:hidden}.generate-toolbar-icon-frame{border-radius:3px;flex:none;place-items:center;width:18px;height:18px;display:grid;overflow:hidden}.generate-toolbar-icon{object-fit:contain;pointer-events:none;width:18px;height:18px;display:block}.generate-toolbar-divider{background:#ffffff38;width:1px;height:22px;margin:0 12px}.generation-options-toggle{color:#ffffffdb;background:0 0;border:0;border-radius:9px;flex:none;justify-content:flex-start;gap:7px;min-height:34px;padding:0}.generation-options-toggle strong{color:inherit;font-size:13px}.generation-quality-label{color:#ffffff94;font-size:12px;font-weight:800}.generation-options-toggle.open{background:#ffffff1a}.theme-light .generation-options-toggle.open{background:#0f172a0f}.theme-light .generate-model-button,.theme-light .generation-options-toggle,.theme-light .generate-count-button{color:#0f172ae6}.theme-light .generation-quality-label{color:#0f172a8f}.theme-light .generate-toolbar-divider{background:#0f172a29}.generation-popover{gap:16px;padding:14px;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%)}.generation-options-panel{width:360px}.model-options-panel{width:310px}.model-options-list{gap:8px;padding:0 4px}.model-options-list button{border-radius:10px;justify-content:flex-start;min-height:48px;padding:0 18px;font-size:17px;font-weight:800}.option-block{gap:6px;display:grid}.option-block>span,.resolved-size{color:#ffffff6b;font-size:14px;line-height:18px}.theme-light .option-block>span,.theme-light .resolved-size{color:#0f172a7a}.quality-segment{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px}.quality-segment button{border-radius:9px;min-height:44px;font-size:18px;font-weight:700}.gpt-image-controls{align-items:center;gap:7px;min-width:0;display:flex}.gpt-image-control>button{border-radius:6px;min-width:56px;height:36px;padding:0 12px;font-size:14px;font-weight:700}.gpt-image-control>button:hover,.gpt-image-control>button.open{border-color:currentColor}.gpt-image-popover{width:130px;padding:6px;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.gpt-image-popover-narrow{width:112px}.video-duration-popover-wide{width:196px}.gpt-image-list{gap:3px}.video-duration-list-two-columns{column-count:2;column-gap:3px;display:block}.video-duration-list-two-columns button{break-inside:avoid;margin-bottom:3px}.gpt-image-list button{text-align:left;border-radius:4px;justify-content:flex-start;height:30px;padding:0 10px;font-size:14px;font-weight:600}.gpt-image-list button:disabled{cursor:not-allowed;opacity:.36}.mj-image-controls{gap:10px}.mj-inline-reference{color:#ffffffb8;align-items:center;gap:7px;height:36px;padding:0 2px 0 14px;font-size:14px;font-weight:700;display:inline-flex;position:relative}.mj-inline-reference.connected{color:#22c55e}.mj-inline-reference-dot{opacity:1!important;z-index:45!important;pointer-events:auto!important;background:#94a3b8d9!important;border:2px solid #ffffff7a!important;border-radius:999px!important;width:11px!important;height:11px!important;top:50%!important;left:3px!important;transform:translateY(-50%)!important}.mj-inline-reference.connected .mj-inline-reference-dot{background:#22c55e!important;border-color:#22c55e!important}.mj-ow-control{color:#ffffffb8;align-items:center;gap:8px;height:36px;font-size:14px;font-weight:700;display:inline-flex}.mj-ow-control input{width:86px;height:32px;color:inherit;background:#ffffff0f;border:1px solid #ffffff47;border-radius:6px;outline:none;padding:0 8px;font-size:14px;font-weight:700}.mj-ow-control input:focus{background:#ffffff1a;border-color:#ffffff9e}.theme-light .mj-inline-reference,.theme-light .mj-ow-control{color:#0f172ab8}.theme-light .mj-ow-control input{background:#0f172a0a;border-color:#0f172a3d}.ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 4px}.ratio-grid button{border-radius:10px;align-content:center;justify-items:center;gap:9px;min-height:88px;padding:0;font-size:18px;font-weight:700;display:grid}.ratio-grid i{border:2px solid;border-radius:3px;width:26px;height:19px;display:block}.ratio-grid i[data-ratio="1:1"]{width:32px;height:32px}.ratio-grid i[data-ratio="4:3"]{width:34px;height:26px}.ratio-grid i[data-ratio="5:4"]{width:34px;height:27px}.ratio-grid i[data-ratio="3:4"]{width:26px;height:34px}.ratio-grid i[data-ratio="4:5"]{width:27px;height:34px}.ratio-grid i[data-ratio="16:9"],.ratio-grid i[data-ratio="21:9"],.ratio-grid i[data-ratio="2:1"]{width:40px;height:21px}.ratio-grid i[data-ratio="9:16"],.ratio-grid i[data-ratio="9:21"],.ratio-grid i[data-ratio="1:2"]{width:21px;height:40px}.ratio-grid i[data-ratio="3:2"]{width:36px;height:24px}.ratio-grid i[data-ratio="2:3"]{width:24px;height:36px}.ratio-grid i[data-ratio=adaptive]{border-style:dashed;width:34px;height:26px}.generate-count-control{color:#ffffffe6;margin:0}.generate-count-button{color:#ffffffeb;background:0 0;border:0;min-width:28px;height:34px;padding:0;font-size:13px;font-weight:900}.generate-count-button span{margin-left:1px}.count-options-panel{gap:6px;width:92px;padding:8px}.count-options-panel button{border-radius:9px;min-height:48px;font-size:20px;font-weight:900}.generate-submit-button:disabled{opacity:.75}.generate-hidden-size{display:none}.file-button{border:1px dashed var(--line-strong);min-height:34px;color:var(--muted);cursor:pointer;background:var(--panel-soft);border-radius:10px;flex-direction:row;justify-content:center;align-items:center;gap:7px;padding:8px;display:flex}.file-button input{display:none}.node-error{color:var(--danger);margin:0;padding:0 12px 12px;font-size:11px;line-height:1.4}.node-warning{width:min(calc(100% - 48px), var(--generate-preview-width,calc(100% - 48px)));color:#fdba74f2;background:#fb923c1a;border:1px solid #fb923c59;border-radius:10px;margin:8px auto 0;padding:8px 10px;font-size:12px;line-height:1.35}.node-card-surface{border:1px solid var(--node-card-border);border-radius:var(--node-radius);background:var(--node-card-bg);box-shadow:var(--node-card-shadow)}.react-flow__node:hover .workflow-node .node-card-surface,.workflow-node:hover .node-card-surface,.node-card-surface:hover{border-color:var(--node-card-border-hover);border-radius:var(--node-radius-hover);background:var(--node-card-bg-hover);box-shadow:var(--node-card-shadow-hover)}.react-flow__node.selected .workflow-node .node-card-surface{border-color:var(--node-active-border)}.workflow-node.success .node-card-surface{border-color:var(--node-success-border)}.workflow-node.error .node-card-surface{border-color:var(--node-error-border)}.node-controls-panel{z-index:64;visibility:hidden;opacity:0;pointer-events:none;cursor:default;transform-origin:top;background:#202020;border:1px solid #ffffff38;border-radius:10px;grid-template-rows:minmax(0,1fr) 36px;gap:12px;min-height:198px;margin-top:0;padding:16px 18px 14px;transition:border-radius .28s cubic-bezier(.2,1.12,.24,1),box-shadow .3s,opacity .2s,transform .46s cubic-bezier(.2,1.32,.22,1);display:grid;position:absolute;left:50%;transform:translate(-50%,-10px)scaleY(.94);box-shadow:0 18px 44px #00000057}.theme-light .node-controls-panel{background:#fffffff0;border-color:#0f172a24;box-shadow:0 16px 42px #0f172a21}.react-flow__node.selected .workflow-node .node-controls-panel,.generate-node-body.controls-open .node-controls-panel{visibility:visible;opacity:1;pointer-events:auto;border-radius:18px;transform:translate(-50%)scaleY(1);box-shadow:0 18px 48px #0006,0 0 34px #ffffff1a}.theme-light .react-flow__node.selected .workflow-node .node-controls-panel,.theme-light .generate-node-body.controls-open .node-controls-panel{box-shadow:0 18px 48px #0f172a29,0 0 30px #0f172a0f}.workflow-node.text .node-body,.workflow-node.prompt .node-body,.workflow-node.text-note .node-body{height:calc(var(--text-node-height,309px) - 44px);cursor:default;grid-template-rows:minmax(0,1fr);gap:0;min-height:0;padding:0;position:relative}.text-card-body{width:calc(100% - 24px);height:calc(var(--text-node-height,309px) - 44px);margin:0 auto;position:relative}.text-ai-toolbar{align-items:center;gap:8px;min-height:36px;display:flex}.text-ai-toolbar select{color:#ffffffe6;background:#0e0e0ee0;border-color:#ffffff2e;border-radius:12px;height:34px;min-height:34px;font-size:12px}.text-ai-send{color:#111;background:#ffffffeb;border-color:#ffffff3d;border-radius:999px;width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.text-ai-send:hover{background:#fff;border-color:#ffffff6b}.text-ai-send:disabled{color:#ffffff9e;background:#fff3}.text-compose-area{min-height:0;display:grid;position:relative}.theme-light .text-ai-toolbar select{color:#111827;background:#ffffffeb;border-color:#0f172a24}.theme-light .text-ai-send{color:#fff;background:#111827;border-color:#0f172a24}.theme-light .text-ai-send:hover{background:#020617}.theme-light .text-ai-send:disabled{color:#0f172a8f;background:#0f172a24}.text-controls-panel{width:max(640px, var(--text-node-width,460px));height:var(--text-ai-panel-height,198px);border-radius:14px;grid-template-rows:minmax(0,1fr) 36px;top:calc(100% + 14px)}.text-ai-prompt-area{min-height:0}.workflow-node.text .text-controls-panel .text-ai-prompt-input,.workflow-node.prompt .text-controls-panel .text-ai-prompt-input,.workflow-node.text-note .text-controls-panel .text-ai-prompt-input{height:100%;min-height:0;box-shadow:none;color:#ffffffeb;background:0 0;border:0;border-radius:0;padding:0;font-size:16px;line-height:1.55}.workflow-node.text .text-controls-panel .text-ai-prompt-input:hover,.workflow-node.prompt .text-controls-panel .text-ai-prompt-input:hover,.workflow-node.text-note .text-controls-panel .text-ai-prompt-input:hover,.workflow-node.text .text-controls-panel .text-ai-prompt-input:focus,.workflow-node.prompt .text-controls-panel .text-ai-prompt-input:focus,.workflow-node.text-note .text-controls-panel .text-ai-prompt-input:focus{box-shadow:none;background:0 0;border:0;border-radius:0}.text-ai-compose-footer .generate-model-button strong{max-width:260px}.text-ai-submit-button{color:#181818eb;background:#ffffffb8}.text-ai-submit-button:hover{background:#ffffffe6}.theme-light .workflow-node.text .text-controls-panel .text-ai-prompt-input,.theme-light .workflow-node.prompt .text-controls-panel .text-ai-prompt-input,.theme-light .workflow-node.text-note .text-controls-panel .text-ai-prompt-input{color:#0f172aeb}.theme-light .text-ai-submit-button{color:#fff;background:#0f172ad1}.workflow-node.text .node-body:active,.workflow-node.prompt .node-body:active,.workflow-node.text-note .node-body:active{cursor:grabbing}@keyframes generate-node-progress-fill{0%{opacity:.38;transform:scaleX(.03)}76%{opacity:.64;transform:scaleX(1)}to{opacity:.38;transform:scaleX(1)}}@keyframes generate-node-progress-sheen{0%{transform:translate(-100%)}to{transform:translate(100%)}}.generate-prompt-area.has-reference-strip{grid-template-rows:auto minmax(0,1fr)}.generate-reference-strip{justify-content:flex-start;align-items:flex-start;gap:7px;max-width:min(320px,100%);height:38px;min-height:38px;display:flex;overflow:visible;cursor:default!important}.generate-reference-strip button{color:#fffffff0;touch-action:none;will-change:transform;background:#ffffff0a;border:1px solid #ffffff24;border-radius:10px;width:38px;height:38px;min-height:38px;padding:0;transition:transform .18s cubic-bezier(.22,1,.36,1),opacity .16s,border-color .16s,box-shadow .16s;position:relative;overflow:visible;cursor:pointer!important}.generate-reference-strip button:active,.generate-reference-strip button.is-pressing{cursor:pointer!important}.generate-reference-strip button.is-dragging{z-index:8;opacity:.6;transition:opacity .12s,box-shadow .12s;box-shadow:0 14px 30px #00000057;cursor:grabbing!important}.generate-reference-strip button.is-reorder-shifting{z-index:2}.generate-reference-strip button.is-locked,.generate-reference-strip button.is-locked:active{border-color:#00b7ff7a;box-shadow:0 0 0 1px #00b7ff1f;cursor:default!important}.generate-reference-strip button img,.generate-reference-strip button video{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.reference-fallback-icon{border-radius:inherit;color:#ffffffb8;background:#ffffff14;place-items:center;width:100%;height:100%;display:grid}.reference-fallback-icon b,.reference-file-kind{color:inherit;letter-spacing:0;text-transform:uppercase;place-items:center;font-size:10px;font-style:normal;font-weight:900;line-height:1;display:grid}.reference-file-kind{color:#ffffffad;background:#ffffff14;border-radius:8px;flex:none;width:34px;height:34px}.generate-reference-strip button .reference-remove-badge{z-index:3;color:#fff;cursor:pointer;background:#202020e0;border:1px solid #ffffff47;border-radius:999px;place-items:center;width:16px;height:16px;padding:0;font-size:10px;font-weight:900;line-height:1;display:grid;position:absolute;top:-4px;left:-4px}.reference-remove-badge:hover,.reference-remove-badge:focus-visible{background:#303030f0;border-color:#ffffff70;font-size:0}.reference-remove-badge:hover:after,.reference-remove-badge:focus-visible:after{content:"x";font-size:13px;font-weight:900;line-height:1}.reference-remove-badge.is-index-only{cursor:default;background:#007eb2eb;border-color:#50d3ff9e}.reference-remove-badge.is-index-only:hover,.reference-remove-badge.is-index-only:focus-visible{font-size:10px}.reference-remove-badge.is-index-only:hover:after,.reference-remove-badge.is-index-only:focus-visible:after{content:none}.text-reference-strip{z-index:4;justify-content:flex-end;gap:6px;max-width:min(190px,100% - 52px);display:flex;position:absolute;top:12px;right:18px;overflow:visible}.text-reference-strip button{color:#fffffff5;background:#0a0a0ac7;border:1px solid #ffffff38;border-radius:12px;width:42px;height:42px;min-height:42px;padding:0;position:relative;overflow:visible;box-shadow:0 10px 24px #00000042}.text-reference-strip button img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.text-reference-strip button span{z-index:3;color:#fff;cursor:pointer;background:#202020e0;border:1px solid #ffffff47;border-radius:999px;place-items:center;width:16px;height:16px;padding:0;font-size:10px;font-weight:900;line-height:1;display:grid;position:absolute;top:-4px;left:-4px}.reference-mention-popover{z-index:96;scrollbar-width:thin;scrollbar-color:#ffffff3d transparent;background:#1f2024fa;border:1px solid #ffffff1a;border-radius:10px;gap:4px;width:224px;max-height:278px;padding:8px;display:grid;position:absolute;top:34px;left:0;overflow-y:auto;box-shadow:0 18px 44px #0000006b}.generate-reference-strip+.generate-prompt-input+.reference-mention-popover{top:46px}.reference-mention-popover button{color:#ffffffe6;background:0 0;border:0;border-radius:8px;justify-content:flex-start;gap:10px;width:100%;min-height:44px;padding:5px 8px;font-size:14px;font-weight:800}.reference-mention-popover button span{text-align:left;gap:2px;min-width:0;display:grid}.reference-mention-popover button em{color:#ffffff94;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-style:normal;font-weight:700;overflow:hidden}.reference-mention-popover button:hover,.reference-mention-popover button:focus-visible,.reference-mention-popover button.active{background:#ffffff14}.reference-mention-popover img,.reference-mention-popover video,.reference-mention-popover svg,.reference-mention-popover .reference-file-kind{object-fit:cover;border-radius:8px;flex:none;width:34px;height:34px}.reference-mention-popover svg{color:#ffffffad;background:#ffffff14;padding:7px}.reference-mention-popover .reference-file-kind{padding:0}.video-prompt-area .generate-reference-strip{height:32px;min-height:32px}.video-prompt-area .generate-reference-strip button{border-radius:8px;width:32px;height:32px;min-height:32px}.theme-light .generate-reference-strip button{color:#0f172adb;background:#0f172a0f;border-color:#0f172a24}.theme-light .reference-mention-popover{background:#fffffffa;border-color:#0f172a1f;box-shadow:0 18px 44px #0f172a29}.theme-light .reference-mention-popover button{color:#0f172ae6}.theme-light .reference-mention-popover button:hover,.theme-light .reference-mention-popover button:focus-visible,.theme-light .reference-mention-popover button.active{background:#0f172a12}.theme-light .reference-fallback-icon{color:#0f172a99;background:#0f172a14}.theme-light .reference-file-kind{color:#0f172a9e;background:#0f172a14}.theme-light .reference-mention-popover button em{color:#0f172a8a}.theme-light .text-reference-strip button{color:#0f172adb;background:#ffffffe6;border-color:#0f172a24;box-shadow:0 10px 24px #0f172a1f}.auto-script-page-body{min-width:0;overflow:hidden}.auto-script-shell{--auto-script-canvas:#0f1217;--auto-script-panel:#171b21;--auto-script-panel-strong:#1d222a;--auto-script-line:#ffffff1a;--auto-script-muted:#9ba4af;--auto-script-green:#73c68b;--auto-script-blue:#77a7da;--auto-script-amber:#e5ae63;--auto-script-red:#d87878;min-height:100vh;color:var(--ui-text,#f3f5f7);background:var(--auto-script-canvas);overflow-y:auto}.auto-script-header{z-index:20;border-bottom:1px solid var(--auto-script-line);background:color-mix(in srgb, var(--auto-script-canvas) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:10px 24px;display:flex;position:sticky;top:0}.auto-script-brand,.auto-script-header-actions,.auto-script-brand>div,.auto-script-back,.auto-script-lock-state,.auto-script-branch-heading,.auto-script-quality-bar,.auto-script-form-actions button{align-items:center;display:flex}.auto-script-brand{gap:12px;min-width:0}.auto-script-brand>div{flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.auto-script-brand strong{font-size:16px}.auto-script-brand small{color:var(--auto-script-muted);font-size:11px}.auto-script-brand-mark{width:38px;height:38px;color:var(--auto-script-amber);background:#e5ae6314;border:1px solid #e5ae6352;border-radius:8px;flex:none;place-items:center;display:grid}.auto-script-back{border-radius:8px;gap:7px;min-height:38px;padding:0 12px;font-weight:700}.auto-script-header-actions{flex:none;gap:8px}.auto-script-icon-button{border-radius:8px;place-items:center;width:38px;height:38px;min-height:38px;padding:0;display:grid}.auto-script-main{width:min(1500px,100% - 40px);margin:0 auto;padding:22px 0 48px}.auto-script-load-error{min-height:48px;color:var(--auto-script-red);background:#d8787814;border:1px solid #d8787859;border-radius:7px;align-items:center;gap:9px;margin-top:14px;padding:0 14px;font-size:12px;display:flex}.auto-script-load-error span{flex:1;min-width:0}.auto-script-load-error button{min-height:32px;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;align-items:center;gap:6px;padding:0 10px;display:flex}.auto-script-flow{grid-template-columns:repeat(6,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.auto-script-flow li{border:1px solid var(--auto-script-line);background:var(--auto-script-panel);border-radius:8px;grid-template-columns:30px 30px minmax(0,1fr) 18px;align-items:center;gap:8px;min-width:0;min-height:76px;padding:11px;display:grid;position:relative}.auto-script-flow li.done{background:#3f704c29;border-color:#73c68b6b}.auto-script-flow li.active{border-color:#77a7da80;box-shadow:inset 0 0 0 1px #77a7da1a}.auto-script-flow li.blocked{background:#76512326;border-color:#e5ae6375}.auto-script-flow li.pending{opacity:.66}.auto-script-step-number,.auto-script-step-icon{border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.auto-script-step-number{color:var(--auto-script-muted);background:#ffffff0d;font-size:11px;font-weight:800}.auto-script-step-icon{color:var(--auto-script-blue);background:#77a7da1a}.auto-script-step-copy{gap:4px;min-width:0;display:grid}.auto-script-step-copy strong,.auto-script-step-copy small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-script-step-copy strong{font-size:13px}.auto-script-step-copy small{color:var(--auto-script-muted);font-size:10px}.auto-script-step-state{color:var(--auto-script-muted)}.auto-script-flow li.done .auto-script-step-state{color:var(--auto-script-green)}.auto-script-flow li.blocked .auto-script-step-state{color:var(--auto-script-amber)}.auto-script-workbench{grid-template-columns:minmax(420px,.92fr) minmax(440px,1.08fr);gap:14px;margin-top:14px;display:grid}.auto-script-panel{border:1px solid var(--auto-script-line);background:var(--auto-script-panel);border-radius:8px;box-shadow:0 18px 42px #00000029}.auto-script-panel-header{border-bottom:1px solid var(--auto-script-line);justify-content:space-between;align-items:center;gap:18px;min-height:74px;padding:16px 18px;display:flex}.auto-script-panel-header>div{gap:4px;min-width:0;display:grid}.auto-script-panel-header span:first-child{color:var(--auto-script-blue);text-transform:uppercase;font-size:10px;font-weight:800}.auto-script-panel-header h1,.auto-script-panel-header h2{letter-spacing:0;margin:0;font-size:17px}.auto-script-lock-state,.auto-script-retry-limit{border:1px solid var(--auto-script-line);color:var(--auto-script-muted);border-radius:6px;flex:none;gap:6px;padding:6px 8px;font-size:11px;font-weight:800}.auto-script-lock-state.locked{color:var(--auto-script-green);background:#73c68b14;border-color:#73c68b4d}.auto-script-form fieldset{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:18px;display:grid}.auto-script-form fieldset:disabled{opacity:.72}.auto-script-field{gap:7px;min-width:0;display:grid}.auto-script-field-wide{grid-column:1/-1}.auto-script-field>span:first-child{color:var(--auto-script-muted);font-size:11px;font-weight:750}.auto-script-product-select-row{grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:7px;display:grid}.auto-script-product-select-row.without-action{grid-template-columns:minmax(0,1fr)}.auto-script-product-edit{border:1px solid var(--auto-script-line);width:40px;height:40px;color:var(--auto-script-blue);cursor:pointer;background:0 0;border-radius:6px;place-items:center;padding:0;display:grid}.auto-script-product-edit:hover{background:#77a7da14;border-color:#77a7da7a}.auto-script-product-path{min-width:0;color:var(--auto-script-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.auto-script-field input,.auto-script-field select,.auto-script-field textarea{box-sizing:border-box;border:1px solid var(--auto-script-line);width:100%;color:inherit;background:var(--auto-script-canvas);font:inherit;border-radius:6px;outline:none}.auto-script-field input,.auto-script-field select{height:40px;padding:0 11px}.auto-script-field textarea{resize:vertical;min-height:74px;padding:10px 11px;line-height:1.5}.auto-script-field input:focus,.auto-script-field select:focus,.auto-script-field textarea:focus{border-color:#77a7da9e;box-shadow:0 0 0 3px #77a7da1a}.auto-script-field select:disabled{opacity:1;color:var(--auto-script-muted);background:var(--auto-script-panel-strong);cursor:not-allowed}.auto-script-field input::placeholder,.auto-script-field textarea::placeholder{color:color-mix(in srgb, var(--auto-script-muted) 64%, transparent)}.auto-script-type-switch{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.auto-script-type-switch.two-options{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-script-type-switch button{border:1px solid var(--auto-script-line);min-width:0;min-height:58px;color:inherit;text-align:left;background:var(--auto-script-canvas);cursor:pointer;border-radius:6px;gap:4px;padding:9px 10px;display:grid}.auto-script-type-switch button:hover{border-color:#77a7da5c}.auto-script-type-switch button.active{background:#77a7da1a;border-color:#77a7daa3}.auto-script-type-switch button:disabled{opacity:.42;cursor:not-allowed}.auto-script-type-switch button:disabled:hover{border-color:var(--auto-script-line)}.auto-script-type-switch strong{overflow-wrap:anywhere;font-size:12px}.auto-script-type-switch small{overflow-wrap:anywhere;color:var(--auto-script-muted);font-size:9px}.auto-script-field-grid{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.auto-script-number-field{display:block;position:relative}.auto-script-number-field input{padding-right:38px}.auto-script-number-field input[type=number]{appearance:textfield}.auto-script-number-field input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.auto-script-number-field input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.auto-script-number-field em{color:var(--auto-script-muted);font-size:11px;font-style:normal;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.auto-script-branch{border-left:3px solid var(--auto-script-blue);background:#77a7da0f;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;display:grid}.auto-script-branch-heading{color:var(--auto-script-blue);grid-column:1/-1;gap:7px}.auto-script-branch-heading strong{font-size:12px}.auto-script-message{border-radius:6px;align-items:center;gap:8px;margin:0 18px;padding:10px 12px;font-size:12px;display:flex}.auto-script-message.error{color:var(--auto-script-red);background:#d8787814}.auto-script-message.ready{color:var(--auto-script-amber);background:#e5ae6314}.auto-script-form-actions{justify-content:flex-end;padding:16px 18px 18px;display:flex}.auto-script-form-actions button{cursor:pointer;border-radius:6px;justify-content:center;gap:8px;min-height:40px;padding:0 15px;font-weight:800}.auto-script-primary-button{color:#152119;background:var(--auto-script-green);border:0}.auto-script-primary-button:disabled{opacity:.46;cursor:not-allowed}.auto-script-secondary-button{border:1px solid var(--auto-script-line);color:inherit;background:0 0}.auto-script-result{margin-top:14px}.auto-script-retry-limit{color:var(--auto-script-amber)}.auto-script-panel-header>.auto-script-result-header-actions{align-items:center;gap:8px;display:flex}.auto-script-export-button{min-height:32px;color:var(--auto-script-green);background:#73c68b12;border:1px solid #73c68b52;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:10px;font-weight:800;text-decoration:none;display:inline-flex}.auto-script-quality-bar{border-bottom:1px solid var(--auto-script-line);min-height:45px;color:var(--auto-script-muted);flex-wrap:wrap;gap:18px;padding:0 18px;font-size:10px}.auto-script-quality-bar span{align-items:center;gap:5px;display:flex}.auto-script-quality-bar svg{color:var(--auto-script-green)}.auto-script-quality-bar span.warning,.auto-script-quality-bar span.warning svg{color:var(--auto-script-amber)}.auto-script-result-tabs{border-bottom:1px solid var(--auto-script-line);gap:6px;padding:10px 18px;display:flex;overflow-x:auto}.auto-script-result-tabs button{border:1px solid var(--auto-script-line);max-width:260px;min-height:34px;color:var(--auto-script-muted);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border-radius:6px;flex:none;padding:0 10px;font-size:11px;overflow:hidden}.auto-script-result-tabs button.active{color:var(--auto-script-blue);background:#77a7da1a;border-color:#77a7da99}.auto-script-result-summary{border-bottom:1px solid var(--auto-script-line);justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:10px 18px;display:flex}.auto-script-result-summary>div{gap:4px;min-width:0;display:grid}.auto-script-result-summary strong{font-size:13px}.auto-script-result-summary span,.auto-script-result-summary small{color:var(--auto-script-muted);font-size:10px}.auto-script-result-summary span{overflow-wrap:anywhere}.auto-script-result-summary small{flex:none}.auto-script-result-warning{color:var(--auto-script-amber);background:#e5ae630f;border-bottom:1px solid #e5ae633d;align-items:flex-start;gap:7px;padding:10px 18px;font-size:10px;line-height:1.5;display:flex}.auto-script-result-warning svg{flex:none;margin-top:1px}.auto-script-result-table-wrap{min-width:0;overflow-x:auto}.auto-script-result-table{min-width:1540px;overflow:hidden}.auto-script-result-row{grid-template-columns:58px 82px 110px 90px 110px 150px 140px minmax(250px,1.25fr) minmax(280px,1.4fr) 160px 170px;display:grid}.auto-script-result-row.copy-draft{grid-template-columns:58px 82px minmax(340px,1.35fr) minmax(280px,1fr) 74px}.auto-script-result-row.header{border-bottom:1px solid var(--auto-script-line);min-height:38px;color:var(--auto-script-muted);background:var(--auto-script-panel-strong);align-items:center;font-size:10px;font-weight:800}.auto-script-result-row.header span{padding:0 13px}.auto-script-result-row.data{border-bottom:1px solid var(--auto-script-line);align-items:stretch;min-height:72px}.auto-script-result-row.data:last-child{border-bottom:0}.auto-script-result-row.data>span{border-right:1px solid var(--auto-script-line);overflow-wrap:anywhere;align-items:center;min-width:0;padding:11px 13px;font-size:11px;line-height:1.5;display:flex}.auto-script-result-row.data>span:last-child{border-right:0}.auto-script-result-row.data.needs-review-row{box-shadow:inset 3px 0 0 var(--auto-script-amber)}.auto-script-result-empty{min-height:160px;color:var(--auto-script-muted);text-align:center;align-content:center;place-items:center;gap:7px;display:grid}.auto-script-result-empty>span{border:1px solid var(--auto-script-line);width:48px;height:48px;color:var(--auto-script-blue);border-radius:8px;place-items:center;display:grid}.auto-script-result-empty strong{color:inherit;font-size:13px}.auto-script-result-empty small{font-size:10px}.auto-script-records{margin-top:14px}.auto-script-records-workbench{align-self:stretch;min-width:0;margin-top:0}.auto-script-records-workbench .auto-script-records-table-wrap{max-height:560px;overflow:auto}.auto-script-records-workbench .auto-script-records-table{min-width:620px}.auto-script-records-workbench .auto-script-records-row{grid-template-columns:140px minmax(130px,1fr) 100px 60px 164px}.auto-script-records-header{border-bottom:1px solid var(--auto-script-line);justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:0 16px;display:flex}.auto-script-records-header>div{align-items:center;gap:8px;display:flex}.auto-script-records-header>div:first-child svg{color:var(--auto-script-blue)}.auto-script-records-header strong{font-size:14px}.auto-script-records-header span{color:var(--auto-script-muted);font-size:10px}.auto-script-records-header button,.auto-script-records-footer button{border:1px solid var(--auto-script-line);width:34px;height:34px;color:var(--auto-script-muted);cursor:pointer;background:0 0;border-radius:6px;place-items:center;padding:0;display:grid}.auto-script-records-header button:hover,.auto-script-records-footer button:hover:not(:disabled){color:var(--auto-script-blue);border-color:#77a7da70}.auto-script-records-header button:disabled,.auto-script-records-footer button:disabled{opacity:.38;cursor:not-allowed}.auto-script-records-error{margin:12px 16px 0}.auto-script-records-table-wrap{min-width:0;padding:14px 16px 0;overflow-x:auto}.auto-script-records-table{border:1px solid var(--auto-script-line);border-radius:6px;min-width:980px;overflow:hidden}.auto-script-records-row{border-bottom:1px solid var(--auto-script-line);grid-template-columns:170px minmax(150px,1.15fr) minmax(120px,.85fr) 80px minmax(150px,1fr) 190px;align-items:center;min-height:54px;display:grid}.auto-script-records-row:last-child{border-bottom:0}.auto-script-records-row.header{min-height:38px;color:var(--auto-script-muted);background:var(--auto-script-panel-strong);font-size:10px;font-weight:800}.auto-script-records-row>span,.auto-script-records-row>strong,.auto-script-records-row>time,.auto-script-records-row>div{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:0 11px;font-size:11px;overflow:hidden}.auto-script-records-row>time{color:var(--auto-script-muted)}.auto-script-record-product{gap:3px;display:grid}.auto-script-record-product strong,.auto-script-record-product small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-script-record-product small{color:var(--auto-script-muted);font-size:9px;font-weight:400}.auto-script-record-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.auto-script-record-actions button{min-height:30px;color:var(--auto-script-blue);cursor:pointer;background:#77a7da0f;border:1px solid #77a7da5c;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:10px;display:flex}.auto-script-record-actions button:last-child{color:var(--auto-script-green);background:#73c68b0f;border-color:#73c68b4d}.auto-script-record-actions button:disabled{opacity:.45;cursor:not-allowed}.auto-script-records-empty{min-height:116px;color:var(--auto-script-muted);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.auto-script-records-footer{min-height:58px;color:var(--auto-script-muted);justify-content:space-between;align-items:center;gap:12px;padding:0 16px;font-size:10px;display:flex}.auto-script-records-footer>div{align-items:center;gap:10px;display:flex}.auto-script-records-footer strong{min-width:44px;color:inherit;text-align:center}.auto-script-next-arrow{transform:rotate(180deg)}.auto-script-record-dialog{border:1px solid var(--auto-script-line);width:min(1320px,100%);max-height:calc(100vh - 36px);color:inherit;background:var(--auto-script-panel);border-radius:8px;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden;box-shadow:0 28px 80px #00000061}.auto-script-record-dialog>header{border-bottom:1px solid var(--auto-script-line);justify-content:space-between;align-items:center;gap:14px;min-height:68px;padding:0 18px;display:flex}.auto-script-record-dialog>header>div:first-child{gap:3px;min-width:0;display:grid}.auto-script-record-dialog>header span{color:var(--auto-script-blue);font-size:10px;font-weight:800}.auto-script-record-dialog h2{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:16px;overflow:hidden}.auto-script-record-dialog-actions{align-items:center;gap:7px;display:flex}.auto-script-record-dialog-actions button,.auto-script-record-dialog-actions a{border:1px solid var(--auto-script-line);min-width:34px;height:34px;color:var(--auto-script-muted);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:10px;text-decoration:none;display:flex}.auto-script-record-dialog-actions button:first-child{color:var(--auto-script-green)}.auto-script-record-dialog-actions a{color:var(--auto-script-blue)}.auto-script-record-dialog-actions button.danger{color:var(--auto-script-red);padding:0}.auto-script-record-dialog-actions button:last-child{padding:0}.auto-script-record-dialog-actions button:disabled{opacity:.42;cursor:not-allowed}.auto-script-record-dialog-state{min-height:280px;color:var(--auto-script-muted);justify-content:center;align-items:center;gap:9px;font-size:11px;display:flex}.auto-script-record-dialog-body{min-height:0;overflow-y:auto}.auto-script-record-meta{border-bottom:1px solid var(--auto-script-line);grid-template-columns:repeat(4,minmax(0,1fr));row-gap:14px;margin:0;padding:14px 18px;display:grid}.auto-script-record-meta>div{border-right:1px solid var(--auto-script-line);gap:5px;min-width:0;padding:0 12px;display:grid}.auto-script-record-meta>div:nth-child(4n+1){padding-left:0}.auto-script-record-meta>div:nth-child(4n){border-right:0;padding-right:0}.auto-script-record-meta dt{color:var(--auto-script-muted);font-size:9px}.auto-script-record-meta dd{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:11px;font-weight:800;overflow:hidden}.auto-script-record-meta dd a{color:var(--auto-script-blue);text-decoration:none}.auto-script-record-requirements{border-bottom:1px solid var(--auto-script-line);padding:13px 18px}.auto-script-record-requirements strong{font-size:10px}.auto-script-record-requirements p{color:var(--auto-script-muted);white-space:pre-wrap;margin:6px 0 0;font-size:11px;line-height:1.55}.auto-script-dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#040609ad;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.auto-script-product-dialog{border:1px solid var(--auto-script-line);width:min(780px,100%);max-height:calc(100vh - 36px);color:inherit;background:var(--auto-script-panel);border-radius:8px;overflow:hidden;box-shadow:0 28px 80px #00000061}.auto-script-product-dialog>header{border-bottom:1px solid var(--auto-script-line);justify-content:space-between;align-items:center;gap:14px;min-height:68px;padding:0 18px;display:flex}.auto-script-product-dialog>header>div{gap:3px;display:grid}.auto-script-product-dialog>header span{color:var(--auto-script-blue);font-size:10px;font-weight:800}.auto-script-product-dialog h2{letter-spacing:0;margin:0;font-size:16px}.auto-script-product-dialog>header button{border:1px solid var(--auto-script-line);width:34px;height:34px;color:var(--auto-script-muted);cursor:pointer;background:0 0;border-radius:6px;place-items:center;padding:0;display:grid}.auto-script-product-dialog form{gap:12px;min-height:0;padding:18px;display:grid}.auto-script-product-manager-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.auto-script-product-manager-toolbar>span{color:var(--auto-script-muted);font-size:11px;font-weight:750}.auto-script-product-manager-toolbar>div{align-items:center;gap:7px;display:flex}.auto-script-product-manager-toolbar button{border:1px solid var(--auto-script-line);width:34px;height:34px;color:var(--auto-script-blue);cursor:pointer;background:0 0;border-radius:6px;place-items:center;padding:0;display:grid}.auto-script-product-manager-toolbar button.danger{color:var(--auto-script-red)}.auto-script-product-manager-toolbar button:disabled{opacity:.36;cursor:not-allowed}.auto-script-product-table{border:1px solid var(--auto-script-line);border-radius:6px;min-width:0;overflow:hidden}.auto-script-product-table-body{max-height:360px;overflow-y:auto}.auto-script-product-row{border-bottom:1px solid var(--auto-script-line);grid-template-columns:52px minmax(150px,.72fr) minmax(260px,1.28fr);align-items:center;gap:8px;min-width:0;padding:8px;display:grid}.auto-script-product-table-body .auto-script-product-row:last-child{border-bottom:0}.auto-script-product-row.header{min-height:34px;color:var(--auto-script-muted);background:var(--auto-script-panel-strong);padding-block:0;font-size:10px;font-weight:800}.auto-script-product-row.header span:first-child{text-align:center}.auto-script-product-row.selected{background:#77a7da12}.auto-script-product-row-select{place-items:center;display:grid}.auto-script-product-row-select input{width:15px;height:15px;accent-color:var(--auto-script-blue);margin:0}.auto-script-product-row>input{box-sizing:border-box;border:1px solid var(--auto-script-line);width:100%;height:41px;color:inherit;background:var(--auto-script-canvas);font:inherit;border-radius:6px;outline:none;padding:0 11px}.auto-script-product-row>input:focus{border-color:#77a7da9e;box-shadow:0 0 0 3px #77a7da1a}.auto-script-product-row>input::placeholder{color:color-mix(in srgb, var(--auto-script-muted) 64%, transparent)}.auto-script-dialog-error{color:var(--auto-script-red);margin:-3px 0 0;font-size:11px}.auto-script-product-dialog footer{justify-content:flex-end;gap:8px;padding-top:3px;display:flex}.auto-script-product-dialog footer button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-weight:800;display:flex}.auto-script-dialog-cancel{border:1px solid var(--auto-script-line);color:inherit;background:0 0}.auto-script-dialog-save{color:#152119;background:var(--auto-script-green);border:0}.theme-light.auto-script-shell{--auto-script-canvas:#f3f5f7;--auto-script-panel:#fff;--auto-script-panel-strong:#f7f8fa;--auto-script-line:#1e26301f;--auto-script-muted:#697481;--auto-script-green:#3f8d59;--auto-script-blue:#477fb8;--auto-script-amber:#a46a24;--auto-script-red:#b45151;color:#20262d}@media (max-width:1180px){.auto-script-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.auto-script-workbench{grid-template-columns:1fr}.auto-script-record-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 0}.auto-script-record-meta>div:nth-child(3){border-right:0}.auto-script-record-meta>div:nth-child(4){padding-left:0}}@media (max-width:760px){.auto-script-header{min-height:58px;padding:9px 12px}.auto-script-brand-mark,.auto-script-brand small,.auto-script-header-actions .project-user-label{display:none}.auto-script-back{justify-content:center;width:38px;padding:0}.auto-script-back svg{margin:0}.auto-script-back{font-size:0}.auto-script-main{width:calc(100% - 20px);padding-top:10px}.auto-script-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.auto-script-flow li{grid-template-columns:24px minmax(0,1fr) 16px;min-height:64px;padding:8px}.auto-script-step-number{width:24px;height:24px}.auto-script-step-icon{display:none}.auto-script-form fieldset,.auto-script-field-grid,.auto-script-branch,.auto-script-type-switch{grid-template-columns:1fr}.auto-script-type-switch button{min-height:48px}.auto-script-result-summary{flex-direction:column;align-items:flex-start;gap:5px}.auto-script-result-tabs,.auto-script-records-header,.auto-script-records-footer,.auto-script-records-table-wrap{padding-inline:12px}.auto-script-record-dialog{max-height:calc(100vh - 20px)}.auto-script-record-dialog>header{align-items:flex-start;padding:12px}.auto-script-record-dialog-actions button:first-child,.auto-script-record-dialog-actions a{width:34px;padding:0;font-size:0}.auto-script-record-meta{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.auto-script-record-meta>div{padding-inline:9px}.auto-script-record-meta>div:nth-child(2n){border-right:0}.auto-script-record-meta>div:nth-child(odd){padding-left:0}.auto-script-record-meta>div:nth-child(4){padding-left:9px}.auto-script-load-error{flex-wrap:wrap;align-items:flex-start;padding-block:10px}.auto-script-load-error button{justify-content:center;width:100%}.auto-script-product-dialog{max-height:calc(100vh - 20px)}.auto-script-product-dialog form{padding:12px;overflow-y:auto}.auto-script-product-row.header{display:none}.auto-script-product-row{grid-template-columns:28px minmax(0,1fr);gap:7px}.auto-script-product-row>input:last-child{grid-column:2}}.auto-script-admin{--asa-line:#ffffff1a;--asa-line-strong:#ffffff2b;--asa-panel:#ffffff06;--asa-panel-active:#22c55e1a;--asa-text:#f4f4f5;--asa-muted:#ffffff8a;--asa-soft:#ffffff09;--asa-field-border:#4b5563;min-width:0;height:calc(100vh - 116px);min-height:690px;flex-direction:column;height:calc(100dvh - 116px);display:flex}.auto-script-admin *,.auto-script-admin :before,.auto-script-admin :after{box-sizing:border-box;letter-spacing:0}.auto-script-admin-heading,.auto-script-admin-heading>div,.auto-script-admin-heading strong,.auto-script-admin-commandbar,.auto-script-admin-tabs,.auto-script-admin-file-tools,.auto-script-admin-list-pane>header,.auto-script-admin-list-pane>header>div,.auto-script-admin-list-actions,.auto-script-admin-inspector>header,.auto-script-admin-inspector>header>div,.auto-script-admin-rule-editor header,.auto-script-admin-rule-editor header>div,.auto-script-admin-reference-editor>header,.auto-script-admin-reference-editor>header>div,.auto-script-admin-check,.auto-script-admin-error,.auto-script-admin-inspector-actions,.auto-script-admin-material-options>div,.auto-script-admin-material-select,.auto-script-admin-material-select>span,.auto-script-admin-import-dialog>header,.auto-script-admin-import-dialog>header>div,.auto-script-admin-import-dialog>footer,.auto-script-admin-reference-name-dialog>header,.auto-script-admin-reference-name-dialog>header>div,.auto-script-admin-reference-name-dialog>footer,.auto-script-admin-import-loading{align-items:center;display:flex}.auto-script-admin button,.auto-script-admin input,.auto-script-admin select,.auto-script-admin textarea{font:inherit}.auto-script-admin button{cursor:pointer}.auto-script-admin button:disabled{cursor:not-allowed;opacity:.48}.auto-script-admin input:not([type=checkbox]):not([type=file]),.auto-script-admin select,.auto-script-admin textarea{border:1px solid var(--asa-field-border);transition:border-color .16s,box-shadow .16s}.auto-script-admin input:not([type=checkbox]):not([type=file]):focus,.auto-script-admin select:focus,.auto-script-admin textarea:focus{border-color:#60a5fac2;box-shadow:0 0 0 3px #3b82f624}.auto-script-admin .primary-button{color:#07150b;background:#4ade80;border-color:#16a34a}.auto-script-admin .primary-button:hover:not(:disabled){background:#86efac;border-color:#86efac}.auto-script-admin-heading{justify-content:space-between;gap:18px}.auto-script-admin-heading>div{flex-direction:column;align-items:flex-start;gap:5px}.auto-script-admin-heading strong{color:var(--asa-text);gap:7px;font-size:15px}.auto-script-admin-heading span{color:var(--asa-muted);font-size:11px}.auto-script-admin-heading button{align-items:center;gap:7px;min-height:38px;display:flex}.auto-script-admin-state{color:#ffffff94;justify-content:center;align-items:center;gap:9px;min-height:240px;display:flex}.auto-script-admin-state.error,.auto-script-admin-error{color:#fda4af}.auto-script-admin-error{background:#7f1d1d1f;border:1px solid #fb71853d;border-radius:7px;gap:7px;margin:0;padding:9px 11px;font-size:12px}.auto-script-admin-commandbar{border-top:1px solid var(--asa-line);border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:16px;min-width:0;padding:10px 0}.auto-script-admin-tabs{border:1px solid var(--asa-line);background:var(--asa-panel);border-radius:7px;flex:none;gap:4px;padding:3px}.auto-script-admin-tabs button{min-height:34px;color:var(--asa-muted);background:0 0;border:0;border-radius:5px;align-items:center;gap:7px;padding:0 11px;display:flex}.auto-script-admin-tabs button.active{color:#eaffef;background:#22c55e29}.auto-script-admin-file-tools{justify-content:flex-end;gap:6px;min-width:0}.auto-script-admin-file-tools>label{color:var(--asa-muted);align-items:center;gap:7px;font-size:11px;display:flex}.auto-script-admin-file-tools select{width:66px;height:34px}.auto-script-admin-file-tools button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 9px;display:flex}.auto-script-admin-file-input{display:none}.auto-script-admin-workspace,.auto-script-admin-rules-workspace,.auto-script-admin-reference-workspace{border:1px solid var(--asa-line);background:var(--asa-panel);border-radius:8px;min-width:0;min-height:560px;overflow:hidden}.auto-script-admin-workspace-scroll{flex:1;min-width:0;min-height:560px;padding-bottom:4px;overflow-x:auto}.auto-script-admin-workspace{grid-template-columns:200px minmax(560px,1.08fr) minmax(500px,1fr);min-width:1240px;height:100%;display:grid}.auto-script-admin-column{align-items:stretch;min-width:0;min-height:0;display:grid}.auto-script-admin-selling-workspace{border-right:1px solid var(--asa-line);grid-template-columns:230px minmax(330px,1fr)}.auto-script-admin-material-workspace{grid-template-columns:230px minmax(270px,1fr)}.auto-script-admin-rules-workspace{flex:1;grid-template-columns:210px minmax(420px,1fr);display:grid}.auto-script-admin-reference-workspace{flex:1;grid-template-columns:220px 280px minmax(420px,1fr);display:grid}.auto-script-admin-reference-workspace.auto-script-admin-reference-loading{color:var(--asa-muted);justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.auto-script-admin-list-pane{border-right:1px solid var(--asa-line);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.auto-script-admin-products{grid-template-rows:auto minmax(0,1fr) auto}.auto-script-admin-list-pane>header{border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:10px;min-height:52px;padding:9px 11px}.auto-script-admin-list-pane>header>div{gap:7px}.auto-script-admin-list-pane>header strong{color:var(--asa-text);font-size:12px}.auto-script-admin-list-pane>header span{min-width:20px;height:20px;color:var(--asa-muted);background:var(--asa-soft);border-radius:5px;place-items:center;padding:0 5px;font-size:10px;display:grid}.auto-script-admin-list-pane>header button{place-items:center;width:30px;height:30px;padding:0;display:grid}.auto-script-admin-list-actions{gap:4px}.auto-script-admin-list-pane nav{align-content:start;gap:3px;min-height:0;padding:7px;display:grid;overflow:auto}.auto-script-admin-list-pane nav button{min-width:0;min-height:45px;color:var(--asa-muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:7px 9px;display:flex}.auto-script-admin-list-pane nav button>span{overflow-wrap:anywhere;max-width:100%;color:var(--asa-text);font-size:12px;font-weight:700}.auto-script-admin-list-pane nav button small{color:var(--asa-muted);font-size:10px}.auto-script-admin-list-pane nav button:hover{background:var(--asa-soft)}.auto-script-admin-list-pane nav button.active{color:#bbf7d0;background:var(--asa-panel-active);border-color:#4ade8052}.auto-script-admin-list-pane footer{border-top:1px solid var(--asa-line);padding:8px}.auto-script-admin-list-pane footer button{justify-content:center;align-items:center;gap:6px;width:100%;min-height:32px;display:flex}.auto-script-admin .danger{color:#fb7185}.auto-script-admin-list-pane .admin-empty{text-align:center;margin:0;padding:16px 12px;font-size:11px}.auto-script-admin-inspector,.auto-script-admin-rule-editor,.auto-script-admin-reference-editor{min-width:0;min-height:0;overflow:auto}.auto-script-admin-inspector{padding:0 18px 20px}.auto-script-admin-inspector>header,.auto-script-admin-rule-editor header{border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:16px;min-height:64px}.auto-script-admin-inspector>header>div,.auto-script-admin-rule-editor header>div{flex-direction:column;align-items:flex-start;gap:4px}.auto-script-admin-inspector header strong,.auto-script-admin-rule-editor header strong{color:var(--asa-text);overflow-wrap:anywhere;font-size:14px}.auto-script-admin-inspector header span,.auto-script-admin-rule-editor header span{color:var(--asa-muted);font-size:10px}.auto-script-admin-check{color:var(--asa-muted);flex:none;gap:6px;font-size:11px}.auto-script-admin-check input{accent-color:#22c55e;width:auto;height:auto;margin:0}.auto-script-admin-inspector-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px}.auto-script-admin-inspector-actions>button{place-items:center;width:32px;height:32px;padding:0;display:grid}.auto-script-admin-icon-button{flex:none;place-items:center;width:32px;height:32px;padding:0;display:grid}.auto-script-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding-top:18px;display:grid}.auto-script-admin-fields label{min-width:0;color:var(--asa-muted);gap:6px;font-size:11px;display:grid}.auto-script-admin-fields label:nth-child(2),.auto-script-admin-fields .wide{grid-column:1/-1}.auto-script-admin-fields input,.auto-script-admin-fields textarea{width:100%}.auto-script-admin-fields input[readonly]{opacity:.56}.auto-script-admin-fields textarea{resize:vertical;min-height:116px}.auto-script-admin-material-fields textarea:last-child{min-height:240px}.auto-script-admin-selling-point-fields textarea{min-height:104px}.auto-script-admin-pain-point-field{gap:7px;min-width:0;display:grid}.auto-script-admin-pain-point-tools{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.auto-script-admin-pain-point-tools select{width:min(260px,100%);height:36px}.auto-script-admin-pain-point-generate{color:#bfdbfe;background:#2563eb24;border-color:#60a5fa7a;min-height:36px}.auto-script-admin-pain-point-generate:hover:not(:disabled){color:#dbeafe;background:#2563eb38;border-color:#60a5fab8}.auto-script-admin-pain-point-error{color:#fda4af;font-size:11px}.auto-script-admin-material-options{align-content:start;gap:3px;min-width:0;min-height:0;padding:7px;display:grid;overflow:auto}.auto-script-admin-material-options>div{border:1px solid #0000;border-radius:6px;justify-content:space-between;gap:8px;min-width:0;min-height:48px;padding:3px 4px 3px 8px}.auto-script-admin-material-options>div.active{background:var(--asa-soft);background:var(--asa-panel-active);border-color:#4ade8052}.auto-script-admin-material-options>div:hover{background:var(--asa-soft)}.auto-script-admin-material-options>div>input{accent-color:#22c55e;cursor:pointer;flex:none;width:16px;height:16px;margin:0}.auto-script-admin-material-options>div>input:disabled{cursor:not-allowed}.auto-script-admin-material-select{min-width:0;color:var(--asa-text);text-align:left;background:0 0;border:0;flex:1;justify-content:flex-start;padding:4px 2px}.auto-script-admin-material-select>span{flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.auto-script-admin-material-select strong{overflow-wrap:anywhere;max-width:100%;font-size:12px}.auto-script-admin-material-select small{color:var(--asa-muted);font-size:10px}.auto-script-admin-material-options .admin-empty{color:var(--asa-muted);text-align:center;margin:0;padding:18px 10px;font-size:11px}.auto-script-admin-detail-empty{min-height:100%;color:var(--asa-muted);text-align:center;place-items:center;padding:24px;font-size:12px;display:grid}.auto-script-admin-video-list{grid-template-rows:auto minmax(0,1fr)}.auto-script-admin-video-list nav button{flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;min-height:40px}.auto-script-admin-video-list nav button svg{flex:none}.auto-script-admin-list-section-label{color:var(--asa-muted);align-items:center;gap:6px;padding:11px 9px 5px;font-size:10px;font-weight:800;line-height:1.35;display:flex}.auto-script-admin-rule-products{gap:2px;display:grid}.auto-script-admin-rule-products.nested{padding:2px 0 5px 18px}.auto-script-admin-rule-products button{min-width:0;padding:7px 9px;min-height:36px!important}.auto-script-admin-rule-products button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-script-admin-rule-category{min-width:0;display:grid}.auto-script-admin-rule-category-toggle{color:var(--asa-text);font-weight:750}.auto-script-admin-rule-category-toggle.expanded{background:var(--asa-soft)}.auto-script-admin-rule-category-toggle span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.auto-script-admin-rule-editor{padding:0 20px 24px}.auto-script-admin-reference-editor{padding:0 20px 24px;position:relative}.auto-script-admin-reference-editor>header{border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:16px;min-height:64px}.auto-script-admin-reference-editor>header>div{flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.auto-script-admin-reference-editor>header strong{color:var(--asa-text);font-size:14px}.auto-script-admin-reference-editor>header span{max-width:100%;color:var(--asa-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.auto-script-admin-reference-editor>label{color:var(--asa-muted);gap:8px;margin-top:18px;font-size:11px;display:grid}.auto-script-admin-reference-editor>.auto-script-admin-reference-usage-count{border:1px solid var(--asa-line);background:var(--asa-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:16px;width:180px;margin-top:18px;padding:10px 12px;display:flex}.auto-script-admin-reference-usage-count span{color:var(--asa-muted);font-size:11px}.auto-script-admin-reference-usage-count strong{color:var(--asa-text);font-size:15px}.auto-script-admin-reference-editor textarea{resize:vertical;width:100%;height:clamp(440px,100vh - 455px,650px);min-height:440px;padding:12px;line-height:1.65}.auto-script-admin-reference-character-count{color:var(--asa-muted);text-align:right;margin-top:7px;font-size:10px;display:block}.auto-script-admin-common-rule textarea{resize:vertical;width:100%;height:clamp(560px,100vh - 410px,720px);min-height:560px;margin-top:16px}.auto-script-admin-video-category-editor{align-content:start;gap:16px;min-width:0;display:grid}.auto-script-admin-structure-rule{border-top:1px solid var(--asa-line);min-width:0}.auto-script-admin-structure-rule>header{min-height:54px}.auto-script-admin-structure-rule>textarea{resize:vertical;width:100%;height:clamp(500px,100vh - 480px,680px);min-height:500px}.auto-script-admin-dialog-backdrop{z-index:120;background:#000000ad;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.auto-script-admin-import-dialog{border:1px solid var(--asa-line-strong);width:min(720px,100vw - 44px);max-height:calc(100vh - 44px);color:var(--asa-text);background:#171717;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden;box-shadow:0 28px 80px #00000080}.auto-script-admin-reference-name-dialog{border:1px solid var(--asa-line-strong);width:min(440px,100vw - 44px);color:var(--asa-text);background:#171717;border-radius:8px;overflow:hidden;box-shadow:0 28px 80px #00000080}.auto-script-admin-reference-name-dialog>header{border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:15px;min-height:62px;padding:12px 16px}.auto-script-admin-reference-name-dialog>header>div{flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.auto-script-admin-reference-name-dialog>header strong{font-size:14px}.auto-script-admin-reference-name-dialog>header span{color:var(--asa-muted);font-size:10px;line-height:1.5}.auto-script-admin-reference-name-dialog>header button{width:32px;height:32px;color:var(--asa-muted);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.auto-script-admin-reference-name-body{gap:7px;padding:18px 16px;display:grid}.auto-script-admin-reference-name-body label{color:var(--asa-muted);gap:7px;font-size:11px;display:grid}.auto-script-admin-reference-name-body input{width:100%;height:40px}.auto-script-admin-reference-name-body>span{color:#fda4af;font-size:10px}.auto-script-admin-reference-name-dialog>footer{border-top:1px solid var(--asa-line);justify-content:flex-end;gap:8px;padding:12px 16px}.auto-script-admin-reference-name-dialog>footer button{justify-content:center;align-items:center;min-height:36px;padding:0 14px;display:flex}.auto-script-admin-import-dialog>header{border-bottom:1px solid var(--asa-line);justify-content:space-between;gap:15px;min-height:62px;padding:12px 16px}.auto-script-admin-import-dialog>header>div{flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.auto-script-admin-import-dialog>header strong{font-size:14px}.auto-script-admin-import-dialog>header span{max-width:100%;color:var(--asa-muted);overflow-wrap:anywhere;font-size:11px}.auto-script-admin-import-dialog>header button{width:32px;height:32px;color:var(--asa-muted);background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.auto-script-admin-import-body{align-content:start;gap:14px;min-height:0;padding:16px;display:grid;overflow:auto}.auto-script-admin-import-mode{color:var(--asa-muted);grid-template-columns:1fr 180px;align-items:center;gap:14px;font-size:11px;display:grid}.auto-script-admin-import-mode select{width:100%;height:38px}.auto-script-admin-import-loading{min-height:150px;color:var(--asa-muted);justify-content:center;gap:8px;font-size:12px}.auto-script-admin-import-total{border-bottom:1px solid var(--asa-line);justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;display:flex}.auto-script-admin-import-total strong{font-size:13px}.auto-script-admin-import-total span{color:var(--asa-muted);font-size:11px}.auto-script-admin-import-stats{border-top:1px solid var(--asa-line);border-left:1px solid var(--asa-line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.auto-script-admin-import-stats>div{border-right:1px solid var(--asa-line);border-bottom:1px solid var(--asa-line);gap:5px;padding:10px;display:grid}.auto-script-admin-import-stats span{font-size:11px;font-weight:700}.auto-script-admin-import-stats small{color:var(--asa-muted);font-size:10px}.auto-script-admin-import-issues{border:1px solid;border-radius:7px;gap:8px;padding:11px;font-size:11px;display:grid}.auto-script-admin-import-issues.error{color:#fecdd3;background:#7f1d1d1f;border-color:#fb718547}.auto-script-admin-import-issues.warning{color:#fde68a;background:#78350f1f;border-color:#fbbf2442}.auto-script-admin-import-issues ul{max-height:180px;margin:0;padding-left:18px;overflow:auto}.auto-script-admin-import-issues li+li{margin-top:5px}.auto-script-admin-reference-import-list{gap:8px;display:grid}.auto-script-admin-reference-import-list>section{border:1px solid var(--asa-line);background:var(--asa-soft);border-radius:7px;min-width:0;overflow:hidden}.auto-script-admin-reference-import-list header{border-bottom:1px solid var(--asa-line);justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:8px 10px;display:flex}.auto-script-admin-reference-import-list header strong{font-size:11px}.auto-script-admin-reference-import-list header span{color:var(--asa-muted);font-size:10px}.auto-script-admin-reference-import-list pre{max-height:180px;color:var(--asa-text);font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:10px;font-size:11px;line-height:1.65;overflow:auto}.auto-script-admin-reference-import-empty{min-height:120px;color:var(--asa-muted);text-align:center;place-items:center;font-size:12px;display:grid}.auto-script-admin-import-dialog>footer{border-top:1px solid var(--asa-line);justify-content:flex-end;gap:8px;padding:12px 16px}.auto-script-admin-import-dialog>footer button{justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 12px;display:flex}.theme-light .auto-script-admin{--asa-line:#0f172a1f;--asa-line-strong:#0f172a33;--asa-panel:#0f172a05;--asa-panel-active:#16a34a1a;--asa-text:#20242c;--asa-muted:#69717d;--asa-soft:#0f172a0b;--asa-field-border:#9ca3af}.theme-light .auto-script-admin-tabs button.active{color:#14532d}.theme-light .auto-script-admin-pain-point-generate{color:#1d4ed8;background:#eff6ff}.theme-light .auto-script-admin-pain-point-error{color:#be123c}.theme-light .auto-script-admin-error{color:#be123c;background:#fff1f2}.theme-light .auto-script-admin-import-dialog,.theme-light .auto-script-admin-reference-name-dialog{background:#fff;box-shadow:0 28px 80px #0f172a38}.theme-light .auto-script-admin-import-issues.error{color:#9f1239;background:#fff1f2}.theme-light .auto-script-admin-import-issues.warning{color:#92400e;background:#fffbeb}@media (max-width:1160px){.auto-script-admin-commandbar{flex-direction:column;align-items:flex-start}.auto-script-admin-file-tools{flex-wrap:wrap;justify-content:flex-start;width:100%}}@media (max-width:900px){.auto-script-admin-rules-workspace{grid-template-columns:180px minmax(360px,1fr)}.auto-script-admin-reference-workspace{grid-template-columns:180px 230px minmax(340px,1fr);overflow-x:auto}}@media (max-width:680px){.auto-script-admin{height:auto;min-height:0}.auto-script-admin-heading{flex-direction:column;align-items:stretch}.auto-script-admin-heading button{justify-content:center;width:100%}.auto-script-admin-tabs{width:100%}.auto-script-admin-tabs button{text-align:center;white-space:normal;flex:1;justify-content:center;min-width:0}.auto-script-admin-file-tools>label{justify-content:space-between;width:100%}.auto-script-admin-file-tools select{width:100px}.auto-script-admin-file-tools button{flex:calc(50% - 6px)}.auto-script-admin-rules-workspace{grid-template-columns:minmax(0,1fr);min-height:0;overflow:visible}.auto-script-admin-rules-workspace .auto-script-admin-list-pane{border-right:0;border-bottom:1px solid var(--asa-line);min-height:260px}.auto-script-admin-reference-workspace{grid-template-columns:minmax(0,1fr);min-height:0;overflow:visible}.auto-script-admin-reference-workspace .auto-script-admin-list-pane{border-right:0;border-bottom:1px solid var(--asa-line);min-height:240px}.auto-script-admin-reference-editor{min-height:420px}.auto-script-admin-reference-editor textarea{height:320px;min-height:320px}.auto-script-admin-inspector>header{flex-direction:column;align-items:flex-start;padding:12px 0}.auto-script-admin-inspector-actions{justify-content:flex-start}.auto-script-admin-fields{grid-template-columns:minmax(0,1fr)}.auto-script-admin-fields label:nth-child(2),.auto-script-admin-fields .wide{grid-column:auto}.auto-script-admin-rule-editor{padding:0 14px 18px}.auto-script-admin-common-rule textarea,.auto-script-admin-structure-rule>textarea{height:420px;min-height:420px}.auto-script-admin-dialog-backdrop{padding:10px}.auto-script-admin-import-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.auto-script-admin-reference-name-dialog{width:calc(100vw - 20px)}.auto-script-admin-import-mode{grid-template-columns:minmax(0,1fr);gap:6px}.auto-script-admin-import-total{flex-direction:column;align-items:flex-start}.auto-script-admin-import-stats{grid-template-columns:minmax(0,1fr)}.auto-script-admin-import-dialog>footer{flex-direction:column-reverse;align-items:stretch}.auto-script-admin-import-dialog>footer button{width:100%}}.auto-edit-shell{scrollbar-gutter:stable;overscroll-behavior:contain;background:var(--ui-canvas,#11151c);height:100vh;min-height:0;color:var(--ui-text,#f3f5f7);overflow:hidden scroll}.auto-edit-page-body{min-width:0;min-height:0}.auto-edit-shell::-webkit-scrollbar{width:11px}.auto-edit-shell::-webkit-scrollbar-track{background:color-mix(in srgb, var(--ui-canvas,#11151c) 88%, #fff 12%)}.auto-edit-shell::-webkit-scrollbar-thumb{background:color-mix(in srgb, currentColor 30%, transparent);background-clip:padding-box;border:3px solid #0000;border-radius:999px}.auto-edit-header{border-bottom:1px solid color-mix(in srgb, currentColor 12%, transparent);background:color-mix(in srgb, var(--ui-panel,#171c25) 92%, transparent);justify-content:space-between;align-items:center;height:72px;padding:0 28px;display:flex}.auto-edit-brand,.auto-edit-header-actions,.auto-edit-brand>span,.auto-edit-header-actions>button,.auto-edit-flow article,.auto-edit-panel-heading,.auto-edit-runtime-summary p,.auto-edit-result,.auto-edit-task-state{align-items:center;display:flex}.auto-edit-brand{gap:12px}.auto-edit-brand>span{color:#0b1018;background:#9cf061;border-radius:13px;justify-content:center;width:42px;height:42px}.auto-edit-brand div{gap:3px;display:grid}.auto-edit-brand strong{font-size:18px}.auto-edit-brand small{opacity:.62}.auto-edit-header-actions{gap:8px}.auto-edit-header-actions>button{border-radius:11px;gap:7px;height:40px;padding:0 13px}.auto-edit-icon-button{justify-content:center;width:40px;padding:0!important}.auto-edit-main{width:min(1480px,100% - 48px);min-width:0;margin:0 auto;padding:28px 0 48px}.auto-edit-flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.auto-edit-flow article{border:1px solid color-mix(in srgb, currentColor 12%, transparent);background:var(--ui-panel,#171c25);border-radius:15px;gap:12px;min-height:76px;padding:15px}.auto-edit-flow article.active{border-color:#8bdf58;box-shadow:0 0 0 1px #8bdf5838}.auto-edit-flow article>span{background:color-mix(in srgb, currentColor 10%, transparent);border-radius:8px;place-items:center;width:25px;height:25px;font-size:12px;font-weight:800;display:grid}.auto-edit-flow article>div{gap:4px;min-width:0;display:grid}.auto-edit-flow small{opacity:.58;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.auto-edit-alert{color:#ffb9b9;background:#851e1e29;border:1px solid #ff5e5e59;border-radius:12px;align-items:center;gap:9px;margin-bottom:16px;padding:12px 14px;display:flex}.auto-edit-alert span{overflow-wrap:anywhere;min-width:0}.auto-edit-grid{grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);align-items:start;gap:18px;display:grid}.auto-edit-grid>*{min-width:0}.auto-edit-panel{border:1px solid color-mix(in srgb, currentColor 12%, transparent);background:var(--ui-panel,#171c25);border-radius:17px;box-shadow:0 16px 44px #0000001f}.auto-edit-form,.auto-edit-current-task{padding:20px}.auto-edit-current-task{min-width:0;overflow:hidden}.auto-edit-panel-heading{justify-content:space-between;gap:14px;margin-bottom:18px}.auto-edit-panel-heading>div{gap:4px;display:grid}.auto-edit-panel-heading>.auto-edit-panel-actions{flex:none;grid-auto-flow:column;gap:8px;display:flex}.auto-edit-panel-heading strong{font-size:16px}.auto-edit-panel-heading span{opacity:.58;font-size:13px}.auto-edit-form>label,.auto-edit-form-options label{gap:7px;margin-top:13px;font-size:13px;font-weight:700;display:grid}.auto-edit-form input,.auto-edit-form select{border:1px solid color-mix(in srgb, currentColor 14%, transparent);width:100%;height:43px;color:inherit;background:color-mix(in srgb, var(--ui-canvas,#11151c) 72%, transparent);border-radius:11px;outline:none;padding:0 12px}.auto-edit-form input:focus,.auto-edit-form select:focus{border-color:#86d650;box-shadow:0 0 0 3px #86d6501f}.auto-edit-path-picker{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.auto-edit-path-picker button{justify-content:center;align-items:center;gap:7px;min-width:116px;display:flex}.auto-edit-path-help{opacity:.58;font-size:11px;font-weight:500;line-height:1.5}.auto-edit-form-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.auto-edit-script-blocks{background:color-mix(in srgb, currentColor 5%, transparent);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:12px 13px;display:flex}.auto-edit-script-blocks label{align-items:center;gap:8px;font-size:13px;display:flex}.auto-edit-script-blocks input[type=checkbox]{width:16px;height:16px}.auto-edit-script-blocks input[type=number]{width:72px;height:34px}.auto-edit-runtime-summary{gap:8px;margin-top:14px;display:grid}.auto-edit-runtime-summary p{background:color-mix(in srgb, currentColor 5%, transparent);border-radius:11px;gap:8px;margin:0;padding:10px 12px}.auto-edit-runtime-summary span{opacity:.6;width:88px;font-size:12px}.auto-edit-runtime-summary strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;overflow:hidden}.auto-edit-runtime-summary em{color:#98dd6b;font-size:12px;font-style:normal}.auto-edit-runtime-warning{color:#fbbf24;background:#f59e0b1a;border:1px solid #f59e0b52;border-radius:12px;align-items:flex-start;gap:8px;margin-top:10px;padding:10px 12px;font-size:12px;line-height:1.55;display:flex}.auto-edit-runtime-warning svg{flex:none;margin-top:1px}.auto-edit-submit{justify-content:center;gap:8px;width:100%;height:46px;margin-top:16px}.auto-edit-refresh{width:36px;height:36px;color:inherit;background:color-mix(in srgb, currentColor 8%, transparent);cursor:pointer;border:0;border-radius:10px;place-items:center;display:grid}.auto-edit-empty{text-align:center;opacity:.62;place-content:center;justify-items:center;gap:9px;min-height:300px;display:grid}.auto-edit-task-title{gap:6px;min-width:0;display:grid}.auto-edit-task-title>span{text-overflow:ellipsis;white-space:nowrap;background:color-mix(in srgb, currentColor 7%, transparent);border-radius:999px;width:max-content;max-width:100%;padding:5px 9px;font-size:12px;overflow:hidden}.auto-edit-task-title strong{overflow-wrap:anywhere;min-width:0;font-size:20px}.auto-edit-task-title small{opacity:.45;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-edit-task-message{color:#ffb0b0;background:#851e1e21;border:1px solid #ff606047;border-radius:11px;min-width:0;margin-top:12px;padding:11px 12px}.auto-edit-task-message>div{overflow-wrap:anywhere;white-space:pre-wrap;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-family:Consolas,Microsoft YaHei,monospace;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.auto-edit-task-message.expanded>div{max-height:320px;display:block;overflow:auto}.auto-edit-task-message button{color:#ffcece;cursor:pointer;background:0 0;border:0;margin-top:9px;padding:0;font-size:12px;font-weight:700}.auto-edit-progress{background:color-mix(in srgb, currentColor 9%, transparent);border-radius:999px;height:16px;margin:20px 0;position:relative;overflow:hidden}.auto-edit-progress>div{border-radius:inherit;background:linear-gradient(90deg,#75cb42,#a9f273);min-width:2px;height:100%;transition:width .3s}.auto-edit-progress span{color:#0c1308;place-items:center;font-size:10px;font-weight:900;display:grid;position:absolute;inset:0}.auto-edit-current-task dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.auto-edit-current-task dl>div{background:color-mix(in srgb, currentColor 5%, transparent);border-radius:11px;padding:11px}.auto-edit-current-task dt{opacity:.5;margin-bottom:5px;font-size:11px}.auto-edit-current-task dd{word-break:break-all;margin:0;font-size:13px;font-weight:700}.auto-edit-result{color:#a8ef7c;background:#4b91261f;border:1px solid #87dd5247;border-radius:12px;gap:10px;margin-top:15px;padding:12px}.auto-edit-result>div{gap:4px;min-width:0;display:grid}.auto-edit-result span,.auto-edit-result-path strong{word-break:break-all;font-size:12px}.auto-edit-result-path{background:color-mix(in srgb, currentColor 5%, transparent);border-radius:11px;gap:5px;margin-top:10px;padding:10px 12px;display:grid}.auto-edit-result-path span{opacity:.55;font-size:11px}.auto-edit-retry{align-items:center;gap:7px;height:39px;margin-top:14px;display:flex}.auto-edit-batch-results{border:1px solid color-mix(in srgb, currentColor 12%, transparent);border-radius:12px;margin-top:15px;overflow:hidden}.auto-edit-batch-summary{width:100%;min-height:54px;color:inherit;text-align:left;background:color-mix(in srgb, currentColor 5%, transparent);cursor:pointer;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.auto-edit-batch-summary>span{gap:3px;min-width:0;display:grid}.auto-edit-batch-summary strong{font-size:13px}.auto-edit-batch-summary em{opacity:.62;font-size:12px;font-style:normal}.auto-edit-batch-result-list{border-top:1px solid color-mix(in srgb, currentColor 10%, transparent);gap:8px;max-height:440px;padding:10px;display:grid;overflow-y:auto}.auto-edit-batch-result-list article{background:#4b912614;border:1px solid #87dd5240;border-radius:10px;gap:7px;min-width:0;padding:11px;display:grid}.auto-edit-batch-result-list article.failed{background:#851e1e1a;border-color:#ff606047}.auto-edit-batch-result-list article>div{color:#a8ef7c;align-items:center;gap:7px;display:flex}.auto-edit-batch-result-list article.failed>div{color:#ffb0b0}.auto-edit-batch-result-list article>div strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:13px}.auto-edit-batch-result-list article>div span{font-size:11px;font-weight:800}.auto-edit-batch-result-list p{gap:3px;min-width:0;margin:0;padding-left:24px;display:grid}.auto-edit-batch-result-list p span{opacity:.5;font-size:10px}.auto-edit-batch-result-list p strong{overflow-wrap:anywhere;font-size:11px;line-height:1.5}.auto-edit-batch-result-list p.error strong{color:#ffb0b0}.auto-edit-task-list{margin-top:18px;padding:20px}.auto-edit-history-toggle{min-width:82px;height:36px;color:inherit;background:color-mix(in srgb, currentColor 8%, transparent);cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 10px;display:flex}.auto-edit-task-table{gap:7px;display:grid}.auto-edit-task-row{background:color-mix(in srgb, currentColor 4%, transparent);border:1px solid #0000;border-radius:11px;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;display:grid;overflow:hidden}.auto-edit-task-row:hover,.auto-edit-task-row.active{background:#8bdf5814;border-color:#8bdf5861}.auto-edit-task-select{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(190px,.9fr) minmax(220px,1.2fr) minmax(180px,.8fr) 64px 170px;align-items:center;gap:12px;padding:12px;display:grid}.auto-edit-task-select>strong,.auto-edit-task-select>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auto-edit-task-table time,.auto-edit-task-select>span{opacity:.62;font-size:12px}.auto-edit-task-delete{border:0;border-left:1px solid color-mix(in srgb, currentColor 8%, transparent);color:#ff9c9c;cursor:pointer;background:0 0;place-items:center;width:38px;display:grid}.auto-edit-task-delete:hover:not(:disabled){background:#b3262629}.auto-edit-task-delete:disabled{opacity:.28;cursor:not-allowed}.auto-edit-task-state{gap:6px;opacity:1!important}.status-completed{color:#a1e976}.status-failed{color:#ff9a9a}.status-leased{color:#83cfff}.status-queued{color:#f4ce73}.auto-edit-empty-row{text-align:center;opacity:.5;padding:28px}.theme-light .auto-edit-shell{--ui-canvas:#f3f5f7;--ui-panel:#fff;--ui-text:#20242c}@media (max-width:1050px){.auto-edit-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-edit-grid{grid-template-columns:1fr}.auto-edit-task-select{grid-template-columns:1fr 1fr}.auto-edit-task-table time{display:none}}@media (max-width:680px){.auto-edit-header{align-items:flex-start;gap:12px;height:auto;padding:14px}.auto-edit-brand small,.auto-edit-header-actions>button:first-child{display:none}.auto-edit-main{width:calc(100% - 24px);padding-top:14px}.auto-edit-flow,.auto-edit-form-options,.auto-edit-current-task dl,.auto-edit-path-picker{grid-template-columns:1fr}.auto-edit-script-blocks{flex-direction:column;align-items:flex-start}}.video-production-page{min-width:0;min-height:100vh;overflow:auto}.video-production-shell{background:var(--canvas);min-height:100vh;color:var(--text);overflow:auto}.video-production-header,.video-production-board{width:min(1520px,100vw - 80px);margin:0 auto}.video-production-header{justify-content:space-between;align-items:center;gap:18px;min-height:88px;display:flex}.video-production-title,.video-production-actions{align-items:center;gap:10px;min-width:0;display:flex}.video-production-title>div:last-child{gap:2px;display:grid}.video-production-title strong{font-size:20px;line-height:1.2}.video-production-title span,.video-production-panel-heading span,.video-flow-step small,.video-production-help-row,.video-production-empty,.video-material-row small{color:var(--muted)}.video-production-mark{border:1px solid var(--line);background:var(--panel-solid);color:#38bdf8;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.video-production-icon-button{border-radius:8px;width:38px;height:38px;min-height:38px;padding:0}.video-production-board{gap:16px;padding-bottom:48px;display:grid}.video-production-flow{gap:10px;display:grid}.video-production-flow.batch{grid-template-columns:repeat(2,minmax(0,1fr))}.video-production-flow.auto-edit{grid-template-columns:minmax(0,1fr)}.video-flow-step,.video-production-panel{border:1px solid var(--line);background:var(--panel-solid);border-radius:8px}.video-flow-step{grid-template-rows:auto 1fr;grid-template-columns:auto 22px minmax(0,1fr);align-items:start;gap:9px;min-height:104px;padding:13px;display:grid}.video-flow-step svg{color:var(--muted);margin-top:1px}.video-flow-step div{gap:5px;min-width:0;display:grid}.video-flow-step strong,.video-flow-step small,.video-flow-step em{text-overflow:ellipsis;overflow:hidden}.video-flow-step small{line-height:1.45}.video-flow-step em{color:var(--muted);background:#ffffff14;border-radius:999px;grid-column:1/-1;place-self:end start;padding:3px 7px;font-size:11px;font-style:normal}.theme-light .video-flow-step em{background:#0f172a0f}.video-flow-step.done{border-color:#22c55e73}.video-flow-step.done svg,.video-flow-step.done em{color:#22c55e}.video-flow-step.active{border-color:#38bdf88c}.video-flow-step.active svg,.video-flow-step.active em{color:#38bdf8}.video-flow-step.blocked{border-color:#f59e0b73}.video-flow-step.blocked svg,.video-flow-step.blocked em{color:#f59e0b}.video-flow-index{background:var(--control);width:22px;height:22px;color:var(--text);border-radius:999px;place-items:center;font-size:12px;font-weight:800;display:grid}.video-production-layout{grid-template-columns:minmax(360px,.82fr) minmax(460px,1.18fr);align-items:start;gap:16px;display:grid}.video-production-load-module,.video-production-load-form,.video-production-load-feedback{align-content:start;gap:14px;min-width:0;display:grid}.video-production-load-feedback{border-top:1px solid var(--line);padding-top:14px}.video-production-side-column{align-content:start;gap:16px;min-width:0;display:grid}.video-production-panel{gap:14px;min-width:0;padding:16px;display:grid}.video-production-panel-heading{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.video-production-panel-heading>div{gap:4px;min-width:0;display:grid}.video-production-panel-heading strong{font-size:15px}.video-production-panel-heading svg{color:var(--muted);flex:none}.video-production-heading-count{min-width:0;max-width:50%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:12px;line-height:1.2;overflow:hidden}.video-production-form-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.video-production-product-field{min-width:0;color:var(--muted);align-content:start;gap:6px;font-size:11px;display:grid}.video-production-product-select-row,.video-production-product-create-row{grid-template-columns:minmax(0,1fr) 36px 36px;gap:6px;min-width:0;display:grid}.video-production-product-select-row select,.video-production-product-create-row input{min-width:0}.video-production-product-icon-button{border-radius:8px;width:36px;height:36px;min-height:36px;padding:0}.video-production-product-icon-button.confirm{color:#22c55e;border-color:#22c55e73}.video-production-product-icon-button.delete:hover:not(:disabled){color:#f87171;border-color:#f8717180}.video-production-product-error{color:#fca5a5;line-height:1.4}.theme-light .video-production-product-error{color:#b91c1c}.video-production-help-row,.video-production-alert{align-items:flex-start;gap:8px;font-size:12px;line-height:1.45;display:flex}.video-production-help-row svg,.video-production-alert svg{flex:none;margin-top:1px}.video-production-primary{border-radius:8px;width:100%;min-height:42px;font-weight:800}.video-production-alert{border-radius:8px;padding:10px}.video-production-alert.error,.video-production-alert.warning{color:#fbbf24;background:#f59e0b1a;border:1px solid #f59e0b59}.video-production-alert.error{color:#fca5a5;background:#f871711a;border-color:#f8717159}.theme-light .video-production-alert.warning{color:#92400e}.theme-light .video-production-alert.error{color:#991b1b}.video-production-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.video-production-stats div{border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:7px;padding:12px;display:grid}.video-production-stats span,.video-production-result-lines span{color:var(--muted);font-size:12px}.video-production-stats strong{font-size:24px;line-height:1}.video-production-load-module .video-production-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.video-production-result.success .video-production-panel-heading svg{color:#22c55e}.video-production-result.warning .video-production-panel-heading svg{color:#f59e0b}.video-production-result-lines{gap:8px;display:grid}.video-production-result-lines p{grid-template-columns:84px minmax(0,1fr);gap:10px;min-width:0;margin:0;display:grid}.video-production-result-lines strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.video-material-list{align-content:start;gap:8px;display:grid}.video-material-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.video-material-filter{border:1px solid var(--line);background:var(--panel);border-radius:7px;align-items:center;gap:3px;padding:3px;display:inline-flex}.video-material-filter button,.video-material-retry-all-button,.video-material-pagination button{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;font-size:12px;font-weight:800}.video-material-filter button{min-height:28px;padding:0 10px}.video-material-filter button span{font-variant-numeric:tabular-nums;opacity:.72;margin-left:3px}.video-material-filter button.active{border-color:var(--line);background:var(--control);color:var(--text)}.video-material-retry-all-button{color:#f87171;white-space:nowrap;background:#f8717114;border-color:#f8717152;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 11px;display:inline-flex}.video-material-retry-all-button:hover:not(:disabled){background:#f8717124;border-color:#f871719e}.video-material-retry-all-button:disabled,.video-material-pagination button:disabled{opacity:.42;cursor:not-allowed}.video-material-row{border:1px solid var(--line);background:var(--panel);width:100%;min-width:0;min-height:44px;color:var(--text);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;display:grid}.video-material-main{min-width:0;min-height:42px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 120px 88px;align-items:center;gap:4px;padding:9px 0 9px 10px;display:grid}.video-material-main span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.video-material-main strong{justify-self:end;font-size:12px}.video-material-row-state{justify-content:flex-end;align-items:center;gap:6px;min-width:0;padding-right:10px;display:flex}.video-material-status{color:var(--muted);white-space:nowrap;background:#94a3b81f;border-radius:999px;justify-self:end;padding:4px 8px;font-size:12px;font-style:normal;font-weight:800;line-height:1}.video-material-status.processing{color:#38bdf8;background:#38bdf824}.video-material-status.completed{color:#22c55e;background:#22c55e24}.video-material-status.failed{color:#f87171;background:#f8717124}.theme-light .video-material-status.processing{color:#0369a1}.theme-light .video-material-status.completed{color:#15803d}.theme-light .video-material-status.failed{color:#b91c1c}.video-material-retry-button{border:1px solid var(--line);background:var(--control);min-height:28px;color:var(--text);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.video-material-retry-button:hover:not(:disabled){color:#38bdf8;border-color:#38bdf8}.video-production-empty{border:1px dashed var(--line);text-align:center;border-radius:8px;padding:16px}.video-material-row:hover{background:#3b82f614;border-color:#3b82f6b3}.video-production-material-review{grid-template-columns:minmax(360px,.82fr) minmax(460px,1.18fr);align-items:start;gap:16px;margin-bottom:16px;display:grid}.video-production-material-review .video-production-panel{min-width:0}.video-production-material-preview,.video-production-task-history{align-content:start;min-height:320px}.video-production-material-preview .video-material-list{max-height:460px;padding-right:4px;overflow:auto}.video-production-material-preview{margin-bottom:0}.video-production-task-list{border:1px solid var(--line);border-radius:8px;max-height:494px;overflow:auto}.video-production-task-row{border-bottom:1px solid var(--line);min-height:44px;color:var(--muted);grid-template-columns:minmax(142px,1.3fr) minmax(100px,1fr) 58px 64px 138px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:grid}.video-production-task-row:last-child{border-bottom:0}.video-production-task-row.header{z-index:1;background:var(--panel);min-height:36px;color:var(--muted);font-size:11px;font-weight:800;position:sticky;top:0}.video-production-task-row.current{background:#3b82f614;box-shadow:inset 3px 0 #3b82f6}.video-production-task-row time{color:var(--text);font-variant-numeric:tabular-nums}.video-production-task-row strong{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.video-production-task-row>:nth-child(3),.video-production-task-row>:nth-child(4),.video-production-task-row>:nth-child(5){font-variant-numeric:tabular-nums;justify-self:end}.video-production-task-action button{color:#38bdf8;background:#38bdf814;border-color:#38bdf857;justify-content:center;align-items:center;gap:4px;min-width:62px;min-height:28px;padding:4px 7px;font-size:11px;font-weight:800;display:inline-flex}.video-production-task-action{justify-content:flex-end;gap:6px;display:inline-flex}.video-production-task-action button.recover{color:#4ade80;background:#22c55e14;border-color:#22c55e5c}.video-production-task-action button:hover:not(:disabled){background:#38bdf824;border-color:#38bdf8ad}.video-production-task-history-state{min-height:240px;color:var(--muted);justify-content:center;align-items:center;gap:8px;display:flex}.video-production-task-history-state.error{color:#f87171;text-align:center;flex-direction:column}.video-production-task-history-state button{align-items:center;gap:6px;min-height:32px;display:inline-flex}.video-production-task-pagination{margin-top:4px}.video-production-recovery-backdrop{z-index:120;background:#000000a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.video-production-recovery-dialog{border:1px solid var(--line-strong);background:var(--panel);border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;width:min(560px,100vw - 40px);max-height:calc(100vh - 40px);display:grid;overflow:hidden;box-shadow:0 28px 80px #00000073}.video-production-recovery-dialog>header,.video-production-recovery-dialog>footer{align-items:center;gap:12px;padding:15px 18px;display:flex}.video-production-recovery-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between}.video-production-recovery-dialog>header div,.video-production-recovery-agent div{gap:4px;display:grid}.video-production-recovery-dialog>header span,.video-production-recovery-agent span{color:var(--muted);font-size:12px}.video-production-recovery-dialog>header button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.video-production-recovery-body{gap:14px;padding:18px;display:grid;overflow:auto}.video-production-recovery-counts{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.video-production-recovery-counts div{border-right:1px solid var(--line);gap:6px;min-width:0;padding:12px;display:grid}.video-production-recovery-counts div:last-child{border-right:0}.video-production-recovery-counts span{color:var(--muted);font-size:11px}.video-production-recovery-counts strong{font-variant-numeric:tabular-nums;font-size:20px}.video-production-recovery-check,.video-production-recovery-agent,.video-production-recovery-warning{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;padding:11px 12px;display:flex}.video-production-recovery-check input{width:16px;height:16px}.video-production-recovery-agent.online{border-color:#22c55e59}.video-production-recovery-agent.offline,.video-production-recovery-warning{color:#f87171;border-color:#f8717166}.video-production-recovery-dialog>footer{border-top:1px solid var(--line);justify-content:flex-end}.video-production-recovery-dialog>footer button{align-items:center;gap:7px;min-height:36px;display:inline-flex}.video-production-recovery-dialog>footer button.primary{color:#fff;background:#2563eb;border-color:#2563eb}.video-material-pagination{min-height:34px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-top:2px;font-size:11px;display:flex}.video-material-pagination>div{align-items:center;gap:8px;display:inline-flex}.video-material-pagination button{border-color:var(--line);background:var(--control);width:30px;height:30px;color:var(--text);place-items:center;padding:0;display:inline-grid}.video-material-pagination strong{min-width:48px;color:var(--text);text-align:center;font-size:12px}.video-production-action-panel{align-content:start}.video-production-model-field{gap:6px;min-width:0;display:grid}.video-production-model-field>span{color:var(--muted);font-size:12px}.video-production-model-field select{width:100%;min-width:0}.video-production-checkbox-field{border:1px solid var(--line);background:var(--control);color:var(--text);border-radius:10px;align-items:flex-start;gap:9px;padding:10px 11px;font-size:13px;line-height:1.35;display:flex}.video-production-checkbox-field input[type=checkbox]{accent-color:#38bdf8;border-radius:4px;flex:none;width:16px;height:16px;margin-top:2px;padding:0}.video-production-checkbox-text{min-width:0;color:var(--text);cursor:pointer;gap:3px;font-size:13px;display:grid}.video-production-checkbox-text small{color:var(--muted);font-size:11px;line-height:1.45}.video-production-checkbox-field input:disabled+.video-production-checkbox-text{cursor:not-allowed;opacity:.72}.video-production-stage-status{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.video-production-stage-status strong{color:var(--text);font-size:13px}.video-production-progress{background:var(--control);border-radius:4px;width:100%;height:7px;overflow:hidden}.video-production-progress span{border-radius:inherit;background:#22c55e;height:100%;display:block}.video-production-stage-button{border-radius:8px;width:100%;min-height:42px;font-weight:800}.video-production-job-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.video-production-job-controls button{border:1px solid var(--line);background:var(--control);min-height:34px;color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:800;display:inline-flex}.video-production-job-controls button:hover:not(:disabled){color:#38bdf8;border-color:#38bdf8}.video-production-job-controls button.danger:hover:not(:disabled){color:#f87171;border-color:#f87171}.video-production-workflow-notice{color:#fbbf24;align-items:flex-start;gap:8px;font-size:12px;line-height:1.45;display:flex}.video-production-workflow-notice svg{flex:none;margin-top:1px}.theme-light .video-production-workflow-notice{color:#92400e}.video-production-upload-actions{grid-template-columns:1fr;gap:10px;display:grid}.video-production-upload-actions button{border-radius:8px;min-height:42px;font-weight:800}.video-production-upload-status{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.video-production-upload-status p{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:0;font-size:12px;display:flex}.video-production-upload-status strong{color:var(--text);font-size:12px}.video-production-disabled-actions{flex-wrap:wrap;gap:10px;display:flex}.video-production-disabled-actions button{border-radius:8px;min-height:38px}.video-production-auto-edit{max-width:980px;margin:0 auto 16px}.video-production-auto-edit-form{gap:14px;display:grid}.video-production-wide-field{gap:6px;display:grid}.video-production-auto-edit-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.video-production-auto-edit-options label{min-width:0}.video-production-auto-edit-status{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.video-production-auto-edit-status p{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:0;font-size:12px;display:flex}.video-production-auto-edit-status strong{min-width:0;color:var(--text);overflow-wrap:anywhere;text-align:right;font-size:12px}@media (max-width:1180px){.video-production-header,.video-production-board{width:min(100vw - 32px,980px)}.video-production-flow.batch,.video-production-flow.auto-edit,.video-production-layout,.video-production-material-review{grid-template-columns:1fr}}@media (max-width:720px){.video-production-header{flex-direction:column;align-items:flex-start;padding:18px 0}.video-production-actions{justify-content:flex-end;width:100%}.video-production-form-grid,.video-production-stats,.video-production-upload-actions,.video-production-auto-edit-options,.video-material-row,.video-material-main{grid-template-columns:1fr}.video-material-main strong,.video-material-status{justify-self:start}.video-material-main{padding:9px 10px 0}.video-material-row-state{justify-content:flex-start;padding:0 10px 9px}.video-production-task-row{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"date total completed""product action action";gap:6px;padding-inline:8px;font-size:11px}.video-production-task-list{overflow-x:hidden}.video-production-task-row.header{display:none}.video-production-task-row time{grid-area:date}.video-production-task-row strong{grid-area:product}.video-production-task-row>:nth-child(3){grid-area:total}.video-production-task-row>:nth-child(4){grid-area:completed}.video-production-task-row>:nth-child(3):before,.video-production-task-row>:nth-child(4):before{content:attr(data-label) " ";color:var(--muted)}.video-production-task-action{grid-area:action}.video-production-recovery-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.video-production-recovery-counts div:nth-child(2){border-right:0}.video-production-recovery-counts div:nth-child(-n+2){border-bottom:1px solid var(--line)}.video-material-toolbar{flex-direction:column;align-items:stretch}.video-material-filter,.video-material-retry-all-button{width:100%}.video-material-filter button{flex:1}}.goal-progress-shell{background:var(--canvas);min-height:100vh;color:var(--text);--goal-primary:#6d7cff;--goal-primary-soft:#6d7cff21;--goal-success:#38c793;--goal-warning:#f2aa52;grid-template-columns:236px minmax(0,1fr);display:grid;overflow:hidden}.theme-light.goal-progress-shell{--goal-primary:#4f5fe7;--goal-primary-soft:#4f5fe71a;--goal-success:#16966a;--goal-warning:#c87517}.goal-progress-sidebar{border-right:1px solid var(--line);background:color-mix(in srgb, var(--panel-solid) 92%, var(--canvas));grid-template-rows:auto 1fr auto;min-height:100vh;padding:24px 16px 18px;display:grid}.goal-progress-brand{color:var(--text);text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px 25px;display:flex}.goal-progress-brand>span{background:var(--goal-primary);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.goal-progress-brand div,.goal-progress-sidebar-bottom span{gap:2px;display:grid}.goal-progress-brand strong{font-size:16px}.goal-progress-brand small,.goal-progress-sidebar-bottom small{color:var(--muted);font-size:11px}.goal-progress-sidebar nav{align-content:start;gap:6px;display:grid}.goal-progress-sidebar nav button{min-height:44px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 12px;display:grid}.goal-progress-sidebar nav button:hover,.goal-progress-sidebar nav button.active{background:var(--goal-primary-soft);color:var(--text)}.goal-progress-sidebar nav button.active{color:var(--goal-primary)}.goal-progress-sidebar nav button span{background:var(--panel-soft);min-width:24px;color:var(--text);text-align:center;border-radius:99px;padding:2px 7px;font-size:12px}.goal-progress-nav-separator{background:var(--line);height:1px;margin:8px 10px}.goal-progress-sidebar-bottom{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) 34px 34px;align-items:center;gap:6px;padding:14px 8px 0;display:grid}.goal-progress-sidebar-bottom button,.goal-progress-icon-button{border:1px solid var(--line);background:var(--control);width:34px;height:34px;color:var(--muted);border-radius:9px;place-items:center;padding:0;display:grid}.goal-progress-main{min-width:0;height:100vh;overflow:auto}.goal-progress-topbar{z-index:20;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--canvas) 88%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:12px 30px;display:flex;position:sticky;top:0}.goal-progress-periods,.goal-progress-top-actions,.goal-progress-hero-actions{align-items:center;gap:9px;display:flex}.goal-progress-periods select,.goal-progress-dialog input,.goal-progress-dialog select,.goal-progress-dialog textarea{border:1px solid var(--line);background:var(--field);color:var(--text);border-radius:9px;outline:none}.goal-progress-periods select{min-width:118px;height:38px;padding:0 30px 0 11px}.goal-progress-quarter-state,.goal-progress-priority,.goal-progress-type,.goal-progress-health{background:var(--panel-soft);min-height:24px;color:var(--muted);border-radius:99px;align-items:center;padding:0 9px;font-size:12px;font-style:normal;display:inline-flex}.goal-progress-quarter-state.active,.goal-progress-health.completed{background:color-mix(in srgb, var(--goal-success) 14%, transparent);color:var(--goal-success)}.goal-progress-quarter-state.archived{color:var(--dim)}.goal-progress-health.not_started{background:color-mix(in srgb, var(--muted) 12%, transparent);color:var(--muted)}.goal-progress-health.in_progress{background:color-mix(in srgb, var(--goal-primary) 14%, transparent);color:var(--goal-primary)}.goal-progress-health.blocked,.goal-progress-health.overdue{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}.goal-progress-health.completed_late{background:color-mix(in srgb, var(--goal-warning) 16%, transparent);color:var(--goal-warning)}.goal-progress-health.terminated{background:color-mix(in srgb, var(--dim) 14%, transparent);color:var(--dim)}.goal-progress-button{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-weight:700;display:inline-flex}.goal-progress-button.primary{background:var(--goal-primary);color:#fff}.goal-progress-button.secondary{border-color:var(--line);background:var(--control);color:var(--text)}.goal-progress-button.danger{border-color:color-mix(in srgb, var(--danger) 34%, var(--line));background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--danger)}.goal-progress-button.save{border-color:var(--line);background:var(--control);min-width:112px;color:var(--muted)}.goal-progress-button.save.dirty{border-color:color-mix(in srgb, var(--goal-primary) 45%, var(--line));background:var(--goal-primary-soft);color:var(--goal-primary)}.goal-progress-button:disabled{cursor:not-allowed;opacity:.48}.goal-progress-message{border:1px solid color-mix(in srgb, var(--goal-primary) 32%, var(--line));background:var(--goal-primary-soft);color:var(--text);border-radius:10px;margin:16px 30px 0;padding:10px 13px;font-size:13px}.goal-progress-content{width:min(1480px,100vw - 292px);margin:0 auto;padding:36px 30px 64px}.goal-progress-content.weekly{width:100%;margin:0;padding:0}.goal-progress-hero,.goal-progress-section-header{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.goal-progress-eyebrow{color:var(--goal-primary);font-size:13px;font-weight:700}.goal-progress-hero h1,.goal-progress-section-header h1{margin:8px 0 7px;font-size:30px;line-height:1.16}.goal-progress-hero p,.goal-progress-section-header p{color:var(--muted);margin:0}.goal-progress-weight-allocation{color:var(--goal-warning);background:color-mix(in srgb, var(--goal-warning) 11%, transparent);border-radius:7px;margin-top:12px;padding:6px 9px;font-size:12px;display:inline-flex}.goal-progress-weight-allocation.complete{color:var(--goal-success);background:color-mix(in srgb, var(--goal-success) 11%, transparent)}.goal-progress-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:28px;display:grid}.goal-progress-kpis.simple{grid-template-columns:repeat(3,minmax(0,1fr))}.goal-progress-kpis article{border:1px solid var(--line);background:var(--panel-soft);border-radius:15px;align-content:center;gap:9px;min-height:132px;padding:20px;display:grid}.goal-progress-kpis article>span{color:var(--muted);font-size:13px}.goal-progress-kpis strong{font-size:28px;font-weight:700}.goal-progress-kpis small{color:var(--dim)}.goal-progress-conclusion strong{font-size:24px}.goal-progress-conclusion.ahead strong{color:var(--goal-success)}.goal-progress-conclusion.normal strong{color:var(--goal-primary)}.goal-progress-conclusion.risk strong{color:var(--goal-warning)}.goal-progress-conclusion.critical strong,.goal-progress-conclusion.blocked strong{color:var(--danger)}.goal-progress-meter{background:var(--line);border-radius:99px;width:100%;height:5px;overflow:hidden}.goal-progress-meter-fill{border-radius:inherit;background:var(--goal-primary);height:100%;display:block}.goal-progress-meter-fill.success{background:var(--goal-success)}.goal-progress-meter-fill.warning{background:var(--goal-warning)}.goal-progress-section-header{align-items:center;margin-top:38px}.goal-progress-section-header h2{margin:0 0 5px;font-size:20px}.goal-progress-section-header h1{margin-top:0}.goal-progress-text-button{color:var(--goal-primary);background:0 0;border:0;align-items:center;gap:4px;display:inline-flex}.goal-progress-goal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.goal-progress-goal-card{border:1px solid var(--line);background:var(--panel-soft);min-height:250px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:15px;grid-template-rows:auto auto 1fr auto auto;gap:12px;padding:19px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.goal-progress-goal-card:hover,.goal-progress-goal-card:focus-visible{border-color:color-mix(in srgb, var(--goal-primary) 58%, var(--line));box-shadow:0 12px 30px color-mix(in srgb, var(--goal-primary) 12%, transparent);outline:none;transform:translateY(-2px)}.goal-progress-card-head,.goal-progress-goal-card footer{color:var(--muted);justify-content:space-between;gap:10px;font-size:12px;display:flex}.goal-progress-priority.core{background:color-mix(in srgb, var(--danger) 14%, transparent);color:var(--danger)}.goal-progress-priority.important{background:color-mix(in srgb, var(--goal-primary) 14%, transparent);color:var(--goal-primary)}.goal-progress-priority.carryover{background:color-mix(in srgb, var(--goal-warning) 14%, transparent);color:var(--goal-warning)}.goal-progress-goal-card.carryover,.goal-progress-tree-goal.carryover{border-color:color-mix(in srgb, var(--goal-warning) 35%, var(--line))}.goal-progress-goal-card h3{margin:0;font-size:17px}.goal-progress-goal-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.goal-progress-goal-card footer{border-top:1px solid var(--line);padding-top:11px}.goal-progress-single{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.goal-progress-single span{color:var(--muted);font-size:12px}.goal-progress-single .goal-progress-meter{grid-column:1/-1}.goal-progress-empty{border:1px dashed var(--line-strong);min-height:220px;color:var(--muted);text-align:center;border-radius:15px;align-content:center;place-items:center;gap:10px;padding:28px;display:grid}.goal-progress-empty strong{color:var(--text)}.goal-progress-empty.large{min-height:430px;margin-top:30px}.goal-progress-empty.compact{min-height:250px}.goal-progress-tree{gap:12px;margin-top:20px;display:grid}.goal-progress-tree-goal{border:1px solid var(--line);background:var(--panel-soft);border-radius:14px;overflow:hidden}.goal-progress-tree-goal.focused{border-color:var(--goal-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--goal-primary) 20%, transparent)}.goal-progress-tree-goal>header,.goal-progress-indicator>header,.goal-progress-task-node>header{border-bottom:1px solid #0000;align-items:stretch;display:flex}.goal-progress-tree-goal-head{min-height:72px;color:var(--text);text-align:left;background:0 0;border:0;flex:1;grid-template-columns:20px 26px 22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 17px;display:grid}.goal-progress-tree-goal-head span,.goal-progress-criterion header>div:first-child,.goal-progress-project header>div,.goal-progress-task-row>span:nth-child(2){gap:4px;display:grid}.goal-progress-tree-goal-head small,.goal-progress-criterion small,.goal-progress-project small,.goal-progress-task-row small{color:var(--muted);font-size:12px;font-weight:400}.goal-progress-tree-body{gap:12px;padding:0 17px 17px 50px;display:grid}.goal-progress-level-badge{border-radius:7px;place-items:center;width:22px;height:22px;font-size:11px;font-weight:800;display:inline-grid}.goal-progress-level-badge.level-1{background:color-mix(in srgb, var(--goal-primary) 20%, transparent);color:var(--goal-primary)}.goal-progress-level-badge.level-2{background:color-mix(in srgb, var(--goal-success) 18%, transparent);color:var(--goal-success)}.goal-progress-level-badge.level-3{background:color-mix(in srgb, var(--goal-warning) 18%, transparent);color:var(--goal-warning)}.goal-progress-row-action{border:0;border-left:1px solid var(--line);width:44px;min-height:44px;color:var(--muted);background:0 0;flex:0 0 44px;place-items:center;display:grid}.goal-progress-row-action:hover{background:var(--goal-primary-soft);color:var(--goal-primary)}.goal-progress-indicator{border:1px solid color-mix(in srgb, var(--goal-success) 24%, var(--line));background:color-mix(in srgb, var(--panel-solid) 62%, transparent);border-radius:12px;overflow:hidden}.goal-progress-indicator>header>button:first-child{min-height:64px;color:var(--text);text-align:left;background:0 0;border:0;flex:1;grid-template-columns:18px 24px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.goal-progress-indicator>header>button:first-child>span:nth-child(3){gap:4px;display:grid}.goal-progress-indicator small{color:var(--muted);font-size:12px;font-weight:400}.goal-progress-indicator-values{white-space:nowrap;align-items:center;gap:12px;display:flex}.goal-progress-indicator-values em{color:var(--goal-primary);font-size:12px;font-style:normal;font-weight:700}.goal-progress-criterion{border:1px solid var(--line);background:color-mix(in srgb, var(--panel-solid) 56%, transparent);border-radius:12px;overflow:hidden}.goal-progress-criterion>header{justify-content:space-between;align-items:center;gap:16px;padding:15px;display:flex}.goal-progress-criterion header>div:first-child{grid-template-columns:auto 1fr;align-items:center}.goal-progress-criterion header>div:first-child small{grid-column:2}.goal-progress-type{color:var(--goal-primary)}.goal-progress-criterion-values{color:var(--muted);gap:13px;font-size:12px;display:flex}.goal-progress-criterion-values b{color:var(--goal-success)}.goal-progress-project-list{gap:8px;padding:12px;display:grid}.goal-progress-project{border:1px solid var(--line);border-radius:10px;overflow:hidden}.goal-progress-project>header{grid-template-columns:20px minmax(0,1fr) auto 48px;align-items:center;gap:9px;min-height:54px;padding:10px 12px;display:grid}.goal-progress-project>header>b{text-align:right}.goal-progress-carry-note{border-top:1px solid var(--line);background:var(--goal-primary-soft);color:var(--goal-primary);padding:8px 12px;font-size:12px}.goal-progress-task-list{border-top:1px solid var(--line)}.goal-progress-task-node{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--canvas) 28%, transparent)}.goal-progress-task-node:last-child{border-bottom:0}.goal-progress-task-row{border:0;border-bottom:1px solid var(--line);min-width:0;min-height:54px;color:var(--text);text-align:left;background:0 0;flex:1;grid-template-columns:16px 24px 22px minmax(0,1fr) auto 48px;align-items:center;gap:8px;padding:8px 12px;display:grid}.goal-progress-task-row:hover{background:var(--panel-soft)}.goal-progress-task-row em{color:var(--muted);font-size:12px;font-style:normal}.goal-progress-task-row>b{text-align:right}.goal-progress-task-status{color:var(--muted)}.goal-progress-task-status.in_progress{color:var(--goal-primary)}.goal-progress-task-status.completed{color:var(--goal-success)}.goal-progress-task-status.completed_late{color:var(--goal-warning)}.goal-progress-task-status.blocked,.goal-progress-task-status.overdue{color:var(--danger)}.goal-progress-task-status.terminated{color:var(--dim)}.goal-progress-task-detail{border-top:1px solid var(--line);background:color-mix(in srgb, var(--panel-solid) 46%, transparent);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:13px 15px 15px 61px;display:grid}.goal-progress-task-detail>div{border:1px solid var(--line);background:var(--panel-soft);border-radius:9px;min-width:0;padding:11px}.goal-progress-task-detail span{color:var(--muted);font-size:11px}.goal-progress-task-detail p{color:var(--text);white-space:pre-wrap;margin:7px 0 0;font-size:12px;line-height:1.55}.goal-progress-task-detail>.goal-progress-carry-note{grid-column:1/-1}.goal-progress-inline-empty{color:var(--muted);text-align:center;padding:18px;font-size:12px}.goal-progress-add-row{border:1px dashed var(--line-strong);min-height:38px;color:var(--muted);background:0 0;border-radius:9px;justify-content:center;align-items:center;gap:6px;display:flex}.goal-progress-add-row:hover{border-color:var(--goal-primary);color:var(--goal-primary)}.goal-progress-add-row.task{border:0;border-radius:0;width:100%}.goal-progress-my-tasks{gap:10px;margin-top:20px;display:grid}.goal-progress-my-task{border:1px solid var(--line);background:var(--panel-soft);min-height:82px;color:var(--text);text-align:left;border-radius:12px;grid-template-columns:28px minmax(0,1fr) 190px;align-items:center;gap:13px;padding:14px 17px;display:grid}.goal-progress-my-task>span:nth-child(2){gap:4px;display:grid}.goal-progress-my-task small,.goal-progress-my-task em{color:var(--muted);font-size:12px;font-style:normal}.goal-progress-my-task-progress{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.goal-progress-my-task-progress .goal-progress-health{justify-self:start}.goal-progress-my-task-progress .goal-progress-meter{grid-column:1/-1}.goal-progress-quarter-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.goal-progress-quarter-summary article{border:1px solid var(--line);background:var(--panel-soft);cursor:pointer;border-radius:14px;gap:18px;padding:18px;display:grid}.goal-progress-quarter-summary header,.goal-progress-quarter-summary article>div{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.goal-progress-quarter-summary header span{font-weight:700}.goal-progress-quarter-summary header em{color:var(--muted);font-size:12px;font-style:normal}.goal-progress-quarter-summary article>div span{color:var(--muted);font-size:12px}.goal-progress-quarter-summary .goal-progress-meter{grid-column:1/-1}.goal-progress-quarter-summary footer{border-top:1px solid var(--line);color:var(--muted);padding-top:12px;font-size:12px}.goal-progress-dialog-backdrop{z-index:100;background:#0000009e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.goal-progress-dialog{border:1px solid var(--line-strong);background:var(--panel-solid);border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;width:min(720px,100vw - 48px);max-height:calc(100vh - 48px);display:grid;overflow:hidden;box-shadow:0 30px 90px #00000073}.goal-progress-dialog>header,.goal-progress-dialog>footer{justify-content:space-between;align-items:center;gap:14px;padding:16px 19px;display:flex}.goal-progress-dialog>header{border-bottom:1px solid var(--line)}.goal-progress-dialog>footer{border-top:1px solid var(--line);justify-content:flex-end}.goal-progress-dialog-spacer{flex:1}.goal-progress-dialog>header div{gap:4px;display:grid}.goal-progress-dialog>header span{color:var(--muted);font-size:12px}.goal-progress-dialog>header>button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.goal-progress-dialog-body{grid-template-columns:1fr 1fr;gap:14px;padding:19px;display:grid;overflow:auto}.goal-progress-dialog-body>label{color:var(--muted);gap:7px;font-size:12px;display:grid}.goal-progress-field-note{color:var(--goal-warning);font-size:11px;line-height:1.45}.goal-progress-dialog-body .wide{grid-column:1/-1}.goal-progress-dialog input,.goal-progress-dialog select{width:100%;height:40px;padding:0 10px}.goal-progress-dialog textarea{resize:vertical;width:100%;padding:9px 10px}.goal-progress-dialog fieldset{border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;gap:10px;padding:12px;display:flex}.goal-progress-dialog legend{color:var(--muted);padding:0 6px;font-size:12px}.goal-progress-dialog .check{color:var(--text);align-items:center;gap:6px;font-size:13px;display:flex}.goal-progress-dialog .check input{width:auto;height:auto}.goal-progress-weight-hint{border:1px solid color-mix(in srgb, var(--goal-primary) 35%, var(--line));background:var(--goal-primary-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.goal-progress-weight-hint strong{color:var(--goal-primary);font-size:12px}.goal-progress-weight-hint span{color:var(--muted);text-align:right;font-size:11px}.goal-progress-dialog-task-title{background:var(--panel-soft);border-radius:10px;gap:4px;padding:12px;display:grid}.goal-progress-dialog-task-title span{color:var(--muted);font-size:12px}.goal-progress-readonly-field{border:1px solid var(--line);background:var(--panel-soft);border-radius:9px;align-content:center;gap:5px;padding:10px;display:grid}.goal-progress-readonly-field span,.goal-progress-readonly-field small{color:var(--muted);font-size:11px}.goal-progress-readonly-field strong{font-size:13px}.goal-progress-loading{min-height:440px;color:var(--muted);justify-content:center;align-items:center;gap:9px;display:flex}.goal-progress-upload-field{grid-template-columns:auto 1fr;align-items:center;gap:10px 14px!important;display:grid!important}.goal-progress-upload-field>span{color:var(--muted);font-size:11px}.goal-progress-upload-button{border:1px dashed var(--line-strong);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;min-height:36px;padding:0 12px;color:var(--goal-primary)!important;gap:7px!important;display:inline-flex!important}.goal-progress-upload-button input{display:none}.goal-progress-image-grid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;margin-top:9px;display:grid}.goal-progress-image-grid.editable{grid-column:1/-1;width:100%}.goal-progress-image-grid a,.goal-progress-image-grid figure{aspect-ratio:4/3;border:1px solid var(--line);background:var(--canvas);border-radius:8px;margin:0;position:relative;overflow:hidden}.goal-progress-image-grid img{object-fit:cover;width:100%;height:100%;display:block}.goal-progress-image-grid figure button{color:#fff;background:#0f1118c7;border:0;border-radius:7px;place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;top:4px;right:4px}.department-manager{width:min(620px,100vw - 48px)}.goal-progress-department-list{align-content:start;gap:8px;min-height:180px;max-height:55vh;padding:16px 19px;display:grid;overflow:auto}.goal-progress-department-list article{border:1px solid var(--line);background:var(--panel-soft);border-radius:10px;grid-template-columns:minmax(0,1fr) 36px 36px;align-items:center;gap:7px;min-height:54px;padding:8px 10px 8px 13px;display:grid}.goal-progress-department-list article>span{gap:3px;display:grid}.goal-progress-department-list small{color:var(--muted)}.goal-progress-department-list article>button{border:1px solid var(--line);background:var(--control);width:34px;height:34px;color:var(--muted);border-radius:8px;place-items:center;padding:0;display:grid}.goal-progress-department-list article>button.danger{color:var(--danger)}@media (max-width:1280px){.goal-progress-shell{grid-template-columns:208px minmax(0,1fr)}.goal-progress-content{width:calc(100vw - 238px)}.goal-progress-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-progress-kpis.simple{grid-template-columns:repeat(3,minmax(0,1fr))}.goal-progress-goal-grid,.goal-progress-quarter-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){body{min-width:760px}.goal-progress-shell{grid-template-columns:76px minmax(0,1fr)}.goal-progress-sidebar{padding-inline:10px}.goal-progress-brand{justify-content:center;padding-inline:0}.goal-progress-brand div,.goal-progress-sidebar nav button:not(.active) span,.goal-progress-sidebar nav button{font-size:0}.goal-progress-sidebar nav button{grid-template-columns:1fr;justify-items:center;padding:0}.goal-progress-sidebar nav button svg{width:20px;height:20px}.goal-progress-sidebar-bottom{grid-template-columns:1fr}.goal-progress-sidebar-bottom span{display:none}.goal-progress-content{width:calc(100vw - 92px);padding-inline:20px}.goal-progress-topbar{padding-inline:20px}.goal-progress-task-detail{grid-template-columns:1fr}}.weekly-reports-shell{color:#ececf1;--weekly-border:#2b2b30;--weekly-panel:#151517;--weekly-muted:#9797a2;--weekly-accent:#8b72ff;background:#0e0e10;grid-template-columns:228px minmax(0,1fr);min-height:100vh;display:grid}.weekly-reports-embedded{color:#ececf1;--weekly-border:#2b2b30;--weekly-panel:#151517;--weekly-muted:#9797a2;--weekly-accent:#8b72ff;background:#0e0e10;min-height:100vh}.weekly-reports-shell button,.weekly-reports-shell input,.weekly-reports-shell textarea,.weekly-reports-shell select,.weekly-reports-embedded button,.weekly-reports-embedded input,.weekly-reports-embedded textarea,.weekly-reports-embedded select{font:inherit}.weekly-reports-sidebar{border-right:1px solid var(--weekly-border);background:#111113;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.weekly-reports-brand{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:20px 18px;display:flex}.weekly-reports-brand>span{color:#fff;background:linear-gradient(135deg,#7560ff,#9a82ff);border-radius:11px;place-items:center;width:36px;height:36px;display:grid}.weekly-reports-brand div,.weekly-reports-user span{flex-direction:column;min-width:0;display:flex}.weekly-reports-brand strong{font-size:15px}.weekly-reports-brand small,.weekly-reports-user small{color:var(--weekly-muted);margin-top:3px;font-size:11px}.weekly-reports-sidebar nav{gap:5px;padding:14px 10px;display:grid}.weekly-reports-sidebar nav button{color:#aaaab3;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;min-height:42px;padding:0 12px;display:flex}.weekly-reports-sidebar nav button:hover{color:#fff;background:#1c1c20}.weekly-reports-sidebar nav button.active{color:#fff;background:#282330}.weekly-sidebar-nav-row{border-radius:9px;align-items:center;min-width:0;display:flex}.weekly-sidebar-nav-row:hover{background:#1c1c20}.weekly-sidebar-nav-row.active{background:#282330}.weekly-reports-sidebar nav .weekly-sidebar-nav-main{background:0 0;flex:1;min-width:0}.weekly-sidebar-sheet-list{gap:3px;padding:0 2px 4px 22px;display:grid}.weekly-sidebar-sheet-item{align-items:center;min-width:0;display:flex;position:relative}.weekly-sidebar-summary-item{border-bottom:1px solid var(--weekly-border);margin-bottom:5px;padding-bottom:5px}.weekly-reports-sidebar nav .weekly-sidebar-sheet-list .weekly-sidebar-sheet-open{color:#9f9fa9;gap:8px;width:100%;min-width:0;min-height:34px;padding:0 32px 0 10px;font-size:11px}.weekly-reports-sidebar nav .weekly-sidebar-sheet-item.active .weekly-sidebar-sheet-open{color:#ded7ff;background:#211d2a}.weekly-sidebar-sheet-open span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.weekly-sidebar-sheet-list small{color:var(--weekly-muted);padding:7px 10px;font-size:10px}.weekly-rule-directory{border-bottom:1px solid var(--weekly-border);gap:2px;min-width:0;margin-bottom:7px;padding-bottom:7px;display:grid}.weekly-rule-directory>header{justify-content:space-between;align-items:center;gap:8px;min-height:30px;padding:0 4px 0 8px;display:flex}.weekly-rule-directory>header>span{color:#8f899d;align-items:center;gap:6px;font-size:10px;display:inline-flex}.weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-add,.weekly-sheet-directory .weekly-rule-directory .weekly-rule-add{color:#aaa4b7;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;display:grid}.weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-add:hover,.weekly-sheet-directory .weekly-rule-directory .weekly-rule-add:hover{color:#eeeaf8;background:#ffffff0f}.weekly-rule-item{align-items:center;min-width:0;display:flex;position:relative}.weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-open,.weekly-sheet-directory .weekly-rule-directory .weekly-rule-open{color:#9f9fa9;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;min-width:0;min-height:34px;padding:0 10px;font-size:11px;display:flex}.weekly-rule-open span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-open:hover,.weekly-sheet-directory .weekly-rule-directory .weekly-rule-open:hover{color:#e7e2ef;background:#ffffff0b}.weekly-rule-item.active .weekly-rule-open{color:#ded7ff;background:#211d2a}.weekly-sheet-group{gap:2px;min-width:0;display:grid}.weekly-sheet-group+.weekly-sheet-group{margin-top:7px}.weekly-sheet-group-heading{color:#8f899d;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:14px 14px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-width:0;min-height:32px;padding:4px 8px;font-size:10px;display:grid}.weekly-reports-sidebar nav .weekly-sheet-group-heading,.weekly-sheet-directory .weekly-sheet-group-heading{color:#8f899d;text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:14px 14px minmax(0,1fr) auto;gap:6px;width:100%;min-height:32px;padding:4px 8px;display:grid}.weekly-reports-sidebar nav .weekly-sheet-group-heading:hover,.weekly-sheet-directory .weekly-sheet-group-heading:hover{color:#d1cadf;background:#ffffff0b}.weekly-reports-sidebar nav .weekly-sheet-group-heading.active,.weekly-sheet-directory .weekly-sheet-group-heading.active{color:#c6baf1;background:#8b5cf614}.weekly-sheet-group-heading:focus-visible{outline-offset:1px;outline:2px solid #8b5cf68c}.weekly-sheet-group-heading strong{color:#bbb4ca;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.weekly-sheet-group-heading span{color:var(--weekly-muted);white-space:nowrap;font-size:9px}.weekly-reports-sidebar nav .weekly-sheet-group-heading.active strong,.weekly-sheet-directory .weekly-sheet-group-heading.active strong{color:#d8cff6}.weekly-sheet-group-members{gap:2px;min-width:0;display:grid}.weekly-reports-sidebar nav .weekly-sidebar-sheet-list .weekly-sheet-group-members .weekly-sidebar-sheet-open,.weekly-sheet-directory .weekly-sheet-group-members .weekly-sidebar-sheet-open{padding:0 10px 0 24px}.weekly-sheet-group.historical .weekly-sheet-group-heading,.weekly-sheet-group.historical .weekly-sheet-group-heading strong{color:#9c8290}.weekly-reports-access-note{background:#1a1720;border:1px solid #322d42;border-radius:10px;margin:8px 14px;padding:12px}.weekly-reports-access-note strong,.weekly-reports-access-note span{display:block}.weekly-reports-access-note strong{color:#d8d0ff;font-size:12px}.weekly-reports-access-note span{color:var(--weekly-muted);margin-top:5px;font-size:11px;line-height:1.5}.weekly-reports-user{border-top:1px solid var(--weekly-border);align-items:center;gap:7px;margin-top:auto;padding:14px;display:flex}.weekly-reports-user>span{flex:1;font-size:12px;overflow:hidden}.weekly-reports-user>button,.weekly-report-list header button,.weekly-row-delete{border:1px solid var(--weekly-border);color:#b8b8c0;cursor:pointer;background:#19191c;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.weekly-reports-main{overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0;height:100vh;overflow-y:auto}.weekly-reports-embedded .weekly-reports-main{height:100vh}.weekly-reports-topbar{z-index:10;border-bottom:1px solid var(--weekly-border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0e0e10f0;justify-content:space-between;align-items:center;gap:20px;min-height:68px;padding:0 22px;display:flex;position:sticky;top:0}.weekly-reports-topbar>div:first-child{flex-direction:column;display:flex}.weekly-reports-topbar strong{font-size:16px}.weekly-reports-topbar span{color:var(--weekly-muted);margin-top:4px;font-size:12px}.weekly-reports-actions{gap:8px;display:flex}.weekly-button{color:#fff;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 13px;display:inline-flex}.weekly-button.primary{background:var(--weekly-accent)}.weekly-button.secondary{border-color:var(--weekly-border);background:#1b1b1e}.weekly-button.compact{width:36px;padding:0}.weekly-button.danger{color:#ffadb5;background:#2c191d;border-color:#5a3036}.weekly-button:disabled{cursor:not-allowed;opacity:.45}.weekly-reports-message{color:#ddd5ff;background:#211b2d;border:1px solid #433762;border-radius:8px;margin:14px 22px 0;padding:10px 13px;font-size:12px}.weekly-reports-loading,.weekly-report-empty,.weekly-table-empty{min-height:320px;color:var(--weekly-muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.weekly-report-workspace{grid-template-columns:272px minmax(0,1fr);min-height:calc(100vh - 69px);display:grid}.weekly-report-list{border-right:1px solid var(--weekly-border);background:#121214;flex-direction:column;min-height:0;max-height:calc(100vh - 69px);display:flex;overflow:hidden}.weekly-report-list header{border-bottom:1px solid var(--weekly-border);color:#bdbdc5;justify-content:space-between;align-items:center;height:58px;padding:0 14px 0 18px;font-size:12px;display:flex}.weekly-report-list header select{border:1px solid var(--weekly-border);color:#d5d5da;background:#18181b;border-radius:7px;min-width:0;height:34px;padding:0 28px 0 9px;font-size:11px}.weekly-report-list>div{overscroll-behavior:contain;scrollbar-gutter:stable;gap:3px;min-height:0;padding:9px;display:grid;overflow-y:auto}.weekly-report-list>div>button{color:#b7b7bf;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:flex-start;gap:9px;padding:11px 10px;display:flex}.weekly-report-list>div>button:hover{background:#1b1b1e}.weekly-report-list>div>button.active{color:#fff;background:#27232e}.weekly-report-list>div>button span{flex-direction:column;min-width:0;display:flex}.weekly-report-list>div>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.weekly-report-list>div>button small{color:var(--weekly-muted);margin-top:5px;font-size:10px}.weekly-report-list-empty{color:var(--weekly-muted);flex-direction:column;align-items:center;gap:9px;padding:40px 12px;font-size:12px;display:flex}.weekly-report-list-empty button{color:#b6a7ff;cursor:pointer;background:0 0;border:0}.weekly-report-list article{color:#b7b7bf;border-radius:8px;align-items:center;display:flex}.weekly-report-list article:hover{background:#1b1b1e}.weekly-report-list article.active{color:#fff;background:#27232e}.weekly-report-list-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:flex-start;gap:9px;padding:11px 10px;display:flex}.weekly-report-list-main span{flex-direction:column;min-width:0;display:flex}.weekly-report-list-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.weekly-report-list-main small{color:var(--weekly-muted);margin-top:5px;font-size:10px}.weekly-report-list-edit{color:#a99cec;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;flex:none;place-items:center;width:28px;height:28px;margin-right:7px;display:grid}.weekly-report-list-edit:hover{background:#312a3e;border-color:#554a71}.weekly-report-editor{box-sizing:border-box;border:1px solid var(--weekly-border);background:#151517;border-radius:12px;width:calc(100% - 32px);margin:16px 16px 60px;padding:26px 28px 60px;box-shadow:0 18px 50px #0003}.weekly-report-editor-meta{align-items:flex-end;gap:12px;display:flex}.weekly-report-editor-meta label{color:var(--weekly-muted);flex-direction:column;gap:6px;font-size:10px;display:flex}.weekly-report-editor-meta input,.weekly-report-title,.weekly-report-content{border:1px solid var(--weekly-border);color:#ececf1;background:#101012;outline:none}.weekly-report-editor-meta input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border-radius:7px;height:32px;padding:0 9px}.weekly-report-editor-meta>span{color:var(--weekly-muted);align-items:center;gap:6px;margin-left:0;padding-bottom:8px;font-size:10px;display:inline-flex}.weekly-report-editor-meta>span:last-child{margin-left:auto}.weekly-report-heading{border-bottom:1px solid var(--weekly-border);margin:28px 0 18px;padding-bottom:14px;font-size:28px}.weekly-report-content[readonly]{color:#aaaab3;cursor:default}.weekly-report-title{background:0 0;border-width:0 0 1px;width:100%;margin:26px 0 18px;padding:0 0 14px;font-size:30px;font-weight:700}.weekly-report-content{resize:vertical;border-radius:9px;width:100%;min-height:560px;padding:20px;line-height:1.85}.weekly-report-section-nav{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#151517f5;gap:8px;margin:0 -2px 16px;padding:10px 2px;display:flex;position:sticky;top:68px}.weekly-report-section-nav button{color:#cfc7f7;cursor:pointer;background:#211e28;border:1px solid #3a3545;border-radius:8px;min-width:82px;height:34px;padding:0 14px}.weekly-report-section-nav button:hover{color:#fff;background:#312b3d;border-color:#6d5d9a}.weekly-report-sections{gap:18px;display:grid}.weekly-report-section{background:#111113;border:1px solid #313137;border-radius:11px;scroll-margin-top:124px;overflow:hidden}.weekly-report-section>header{background:#18181b;border-bottom:1px solid #2a2a2f;align-items:center;gap:13px;padding:16px 18px;display:flex}.weekly-report-section>header>span{color:#d9d1ff;background:#302943;border-radius:9px;place-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:grid}.weekly-report-section>header div{flex-direction:column;gap:4px;display:flex}.weekly-report-section h2{margin:0;font-size:17px}.weekly-report-section small{color:var(--weekly-muted);font-size:10px}.weekly-report-section textarea{box-sizing:border-box;color:#ececf1;resize:vertical;background:#101012;border:0;outline:none;width:100%;min-height:260px;padding:20px;line-height:1.8;display:block}.weekly-report-section textarea:focus{background:#121216;box-shadow:inset 3px 0 #6f5ada}.weekly-report-section textarea[readonly]{color:#aaaab3;cursor:default}.weekly-report-empty strong,.weekly-table-empty strong{color:#e4e4e8}.weekly-report-empty span,.weekly-table-empty span{font-size:12px}.weekly-work-records{min-width:0;padding:22px}.weekly-work-records-workspace{grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 68px);display:grid}.weekly-sheet-directory{border-right:1px solid var(--weekly-border);background:#111113;min-width:0;padding:18px 12px}.weekly-sheet-directory>header{min-height:34px;color:var(--weekly-muted);justify-content:space-between;align-items:center;gap:8px;padding:0 8px 10px;font-size:11px;display:flex}.weekly-sheet-directory>header span{color:var(--weekly-muted);font-size:10px}.weekly-sheet-directory-list{gap:4px;display:grid}.weekly-sheet-directory .weekly-sidebar-sheet-open{color:#9f9fa9;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;min-width:0;min-height:36px;padding:0 34px 0 10px;display:flex}.weekly-sheet-directory .weekly-sidebar-sheet-item.active .weekly-sidebar-sheet-open{color:#ded7ff;background:#211d2a}.weekly-sheet-directory-list>small{color:var(--weekly-muted);padding:10px;font-size:11px}.weekly-work-records-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.weekly-sheet-selectors{align-items:center;gap:8px;display:flex}.weekly-sheet-selectors select{border:1px solid var(--weekly-border);color:#fff;background:#18181b;border-radius:8px;width:250px;height:36px;padding:0 30px 0 10px}.weekly-period-selectors{align-items:center;gap:10px;display:flex}.weekly-period-selectors select{border:1px solid var(--weekly-border);color:#fff;background:#18181b;border-radius:8px;height:36px;padding:0 30px 0 10px}.weekly-period-selectors>div{border:1px solid var(--weekly-border);background:#18181b;border-radius:8px;padding:3px;display:flex}.weekly-period-selectors button{width:44px;height:28px;color:var(--weekly-muted);cursor:pointer;background:0 0;border:0;border-radius:6px}.weekly-period-selectors button.active{color:#fff;background:#393044}.weekly-period-selectors .weekly-year-add{border:1px solid var(--weekly-border);color:#bdbdc5;white-space:nowrap;background:#18181b;align-items:center;gap:4px;width:auto;min-width:62px;height:36px;padding:0 9px;display:inline-flex}.weekly-rule-editor{border-top:1px solid var(--weekly-border);border-bottom:1px solid var(--weekly-border);background:#111113;min-height:calc(100vh - 112px)}.weekly-rule-editor-header{border-bottom:1px solid var(--weekly-border);justify-content:space-between;align-items:center;gap:12px;min-height:82px;padding:16px 24px;display:flex}.weekly-rule-editor-title{align-items:center;gap:12px;min-width:0;display:flex}.weekly-rule-editor-title>svg{color:#8b74ea;flex:none}.weekly-rule-editor-title>div{gap:4px;min-width:0;display:grid}.weekly-rule-editor-title span{color:var(--weekly-muted);font-size:10px}.weekly-rule-editor-title h2{color:#ececf1;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;overflow:hidden}.weekly-rule-editor-actions{flex:none;align-items:center;gap:8px;display:flex}.weekly-rule-save-state{color:#8f949e;white-space:nowrap;margin-right:4px;font-size:11px}.weekly-rule-save-state.dirty{color:#e2b66c}.weekly-rule-editor-fields{gap:20px;max-width:900px;padding:24px;display:grid}.weekly-rule-editor-fields label{color:#b9b9c1;gap:8px;font-size:11px;display:grid}.weekly-rule-editor-fields input,.weekly-rule-editor-fields textarea{box-sizing:border-box;color:#ececf1;background:#18181b;border:1px solid #35353b;border-radius:7px;outline:none;width:100%}.weekly-rule-editor-fields input{height:40px;padding:0 12px}.weekly-rule-editor-fields textarea{resize:vertical;min-height:340px;padding:14px 12px;line-height:1.7}.weekly-rule-editor-fields input:focus,.weekly-rule-editor-fields textarea:focus{border-color:#7866b5;box-shadow:0 0 0 3px #7866b529}.weekly-rule-editor-fields input[aria-invalid=true]{border-color:#9f4f5a}.weekly-summary{border:1px solid var(--weekly-border);background:#131315;border-radius:12px;max-height:calc(100vh - 145px);padding:22px;overflow-y:auto}.weekly-summary-header{justify-content:space-between;align-items:flex-end;gap:24px;padding:4px 4px 22px;display:flex}.weekly-summary-header>div:first-child{flex-direction:column;display:flex}.weekly-summary-header>div:first-child>span{color:#aa9cef;font-size:11px;font-weight:700}.weekly-summary-header h2{margin:8px 0 6px;font-size:24px}.weekly-summary-header p{color:var(--weekly-muted);margin:0;font-size:12px}.weekly-summary-header>div:last-child{flex-direction:column;align-items:flex-end;display:flex}.weekly-summary-header>div:last-child strong{font-size:32px}.weekly-summary-header>div:last-child span{color:var(--weekly-muted);margin-top:2px;font-size:10px}.weekly-summary-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.weekly-summary-card{color:#e8e8ed;text-align:left;cursor:pointer;background:#18181b;border:1px solid #303036;border-radius:11px;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:118px;padding:18px;display:grid}.weekly-summary-card:hover,.weekly-summary-card.expanded{background:#1d1a24;border-color:#66577f}.weekly-summary-card>span{border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.weekly-summary-card.completed>span{color:#9fcaff;background:#1c2e47}.weekly-summary-card.in_progress>span{color:#95e0bb;background:#173126}.weekly-summary-card.not_started>span{color:#ff9da7;background:#3c2026}.weekly-summary-card.terminated>span{color:#c7b3ff;background:#302445}.weekly-summary-card>div{flex-direction:column;min-width:0;display:flex}.weekly-summary-card small{color:var(--weekly-muted);font-size:11px}.weekly-summary-card strong{margin:2px 0;font-size:28px}.weekly-summary-card em{color:#777782;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;overflow:hidden}.weekly-summary-card>svg{color:#74747f}.weekly-summary-groups{gap:12px;margin-top:16px;display:grid}.weekly-summary-group{background:#161618;border:1px solid #303036;border-radius:10px;overflow:hidden}.weekly-summary-group>header{background:#1a1a1d;border-bottom:1px solid #2a2a2f;padding:13px 16px}.weekly-summary-group>header>div{justify-content:space-between;align-items:center;display:flex}.weekly-summary-group>header strong{font-size:13px}.weekly-summary-group>header span{color:var(--weekly-muted);font-size:10px}.weekly-summary-group>div{display:grid}.weekly-summary-group>div>button{color:#e4e4e9;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #27272b;grid-template-columns:150px minmax(0,1fr) 22px;align-items:center;gap:14px;min-height:62px;padding:10px 16px;display:grid}.weekly-summary-group>div>button:last-child{border-bottom:0}.weekly-summary-group>div>button:hover{background:#201d27}.weekly-summary-sheet-name{color:#aa9cef;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.weekly-summary-group>div>button>span:nth-child(2){flex-direction:column;min-width:0;display:flex}.weekly-summary-group>div>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.weekly-summary-group>div>button small{color:var(--weekly-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:10px;overflow:hidden}.weekly-summary-group>div>button>svg{color:#83779b}.weekly-summary-empty{color:var(--weekly-muted);text-align:center;padding:22px;font-size:11px}.weekly-summary-zero{min-height:230px;color:var(--weekly-muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.weekly-summary-zero strong{color:#e4e4e8;font-size:14px}.weekly-summary-zero span{font-size:11px}.weekly-table-wrap{border:1px solid var(--weekly-border);background:#131315;border-radius:10px;max-height:calc(100vh - 145px);overflow:auto}.weekly-work-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max(100%,1900px)}.weekly-work-table th{z-index:2;color:#bdbdc5;text-align:left;background:#1b1b1e;border-bottom:1px solid #35353a;border-right:1px solid #2a2a2e;height:42px;padding:0 10px;font-size:11px;font-weight:600;position:sticky;top:0}.weekly-work-table th:first-child{width:160px}.weekly-work-table th:nth-child(2){width:270px}.weekly-work-table th:nth-child(n+3):nth-child(-n+5){width:135px}.weekly-work-table th:nth-child(6),.weekly-work-table th:nth-child(9),.weekly-work-table th:nth-child(10),.weekly-work-table th:nth-child(11){width:118px}.weekly-work-table th:nth-child(7),.weekly-work-table th:nth-child(8){width:120px}.weekly-work-table th:nth-child(12){width:240px}.weekly-work-table th:nth-child(13){width:58px}.weekly-work-table td{vertical-align:top;background:#141416;border-bottom:1px solid #27272b;border-right:1px solid #27272b;height:78px;padding:6px}.weekly-work-table tr.dirty td{background:#18161d}.weekly-work-table tr.focused td{background:#251f31;box-shadow:inset 0 2px #8b72ff,inset 0 -2px #8b72ff}.weekly-work-table tr.focused td:first-child{box-shadow:inset 2px 0 #8b72ff,inset 0 2px #8b72ff,inset 0 -2px #8b72ff}.weekly-work-table tr.focused td:last-child{box-shadow:inset -2px 0 #8b72ff,inset 0 2px #8b72ff,inset 0 -2px #8b72ff}.weekly-work-table input,.weekly-work-table textarea,.weekly-status-select{color:#e5e5e9;background:0 0;border:1px solid #0000;border-radius:6px;outline:none;width:100%;min-height:34px;padding:7px 8px}.weekly-work-table textarea{resize:vertical;min-height:52px;line-height:1.45}.weekly-work-table input:hover,.weekly-work-table textarea:hover,.weekly-work-table input:focus,.weekly-work-table textarea:focus{background:#1e1c23;border-color:#4b415f}.weekly-work-table input[type=date]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;min-height:40px;padding-right:3px;font-size:11px}.weekly-work-table input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.95;border-radius:6px;width:20px;height:20px;margin:-4px -2px -4px 2px;padding:6px}.weekly-work-table input[type=date]::-webkit-calendar-picker-indicator:hover{background:#8b72ff2e}.weekly-work-table td small{color:#73737d;padding:2px 7px;font-size:9px;display:block}.weekly-status-select{cursor:pointer;font-size:12px;font-weight:600}.weekly-status-select option{color:#efeff2;background:#222226}.difficulty-normal,.efficiency-normal,.quality-normal,.progress-in_progress{color:#95e0bb;background:#173126}.difficulty-hard,.efficiency-delayed,.quality-below_standard,.progress-not_started{color:#ff9da7;background:#3c2026}.difficulty-easy{color:#f2d98e;background:#3a321d}.progress-completed,.efficiency-efficient,.quality-excellent{color:#9fcaff;background:#1c2e47}.progress-terminated{color:#c7b3ff;background:#302445}.weekly-row-delete{color:#e98e97;margin:2px auto}.weekly-table-empty{min-height:360px}.weekly-work-table.with-selection{width:max(100%,1960px)}.weekly-work-table.with-selection th:first-child{text-align:center;width:44px}.weekly-work-table.with-selection th:nth-child(2){width:160px}.weekly-work-table.with-selection th:nth-child(3){width:270px}.weekly-work-table.with-selection th:nth-child(n+4):nth-child(-n+6){width:135px}.weekly-work-table.with-selection th:nth-child(7),.weekly-work-table.with-selection th:nth-child(10),.weekly-work-table.with-selection th:nth-child(11),.weekly-work-table.with-selection th:nth-child(12){width:118px}.weekly-work-table.with-selection th:nth-child(8),.weekly-work-table.with-selection th:nth-child(9){width:120px}.weekly-work-table.with-selection th:nth-child(13){width:240px}.weekly-work-table.with-selection th:nth-child(14){width:58px}.weekly-work-table.with-selection td:first-child{text-align:center;vertical-align:middle}.weekly-work-table input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--weekly-accent);cursor:pointer}.weekly-dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000ad;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.weekly-dialog{background:#171719;border:1px solid #393940;border-radius:12px;width:min(460px,100%);overflow:hidden;box-shadow:0 24px 70px #00000073}.weekly-dialog>header{border-bottom:1px solid var(--weekly-border);justify-content:space-between;align-items:flex-start;padding:18px 20px;display:flex}.weekly-dialog>header div{flex-direction:column;display:flex}.weekly-dialog>header strong{font-size:15px}.weekly-dialog>header span{color:var(--weekly-muted);margin-top:5px;font-size:11px}.weekly-dialog>header button{color:#aaaab3;cursor:pointer;background:0 0;border:0;place-items:center;width:30px;height:30px;display:grid}.weekly-dialog>div{gap:14px;padding:20px;display:grid}.weekly-dialog label{color:#b9b9c1;flex-direction:column;gap:7px;font-size:11px;display:flex}.weekly-dialog input,.weekly-dialog select{color:#fff;background:#101012;border:1px solid #35353b;border-radius:8px;outline:none;height:39px;padding:0 10px}.weekly-dialog input:focus,.weekly-dialog select:focus{border-color:#695a91}.weekly-dialog>footer{border-top:1px solid var(--weekly-border);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}.weekly-delete-warning strong{color:#f1f1f4;font-size:14px}.weekly-delete-warning span{color:#aaaab3;font-size:11px;line-height:1.65}.weekly-reports-shell.theme-light,.weekly-reports-embedded.theme-light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#20242c;--weekly-border:#d9dde5;--weekly-panel:#fff;--weekly-muted:#687180;--weekly-accent:#7259ee;background:#f3f5f8}.theme-light .weekly-reports-sidebar,.theme-light .weekly-report-list,.theme-light .weekly-sheet-directory{background:#fff}.theme-light .weekly-reports-brand small,.theme-light .weekly-reports-user small{color:var(--weekly-muted)}.theme-light .weekly-reports-sidebar nav button{color:#626b78}.theme-light .weekly-reports-sidebar nav button:hover,.theme-light .weekly-sidebar-nav-row:hover{color:#20242c;background:#eef0f4}.theme-light .weekly-sidebar-nav-row.active,.theme-light .weekly-reports-sidebar nav button.active{color:#20242c;background:#e8e3f4}.theme-light .weekly-reports-sidebar nav .weekly-sidebar-sheet-item.active .weekly-sidebar-sheet-open{color:#5840b8;background:#eeeafd}.theme-light .weekly-sheet-directory .weekly-sidebar-sheet-open{color:#626b78}.theme-light .weekly-sheet-directory .weekly-sidebar-sheet-item.active .weekly-sidebar-sheet-open{color:#5840b8;background:#eeeafd}.theme-light .weekly-reports-sidebar nav .weekly-sheet-group-heading,.theme-light .weekly-sheet-directory .weekly-sheet-group-heading{color:#7a8290}.theme-light .weekly-sheet-group-heading strong{color:#4f5662}.theme-light .weekly-reports-sidebar nav .weekly-sheet-group-heading:hover,.theme-light .weekly-sheet-directory .weekly-sheet-group-heading:hover{color:#343a46;background:#f1f2f5}.theme-light .weekly-reports-sidebar nav .weekly-sheet-group-heading.active,.theme-light .weekly-sheet-directory .weekly-sheet-group-heading.active{color:#5840b8;background:#eeeafd}.theme-light .weekly-reports-sidebar nav .weekly-sheet-group-heading.active strong,.theme-light .weekly-sheet-directory .weekly-sheet-group-heading.active strong{color:#5840b8}.theme-light .weekly-rule-directory>header>span{color:#7a8290}.theme-light .weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-add,.theme-light .weekly-sheet-directory .weekly-rule-directory .weekly-rule-add{color:#626b78}.theme-light .weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-add:hover,.theme-light .weekly-sheet-directory .weekly-rule-directory .weekly-rule-add:hover,.theme-light .weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-open:hover,.theme-light .weekly-sheet-directory .weekly-rule-directory .weekly-rule-open:hover{color:#343a46;background:#f1f2f5}.theme-light .weekly-reports-sidebar nav .weekly-rule-directory .weekly-rule-open,.theme-light .weekly-sheet-directory .weekly-rule-directory .weekly-rule-open{color:#626b78}.theme-light .weekly-rule-item.active .weekly-rule-open{color:#5840b8;background:#eeeafd}.theme-light .weekly-reports-access-note{background:#f1edfb;border-color:#d9d1f0}.theme-light .weekly-reports-access-note strong{color:#5942a8}.theme-light .weekly-reports-user>button,.theme-light .weekly-report-list header button,.theme-light .weekly-row-delete{color:#59616f;background:#fff}.theme-light .weekly-reports-topbar{background:#f8f9fbf0}.theme-light .weekly-button{color:#20242c}.theme-light .weekly-button.primary{color:#fff}.theme-light .weekly-button.secondary{background:#fff}.theme-light .weekly-button.danger{color:#bd3344;background:#fff1f3;border-color:#efc4ca}.theme-light .weekly-reports-message{color:#5942a8;background:#f1edfb;border-color:#cfc4ef}.theme-light .weekly-report-list>div>button,.theme-light .weekly-report-list article{color:#4f5662}.theme-light .weekly-report-list>div>button:hover,.theme-light .weekly-report-list article:hover{background:#f1f2f5}.theme-light .weekly-report-list>div>button.active,.theme-light .weekly-report-list article.active{color:#20242c;background:#ebe7f7}.theme-light .weekly-report-list-edit{color:#6551b8}.theme-light .weekly-report-list-edit:hover{background:#e8e3f5;border-color:#c9c0e8}.theme-light .weekly-report-editor{background:#fff;box-shadow:0 18px 50px #2a2f3d14}.theme-light .weekly-report-heading{color:#20242c}.theme-light .weekly-report-section-nav{background:#fffffff5}.theme-light .weekly-report-section-nav button{color:#5942a8;background:#f0ecfa;border-color:#d5cdec}.theme-light .weekly-report-section-nav button:hover{color:#3f2d85;background:#e8e2f7;border-color:#a99ad7}.theme-light .weekly-report-section{background:#fff;border-color:#dfe2e8}.theme-light .weekly-report-section>header{background:#f7f8fa;border-color:#e1e4e9}.theme-light .weekly-report-section>header>span{color:#5942a8;background:#e8e2f7}.theme-light .weekly-report-section textarea{color:#20242c;background:#fff}.theme-light .weekly-report-section textarea:focus{background:#fbfaff}.theme-light .weekly-report-section textarea[readonly]{color:#687180}.theme-light .weekly-report-empty strong,.theme-light .weekly-table-empty strong{color:#20242c}.theme-light .weekly-period-selectors select,.theme-light .weekly-period-selectors>div,.theme-light .weekly-period-selectors .weekly-year-add{color:#3f4651;background:#fff}.theme-light .weekly-period-selectors button.active{color:#3f2d85;background:#e8e2f7}.theme-light .weekly-rule-editor{background:#fff}.theme-light .weekly-rule-editor-title>svg{color:#6551b8}.theme-light .weekly-rule-editor-title h2{color:#20242c}.theme-light .weekly-rule-save-state{color:#737b87}.theme-light .weekly-rule-save-state.dirty{color:#9a681d}.theme-light .weekly-rule-editor-fields label{color:#535b67}.theme-light .weekly-rule-editor-fields input,.theme-light .weekly-rule-editor-fields textarea{color:#20242c;background:#fff;border-color:#d6d9df}.theme-light .weekly-rule-editor-fields input:focus,.theme-light .weekly-rule-editor-fields textarea:focus{border-color:#9f90cb;box-shadow:0 0 0 3px #7259ee1f}.theme-light .weekly-table-wrap{background:#fff}.theme-light .weekly-work-table th{color:#59616e;background:#f5f6f8;border-color:#dfe2e7}.theme-light .weekly-work-table td{background:#fff;border-color:#e2e5ea}.theme-light .weekly-work-table tr.dirty td{background:#fbf9ff}.theme-light .weekly-work-table tr.focused td{background:#f0ecfb}.theme-light .weekly-work-table input,.theme-light .weekly-work-table textarea{color:#20242c}.theme-light .weekly-work-table input:hover,.theme-light .weekly-work-table textarea:hover,.theme-light .weekly-work-table input:focus,.theme-light .weekly-work-table textarea:focus{background:#faf8ff;border-color:#b9acd9}.theme-light .weekly-work-table input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.theme-light .weekly-status-select option{color:#20242c;background:#fff}.theme-light .difficulty-normal,.theme-light .efficiency-normal,.theme-light .quality-normal,.theme-light .progress-in_progress{color:#176044;background:#e9f7f0;border-color:#b9e3ce}.theme-light .difficulty-hard,.theme-light .efficiency-delayed,.theme-light .quality-below_standard,.theme-light .progress-not_started{color:#a33b48;background:#fff0f2;border-color:#f0c6cc}.theme-light .difficulty-easy{color:#7b5e19;background:#fff8df;border-color:#ead99b}.theme-light .progress-completed,.theme-light .efficiency-efficient,.theme-light .quality-excellent{color:#285f96;background:#edf5ff;border-color:#c8dcf1}.theme-light .progress-terminated{color:#624a9c;background:#f4f0ff;border-color:#d8cef2}.theme-light .weekly-dialog{background:#fff;border-color:#d8dbe2;box-shadow:0 24px 70px #1d23322e}.theme-light .weekly-dialog label{color:#535b67}.theme-light .weekly-dialog input,.theme-light .weekly-dialog select{color:#20242c;background:#fff;border-color:#d6d9df}.theme-light .weekly-delete-warning strong{color:#20242c}.theme-light .weekly-delete-warning span{color:#687180}.theme-light .weekly-summary{background:#fff}.theme-light .weekly-summary-header>div:first-child>span,.theme-light .weekly-summary-sheet-name{color:#6551b8}.theme-light .weekly-summary-card{color:#20242c;background:#f8f9fb;border-color:#dfe2e8}.theme-light .weekly-summary-card:hover,.theme-light .weekly-summary-card.expanded{background:#f3f0fb;border-color:#b9acd9}.theme-light .weekly-summary-card.completed>span{color:#285f96;background:#edf5ff;border:1px solid #c8dcf1}.theme-light .weekly-summary-card.in_progress>span{color:#176044;background:#e9f7f0;border:1px solid #b9e3ce}.theme-light .weekly-summary-card.not_started>span{color:#a33b48;background:#fff0f2;border:1px solid #f0c6cc}.theme-light .weekly-summary-card.terminated>span{color:#624a9c;background:#f4f0ff;border:1px solid #d8cef2}.theme-light .weekly-summary-card em{color:#858d99}.theme-light .weekly-summary-group{background:#fff;border-color:#dfe2e8}.theme-light .weekly-summary-group>header{background:#f6f7f9;border-color:#e1e4e9}.theme-light .weekly-summary-group>div>button{color:#20242c;border-color:#e5e7eb}.theme-light .weekly-summary-group>div>button:hover{background:#f5f2fb}.theme-light .weekly-summary-zero strong{color:#20242c}@media (max-width:1200px){.weekly-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.weekly-reports-shell{grid-template-columns:72px minmax(0,1fr)}.weekly-reports-brand div,.weekly-reports-sidebar nav button:not(.active){font-size:0}.weekly-reports-sidebar nav button{justify-content:center;padding:0}.weekly-reports-access-note,.weekly-reports-user>span{display:none}.weekly-reports-brand{justify-content:center;padding-inline:0}.weekly-reports-user{flex-wrap:wrap;justify-content:center;padding:10px}.weekly-report-workspace{grid-template-columns:210px minmax(0,1fr)}.weekly-report-editor{width:calc(100% - 24px);margin:12px 12px 48px;padding-inline:20px}.weekly-work-records-toolbar{flex-direction:column;align-items:stretch}.weekly-work-records-workspace{grid-template-columns:168px minmax(0,1fr)}.weekly-rule-editor-header{flex-direction:column;align-items:stretch}.weekly-rule-editor-actions{justify-content:flex-end}.weekly-sidebar-sheet-list{display:none}}.help-center-shell{scrollbar-color:color-mix(in srgb, var(--help-accent) 42%, transparent) transparent;scrollbar-gutter:stable;scrollbar-width:thin;height:100vh;min-height:100vh;color:var(--help-text);background:radial-gradient(circle at 18% -10%, #7a5cff21, transparent 34%), var(--help-bg);--help-bg:#0d0d0f;--help-panel:#151518;--help-panel-strong:#1b1b20;--help-border:#2c2c32;--help-text:#f1f1f4;--help-muted:#9b9ba6;--help-accent:#8970ff;--help-accent-soft:#8970ff24;--help-shadow:0 18px 55px #0000003d;overflow:hidden scroll}.help-center-shell::-webkit-scrollbar{width:11px}.help-center-shell::-webkit-scrollbar-track{background:0 0}.help-center-shell::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--help-accent) 42%, transparent);background-clip:padding-box;border:3px solid #0000;border-radius:999px}.help-center-shell::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb, var(--help-accent) 68%, transparent)}.help-center-shell.theme-light{--help-bg:#f5f5f7;--help-panel:#fff;--help-panel-strong:#f7f7fa;--help-border:#dfdfe6;--help-text:#1d1d22;--help-muted:#6f6f78;--help-accent:#7256ee;--help-accent-soft:#7256ee1a;--help-shadow:0 16px 44px #221d3714}.help-center-shell button,.help-center-shell input,.help-center-shell textarea,.help-center-shell select{font:inherit}.help-center-shell button{color:inherit}.help-center-header{z-index:30;border-bottom:1px solid var(--help-border);background:color-mix(in srgb, var(--help-bg) 89%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:1fr auto 1fr;align-items:center;min-height:68px;padding:0 28px;display:grid;position:sticky;top:0}.help-center-back,.help-center-header-actions button,.feedback-detail-header button,.tutorial-player-heading button{color:var(--help-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;display:inline-flex}.help-center-back:hover,.help-center-header-actions button:hover,.feedback-detail-header button:hover,.tutorial-player-heading button:hover{color:var(--help-text)}.help-center-heading{align-items:center;gap:11px;display:flex}.help-center-heading>span{color:#fff;background:linear-gradient(135deg,#7156ef,#9e87ff);border-radius:13px;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 8px 24px #785bef47}.help-center-heading div{flex-direction:column;display:flex}.help-center-heading strong{font-size:15px}.help-center-heading small{color:var(--help-muted);margin-top:3px;font-size:11px}.help-center-header-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.help-center-header-actions>span{max-width:170px;color:var(--help-muted);text-overflow:ellipsis;white-space:nowrap;margin-right:6px;font-size:12px;overflow:hidden}.help-center-header-actions button{border:1px solid var(--help-border);background:var(--help-panel);border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.help-center-tabs{z-index:25;border-bottom:1px solid var(--help-border);background:color-mix(in srgb, var(--help-bg) 93%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:center;gap:5px;padding:10px 24px;display:flex;position:sticky;top:68px}.help-center-tabs button{min-height:39px;color:var(--help-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:0 17px;display:inline-flex}.help-center-tabs button:hover{color:var(--help-text);background:var(--help-panel)}.help-center-tabs button.active{color:#fff;background:var(--help-accent);box-shadow:0 7px 20px #7b5bee38}.help-center-message{z-index:60;border:1px solid color-mix(in srgb, var(--help-accent) 48%, var(--help-border));background:var(--help-panel);max-width:min(430px,100vw - 48px);box-shadow:var(--help-shadow);border-radius:11px;padding:12px 16px;font-size:13px;position:fixed;bottom:24px;right:24px}.help-center-main{width:min(1320px,100% - 48px);margin:0 auto;padding:36px 0 64px}.help-center-loading{min-height:54vh;color:var(--help-muted);justify-content:center;align-items:center;gap:10px;display:flex}.spin{animation:.8s linear infinite help-spin}@keyframes help-spin{to{transform:rotate(360deg)}}.help-section{gap:26px;display:grid}.help-section-hero,.feedback-toolbar{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.help-section-hero{border:1px solid var(--help-border);background:radial-gradient(circle at 85% 20%, #8f71ff30, transparent 32%), linear-gradient(140deg, var(--help-panel), var(--help-panel-strong));min-height:205px;box-shadow:var(--help-shadow);border-radius:24px;align-items:center;padding:34px 40px;overflow:hidden}.help-eyebrow{color:var(--help-accent);letter-spacing:.16em;font-size:11px;font-weight:800}.help-section h1,.feedback-toolbar h1{margin:8px 0 9px;font-size:clamp(27px,4vw,42px);line-height:1.05}.help-section-hero p,.feedback-toolbar p{max-width:690px;color:var(--help-muted);margin:0;font-size:14px;line-height:1.75}.help-hero-stat{border:1px solid var(--help-border);background:color-mix(in srgb, var(--help-panel) 80%, transparent);border-radius:18px;flex-direction:column;align-items:center;min-width:130px;padding:18px 24px;display:flex}.help-hero-stat strong{color:var(--help-accent);font-size:36px}.help-hero-stat span{color:var(--help-muted);margin-top:4px;font-size:11px}.update-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.update-card{border:1px solid var(--help-border);background:var(--help-panel);border-radius:17px;overflow:hidden;box-shadow:0 9px 30px #00000014}.update-card.featured{border-color:color-mix(in srgb, var(--help-accent) 55%, var(--help-border))}.update-cover{height:170px;color:var(--help-accent);background:linear-gradient(135deg, var(--help-accent-soft), var(--help-panel-strong));place-items:center;display:grid;position:relative;overflow:hidden}.update-cover img{object-fit:cover;width:100%;height:100%}.update-cover>span{color:#fff;background:#5335c6e6;border-radius:7px;padding:5px 8px;font-size:10px;position:absolute;top:12px;left:12px}.update-cover>span.draft{color:#202026;background:#ffdb79;left:auto;right:12px}.update-card-body{flex-direction:column;min-height:275px;padding:20px;display:flex}.update-card-body>small{color:var(--help-muted);font-size:11px}.update-card-body h2{margin:8px 0;font-size:19px}.update-card-body p{color:var(--help-muted);margin:0;font-size:13px;line-height:1.65}.update-card-body ul{gap:8px;margin:18px 0 0;padding:0;list-style:none;display:grid}.update-card-body li{align-items:flex-start;gap:7px;font-size:12px;line-height:1.45;display:flex}.update-card-body li svg{color:#79d49d;flex:none;margin-top:2px}.update-actions{gap:8px;margin-top:auto;padding-top:20px;display:flex}.update-actions button{border:1px solid var(--help-border);background:var(--help-panel-strong);cursor:pointer;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:0 11px;display:inline-flex}.update-actions button:hover{border-color:var(--help-accent)}.help-primary-button,.help-secondary-button{cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:0 15px;display:inline-flex}.help-primary-button{background:var(--help-accent);color:#fff!important}.help-primary-button:hover{filter:brightness(1.07)}.help-primary-button:disabled{cursor:not-allowed;opacity:.55}.help-secondary-button{border-color:var(--help-border);background:var(--help-panel)}.feedback-composer,.manage-form{border:1px solid color-mix(in srgb, var(--help-accent) 40%, var(--help-border));background:var(--help-panel);box-shadow:var(--help-shadow);border-radius:16px;gap:16px;padding:22px;display:grid}.feedback-composer label,.manage-form label,.feedback-admin-box label{color:var(--help-muted);gap:7px;font-size:11px;font-weight:650;display:grid}.help-center-shell input,.help-center-shell textarea,.help-center-shell select{box-sizing:border-box;border:1px solid var(--help-border);width:100%;color:var(--help-text);background:var(--help-panel-strong);border-radius:9px;outline:none}.help-center-shell input,.help-center-shell select{min-height:39px;padding:0 11px}.help-center-shell textarea{resize:vertical;padding:10px 11px;line-height:1.55}.help-center-shell input:focus,.help-center-shell textarea:focus,.help-center-shell select:focus{border-color:var(--help-accent);box-shadow:0 0 0 3px var(--help-accent-soft)}.help-form-row{gap:8px;display:flex}.help-form-row button{border:1px solid var(--help-border);background:var(--help-panel-strong);cursor:pointer;border-radius:9px;align-items:center;gap:7px;min-height:38px;padding:0 13px;display:inline-flex}.help-form-row button.active{border-color:var(--help-accent);color:var(--help-accent);background:var(--help-accent-soft)}.help-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.feedback-composer>.help-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.help-form-actions{justify-content:flex-end;gap:8px;display:flex}.help-form-actions>button:not(.help-primary-button){border:1px solid var(--help-border);cursor:pointer;background:0 0;border-radius:9px;min-height:39px;padding:0 13px}.help-file-picker{border:1px dashed color-mix(in srgb, var(--help-accent) 45%, var(--help-border));min-height:54px;color:var(--help-muted);background:var(--help-accent-soft);cursor:pointer;border-radius:10px;align-items:center;padding:0 14px;gap:10px!important;display:flex!important}.help-file-picker input{display:none}.help-file-picker svg{color:var(--help-accent)}.duplicate-suggestions{background:#b0822517;border:1px solid #7b6536;border-radius:10px;gap:7px;padding:13px;display:grid}.duplicate-suggestions>strong{font-size:12px}.duplicate-suggestions>button{text-align:left;background:var(--help-panel-strong);cursor:pointer;border:0;border-radius:7px;justify-content:space-between;gap:12px;padding:9px 10px;display:flex}.duplicate-suggestions>button small,.duplicate-suggestions>small{color:var(--help-muted);font-size:10px}.feedback-filters,.tutorial-filters{align-items:center;gap:9px;display:flex}.feedback-filters>label,.tutorial-filters>label{border:1px solid var(--help-border);background:var(--help-panel);border-radius:9px;flex:1;align-items:center;gap:8px;min-width:260px;padding-left:11px;display:flex}.feedback-filters>label input,.tutorial-filters>label input{box-shadow:none;background:0 0;border:0}.feedback-filters select{background:var(--help-panel);width:auto;min-width:120px}.feedback-layout{grid-template-columns:minmax(0,1fr) 390px;align-items:start;gap:18px;display:grid}.feedback-list{gap:11px;display:grid}.feedback-card{border:1px solid var(--help-border);background:var(--help-panel);cursor:pointer;border-radius:13px;padding:17px 18px;transition:border-color .18s,transform .18s}.feedback-card:hover{border-color:color-mix(in srgb, var(--help-accent) 45%, var(--help-border));transform:translateY(-1px)}.feedback-card.selected{border-color:var(--help-accent);box-shadow:0 0 0 2px var(--help-accent-soft)}.feedback-card-top{align-items:center;gap:7px;display:flex}.feedback-card-top>span{border-radius:6px;padding:4px 7px;font-size:10px}.feedback-card-top>small{color:var(--help-muted);margin-left:auto;font-size:10px}.feedback-type{color:#c7baff;background:#7e60e924}.feedback-type.type-bug{color:#ff9da8;background:#ff5c701f}.feedback-type.type-suggestion{color:#f2c979;background:#d2992e1f}.feedback-status{color:#8fd5aa;background:#45b0701c}.feedback-status.status-pending,.feedback-status.status-cannot_reproduce{color:#c2c2cb;background:#8c8c961f}.feedback-status.status-rejected,.feedback-status.status-merged{color:#e9ad79;background:#cc78351f}.feedback-severity.severity-important{color:#f3ca74;background:#dca0331f}.feedback-severity.severity-urgent{color:#ff8f9c;background:#f7465c21}.feedback-card h2{margin:11px 0 7px;font-size:16px}.feedback-card>p{color:var(--help-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.feedback-meta{color:var(--help-muted);align-items:center;gap:12px;margin-top:14px;font-size:10px;display:flex}.feedback-meta button,.detail-support{border:1px solid var(--help-border);background:var(--help-panel-strong);cursor:pointer;border-radius:8px;align-items:center;gap:6px;margin-left:auto;padding:7px 10px;display:inline-flex}.feedback-meta button.supported,.detail-support.supported{border-color:var(--help-accent);color:var(--help-accent);background:var(--help-accent-soft)}.merged-note{color:#e5b579;background:#c67d2c1a;border-radius:7px;margin-top:11px;padding:8px 10px;font-size:10px}.feedback-detail{border:1px solid var(--help-border);background:var(--help-panel);border-radius:15px;max-height:calc(100vh - 162px);padding:19px;position:sticky;top:138px;overflow:auto}.feedback-detail-header,.tutorial-player-heading{color:var(--help-muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.feedback-detail-actions{align-items:center;gap:8px;display:flex}.feedback-detail-actions .feedback-edit-button{border:1px solid var(--help-border);background:var(--help-panel-strong);border-radius:7px;gap:6px;padding:5px 8px}.feedback-detail h2{margin:12px 0 8px;font-size:18px}.feedback-detail-description,.feedback-field p{white-space:pre-wrap;color:var(--help-muted);margin:0;font-size:12px;line-height:1.7}.feedback-field{border-top:1px solid var(--help-border);margin-top:16px;padding-top:13px}.feedback-field strong{margin-bottom:5px;font-size:11px;display:block}.feedback-attachments{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:15px;display:grid}.feedback-attachments a{aspect-ratio:1;background:var(--help-panel-strong);border-radius:8px;display:block;overflow:hidden}.feedback-attachments img{object-fit:cover;width:100%;height:100%}.detail-support{justify-content:center;width:100%;margin:16px 0 0}.feedback-admin-box{border:1px solid color-mix(in srgb, var(--help-accent) 42%, var(--help-border));background:var(--help-accent-soft);border-radius:10px;gap:10px;margin-top:18px;padding:13px;display:grid}.feedback-admin-box>strong{font-size:12px}.feedback-comments{gap:9px;margin-top:18px;display:grid}.feedback-comments h3{margin:0 0 3px;font-size:13px}.feedback-comments>div{background:var(--help-panel-strong);border-radius:8px;padding:10px}.feedback-comments strong{font-size:11px}.feedback-comments small{color:var(--help-muted);margin-left:8px;font-size:9px}.feedback-comments p{white-space:pre-wrap;color:var(--help-muted);margin:5px 0 0;font-size:11px;line-height:1.55}.feedback-edit-form{gap:12px;margin-top:14px;display:grid}.feedback-edit-form>label{color:var(--help-muted);gap:6px;font-size:11px;font-weight:650;display:grid}.feedback-edit-form .help-form-row{flex-wrap:wrap}.feedback-edit-form .help-form-row button{flex:90px;justify-content:center}.feedback-edit-form .help-form-grid{grid-template-columns:1fr}.feedback-edit-form .feedback-attachments{margin-top:0}.feedback-edit-form .help-form-actions{margin-top:2px}.muted{color:var(--help-muted);font-size:11px}.comment-form{gap:8px;margin-top:12px;display:grid}.comment-form button{justify-self:end}.tutorial-hero>svg{color:var(--help-accent);filter:drop-shadow(0 12px 24px #7e59f04d)}.tutorial-filters>div{flex-wrap:wrap;gap:6px;display:flex}.tutorial-filters button,.manage-tabs button{border:1px solid var(--help-border);background:var(--help-panel);cursor:pointer;border-radius:8px;min-height:36px;padding:0 12px}.tutorial-filters button.active,.manage-tabs button.active{border-color:var(--help-accent);color:var(--help-accent);background:var(--help-accent-soft)}.tutorial-player{border:1px solid color-mix(in srgb, var(--help-accent) 45%, var(--help-border));background:var(--help-panel);box-shadow:var(--help-shadow);border-radius:16px;padding:20px}.tutorial-player-heading h2{color:var(--help-text);margin:4px 0 13px;font-size:18px}.tutorial-player video{background:#000;border-radius:10px;width:100%;max-height:68vh;display:block}.tutorial-player>p{color:var(--help-muted);margin:13px 0 0;font-size:12px}.tutorial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.tutorial-card{border:1px solid var(--help-border);background:var(--help-panel);border-radius:14px;overflow:hidden}.tutorial-thumbnail{aspect-ratio:16/9;width:100%;color:var(--help-accent);background:var(--help-panel-strong);cursor:pointer;border:0;place-items:center;display:grid;position:relative;overflow:hidden}.tutorial-thumbnail:disabled{cursor:default}.tutorial-thumbnail>img{object-fit:cover;width:100%;height:100%}.tutorial-thumbnail>span{color:#fff;background:#5237bee6;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;position:absolute;box-shadow:0 8px 25px #00000040}.tutorial-thumbnail>small{color:#27221a;background:#ffdc82;border-radius:5px;padding:4px 7px;position:absolute;top:9px;right:9px}.tutorial-card>div{padding:16px}.tutorial-card>div>span{color:var(--help-accent);font-size:10px}.tutorial-card h2{margin:6px 0;font-size:16px}.tutorial-card p{min-height:42px;color:var(--help-muted);margin:0;font-size:11px;line-height:1.55}.tutorial-card footer{color:var(--help-muted);margin-top:12px;font-size:10px}.manage-section{gap:20px}.manage-tabs{gap:8px;display:flex}.manage-grid{grid-template-columns:minmax(420px,.85fr) minmax(360px,1.15fr);align-items:start;gap:18px;display:grid}.manage-form{position:sticky;top:138px}.manage-form h2{margin:0 0 2px;font-size:18px}.manage-checks{gap:18px;display:flex}.manage-checks label{color:var(--help-text);align-items:center;gap:7px;font-size:12px;display:inline-flex}.manage-checks input{width:16px;min-height:16px;accent-color:var(--help-accent)}.manage-list{gap:8px;display:grid}.manage-list>button{border:1px solid var(--help-border);text-align:left;background:var(--help-panel);cursor:pointer;border-radius:10px;gap:5px;padding:14px;display:grid}.manage-list>button:hover,.manage-list>button.active{border-color:var(--help-accent)}.manage-list>button span,.manage-list>button small{color:var(--help-muted);font-size:10px}.manage-list>button strong{font-size:13px}.upload-progress{background:var(--help-panel-strong);border-radius:8px;height:28px;position:relative;overflow:hidden}.upload-progress>span{background:var(--help-accent-soft);border-right:2px solid var(--help-accent);position:absolute;inset:0 auto 0 0}.upload-progress small{z-index:1;place-items:center;height:100%;font-size:10px;display:grid;position:relative}.manage-feedback-table{border:1px solid var(--help-border);background:var(--help-panel);border-radius:12px;overflow:hidden}.manage-feedback-head,.manage-feedback-table>button{grid-template-columns:minmax(300px,1fr) 80px 110px 90px;align-items:center;gap:12px;padding:12px 15px;display:grid}.manage-feedback-head{color:var(--help-muted);background:var(--help-panel-strong);font-size:10px}.manage-feedback-table>button{border:0;border-top:1px solid var(--help-border);text-align:left;cursor:pointer;background:0 0;width:100%}.manage-feedback-table>button:hover{background:var(--help-accent-soft)}.manage-feedback-table>button>span:first-child{gap:4px;display:grid}.manage-feedback-table>button small{color:var(--help-muted);font-size:9px}.manage-feedback-table>button strong{font-size:12px}.manage-feedback-table>button>span:not(:first-child){color:var(--help-muted);align-items:center;gap:5px;font-size:11px;display:flex}.help-empty{border:1px dashed var(--help-border);min-height:180px;color:var(--help-muted);text-align:center;border-radius:14px;align-content:center;place-items:center;gap:8px;padding:28px;display:grid}.help-empty strong{color:var(--help-text);font-size:13px}.help-empty span{font-size:11px}@media (max-width:1080px){.update-grid,.tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-layout{grid-template-columns:minmax(0,1fr) 340px}.manage-grid{grid-template-columns:1fr}.manage-form{position:static}}@media (max-width:760px){.help-center-header{grid-template-columns:auto 1fr auto;padding:0 13px}.help-center-back{white-space:nowrap;width:35px;overflow:hidden}.help-center-heading{justify-content:center}.help-center-heading small,.help-center-header-actions>span{display:none}.help-center-tabs{justify-content:flex-start;padding:8px 12px;overflow-x:auto}.help-center-tabs button{flex:none;padding:0 12px}.help-center-main{width:calc(100% - 24px);padding-top:22px}.help-section-hero{border-radius:17px;min-height:auto;padding:26px 22px}.help-hero-stat{display:none}.update-grid,.tutorial-grid{grid-template-columns:1fr}.feedback-toolbar{flex-direction:column;align-items:flex-start}.feedback-filters,.tutorial-filters{flex-direction:column;align-items:stretch}.feedback-filters>label,.tutorial-filters>label{min-width:0}.feedback-filters select{width:100%}.feedback-layout{grid-template-columns:1fr}.feedback-detail{max-height:none;position:static}.feedback-composer>.help-form-grid,.help-form-grid{grid-template-columns:1fr}.feedback-meta{flex-wrap:wrap}.feedback-meta button{margin-left:0}.manage-feedback-table{overflow-x:auto}.manage-feedback-head,.manage-feedback-table>button{min-width:650px}}.live-data-page{scrollbar-gutter:stable;color:#18202b;background:#f4f6f9;height:100vh;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;overflow-y:scroll}.live-data-header{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff2;border-bottom:1px solid #e3e7ee;justify-content:space-between;align-items:center;min-height:68px;padding:0 24px;display:flex;position:sticky;top:0}.live-data-title,.live-data-header-actions,.live-data-title>div,.live-data-toolbar-actions,.live-data-toolbar-label,.live-data-section-heading,.live-data-section-heading>div,.live-data-feishu-actions,.live-data-feishu-status,.live-data-import-dialog header>div,.live-data-feishu-dialog header>div,.live-data-delete-dialog header>div,.live-data-player-dialog header>div{align-items:center;display:flex}.live-data-title{gap:12px}.live-data-title>div{flex-direction:column;align-items:flex-start;gap:3px}.live-data-title strong{font-size:17px}.live-data-title small,.live-data-section-heading span,.live-data-player-dialog header span{color:#7b8492;font-size:12px}.live-data-title-icon{color:#8b6400;background:#fff2c6;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.live-data-header-actions{color:#68717f;gap:12px;font-size:13px}.live-data-icon-button{color:#55606f;background:#fff;border:1px solid #e0e4ea;border-radius:10px;place-items:center;width:36px;height:36px;min-height:36px;padding:0;display:grid}.live-data-content{width:min(1800px,100% - 40px);margin:0 auto;padding:22px 0 48px}.live-data-room-bar{z-index:18;background:#fff;border:1px solid #e2e6ec;border-radius:16px;align-items:center;gap:14px;min-height:68px;margin-bottom:12px;padding:11px 14px;display:flex;position:relative;box-shadow:0 8px 22px #1c25360a}.live-data-room-label{align-items:center;gap:10px;min-width:300px;display:flex}.live-data-room-label>span{color:#8b6400;background:#fff2c6;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.live-data-room-label>div{gap:2px;min-width:0;display:grid}.live-data-room-label small{color:#8a93a0;font-size:10px}.live-data-room-label strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.live-data-room-bar>p{color:#7b8492;text-align:right;flex:1;margin:0;font-size:11px;line-height:1.5}.live-data-room-menu{flex:none;position:relative}.live-data-room-menu>summary{color:#4e5866;cursor:pointer;background:#fff;border:1px solid #dfe4eb;border-radius:10px;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:12px;font-weight:800;list-style:none;display:flex}.live-data-room-menu>summary::-webkit-details-marker{display:none}.live-data-room-menu[open]>summary{color:#745700;background:#fffaf0;border-color:#d6a400;box-shadow:0 0 0 3px #d6a4001f}.live-data-room-options{z-index:60;background:#fff;border:1px solid #dfe4eb;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(700px,100vw - 40px);padding:10px;display:grid;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 22px 60px #161e2b2e}.live-data-room-options button{color:#566170;text-align:left;background:#f8f9fb;border:1px solid #e4e8ee;border-radius:10px;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:8px;min-width:0;min-height:48px;padding:7px 10px;display:grid}.live-data-room-options button:hover{background:#fffaf0;border-color:#d6c078}.live-data-room-options button.active{color:#6f5400;background:#fff3c4;border-color:#d6a400}.live-data-room-options button>span{color:#939ba7;background:#fff;border-radius:8px;place-items:center;width:26px;height:26px;font-size:10px;font-weight:800;display:grid}.live-data-room-options button strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.live-data-toolbar{background:#fff;border:1px solid #e2e6ec;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;padding:14px;display:flex;box-shadow:0 8px 22px #1c25360a}.live-data-week-picker{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative;overflow:visible}.live-data-toolbar-label{color:#4d5664;white-space:nowrap;gap:7px;padding:0 7px;font-weight:700}.live-data-week-picker>button{color:#636d7c;white-space:nowrap;background:#fff;border:1px solid #dfe4eb;border-radius:10px;min-height:34px;padding:0 12px}.live-data-week-picker>button.active{color:#745700;background:#fff5ce;border-color:#d6a400;font-weight:800}.live-data-period-menu{position:relative}.live-data-period-menu>summary{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dfe4eb;border-radius:10px;align-items:center;gap:8px;min-height:36px;padding:0 11px;list-style:none;display:flex}.live-data-period-menu>summary::-webkit-details-marker{display:none}.live-data-period-menu>summary span{font-size:13px;font-weight:800}.live-data-period-menu>summary small{color:#7b8492;font-size:11px}.live-data-period-menu[open]>summary{border-color:#d6a400;box-shadow:0 0 0 3px #d6a4001f}.live-data-period-popover{z-index:45;background:#fff;border:1px solid #dfe4eb;border-radius:16px;width:min(760px,100vw - 40px);padding:16px;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 22px 60px #161e2b2e}.live-data-period-popover>header{grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:10px;display:grid}.live-data-period-popover>header>button{color:#55606f;background:#fff;border:1px solid #e0e4ea;border-radius:9px;place-items:center;width:36px;height:36px;padding:0;display:grid}.live-data-period-popover>header>div{justify-items:center;gap:2px;display:grid}.live-data-period-popover>header strong{font-size:15px}.live-data-period-popover>header span{color:#7b8492;font-size:11px}.live-data-quarter-tabs{grid-template-columns:repeat(4,1fr);gap:7px;margin-top:14px;display:grid}.live-data-quarter-tabs button{color:#667180;background:#f8f9fb;border:1px solid #e1e5eb;border-radius:9px;min-height:34px;font-weight:800;position:relative}.live-data-quarter-tabs button[data-available=true]:after{content:"";background:#d6a400;border-radius:50%;width:5px;height:5px;position:absolute;bottom:6px;right:8px}.live-data-quarter-tabs button.active{color:#745700;background:#fff5ce;border-color:#d6a400}.live-data-quarter-selection{justify-content:space-between;align-items:center;gap:12px;min-height:36px;margin-top:10px;padding:0 2px;display:flex}.live-data-quarter-selection>span{color:#707b89;font-size:11px}.live-data-quarter-selection>span strong{color:#394454;font-size:12px}.live-data-quarter-selection>button{color:#4f5b69;background:#fff;border:1px solid #d9dfe7;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.live-data-quarter-selection>button.active{color:#745700;background:#fff5ce;border-color:#d6a400}.live-data-quarter-selection>button:disabled{cursor:not-allowed;opacity:.48}.live-data-calendar-weeks{gap:8px;max-height:min(52vh,470px);margin-top:12px;display:grid;overflow-y:auto}.live-data-calendar-weeks article{background:#fff;border:1px solid #e3e7ed;border-radius:12px;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;gap:7px;padding:6px;display:grid}.live-data-calendar-weeks article.selected{background:#fffaf0;border-color:#d6a400;box-shadow:inset 3px 0 #d6a400}.live-data-calendar-week-select{color:#253040;text-align:left;background:0 0;border:0;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:0;display:grid}.live-data-calendar-week-title{gap:3px;min-width:0;padding-left:8px;display:grid}.live-data-calendar-week-title strong{font-size:13px}.live-data-calendar-week-title small{color:#7a8491;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.live-data-calendar-days{grid-template-columns:repeat(7,minmax(30px,1fr));gap:4px;min-width:0;display:grid}.live-data-calendar-days>span{background:#f3f5f8;border-radius:8px;align-content:center;place-items:center;gap:2px;min-height:48px;display:grid}.live-data-calendar-weeks article.selected .live-data-calendar-days>span{background:#fff1bd}.live-data-calendar-days small{color:#8a94a2;font-size:9px}.live-data-calendar-days strong{font-size:12px}.live-data-calendar-weeks article[data-period=quarter]{background:linear-gradient(135deg,#fffdf5,#fff9e5);border-color:#dccb8d}.live-data-calendar-quarter-summary{background:#fff7d8;border:1px solid #ead99e;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;min-height:48px;padding:7px 12px;display:grid}.live-data-calendar-quarter-summary>span{gap:1px;display:grid}.live-data-calendar-quarter-summary small{color:#927016;font-size:9px;font-weight:800}.live-data-calendar-quarter-summary strong{color:#604600;font-size:14px}.live-data-calendar-quarter-summary em{color:#7c6a37;justify-self:end;font-size:11px;font-style:normal}.live-data-calendar-weeks article.selected .live-data-calendar-quarter-summary{background:#ffedaa;border-color:#d6a400}.live-data-quarter-priority-note{color:#7c6a37;margin:10px 2px 0;font-size:10px;line-height:1.5}.live-data-calendar-delete{color:#b64343;background:#fff7f7;border:1px solid #f0d3d3;border-radius:9px;place-items:center;width:38px;min-height:48px;padding:0;display:grid}.live-data-calendar-delete:hover{background:#ffeded;border-color:#d98282}.live-data-calendar-empty{color:#7d8794;border:1px dashed #d9dee6;border-radius:12px;align-content:center;place-items:center;gap:6px;min-height:150px;display:grid}.live-data-calendar-empty span{color:#45505e;font-size:13px;font-weight:800}.live-data-calendar-empty small{font-size:11px}.live-data-toolbar-actions{flex-wrap:wrap;gap:9px}.live-data-spend-filter{color:#745700;white-space:nowrap;background:#fff9e8;border:1px solid #d9bd5f;border-radius:11px;align-items:center;gap:7px;min-width:176px;min-height:38px;padding:0 10px;font-size:12px;font-weight:800;display:flex}.live-data-spend-filter input{color:#312600;text-align:right;background:0 0;border:0;outline:0;width:82px;font-weight:800}.live-data-search{color:#7a8492;background:#f9fafc;border:1px solid #dfe4eb;border-radius:11px;align-items:center;gap:7px;min-width:230px;min-height:38px;padding:0 11px;display:flex}.live-data-search input{color:#202735;background:0 0;border:0;outline:0;width:100%}.live-data-primary-button,.live-data-secondary-button,.live-data-danger-button{border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-weight:800;display:inline-flex}.live-data-primary-button{color:#fff;background:#202735;border:1px solid #202735}.live-data-secondary-button{color:#4b5563;background:#fff;border:1px solid #dfe4eb}.live-data-danger-button{color:#fff;background:#b83e3e;border:1px solid #b83e3e}.live-data-column-menu{position:relative}.live-data-column-menu summary{cursor:pointer;background:#fff;border:1px solid #dfe4eb;border-radius:11px;align-items:center;gap:6px;min-height:38px;padding:0 12px;font-weight:700;list-style:none;display:flex}.live-data-column-menu>div{z-index:30;background:#fff;border:1px solid #e0e4ea;border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(440px,100vw - 32px);max-height:380px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 18px 50px #18202b29}.live-data-column-menu label{color:#3f4855;cursor:pointer;border-radius:9px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:38px;padding:7px 9px;font-size:13px;display:grid}.live-data-column-menu label:hover{background:#f4f6f8}.live-data-column-menu label input[type=checkbox]{accent-color:#b18400;width:16px;height:16px;min-height:16px;box-shadow:none;cursor:pointer;border-radius:4px;margin:0;padding:0}.live-data-column-menu label span{white-space:nowrap;min-width:0;line-height:1.35}.live-data-message{color:#28598f;background:#eef5ff;border:1px solid #cbdcf8;border-radius:11px;margin-top:12px;padding:10px 14px;font-size:13px}.live-data-summary{grid-template-columns:repeat(8,minmax(145px,1fr));gap:10px;margin-top:14px;display:grid}.live-data-summary article{background:linear-gradient(145deg,#fffdf2,#fff7d8);border:1px solid #e7d99e;border-radius:14px;flex-direction:column;justify-content:space-between;min-height:92px;padding:15px;display:flex}.live-data-summary span{color:#756629;font-size:12px;font-weight:700}.live-data-summary strong{color:#312900;letter-spacing:-.03em;font-size:22px}.live-data-grid-card{background:#fff;border:1px solid #e2e6ec;border-radius:16px;margin-top:14px;overflow:hidden;box-shadow:0 8px 22px #1c25360a}.live-data-section-heading{border-bottom:1px solid #e8ebf0;justify-content:space-between;min-height:62px;padding:0 16px}.live-data-section-heading>div:first-child{flex-direction:column;align-items:flex-start;gap:3px}.live-data-feishu-status{color:#68717f;background:#f1f3f6;border-radius:9px;gap:6px;padding:7px 10px;font-size:12px}.live-data-feishu-status.connected{color:#257447;background:#e9f8ef}.live-data-feishu-actions{justify-content:flex-end;gap:8px}.live-data-feishu-test-button{color:#4f5967;background:#fff;border:1px solid #d8dee6;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.live-data-feishu-link-note{color:#786321;background:#fff9e8;border-bottom:1px solid #e8ebf0;align-items:flex-start;gap:8px;padding:10px 16px;font-size:12px;line-height:1.5;display:flex}.live-data-feishu-link-note svg{flex:none;margin-top:1px}.live-data-feishu-link-note strong{color:#5d4a0f}.live-data-table-wrap{width:100%;overflow:auto}.live-data-table-wrap table{border-collapse:separate;border-spacing:0;width:100%;min-width:1460px;font-size:12px}.live-data-table-wrap th,.live-data-table-wrap td{text-align:right;white-space:nowrap;border-bottom:1px solid #edf0f4;height:50px;padding:0 12px}.live-data-table-wrap th{z-index:3;color:#5b6573;background:#f7f8fa;font-size:11px;position:sticky;top:0}.live-data-sort-button{min-height:32px;color:inherit;font:inherit;white-space:nowrap;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:5px;padding:0;font-weight:700;display:inline-flex}.live-data-sort-button svg{color:#a3abb6;flex:none}.live-data-sort-button.active{color:#765b00}.live-data-sort-button.active svg{color:#b18400}.live-data-table-wrap th.name-column .live-data-sort-button{justify-content:flex-start}.live-data-table-wrap tbody tr:hover td{background:#fffdf4}.live-data-table-wrap .video-column{z-index:2;text-align:center;background:#fff;width:112px;position:sticky;left:0}.live-data-table-wrap th.video-column{z-index:5;background:#f7f8fa}.live-data-table-wrap .name-column{z-index:2;text-align:left;background:#fff;width:280px;max-width:280px;position:sticky;left:112px}.live-data-table-wrap th.name-column{z-index:5;background:#f7f8fa}.live-data-table-wrap .name-column strong{text-overflow:ellipsis;display:block;overflow:hidden}.live-data-table-wrap .id-column{color:#697385;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.live-data-video-button{color:#fff;background:#202735;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;height:30px;min-height:32px;margin:0 auto;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.live-data-video-thumbnail{aspect-ratio:16/9;color:#fff;background:#242a33;border:1px solid #d9dee6;border-radius:6px;width:86px;margin:0 auto;display:block;position:relative;overflow:hidden}.live-data-video-thumbnail video{object-fit:cover;opacity:0;width:100%;height:100%;display:block}.live-data-video-thumbnail.ready video{opacity:1}.live-data-video-thumbnail>span{background:#14192047;place-items:center;display:grid;position:absolute;inset:0}.live-data-video-thumbnail>span svg{filter:drop-shadow(0 1px 2px #00000073)}.live-data-video-actions{width:86px;margin:0 auto;position:relative}.video-source-column{text-align:center;width:86px;min-width:86px}.live-data-video-source{border-radius:5px;justify-content:center;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.live-data-video-source.local{color:#247246;background:#e6f6ed}.live-data-video-source.network{color:#2d64a8;background:#e8f1ff}.live-data-video-source.unmatched{color:#7b8490;background:#f1f3f6}.live-data-video-source.conflict{color:#a45d13;background:#fff0d9}.live-data-video-replace-button{z-index:2;color:#67717f;background:#fff;border:1px solid #d9dee6;border-radius:8px;place-items:center;width:26px;height:30px;padding:0;display:grid;position:absolute;bottom:-4px;right:-5px}.live-data-upload-video-button{color:#5e6876;background:#fff;border:1px solid #d9dee6;border-radius:8px;align-items:center;gap:5px;min-height:30px;padding:0 8px;font-size:11px;display:inline-flex}.live-data-no-video{color:#a0a7b1;font-size:11px}.live-data-floating-scrollbar{z-index:45;opacity:0;pointer-events:none;background:#f5f6f8;border:1px solid #d7dce4;border-bottom:0;border-radius:8px 8px 0 0;height:18px;transition:opacity .12s;position:fixed;bottom:0;overflow:scroll hidden;box-shadow:0 -5px 16px #19222f1f}.live-data-floating-scrollbar.visible{opacity:1;pointer-events:auto}.live-data-floating-scrollbar>div{height:1px}.live-data-empty{color:#7e8794;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:330px;display:flex}.live-data-empty strong{color:#353d49;font-size:16px}.live-data-empty span{font-size:13px}.live-data-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0e131b94;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.live-data-import-dialog,.live-data-feishu-dialog,.live-data-delete-dialog,.live-data-player-dialog{background:#fff;border-radius:18px;width:min(620px,100%);overflow:hidden;box-shadow:0 30px 90px #00000047}.live-data-import-dialog header,.live-data-feishu-dialog header,.live-data-delete-dialog header,.live-data-player-dialog header{border-bottom:1px solid #e7eaf0;justify-content:space-between;align-items:center;min-height:62px;padding:0 16px;display:flex}.live-data-import-dialog header>div,.live-data-feishu-dialog header>div,.live-data-delete-dialog header>div,.live-data-player-dialog header>div{gap:9px}.live-data-import-week{border-bottom:1px solid #eceff3;padding:18px}.live-data-import-week>span,.live-data-import-week>strong{display:block}.live-data-import-week>span{color:#77818e;font-size:12px}.live-data-import-week>strong{margin-top:5px;font-size:18px}.live-data-import-week>div{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.live-data-import-week label{color:#6e7784;gap:5px;font-size:12px;display:grid}.live-data-import-week input{border:1px solid #dfe4ea;border-radius:9px;min-height:38px;padding:0 10px}.live-data-import-stats{grid-template-columns:repeat(4,1fr);gap:9px;padding:18px;display:grid}.live-data-import-stats article{background:#f4f6f8;border-radius:11px;gap:7px;padding:12px;display:grid}.live-data-import-stats article.kept{color:#247446;background:#eaf8ef}.live-data-import-stats span{font-size:11px}.live-data-import-stats strong{font-size:21px}.live-data-import-dialog>p{color:#737d89;margin:0;padding:0 18px;font-size:12px}.live-data-import-dialog footer{justify-content:flex-end;gap:9px;padding:18px;display:flex}.live-data-feishu-dialog{width:min(760px,100%);max-height:min(88vh,860px)}.live-data-feishu-dialog-content{gap:14px;max-height:calc(min(88vh,860px) - 132px);padding:18px;display:grid;overflow-y:auto}.live-data-feishu-source-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.live-data-feishu-source-heading>div{gap:3px;display:grid}.live-data-feishu-source-heading strong{color:#343d4a;font-size:13px}.live-data-feishu-source-heading span{color:#7a8491;font-size:11px}.live-data-feishu-source-heading button{flex:none}.live-data-feishu-source-list{gap:9px;display:grid}.live-data-feishu-source-item{background:#f8f9fb;border:1px solid #e0e4ea;border-radius:12px;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:11px;display:grid}.live-data-feishu-source-index{color:#856200;background:#fff2c4;border-radius:9px;place-items:center;width:28px;height:28px;font-size:12px;font-weight:800;display:grid}.live-data-feishu-source-item label{gap:5px;min-width:0;display:grid}.live-data-feishu-source-item label>span{color:#66717f;font-size:11px;font-weight:700}.live-data-feishu-source-item input{color:#202735;width:100%;min-width:0;height:38px;font:inherit;background:#fff;border:1px solid #d8dee6;border-radius:10px;outline:0;padding:0 11px}.live-data-feishu-source-item input:focus{border-color:#b68b00;box-shadow:0 0 0 3px #b68b0021}.live-data-feishu-source-remove{color:#8b95a2;background:#fff;border:1px solid #e1e5eb;border-radius:9px;place-items:center;width:34px;height:34px;padding:0;display:grid}.live-data-feishu-source-remove:hover:not(:disabled){color:#aa3e3e;background:#fff4f4;border-color:#efc3c3}.live-data-feishu-dialog-content>p{color:#707a87;margin:0;font-size:12px;line-height:1.6}.live-data-feishu-error{color:#a73838;background:#fff1f1;border:1px solid #f1c4c4;border-radius:10px;padding:10px 12px;font-size:12px}.live-data-feishu-result{background:#f0fbf4;border:1px solid #bfe3cc;border-radius:12px;gap:6px;padding:14px;display:grid}.live-data-feishu-result>strong{color:#216e42;font-size:15px}.live-data-feishu-result>span{color:#4e7b60;font-size:12px}.live-data-feishu-sync-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px;display:grid}.live-data-feishu-sync-stats>span{color:#567064;background:#fff;border-radius:9px;justify-content:space-between;align-items:center;padding:9px 10px;font-size:12px;display:flex}.live-data-feishu-sync-stats strong{color:#1f6840;font-size:16px}.live-data-feishu-result article{background:#fff;border:1px solid #d9eadf;border-radius:10px;gap:8px;margin-top:6px;padding:12px;display:grid}.live-data-feishu-result article>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.live-data-feishu-result article>div:first-child>span,.live-data-feishu-result article p,.live-data-feishu-result article small{color:#6f7986;font-size:11px}.live-data-feishu-result article p{margin:0}.live-data-feishu-tags{flex-wrap:wrap;gap:6px;display:flex}.live-data-feishu-tags span{color:#4d5765;background:#f2f4f7;border-radius:7px;padding:5px 8px;font-size:11px}.live-data-feishu-dialog footer{border-top:1px solid #e8ebf0;justify-content:flex-end;gap:9px;padding:14px 18px 18px;display:flex}.live-data-delete-dialog{width:min(520px,100%)}.live-data-delete-dialog header>div{color:#9f3030}.live-data-delete-content{gap:14px;padding:20px;display:grid}.live-data-delete-content p{color:#3e4855;margin:0;font-size:14px;line-height:1.7}.live-data-delete-content dl{background:#f5f6f8;border-radius:11px;gap:8px;margin:0;padding:12px 14px;display:grid}.live-data-delete-content dl>div{grid-template-columns:82px minmax(0,1fr);gap:10px;display:grid}.live-data-delete-content dt{color:#7a8491;font-size:12px}.live-data-delete-content dd{overflow-wrap:anywhere;color:#303946;min-width:0;margin:0;font-size:12px;font-weight:700}.live-data-delete-content>small{color:#8a6418;font-size:11px;line-height:1.6}.live-data-delete-dialog footer{justify-content:flex-end;gap:9px;padding:14px 20px 20px;display:flex}.live-data-player-dialog{color:#fff;background:#111;flex-direction:column;width:min(1280px,94vw);max-height:90vh;display:flex}.live-data-player-dialog header{background:#1a1d22;border-color:#2e3239}.live-data-player-dialog .live-data-icon-button{color:#fff;background:#252930;border-color:#353a43}.live-data-player-header-actions{align-items:center;gap:9px;display:flex}.live-data-player-download{color:#181d25;background:#fff;border:1px solid #414752;border-radius:9px;align-items:center;gap:7px;min-height:36px;padding:0 12px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.live-data-player-download:hover{background:#f0f2f5}.live-data-player-stage{background:#050607;place-items:center;height:calc(min(90vh,960px) - 62px);min-height:0;display:grid;overflow:hidden}.live-data-player-stage video{object-fit:contain;max-width:none;max-height:none;display:block}.live-data-player-stage video[data-fitted=false]{visibility:hidden}@media (max-width:1280px){.live-data-summary{grid-template-columns:repeat(4,1fr)}.live-data-toolbar{flex-direction:column;align-items:stretch}.live-data-toolbar-actions{justify-content:flex-end}.live-data-room-bar{flex-wrap:wrap}.live-data-room-bar>p{text-align:left;flex-basis:100%}}@media (max-width:760px){.live-data-content{width:min(100% - 20px,1800px)}.live-data-header{padding:0 10px}.live-data-title small,.live-data-header-actions>span{display:none}.live-data-summary{grid-template-columns:repeat(2,1fr)}.live-data-room-bar{align-items:stretch}.live-data-room-label{flex:1;min-width:0}.live-data-room-menu{align-self:center}.live-data-room-options{grid-template-columns:1fr;width:auto;position:fixed;top:78px;left:10px;right:10px}.live-data-week-picker{flex-wrap:wrap}.live-data-period-popover{width:auto;position:fixed;top:78px;left:10px;right:10px}.live-data-calendar-week-select{grid-template-columns:1fr;gap:7px}.live-data-quarter-selection{flex-direction:column;align-items:stretch;gap:7px}.live-data-quarter-selection>button{width:100%}.live-data-calendar-week-title{padding:2px 6px 0}.live-data-toolbar-actions{flex-direction:column;align-items:stretch}.live-data-search,.live-data-spend-filter{min-width:0}.live-data-import-stats{grid-template-columns:repeat(2,1fr)}.live-data-column-menu>div{grid-template-columns:1fr;width:min(300px,100vw - 32px)}}.local-asset-library-body{min-width:0}.live-data-local-library-entry,.local-asset-library-return{color:#465160;background:#f8f9fb;border:1px solid #d8dee7;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-size:12px;font-weight:800;display:inline-flex}.live-data-local-library-entry:hover,.local-asset-library-return:hover{color:#745700;background:#fff8df;border-color:#d4b13d}.live-data-local-library-entry:focus-visible,.local-asset-library-return:focus-visible{outline-offset:2px;outline:3px solid #d6a40033}.local-asset-library-content,.local-asset-library-page .live-data-grid-card{min-width:0}.local-asset-library-return{color:#4e5866;background:#fff;border-color:#dfe4eb;margin-left:auto}.local-asset-library-toolbar{justify-content:flex-start;align-items:center}.local-asset-library-toolbar .live-data-toolbar-actions{margin-left:auto}.local-asset-library-toolbar>div:first-child{gap:3px;display:grid}.local-asset-library-toolbar>div:first-child strong{font-size:14px}.local-asset-library-toolbar>div:first-child span{color:#7a8491;font-size:11px}.local-asset-library-date-filter-group{flex:0 500px;align-items:start;gap:4px;width:min(500px,100%);min-width:430px;display:grid}.local-asset-library-date-filter{background:#f9fafc;border:1px solid #dfe4eb;border-radius:11px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 30px;align-items:center;gap:8px;width:100%;min-height:38px;padding:3px 5px 3px 10px;display:grid}.local-asset-library-date-filter label{color:#6f7a88;white-space:nowrap;align-items:center;gap:6px;min-width:0;font-size:11px;font-weight:700;display:flex}.local-asset-library-date-filter input{color:#202735;cursor:pointer;width:120px;min-width:0;min-height:30px;font:inherit;background:0 0;border:0;outline:0;padding:0 4px;font-size:12px;font-weight:700}.local-asset-library-date-filter input::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer}.local-asset-upload-time input::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer}.local-asset-library-date-separator{color:#98a1ad;font-size:11px}.local-asset-library-date-filter button{color:#7b8592;background:0 0;border:0;border-radius:7px;flex:0 0 30px;place-items:center;width:30px;height:30px;padding:0;display:grid}.local-asset-library-date-filter button:hover{color:#303947;background:#edf0f4}.local-asset-library-date-filter button:focus-visible{outline-offset:1px;outline:2px solid #c79c1259}.local-asset-library-date-filter button:disabled{visibility:hidden}.local-asset-library-date-filter-group>small{color:#b33a3a;white-space:nowrap;font-size:11px}.local-asset-library-grid{overflow:hidden}.local-asset-library-grid .live-data-table-wrap{overflow-x:hidden}.live-data-table-wrap table.local-asset-library-table{table-layout:fixed;min-width:0}.local-asset-library-video-size{width:112px}.local-asset-library-name-size{width:320px}.local-asset-library-date-size{width:160px}.local-asset-library-actions-size{width:112px}.local-asset-library-table .name-column{width:auto;max-width:none}.local-asset-library-table .name-column strong,.local-asset-library-table .name-column small{text-overflow:ellipsis;display:block;overflow:hidden}.local-asset-library-table .name-column small{color:#8a94a2;margin-top:3px;font-size:10px}.local-asset-library-actions-column{text-align:center}.local-asset-library-id-column,.local-asset-library-date-column{text-align:left}.local-asset-library-row-actions{text-align:center}.local-asset-library-row-actions button{color:#65707d;background:#fff;border:1px solid #dfe4ea;border-radius:8px;place-items:center;width:32px;height:32px;margin:0 3px;padding:0;display:inline-grid}.local-asset-library-row-actions button:hover{color:#775900;background:#fff8df;border-color:#d2ae36}.local-asset-library-row-actions button.danger:hover{color:#a83a3a;background:#fff2f2;border-color:#e1aaaa}.local-asset-library-id-list{flex-wrap:wrap;gap:5px;max-width:none;display:flex}.local-asset-library-id-list span{color:#586372;text-overflow:ellipsis;background:#f6f7f9;border:1px solid #e1e5eb;border-radius:6px;align-items:center;min-height:24px;padding:0 7px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;display:inline-flex;overflow:hidden}.local-asset-library-unmatched{color:#9a7a1e;font-size:11px}.local-asset-library-empty-row td{text-align:center;height:auto;padding:0}.local-asset-library-empty-row:hover td{background:#fff}.local-asset-library-empty-row .live-data-empty{width:100%}.local-asset-upload-dialog{flex-direction:column;max-height:min(760px,100vh - 48px);display:flex}.local-asset-upload-content{gap:14px;min-height:0;padding:18px;display:grid;overflow-y:auto}.local-asset-upload-content>p{color:#566170;margin:0;font-size:12px}.local-asset-upload-time{color:#697483;gap:6px;font-size:12px;font-weight:700;display:grid}.local-asset-upload-time input{color:#28313e;cursor:pointer;min-height:40px;font:inherit;background:#fff;border:1px solid #dce2e9;border-radius:9px;padding:0 11px}.local-asset-file-picker{color:#606b79;text-align:center;cursor:pointer;background:#f8f9fb;border:1px dashed #c8ced8;border-radius:10px;align-content:center;place-items:center;gap:7px;min-height:126px;padding:18px;display:grid;position:relative}.local-asset-file-picker:hover{background:#fffaf0;border-color:#c49a15}.local-asset-file-picker strong{color:#303946;font-size:13px}.local-asset-file-picker span{color:#87919e;font-size:11px}.local-asset-file-picker input{opacity:0;width:1px;height:1px;position:absolute}.local-asset-upload-list{gap:8px;display:grid}.local-asset-upload-list article{background:#fff;border:1px solid #e1e5eb;border-radius:9px;gap:7px;padding:10px 11px;display:grid}.local-asset-upload-list article[data-status=success]{background:#f2fbf5;border-color:#bcdcc7}.local-asset-upload-list article[data-status=error]{background:#fff5f5;border-color:#efc3c3}.local-asset-upload-list article>div:first-child{grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.local-asset-upload-list article strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.local-asset-upload-list article span,.local-asset-upload-list article small{color:#7b8592;font-size:10px}.local-asset-upload-list article[data-status=error] small{color:#a73d3d}.local-asset-upload-progress{background:#e9edf2;border-radius:4px;height:4px;overflow:hidden}.local-asset-upload-progress span{border-radius:inherit;background:#c79c12;height:100%;transition:width .12s;display:block}@media (max-width:760px){.live-data-room-bar .live-data-local-library-entry{order:3;width:100%}.local-asset-library-context{align-items:center}.local-asset-library-return{margin-left:0}.local-asset-library-toolbar{align-items:stretch}.local-asset-library-grid .live-data-table-wrap{overflow-x:auto}.live-data-table-wrap table.local-asset-library-table{min-width:920px}.local-asset-library-date-filter-group{min-width:0}.local-asset-library-date-filter{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 30px}.local-asset-library-empty-row .live-data-empty{width:calc(100vw - 20px);position:sticky;left:0}}@media (min-width:761px) and (max-width:1280px){.local-asset-library-date-filter-group{flex-basis:auto;justify-self:start;width:min(500px,100%);min-width:0}.local-asset-library-toolbar .live-data-toolbar-actions{margin-left:0}}@media (max-width:430px){.local-asset-library-date-filter-group{width:100%}.local-asset-library-date-filter{gap:6px;min-height:50px}.local-asset-library-date-filter label{flex-direction:column;align-items:flex-start;gap:1px}.local-asset-library-date-filter input{width:100%;min-height:24px;padding:0}.local-asset-library-context .live-data-room-label{flex-basis:100%}.local-asset-library-return{width:100%}.live-data-modal-backdrop{padding:10px}.local-asset-upload-dialog{max-height:calc(100vh - 20px)}}body.standalone-chat-page-open{background:#fff;min-width:0;min-height:0}.standalone-chat-loading{color:#52555a;background:#fff;align-content:center;place-items:center;gap:10px;width:100vw;height:100dvh;font-size:14px;display:grid}.standalone-chat-page{color:#202123;background:#fff;grid-template-columns:260px minmax(0,1fr);width:100vw;min-width:0;height:100dvh;min-height:0;font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;display:grid;overflow:hidden}.standalone-chat-sidebar{z-index:5;background:#f7f7f8;border-right:1px solid #e5e5e5;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.standalone-chat-brand-row{justify-content:center;align-items:center;min-height:100px;padding:20px 48px 14px;display:flex;position:relative}.standalone-chat-header>div{align-items:center;gap:4px;display:flex}.standalone-chat-brand,.standalone-chat-sidebar-close,.standalone-chat-mobile-menu,.standalone-chat-header>div>button,.standalone-chat-message-actions>button,.standalone-chat-export-control>button{color:#5f6368;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex}.standalone-chat-brand{color:#171717;width:auto;min-width:0;height:40px}.standalone-chat-brand img{object-fit:contain;width:auto;height:40px}.standalone-chat-sidebar-close,.standalone-chat-mobile-menu,.standalone-chat-header>div>button{width:36px;height:36px}.standalone-chat-sidebar-close:hover,.standalone-chat-mobile-menu:hover,.standalone-chat-header>div>button:hover,.standalone-chat-message-actions>button:hover,.standalone-chat-export-control>button:hover{color:#171717;background:#ececef}.standalone-chat-sidebar-close{position:absolute;top:12px;right:12px}.standalone-chat-brand-row .standalone-chat-sidebar-close,.standalone-chat-mobile-menu{display:none}.standalone-chat-search{color:#777b81;background:#fff;border:1px solid #d9d9dc;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;height:38px;margin:0 12px 12px;padding:0 9px;display:grid}.standalone-chat-search input{color:#202123;background:0 0;border:0;outline:0;min-width:0;height:34px;padding:0;font-size:13px}.standalone-chat-search input:focus,.standalone-chat-search input:focus-visible{box-shadow:none;border-color:#0000;outline:none}.standalone-chat-search:focus-within{border-color:#c5c6c9;box-shadow:0 0 0 2px #2021230a}.standalone-chat-search button{color:#777b81;background:0 0;border:0;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;display:grid}.standalone-chat-history-entry{color:#4f5257;text-align:left;background:0 0;border:0;border-radius:7px;outline:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:calc(100% - 24px);min-height:38px;margin:0 12px 4px;padding:0 10px;font-size:13px;display:grid}.standalone-chat-history-entry>span{min-width:0}.standalone-chat-history-entry>svg:last-child{transition:transform .16s}.standalone-chat-history-entry>svg:last-child.open{transform:rotate(180deg)}.standalone-chat-history-entry:hover{color:#202123;background:#e8e8ea}.standalone-chat-history-entry:focus-visible{box-shadow:inset 0 0 0 2px #8b8d92}.standalone-chat-new{color:#202123;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;height:42px;margin:0 12px 8px;padding:0 11px;font-size:14px;font-weight:600;display:flex}.standalone-chat-new:hover,.standalone-chat-account-trigger:hover{background:#e8e8ea}.standalone-chat-new:disabled{opacity:.45}.standalone-chat-session-list{scrollbar-width:thin;scrollbar-color:#c8c8cb transparent;flex-direction:column;flex:auto;gap:2px;min-height:0;padding:4px 8px 12px;display:flex;overflow-y:auto}.standalone-chat-session-list>span{color:#85878b;padding:8px 8px 5px;font-size:12px;font-weight:600}.standalone-chat-session-item{color:#343541;background:0 0;border:0;border-radius:7px;grid-template-columns:minmax(0,1fr) 28px 28px;align-items:center;min-width:0;min-height:38px;display:grid;position:relative}.standalone-chat-session-item:hover,.standalone-chat-session-item.active,.standalone-chat-session-item:focus-within{background:#e8e8ea}.standalone-chat-session-item.menu-open{z-index:4}.standalone-chat-session-select{min-width:0;min-height:38px;color:inherit;text-align:left;background:0 0;border:0;border-radius:7px;padding:9px 4px 9px 10px;display:block}.standalone-chat-session-select strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;display:block;overflow:hidden}.standalone-chat-session-pin,.standalone-chat-session-more{color:#666a70;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid}.standalone-chat-session-pin:hover,.standalone-chat-session-more:hover,.standalone-chat-session-more[aria-expanded=true]{color:#171717;background:#dcdcdf}.standalone-chat-session-pin.is-pinned{color:#b91c1c}.standalone-chat-session-pin.is-pinned svg{fill:currentColor}.standalone-chat-session-pin:disabled,.standalone-chat-session-more:disabled{opacity:.4}.standalone-chat-session-menu{z-index:5;background:#fff;border:1px solid #d7d7da;border-radius:8px;gap:3px;width:136px;padding:5px;display:grid;position:absolute;right:0;box-shadow:0 12px 28px #00000024}.standalone-chat-session-menu.down{top:34px}.standalone-chat-session-menu.up{bottom:34px}.standalone-chat-session-menu button{color:#343541;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;min-height:34px;padding:0 9px;font-size:12px;display:flex}.standalone-chat-session-menu button:hover{background:#f0f0f2}.standalone-chat-session-menu button.danger{color:#b91c1c}.standalone-chat-session-menu button.danger:hover{background:#fff1f2}.standalone-chat-delete-backdrop,.standalone-chat-rename-backdrop,.standalone-chat-memory-backdrop,.standalone-chat-restore-backdrop{z-index:20;background:#00000061;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.standalone-chat-history-list article>button{color:#5f6368;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.standalone-chat-history-list article>button:hover:not(:disabled){color:#202123;background:#f0f0f2}.standalone-chat-history-list{scrollbar-width:thin;scrollbar-color:#c8c8cb transparent;border-top:1px solid #e1e1e3;border-bottom:1px solid #e1e1e3;flex:0 auto;min-height:0;max-height:min(220px,30vh);margin:0 12px 6px;padding:2px 0 4px;overflow-y:auto}.standalone-chat-history-list article{border-bottom:1px solid #ececef;grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;gap:7px;min-width:0;min-height:52px;padding:0 3px;display:grid}.standalone-chat-history-list article:last-of-type{border-bottom:0}.standalone-chat-history-item-icon{color:#6d7075;background:#f1f1f3;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.standalone-chat-history-list article>span:nth-child(2){gap:4px;min-width:0;display:grid}.standalone-chat-history-list article strong,.standalone-chat-history-list article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-history-list article strong{color:#2b2d31;font-size:13px;font-weight:600}.standalone-chat-history-list article small{color:#81848a;font-size:11px}.standalone-chat-history-list article>button:disabled{opacity:.45}.standalone-chat-history-state,.standalone-chat-history-error{color:#777b81;text-align:center;place-items:center;min-height:54px;padding:12px 8px;font-size:12px;display:grid}.standalone-chat-history-error{color:#b42318}.standalone-chat-restore-icon{color:#3568b8;background:#eef4ff;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.standalone-chat-restore-dialog footer button.primary{color:#fff;background:#202123;border-color:#202123;justify-content:center;align-items:center;gap:6px;display:inline-flex}.standalone-chat-restore-dialog footer button.primary:hover:not(:disabled){background:#000}.standalone-chat-restore-dialog footer button:disabled{cursor:default;opacity:.5}.standalone-chat-restore-dialog .standalone-chat-confirm-error{color:#b42318;margin-top:8px}.standalone-chat-memory-dialog{background:#fff;border:1px solid #dedee0;border-radius:8px;grid-template-rows:auto auto minmax(0,1fr);width:min(100%,620px);max-height:min(760px,100vh - 40px);display:grid;overflow:hidden;box-shadow:0 22px 60px #00000038}.standalone-chat-memory-dialog>header{border-bottom:1px solid #e6e6e8;justify-content:space-between;align-items:center;min-height:54px;padding:0 16px;display:flex}.standalone-chat-memory-dialog>header>div{align-items:center;gap:9px;display:flex}.standalone-chat-memory-dialog h2{margin:0;font-size:16px;font-weight:650}.standalone-chat-memory-dialog>header>button,.standalone-chat-memory-list footer button{color:#5f6368;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;height:32px;padding:0;display:grid}.standalone-chat-memory-dialog>header>button:hover,.standalone-chat-memory-list footer button:hover{background:#f0f0f2}.standalone-chat-memory-setting{border-bottom:1px solid #e6e6e8;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:10px 16px;display:flex}.standalone-chat-memory-setting>span{gap:3px;display:grid}.standalone-chat-memory-setting strong{font-size:13px}.standalone-chat-memory-setting small{color:#71747a;font-size:11px}.standalone-chat-memory-setting>button{background:#c8c9cc;border:0;border-radius:11px;width:38px;height:22px;padding:2px;position:relative}.standalone-chat-memory-setting>button>span{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .16s;display:block}.standalone-chat-memory-setting>button.enabled{background:#18794e}.standalone-chat-memory-setting>button.enabled>span{transform:translate(16px)}.standalone-chat-memory-setting>button:disabled{opacity:.45}.standalone-chat-memory-list{align-content:start;gap:8px;min-height:220px;padding:12px 16px 16px;display:grid;overflow-y:auto}.standalone-chat-memory-list article{border:1px solid #e0e1e3;border-radius:7px;grid-template-columns:62px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px 12px;display:grid}.standalone-chat-memory-list article>span{color:#3568b8;font-size:11px;font-weight:650}.standalone-chat-memory-list p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.6}.standalone-chat-memory-list textarea{resize:vertical;width:100%;min-height:76px;font:inherit;border:1px solid #cfd0d3;border-radius:6px;padding:8px;font-size:13px;line-height:1.5}.standalone-chat-memory-list footer{gap:4px;display:flex}.standalone-chat-memory-list footer button.primary{color:#fff;background:#202123;width:auto;padding:0 10px}.standalone-chat-memory-list footer button.danger{color:#b91c1c}.standalone-chat-memory-empty{color:#777b81;place-items:center;min-height:180px;font-size:12px;display:grid}.standalone-chat-rename-dialog{background:#fff;border:1px solid #dedee0;border-radius:8px;gap:16px;width:min(100%,390px);padding:20px;display:grid;box-shadow:0 22px 60px #00000038}.standalone-chat-rename-dialog h2{color:#202123;margin:0 0 6px;font-size:16px;font-weight:650}.standalone-chat-rename-dialog p{color:#6d7075;margin:0;font-size:13px}.standalone-chat-rename-dialog input{color:#202123;width:100%;height:40px;font:inherit;background:#fff;border:1px solid #cfd0d3;border-radius:7px;outline:0;padding:0 11px;font-size:14px}.standalone-chat-rename-dialog input:focus{border-color:#8b8d92;box-shadow:0 0 0 3px #20212314}.standalone-chat-rename-dialog footer{justify-content:flex-end;gap:8px;display:flex}.standalone-chat-rename-dialog footer button{color:#343541;background:#fff;border:1px solid #d8d8db;border-radius:7px;min-width:76px;min-height:36px;padding:0 14px;font-size:13px;font-weight:600}.standalone-chat-rename-dialog footer button:hover{background:#f1f1f3}.standalone-chat-rename-dialog footer button.primary{color:#fff;background:#202123;border-color:#202123}.standalone-chat-rename-dialog footer button.primary:hover{background:#000}.standalone-chat-rename-dialog footer button:disabled{opacity:.4}.standalone-chat-delete-dialog{background:#fff;border:1px solid #dedee0;border-radius:8px;grid-template-columns:42px minmax(0,1fr);gap:14px;width:min(100%,390px);padding:20px;display:grid;box-shadow:0 22px 60px #00000038}.standalone-chat-delete-icon{color:#b91c1c;background:#fff1f2;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.standalone-chat-delete-dialog h2{color:#202123;margin:1px 0 6px;font-size:16px;font-weight:650}.standalone-chat-delete-dialog p{overflow-wrap:anywhere;color:#6d7075;margin:0;font-size:13px;line-height:1.55}.standalone-chat-delete-dialog footer{grid-column:1/-1;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.standalone-chat-delete-dialog footer button{color:#343541;background:#fff;border:1px solid #d8d8db;border-radius:7px;min-width:76px;min-height:36px;padding:0 14px;font-size:13px;font-weight:600}.standalone-chat-delete-dialog footer button:hover{background:#f1f1f3}.standalone-chat-delete-dialog footer button.danger{color:#fff;background:#b91c1c;border-color:#b91c1c}.standalone-chat-delete-dialog footer button.danger:hover{background:#991b1b}.standalone-chat-session-list p{color:#8a8d92;margin:0;padding:12px 10px;font-size:13px}.standalone-chat-account{border-top:1px solid #e2e2e4;padding:8px;position:relative}.standalone-chat-account-trigger{color:#202123;text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;height:52px;padding:0 8px;display:grid}.standalone-chat-avatar{color:#fff;background:#b91c1c;border-radius:50%;place-items:center;width:34px;height:34px;font-size:14px;font-weight:700;display:grid}.standalone-chat-account-trigger>span:nth-child(2){gap:2px;min-width:0;display:grid}.standalone-chat-account-trigger strong,.standalone-chat-account-trigger small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-account-trigger strong{font-size:13px;font-weight:600}.standalone-chat-account-trigger small{color:#777b81;font-size:11px}.standalone-chat-account-trigger>svg{transition:transform .16s}.standalone-chat-account-trigger>svg.open{transform:rotate(180deg)}.standalone-chat-account-menu{background:#fff;border:1px solid #dcdcdf;border-radius:8px;gap:3px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 6px);left:8px;right:8px;box-shadow:0 12px 30px #00000021}.standalone-chat-account-menu button{color:#343541;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;min-height:38px;padding:0 10px;display:flex}.standalone-chat-account-menu button:hover{background:#f0f0f2}.standalone-chat-account-menu button.danger{color:#b91c1c}.standalone-chat-main{grid-template-rows:58px minmax(0,1fr);min-width:0;min-height:0;display:grid;position:relative}.standalone-chat-header{border-bottom:1px solid #ededee;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:0 16px 0 22px;display:grid}.standalone-chat-header h1{color:#202123;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:15px;font-weight:600;overflow:hidden}.standalone-chat-header button:disabled{opacity:.35}.standalone-chat-messages{scrollbar-width:thin;scrollbar-color:#c8c8cb transparent;flex-direction:column;gap:26px;min-height:0;padding:28px max(24px,50% - 410px) 160px;display:flex;overflow-y:auto}.standalone-chat-empty{text-align:center;align-content:center;place-items:center;min-height:100%;display:grid}.standalone-chat-empty img{object-fit:contain;width:auto;max-width:70vw;height:100px}.standalone-chat-main.is-empty .standalone-chat-empty{transform:translateY(-52px)}.standalone-chat-message{color:#202123;width:100%;display:flex}.standalone-chat-message.user{justify-content:flex-end}.standalone-chat-message>div{align-items:flex-start;gap:12px;min-width:0;max-width:100%;display:flex}.standalone-chat-message.user>div{background:#edf3f8;border-radius:18px 18px 4px;max-width:min(72%,620px);padding:11px 15px}.standalone-chat-message.assistant>div{width:100%}.standalone-chat-assistant-mark{border-radius:7px;flex:none;width:30px;height:30px;overflow:hidden}.standalone-chat-assistant-mark img{object-fit:cover;width:100%;height:100%}.standalone-chat-message section{gap:7px;min-width:0;display:grid}.standalone-chat-message-attachments{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.standalone-chat-message-attachment{background:#ffffffd1;border:1px solid #d8dadd;border-radius:7px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;width:min(100%,260px);min-height:56px;padding:6px;display:grid}.standalone-chat-message-attachment img,.standalone-chat-message-attachment>span:first-child{object-fit:cover;border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.standalone-chat-message-attachment>span:first-child{color:#5f6368;background:#f1f1f3}.standalone-chat-message-attachment.excel>span:first-child{color:#18794e;background:#eaf6ee}.standalone-chat-message-attachment.word>span:first-child{color:#3568b8;background:#eef4ff}.standalone-chat-message-attachment.presentation>span:first-child{color:#b42318;background:#fff1ef}.standalone-chat-message-attachment>span:last-child{gap:3px;min-width:0;display:grid}.standalone-chat-message-attachment strong,.standalone-chat-message-attachment small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-message-attachment strong{font-size:12px;font-weight:600}.standalone-chat-message-attachment small{color:#71747a;font-size:10px}.standalone-chat-generated-image{gap:7px;width:min(100%,640px);margin:0;display:grid}.standalone-chat-generated-image-preview{aspect-ratio:1;background:#f4f5f6;border:1px solid #d8dadd;border-radius:7px;width:100%;display:block;overflow:hidden}.standalone-chat-generated-image-preview img{object-fit:contain;width:100%;height:100%;display:block}.standalone-chat-generated-image figcaption{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.standalone-chat-generated-image figcaption>span{gap:2px;min-width:0;display:grid}.standalone-chat-generated-image figcaption strong,.standalone-chat-generated-image figcaption small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-generated-image figcaption strong{font-size:12px;font-weight:600}.standalone-chat-generated-image figcaption small{color:#71747a;font-size:10px}.standalone-chat-generated-image figcaption>a{color:#5f6368;border-radius:6px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.standalone-chat-generated-image figcaption>a:hover{color:#202123;background:#eceef0}.standalone-chat-generated-artifact{background:#fff;border:1px solid #d8dadd;border-radius:7px;grid-template-columns:minmax(0,1fr) 42px;align-items:stretch;width:min(100%,420px);min-height:66px;display:grid;overflow:hidden}.standalone-chat-generated-artifact-main{color:#26272b;text-align:left;background:0 0;border:0;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:9px 11px;display:grid}.standalone-chat-generated-artifact-main:hover{background:#f7f7f8}.standalone-chat-generated-artifact-main>span:first-child,.standalone-chat-artifact-preview-icon{color:#3568b8;background:#eef4ff;border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.standalone-chat-generated-artifact.xlsx .standalone-chat-generated-artifact-main>span:first-child,.standalone-chat-artifact-preview-icon.xlsx{color:#18794e;background:#eaf6ee}.standalone-chat-generated-artifact.pptx .standalone-chat-generated-artifact-main>span:first-child,.standalone-chat-artifact-preview-icon.pptx{color:#b42318;background:#fff1ef}.standalone-chat-generated-artifact-main>span:last-child{gap:4px;min-width:0;display:grid}.standalone-chat-generated-artifact-main strong,.standalone-chat-generated-artifact-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-generated-artifact-main strong{font-size:13px;font-weight:650}.standalone-chat-generated-artifact-main small{color:#71747a;font-size:11px}.standalone-chat-generated-artifact-download{color:#62656a;background:0 0;border:0;border-left:1px solid #e4e4e6;align-self:stretch;place-items:center;width:42px;min-height:42px;padding:0;display:grid}.standalone-chat-generated-artifact-download:hover{color:#202123;background:#f1f1f3}.standalone-chat-generated-artifact-download:disabled{cursor:wait;opacity:.55}.standalone-chat-message.assistant section{width:calc(100% - 42px);padding-top:3px}.standalone-chat-message p{overflow-wrap:anywhere;color:#202123;letter-spacing:0;white-space:pre-wrap;min-width:0;margin:0;font-size:15px;line-height:1.72}.standalone-chat-message.error p{color:#b42318}.standalone-chat-message-actions{align-items:center;gap:2px;min-height:30px;display:flex;position:relative}.standalone-chat-message-actions>button,.standalone-chat-export-control>button{width:30px;height:30px}.standalone-chat-message-actions button:disabled{cursor:wait;opacity:.55}.standalone-chat-export-control{display:inline-flex;position:relative}.standalone-chat-export-menu{z-index:8;background:#fff;border:1px solid #d8dadd;border-radius:7px;gap:2px;width:188px;padding:4px;display:grid;position:absolute;top:34px;left:0;box-shadow:0 10px 28px #00000024}.standalone-chat-export-menu>button{color:#343541;text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:46px;padding:5px 8px;display:grid}.standalone-chat-export-menu>button:hover{background:#f2f2f3}.standalone-chat-export-menu>button>span:last-child{gap:2px;min-width:0;display:grid}.standalone-chat-export-menu strong,.standalone-chat-export-menu small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-export-menu strong{font-size:12px;font-weight:600}.standalone-chat-export-menu small{color:#7a7d82;font-size:10px}.standalone-chat-artifact-preview-backdrop{z-index:24;background:#18191c7a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.standalone-chat-artifact-preview-dialog{background:#fff;border:1px solid #d8dadd;border-radius:8px;grid-template-rows:62px minmax(0,1fr);width:min(1120px,100%);height:min(820px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 24px 70px #0000003d}.standalone-chat-artifact-preview-dialog>header{border-bottom:1px solid #e4e4e6;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:9px 12px 9px 16px;display:flex}.standalone-chat-artifact-preview-dialog>header>div{align-items:center;gap:10px;min-width:0;display:flex}.standalone-chat-artifact-preview-dialog>header>div:first-child>span:last-child{gap:3px;min-width:0;display:grid}.standalone-chat-artifact-preview-dialog>header strong,.standalone-chat-artifact-preview-dialog>header small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-artifact-preview-dialog>header strong{font-size:14px;font-weight:650}.standalone-chat-artifact-preview-dialog>header small{color:#71747a;font-size:11px}.standalone-chat-artifact-preview-dialog>header>div:last-child{flex:none;gap:4px}.standalone-chat-artifact-preview-dialog>header>div:last-child button{color:#5f6368;background:0 0;border:0;border-radius:6px;place-items:center;width:34px;height:34px;padding:0;display:grid}.standalone-chat-artifact-preview-dialog>header>div:last-child button:hover{color:#202123;background:#f0f0f2}.standalone-chat-artifact-preview-body{background:#f2f3f4;min-width:0;min-height:0;padding:24px;overflow:auto}.standalone-chat-artifact-preview-error{color:#b42318;background:#fff1f2;border:1px solid #fecaca;border-radius:7px;width:min(100%,720px);margin:40px auto;padding:14px 16px;font-size:13px}.standalone-chat-artifact-document-preview{color:#202123;background:#fff;width:min(100%,780px);min-height:100%;margin:0 auto;padding:54px 62px;box-shadow:0 6px 24px #00000014}.standalone-chat-artifact-document-preview h1{margin:0 0 32px;font-size:28px;line-height:1.3}.standalone-chat-artifact-document-preview h2,.standalone-chat-artifact-document-preview h3,.standalone-chat-artifact-document-preview h4{margin:24px 0 10px;line-height:1.35}.standalone-chat-artifact-document-preview h2{font-size:21px}.standalone-chat-artifact-document-preview h3{font-size:18px}.standalone-chat-artifact-document-preview h4{font-size:16px}.standalone-chat-artifact-document-preview>p{white-space:pre-wrap;gap:8px;margin:0 0 12px;font-size:14px;line-height:1.75;display:flex}.standalone-chat-artifact-preview-quote{color:#62656a;border-left:3px solid #c6c8cc;padding-left:12px}.standalone-chat-artifact-preview-code{background:#f6f7f8;border:1px solid #e1e4e8;border-radius:6px;padding:12px;font-family:Consolas,monospace}.standalone-chat-artifact-preview-table-wrap{max-width:100%;margin:16px 0;overflow:auto}.standalone-chat-artifact-preview-table-wrap table{border-collapse:collapse;background:#fff;width:100%;font-size:13px}.standalone-chat-artifact-preview-table-wrap th,.standalone-chat-artifact-preview-table-wrap td{color:#292a2e;text-align:left;vertical-align:top;white-space:pre-wrap;border:1px solid #d8dadd;min-width:110px;padding:9px 10px}.standalone-chat-artifact-preview-table-wrap th,.standalone-chat-artifact-preview-table-wrap tr.header td{color:#fff;background:#2e5b78;font-weight:650}.standalone-chat-artifact-workbook-preview{grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:100%;display:grid}.standalone-chat-artifact-sheet-tabs{background:#fff;border:1px solid #d8dadd;border-radius:7px;gap:2px;padding:3px;display:flex;overflow-x:auto}.standalone-chat-artifact-sheet-tabs button{color:#5f6368;background:0 0;border:0;border-radius:5px;flex:none;min-height:32px;padding:5px 12px;font-size:12px}.standalone-chat-artifact-sheet-tabs button.active{color:#17643b;background:#eaf6ee;font-weight:650}.standalone-chat-artifact-preview-table-wrap.workbook{margin:0;box-shadow:0 4px 18px #00000012}.standalone-chat-artifact-presentation-preview{justify-items:center;gap:22px;display:grid}.standalone-chat-artifact-presentation-preview>article{aspect-ratio:16/9;grid-template-rows:auto minmax(0,1fr);gap:18px;width:min(100%,900px);padding:42px 54px;display:grid;position:relative;overflow:hidden;box-shadow:0 7px 24px #00000024}.standalone-chat-artifact-presentation-preview h2{overflow-wrap:anywhere;border-bottom:1px solid;margin:0;padding-bottom:12px;font-size:25px;line-height:1.25}.standalone-chat-artifact-presentation-preview article>div:last-child{align-content:start;gap:7px;min-height:0;display:grid;overflow:hidden}.standalone-chat-artifact-presentation-preview p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.42}.standalone-chat-artifact-presentation-preview p.section{margin-top:4px;font-size:16px;font-weight:650}.standalone-chat-artifact-presentation-preview p.quote{opacity:.72;font-style:italic}.standalone-chat-artifact-presentation-preview p.code{color:#202123;background:#ffffffbd;padding:7px 9px;font-family:Consolas,monospace}.standalone-chat-artifact-title-slide{border-left:8px solid #b4233c;align-self:center;gap:26px;padding-left:24px;display:grid}.standalone-chat-artifact-title-slide strong{overflow-wrap:anywhere;font-size:38px;line-height:1.2}.standalone-chat-artifact-title-slide small{color:#6b7280;font-size:14px}.standalone-chat-artifact-slide-number{opacity:.58;font-size:11px;position:absolute;bottom:14px;right:18px}.standalone-chat-drop-overlay{z-index:6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:none;background:#ffffffe0;place-items:center;padding:24px;display:grid;position:absolute;inset:58px 0 0}.standalone-chat-drop-overlay>div{color:#343541;background:#fff;border:2px dashed #aaadb2;border-radius:8px;align-content:center;place-items:center;gap:10px;width:min(100%,520px);min-height:220px;display:grid}.standalone-chat-drop-overlay strong{font-size:17px}.standalone-chat-drop-overlay span{color:#777b81;font-size:12px}.standalone-chat-composer-zone{z-index:3;pointer-events:none;background:linear-gradient(#fff0,#fff 32px,#fff);justify-items:center;padding:28px 24px 18px;display:grid;position:absolute;bottom:0;left:0;right:0}.standalone-chat-main.is-empty .standalone-chat-composer-zone{background:0 0;padding-top:0;top:calc(50% + 20px);bottom:auto}.standalone-chat-composer-zone.is-expanded,.standalone-chat-main.is-empty .standalone-chat-composer-zone.is-expanded{background:linear-gradient(#fff0,#fff 24px,#fff);padding:18px 24px;top:auto;bottom:0}.standalone-chat-scroll-latest{z-index:4;color:#404348;pointer-events:auto;background:#fff;border:1px solid #d9dadd;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid;position:absolute;top:0;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 12px #00000021}.standalone-chat-scroll-latest:hover{color:#202123;background:#f5f5f6;border-color:#c6c7ca}.standalone-chat-scroll-latest:focus-visible{outline-offset:2px;outline:2px solid #202123}.standalone-chat-error{color:#b42318;pointer-events:auto;background:#fff1f2;border:1px solid #fecaca;border-radius:7px;width:min(100%,820px);margin-bottom:8px;padding:9px 12px;font-size:12px}.standalone-chat-export-notice{color:#17643b;pointer-events:auto;background:#f1faf5;border:1px solid #bbdfca;border-radius:7px;align-items:center;gap:8px;width:min(100%,820px);min-height:38px;margin-bottom:8px;padding:6px 8px 6px 12px;font-size:12px;display:flex}.standalone-chat-export-notice>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.standalone-chat-export-notice button{width:28px;height:28px;color:inherit;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.standalone-chat-export-notice button:hover{background:#17643b17}.standalone-chat-history-loading{color:#777b81;place-items:center;min-height:28px;display:grid}.standalone-chat-composer{pointer-events:auto;background:#fff;border:1px solid #dedee0;border-radius:24px;gap:8px;width:min(100%,820px);min-width:0;padding:9px 10px;display:grid;box-shadow:0 8px 28px #0000001c}.standalone-chat-composer.is-expanded{border-radius:26px;flex-direction:column;height:min(760px,100vh - 96px);padding:12px;display:flex}.standalone-chat-format-choice{pointer-events:auto;background:#fff;border:1px solid #dedfe2;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:min(100%,820px);min-height:44px;margin:0 auto;padding:8px 10px 8px 14px;display:flex;box-shadow:0 8px 24px #0000001a}.standalone-chat-format-choice>span{color:#4a4d52;min-width:0;font-size:12px}.standalone-chat-format-choice>div{align-items:center;gap:4px;display:flex}.standalone-chat-format-choice button{color:#2f3135;background:#f1f1f2;border:0;border-radius:6px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:12px;display:inline-flex}.standalone-chat-format-choice button:hover{background:#e5e5e7}.standalone-chat-composer-row{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-width:0;display:grid;position:relative}.standalone-chat-composer-row.is-multiline{grid-template-rows:auto auto;align-items:end}.standalone-chat-composer-row.is-expanded{flex:auto;grid-template-rows:minmax(0,1fr) auto;min-height:0}.standalone-chat-composer-row.is-multiline .standalone-chat-attach-button{grid-area:2/1}.standalone-chat-composer-row.is-multiline .standalone-chat-composer-model{grid-area:2/3}.standalone-chat-composer-row.is-multiline .standalone-chat-send-button{grid-area:2/4}.standalone-chat-file-input{display:none}.standalone-chat-attach-button,.standalone-chat-send-button{border:0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:grid}.standalone-chat-attach-button{color:#5f6368;background:0 0}.standalone-chat-attach-button:hover:not(:disabled){color:#202123;background:#f0f0f2}.standalone-chat-attach-button:disabled{opacity:.4}.standalone-chat-composer-row textarea{resize:none;color:#202123;width:100%;min-height:42px;max-height:min(320px,40vh);font:inherit;letter-spacing:0;scrollbar-width:none;-ms-overflow-style:none;background:0 0;border:0;outline:0;padding:10px 0 7px;font-size:15px;line-height:1.45;display:block}.standalone-chat-composer-row textarea::-webkit-scrollbar{width:0;height:0;display:none}.standalone-chat-composer-row textarea:focus,.standalone-chat-composer-row textarea:focus-visible{box-shadow:none;border-color:#0000;outline:none}.standalone-chat-composer:focus-within{border-color:#c9cacc;box-shadow:0 8px 28px #0000001c,0 0 0 2px #20212309}.standalone-chat-composer-row.is-multiline textarea{grid-area:1/1/auto/-1;padding:10px 8px 7px}.standalone-chat-composer-row textarea.has-expand-control{padding-right:40px}.standalone-chat-composer-row.is-expanded textarea{min-height:0;max-height:none}.standalone-chat-composer-expand{z-index:2;color:#74777c;background:0 0;border:0;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:1px;right:1px}.standalone-chat-composer-expand:hover{color:#202123;background:#f0f0f2}.standalone-chat-composer-row textarea::placeholder{color:#93959a}.standalone-chat-composer-model{min-width:0;position:relative}.standalone-chat-composer-model>button{color:#4b4d52;text-align:left;background:#f0f0f2;border:0;border-radius:17px;outline:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;width:138px;height:34px;padding:0 9px 0 11px;font-size:12px;display:grid}.standalone-chat-composer-model>button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-composer-model>button:hover,.standalone-chat-composer-model>button:focus,.standalone-chat-composer-model>button[aria-expanded=true]{background:#e8e8ea}.standalone-chat-composer-model>button:disabled{opacity:.5}.standalone-chat-model-menu{z-index:8;background:#fff;border:1px solid #d7d7da;border-radius:8px;gap:3px;width:max(180px,100%);max-height:260px;padding:5px;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 12px 28px #00000024}.standalone-chat-main.is-empty .standalone-chat-model-menu{top:calc(100% + 8px);bottom:auto}.standalone-chat-composer.is-expanded .standalone-chat-model-menu{top:auto;bottom:calc(100% + 8px)}.standalone-chat-model-menu button{color:#343541;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:34px;padding:0 9px;font-size:12px;display:grid}.standalone-chat-model-menu button:hover,.standalone-chat-model-menu button[aria-checked=true]{background:#f0f0f2}.standalone-chat-model-menu button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-send-button{color:#fff;background:#b91c1c}.standalone-chat-send-button:disabled{color:#92959a;background:#dedee0}.standalone-chat-pending-attachments{scrollbar-width:none;gap:8px;min-width:0;padding:1px;display:flex;overflow-x:auto}.standalone-chat-pending-attachments::-webkit-scrollbar{display:none}.standalone-chat-pending-attachment{background:#fff;border:1px solid #d8dadd;border-radius:7px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;width:220px;min-width:220px;height:58px;padding:6px 28px 6px 6px;display:grid;position:relative}.standalone-chat-pending-attachment img,.standalone-chat-pending-attachment>span:first-child{color:#5f6368;object-fit:cover;background:#f1f1f3;border-radius:6px;place-items:center;width:44px;height:44px;display:grid}.standalone-chat-pending-attachment.excel>span:first-child{color:#18794e;background:#eaf6ee}.standalone-chat-pending-attachment.word>span:first-child{color:#3568b8;background:#eef4ff}.standalone-chat-pending-attachment.presentation>span:first-child{color:#b42318;background:#fff1ef}.standalone-chat-pending-attachment>span:nth-child(2){gap:3px;min-width:0;display:grid}.standalone-chat-pending-attachment strong,.standalone-chat-pending-attachment small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.standalone-chat-pending-attachment strong{font-size:12px;font-weight:600}.standalone-chat-pending-attachment small{color:#777b81;font-size:10px}.standalone-chat-pending-attachment>button{color:#4b4d52;background:#ededee;border:0;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:4px;right:4px}.standalone-chat-pending-attachment>button:hover{background:#dedee0}.standalone-chat-backdrop{display:none}@media (max-width:820px){.standalone-chat-page{grid-template-columns:minmax(0,1fr)}.standalone-chat-sidebar{z-index:8;width:min(86vw,310px);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%);box-shadow:16px 0 38px #00000029}.standalone-chat-sidebar.mobile-open{transform:translate(0)}.standalone-chat-brand-row .standalone-chat-sidebar-close,.standalone-chat-mobile-menu{display:inline-flex}.standalone-chat-backdrop{z-index:7;background:#0000004d;border:0;border-radius:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.standalone-chat-header{grid-template-columns:auto minmax(0,1fr) auto;padding:0 8px}.standalone-chat-header>div>button:last-child{display:none}.standalone-chat-messages{gap:22px;padding:22px 16px 148px}.standalone-chat-message.user>div{max-width:88%}.standalone-chat-message p{font-size:14px}.standalone-chat-generated-artifact{width:min(100%,380px)}.standalone-chat-artifact-preview-backdrop{align-items:stretch;padding:0}.standalone-chat-artifact-preview-dialog{border:0;border-radius:0;width:100%;height:100%}.standalone-chat-artifact-preview-body{padding:14px}.standalone-chat-artifact-document-preview{padding:34px 28px}.standalone-chat-artifact-presentation-preview>article{gap:10px;padding:24px 28px}.standalone-chat-artifact-presentation-preview h2{font-size:18px}.standalone-chat-artifact-presentation-preview p{font-size:11px;line-height:1.32}.standalone-chat-artifact-title-slide strong{font-size:26px}.standalone-chat-composer-zone{padding:22px 10px 10px}.standalone-chat-composer-zone.is-expanded,.standalone-chat-main.is-empty .standalone-chat-composer-zone.is-expanded{padding:10px}.standalone-chat-main.is-empty .standalone-chat-empty{transform:translateY(-46px)}.standalone-chat-main.is-empty .standalone-chat-composer-zone{padding-top:0;top:calc(50% + 16px)}.standalone-chat-composer-model>button{width:112px}.standalone-chat-memory-backdrop{align-items:end;padding:0}.standalone-chat-memory-dialog{border-bottom:0;border-left:0;border-right:0;border-radius:8px 8px 0 0;width:100%;max-height:86vh}.standalone-chat-memory-list article{grid-template-columns:minmax(0,1fr) auto}.standalone-chat-memory-list article>span{grid-column:1/-1}}@media (max-width:480px){.standalone-chat-header h1{font-size:13px}.standalone-chat-composer{border-radius:20px}.standalone-chat-composer-row{grid-template-columns:auto minmax(0,1fr) 96px auto;gap:6px}.standalone-chat-composer-model>button{width:96px;padding-left:8px}.standalone-chat-pending-attachment{width:190px;min-width:190px}.standalone-chat-generated-artifact{grid-template-columns:minmax(0,1fr) 38px}.standalone-chat-generated-artifact-main{grid-template-columns:38px minmax(0,1fr);gap:8px;padding:8px}.standalone-chat-generated-artifact-main>span:first-child,.standalone-chat-artifact-preview-icon{width:38px;height:38px}.standalone-chat-generated-artifact-download{width:38px}.standalone-chat-artifact-preview-dialog{grid-template-rows:58px minmax(0,1fr)}.standalone-chat-artifact-preview-dialog>header{padding-left:10px}.standalone-chat-artifact-document-preview{padding:28px 20px}}
