.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.project-import-dropzone{width:100%;min-height:142px;padding:18px;border:1px dashed var(--border-dashed, var(--kit-line, #4a4d4e));border-radius:6px;background:var(--bg-input, var(--kit-panel-2, #2b2f31));color:var(--text-primary, var(--kit-text, #e2e3e3));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;cursor:pointer;transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.project-import-dropzone:hover,.project-import-dropzone:focus-visible,.project-import-dropzone.is-dragging{border-color:var(--accent, var(--kit-blue, #1688e8));background:var(--accent-muted-bg, rgba(22, 136, 232, .12))}.project-import-dropzone:focus-visible{outline:2px solid var(--accent-focus, var(--kit-blue, #1688e8));outline-offset:2px}.project-import-dropzone.is-dragging{box-shadow:inset 0 0 0 1px var(--accent, var(--kit-blue, #1688e8))}.project-import-dropzone.is-busy{cursor:wait;opacity:.72}.project-import-dropzone.has-error{border-color:var(--danger-border, #8b4141)}.project-import-dropzone__input{display:none}.project-import-dropzone__icon{color:var(--accent, var(--kit-blue, #1688e8))}.project-import-dropzone strong{font-size:13px}.project-import-dropzone span,.project-import-dropzone small{color:var(--text-muted, var(--kit-muted, #a5a8a9))}.project-import-dropzone small{font-size:10px}.project-import-dropzone__error{min-height:1.35em;color:var(--danger-text, #ff9b9b)!important;font-size:11px}.project-import-dropzone--start{min-height:128px;margin-bottom:10px;padding:12px 8px}.project-import-dropzone--exchange{max-width:620px}.kit-exchange-heading{margin:14px 0 7px;color:var(--text-primary, var(--kit-text, #e2e3e3));font-size:12px;font-weight:600}.kit-import-mode{width:min(100%,620px);margin-bottom:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.kit-import-mode button{min-height:52px;padding:8px 12px;border:1px solid var(--border-strong, var(--kit-line, #4a4d4e));background:var(--bg-input, var(--kit-panel-2, #2b2f31));color:var(--text-primary, var(--kit-text, #e2e3e3));display:flex;flex-direction:column;align-items:flex-start;gap:2px;cursor:pointer}.kit-import-mode button+button{border-left:0}.kit-import-mode button:first-child{border-radius:5px 0 0 5px}.kit-import-mode button:last-child{border-radius:0 5px 5px 0}.kit-import-mode button:hover:not(:disabled){background:var(--bg-hover, var(--kit-panel-3, #3b3e3f))}.kit-import-mode button.is-active{border-color:var(--accent, var(--kit-blue, #1688e8));background:var(--accent-muted-bg, rgba(22, 136, 232, .16));box-shadow:inset 0 0 0 1px var(--accent, var(--kit-blue, #1688e8))}.kit-import-mode button:focus-visible{position:relative;z-index:1;outline:2px solid var(--accent-focus, var(--kit-blue, #1688e8));outline-offset:2px}.kit-import-mode button:disabled{cursor:wait;opacity:.65}.kit-import-mode small{color:var(--text-muted, var(--kit-muted, #a5a8a9));font-size:10px;font-weight:400}@media (prefers-reduced-motion: reduce){.project-import-dropzone{transition:none}}.kit-shell{--kit-bg: #202426;--kit-panel: #343738;--kit-panel-2: #2b2f31;--kit-panel-3: #3b3e3f;--kit-line: #4a4d4e;--kit-line-soft: #3c4041;--kit-text: #e2e3e3;--kit-muted: #a5a8a9;--kit-blue: #1688e8;--kit-blue-soft: #126fbf;display:flex;width:100%;height:100%;min-height:0;overflow:hidden;background:var(--kit-bg);color:var(--kit-text);font:12px/1.35 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.kit-shell *{box-sizing:border-box}.kit-shell button,.kit-shell input,.kit-shell select,.kit-shell textarea{font:inherit}.kit-rail{width:64px;flex:0 0 64px;display:flex;flex-direction:column;background:#303536;border-right:1px solid var(--kit-line);overflow:hidden}.kit-rail-menu{height:32px;display:grid;place-items:center;border-bottom:1px solid var(--kit-line);color:#c8caca;font-size:10px}.kit-rail-items{display:flex;flex-direction:column;gap:4px;padding:6px 4px}.kit-rail-item{width:100%;min-height:50px;padding:5px 2px;border:0;border-radius:8px;background:transparent;color:#b7baba;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer}.kit-rail-item:hover:not(:disabled){background:#ffffff0b;color:#fff}.kit-rail-item.is-active{color:var(--kit-blue);background:#292d2f}.kit-rail-item:disabled{opacity:.35;cursor:default}.kit-rail-icon{font-size:19px;line-height:20px;font-family:Arial,sans-serif;display:grid;place-items:center}.kit-rail-label{font-size:9px;white-space:nowrap}.kit-stage{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--kit-bg)}.kit-stage-title{height:32px;flex:0 0 32px;display:flex;align-items:center;padding:0 10px;background:var(--kit-panel);border-bottom:1px solid var(--kit-line);font-weight:600}.kit-topbar{height:32px;flex:0 0 32px;display:flex;align-items:center;background:var(--kit-panel);border-bottom:1px solid var(--kit-line);color:var(--kit-text)}.kit-topbar-title{padding:0 10px;font-weight:600;white-space:nowrap}.kit-topbar-content,.kit-topbar-actions{display:flex;align-items:center;gap:2px}.kit-topbar-content{flex:1}.kit-topbar-actions{padding:0 5px}.kit-icon-button,.kit-action-button{height:26px;min-width:27px;padding:0 7px;border:0;border-radius:0;background:transparent;color:#d7d8d8;cursor:pointer}.kit-icon-button{display:inline-grid;place-items:center;flex:0 0 auto}.kit-action-button{display:inline-flex;align-items:center;gap:5px}.kit-icon-button:hover,.kit-action-button:hover,.kit-icon-button.is-active,.kit-action-button.is-active{background:#474a4b;color:#fff}.kit-zoom-value{height:24px;min-width:46px;padding:0 5px;border:0;background:transparent;color:var(--kit-muted);cursor:pointer;font-variant-numeric:tabular-nums}.kit-zoom-value:hover{background:#474a4b;color:#fff}.kit-split{min-width:0;min-height:0;flex:1;display:flex;overflow:hidden}.kit-secondary{width:230px;flex:0 0 230px;min-width:150px;background:var(--kit-panel);border-right:1px solid var(--kit-line);overflow:auto}.kit-workspace{min-width:0;min-height:0;flex:1;margin:0;padding:0;overflow:auto;background:var(--kit-bg);color:var(--kit-text)}.kit-tree-group{border-bottom:1px solid var(--kit-line-soft)}.kit-tree-row{width:100%;min-height:27px;padding:4px 10px;display:flex;align-items:center;gap:7px;border:0;border-bottom:1px solid var(--kit-line-soft);border-radius:0;background:transparent;color:#dedfdf;text-align:left;cursor:pointer}.kit-tree-row:hover{background:#ffffff0b}.kit-tree-row.is-active{background:var(--kit-blue);color:#fff}.kit-tree-icon{width:14px;display:grid;place-items:center;text-align:center;color:#c6c8c8}.kit-tree-row.is-active .kit-tree-icon{color:#fff}.kit-tree-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kit-tree-folder-row{position:relative;display:flex;align-items:stretch}.kit-tree-folder-row .kit-tree-row{flex:1;min-width:0}.kit-tree-folder-label{display:inline-flex;align-items:center;gap:6px;min-width:0}.kit-tree-folder-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kit-tree-add-inside{flex:0 0 26px;display:grid;place-items:center;border:0;border-bottom:1px solid var(--kit-line-soft);background:transparent;color:#c6c8c8;cursor:pointer}.kit-tree-add-inside:hover{background:#ffffff14;color:#fff}.kit-folder-children{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.kit-folder-children .kit-secondary-button{width:100%;justify-content:flex-start}.kit-empty{height:100%;display:grid;place-items:center;color:var(--kit-muted)}.kit-field{display:grid;gap:4px;margin-bottom:9px}.kit-field>span{color:#c9cbcb}.kit-input,.kit-select,.kit-textarea,.kit-shell .scenarist-field-input{width:100%;border:1px solid #505354;border-radius:0;padding:5px 7px;background:#3b3e3f;color:#f0f1f1;outline:none}.kit-input:focus,.kit-select:focus,.kit-textarea:focus,.kit-shell .scenarist-field-input:focus{border-color:var(--kit-blue)}.kit-textarea{resize:vertical}.kit-primary,.kit-secondary-button{min-width:70px;height:27px;border:1px solid #555859;border-radius:0;padding:0 12px;color:#ececec;background:#454849;cursor:pointer}.kit-primary:hover,.kit-secondary-button:hover{background:#505354}.kit-primary{border-color:var(--kit-blue-soft)}.kit-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;background:#000000b8}.kit-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #55595a;background:#303436;color:var(--kit-text);box-shadow:0 14px 45px #0000008c}.kit-dialog-title,.kit-dialog-tabs{min-height:32px;display:flex;align-items:center;border-bottom:1px solid #55595a;background:#3a3e40}.kit-dialog-title{justify-content:space-between;padding-left:12px;font-weight:600}.kit-dialog-title button,.kit-dialog-tabs button{border:0;border-radius:0;background:transparent;color:#d8dada;cursor:pointer}.kit-dialog-title button{width:32px;height:30px}.kit-dialog-tabs button{flex:1;height:32px;border-bottom:2px solid transparent}.kit-dialog-tabs button.is-active{border-bottom-color:var(--kit-blue);color:#fff}.kit-dialog-body{padding:14px 18px}.kit-dialog-footer{display:flex;justify-content:flex-end;gap:6px;padding:8px 18px 14px}.kit-start{height:100%;display:grid;grid-template-columns:255px 1fr}.kit-start-sidebar{padding:18px;background:var(--kit-panel);border-right:1px solid var(--kit-line)}.kit-start-action{width:100%;height:34px;margin-bottom:8px;border:1px solid #4d5051;border-radius:0;background:#3d4041;color:#e5e6e6;text-align:left;padding:0 12px;display:flex;align-items:center;gap:8px;line-height:1;cursor:pointer}.kit-start-action:hover{border-color:var(--kit-blue)}.kit-start-help{margin-top:18px;color:#c0c3c3;font-size:11px}.kit-start-projects{min-width:0;padding:18px;background:var(--kit-bg)}.kit-start-projects-head{display:flex;justify-content:space-between;margin-bottom:12px}.kit-project-row{display:flex;align-items:center;width:100%;padding:6px 4px;border:0;background:transparent;color:var(--kit-text);text-align:left;cursor:pointer}.kit-project-row>.kit-project-row{flex:1;display:block}.kit-project-row:hover{color:#fff;background:#ffffff09}.kit-project-row small{display:block;margin-top:2px;color:var(--kit-muted)}.kit-research{min-height:0;flex:1}.kit-research-editor{min-height:100%;padding:12px}.kit-research-editor.is-document{padding:0}.kit-research-textarea{width:100%;min-height:calc(100vh - 155px);padding:10px;border:1px solid #55595a;border-radius:0;resize:none;background:#3a3d3e;color:#f0f0f0;outline:none}.kit-research-textarea:focus{border-color:var(--kit-blue)}.kit-research-form{max-width:760px}.kit-research-form h2{margin:2px 0 12px;font-size:16px}.kit-add-document{max-width:680px;padding:14px}.kit-add-document h3{margin:14px 0 3px;font-size:14px}.kit-add-document p{margin:0 0 6px;color:var(--kit-muted)}.kit-cards-workspace{position:relative;min-height:0;flex:1;display:flex;flex-direction:column}.kit-corkboard{position:relative;flex:1;min-height:0;overflow:auto;background-color:var(--bg-canvas, #12151c);background-image:radial-gradient(circle,var(--canvas-grid, #3a4254) 1.2px,transparent 1.2px);background-size:22px 22px}.kit-index-card{position:absolute;width:145px;min-height:82px;padding:8px;border:1px solid #17191a;background:#25292b;color:#e7e8e8;box-shadow:0 2px 5px #00000059;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.kit-index-card.is-dragging{cursor:grabbing;z-index:5;opacity:.96}.kit-index-card.is-selected{box-shadow:0 0 0 2px var(--kit-blue),0 2px 5px #0006}.kit-index-card-title{font-weight:600;margin-bottom:5px}.kit-index-card-heading,.kit-index-card-description{color:#b9bcbc;font-size:10px}.kit-script{flex:1;min-height:0;display:flex;flex-direction:column}.kit-script-body{min-height:0;flex:1;display:grid;grid-template-columns:370px minmax(0,1fr)}.kit-script-body.has-meta{grid-template-columns:370px minmax(0,1fr) 230px}.kit-script-body .scenarist-scene-meta{min-width:0;padding:9px;background:var(--kit-panel);border-left:1px solid var(--kit-line)}.kit-script-navigator{min-height:0;background:var(--kit-panel);border-right:1px solid var(--kit-line);overflow:auto}.kit-script-editor{min-width:0;min-height:0;overflow:hidden;background:#1c2022}.kit-shell .scenarist-editor{height:100%;padding:18px 12px 60px;overflow:auto;background:#1c2022}.kit-shell .scenarist-editor--dual{display:flex;justify-content:flex-start;align-items:flex-start;gap:24px;cursor:grab}.kit-shell .scenarist-editor--dual.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.kit-shell .scenarist-editor--dual .scenarist-page-sheet{flex:0 0 210mm;margin:0}.kit-shell .scenarist-page-sheet{width:210mm;min-width:210mm;max-width:none;min-height:297mm;margin-left:auto;margin-right:auto;padding:36px 54px 52px;background:#393b3c;color:#d9dada;box-shadow:0 1px 2px #00000080}.scenarist-block-type-trigger{width:180px;height:24px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px}.scenarist-block-type-menu{position:fixed;z-index:10000;overflow-y:auto;padding:5px;border:1px solid #59606c;border-radius:7px;background:#20252e;box-shadow:0 14px 36px #0000008c}.scenarist-block-type-menu button{width:100%;min-height:31px;display:flex;align-items:center;gap:8px;padding:5px 9px;border:0;border-radius:4px;background:transparent;color:#eef1f7;text-align:left}.scenarist-block-type-menu button:hover,.scenarist-block-type-menu button:focus,.scenarist-block-type-menu button.is-active{outline:none;background:var(--kit-blue, #5474ff)}.scenarist-block-type-menu .is-hidden{visibility:hidden}.kit-settings-form.kit-settings-form--single{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;max-width:980px;width:100%;margin:0 auto;padding-bottom:32px}.kit-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 16px}.kit-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.kit-inline-actions .kit-input{flex:1 1 260px}.scenarist-integration-preview ul{max-height:180px;overflow:auto}.scenarist-scene-production{margin-top:18px;display:grid;gap:7px}.scenarist-production-task{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid var(--kit-line)}.scenarist-ai-controls{display:grid;gap:10px}.scenarist-ai-diff{max-height:44vh;overflow:auto;margin-top:14px;display:grid;gap:10px}.scenarist-ai-diff section{display:grid;grid-template-columns:1fr 1fr;gap:8px}.scenarist-ai-before,.scenarist-ai-after{padding:9px;white-space:pre-wrap;font-family:Courier New,monospace;border:1px solid var(--kit-line)}.scenarist-ai-before{background:#be3c3c1f}.scenarist-ai-after{background:#3cb4641f}.scenarist-gallery-grid{margin-top:12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.scenarist-gallery-grid figure{margin:0;display:grid;gap:6px}.scenarist-gallery-grid img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border:1px solid var(--kit-line)}.shared-scenario{min-height:100vh;display:flex;flex-direction:column;background:#1c2022;color:#e5e7eb}.shared-scenario>header{height:44px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:#24292d;border-bottom:1px solid #3c4144}.shared-scenario .scenarist-editor{flex:1}.shared-scenario-state{min-height:100vh;display:grid;place-items:center}.scenarist-block.is-shared-anchor{outline:2px solid var(--kit-blue, #5474ff);outline-offset:3px}.kit-shell .scenarist-block.is-block-selected{background:#1688e833;border-radius:3px;outline:1px solid rgba(89,173,245,.72);outline-offset:2px}.kit-shell .scenarist-block.is-block-selected:before{position:absolute;top:-2px;bottom:-2px;left:-9px;width:4px;border-radius:3px;background:#59adf5;content:""}.kit-shell .scenarist-block.is-block-selected:focus-within{outline-color:#9bd1ff;box-shadow:0 0 0 3px #1688e82e}.kit-shell .scenarist-block-input{color:#dedfdf;caret-color:#fff;font-family:Courier New,Courier,monospace;font-size:var(--scenarist-font-size, 12pt);min-height:20px;height:20px;padding:1px 0 2px;box-sizing:border-box;line-height:1.2}.kit-shell .scenarist-block{margin-bottom:.05em}.kit-shell .scenarist-block--scene_heading{margin-top:.65em}.kit-shell .scenarist-page-sheet>.scenarist-block--scene_heading:first-child{margin-top:0}.kit-shell .scenarist-block--folder_header{margin-top:1em;margin-bottom:.25em}.kit-shell .scenarist-suggest{overflow:hidden;background:#20252e;border:1px solid #68717d;border-radius:4px;box-shadow:0 12px 30px #0000008c,0 0 0 1px #ffffff0d}.kit-shell .scenarist-suggest-item{color:#f2f4f7;border-bottom:1px solid rgba(255,255,255,.08)}.kit-shell .scenarist-suggest li:last-child .scenarist-suggest-item{border-bottom:0}.kit-shell .scenarist-suggest-item:hover,.kit-shell .scenarist-suggest-item:focus-visible{background:var(--kit-blue);color:#fff;outline:none}.kit-shell .scenarist-findbar{background:var(--kit-panel);border-color:var(--kit-line);color:var(--kit-text)}.kit-shell .scenarist-findbar-input{background:#3a3d3e;border-color:#555859;color:#fff}.kit-shell .scenarist-nav{background:var(--kit-panel);border:0}.kit-shell .scenarist-nav-head{background:#303435;border-color:var(--kit-line)}.kit-shell .scenarist-nav-item{color:#e0e1e1}.kit-shell .scenarist-nav-item:hover{background:#ffffff0b}.kit-shell .scenarist-nav-item.is-active{background:var(--kit-blue);color:#fff}.kit-shell .scenarist-nav-row.is-dragging .scenarist-nav-item{opacity:.45}.kit-shell .scenarist-nav-row.is-drop-before{box-shadow:inset 0 2px 0 0 var(--kit-blue)}.kit-shell .scenarist-nav-drop-end{min-height:10px}.kit-shell .scenarist-nav-item[draggable=true]{cursor:grab}.kit-shell .scenarist-nav-item[draggable=true]:active{cursor:grabbing}.kit-master-detail{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.kit-report{min-height:100%;padding:10px}.kit-report h2{margin:0 0 8px;font-size:15px}.kit-report-table{width:100%;border-collapse:collapse}.kit-report-table th,.kit-report-table td{padding:5px 7px;border-bottom:1px solid var(--kit-line-soft);text-align:left}.kit-report-table th{background:#3b3e3f;color:#cfd1d1}.kit-version-actions{display:flex;justify-content:flex-end;gap:5px}.kit-version-preview{margin-top:12px;border:1px solid var(--kit-line);background:#2b2f31}.kit-version-preview h3{margin:0;padding:7px 9px;border-bottom:1px solid var(--kit-line);font-size:13px}.kit-version-preview-block{display:grid;grid-template-columns:110px 1fr;gap:8px;padding:4px 8px;border-bottom:1px solid var(--kit-line-soft)}.kit-version-preview-block small{color:var(--kit-muted)}.kit-chart{width:100%;height:min(65vh,520px);border:1px solid #555859;background:#383b3c}.kit-tool-list{width:min(610px,50%);min-width:330px;background:var(--kit-panel);border-right:1px solid var(--kit-line)}.kit-tool-detail{flex:1;min-width:0;padding:12px;background:var(--kit-bg)}.kit-settings-form{max-width:560px;padding:12px}.kit-settings-group{margin-bottom:14px;padding:8px;border:1px solid var(--kit-line)}.kit-settings-group legend{padding:0 5px;color:#d8dada}@media (max-width: 900px){.kit-rail{width:54px;flex-basis:54px}.kit-rail-item{width:100%}.kit-rail-label{font-size:8px}.kit-secondary{width:190px;flex-basis:190px}.kit-script-body{grid-template-columns:250px minmax(0,1fr)}}@media (max-width: 640px){.kit-settings-grid{grid-template-columns:1fr}}.studio-scenarist{--kit-bg: var(--studio-bg);--kit-panel: var(--studio-surface);--kit-panel-2: var(--studio-surface-raised);--kit-panel-3: var(--studio-surface-soft);--kit-line: var(--studio-border);--kit-line-soft: color-mix(in srgb, var(--studio-border) 72%, transparent);--kit-text: var(--studio-text);--kit-muted: var(--studio-text-muted);--kit-blue: var(--studio-accent);--kit-blue-soft: var(--studio-accent-soft);background:var(--studio-bg);color:var(--studio-text)}.studio-scenarist .kit-rail,.studio-scenarist .kit-stage-title,.studio-scenarist .kit-topbar,.studio-scenarist .kit-secondary,.studio-scenarist .kit-start-sidebar,.studio-scenarist .kit-script-navigator,.studio-scenarist .scenarist-scene-meta{border-color:var(--studio-border);background:var(--studio-surface)}.studio-scenarist .kit-stage,.studio-scenarist .kit-workspace,.studio-scenarist .kit-start-projects,.studio-scenarist .kit-tool-detail,.studio-scenarist .kit-script-editor,.studio-scenarist .scenarist-editor{background:var(--studio-bg);color:var(--studio-text)}.studio-scenarist .kit-rail-item,.studio-scenarist .kit-icon-button,.studio-scenarist .kit-action-button,.studio-scenarist .kit-tree-row,.studio-scenarist .kit-tree-add-inside,.studio-scenarist .kit-project-row{color:var(--studio-text-secondary)}.studio-scenarist .kit-rail-item:hover:not(:disabled),.studio-scenarist .kit-icon-button:hover,.studio-scenarist .kit-action-button:hover,.studio-scenarist .kit-tree-row:hover,.studio-scenarist .kit-tree-add-inside:hover,.studio-scenarist .kit-project-row:hover{background:var(--studio-surface-hover);color:var(--studio-text)}.studio-scenarist .kit-rail-item.is-active,.studio-scenarist .kit-tree-row.is-active,.studio-scenarist .scenarist-nav-item.is-active{background:var(--studio-accent-soft);color:var(--studio-accent-hover)}.studio-scenarist .kit-input,.studio-scenarist .kit-select,.studio-scenarist .kit-textarea,.studio-scenarist .scenarist-field-input,.studio-scenarist .kit-research-textarea,.studio-scenarist .scenarist-findbar-input{min-height:36px;border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);background:var(--studio-surface-raised);color:var(--studio-text)}.studio-scenarist .kit-input:focus,.studio-scenarist .kit-select:focus,.studio-scenarist .kit-textarea:focus,.studio-scenarist .scenarist-field-input:focus,.studio-scenarist .kit-research-textarea:focus,.studio-scenarist .scenarist-findbar-input:focus{border-color:var(--studio-accent);outline:none;box-shadow:0 0 0 3px var(--studio-focus-ring)}.studio-scenarist .kit-primary,.studio-scenarist .kit-secondary-button,.studio-scenarist .kit-start-action{min-height:34px;border:1px solid var(--studio-border);border-radius:var(--studio-radius-pill);background:var(--studio-surface-soft);color:var(--studio-text)}.studio-scenarist .kit-primary{border-color:var(--studio-accent);background:var(--studio-accent);color:var(--text-on-accent)}.studio-scenarist .kit-primary:hover,.studio-scenarist .kit-secondary-button:hover,.studio-scenarist .kit-start-action:hover{border-color:var(--studio-accent-hover);background:var(--studio-surface-hover)}.studio-scenarist .kit-primary:hover{background:var(--studio-accent-hover)}.studio-scenarist .kit-dialog-backdrop{background:var(--studio-overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.studio-scenarist .kit-dialog,.studio-scenarist .scenarist-block-type-menu,.studio-scenarist .scenarist-suggest{overflow:hidden;border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text);box-shadow:0 24px 70px var(--studio-shadow)}.studio-scenarist .kit-dialog-title,.studio-scenarist .kit-dialog-tabs,.studio-scenarist .scenarist-findbar,.studio-scenarist .scenarist-nav-head{border-color:var(--studio-border);background:var(--studio-surface-raised)}.studio-scenarist .kit-dialog-tabs button{color:var(--studio-text-muted)}.studio-scenarist .kit-dialog-tabs button.is-active{border-bottom-color:var(--studio-accent);color:var(--studio-text)}.studio-scenarist .kit-settings-group,.studio-scenarist .kit-version-preview,.studio-scenarist .kit-chart,.studio-scenarist .kit-report-table th,.studio-scenarist .kit-index-card{border-color:var(--studio-border);background:var(--studio-surface-raised);color:var(--studio-text)}.studio-scenarist .kit-corkboard{background-color:var(--studio-bg);background-image:radial-gradient(circle,var(--studio-border) 1.2px,transparent 1.2px)}.studio-scenarist .scenarist-page-sheet{background:var(--studio-surface-raised);color:var(--studio-text);box-shadow:0 12px 40px var(--studio-shadow)}.studio-scenarist .scenarist-block-input{color:var(--studio-text);caret-color:var(--studio-text)}.studio-scenarist .scenarist-block.is-block-selected{border-radius:var(--studio-radius-sm);background:var(--studio-accent-soft);outline-color:var(--studio-accent)}.studio-scenarist .scenarist-suggest-item,.studio-scenarist .scenarist-nav-item{border-color:var(--studio-border);color:var(--studio-text-secondary)}.studio-scenarist .scenarist-suggest-item:hover,.studio-scenarist .scenarist-suggest-item:focus-visible,.studio-scenarist .scenarist-block-type-menu button:hover,.studio-scenarist .scenarist-block-type-menu button:focus,.studio-scenarist .scenarist-block-type-menu button.is-active{background:var(--studio-accent);color:var(--text-on-accent)}.shared-scenario,.shared-scenario-state{background:var(--studio-bg);color:var(--studio-text)}.shared-scenario>header{border-color:var(--studio-border);background:var(--studio-surface)}@media (max-width: 760px){.studio-scenarist .kit-rail{width:48px;flex-basis:48px}.studio-scenarist .kit-rail-item{width:100%}.studio-scenarist .kit-rail-label{display:none}.studio-scenarist .kit-secondary{width:160px;flex-basis:160px}.studio-scenarist .kit-script-body,.studio-scenarist .kit-script-body.has-meta{grid-template-columns:160px minmax(0,1fr)}.studio-scenarist .kit-script-body .scenarist-scene-meta{display:none}.studio-scenarist .kit-start{grid-template-columns:1fr;overflow:auto}.studio-scenarist .kit-start-sidebar{border-right:0;border-bottom:1px solid var(--studio-border)}}:root,[data-theme=dark]{color-scheme:dark;--bg-base: #0f1115;--bg-elevated: #14171e;--bg-surface: #171a22;--bg-muted: #1a1e27;--bg-input: #0f1218;--bg-hover: #1d2230;--bg-subtle: #1b1f28;--bg-inset: #15181f;--bg-canvas: #12151c;--bg-panel: #1f2631;--bg-deep: #0a0c10;--bg-row-unread: #11151d;--bg-row-active: #1c2433;--bg-info: #1a2030;--bg-chip: #222732;--bg-overlay-btn: rgba(0, 0, 0, .65);--bg-overlay-btn-strong: rgba(0, 0, 0, .75);--bg-overlay-media: rgba(0, 0, 0, .7);--bg-help-panel: rgba(23, 26, 34, .92);--bg-tree-hover: rgba(255, 255, 255, .04);--bg-tree-active: rgba(58, 109, 255, .15);--border: #242933;--border-strong: #2b303c;--border-row: #1e222b;--border-info: #2b3548;--border-video-node: #3a5080;--border-gen-node: #4a3a6d;--border-util-node: #3a4030;--border-dashed: #3a4050;--border-dashed-hover: #5a6270;--text-primary: #e7e9ee;--text-secondary: #c8ccd6;--text-muted: #9aa0ab;--text-faint: #7c818e;--text-heading: #f0f2f5;--text-on-accent: #fff;--text-card-title: #c5c9d2;--text-empty: #4a5160;--text-star: #5a6170;--text-crumb-sep: #5c6370;--accent: #3a6dff;--accent-hover: #4d7fff;--accent-run: #2d5bff;--accent-muted-bg: #1c3049;--accent-focus: #4d7fff;--accent-search: #3a6ea5;--accent-dot: #4f9dff;--accent-badge-bg: #2563a8;--link: #7ab6ff;--link-alt: #7eb6ff;--section-title: #8aa3c5;--shadow: rgba(0, 0, 0, .5);--shadow-md: rgba(0, 0, 0, .45);--shadow-node: rgba(0, 0, 0, .35);--shadow-menu: rgba(0, 0, 0, .18);--overlay: rgba(0, 0, 0, .5);--overlay-strong: rgba(0, 0, 0, .72);--overlay-sidebar: rgba(0, 0, 0, .55);--danger: #c0392b;--danger-hover: #d35145;--danger-text: #ff9b9b;--danger-text-hover: #ff8a8a;--danger-text-soft: #ff9090;--danger-bg: #3a1f24;--danger-bg-strong: #341c20;--danger-border: #6b343c;--err-msg: #ff9090;--info-msg: #8ac8ff;--success-bg: #16302a;--success-border: #2a5a4a;--success-text: #9be3c4;--badge-bg: #242933;--badge-ok-bg: #1f4d2c;--badge-ok-text: #8de1a5;--badge-err-bg: #4d1f1f;--badge-err-text: #ffa3a3;--badge-wait-bg: #3a3216;--badge-wait-text: #e7ce7f;--badge-warn-bg: #3a2a1a;--badge-warn-text: #d4a574;--warning-text: #d4a574;--prompt-log-error: #c8a86a;--btn-secondary: #242933;--btn-secondary-hover: #2e3442;--btn-disabled: #2b303c;--btn-upscale: #1f2430;--btn-upscale-hover: #252b38;--output-link-bg: #232a38;--output-link-hover: #2d3850;--avatar-bg: #2f6fb0;--node-tag-bg: #243049;--node-tag-text: #8ab6ff;--node-badge-bg: #1f3a6d;--node-badge-text: #9ec0ff;--canvas-grid: #3a4254;--canvas-minimap-node: #2a3140;--canvas-minimap-mask: rgba(15, 17, 21, .8);--handle-border: #171a22;--mail-row-gradient: #1a1e27;--mail-row-action-hover: #2a3040;--mail-search-focus: #1e232e;--materials-hover: rgba(255, 255, 255, .04);--toggle-off: #2b303c;--logo-accent: #7a4dff;--badge-upscale-bg: rgba(77, 127, 255, .15);--badge-success-bg: rgba(34, 197, 94, .15);--badge-pending-bg: rgba(234, 179, 8, .15);--badge-failed-bg: rgba(239, 68, 68, .15);--status-success: #22c55e;--status-pending: #eab308;--status-failed: #ef4444;--status-success-text: #4ade80;--status-pending-text: #facc15;--status-failed-text: #f87171;--prod-status-wtg: #6b7280;--prod-status-rdy: #60a5fa;--prod-status-ip: #eab308;--prod-status-rev: #a78bfa;--prod-status-fix: #38bdf8;--prod-status-ret: #f97316;--prod-status-apr: #22c55e;--prod-status-fin: #16a34a;--prod-status-omt: #4b5563;--prod-status-hold: #94a3b8}[data-theme=light]{color-scheme:light;--bg-base: #f4f5f7;--bg-elevated: #ffffff;--bg-surface: #ffffff;--bg-muted: #f0f2f5;--bg-input: #ffffff;--bg-hover: #eef0f4;--bg-subtle: #f0f2f5;--bg-inset: #eef0f4;--bg-canvas: #e8eaef;--bg-panel: #e4e7ec;--bg-deep: #dfe2e8;--bg-row-unread: #eef2ff;--bg-row-active: #e8edf5;--bg-info: #f0f4ff;--bg-chip: #e8ebf0;--bg-overlay-btn: rgba(0, 0, 0, .55);--bg-overlay-btn-strong: rgba(0, 0, 0, .65);--bg-overlay-media: rgba(0, 0, 0, .6);--bg-help-panel: rgba(255, 255, 255, .95);--bg-tree-hover: rgba(0, 0, 0, .04);--bg-tree-active: rgba(58, 109, 255, .12);--border: #e2e5eb;--border-strong: #d0d4dc;--border-row: #e8eaed;--border-info: #c8d4e8;--border-video-node: #a8bde8;--border-gen-node: #c4b0e0;--border-util-node: #c8cec0;--border-dashed: #c0c6d0;--border-dashed-hover: #9aa0ab;--text-primary: #1a1d24;--text-secondary: #3d4450;--text-muted: #6b7280;--text-faint: #9aa0ab;--text-heading: #111318;--text-on-accent: #fff;--text-card-title: #4b5563;--text-empty: #9aa0ab;--text-star: #9aa0ab;--text-crumb-sep: #9aa0ab;--accent: #3a6dff;--accent-hover: #2563eb;--accent-run: #3a6dff;--accent-muted-bg: #dbeafe;--accent-focus: #3a6dff;--accent-search: #3a6dff;--accent-dot: #3a6dff;--accent-badge-bg: #3a6dff;--link: #2563eb;--link-alt: #2563eb;--section-title: #4b6a8a;--shadow: rgba(0, 0, 0, .12);--shadow-md: rgba(0, 0, 0, .1);--shadow-node: rgba(0, 0, 0, .08);--shadow-menu: rgba(0, 0, 0, .12);--overlay: rgba(0, 0, 0, .35);--overlay-strong: rgba(0, 0, 0, .45);--overlay-sidebar: rgba(0, 0, 0, .35);--danger: #dc2626;--danger-hover: #b91c1c;--danger-text: #dc2626;--danger-text-hover: #b91c1c;--danger-text-soft: #dc2626;--danger-bg: #fef2f2;--danger-bg-strong: #fee2e2;--danger-border: #fecaca;--err-msg: #dc2626;--info-msg: #2563eb;--success-bg: #ecfdf5;--success-border: #a7f3d0;--success-text: #047857;--badge-bg: #e8ebf0;--badge-ok-bg: #dcfce7;--badge-ok-text: #15803d;--badge-err-bg: #fee2e2;--badge-err-text: #dc2626;--badge-wait-bg: #fef9c3;--badge-wait-text: #a16207;--badge-warn-bg: #fef3c7;--badge-warn-text: #b45309;--warning-text: #b45309;--prompt-log-error: #b45309;--btn-secondary: #e2e5eb;--btn-secondary-hover: #d0d4dc;--btn-disabled: #d0d4dc;--btn-upscale: #f0f2f5;--btn-upscale-hover: #e8ebf0;--output-link-bg: #eef0f4;--output-link-hover: #e2e5eb;--avatar-bg: #3b82f6;--node-tag-bg: #dbeafe;--node-tag-text: #2563eb;--node-badge-bg: #dbeafe;--node-badge-text: #1d4ed8;--canvas-grid: #c8cdd6;--canvas-minimap-node: #d0d4dc;--canvas-minimap-mask: rgba(244, 245, 247, .85);--handle-border: #ffffff;--mail-row-gradient: #f0f2f5;--mail-row-action-hover: #e2e5eb;--mail-search-focus: #ffffff;--materials-hover: rgba(0, 0, 0, .04);--toggle-off: #d0d4dc;--logo-accent: #7a4dff;--badge-upscale-bg: rgba(58, 109, 255, .12);--badge-success-bg: rgba(34, 197, 94, .12);--badge-pending-bg: rgba(234, 179, 8, .12);--badge-failed-bg: rgba(239, 68, 68, .12);--status-success: #22c55e;--status-pending: #eab308;--status-failed: #ef4444;--status-success-text: #15803d;--status-pending-text: #a16207;--status-failed-text: #dc2626;--prod-status-wtg: #9ca3af;--prod-status-rdy: #3b82f6;--prod-status-ip: #ca8a04;--prod-status-rev: #7c3aed;--prod-status-fix: #0ea5e9;--prod-status-ret: #ea580c;--prod-status-apr: #16a34a;--prod-status-fin: #15803d;--prod-status-omt: #6b7280;--prod-status-hold: #64748b}.text-muted{color:var(--text-muted)}.text-faint{color:var(--text-faint)}.text-secondary{color:var(--text-secondary)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;max-width:100%;overflow-x:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg-base);color:var(--text-primary)}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}.app{display:flex;flex-direction:column;height:100vh;width:100%;max-width:100%;min-width:0;overflow:hidden;overflow-x:hidden}body.split-dragging{cursor:col-resize!important;-webkit-user-select:none;user-select:none}body.split-dragging *{cursor:col-resize!important}body.nav-mobile-open{overflow:hidden}.main--boards,.main--scenarist{max-width:none;padding:0;overflow:hidden;height:calc(100vh - 56px);box-sizing:border-box}.main--tasks{max-width:none;padding:0;overflow:hidden;height:calc(100vh - 56px);box-sizing:border-box;display:flex;flex-direction:column}.main--tasks>*{max-width:none!important;margin:0!important;flex:1;min-height:0}.topbar{position:relative;flex-shrink:0;display:flex;align-items:center;gap:8px;height:56px;padding:0 20px;background:var(--bg-elevated);border-bottom:1px solid var(--border);z-index:100;min-width:0;overflow:visible}.topbar-brand{display:flex;align-items:center;gap:10px;color:var(--text-primary);text-decoration:none;margin-right:12px;flex-shrink:0}.topbar-brand:hover{text-decoration:none}.topbar-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--accent),var(--logo-accent));color:var(--text-on-accent);font-weight:700;font-size:13px;letter-spacing:.5px}.topbar-brand-text{font-size:15px;font-weight:600;white-space:nowrap}.topbar-nav{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0}.topbar-link{display:inline-flex;align-items:center;gap:4px;padding:7px 12px;border-radius:8px;color:var(--text-muted);font-size:14px;text-decoration:none;white-space:nowrap;background:none;border:none;cursor:pointer;font-family:inherit}.topbar-link:hover{background:var(--bg-hover);color:var(--text-primary);text-decoration:none}.topbar-link.active{background:var(--accent-muted-bg);color:var(--text-on-accent)}.topbar-link--btn svg{transition:transform .15s ease}.topbar-link--btn.open svg{transform:rotate(180deg)}.topbar-dropdown{position:relative}.topbar-dropdown--hover .topbar-menu--generations,.topbar-dropdown--hover .topbar-menu--services,.topbar-dropdown--hover .topbar-menu--admin{display:none}.topbar-dropdown--hover .topbar-menu--generations.topbar-menu--force-open,.topbar-dropdown--hover .topbar-menu--services.topbar-menu--force-open,.topbar-dropdown--hover .topbar-menu--admin.topbar-menu--force-open{display:flex}@media (hover: hover) and (pointer: fine){.topbar-dropdown--hover:after{content:"";position:absolute;left:0;right:0;top:100%;height:10px}.topbar-dropdown--hover:hover .topbar-menu--generations,.topbar-dropdown--hover:focus-within .topbar-menu--generations,.topbar-dropdown--hover:hover .topbar-menu--services,.topbar-dropdown--hover:focus-within .topbar-menu--services,.topbar-dropdown--hover:hover .topbar-menu--admin,.topbar-dropdown--hover:focus-within .topbar-menu--admin{display:flex}.topbar-dropdown--hover:hover .topbar-link--btn svg,.topbar-dropdown--hover:focus-within .topbar-link--btn svg,.topbar-dropdown--hover .topbar-link--btn.open svg{transform:rotate(180deg)}}.topbar-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:200px;background:var(--bg-muted);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 12px 40px var(--shadow);padding:6px;display:flex;flex-direction:column;gap:2px;z-index:1200}.topbar-menu--right{left:auto;right:0;min-width:240px}.topbar-menu-item{display:block;padding:9px 12px;border-radius:7px;color:var(--text-secondary);font-size:14px;text-decoration:none;background:none;border:none;text-align:left;width:100%;cursor:pointer;font-family:inherit}.topbar-menu-item:hover{background:var(--bg-chip);color:var(--text-on-accent);text-decoration:none}.topbar-menu-item.active{background:var(--accent-muted-bg);color:var(--text-on-accent)}.topbar-right{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0;position:relative;z-index:2}.topbar-tokens{font-size:13px;color:var(--text-muted);background:var(--bg-subtle);border:1px solid var(--border);padding:5px 10px;border-radius:16px;white-space:nowrap}.topbar-theme-toggle{display:grid;place-items:center;width:38px;height:38px;background:none;border:1px solid var(--border-strong);border-radius:9px;color:var(--text-primary);cursor:pointer;padding:0;flex-shrink:0}.topbar-theme-toggle:hover{background:var(--bg-hover)}.topbar-bell{position:relative}.topbar-bell-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;line-height:1}.topbar-menu--notifications{width:min(360px,calc(100vw - 24px));max-height:min(70vh,480px);overflow:hidden;display:flex;flex-direction:column;padding:0}.topbar-notif-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}.topbar-notif-list{overflow:auto}.topbar-notif-item{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--border);color:inherit;font:inherit;padding:10px 12px;cursor:pointer}.topbar-notif-item:hover{background:var(--bg-hover)}.topbar-notif-item--unread{background:color-mix(in srgb,var(--accent, #3a6dff) 10%,transparent)}.topbar-notif-title{font-weight:600;font-size:13px}.topbar-notif-body{font-size:12px;color:var(--text-secondary);margin-top:2px}.topbar-notif-time{font-size:11px;color:var(--text-muted, var(--text-secondary));margin-top:4px}.materials-card--pending{opacity:.92;border:1px dashed var(--border-strong)}.materials-grid--pending{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.materials-card--pending-sm .materials-card-body{padding:6px 8px 8px}.materials-card--pending-sm .materials-card-title{font-size:11px;margin-bottom:2px}.topbar-user{display:flex;align-items:center;gap:8px;background:none;border:1px solid transparent;border-radius:20px;padding:4px 10px 4px 4px;color:var(--text-secondary);cursor:pointer;font-family:inherit;font-size:14px}.topbar-user:hover,.topbar-user.open{background:var(--bg-hover)}.topbar-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--avatar-bg);color:var(--text-on-accent);font-size:12px;font-weight:600;flex-shrink:0}.topbar-user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-user-info{padding:8px 12px 10px;border-bottom:1px solid var(--border);margin-bottom:4px}.topbar-user-info-name{font-weight:600;font-size:14px}.topbar-user-info-sub{color:var(--text-muted);font-size:12px;margin-top:2px}.topbar-user-info-tokens{font-size:12px;margin-top:6px;color:var(--text-secondary)}.topbar-logout{color:var(--danger-text)}.topbar-logout:hover{background:var(--danger-bg);color:var(--danger-text-hover)}.topbar-trust-line{color:var(--warning-text);font-weight:500}.topbar-trust-line:hover{background:color-mix(in srgb,var(--warning-text) 16%,transparent);color:var(--warning-text);text-decoration:none}.topbar-trust-line.active{background:color-mix(in srgb,var(--warning-text) 20%,transparent);color:var(--warning-text)}.topbar-mobile-link.topbar-trust-line{color:var(--warning-text)}.topbar-burger{display:none;width:38px;height:38px;place-items:center;background:none;border:1px solid var(--border-strong);border-radius:9px;color:var(--text-primary);cursor:pointer;padding:0}.topbar-burger:hover{background:var(--bg-hover)}.topbar-mobile-backdrop{position:fixed;top:56px;right:0;bottom:0;left:0;background:var(--shadow);border:none;z-index:90}.topbar-mobile{position:absolute;top:100%;left:0;right:0;background:var(--bg-elevated);border-bottom:1px solid var(--border);box-shadow:0 16px 40px var(--shadow);padding:10px;display:flex;flex-direction:column;gap:2px;z-index:95;max-height:calc(100vh - 56px);overflow-y:auto}.topbar-mobile-link{padding:11px 14px;border-radius:8px;color:var(--text-secondary);font-size:15px;text-decoration:none}.topbar-mobile-link:hover,.topbar-mobile-link.active{background:var(--accent-muted-bg);color:var(--text-on-accent);text-decoration:none}.topbar-mobile-label{font-size:11px;color:var(--text-faint);padding:12px 14px 4px;text-transform:uppercase;letter-spacing:.5px}.topbar-mobile-user{margin-top:8px;padding:14px;background:var(--bg-subtle);border-radius:10px;font-size:13px}.topbar-mobile-user button{width:100%;margin-top:10px}.main{flex:1;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:28px 32px;width:100%;max-width:100%}.main:not(.main--canvas):not(.main--generate):not(.main--boards):not(.main--scenarist):not(.main--tasks):not(.main--admin):not(.main--production)>*{max-width:1400px;margin-left:auto;margin-right:auto}.main.main--production>*{width:100%;max-width:none}.studio-main.main--production:not(.studio-main--full-bleed)>*{width:100%;max-width:none}.main.main--admin{padding:0;overflow:hidden;display:flex;flex-direction:column}.main.main--admin>*{max-width:none;margin:0;flex:1;min-height:0;min-width:0}@media (max-width: 1280px){.topbar{padding:0 12px;gap:4px}.topbar-brand{margin-right:4px}.topbar-brand-text,.topbar-user-name{display:none}.topbar-user{padding-right:4px}.topbar-link{padding:7px 8px;font-size:13px}.topbar-right{gap:6px}}@media (max-width: 1100px){.topbar-tokens{display:none}}@media (max-width: 980px){.topbar-nav,.topbar-tokens,.topbar-user-name{display:none}.topbar-burger{display:grid}}h2{margin-top:0}.card{background:var(--bg-surface);border:1px solid var(--border);border-radius:10px;padding:18px;margin-bottom:16px}label{display:block;font-size:13px;color:var(--text-muted);margin:10px 0 6px}input,textarea,select{width:100%;background:var(--bg-input);border:1px solid var(--border-strong);color:var(--text-primary);padding:9px 10px;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .15s ease}textarea{min-height:90px;resize:vertical}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent-hover)}button{background:var(--accent);color:var(--text-on-accent);border:none;padding:9px 14px;border-radius:8px;font-size:14px;cursor:pointer;transition:background .15s ease,opacity .15s ease}button:hover{background:var(--accent-hover)}button:active:not(:disabled){opacity:.85}button:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}button:disabled{background:var(--border-strong);cursor:not-allowed}button.secondary{background:var(--border)}button.secondary:hover{background:var(--btn-secondary-hover)}button.danger{background:var(--danger)}button.danger:hover{background:var(--danger-hover)}button.ghost-danger{background:transparent;border:1px solid var(--border-strong);color:var(--danger-text-soft)}button.ghost-danger:hover{background:transparent;border-color:var(--danger);color:var(--danger-text-soft)}.row{display:flex;gap:12px;align-items:center}.row>*{flex:1}.row-compact{display:flex;gap:8px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;vertical-align:middle;padding:10px 12px;border-bottom:1px solid var(--border)}th{color:var(--text-muted);font-weight:500;font-size:13px}tr:hover td{background:var(--bg-muted)}.badge{display:inline-block;font-size:12px;padding:2px 8px;border-radius:20px;background:var(--border);color:var(--text-secondary)}.badge.ok{background:var(--badge-ok-bg);color:var(--badge-ok-text)}.badge.err{background:var(--badge-err-bg);color:var(--badge-err-text)}.badge.wait{background:var(--badge-wait-bg);color:var(--badge-wait-text)}.badge.backlog{background:var(--bg-elevated);color:var(--text-muted);border:1px solid var(--border)}.err-msg{color:var(--danger-text-soft);margin-top:8px;font-size:13px}.info-msg{color:var(--info-msg);margin-top:8px;font-size:13px}.login-wrap{min-height:100vh;display:grid;place-items:center;background:var(--bg-base)}.login-box{width:360px;background:var(--bg-surface);border:1px solid var(--border);padding:26px;border-radius:12px}.gen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}@media (min-width: 1400px){.gen-grid{grid-template-columns:repeat(4,1fr)}}.gen-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.gen-card--favorite{border-color:var(--accent)}.gen-card video,.gen-card img{width:100%;display:block;background:#000;max-height:320px;object-fit:contain}.gen-card .lazy-media-placeholder img,.gen-card .lazy-media-placeholder video{width:100%;display:block;background:#000;max-height:320px;object-fit:contain}.gen-card .body{padding:14px 16px;font-size:13px}.gen-card .body p{margin:6px 0;color:var(--text-secondary)}.gen-card .body .prompt{color:var(--text-primary);margin-bottom:8px;white-space:pre-wrap;word-break:break-word}.gen-card .card-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.gen-card .label{color:var(--text-muted);font-size:12px}.gen-card .value{color:var(--text-primary);text-align:right;font-size:13px}.gen-card .section{margin-top:14px}.gen-card .section-title{color:var(--section-title);font-size:12px;letter-spacing:.02em;margin-bottom:8px}.gen-card .meta{color:var(--text-faint);font-size:12px}.gen-card .output-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.gen-card .output-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:8px;background:var(--output-link-bg);color:var(--text-secondary);text-decoration:none;font-size:12px;transition:background .2s ease}.gen-card .output-link:hover{background:var(--output-link-hover)}.prompt-log-images{display:flex;flex-wrap:wrap;gap:8px}.prompt-log-image-wrap{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid var(--border-strong)}.prompt-log-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.prompt-log-images img{max-width:120px;max-height:120px;object-fit:cover;border-radius:6px}.prompt-log-errors{margin:0;padding-left:18px;color:var(--prompt-log-error);font-size:13px}.gen-card .preview-box{padding:16px;background:var(--bg-input);border:1px solid var(--border);color:var(--text-faint);border-radius:8px}.media-preview{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.media-preview .item{position:relative;width:96px;height:96px;border-radius:6px;overflow:hidden;border:1px solid var(--border-strong)}.media-preview-index{position:absolute;left:4px;bottom:4px;min-width:18px;height:18px;padding:0 4px;border-radius:4px;background:var(--bg-overlay-btn-strong);color:var(--text-on-accent);font-size:11px;font-weight:600;line-height:18px;text-align:center;pointer-events:none}.media-preview img,.media-preview video{width:100%;height:100%;object-fit:cover}.media-preview .item .remove{position:absolute;top:2px;right:2px;background:var(--bg-overlay-media);padding:2px 6px;border-radius:4px;font-size:11px;cursor:pointer;color:var(--text-on-accent)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px}.stat{background:var(--bg-surface);border:1px solid var(--border);border-radius:10px;padding:14px}.stat .label{color:var(--text-muted);font-size:12px}.stat .value{font-size:22px;font-weight:600;margin-top:4px}.stats-grid--compact .stat .value{font-size:18px}.stats-custom-range{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:20px}.stats-custom-range label,.stats-custom-range>button{margin:0}.stats-custom-range label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-muted)}.stats-custom-range label span{line-height:1.2;min-height:14px}.stats-custom-range input[type=date]{width:auto;min-width:150px;height:38px;box-sizing:border-box}.stats-custom-range>button{height:38px;box-sizing:border-box;padding-top:0;padding-bottom:0;white-space:nowrap;align-self:flex-end}.stats-chart-scroll{overflow-x:auto;overflow-y:visible;margin:0 -4px;padding:0 4px}.stats-chart{display:flex;align-items:flex-end;gap:6px;min-height:200px;padding:0 4px;overflow:visible}.stats-chart-bar-wrap{flex:1;min-width:48px;max-width:80px;display:flex;flex-direction:column;align-items:center;height:140px;position:relative;overflow:visible}.stats-chart-tooltip{padding:8px 10px;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:8px;box-shadow:0 8px 24px var(--shadow);font-size:12px;line-height:1.4;pointer-events:none;text-align:left;box-sizing:border-box}.stats-chart-tooltip--fixed{position:fixed;display:block;transform:translateY(-100%);z-index:1000;min-width:180px;max-width:260px}.stats-chart-tooltip--fixed.stats-chart-tooltip--below{transform:none}.stats-chart-tooltip-title{font-weight:600;margin-bottom:6px;color:var(--text-primary)}.stats-chart-tooltip-list{margin:0;padding:0;list-style:none;max-height:180px;overflow-y:auto}.stats-chart-tooltip-list li{display:flex;justify-content:space-between;gap:12px;color:var(--text-muted)}.stats-chart-tooltip-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.stats-chart-tooltip-list li+li{margin-top:4px}.stats-chart-tooltip-list strong{color:var(--text-primary);font-weight:600}.stats-chart-tooltip-empty{color:var(--text-faint);font-style:italic}.stats-chart-bar{width:100%;margin-top:auto;background:linear-gradient(180deg,var(--accent-hover),var(--accent));border-radius:4px 4px 0 0;min-height:4px}.stats-chart-label{font-size:10px;color:var(--text-faint);margin-top:6px;text-align:center;line-height:1.2;word-break:break-word}.stats-table-wrap{overflow-x:auto}.stats-users-table{width:100%;border-collapse:collapse;font-size:14px}.stats-users-table th,.stats-users-table td{padding:10px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--border)}.stats-users-table th{color:var(--text-muted);font-weight:600;font-size:12px;white-space:nowrap;vertical-align:bottom}.stats-users-table .th-num,.stats-users-table .td-num{text-align:right;font-variant-numeric:tabular-nums}.stats-users-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none}.sortable-th:hover{color:var(--text)}.sortable-th--active{color:var(--accent)}.stat .stat-sub{margin-top:4px;font-size:11px;color:var(--text-faint);line-height:1.3}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.page-head h2{margin:0}.sjinn-keys-list{display:flex;flex-direction:column;gap:12px}.sjinn-key-card{margin:0}.sjinn-key-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.sjinn-key-user{font-size:15px;font-weight:600}.sjinn-key-balance{text-align:right}.sjinn-key-balance .label{color:var(--text-muted);font-size:12px}.sjinn-key-balance .value{font-size:20px;font-weight:600}.sjinn-ops-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}.sjinn-ops-table th,.sjinn-ops-table td{padding:6px 10px;text-align:left;border-bottom:1px solid var(--border)}.sjinn-ops-table th{color:var(--text-muted);font-weight:600;font-size:12px}.sjinn-ops-table .th-num,.sjinn-ops-table .td-num{text-align:right;font-variant-numeric:tabular-nums}.employee-filter{position:relative;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.employee-filter-trigger{display:inline-flex;align-items:center;gap:8px;background:var(--bg-surface);border:1px solid var(--border);color:var(--text);border-radius:8px;padding:7px 12px;font-size:13px;cursor:pointer}.employee-filter-trigger:hover{border-color:var(--accent)}.employee-filter-trigger--active{border-color:var(--accent);color:var(--accent)}.employee-filter-caret{font-size:10px;opacity:.7}.employee-filter-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:min(340px,90vw);padding:10px;margin:0;box-shadow:0 8px 28px #00000040}.employee-filter-search{width:100%;margin-bottom:8px}.employee-filter-list{max-height:280px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.employee-filter-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:none;border:none;border-radius:6px;padding:7px 10px;font-size:13px;color:var(--text);text-align:left;cursor:pointer}.employee-filter-item:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}.employee-filter-item.active{background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent)}.employee-filter-email{display:block;font-size:11px;color:var(--text-muted)}.employee-filter-count{font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.employee-filter-empty{padding:8px 10px;font-size:13px}.ref-thumbs{display:flex;flex-wrap:wrap;gap:6px}.ref-thumb{position:relative;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--bg-surface);text-decoration:none}.ref-thumb img,.ref-thumb video{width:100%;height:100%;object-fit:cover;display:block}.ref-thumb-audio{font-size:22px}.ref-thumb-index{position:absolute;bottom:2px;right:2px;font-size:10px;line-height:1;padding:2px 4px;border-radius:4px;background:#0009;color:#fff}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:18px}.tabs button{background:transparent;color:var(--text-muted);border-radius:0;border-bottom:2px solid transparent;padding:10px 14px}.tabs button.active{color:var(--text-on-accent);border-bottom-color:var(--accent)}pre.json{background:var(--bg-input);border:1px solid var(--border);padding:10px;border-radius:6px;font-size:12px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}code{display:inline-block;background:var(--bg-input);border:1px solid var(--border);padding:3px 7px;border-radius:6px;color:var(--text-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.card-toolbar{display:flex;justify-content:space-between}.status-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:18px}.team-filter-toggle{display:inline-flex;align-items:center;gap:8px;width:auto;margin:0;cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--text-primary)}.team-filter-toggle input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0;padding:0;flex-shrink:0;cursor:inherit}.team-filter-toggle--disabled{cursor:not-allowed;opacity:.6}.filter-label{color:var(--text-muted);font-size:13px;min-width:120px}.filter-buttons{display:flex;flex-wrap:wrap;gap:10px}.user-filter-link{background:none;border:none;padding:0;color:var(--link-alt);cursor:pointer;font:inherit;text-align:left}.user-filter-link:hover{text-decoration:underline}.employee-filter-hint{width:100%;margin:4px 0 0;color:var(--text-muted);font-size:13px}.logs-refreshing{color:var(--text-faint);font-style:italic}.status-button{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;border:1px solid var(--border-strong);background:var(--bg-inset);color:var(--text-secondary);font-size:12px;cursor:pointer;transition:background .2s ease,border-color .2s ease}.status-button:hover{background:var(--bg-panel)}.status-button.active{background:var(--accent);border-color:var(--accent);color:var(--text-on-accent)}.card-toolbar h3{margin:0 0 4px}.card-toolbar p{margin:0;color:var(--text-muted);font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:var(--overlay-strong)}.modal{width:min(520px,100%);max-height:calc(100vh - 40px);overflow-y:auto;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:12px;padding:18px;box-shadow:0 24px 70px var(--shadow-md)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.modal-header h3{margin:0}.modal-header button{padding:6px 11px}.spacer{height:12px}.council-settings{margin-top:14px;padding:14px;background:var(--bg-input);border:1px solid var(--border-strong);border-radius:8px;display:grid;gap:10px}.council-roster-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px}.council-roster-role{font-weight:600}.council-roster-model{color:var(--text-muted, #888);text-align:right}.prompt-result-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}.prompt-result-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prompt-output{background:var(--bg-input);border:1px solid var(--border-strong);border-radius:8px;padding:14px;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.55;max-height:480px;overflow:auto;margin:0}.prompt-warnings{margin-top:12px;font-size:12px;color:var(--badge-warn-text)}.prompt-drafts{margin-top:16px;font-size:13px}.prompt-drafts summary{cursor:pointer;color:var(--text-muted);-webkit-user-select:none;user-select:none}.draft-block{margin-top:10px}.draft-label{font-size:12px;color:var(--text-faint);margin-bottom:4px}.draft-block pre{background:var(--bg-input);border:1px solid var(--border);border-radius:6px;padding:10px;font-size:12px;white-space:pre-wrap;max-height:200px;overflow:auto;margin:0}.badge.warn{background:var(--badge-warn-bg);color:var(--badge-warn-text)}.admin-vpn{padding-bottom:32px}.admin-vpn .vpn-sub-row{display:flex;gap:10px;align-items:stretch}.admin-vpn .vpn-sub-row input{flex:1}.vpn-group summary{cursor:pointer;list-style:none}.vpn-group summary::-webkit-details-marker{display:none}.vpn-group-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.vpn-group-meta{display:block;font-size:12px;color:var(--text-muted);font-weight:400;margin-top:4px}.vpn-group-btns{display:flex;gap:8px;flex-wrap:wrap}.vpn-source{font-size:12px;word-break:break-all;margin:0 0 12px;color:var(--text-muted)}.vpn-key-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid var(--border)}.vpn-key-row--off{opacity:.55}.vpn-key-meta{flex:1;min-width:0}.vpn-key-meta strong{display:block;margin-bottom:4px}.vpn-uri{display:block;font-size:11px;color:var(--text-muted);word-break:break-all;white-space:pre-wrap}.vpn-key-actions{display:flex;gap:8px;flex-shrink:0}.vpn-empty{color:var(--text-muted);font-size:13px;margin:0}.vpn-disabled-block{margin-top:12px;font-size:13px}.vpn-disabled-block summary{cursor:pointer;color:var(--text-muted)}.vpn-auto-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding:10px 12px;background:var(--success-bg);border:1px solid var(--success-border);border-radius:8px;color:var(--success-text);font-size:13px}.vpn-auto-toggle{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--text-secondary);cursor:pointer}.vpn-auto-toggle input{width:auto;margin:0;cursor:pointer}.vpn-refresh-status{font-size:12px;color:var(--text-muted);margin:0 0 12px}.vpn-refresh-err{color:var(--danger-text)}.main--canvas{max-width:none;padding:0;overflow:hidden}.workspace-page,.canvas-page,.wf-shell{height:100%;display:flex;flex-direction:column}.wf-toolbar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:var(--bg-inset);border-bottom:1px solid var(--border);flex-shrink:0;flex-wrap:wrap}.wf-toolbar>button,.wf-toolbar>select,.wf-toolbar>input{height:34px;padding-top:0;padding-bottom:0}.wf-title-input{width:220px;max-width:40vw;background:transparent;border:1px solid var(--border-strong);font-weight:600}.wf-title-input:hover:not(:disabled){border-color:var(--accent-hover)}.wf-board-select{min-width:180px;max-width:280px;background:var(--bg-input);border:1px solid var(--border-strong);font-size:13px;padding:6px 10px}.wf-readonly-badge{font-size:11px;padding:4px 10px;border-radius:999px;background:var(--node-badge-bg);color:var(--node-badge-text);flex-shrink:0}.wf-save-status{font-size:12px;color:var(--text-faint);flex-shrink:0}.wf-toolbar-hint{color:var(--text-faint);font-size:12px;flex:1;min-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-toolbar-btn{flex-shrink:0}.wf-shell .react-flow{flex:1;background:var(--bg-canvas)}.wf-node{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:12px;box-shadow:0 8px 28px var(--shadow-node);font-size:13px;position:relative}.wf-node .react-flow__resize-control.handle{width:8px;height:8px;border-radius:2px;background:var(--accent);border:1px solid var(--bg-surface)}.wf-node--video-gen{min-width:260px;border-color:var(--border-video-node)}.wf-node--placeholder{opacity:.72;border-style:dashed}.wf-node-header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);cursor:grab;flex-shrink:0}.wf-node-header:active{cursor:grabbing}.wf-node-icon{width:22px;text-align:center;flex-shrink:0}.wf-node-title{font-weight:600;flex:1}.wf-node-tag{font-size:11px;padding:2px 7px;border-radius:999px;background:var(--node-tag-bg);color:var(--node-tag-text)}.wf-node-badge{font-size:10px;padding:2px 6px;border-radius:4px;background:var(--node-badge-bg);color:var(--node-badge-text)}.wf-node-body{flex:1 1 auto;min-height:0;padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px;overflow:hidden}.wf-textarea{min-height:64px;width:100%;resize:none;background:var(--bg-input);border:1px solid var(--border-strong);color:var(--text-primary);border-radius:8px;padding:8px;font-size:12px;font-family:inherit;box-sizing:border-box}.wf-textarea--fill{flex:1 1 auto;min-height:64px;height:0}.wf-upload-btn,.wf-run-btn{width:100%}.wf-run-btn{margin-top:8px;background:var(--accent-run);flex-shrink:0}.wf-toolbar .wf-run-btn{margin-top:0;width:auto}.wf-mini-btn{position:absolute;top:4px;right:4px;padding:2px 7px;font-size:12px;background:var(--bg-overlay-btn)}.wf-media-preview{position:relative;border-radius:8px;overflow:hidden;border:1px solid var(--border-strong);background:var(--bg-input)}.wf-media-preview img,.wf-media-preview video{display:block;width:100%;max-height:120px;object-fit:cover}.wf-media-preview--fill{flex:1 1 auto;min-height:80px;display:flex;align-items:center;justify-content:center}.wf-media-preview--fill img,.wf-media-preview--fill video{max-height:100%;height:auto;width:100%;object-fit:contain}.wf-audio-label{padding:16px 10px;font-size:12px}.wf-params{display:grid;gap:8px}.wf-params label{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:8px;margin:0;font-size:12px}.wf-params input,.wf-params select{padding:6px 8px;font-size:12px}.wf-credits{margin-top:8px;font-size:12px;color:var(--text-muted)}.wf-node-info{margin-top:8px;font-size:12px;color:var(--info-msg)}.wf-node-err{margin-top:8px;font-size:12px;color:var(--danger-text-soft)}.wf-node-body--scroll{overflow-y:auto}.wf-output-block{margin-top:4px;padding-top:8px;border-top:1px solid var(--border);flex:1 1 40%;min-height:72px;display:flex;flex-direction:column;overflow:hidden}.wf-output-label{font-size:11px;font-weight:600;color:var(--text-muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.wf-output-text{font-size:12px;line-height:1.5;color:var(--text-primary);white-space:pre-wrap;word-break:break-word;overflow-y:auto;background:var(--bg-input);border:1px solid var(--border-strong);border-radius:8px;padding:8px;flex:1 1 auto;min-height:64px;height:0}.wf-placeholder-text{margin:0;font-size:12px;color:var(--text-faint);line-height:1.45}.wf-output{margin-top:10px}.wf-output video{width:100%;border-radius:8px;background:#000}.wf-output a{display:inline-block;margin-top:6px;font-size:12px}.wf-handle{width:10px!important;height:10px!important;background:var(--accent-hover)!important;border:2px solid var(--bg-surface)!important;z-index:2}.wf-handle--wide{top:50%!important}.wf-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90}.wf-add-menu.wf-add-menu--sjinn{position:fixed;z-index:100;min-width:220px;max-height:80vh;overflow:auto;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 8px 32px var(--shadow-menu);padding:6px;color:var(--text-primary)}.wf-add-menu.wf-add-menu--sjinn .wf-add-menu-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;color:var(--text-primary);padding:10px 12px;border-radius:8px;font-size:14px;font-weight:450}.wf-add-menu.wf-add-menu--sjinn .wf-add-menu-item:hover{background:var(--bg-hover)}.wf-add-menu-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:6px;font-size:13px;flex-shrink:0}.wf-icon-text{background:#e8f0fe;color:#1a73e8}.wf-icon-image{background:#fce8e6;color:#d93025}.wf-icon-audio{background:#fef7e0;color:#f9ab00}.wf-icon-video{background:#e6f4ea;color:#188038}.wf-icon-gen{background:#f3e8fd;color:#9334e6}.wf-icon-vidgen{background:#e8f0fe;color:#1a73e8}.wf-icon-util{background:#f1f3f4;color:#5f6368}.wf-add-menu-label{flex:1}.wf-add-menu-divider{padding:8px 12px 4px;font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.wf-node-menu{min-width:180px}.wf-node-menu-title{padding:8px 12px 4px;font-size:12px;font-weight:600;color:var(--text-muted);border-bottom:1px solid var(--border-strong);margin-bottom:4px}.wf-add-menu-item--danger{color:var(--danger-text)}.wf-add-menu-item--danger:hover{background:var(--danger-bg)}.wf-icon-danger{background:#fce8e6;color:#c5221f}.wf-drop-active{outline:2px dashed var(--accent-hover);outline-offset:-4px}.wf-canvas-wrap.wf-drop-active{background:color-mix(in srgb,var(--accent) 12%,transparent);outline:2px dashed var(--accent-hover);outline-offset:-3px}.wf-media-preview--canvas img,.wf-media-preview--canvas video{max-height:240px;object-fit:contain}.wf-media-preview--canvas.wf-media-preview--fill{max-height:none}.wf-media-preview--canvas.wf-media-preview--fill img,.wf-media-preview--canvas.wf-media-preview--fill video{max-height:100%;height:auto;width:100%;object-fit:contain}.wf-node--answer{min-width:240px;max-width:360px;border-color:var(--border-gen-node)}.wf-node--director-note{min-width:200px;max-width:360px;background:color-mix(in srgb,#fef7a0 85%,var(--bg-surface));border-color:#e6d96a}.wf-node--director-media{min-width:260px;max-width:420px}.wf-media-preview--director img,.wf-media-preview--director video{max-height:240px;object-fit:contain}.wf-textarea--note{min-height:120px;resize:none;flex:1 1 auto;height:0}.wf-textarea--sm{min-height:48px;margin-top:8px}.wf-copy-btn{width:100%;margin-top:6px;font-size:12px}.wf-answer-actions{display:flex;gap:6px;margin-top:8px}.wf-answer-btn{flex:1;font-size:12px;padding:7px 10px}.wf-pipeline-status{font-size:12px;color:var(--info-msg);flex-shrink:0}.wf-pipeline-err{font-size:12px;color:var(--danger-text-soft);flex-shrink:0;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wf-toolbar-btn--run{width:auto;flex-shrink:0;padding:6px 14px}.wf-canvas-wrap{flex:1;min-height:0;position:relative}.wf-empty-hint{pointer-events:none;color:#6b7280;font-size:15px;margin-top:40vh;background:transparent!important;border:none!important;box-shadow:none!important}.wf-check{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted);margin:8px 0}.wf-check input{width:auto}.wf-hint{margin:0 0 8px;font-size:11px;color:var(--text-faint);line-height:1.4}.wf-textarea--sm{min-height:56px}.wf-params--inline{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.wf-node--gen{border-color:var(--border-gen-node)}.wf-node--util{border-color:var(--border-util-node)}.wf-add-menu{position:fixed;z-index:100;min-width:240px;max-height:70vh;overflow:auto;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:12px;box-shadow:0 16px 48px var(--shadow);padding:8px}.wf-add-menu-title{font-size:12px;color:var(--text-muted);padding:6px 10px 8px;font-weight:600}.wf-add-menu-group-title{font-size:11px;color:var(--text-faint);padding:8px 10px 4px;text-transform:uppercase;letter-spacing:.04em}.wf-add-menu-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;color:var(--text-primary);padding:9px 10px;border-radius:8px}.wf-add-menu-item:hover{background:var(--bg-chip)}.wf-add-menu-icon{width:22px;text-align:center}.wf-add-menu-soon{margin-left:auto;font-size:10px;color:var(--text-faint)}.wf-help-panel{font-size:12px;color:var(--text-muted);background:var(--bg-help-panel);border:1px solid var(--border-strong);border-radius:8px;padding:8px 12px;margin:12px}.react-flow__controls button{background:var(--bg-surface);border-color:var(--border-strong);color:var(--text-secondary)}.react-flow__controls button:hover{background:var(--bg-chip)}.react-flow__minimap{background:var(--bg-inset);border:1px solid var(--border-strong)}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:var(--accent-hover);stroke-width:2.5}.react-flow__edge:hover .react-flow__edge-path{stroke:var(--accent)}.react-flow__edgeupdater{fill:var(--accent);stroke:var(--bg-surface);stroke-width:2}.mail-app{display:flex;flex-direction:column;height:100%;min-height:0}.mail-view-tabs{display:flex;gap:4px;margin-bottom:12px;border-bottom:1px solid var(--border)}.mail-view-tabs a{color:var(--text-muted);text-decoration:none;padding:8px 12px 10px;border-bottom:2px solid transparent;font-size:13px;font-weight:600}.mail-view-tabs a:hover{color:var(--text-primary)}.mail-view-tabs a.active{color:var(--link);border-bottom-color:var(--link)}.mail-topbar{display:flex;align-items:center;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}.mail-brand{display:flex;align-items:center;gap:10px;color:var(--link)}.mail-brand-title{font-size:16px;font-weight:600;color:var(--text-primary)}.mail-brand-sub{font-size:12px;color:var(--text-muted)}.mail-search{position:relative;flex:1;max-width:560px;display:flex;align-items:center}.mail-search input{width:100%;background:var(--bg-subtle);border:1px solid var(--border-strong);border-radius:22px;padding:9px 38px;color:var(--text-primary);font-size:14px}.mail-search input:focus{outline:none;border-color:var(--accent-search);background:var(--mail-search-focus)}.mail-search-icon{position:absolute;left:10px;background:none;border:none;color:var(--text-muted);display:grid;place-items:center;cursor:pointer;padding:0}.mail-search-clear{position:absolute;right:8px;background:none;border:none;color:var(--text-muted);display:grid;place-items:center;cursor:pointer;padding:4px}.mail-search-clear:hover{color:var(--text-on-accent)}.mail-icon-btn{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--text-secondary);cursor:pointer;padding:0}.mail-icon-btn:hover{background:var(--bg-chip);color:var(--text-on-accent)}.mail-icon-btn--danger:hover{background:var(--danger-bg);color:var(--danger-text-hover)}.mail-flash{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--success-bg);border:1px solid var(--success-border);color:var(--success-text);padding:9px 14px;border-radius:8px;font-size:13px}.mail-flash--err{background:var(--danger-bg-strong);border-color:var(--danger-border);color:var(--danger-text)}.mail-flash button{background:none;border:none;color:inherit;cursor:pointer;display:grid;place-items:center}.mail-body{flex:1;min-height:0;display:grid;grid-template-columns:220px 1fr;gap:16px;padding-top:16px}.mail-sidebar{display:flex;flex-direction:column;gap:14px;min-height:0}.mail-compose-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;border-radius:24px;font-size:14px;font-weight:600}.mail-folder-list{display:flex;flex-direction:column;gap:2px;overflow-y:auto}.mail-folder{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:none;color:var(--text-secondary);padding:10px 14px;border-radius:0 18px 18px 0;cursor:pointer;font-size:14px}.mail-folder:hover{background:var(--bg-muted)}.mail-folder.active{background:var(--accent-muted-bg);color:var(--text-on-accent);font-weight:600}.mail-folder-icon{display:grid;place-items:center;color:inherit}.mail-folder-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-folder-badge{background:var(--accent-badge-bg);color:var(--text-on-accent);font-size:11px;font-weight:600;border-radius:10px;padding:1px 7px;min-width:20px;text-align:center}.mail-admin-sidebar-title{padding:0 14px;color:var(--text-muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.mail-admin-user-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--bg-chip);color:var(--text-secondary);font-size:10px;font-weight:700}.mail-folder-name small{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--text-muted);font-size:10px;font-weight:400}.mail-main{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:16px}.mail-list{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;overflow:hidden;min-height:0}.mail-list-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border);font-size:13px}.mail-list-title{font-weight:600}.mail-list-count{color:var(--text-muted)}.mail-items{overflow-y:auto;flex:1}.mail-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border-row);cursor:pointer;position:relative}.mail-row:hover{background:var(--bg-muted)}.mail-row.active{background:var(--bg-row-active)}.mail-row.unread{background:var(--bg-row-unread)}.mail-row.unread .mail-row-from,.mail-row.unread .mail-row-subject{color:var(--text-on-accent);font-weight:600}.mail-row.unread:before{content:"";position:absolute;left:4px;top:50%;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background:var(--accent-dot)}.mail-star{background:none;border:none;color:var(--text-star);cursor:pointer;display:grid;place-items:center;padding:0;flex-shrink:0}.mail-star:hover{color:#f5c518}.mail-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--text-on-accent);font-size:13px;font-weight:600;flex-shrink:0}.mail-avatar--lg{width:42px;height:42px;font-size:15px}.mail-row-main{flex:1;min-width:0}.mail-row-top{display:flex;justify-content:space-between;gap:8px}.mail-row-from{font-size:14px;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row-date{font-size:12px;color:var(--text-muted);white-space:nowrap;flex-shrink:0}.mail-row-bottom{display:flex;align-items:center;gap:6px;margin-top:2px}.mail-row-subject{font-size:13px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.mail-row-clip{color:var(--text-muted);display:grid;place-items:center;flex-shrink:0}.mail-admin-row{min-height:76px}.mail-admin-owner{margin-top:5px;overflow:hidden;color:var(--link);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mail-row-actions{display:none;gap:2px;position:absolute;right:10px;background:linear-gradient(90deg,transparent,var(--bg-muted) 24%);padding-left:24px}.mail-row:hover .mail-row-actions{display:flex}.mail-row-actions button{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:6px;border-radius:6px;display:grid;place-items:center}.mail-row-actions button:hover{background:var(--mail-row-action-hover);color:var(--text-on-accent)}.mail-row-actions button:disabled{opacity:.45;cursor:wait}.mail-load-more{width:100%;background:transparent;border:none;border-top:1px solid var(--border);color:var(--link);padding:12px;cursor:pointer;font-size:13px}.mail-load-more:hover{background:var(--bg-muted)}.mail-reading{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;overflow:hidden;min-height:0}.mail-empty{padding:24px 16px;color:var(--text-muted);font-size:14px}.mail-empty--center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-empty)}.mail-reading-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border)}.mail-reading-subject{margin:0;font-size:17px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-reading-tools{display:flex;gap:2px;flex-shrink:0}.mail-back{display:none}.mail-admin-reading-owner{padding:9px 16px;border-bottom:1px solid var(--border);background:var(--bg-subtle);color:var(--text-secondary);font-size:12px}.mail-reading-meta{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.mail-reading-meta-text{flex:1;min-width:0}.mail-reading-from{font-size:14px}.mail-reading-email{color:var(--text-muted);font-size:13px}.mail-reading-to{font-size:12px;color:var(--text-muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-reading-date{font-size:12px;color:var(--text-muted);white-space:nowrap;flex-shrink:0}.mail-reading-body{padding:16px;overflow:auto;flex:1}.mail-text{white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:14px;margin:0;color:var(--text-primary)}.mail-html-frame{width:100%;min-height:320px;border:1px solid var(--border);border-radius:8px;background:var(--text-on-accent)}.mail-attachments{margin-top:18px;border-top:1px solid var(--border);padding-top:14px}.mail-attachments-title{font-size:13px;color:var(--text-muted);margin-bottom:8px}.mail-attachments-grid{display:flex;flex-wrap:wrap;gap:8px}.mail-attachment{display:flex;align-items:center;gap:8px;background:var(--bg-subtle);border:1px solid var(--border-strong);color:var(--text-secondary);padding:8px 12px;border-radius:8px;font-size:13px;cursor:pointer;max-width:240px}.mail-attachment:hover{background:var(--bg-chip);color:var(--text-on-accent)}.mail-attachment:disabled{opacity:.6;cursor:default}.mail-attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-attachment-size{color:var(--text-muted);font-size:12px;flex-shrink:0}.mail-reading-foot{display:flex;gap:8px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid var(--border)}.mail-reading-foot button{display:inline-flex;align-items:center;gap:6px}.mail-compose{width:min(680px,94vw)}.mail-field{margin-bottom:4px;position:relative}.mail-field label{font-size:12px;color:var(--text-muted)}.mail-field-toggles{position:absolute;right:0;top:0;display:flex;gap:8px}.mail-field-toggles button{background:none;border:none;color:var(--link);font-size:12px;cursor:pointer;padding:0}.mail-compose-body{width:100%;min-height:220px;margin-top:8px;resize:vertical}.mail-attach-add{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--link);font-size:13px;cursor:pointer}.mail-compose-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.mail-compose-file{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary);background:var(--bg-subtle);padding:5px 10px;border-radius:6px}.mail-compose-file-size{color:var(--text-muted);font-size:12px}.mail-compose-file button{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:0 2px;font-size:16px;line-height:1}.mail-compose-file button:hover{color:var(--text-on-accent)}.mail-compose-foot{display:flex;gap:10px;margin-top:16px}@media (max-width: 1100px){.mail-main{grid-template-columns:1fr}.mail-main--reading .mail-list{display:none}.mail-main:not(.mail-main--reading) .mail-reading{display:none}.mail-back{display:grid}}@media (max-width: 768px){.mail-body{grid-template-columns:1fr}.mail-sidebar{flex-direction:row;align-items:center;gap:8px;overflow-x:auto}.mail-compose-btn{width:auto;padding:10px 16px;white-space:nowrap}.mail-folder-list{flex-direction:row}.mail-folder{border-radius:18px;padding:8px 12px;white-space:nowrap}.mail-folder-name{display:none}.mail-folder.active .mail-folder-name{display:inline}.mail-admin-sidebar-title,.mail-admin-sidebar .mail-folder-name small{display:none}.mail-topbar{flex-wrap:wrap}}.main--generate{max-width:100%;padding:20px 24px 24px;overflow:hidden;overflow-x:hidden;height:calc(100vh - 56px);box-sizing:border-box}.gen-page{display:flex;max-width:min(1520px,100%);margin:0 auto;gap:16px;height:100%;min-height:0;background:transparent;min-width:0;width:100%;overflow-x:hidden}.gen-sidebar{flex-shrink:0;overflow-y:auto;overflow-x:hidden;padding:24px 24px 32px;background:var(--bg-canvas);border:1px solid var(--border);border-radius:12px;min-width:0;height:100%;min-height:0}.gen-split-handle{flex-shrink:0;width:6px;margin:0 -1px;cursor:col-resize;background:transparent;position:relative;z-index:2;transition:background .15s}.gen-split-handle:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;transform:translate(-50%);background:var(--border);transition:background .15s,width .15s}.gen-split-handle:hover:after,body.split-dragging .gen-split-handle:after{background:var(--accent-hover);width:2px}.gen-page-title{font-size:22px;font-weight:700;margin:0 0 24px;color:var(--text-heading);line-height:1.3}.gen-form{display:flex;flex-direction:column;gap:18px}.gen-field{display:flex;flex-direction:column;gap:8px}.gen-label{font-size:14px;font-weight:600;color:var(--text-primary);margin:0}.gen-label--lowercase{text-transform:lowercase;font-weight:600}.gen-field-hint{margin:0;font-size:12px;color:var(--text-faint);line-height:1.45}.gen-select-wrap{position:relative}.gen-select-wrap:after{content:"";position:absolute;right:14px;top:50%;transform:translateY(-50%);border:5px solid transparent;border-top-color:var(--text-muted);pointer-events:none}.gen-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;background:var(--bg-surface);border:1px solid var(--border-strong);color:var(--text-primary);padding:11px 36px 11px 14px;border-radius:8px;font-size:14px;cursor:pointer}.gen-select:focus{outline:none;border-color:var(--accent-hover)}.gen-textarea-wrap{position:relative}.gen-textarea{width:100%;min-height:120px;background:var(--bg-surface);border:1px solid var(--border-strong);color:var(--text-primary);padding:12px 36px 28px 14px;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;line-height:1.5}.gen-textarea:focus{outline:none;border-color:var(--accent-hover)}.gen-char-count{position:absolute;right:12px;bottom:10px;font-size:12px;color:var(--text-faint);pointer-events:none}.gen-textarea-clear{position:absolute;top:8px;right:8px;width:24px;height:24px;padding:0;border:none;border-radius:6px;background:var(--bg-overlay-btn-strong);color:var(--text-on-accent);font-size:16px;line-height:1;cursor:pointer}.gen-textarea-clear:hover{opacity:.9}.collapsible-prompt__text.collapsible-prompt--clamped{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.collapsible-prompt__toggle{margin-top:6px;padding:4px 10px;font-size:12px}.ref-upload-input{display:none}.ref-upload-previews{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.ref-upload-preview{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid var(--border-strong)}.ref-upload-preview--oversized,.media-preview .item.media-preview-item--oversized{border-color:transparent;overflow:visible;box-shadow:0 0 0 1px #dc3c3c8c,0 0 10px 2px #dc3c3c73}.ref-upload-preview--oversized:hover:after,.media-preview .item.media-preview-item--oversized:hover:after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);z-index:20;width:max-content;max-width:220px;padding:6px 8px;border-radius:6px;background:#1c0c0cf2;color:#ffd0d0;font-size:11px;line-height:1.3;pointer-events:none;white-space:normal;text-align:center;box-shadow:0 4px 16px #00000059}.ref-upload-preview img,.ref-upload-preview video{width:100%;height:100%;object-fit:cover}.ref-upload-audio{width:100%;height:100%;display:grid;place-items:center;background:var(--bg-surface);font-size:24px}.ref-upload-remove{position:absolute;top:2px;right:2px;width:20px;height:20px;padding:0;border:none;border-radius:4px;background:var(--bg-overlay-btn-strong);color:var(--text-on-accent);font-size:14px;line-height:1;cursor:pointer}.ref-upload-index{position:absolute;left:4px;bottom:4px;min-width:18px;height:18px;padding:0 4px;border-radius:4px;background:var(--bg-overlay-btn-strong);color:var(--text-on-accent);font-size:11px;font-weight:600;line-height:18px;text-align:center;pointer-events:none}.ref-upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100px;height:100px;background:transparent;border:1.5px dashed var(--border-dashed);border-radius:10px;color:var(--text-muted);cursor:pointer;padding:8px;transition:border-color .15s,color .15s}.ref-upload-box:hover:not(:disabled){border-color:var(--border-dashed-hover);color:var(--text-secondary)}.ref-upload-box--wide{width:100%;height:80px;flex-direction:row;gap:8px}.ref-upload-box:disabled{opacity:.5;cursor:not-allowed}.ref-upload-plus{font-size:22px;font-weight:300;line-height:1;color:var(--text-faint)}.ref-upload-label{font-size:13px}.ref-upload-format{font-size:11px;color:var(--text-faint)}.ref-upload-counter{font-size:12px;color:var(--text-faint);margin-top:6px}.ref-upload-hint{font-size:11px;color:var(--text-faint);margin-top:4px}.ref-upload{outline:none;border-radius:8px;transition:box-shadow .15s,background .15s}.ref-upload:focus-visible{box-shadow:0 0 0 2px var(--accent)}.ref-upload--drop-active{background:var(--bg-tree-active);box-shadow:inset 0 0 0 2px var(--accent)}.ref-upload-preview--reorderable{cursor:grab;touch-action:none}.ref-upload-preview--reorderable:active{cursor:grabbing}.ref-upload-preview--drag-over{box-shadow:0 0 0 2px var(--accent);transform:scale(1.04)}.media-upload{outline:none;border-radius:8px;padding:4px;margin:-4px;transition:box-shadow .15s,background .15s}.media-upload:focus-visible{box-shadow:0 0 0 2px var(--accent)}.media-upload--drop-active{background:var(--bg-tree-active);box-shadow:inset 0 0 0 2px var(--accent)}.media-preview-item--reorderable{cursor:grab;touch-action:none}.media-preview-item--reorderable:active{cursor:grabbing}.media-preview-item--drag-over{box-shadow:0 0 0 2px var(--accent);transform:scale(1.04)}.lazy-media-placeholder{width:100%;min-height:120px;background:var(--bg-base);border-radius:4px}.lazy-media-placeholder--video{min-height:180px}.lazy-video-wrap{position:relative;width:100%}.lazy-video-poster-btn{position:relative;display:block;width:100%;padding:0;border:none;background:transparent;cursor:pointer;border-radius:4px;overflow:hidden}.lazy-video-poster{display:block;width:100%;height:auto;vertical-align:middle}.lazy-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:#0000008c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;padding-left:3px;pointer-events:none}.lazy-video-poster-btn:hover .lazy-video-play{background:#000000b8}.materials-main--drop-active{box-shadow:inset 0 0 0 2px var(--accent);background:var(--bg-tree-active)}.gen-field--toggle{gap:10px}.gen-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.feature-gate-list{display:flex;flex-direction:column;gap:10px}.feature-gate-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border, rgba(127, 127, 127, .2))}.feature-gate-row:last-child{border-bottom:none}.feature-gate-row-text{min-width:0}.feature-gate-row-text p{margin:4px 0 0;font-size:13px}.feature-gate-group{margin-top:16px}.feature-gate-group h4{margin:0 0 8px}.gen-toggle{flex-shrink:0;width:44px;height:24px;padding:0;border:none;border-radius:999px;background:var(--toggle-off);cursor:pointer;position:relative;transition:background .2s}.gen-toggle--on{background:var(--accent)}.gen-toggle-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--text-on-accent);transition:transform .2s}.gen-toggle--on .gen-toggle-knob{transform:translate(20px)}.gen-info-box{padding:14px 16px;background:var(--bg-info);border:1px solid var(--border-info);border-radius:10px;font-size:13px;line-height:1.55;color:var(--text-secondary)}.gen-info-box strong{color:var(--text-primary)}.gen-cost{font-size:13px;color:var(--text-muted)}.gen-submit-btn{width:100%;padding:12px 16px;font-size:15px;font-weight:600;border-radius:8px;background:var(--accent);display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.3}.gen-submit-btn-meta{font-size:11px;font-weight:500;opacity:.85;text-align:center;word-break:break-word}.gen-submit-btn:hover:not(:disabled){background:var(--accent-hover)}.gen-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}.gen-footer-link{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--bg-surface);color:var(--text-secondary);font-size:13px;text-decoration:none;transition:background .15s,border-color .15s}.gen-footer-link:hover{background:var(--bg-chip);border-color:var(--border-dashed);text-decoration:none;color:var(--text-on-accent)}.gen-results{display:flex;flex-direction:column;overflow:hidden;flex:1;min-width:0;min-height:0;height:100%;background:var(--bg-canvas);border:1px solid var(--border);border-radius:12px}.gen-results-header{display:flex;align-items:center;justify-content:space-between;padding:28px 40px 24px;border-bottom:1px solid var(--border);flex-shrink:0}.gen-results-header-left{display:flex;align-items:center;gap:14px}.gen-results-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:10px;color:var(--text-muted)}.gen-results-title{margin:0;font-size:18px;font-weight:700;color:var(--text-heading)}.gen-results-subtitle{margin:2px 0 0;font-size:13px;color:var(--text-faint)}.gen-results-header-right{display:flex;gap:16px}.gen-results-link{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-muted);text-decoration:none}.gen-results-link:hover{color:var(--text-primary);text-decoration:none}button.gen-results-link{border:none;background:none;padding:0;cursor:pointer;font:inherit}.gen-results-link--active{color:var(--accent)}.gen-results-list{flex:1;overflow-y:auto;overflow-x:hidden;min-width:0;padding:24px 28px 32px;display:flex;flex-direction:column;gap:20px}.gen-results-empty{flex-shrink:0;padding:48px 24px;text-align:center;color:var(--text-faint);font-size:14px;border:1px dashed var(--border-strong);border-radius:12px}.gen-result-card{flex-shrink:0;border:1px solid var(--border-strong);border-radius:12px;background:var(--bg-surface);overflow:hidden;border-left:3px solid var(--border-strong)}.gen-result-card--success{border-left-color:var(--status-success)}.gen-result-card--processing,.gen-result-card--pending{border-left-color:var(--status-pending)}.gen-result-card--failed{border-left-color:var(--status-failed)}.gen-result-card-inner{padding:20px 24px 24px}.gen-result-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.gen-result-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gen-result-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;padding:4px 10px;border-radius:4px;text-transform:uppercase}.gen-result-badge--upscale{background:var(--badge-upscale-bg);color:var(--link)}.gen-result-badge--success{background:var(--badge-success-bg);color:var(--status-success-text)}.gen-result-badge--processing,.gen-result-badge--pending{background:var(--badge-pending-bg);color:var(--status-pending-text)}.gen-result-badge--failed{background:var(--badge-failed-bg);color:var(--status-failed-text)}.gen-result-badge--backlog{background:var(--bg-elevated);color:var(--text-muted)}.gen-gate-backdrop{z-index:1200;background:#080a10d1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}.gen-gate-modal{background:var(--bg-surface);border:1px solid #e05555;border-radius:16px;box-shadow:0 24px 64px #00000073;max-width:560px;width:100%;max-height:calc(100vh - 48px);overflow-y:auto;padding:28px;text-align:center}.gen-gate-icon{width:52px;height:52px;margin:0 auto 14px;border-radius:50%;background:#e0555526;color:#e05555;border:2px solid #e05555;font-size:28px;font-weight:700;line-height:48px}.gen-gate-modal h2{margin:0 0 8px;font-size:20px}.gen-gate-text{color:var(--text-muted);margin:0 0 16px;font-size:14px}.gen-gate-card{text-align:left;margin-bottom:16px}.gen-gate-actions{display:flex;justify-content:center;gap:10px}.gen-result-card--verdict-defect{border-color:#e05555;box-shadow:0 0 0 1px #e05555}.gen-result-card--verdict-review{border-color:#e0b23c;box-shadow:0 0 0 1px #e0b23c}.gen-result-card--verdict-approved{border-color:#3ca35f;box-shadow:0 0 0 1px #3ca35f}.gen-result-actions{display:flex;align-items:center;gap:12px}.gen-result-action{display:flex;align-items:center;gap:6px;padding:0;background:transparent;border:none;color:var(--text-muted);font-size:13px;cursor:pointer}.gen-result-action:hover{color:var(--text-primary);background:transparent}.gen-result-prompt-block{margin-bottom:14px}.gen-result-prompt{margin:0;font-size:14px;line-height:1.55;color:var(--text-secondary);white-space:pre-wrap;word-break:break-word}.gen-result-expand{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:0;background:transparent;border:none;color:var(--text-faint);font-size:12px;cursor:pointer}.gen-result-expand:hover{color:var(--text-secondary);background:transparent}.gen-result-player{border-radius:8px;overflow:hidden;background:#000;margin-bottom:4px;width:100%;max-width:100%}.gen-result-video{width:100%;max-width:100%;display:block;background:#000;overflow:hidden}.gen-result-video>.lazy-media-el,.gen-result-video>video,.gen-result-video>img,.gen-result-player>img.gen-result-video,.gen-result-player>video.gen-result-video{width:100%;max-width:100%;height:auto;max-height:480px;display:block;object-fit:contain;background:#000;vertical-align:top}.gen-result-video>.lazy-media-placeholder{width:100%;aspect-ratio:16 / 9;min-height:0;max-height:480px;background:#000;border-radius:0}.gen-result-placeholder{padding:48px 24px;text-align:center;background:var(--bg-input);border:1px solid var(--border);border-radius:8px;color:var(--text-faint);font-size:14px}.gen-result-footer{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:18px;padding-top:4px}.gen-result-upscale-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;width:100%}.gen-result-upscale-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted)}.gen-result-upscale-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--bg-surface);border:1px solid var(--border-strong);color:var(--text-primary);padding:6px 28px 6px 10px;border-radius:6px;font-size:13px;cursor:pointer}.gen-result-upscale-select:focus{outline:none;border-color:var(--accent-hover)}.gen-result-upscale-cost{font-size:13px;color:var(--text-faint)}.gen-result-upscale{padding:10px 28px;background:var(--btn-upscale);border:1px solid var(--border-strong);border-radius:8px;color:var(--text-primary);font-size:14px;cursor:pointer;transition:background .15s,border-color .15s}.gen-result-upscale:hover:not(:disabled){background:var(--btn-upscale-hover);border-color:var(--accent-hover)}.gen-result-upscale:disabled{cursor:not-allowed;opacity:.55}.gen-result-upscale--busy{opacity:.75}@media (max-width: 768px){.app{grid-template-columns:1fr}.app--fullscreen .sidebar{display:flex}.sidebar{position:fixed;top:0;left:0;z-index:300;width:260px;height:100vh;transform:translate(-100%);transition:transform .22s ease;box-shadow:none}.sidebar.sidebar--open{transform:translate(0);box-shadow:8px 0 32px var(--shadow-md)}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:290;border:none;padding:0;background:var(--overlay-sidebar);cursor:pointer}.nav-burger{display:grid}}@media (max-width: 960px){.main--generate{height:auto;overflow:visible;padding:12px 16px}.gen-page{flex-direction:column;height:auto;gap:12px}.gen-sidebar{width:100%!important;max-height:none;border-bottom:none;border-radius:10px}.gen-split-handle{display:none}.gen-results{min-height:60vh;border-radius:10px}.gen-results-header{padding:20px 24px}}.gen-shot-combobox{position:relative;width:100%}.gen-shot-value{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gen-shot-relink{position:relative;display:inline-flex}.gen-shot-relink-btn{min-height:0;height:auto;padding:2px 8px;border-radius:6px;border:1px solid var(--border-strong);background:transparent;color:var(--text-muted);font-size:12px;cursor:pointer}.gen-shot-relink-btn:hover{color:var(--accent);border-color:var(--accent)}.gen-shot-relink-pop{position:fixed;z-index:1200;width:min(340px,calc(100vw - 16px));display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:10px;box-shadow:0 12px 32px #0006}.gen-shot-relink-pop .gen-select,.gen-shot-relink-pop .gen-shot-combobox-input{padding:8px 10px;font-size:13px}.gen-shot-relink-title{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.gen-shot-relink-error{font-size:12px}.gen-shot-relink-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.gen-shot-relink-actions button{min-height:0;padding:6px 12px;font-size:13px}.gen-shot-combobox-input{width:100%;background:var(--bg-surface);border:1px solid var(--border-strong);color:var(--text-primary);padding:11px 14px;border-radius:8px;font-size:14px}.gen-shot-combobox-input:focus{outline:none;border-color:var(--accent-hover)}.gen-shot-combobox-input:disabled{opacity:.55;cursor:not-allowed}.gen-shot-combobox-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;max-height:220px;overflow-y:auto;margin:0;padding:4px;list-style:none;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:8px;box-shadow:0 8px 24px #00000059}.gen-shot-combobox-option{display:block;width:100%;text-align:left;border:none;background:transparent;color:var(--text-primary);padding:8px 10px;border-radius:6px;font-size:14px;cursor:pointer}.gen-shot-combobox-option:hover,.gen-shot-combobox-option.active{background:var(--bg-elevated)}.gen-shot-combobox-empty{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;padding:10px 12px;font-size:13px;color:var(--text-faint);background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:8px}.gen-purpose-options{display:flex;gap:8px}.gen-purpose-option{display:inline-flex;align-items:center;gap:8px;flex:1;padding:9px 12px;border-radius:8px;border:1px solid var(--border-strong);background:var(--bg-surface);color:var(--text-muted);font-size:13px;cursor:pointer;-webkit-user-select:none;user-select:none}.gen-purpose-option input{position:absolute;opacity:0;pointer-events:none}.gen-purpose-option.active{color:var(--text-primary);border-color:var(--accent-hover);background:var(--bg-elevated)}.gen-purpose-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.4}.gen-purpose-edit{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:100%}.gen-purpose-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:auto;max-width:100%;min-height:0;border:1px solid transparent;cursor:pointer;font:inherit;font-size:11px;font-weight:600;line-height:1.4;padding:2px 22px 2px 8px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238fa4ff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:8px 5px}.gen-purpose-select.gen-purpose-badge--publishing{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffb366' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E")}.gen-purpose-select:hover:not(:disabled),.gen-purpose-select:focus-visible{border-color:currentColor;outline:none}.gen-purpose-select:disabled{opacity:.7;cursor:wait}.gen-purpose-edit-err{font-size:11px;color:var(--danger-text, #f07178);max-width:220px}.gen-purpose-badge--production{background:#5474ff24;color:#8fa4ff}.gen-purpose-badge--publishing{background:#ff9f4324;color:#ffb366}.gen-purpose-badge.gen-result-badge{padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.materials-layout{display:grid;grid-template-columns:minmax(220px,280px) 1fr;gap:16px;align-items:start}.materials-sidebar{padding:14px;min-height:420px}.materials-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}button.materials-add-folder-btn{flex-shrink:0;min-height:0;height:auto;padding:3px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-muted);font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer}button.materials-add-folder-btn:hover:not(:disabled){background:var(--bg-tree-active, rgba(255, 255, 255, .06));color:var(--text);border-color:transparent}button.materials-add-folder-btn:disabled{opacity:.5;cursor:not-allowed;background:transparent}body.ui-studio button.materials-add-folder-btn,[data-ui=studio] button.materials-add-folder-btn{min-height:0;padding:3px 8px;border-radius:6px;background:transparent;color:var(--studio-text-muted, var(--text-muted));font-weight:500}body.ui-studio button.materials-add-folder-btn:hover:not(:disabled),[data-ui=studio] button.materials-add-folder-btn:hover:not(:disabled){background:var(--studio-surface-hover, rgba(255, 255, 255, .06));color:var(--studio-text, var(--text))}.materials-tree{display:flex;flex-direction:column;gap:2px;max-height:65vh;overflow:auto}.materials-tree-row{display:flex;align-items:center;gap:4px;border-radius:8px}.materials-tree-row.active{background:var(--bg-tree-active)}.materials-tree-toggle{width:22px;height:22px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;padding:0;flex-shrink:0}.materials-tree-toggle--spacer{cursor:default}.materials-tree-label{flex:1;text-align:left;border:none;background:transparent;color:var(--text-primary);padding:6px 4px;border-radius:6px;cursor:pointer;font-size:14px}.materials-tree-label:hover{background:var(--bg-tree-hover)}.materials-main{padding:14px;min-height:420px}.materials-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.materials-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;font-size:14px}.materials-crumb{border:none;background:transparent;color:var(--link);cursor:pointer;padding:2px 4px}.materials-crumb-sep{color:var(--text-crumb-sep);margin:0 2px}.materials-actions{display:flex;flex-wrap:wrap;gap:8px}.materials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.materials-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--bg-canvas)}.materials-card-img{aspect-ratio:4 / 3;background:var(--bg-deep);display:flex;align-items:center;justify-content:center}.materials-card-img img{width:100%;height:100%;object-fit:cover}.materials-card-body{padding:10px 12px 12px}.materials-card-title{font-size:13px;color:var(--text-card-title);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.materials-card--folder{cursor:pointer}.materials-card-folder-img{border:0;width:100%;cursor:pointer;background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 18%,var(--bg-deep)),var(--bg-deep))}.materials-folder-icon{width:56px;height:42px;border-radius:4px 4px 6px 6px;background:color-mix(in srgb,var(--accent) 55%,#c9a36a);position:relative;box-shadow:inset 0 -6px #0000001f}.materials-folder-icon:before{content:"";position:absolute;left:0;top:-8px;width:22px;height:10px;border-radius:3px 3px 0 0;background:color-mix(in srgb,var(--accent) 70%,#b8894f)}.materials-card-folder-title{display:block;width:100%;text-align:left;border:0;background:transparent;padding:0;cursor:pointer;margin-bottom:0}.materials-card-btns{display:flex;flex-direction:column;gap:6px}.materials-card-btns button{width:100%;font-size:12px;padding:7px 10px}.materials-access-list{display:flex;flex-direction:column;gap:8px;max-height:50vh;overflow:auto;margin-top:12px}.materials-access-item{display:flex;align-items:flex-start;gap:10px;padding:8px 10px;border-radius:8px;background:var(--bg-base);cursor:pointer;color:var(--text-primary)}.materials-access-item input[type=checkbox]{width:auto;flex-shrink:0;padding:0;margin-top:3px}.materials-access-item>span{flex:1;min-width:0}.materials-access-item strong{color:var(--text-heading)}.materials-float-wrap{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;pointer-events:none}.materials-float-panel{position:fixed;display:flex;flex-direction:column;pointer-events:auto;overflow:hidden;box-shadow:0 12px 40px #00000059;border:1px solid var(--border)}.materials-float-header{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;background:var(--bg-card)}.materials-float-header:active{cursor:grabbing}.materials-float-title{font-weight:600;color:var(--text-heading)}.materials-float-hint{flex:1;font-size:12px;color:var(--text-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.materials-float-close{display:grid;place-items:center;width:28px;height:28px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--text-muted);font-size:20px;line-height:1;cursor:pointer;flex-shrink:0}.materials-float-close:hover{background:var(--bg-muted);color:var(--text-heading)}.materials-float-body{flex:1;min-height:0;overflow:auto;padding:10px;display:flex;flex-direction:column}.materials-float-body .materials-browser{flex:1;min-height:0;display:flex;flex-direction:column}.materials-float-body .materials-layout{flex:1;min-height:0;align-items:stretch}.materials-float-body .materials-sidebar{min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden}.materials-float-body .materials-tree{max-height:none}.materials-float-body .materials-tree-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.materials-float-body .materials-main{min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden}.materials-float-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,var(--text-muted) 50%);opacity:.45}.prompt-engineer-float-panel .materials-float-body{padding:12px}.prompt-generator-form--compact>.card{margin:0 0 12px}.prompt-generator-form--compact .prompt-result{margin-bottom:0}.prompt-engineer-notice{margin:0 0 10px}.materials-panel-toggle{margin-right:8px;padding:6px 12px;font-size:13px;border-radius:8px;border:1px solid var(--border);background:var(--bg-card);color:var(--text-heading);cursor:pointer}.materials-panel-toggle:hover,.materials-panel-toggle--active{border-color:var(--accent);color:var(--accent)}.materials-layout--compact .materials-sidebar-head{margin-bottom:8px;gap:4px}.materials-layout--compact .materials-add-folder-btn,.materials-layout--compact button.materials-add-folder-btn{padding:2px 6px;font-size:11px}.materials-layout--compact{grid-template-columns:minmax(120px,22%) minmax(0,1fr);gap:8px}.materials-layout--compact .materials-sidebar,.materials-layout--compact .materials-main{padding:8px;min-height:0;min-width:0}.materials-layout--compact .materials-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.materials-card--compact .materials-card-body{padding:4px 0 0}.materials-card--compact .materials-card-title{font-size:11px}.materials-card--compact .materials-card-btns{display:none}.materials-card{cursor:grab}.materials-card:active{cursor:grabbing}.materials-card-img video{width:100%;height:100%;object-fit:cover}.materials-card-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:4px;font-size:24px;color:var(--text-muted)}.materials-card-audio-label{font-size:11px}@media (max-width: 900px){.materials-layout{grid-template-columns:1fr}.materials-tree{max-height:240px}.materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-toolbar{flex-wrap:wrap;gap:10px}.materials-actions{flex-wrap:wrap}}@media (max-width: 768px){.main{padding:12px!important}.gen-grid{grid-template-columns:1fr;gap:10px}.gen-card video,.gen-card img,.gen-card .lazy-media-placeholder{max-height:220px}.ref-upload-previews{gap:6px}.ref-upload-preview{width:64px;height:64px}.ref-upload-remove{width:28px;height:28px;font-size:18px}.media-preview .item{width:64px;height:64px}.media-preview .item .remove{width:28px;height:28px;line-height:28px;font-size:18px}.gen-results-header{flex-wrap:wrap;padding:16px;gap:10px}.gen-footer-links{grid-template-columns:1fr}.status-filter .filter-buttons{flex-wrap:wrap}.card .row{flex-direction:column;align-items:stretch}.materials-grid{grid-template-columns:1fr}.materials-card-btns{flex-direction:column}.materials-card-btns button{width:100%}}@media (max-width: 480px){.gen-page-title{font-size:1.25rem}.ref-upload-preview{width:56px;height:56px}}.materials-pending-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr) minmax(260px,320px);gap:16px;align-items:stretch}.materials-pending-queue{padding:14px;min-height:420px;max-height:calc(100vh - 180px);overflow:auto}.materials-pending-queue-list{display:flex;flex-direction:column;gap:10px}.materials-pending-card{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:10px;cursor:grab;-webkit-user-select:none;user-select:none}.materials-pending-card:active{cursor:grabbing}.materials-pending-card--busy{opacity:.6;pointer-events:none}.materials-pending-card-preview{display:flex;align-items:center;justify-content:center;background:var(--bg-deep);border-radius:8px;aspect-ratio:4 / 3;align-self:start;overflow:hidden}.materials-pending-card-preview img,.materials-pending-card-preview video{width:100%;height:100%;object-fit:cover}.materials-pending-card-preview audio{width:100%}.materials-pending-card-title{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.materials-drop-hint{margin:0 0 14px;font-size:13px;padding:10px 12px;border:1px dashed var(--border-strong);border-radius:10px;background:var(--materials-hover)}.materials-drop-target,.materials-tree-row.materials-drop-target{outline:2px solid var(--link);outline-offset:-2px;background:var(--bg-tree-active)}.materials-main--drop-active{outline:2px dashed var(--link);outline-offset:-4px}.materials-grid--pending-folder{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.materials-tree-row--drop,.materials-card--drop{outline:2px solid var(--link);outline-offset:-2px;background:var(--bg-tree-active)}.materials-card--draggable{cursor:grab}.materials-card--draggable:active{cursor:grabbing}.materials-tree-hint{margin:10px 0 0;font-size:11px;line-height:1.4}.materials-card-title-row{display:flex;align-items:center;gap:6px;min-width:0}.materials-card-title-row .materials-card-title{flex:1 1 auto;min-width:0;margin-bottom:0}.materials-card-menu{position:relative;flex-shrink:0}.materials-card-menu-btn{width:26px;height:22px;min-height:0;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-muted);font-size:15px;line-height:1;cursor:pointer}.materials-card-menu-btn:hover{background:var(--bg-tree-active, rgba(255, 255, 255, .06));color:var(--text-primary)}.materials-card-menu-list{position:absolute;right:0;top:calc(100% + 4px);z-index:40;min-width:170px;display:flex;flex-direction:column;padding:4px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px var(--shadow-md)}.materials-card-menu-list>button,.materials-card-menu-list>a{display:block;width:100%;min-height:0;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--text-primary);font-size:13px;text-align:left;text-decoration:none;cursor:pointer}.materials-card-folder-title.materials-card-title{flex:1 1 auto;min-width:0}.materials-card--compact .materials-card-menu-btn{width:22px;height:20px;font-size:14px}.materials-card-menu-list>button:hover,.materials-card-menu-list>a:hover{background:var(--bg-muted)}.materials-card-menu-list>.materials-card-menu-danger{color:var(--danger, #e5484d)}.materials-rename-form input{width:100%;font-size:13px;padding:4px 6px}.materials-move-modal{width:min(420px,calc(100vw - 24px))}.materials-move-modal select{width:100%;margin-top:8px;font-size:13px}@media (max-width: 1100px){.materials-pending-layout{grid-template-columns:minmax(180px,220px) 1fr}.materials-pending-queue{grid-column:1 / -1;max-height:none}}@media (max-width: 720px){.materials-pending-layout{grid-template-columns:1fr}}.chat-app{--chat-composer-bg: var(--bg-elevated, #121212);--chat-composer-shadow: 0 8px 28px rgba(0, 0, 0, .35);display:flex;flex-direction:column;height:100%;min-height:0}.chat-body{flex:1;min-height:0;display:grid;grid-template-columns:280px 1fr;gap:16px}.chat-sidebar{display:flex;flex-direction:column;gap:12px;min-height:0;border-right:1px solid var(--border);padding-right:12px}.chat-new-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 14px;border-radius:10px;border:1px solid var(--border-strong);background:var(--bg-subtle);color:var(--text-primary);font-size:14px;font-weight:500;cursor:pointer}.chat-new-btn:hover{background:var(--bg-chip);border-color:var(--accent)}.chat-conv-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.chat-conv-empty{padding:16px 8px;color:var(--text-muted);font-size:13px}.chat-conv-item{position:relative;display:flex;align-items:stretch;border-radius:8px}.chat-conv-item.active{background:var(--bg-chip)}.chat-conv-btn{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 36px 10px 10px;border:none;background:transparent;color:var(--text-primary);cursor:pointer;text-align:left}.chat-conv-title{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.chat-conv-date{font-size:11px;color:var(--text-muted)}.chat-conv-actions{position:absolute;right:4px;top:50%;transform:translateY(-50%)}.chat-conv-menu-btn{width:28px;height:28px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;border-radius:6px}.chat-conv-menu-btn:hover{background:var(--bg-subtle);color:var(--text-primary)}.chat-conv-menu{position:absolute;right:0;top:100%;z-index:20;min-width:140px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow-md);padding:4px}.chat-conv-menu button{display:block;width:100%;text-align:left;padding:8px 10px;border:none;background:transparent;color:var(--text-primary);font-size:13px;cursor:pointer;border-radius:6px}.chat-conv-menu button:hover{background:var(--bg-chip)}.chat-conv-menu button.danger{color:var(--danger-text)}.chat-conv-rename{width:100%;padding:8px 10px;border:1px solid var(--accent);border-radius:8px;background:var(--bg-subtle);color:var(--text-primary);font-size:14px}.chat-main{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-main--empty{min-height:0}.chat-main--empty .chat-hero{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;width:100%;max-width:760px;margin:0 auto;padding:24px 24px 48px;box-sizing:border-box}.chat-hero-greeting{text-align:center;max-width:520px}.chat-hero-greeting h2{margin:0 0 10px;font-size:32px;font-weight:600;letter-spacing:-.035em;color:var(--text-primary)}.chat-hero-greeting p{margin:0;font-size:16px;line-height:1.45;color:var(--text-muted)}.chat-main--empty .chat-composer{width:100%;max-width:760px;margin:0;padding:0}.chat-main:not(.chat-main--empty) .chat-composer{margin-top:0}.chat-main-empty{margin:auto;text-align:center;max-width:420px;padding:24px}.chat-main-empty h2{margin:0 0 8px;font-size:28px}.chat-main-empty p{color:var(--text-muted);margin:0 0 16px}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:10px 24px;border-bottom:1px solid transparent;background:transparent;position:relative;z-index:2}.chat-header-title{display:flex;align-items:center;gap:10px;min-width:0}.chat-header h1{margin:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header-loading{font-size:12px;color:var(--text-muted)}.chat-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.chat-error{margin:8px 24px 0}.chat-messages-wrap{flex:1;min-height:0;overflow-y:auto;padding:8px 24px 16px;display:flex;flex-direction:column}.chat-messages{display:flex;flex-direction:column;gap:16px;max-width:760px;margin:0 auto;width:100%;flex:1}.chat-empty-state{margin:auto;text-align:center;color:var(--text-muted);padding:48px 16px}.chat-empty-state h2{margin:0 0 8px;color:var(--text-primary)}.chat-message{display:flex}.chat-message--user{justify-content:flex-end}.chat-message--assistant{justify-content:flex-start}.chat-message-bubble{max-width:min(85%,720px);padding:12px 14px;border-radius:14px;font-size:14px;line-height:1.55}.chat-message--user .chat-message-bubble{background:var(--accent);color:var(--text-on-accent);border-bottom-right-radius:4px}.chat-message--assistant .chat-message-bubble{background:var(--bg-chip);color:var(--text-primary);border-bottom-left-radius:4px}.chat-message-content p{margin:0 0 8px}.chat-message-content p:last-child{margin-bottom:0}.chat-inline-code{font-family:ui-monospace,monospace;font-size:.92em;padding:1px 5px;border-radius:4px;background:#00000026}.chat-message--assistant .chat-inline-code{background:#0003}.chat-code-block{margin:8px 0;padding:10px 12px;border-radius:8px;overflow-x:auto;background:#00000040;font-size:13px}.chat-code-block code{font-family:ui-monospace,monospace;white-space:pre}.chat-stream-cursor{animation:chat-blink 1s step-end infinite}@keyframes chat-blink{50%{opacity:0}}.chat-message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.chat-message-attachments img{max-width:200px;max-height:160px;border-radius:8px;object-fit:cover}.chat-message-model{margin-top:8px;font-size:11px;color:var(--text-muted)}.chat-composer{flex-shrink:0;width:100%;max-width:760px;margin:0 auto;padding:0 24px 20px;box-sizing:border-box}.chat-composer--drop .chat-composer-card{outline:2px dashed var(--accent);outline-offset:2px}.chat-composer-status{font-size:12px;color:var(--text-muted);margin-bottom:8px}.chat-composer-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.chat-composer-attachment{position:relative;width:64px;height:64px}.chat-composer-attachment img{width:100%;height:100%;object-fit:cover;border-radius:10px}.chat-composer-attachment button{position:absolute;top:-6px;right:-6px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border-radius:50%;border:none;background:var(--danger-bg-strong, #c44);color:#fff;cursor:pointer;font-size:14px;line-height:1}.chat-composer-card{display:flex;flex-direction:column;gap:8px;padding:14px 14px 10px;border:1px solid var(--border, #333);border-radius:22px;background:var(--chat-composer-bg);box-shadow:var(--chat-composer-shadow)}.chat-composer-toolbar{display:flex;align-items:center;gap:8px}.chat-composer-toolbar-spacer{flex:1}.chat-composer-icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;margin:0;padding:0;border:1px solid var(--border, #333);border-radius:999px;background:transparent;color:var(--text-secondary, #ccc);cursor:pointer;flex-shrink:0;font:inherit;font-size:18px;line-height:1}.chat-composer-icon-btn:hover:not(:disabled){border-color:var(--border-strong, #444);background:var(--bg-hover, #1c1c1c);color:var(--text-primary, #fff)}.chat-composer-icon-btn:disabled{opacity:.45;cursor:not-allowed}.chat-composer-input{width:100%;min-height:28px;max-height:280px;margin:0;resize:none;overflow-y:auto;padding:8px 10px;border:none!important;border-radius:0;background:transparent!important;box-shadow:none!important;outline:none!important;color:var(--text-primary, #fff);font:inherit;font-size:15px;line-height:1.45;box-sizing:border-box}.chat-composer-input:focus{outline:none!important;border:none!important;box-shadow:none!important}.chat-composer-input::placeholder{color:var(--text-muted, #888)}.chat-composer-send{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:none;border-radius:999px;background:var(--accent, #5474FF);color:var(--text-on-accent, #fff);font:inherit;font-size:13px;font-weight:600;cursor:pointer;flex-shrink:0}.chat-composer-send:disabled{opacity:.4;cursor:not-allowed}.chat-composer-stop{background:var(--danger-bg-strong, #c44);color:#fff}.chat-model-picker{position:relative;flex-shrink:0;max-width:min(220px,42vw)}.chat-model-picker-btn{display:flex;align-items:center;gap:6px;max-width:100%;min-height:34px;margin:0;padding:6px 10px;border:1px solid var(--border, #333);border-radius:999px;background:transparent;color:var(--text-secondary, #ccc);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.chat-model-picker-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-model-picker-chevron{color:var(--text-muted);font-size:11px;flex-shrink:0}.chat-model-picker-menu{display:flex;flex-direction:column;box-sizing:border-box;background:var(--bg-elevated);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-md);overflow:hidden}.chat-model-picker-head{flex-shrink:0;padding:10px 10px 0}.chat-model-picker-search{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--bg-subtle);color:var(--text-primary);font-size:14px}.chat-model-picker-search:focus{outline:none;border-color:var(--accent)}.chat-model-picker-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:8px 10px 10px}.chat-model-picker-err,.chat-model-picker-loading,.chat-model-picker-empty{padding:8px 2px;font-size:13px;color:var(--text-muted)}.chat-model-picker-section+.chat-model-picker-section{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.chat-model-picker-section-title{padding:0 4px 8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.chat-model-picker-list{display:flex;flex-direction:column;gap:2px}.chat-model-picker-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;box-sizing:border-box;padding:8px 10px;border:none;background:transparent;color:var(--text-primary);font-size:13px;text-align:left;cursor:pointer;border-radius:8px}.chat-model-picker-item-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-model-picker-item:hover,.chat-model-picker-item.active{background:var(--bg-chip)}.chat-model-picker-item-id{width:100%;font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 900px){.chat-body{grid-template-columns:1fr}.chat-sidebar{border-right:none;border-bottom:1px solid var(--border);padding-right:0;padding-bottom:12px;max-height:200px}}.prod-layout{margin-top:0}.prod-back-link{display:inline-flex;margin-bottom:12px;color:var(--text-muted);font-size:13px;text-decoration:none}.prod-back-link:hover{color:var(--accent)}.prod-page-head{align-items:flex-start;gap:14px}.prod-project-code{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--accent);text-transform:uppercase}.prod-desc{margin:4px 0 0;font-size:14px}.prod-project-status{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:4px 8px;color:var(--text-secondary);font-size:12px;font-weight:600;border:1px solid var(--border);border-radius:999px;background:var(--bg-muted)}.prod-project-status:before{width:7px;height:7px;border-radius:50%;background:var(--project-status-color, var(--prod-status-wtg));content:""}.prod-project-status--wtg{--project-status-color: var(--prod-status-wtg)}.prod-project-status--ip{--project-status-color: var(--prod-status-ip)}.prod-project-status--fix{--project-status-color: var(--prod-status-fix)}.prod-project-status--ret{--project-status-color: var(--prod-status-ret)}.prod-project-status--apr{--project-status-color: var(--prod-status-apr)}.prod-project-status--fin{--project-status-color: var(--prod-status-fin)}.prod-project-comment{max-width:760px;margin:10px 0 0;color:var(--text-secondary);font-size:14px;line-height:1.5;white-space:pre-wrap}.prod-project-edit-modal h3{margin-top:0}.prod-project-edit-modal{max-height:min(90vh,900px);overflow:auto}.prod-project-edit-modal textarea{resize:vertical}.prod-project-edit-actions{justify-content:flex-end;margin-top:16px}.prod-tabs{display:flex;gap:4px;margin-bottom:16px;border-bottom:1px solid var(--border);padding-bottom:0}.prod-tab{padding:10px 16px;font-size:14px;color:var(--text-muted);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px}.prod-tab:hover{color:var(--text-primary)}.prod-tab--active{color:var(--text-primary);border-bottom-color:var(--accent);font-weight:500}.prod-page{display:flex;flex-direction:column;gap:12px}.prod-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.prod-projects-head{margin-bottom:24px}.prod-project-card{text-decoration:none;color:inherit;transition:border-color .15s}.prod-project-card:hover{border-color:var(--accent)}.prod-project-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.prod-project-card-top .prod-project-status{margin-top:0;flex-shrink:0}.prod-project-card-code{font-size:12px;color:var(--accent);font-weight:600}.prod-project-card-name{font-size:16px;font-weight:600;margin-top:4px}.prod-project-card-comment{margin-top:8px;font-size:13px;line-height:1.4;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.prod-project-card-stats{display:flex;gap:12px;margin-top:12px;font-size:12px;color:var(--text-muted)}.prod-empty{text-align:center;color:var(--text-muted)}@media (max-width: 600px){.prod-back-link{margin-bottom:10px}.prod-page-head>button{width:100%}.prod-project-card-top{align-items:center}}.prod-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;flex-wrap:wrap}.prod-toolbar-left,.prod-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prod-toolbar-btn{font-size:13px;padding:6px 12px}.prod-toolbar-btn--active{border-color:var(--accent);color:var(--accent)}.prod-search{min-width:180px;padding:6px 10px;font-size:13px}.prod-view-toggle{display:flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.prod-view-btn{background:var(--bg-muted);border:none;padding:6px 10px;color:var(--text-muted);cursor:pointer}.prod-view-btn--active{background:var(--accent-muted-bg);color:var(--accent)}.prod-dropdown{position:relative}.prod-dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:50;min-width:180px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px var(--shadow-md);padding:4px}.prod-dropdown-menu--wide{min-width:220px;padding:10px}.prod-dropdown-menu--check{padding:8px}.prod-dropdown-item{display:block;width:100%;text-align:left;background:none;border:none;padding:8px 10px;font-size:13px;color:var(--text-primary);border-radius:6px;cursor:pointer}.prod-dropdown-item:hover{background:var(--bg-hover)}.prod-dropdown-item--active{color:var(--accent)}.prod-dropdown-item--danger{color:var(--danger-text)}.prod-check-item{display:flex;align-items:center;gap:8px;padding:6px 4px;font-size:13px;cursor:pointer}.prod-filter-label{display:block;font-size:12px;color:var(--text-muted);margin:8px 0 4px}.prod-grid-wrap{overflow:auto;padding:0}.prod-grid{width:100%;border-collapse:collapse;font-size:13px}.prod-grid th,.prod-grid td{padding:8px 10px;border-bottom:1px solid var(--border-row);vertical-align:middle;white-space:nowrap}.prod-grid th{background:var(--bg-muted);color:var(--text-muted);font-weight:500;position:sticky;top:0;z-index:2}.prod-col-check{width:36px;text-align:center}.prod-col-thumb{width:52px}.prod-col-step{width:36px;padding:4px 2px!important;text-align:center}.prod-step-header{display:inline-block;font-size:10px;font-weight:700;border-left:3px solid;padding-left:4px;text-transform:uppercase}.prod-data-row{cursor:pointer}.prod-data-row:hover{background:var(--bg-hover)}.prod-data-row--selected{background:var(--bg-tree-active)}.prod-group-row td{background:var(--bg-subtle);font-weight:600;padding:6px 10px}.prod-group-toggle{background:none;border:none;color:var(--text-primary);font-weight:600;cursor:pointer;padding:0}.prod-thumb{width:40px;height:40px;object-fit:cover;border-radius:6px;background:var(--bg-muted)}.prod-thumb--empty,.prod-thumb-empty{width:40px;height:40px;border-radius:6px;background:var(--bg-muted);border:1px dashed var(--border-dashed)}.prod-step-cell{position:relative;padding:2px!important}.prod-step-cell-btn{width:100%;min-height:32px;background:var(--bg-inset);border:none;border-left:3px solid var(--step-color, var(--accent));cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:0 4px 4px 0}.prod-step-cell-btn:hover{background:var(--bg-hover)}.prod-step-cell-empty{width:8px;height:8px;border-radius:50%;border:1px solid var(--border-dashed)}.prod-status-icon{display:inline-block;border-radius:50%;flex-shrink:0}.prod-status-icon--wtg{background:var(--prod-status-wtg)}.prod-status-icon--rdy{background:var(--prod-status-rdy)}.prod-status-icon--ip{background:var(--prod-status-ip)}.prod-status-icon--rev{background:var(--prod-status-rev)}.prod-status-icon--fix{background:var(--prod-status-fix)}.prod-status-icon--ret{background:var(--prod-status-ret)}.prod-status-icon--apr{background:var(--prod-status-apr)}.prod-status-icon--fin{background:var(--prod-status-fin)}.prod-status-icon--omt{background:var(--prod-status-omt)}.prod-status-icon--hold{background:var(--prod-status-hold)}.prod-popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.prod-status-popover{position:absolute;z-index:50;top:100%;left:50%;transform:translate(-50%);background:var(--bg-elevated);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px var(--shadow-md);padding:4px;min-width:160px}.prod-status-option{display:flex;align-items:center;gap:8px;width:100%;background:none;border:none;padding:6px 8px;font-size:12px;color:var(--text-primary);cursor:pointer;border-radius:4px}.prod-status-option:hover{background:var(--bg-hover)}.prod-assignee{display:inline-flex;align-items:center;gap:6px}.prod-assignee-avatar{width:22px;height:22px;border-radius:50%;background:var(--avatar-bg);color:#fff;font-size:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.prod-assignee-name{font-size:12px}.prod-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.prod-thumb-card{text-align:left;cursor:pointer;padding:10px}.prod-thumb-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;margin-bottom:8px}.prod-split{display:flex;min-height:480px;align-items:stretch}.prod-split-left{flex-shrink:0;overflow:hidden;padding:0;display:flex;flex-direction:column}.prod-split-right{flex:1;overflow:auto;padding:0;min-width:0}.prod-split-handle{width:6px;cursor:col-resize;background:var(--border);flex-shrink:0}.prod-split-handle:hover{background:var(--accent)}body.split-dragging{cursor:col-resize;-webkit-user-select:none;user-select:none}.prod-task-table-wrap{overflow:auto;max-height:70vh}.prod-task-table{min-width:100%}.prod-step-badge{display:inline-block;font-size:10px;font-weight:700;color:#fff;padding:2px 6px;border-radius:4px;text-transform:uppercase}.prod-status-label{display:inline-flex;align-items:center;gap:6px;font-size:12px}.prod-gantt-zoom{display:flex;align-items:center;gap:6px}.prod-zoom-btn{font-size:12px;padding:4px 8px}.prod-zoom-btn--active{border-color:var(--accent);color:var(--accent)}.prod-gantt{overflow:auto;max-height:70vh}.prod-gantt-svg{display:block}.prod-gantt-month{fill:var(--text-muted);font-size:11px}.prod-gantt-day{fill:transparent;stroke:var(--border-row);stroke-width:.5}.prod-gantt-day--weekend{fill:var(--bg-subtle)}.prod-gantt-day-label{fill:var(--text-faint);font-size:10px}.prod-gantt-today{stroke:var(--accent);stroke-width:2;stroke-dasharray:4 2}.prod-gantt-dep{stroke:var(--text-muted);stroke-width:1.5}.prod-gantt-bar-label{fill:#fff;font-size:10px;pointer-events:none}.prod-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:100;display:flex;justify-content:flex-end}.prod-drawer{width:min(420px,100vw);height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;overflow:hidden}.prod-drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border)}.prod-drawer-head h3{margin:0}.prod-drawer-tabs{display:flex;gap:4px;margin-top:12px;flex-wrap:wrap}.prod-drawer-tab{background:var(--bg-muted);border:1px solid var(--border);padding:6px 10px;font-size:12px;border-radius:6px;cursor:pointer;color:var(--text-muted)}.prod-drawer-tab--active{border-color:var(--accent);color:var(--accent);background:var(--accent-muted-bg)}.prod-drawer-body{flex:1;overflow:auto;margin-top:12px}.prod-drawer-body h4{font-size:12px;color:var(--text-muted);margin:16px 0 8px;text-transform:uppercase;letter-spacing:.04em}.prod-link-row{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--border-row);border-radius:8px;margin-bottom:6px;font-size:13px}.prod-link-row--btn{width:100%;background:var(--bg-muted);cursor:pointer;text-align:left}.prod-link-row--btn:hover{background:var(--bg-hover)}.prod-link-thumb{width:36px;height:36px;object-fit:cover;border-radius:4px;flex-shrink:0}.prod-link-thumb--empty{display:flex;align-items:center;justify-content:center;background:var(--bg-inset);color:var(--text-faint);font-size:11px}.prod-link-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.prod-link-pick{background:var(--bg-muted);border:1px solid var(--border);border-radius:8px;padding:6px;cursor:pointer;font-size:11px;text-align:left}.prod-link-pick img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}.prod-canvas-node-type{font-size:10px;color:var(--accent);text-transform:uppercase}.prod-notes-list{margin-top:16px}.prod-note{padding:10px;border:1px solid var(--border-row);border-radius:8px;margin-bottom:8px;font-size:13px}.prod-note-meta{font-size:11px;color:var(--text-muted);margin-bottom:4px}.prod-overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.prod-overview-grid h3{margin-top:0;font-size:15px}.prod-status-list{list-style:none;padding:0;margin:0}.prod-status-list li{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:13px}.prod-status-list strong{margin-left:auto}.prod-status-dot{width:8px;height:8px;border-radius:50%}.prod-status-dot--wtg{background:var(--prod-status-wtg)}.prod-status-dot--ip{background:var(--prod-status-ip)}.prod-status-dot--fin{background:var(--prod-status-fin)}.prod-pipeline-preview{display:flex;flex-wrap:wrap;gap:6px}.prod-pipeline-chip{font-size:11px;padding:4px 8px;border-left:3px solid;background:var(--bg-muted);border-radius:0 6px 6px 0}.prod-final-overview{display:flex;flex-direction:column;gap:12px}.prod-final-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.prod-final-overview-head h3{margin:0 0 4px}.prod-final-overview-head p{margin:0}.prod-final-overview-head>strong{min-width:42px;padding:8px 10px;border-radius:10px;color:var(--accent);background:var(--accent-muted-bg);text-align:center}.prod-final-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.prod-final-card{padding:0;overflow:hidden;color:inherit;text-decoration:none;transition:transform .15s ease,border-color .15s ease}.prod-final-card:hover{transform:translateY(-2px);border-color:var(--accent)}.prod-final-card video{display:block;width:100%;aspect-ratio:16 / 9;object-fit:cover;background:#000}.prod-final-card-body{display:flex;flex-direction:column;gap:4px;padding:11px}.prod-final-card-body span,.prod-final-card-body small{color:var(--text-muted)}.prod-final-episode{color:var(--accent)!important;font-size:11px;font-weight:700;text-transform:uppercase}.prod-integration-actions{display:flex;flex-direction:column;gap:8px}.prod-seq-list{margin:0;padding-left:18px;font-size:13px}.prod-tasks-page .prod-toolbar{margin-bottom:0}.prod-episode-strip{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:6px 2px 10px}.prod-episode-strip-label,.prod-episode-chip{flex:0 0 auto;color:var(--text-muted);text-decoration:none;border:1px solid var(--border);background:var(--bg-surface);border-radius:999px;padding:6px 12px;font-size:12px}.prod-episode-chip:hover,.prod-episode-chip--active{color:var(--accent);border-color:var(--accent);background:var(--accent-muted-bg)}.prod-episode-table-wrap{padding:0;overflow:auto}.prod-episode-table{table-layout:fixed;border-collapse:collapse;font-size:13px}.prod-episode-table th,.prod-episode-table td{border-right:1px solid var(--border-row);border-bottom:1px solid var(--border-row);padding:9px 10px;vertical-align:top}.prod-episode-table th{position:sticky;top:0;z-index:2;overflow:visible;background:var(--bg-muted);color:var(--text-muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.prod-column-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-column-resizer{position:absolute;top:0;right:-5px;bottom:0;z-index:4;width:10px;cursor:col-resize;touch-action:none}.prod-column-resizer:after{content:"";position:absolute;top:20%;right:4px;bottom:20%;width:1px;background:transparent}.prod-column-resizer:hover:after,body.prod-column-resizing .prod-column-resizer:after{background:var(--accent)}body.prod-column-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.prod-episode-table th.prod-column-collapsed,.prod-episode-table td.prod-column-collapsed{min-width:0;max-width:none;padding:0;overflow:hidden}.prod-episode-table th.prod-column-collapsed{position:sticky;border-right-color:var(--accent);background:var(--accent-muted-bg)}.prod-column-expand{display:block;width:100%;height:34px;min-height:34px;padding:0;border:0;border-radius:0;background:transparent;cursor:ew-resize}.prod-column-expand:after{content:"›";color:var(--accent);font-size:14px;line-height:1}.prod-episode-number{color:var(--link);font-weight:600;white-space:nowrap}.prod-episode-preview-cell video{display:block;width:100%;max-height:110px;object-fit:cover;border-radius:6px;background:var(--bg-deep)}.prod-episode-preview-btn{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left;position:relative}.prod-episode-assets{display:flex;flex-direction:column;gap:5px;max-width:100%}.prod-episode-assets a{color:var(--link);overflow:hidden;text-overflow:ellipsis}.prod-episode-comment{white-space:pre-wrap;line-height:1.4;overflow-wrap:anywhere}.prod-episode-row-actions{vertical-align:top}.prod-episode-row-actions-inner{display:flex;flex-direction:column;gap:6px;min-width:0}.prod-episode-row-actions button{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:6px 8px;font-size:12px}.prod-episode-tasks-cell{min-width:0;width:100%;display:flex;flex-direction:column;gap:8px;align-items:stretch}.prod-episode-task-line{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding-bottom:8px;border-bottom:1px solid var(--border-row)}.prod-episode-task-line:last-child{border-bottom:0;padding-bottom:0}.prod-episode-task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.prod-episode-task-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-episode-task-line .prod-status-label{flex-wrap:nowrap;white-space:nowrap}.prod-episode-task-line select{min-width:105px;max-width:120px;padding:4px;font-size:11px}.prod-task-assignees{display:flex;flex-shrink:0}.prod-task-assignees .prod-assignee-avatar{margin-left:-5px;border:2px solid var(--bg-surface)}.prod-task-assignees-with-names{display:flex;min-width:0;align-items:center;gap:7px;color:var(--text-muted);font-size:11px;line-height:1.3}.prod-task-assignee-names-text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.prod-episode-modal{width:min(920px,calc(100vw - 24px));max-height:90vh;overflow:auto}.prod-material-picker{margin-top:12px}.prod-material-picker-shell{border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--bg-surface);min-height:400px;display:flex;flex-direction:column;gap:10px}.prod-material-picker-shell .prod-materials-search{display:flex;gap:8px;align-items:center;margin:0;padding:0;border:0;background:transparent}.prod-material-picker-shell .prod-materials-search input{flex:1}.materials-layout--picker{grid-template-columns:minmax(180px,220px) 1fr;gap:10px;min-height:340px;flex:1}.materials-layout--picker .materials-sidebar,.materials-layout--picker .materials-main{min-height:340px;max-height:420px;overflow:auto;border:1px solid var(--border-row);border-radius:8px;background:var(--bg-muted);padding:10px}.materials-layout--picker .materials-tree{max-height:none}.materials-grid--picker{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}.materials-card--selectable{cursor:pointer;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--bg-surface);text-align:left;padding:0;color:inherit;font:inherit}.materials-card--selectable:hover{border-color:var(--accent)}.materials-card--selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-muted-bg)}.prod-material-picker-results{display:flex;flex-direction:column;gap:10px;min-height:340px;max-height:420px;overflow:auto}.prod-material-picker-selected{color:var(--text-muted);font-size:12px}.prod-project-head-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}.prod-shot-strip{margin-top:-4px}.prod-episode-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.prod-episode-card{display:flex;flex-direction:column;gap:10px}.prod-episode-card-main{text-decoration:none;color:inherit}.prod-episode-card-code{color:var(--link);font-weight:700;font-size:13px}.prod-episode-card-actions{display:flex;gap:8px}.prod-episode-card-cut{margin:6px 0 0;font-size:13px}.prod-cuts-panel{margin-bottom:14px}.prod-cuts-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.prod-cuts-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.prod-cuts-item{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid var(--border-row)}.prod-cuts-item:first-child{border-top:0;padding-top:0}.prod-cuts-item-meta{display:flex;flex-direction:column;gap:2px}.prod-cuts-comment{margin:4px 0 0;white-space:pre-wrap}.prod-cuts-item-files{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.prod-cuts-missing,.prod-cuts-pending{font-size:13px}.prod-cut-modal textarea,.prod-cut-file-slot{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.prod-cut-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.prod-episode-task-block{display:flex;flex-direction:column;gap:6px;padding-bottom:8px;border-bottom:1px solid var(--border-row)}.prod-episode-task-block:last-child{border-bottom:0;padding-bottom:0}.prod-task-ret-comment{margin:8px 0 0;padding:10px 12px;border-radius:8px;border:1px solid #d97706;background:#d977062e;color:#fbbf24;white-space:pre-wrap}.prod-task-ret-comment strong{display:block;margin-bottom:4px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#f59e0b}.prod-task-ret-comment p{margin:0;font-size:13px;line-height:1.4;color:#fde68a}[data-theme=light] .prod-task-ret-comment{border-color:#f59e0b;background:#fef3c7;color:#92400e}[data-theme=light] .prod-task-ret-comment strong{color:#b45309}[data-theme=light] .prod-task-ret-comment p{color:#92400e}.prod-task-ret-comment--compact{margin:0;padding:7px 9px}.prod-task-ret-comment--compact p{font-size:12px}.prod-revisions-list{display:flex;flex-direction:column;gap:12px}.prod-revision-card{display:flex;flex-direction:column;gap:10px}.prod-revision-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--text-muted)}.prod-revision-links{display:flex;flex-wrap:wrap;gap:12px;font-size:13px}.prod-revision-links a{color:var(--link)}.prod-material-choice{display:flex;flex-direction:column;gap:5px;min-width:0;padding:6px;color:var(--text-secondary);background:var(--bg-muted);border:1px solid transparent;border-radius:7px;text-align:left;font-size:11px}.prod-material-choice img,.prod-material-file{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:4px;background:var(--bg-inset)}.prod-material-file{display:grid;place-items:center;color:var(--text-muted)}.prod-material-choice span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-material-choice--selected{border-color:var(--accent);background:var(--accent-muted-bg)}.prod-multi-assignee{margin:12px 0 0;border:1px solid var(--border);border-radius:8px}.prod-multi-assignee legend{color:var(--text-muted);font-size:12px;padding:0 5px}.prod-multi-assignee-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:2px 4px 7px}.prod-multi-assignee-search{flex:1 1 180px;min-width:160px;width:auto!important;max-width:none;margin:0}.prod-multi-assignee-role{flex:0 0 150px;width:150px!important;min-width:140px;max-width:180px;margin:0}.prod-multi-assignee-bulk{flex-shrink:0;white-space:nowrap}.prod-multi-assignee-list{max-height:210px;overflow:auto}.prod-multi-assignee-item{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;width:100%;padding:9px 10px;margin:3px 0;color:var(--text-secondary);border:1px solid var(--border);border-radius:8px;background:var(--bg-muted);text-align:left}.prod-multi-assignee-item small{color:var(--text-faint)}.prod-multi-assignee-item:hover{border-color:var(--accent)}.prod-multi-assignee-item--selected{border-color:var(--accent);background:var(--accent-muted-bg);color:var(--text-primary)}.prod-multi-assignee-mark{width:10px;height:10px;border:2px solid var(--text-faint);border-radius:50%}.prod-multi-assignee-item--selected .prod-multi-assignee-mark{border-color:var(--accent);background:var(--accent);box-shadow:0 0 0 3px var(--accent-muted-bg)}.prod-episode-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.prod-episode-detail-head h2{margin:8px 0}.prod-episode-detail-meta{display:flex;flex-wrap:wrap;gap:16px;color:var(--text-muted);font-size:13px}.prod-episode-director-comment{max-width:760px;white-space:pre-wrap;line-height:1.5}.prod-episode-head-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.prod-episode-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;margin-top:14px;align-items:start}.prod-episode-task-list{display:flex;flex-direction:column;gap:12px}.prod-episode-task-card{min-width:0}.prod-episode-task-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.prod-episode-task-head h3{margin:0 0 5px}.prod-task-assignee-names{color:var(--text-muted);font-size:12px}.prod-task-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.prod-add-version{margin-top:12px}.prod-task-photos{margin-top:12px;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--bg-muted)}.prod-task-photos-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.prod-task-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.prod-task-photo{display:flex;min-width:0;flex-direction:column;gap:6px;padding:7px;border:1px solid var(--border-row);border-radius:7px;background:var(--bg-surface)}.prod-task-photo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}.prod-task-photo span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.prod-version-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-top:12px}.prod-version-card{min-width:0;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--bg-muted)}.prod-version-card>video{width:100%;aspect-ratio:16 / 9;object-fit:contain;border-radius:6px;background:#000}.prod-version-card-head{display:flex;gap:6px;margin-top:8px}.prod-version-card-head input{min-width:0}.prod-version-number-input{width:70px!important;flex:0 0 70px}.prod-version-meta{margin:5px 0 10px;font-size:11px;color:var(--text-muted)}.prod-version-text{min-height:44px;padding:7px;border:1px solid var(--border-row);border-radius:5px;white-space:pre-wrap;font-size:12px;line-height:1.4}.prod-version-spoiler{margin-top:6px;border:1px solid var(--border-row);border-radius:5px}.prod-version-spoiler>summary{display:flex;align-items:center;gap:8px;padding:5px 8px;font-size:12px;color:var(--text-muted);cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.prod-version-spoiler>summary::-webkit-details-marker{display:none}.prod-version-spoiler>summary:before{content:"▸";font-size:11px;transition:transform .15s ease}.prod-version-spoiler[open]>summary:before{transform:rotate(90deg)}.prod-version-spoiler>summary:hover{color:var(--text-primary)}.prod-version-spoiler-label{font-weight:600}.prod-version-spoiler-hint{margin-left:auto;font-size:11px;opacity:.7}.prod-version-spoiler>.prod-version-text{min-height:0;border:0;border-top:1px solid var(--border-row);border-radius:0 0 5px 5px;max-height:320px;overflow:auto}.prod-version-actions{display:flex;gap:7px;align-items:center;margin-top:9px}.prod-version-empty{color:var(--text-muted);padding:20px;border:1px dashed var(--border-dashed);border-radius:8px}.prod-episode-team{position:sticky;top:70px}.prod-episode-team h3{margin-top:0;text-transform:uppercase;font-size:14px}.prod-team-section{display:flex;flex-direction:column;gap:7px;margin-top:14px}.prod-team-member{display:flex;align-items:center;gap:8px}.prod-team-member div{display:flex;flex-direction:column;min-width:0}.prod-team-member small{color:var(--text-muted);overflow:hidden;text-overflow:ellipsis}.prod-mode-tabs{display:flex;gap:7px;margin-bottom:12px}.prod-version-modal{width:min(760px,calc(100vw - 24px));max-height:90vh;overflow:auto}.prod-generation-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;max-height:380px;overflow:auto;margin-top:10px}.prod-generation-choice{display:grid;grid-template-columns:auto 1fr;gap:6px;padding:7px;border:1px solid var(--border);border-radius:8px;cursor:pointer}.prod-generation-choice.selected{border-color:var(--accent);background:var(--accent-muted-bg)}.prod-generation-choice video{grid-column:1 / -1;width:100%;aspect-ratio:16 / 9;object-fit:cover;background:#000}.prod-generation-choice span{grid-column:1 / -1;font-size:11px;max-height:48px;overflow:hidden}.prod-materials-browser{display:flex;flex-direction:column;gap:10px}.prod-materials-search{display:flex;gap:8px;align-items:center;padding:10px}.prod-materials-search input{flex:1;min-width:0}.prod-materials-results h3{margin-top:0}.prod-materials-result-folders{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.prod-materials-browser .materials-layout{min-height:58vh}.prod-materials-browser .materials-card-img{display:block;width:100%;padding:0;border:0;border-radius:0;background:var(--bg-inset);overflow:hidden}.prod-materials-results button.materials-card{padding:0;color:inherit;text-align:left;background:var(--bg-surface)}.prod-material-preview-backdrop{z-index:1300}.prod-material-preview{width:min(1000px,calc(100vw - 32px));max-height:92vh;display:flex;flex-direction:column;gap:12px}.prod-material-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.prod-material-preview>img,.prod-material-preview>video{width:100%;min-height:0;max-height:76vh;object-fit:contain;border-radius:8px;background:#000}.prod-material-preview>audio{width:100%;margin:40px 0}.prod-version-open{display:inline-flex;margin-top:7px;color:var(--link);font-size:12px}.prod-player-page{display:flex;flex-direction:column;gap:10px}.prod-player-topline{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}.prod-player-topline>*+*:before{content:"/";margin-right:10px;color:var(--text-faint)}.prod-player-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);min-height:620px;overflow:hidden;border-radius:24px;background:#050505;color:#f4f4f4}.prod-player-stage{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:28px}.prod-player-stage>video{width:100%;max-height:65vh;aspect-ratio:16 / 9;object-fit:contain;background:#000}.prod-player-controls{display:flex;justify-content:center;align-items:center;gap:14px;padding:12px 0 4px}.prod-player-skip{min-width:42px;border:0;color:#7ca0ff;background:transparent;font-size:19px}.prod-player-skip:disabled{opacity:.25}.prod-player-caption{display:flex;flex-direction:column;gap:4px;padding-top:10px}.prod-player-caption span{color:#aaa;font-size:12px}.prod-player-caption p{margin:6px 0 0;color:#ccc;font-size:12px;line-height:1.5}.prod-player-comments{display:flex;min-height:0;flex-direction:column;padding:20px 16px;border-left:1px solid #222;background:#090909}.prod-player-comments h3{margin:0 0 14px;font-size:14px;font-weight:500;text-transform:uppercase}.prod-player-comment-list{flex:1;min-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:9px}.prod-player-comment{padding:10px;border-radius:8px;color:#222;background:#d7d7d7}.prod-player-comment>div{display:flex;justify-content:space-between;gap:8px}.prod-player-comment time{color:#666;font-size:10px}.prod-player-comment p{margin:7px 0;white-space:pre-wrap;line-height:1.4}.prod-player-comment-form{display:flex;flex-direction:column;gap:8px;padding-top:12px}.prod-player-comment-form textarea{resize:vertical;color:#111;border-color:#aaa;background:#d7d7d7}@media (max-width: 900px){.prod-split{flex-direction:column}.prod-split-left{width:100%!important;max-height:40vh}.prod-split-handle{display:none}.prod-episode-detail-head{flex-direction:column}.prod-episode-detail-grid{grid-template-columns:1fr}.prod-episode-team{position:static}.prod-player-shell{grid-template-columns:1fr;border-radius:16px}.prod-player-comments{border-top:1px solid #222;border-left:0}.prod-player-stage{padding:14px}.prod-materials-browser .materials-layout{grid-template-columns:1fr}}.prod-shot-refs,.prod-shot-versions{margin-top:12px}.prod-shot-refs-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.prod-shot-refs-head h3{margin:0;font-size:15px}.prod-shot-refs-actions{display:flex;gap:8px;flex-wrap:wrap}.prod-shot-refs-grid{display:flex;flex-wrap:wrap;gap:10px}.prod-shot-ref{display:flex;flex-direction:column;gap:4px;width:108px;padding:0;border:none;background:transparent;cursor:zoom-in;text-align:left}.prod-shot-ref-media{position:relative;display:block;width:108px;height:76px;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--bg-deep)}.prod-shot-ref-media img{width:100%;height:100%;object-fit:cover;display:block}.prod-shot-ref-index{position:absolute;top:4px;left:4px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#000000b8;color:#fff;font-size:11px;font-weight:700;line-height:1;pointer-events:none}.prod-shot-ref-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--text-muted)}.prod-shot-versions .prod-version-grid{margin-top:4px}.prod-version-card--tm .prod-version-tm-image{width:100%;aspect-ratio:16 / 9;object-fit:contain;border-radius:6px;background:#000;display:block}.prod-video-poster{position:relative;display:block;width:100%;height:100%;background:#000;overflow:hidden}.prod-video-poster img{display:block;width:100%;height:100%;object-fit:cover}.prod-video-poster-fallback{display:block;width:100%;height:100%;background:linear-gradient(135deg,#14151b,#22232b)}.prod-video-poster-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#0000008c;color:#fff;font-size:11px;pointer-events:none}.prod-episode-preview-cell .prod-video-poster{aspect-ratio:16 / 9;max-height:110px;border-radius:6px}.prod-asset-thumb .prod-video-poster-play{width:16px;height:16px;font-size:8px}.material-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:40px;background:var(--bg-muted);color:var(--text-muted);font-size:18px}.prod-final-card .prod-video-poster{aspect-ratio:16 / 9}.prod-version-card .lazy-video-wrap{width:100%;border-radius:6px;overflow:hidden;background:#000}.prod-version-card .lazy-video-wrap .lazy-media-el,.prod-version-card .lazy-video-wrap .lazy-media-placeholder{width:100%;aspect-ratio:16 / 9;object-fit:contain;background:#000}.prod-montage-card .lazy-video-wrap{width:100%;border-radius:8px;overflow:hidden;background:#000}.prod-montage-card .lazy-video-wrap .lazy-media-el,.prod-montage-card .lazy-video-wrap .lazy-media-placeholder{width:100%;aspect-ratio:16 / 9;object-fit:contain;background:#000}.prod-zoom-root{display:flex;flex-direction:column;gap:16px}.prod-zoom-root>*{margin:0}.prod-toolbar-refresh{margin-left:10px;font-size:12px}.prod-shot-row,.prod-scene-row{scroll-margin-top:56px}@keyframes prod-row-flash{0%{background:color-mix(in srgb,var(--accent) 28%,transparent)}to{background:transparent}}.prod-episode-table tr.prod-row--highlight>td{animation:prod-row-flash 1.8s ease-out forwards}.prod-episode-table tr.prod-scene-row>td{background:var(--bg-muted);border-top:2px solid var(--accent);vertical-align:middle}.prod-scene-row-number{white-space:nowrap}.prod-scene-number{display:flex;flex-direction:column;gap:2px}.prod-scene-number strong{font-size:15px;color:var(--accent)}.prod-scene-number span{font-size:11px;text-transform:uppercase;letter-spacing:.04em}.prod-scene-body{display:flex;gap:18px;align-items:flex-start}.prod-scene-description{flex:1 1 auto;min-width:0;white-space:pre-wrap;line-height:1.45}.prod-scene-assets{flex:0 0 auto;max-width:42%}.prod-shots-layout{display:grid;grid-template-columns:172px minmax(0,1fr);gap:12px;align-items:start}.prod-shots-layout--collapsed{grid-template-columns:40px minmax(0,1fr)}.prod-shots-layout--no-sidebar{grid-template-columns:minmax(0,1fr)}.prod-shots-main{min-width:0}.prod-scene-sidebar{position:sticky;top:8px;max-height:calc(100vh - 96px);display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);overflow:hidden}.prod-scene-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 8px 6px 10px;border-bottom:1px solid var(--border-row)}.prod-scene-sidebar--collapsed .prod-scene-sidebar-head{justify-content:center;padding:8px 4px 6px}.prod-scene-sidebar-title{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:600}.prod-scene-sidebar-toggle{min-height:0;height:22px;width:22px;padding:0;border-radius:6px;border:1px solid var(--border);background:transparent;color:var(--text-muted);font-size:13px;line-height:1;cursor:pointer}.prod-scene-sidebar-toggle:hover{color:var(--accent);border-color:var(--accent)}.prod-scene-sidebar-list{display:flex;flex-direction:column;gap:2px;padding:6px;overflow-y:auto;min-height:0}.prod-scene-sidebar-item{display:flex;align-items:center;gap:8px;min-height:0;height:auto;width:100%;padding:5px 8px;border-radius:7px;border:1px solid transparent;background:transparent;color:var(--text-muted);font-size:12px;text-align:left;cursor:pointer}.prod-scene-sidebar-item:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-muted-bg)}.prod-scene-sidebar-item--active{color:var(--text-primary);background:var(--bg-muted);border-color:var(--border)}.prod-scene-sidebar-item--active .prod-scene-sidebar-num{color:var(--accent)}.prod-scene-sidebar-num{font-weight:700;flex:0 0 auto;min-width:18px}.prod-scene-sidebar-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-scene-sidebar-count{margin-left:auto;flex:0 0 auto;font-size:11px;opacity:.7}.prod-scene-sidebar--collapsed .prod-scene-sidebar-list{padding:4px}.prod-scene-sidebar--collapsed .prod-scene-sidebar-item{justify-content:center;padding:5px 2px;gap:0}.prod-scene-sidebar--collapsed .prod-scene-sidebar-num{min-width:0;font-size:11px}@media (max-width: 900px){.prod-shots-layout,.prod-shots-layout--collapsed{grid-template-columns:minmax(0,1fr)}.prod-scene-sidebar{position:static;max-height:none;flex-direction:row;align-items:center}.prod-scene-sidebar-head{border-bottom:0;border-right:1px solid var(--border-row)}.prod-scene-sidebar-toggle{display:none}.prod-scene-sidebar-list{flex-direction:row;flex-wrap:wrap;overflow:visible}.prod-scene-sidebar-item{width:auto}.prod-scene-sidebar-name,.prod-scene-sidebar-count{display:none}}.prod-inline-cell{position:relative;min-height:18px;padding-right:20px;white-space:pre-wrap;word-break:break-word}.prod-inline-cell-value{min-width:0}.prod-inline-cell-edit{position:absolute;top:-2px;right:0;width:20px;height:20px;min-height:0;padding:0;border:0;border-radius:5px;background:transparent;color:var(--text-muted);font-size:12px;line-height:20px;opacity:0;cursor:pointer;transition:opacity .12s}.prod-inline-cell--editable:hover .prod-inline-cell-edit,.prod-inline-cell-edit:focus-visible{opacity:1}.prod-inline-cell-edit:hover{background:var(--accent-muted-bg);color:var(--accent)}.prod-inline-edit{display:flex;flex-direction:column;gap:6px;min-width:160px}.prod-inline-edit textarea,.prod-inline-edit input{width:100%;font-size:13px;line-height:1.4;padding:6px 8px;resize:vertical}.prod-inline-edit-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.prod-inline-edit-actions button{min-height:0;padding:4px 10px;font-size:12px}.prod-inline-edit-hint{font-size:11px}.prod-inline-edit-error{font-size:12px}.prod-shot-number-inline{display:inline-block;padding-right:18px}.prod-shot-number-inline .prod-inline-cell-value{display:inline}.prod-shot-number-inline .prod-inline-cell-edit{top:-1px}.prod-shot-number-inline.prod-inline-edit{min-width:120px}.prod-storyboard-thumb-btn{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.prod-storyboard-thumb-btn img{display:block;width:100%;height:100%;object-fit:cover}.prod-columns-menu{position:relative}.prod-columns-menu-list{position:absolute;top:calc(100% + 6px);right:0;z-index:60;min-width:220px;display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px var(--shadow-md)}.prod-columns-menu-item{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:6px;font-size:13px;cursor:pointer}.prod-columns-menu-item:hover{background:var(--bg-muted)}.prod-columns-menu-item input{margin:0}.prod-columns-menu-list>button{margin-top:4px;min-height:0;padding:5px 10px;font-size:12px}.prod-column-hide{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:16px;height:16px;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:var(--text-muted);font-size:13px;line-height:16px;opacity:0;cursor:pointer}.prod-episode-table th:hover .prod-column-hide{opacity:1}.prod-column-hide:hover{color:var(--danger, #e5484d);background:var(--bg-surface)}.prod-scale-select{display:inline-flex;align-items:center;gap:6px;font-size:12px}.prod-scale-select select{min-height:0;padding:5px 8px;font-size:12px}.prod-material-preview-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.prod-material-preview-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-material-preview-counter{font-size:12px}.prod-material-preview-original{display:inline-flex;align-items:center;padding:6px 12px;border-radius:8px;border:1px solid var(--border);color:var(--text);text-decoration:none;font-size:13px}.prod-material-preview-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0}.prod-material-preview-stage>img,.prod-material-preview-stage>video{width:100%;min-height:0;max-height:76vh;object-fit:contain;border-radius:8px;background:#000}.prod-material-preview-stage>audio{width:100%;margin:40px 0}.prod-material-preview-image{position:relative;display:block;width:100%;min-height:0}.prod-material-preview-image>img{display:block;width:100%;min-height:0;max-height:76vh;object-fit:contain;border-radius:8px;background:#000}.prod-material-preview-image:not(.prod-material-preview-image--loaded)>.prod-material-preview-original-img{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;opacity:0}.prod-material-preview-image:not(.prod-material-preview-image--loaded)>.prod-material-preview-placeholder{filter:blur(.5px)}.prod-material-preview-image--loaded>.prod-material-preview-original-img{animation:prod-preview-fade-in .18s ease}@keyframes prod-preview-fade-in{0%{opacity:.4}to{opacity:1}}.prod-material-preview-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:64px;min-height:0;padding:0;border:0;border-radius:10px;background:#00000073;color:#fff;font-size:34px;line-height:1;cursor:pointer;opacity:.75}.prod-material-preview-nav:hover{opacity:1;background:#000000b3}.prod-material-preview-nav--prev{left:8px}.prod-material-preview-nav--next{right:8px}.prod-material-preview--gallery{width:min(1280px,calc(100vw - 32px))}.prod-version-card--gen .prod-version-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.prod-version-gen-status{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:var(--bg-muted);color:var(--text-muted)}.prod-version-gen-status--processing,.prod-version-gen-status--pending{color:var(--accent);background:var(--accent-muted-bg)}.prod-version-gen-status--completed{color:var(--success, #3fb950);background:color-mix(in srgb,var(--success, #3fb950) 14%,transparent)}.prod-version-gen-status--failed,.prod-version-gen-status--cancelled{color:var(--danger, #e5484d);background:color-mix(in srgb,var(--danger, #e5484d) 14%,transparent)}.prod-version-gen-progress,.prod-version-gen-failed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:140px;aspect-ratio:16 / 9}.prod-version-gen-failed{color:var(--danger, #e5484d)}.prod-version-gen-error{font-size:12px;color:var(--text-muted);text-align:center;padding:0 12px;max-height:3.6em;overflow:hidden}.prod-version-gen-badge{font-weight:600;font-size:13px}@keyframes prod-gen-spin{to{transform:rotate(360deg)}}.prod-version-gen-spinner{width:26px;height:26px;border-radius:50%;border:3px solid color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent);animation:prod-gen-spin .9s linear infinite}@media (min-width: 1800px){.materials-grid{grid-template-columns:repeat(auto-fill,minmax(clamp(200px,12vw,300px),1fr))}.materials-grid--picker{grid-template-columns:repeat(auto-fill,minmax(clamp(110px,7vw,160px),1fr))}.materials-layout{grid-template-columns:minmax(240px,18vw) 1fr}.materials-layout--picker .materials-sidebar,.materials-layout--picker .materials-main,.prod-material-picker-results{max-height:min(60vh,720px)}.prod-episode-modal{width:min(1200px,calc(100vw - 24px))}}.main--scenarist{max-width:none;padding:0;overflow:hidden;height:calc(100vh - 56px);box-sizing:border-box}.main--scenarist>*{max-width:none!important;margin:0!important;height:100%}.wb-page{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;background:var(--studio-bg);color:var(--studio-text);overflow:hidden}.wb-page--figma{overflow:hidden}.wb-shell{display:flex;flex:1;min-height:0;overflow:hidden}.wb-left-panel{width:240px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--studio-border);background:var(--studio-surface);z-index:3;overflow:hidden;overflow-x:hidden;box-sizing:border-box}.wb-right-panel{width:280px;flex-shrink:0;border-left:1px solid var(--studio-border);background:var(--studio-surface);z-index:3;overflow:auto;padding:12px}.wb-right-empty{color:var(--studio-text-muted);font-size:13px;padding:24px 8px;text-align:center}.wb-right-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.wb-right-head h3{margin:0;font-size:15px}.wb-right-type{font-size:11px;color:var(--studio-text-muted);text-transform:uppercase}.wb-prop-section{border-top:1px solid var(--studio-border);padding:12px 0}.wb-prop-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-muted);margin-bottom:8px}.wb-prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wb-prop-row{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;font-size:12px}.wb-prop-label{color:var(--studio-text-muted)}.wb-prop-input{background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:8px;color:var(--studio-text);padding:6px 8px;font:inherit;width:100%}.wb-prop-input--hex{font-family:ui-monospace,monospace;font-size:12px}.wb-color-field-controls{display:flex;align-items:center;gap:8px}.wb-color-input{width:36px;height:32px;padding:0;border:1px solid var(--studio-border);border-radius:8px;background:transparent;cursor:pointer}.wb-side-section{display:flex;flex-direction:column;border-bottom:1px solid var(--studio-border);min-height:140px;max-height:42%;overflow-x:hidden;box-sizing:border-box}.wb-side-section--grow{flex:1;max-height:none;min-height:0;border-bottom:none}.wb-side-section-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 6px}.wb-side-section-head h3{margin:0;font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-secondary)}.wb-side-section-actions{display:flex;gap:2px}.wb-icon-btn{width:28px;height:28px;border:none;background:transparent;color:var(--studio-text-muted);border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wb-icon-btn:hover{background:var(--studio-surface-hover);color:var(--studio-text)}.wb-side-search{box-sizing:border-box;display:block;width:calc(100% - 24px);max-width:100%;margin:0 12px 8px;background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:8px;color:var(--studio-text);padding:6px 8px;font-size:12px}.wb-page-list,.wb-layer-list{list-style:none;margin:0;padding:0 8px 10px;overflow:auto;flex:1}.wb-page-list li{display:flex;align-items:center;gap:4px}.wb-page-item,.wb-layer-item{flex:1;display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:none;background:transparent;color:var(--studio-text-secondary);padding:7px 8px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px}.wb-page-item.is-active,.wb-layer-item.is-active{background:var(--studio-accent-soft);color:var(--studio-text)}.wb-page-item:hover,.wb-layer-item:hover{background:var(--studio-surface-hover)}.wb-page-delete{border:none;background:transparent;color:var(--studio-text-muted);cursor:pointer;width:24px;height:24px;border-radius:6px}.wb-page-delete:hover{color:var(--studio-danger)}.wb-layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-layer-row{display:flex;align-items:center;gap:2px;padding-left:6px}.wb-layer-chevron{flex-shrink:0;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;color:var(--studio-text-muted);border:none;background:transparent;border-radius:4px;cursor:pointer;padding:0}.wb-layer-chevron-spacer{flex-shrink:0;width:20px;height:20px}.wb-layer-chevron:hover{color:var(--studio-text);background:var(--studio-surface-hover)}.wb-layer-group-mark{width:6px;height:6px;border-radius:50%;background:var(--studio-accent);flex-shrink:0}.wb-layer-empty{padding:12px;color:var(--studio-text-muted);font-size:12px}.wb-top-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-text-secondary);border-radius:10px;padding:6px 10px;font-size:12px;cursor:pointer}.wb-top-btn:hover{color:var(--studio-text);border-color:var(--studio-border-strong)}.wb-topbar-right{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.wb-presence-avatars{display:flex;align-items:center;gap:4px}.wb-presence-dot{width:8px;height:8px;border-radius:50%;background:var(--studio-text-faint)}.wb-presence-dot.is-on{background:var(--studio-success)}.wb-presence-chip{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff}.wb-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--studio-overlay);z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.wb-modal{width:min(480px,100%);background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);padding:16px;box-shadow:0 20px 60px var(--studio-shadow)}.wb-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.wb-modal-head h2{margin:0;font-size:18px}.wb-share-form{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-bottom:16px}.wb-share-combobox{position:relative;min-width:0}.wb-share-combobox input{width:100%}.wb-share-suggest{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);margin:0;padding:4px;list-style:none;max-height:220px;overflow:auto;background:var(--studio-surface, #1c1c1e);border:1px solid var(--studio-border);border-radius:8px;box-shadow:0 8px 24px #00000059}.wb-share-suggest button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;border:0;background:transparent;color:var(--studio-text);text-align:left;padding:8px 10px;border-radius:6px;cursor:pointer;font:inherit}.wb-share-suggest button:hover{background:var(--studio-surface-soft, rgba(255, 255, 255, .06))}.wb-share-suggest span{font-size:12px;color:var(--studio-muted, #9a9a9a)}.wb-share-form input,.wb-share-form select{background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:8px;color:var(--studio-text);padding:8px 10px;font:inherit}.wb-member-list{list-style:none;margin:0;padding:0}.wb-member-list li{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--studio-border);font-size:13px}.wb-member-list strong{display:block}.wb-member-list span,.wb-member-list em{color:var(--studio-text-muted);font-style:normal;font-size:12px}.wb-link-danger{margin-left:auto;border:none;background:transparent;color:var(--studio-danger);cursor:pointer;font-size:12px}.wb-cursors{position:absolute;left:0;top:0;pointer-events:none;z-index:20}.wb-cursor{position:absolute;left:0;top:0;will-change:transform;transition:transform 80ms linear}.wb-cursor-label{display:inline-block;margin-left:14px;margin-top:-4px;padding:2px 6px;border-radius:6px;color:#fff;font-size:11px;white-space:nowrap;box-shadow:0 1px 3px #00000059}.wb-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:var(--studio-bg);display:flex;flex-direction:column}.wb-preview-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--studio-border);background:var(--studio-surface)}.wb-preview-stage{flex:1;position:relative;overflow:auto}.wb-preview-hotspot{cursor:pointer}.wb-preview-hotspot:hover .wb-item-outline,.wb-preview-hotspot:hover{outline:2px solid var(--studio-accent)}.wb-topbar{display:flex;align-items:center;gap:var(--studio-space-3);padding:var(--studio-space-2) var(--studio-space-4);border-bottom:1px solid var(--studio-border);background:var(--studio-surface);flex-shrink:0;z-index:5}.wb-back{display:inline-flex;align-items:center;gap:6px;color:var(--studio-text-secondary);text-decoration:none;font-size:13px;padding:6px 10px;border-radius:var(--studio-radius-sm);border:1px solid transparent;transition:background var(--studio-transition),color var(--studio-transition)}.wb-back:hover{color:var(--studio-text);background:var(--studio-surface-hover);border-color:var(--studio-border)}.wb-title-input{flex:1;max-width:420px;background:transparent;border:1px solid transparent;border-radius:var(--studio-radius-sm);color:var(--studio-text);font-size:15px;font-weight:600;padding:6px 10px;outline:none}.wb-title-input:hover,.wb-title-input:focus{border-color:var(--studio-border);background:var(--studio-surface-soft)}.wb-stage{position:relative;flex:1;min-height:0;overflow:hidden}.wb-toolbar--float{position:absolute;left:12px;right:12px;bottom:20px;top:auto;transform:none;z-index:4;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;padding:0;background:transparent;border:none;border-radius:0;box-shadow:none;max-width:none;overflow:visible;pointer-events:none;box-sizing:border-box}.wb-toolbar-group{display:flex;flex-direction:row;align-items:center;gap:4px;pointer-events:auto;max-width:100%;padding:6px;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);box-shadow:0 12px 40px var(--studio-shadow);box-sizing:border-box}.wb-toolbar--float .wb-tool-btn{width:44px;height:44px;border-radius:10px;flex-shrink:0}.wb-toolbar-tools{padding-bottom:0;border-bottom:none}.wb-toolbar-colors{gap:8px}.wb-toolbar-label{font-size:10px;color:var(--studio-text-muted);text-transform:uppercase;letter-spacing:.04em}.wb-tool-btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--studio-text-secondary);cursor:pointer;transition:background var(--studio-transition),color var(--studio-transition),border-color var(--studio-transition);flex-shrink:0}.wb-tool-btn:hover:not(:disabled){background:var(--studio-surface-hover);color:var(--studio-text)}.wb-tool-btn.is-active{background:var(--studio-accent-soft);color:var(--studio-accent);border-color:var(--studio-accent)}.wb-tool-btn:disabled{opacity:.35;cursor:not-allowed}.wb-tool-btn--danger:hover:not(:disabled){color:var(--studio-danger);background:var(--studio-danger-soft)}.wb-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.wb-swatches--text{grid-template-columns:repeat(5,1fr)}.wb-swatch{width:28px;height:28px;border-radius:8px;border:2px solid var(--studio-border);cursor:pointer;padding:0}.wb-swatch.is-active{border-color:var(--studio-accent);box-shadow:0 0 0 2px var(--studio-focus-ring)}.wb-save-status{font-size:12px;color:var(--studio-text-muted);text-align:right;white-space:nowrap}.wb-save-status--saving{color:var(--studio-text-secondary)}.wb-save-status--saved{color:var(--studio-success)}.wb-save-status--error{color:var(--studio-danger)}.wb-context-menu{position:fixed;z-index:80;min-width:220px;padding:6px;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);box-shadow:0 12px 40px var(--studio-shadow);display:flex;flex-direction:column;gap:2px}.wb-context-item{display:flex;align-items:center;gap:10px;width:100%;border:none;background:transparent;color:var(--studio-text);padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px;text-align:left}.wb-context-item:hover:not(:disabled){background:var(--studio-surface-hover)}.wb-context-item:disabled{opacity:.4;cursor:not-allowed}.wb-context-item--danger:hover:not(:disabled){color:var(--studio-danger);background:var(--studio-danger-soft)}.wb-context-item span:last-child{margin-left:auto;color:var(--studio-text-muted);font-size:11px}.wb-context-sep{height:1px;margin:4px 6px;background:var(--studio-border)}.wb-context-font{display:flex;align-items:center;gap:4px;padding:2px 6px}.wb-context-font .wb-tool-btn{width:36px;height:36px}.wb-font-size{min-width:28px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:var(--studio-text-secondary)}.wb-context-hint{width:100%;text-align:center;font-size:11px;color:var(--studio-text-muted);padding:6px 8px 4px;border-top:1px solid var(--studio-border);margin-top:2px}.wb-zoom-controls{position:absolute;right:20px;bottom:20px;z-index:6;display:flex;align-items:center;gap:4px;padding:6px;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);box-shadow:0 8px 24px var(--studio-shadow)}.wb-zoom-controls .wb-tool-btn{width:40px;height:40px}.wb-zoom-label{min-width:52px;height:40px;border:none;background:transparent;color:var(--studio-text-secondary);font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer;border-radius:8px}.wb-zoom-label:hover{background:var(--studio-surface-hover);color:var(--studio-text)}.wb-canvas{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;touch-action:none;outline:none;background:radial-gradient(ellipse at top,rgba(84,116,255,.06),transparent 55%),var(--studio-bg)}.wb-canvas-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.35;background-image:linear-gradient(var(--studio-border) 1px,transparent 1px),linear-gradient(90deg,var(--studio-border) 1px,transparent 1px);background-size:32px 32px;-webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%);mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%)}.wb-world{position:absolute;left:0;top:0;transform-origin:0 0}.wb-item{position:absolute;box-sizing:border-box;-webkit-user-select:none;user-select:none;overflow:visible;cursor:move}.wb-item--vector{background:transparent;border:none;overflow:visible}.wb-item.is-selected{outline:none}.wb-item.is-editing{cursor:text}.wb-item-outline{position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border:2px solid var(--studio-accent);border-radius:4px;pointer-events:none;z-index:1}.wb-item.is-editing .wb-item-outline{border-color:var(--studio-success)}.wb-shape-svg{display:block;overflow:visible;pointer-events:none}.wb-svg-text{width:100%;height:100%;overflow:hidden;white-space:pre-wrap;word-break:break-word;font-family:inherit;box-sizing:border-box}.wb-item--rect,.wb-item--ellipse,.wb-item--text{background:transparent!important}.wb-item--text.is-selected .wb-item-outline{outline-offset:0}.wb-item--image{background:transparent}.wb-image-el{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none}.wb-canvas.is-drop-active:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:2px dashed var(--studio-accent);border-radius:8px;background:color-mix(in srgb,var(--studio-accent) 8%,transparent);pointer-events:none;z-index:20}.wb-upload-busy{position:absolute;left:50%;bottom:24px;transform:translate(-50%);padding:6px 14px;border-radius:999px;background:var(--studio-surface, #1a1d24);border:1px solid var(--studio-border, #2a3142);color:var(--studio-text, #f4f4f4);font-size:12px;z-index:21;pointer-events:none}.wb-item--connector{overflow:visible;background:transparent;border:none;pointer-events:auto;cursor:move}.wb-item--connector.is-selected{outline:none}.wb-item--connector.is-selected .wb-connector-svg line:last-child{filter:drop-shadow(0 0 2px var(--studio-accent))}.wb-connector-svg{display:block;overflow:visible;pointer-events:stroke}.wb-item-text{width:100%;height:100%;white-space:pre-wrap;word-break:break-word;line-height:1.35;pointer-events:none}.wb-item-editor{width:100%;height:100%;resize:none;border:none;outline:none;background:transparent;font:inherit;color:inherit;padding:0;line-height:1.35;box-sizing:border-box}.wb-item-editor--overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.wb-marquee{position:absolute;left:0;top:0;border:1px solid var(--studio-accent);background:#5474ff1f;pointer-events:none;z-index:30;box-sizing:border-box;will-change:transform}.wb-frame-clip{position:absolute;overflow:hidden;pointer-events:none}.wb-frame-clip .wb-item{pointer-events:auto}.wb-frame-label{position:absolute;top:-22px;left:0;max-width:100%;font-size:11px;line-height:16px;color:var(--studio-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;cursor:default}.wb-frame-label.is-selected{color:var(--studio-accent)}.wb-item--frame:hover .wb-frame-label{color:var(--studio-text)}.wb-handle{position:absolute;width:14px;height:14px;background:var(--studio-accent);border:2px solid #fff;border-radius:3px;z-index:3}.wb-handle:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}.wb-handle--nw{left:-7px;top:-7px;cursor:nwse-resize}.wb-handle--ne{right:-7px;top:-7px;cursor:nesw-resize}.wb-handle--sw{left:-7px;bottom:-7px;cursor:nesw-resize}.wb-handle--se{right:-7px;bottom:-7px;cursor:nwse-resize}.wb-state{margin:auto;padding:var(--studio-space-6);text-align:center;color:var(--studio-text-muted)}.wb-state--error{color:var(--studio-danger);display:flex;flex-direction:column;align-items:center;gap:var(--studio-space-4)}.wb-list-page{max-width:960px;margin:0 auto;padding:var(--studio-space-6) var(--studio-space-4) var(--studio-space-8)}.wb-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--studio-space-4);margin-bottom:var(--studio-space-6)}.wb-list-header h1{margin:0 0 6px;font-size:28px;font-weight:650;letter-spacing:-.02em}.wb-list-header p{margin:0;color:var(--studio-text-muted);font-size:14px}.wb-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--studio-space-4)}.wb-list-card{display:flex;flex-direction:column;gap:var(--studio-space-3);padding:var(--studio-space-4);background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);text-decoration:none;color:inherit;transition:border-color var(--studio-transition),background var(--studio-transition);cursor:pointer;text-align:left;width:100%;font:inherit}.wb-list-card:hover{border-color:var(--studio-border-strong);background:var(--studio-surface-raised)}.wb-list-card-title{font-size:16px;font-weight:600;margin:0}.wb-list-card-meta{font-size:12px;color:var(--studio-text-muted);margin:0}.wb-list-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:var(--studio-space-2)}.wb-list-card-actions button{font-size:12px;padding:4px 8px;border-radius:var(--studio-radius-sm);border:1px solid var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-text-secondary);cursor:pointer;min-width:0;white-space:nowrap}.wb-list-card-actions button:hover{color:var(--studio-text);border-color:var(--studio-border-strong)}.wb-list-card-actions button.danger:hover{color:var(--studio-danger);border-color:var(--studio-danger)}.wb-list-empty{grid-column:1 / -1;padding:var(--studio-space-8);text-align:center;color:var(--studio-text-muted);border:1px dashed var(--studio-border);border-radius:var(--studio-radius)}.main--boards,.main--boards.studio-main--full-bleed{padding:0!important;max-width:none!important;height:calc(100vh - 56px);box-sizing:border-box}@media (max-width: 720px){.wb-toolbar--float{left:8px;right:8px;bottom:16px}.wb-zoom-controls{bottom:16px;right:12px}.wb-toolbar--float .wb-tool-btn{width:36px;height:36px}.wb-toolbar-group,.wb-toolbar-tools{flex-direction:row;border-bottom:none;padding-bottom:0}.wb-swatches{grid-template-columns:repeat(6,1fr)}}.main--boards{max-width:none;padding:0;overflow:hidden;height:calc(100vh - 56px);box-sizing:border-box}.tm-shell{display:flex;height:100%;min-height:0;background:var(--studio-bg);color:var(--studio-text);overflow:hidden}.tm-sidebar{width:260px;flex-shrink:0;display:flex;flex-direction:column;gap:var(--studio-space-3);padding:var(--studio-space-4);border-right:1px solid var(--studio-border);background:var(--studio-surface);overflow:auto}.tm-sidebar-search{position:relative}.tm-sidebar-search input{width:100%;box-sizing:border-box;background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);color:var(--studio-text);padding:9px 12px 9px 34px;font:inherit;font-size:13px}.tm-sidebar-search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--studio-text-faint);pointer-events:none}.tm-nav-section{display:flex;flex-direction:column;gap:2px}.tm-nav-label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--studio-text-faint);padding:8px 10px 4px}.tm-nav-link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--studio-radius-sm);color:var(--studio-text-secondary);text-decoration:none;font-size:13px;border:none;background:transparent;cursor:pointer;width:100%;text-align:left;font:inherit;transition:background var(--studio-transition),color var(--studio-transition)}.tm-nav-link:hover{background:var(--studio-surface-hover);color:var(--studio-text)}.tm-nav-link.is-active{background:var(--studio-accent-soft);color:var(--studio-text)}.tm-nav-link svg{flex-shrink:0;opacity:.85}.tm-project-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.tm-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.tm-page{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.tm-toolbar{display:flex;align-items:center;gap:var(--studio-space-3);flex-wrap:wrap;padding:var(--studio-space-4) var(--studio-space-5);border-bottom:1px solid var(--studio-border);background:var(--studio-surface);flex-shrink:0}.tm-toolbar--inline{flex-wrap:nowrap;overflow-x:auto;gap:10px}.tm-toolbar--inline .tm-filters{flex-wrap:nowrap;flex:1;min-width:0}.tm-toolbar--inline .tm-toolbar-title{flex-shrink:0;margin-right:0}.tm-toolbar--inline .tm-sidebar-search,.tm-toolbar--inline .tm-input,.tm-toolbar--inline .tm-select{height:36px;box-sizing:border-box}.tm-toolbar--inline .tm-sidebar-search{flex:1;min-width:160px;max-width:320px}.tm-toolbar--inline .tm-select{width:auto;min-width:120px;max-width:160px;flex-shrink:0}.tm-toolbar--inline .tm-input{flex:1;min-width:140px;max-width:240px}.tm-toolbar--inline .tm-btn{flex-shrink:0;height:36px;white-space:nowrap}.tm-toolbar--views{flex-wrap:nowrap;overflow-x:auto;gap:10px}.tm-toolbar--views .tm-toolbar-title{margin-right:0}.tm-toolbar--views .tm-view-switch{flex-shrink:0}.tm-toolbar-title{font-size:18px;font-weight:600;margin:0 auto 0 0}.tm-toolbar-meta{color:var(--studio-text-muted);font-size:12px}.tm-view-switch{display:inline-flex;gap:2px;padding:3px;background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm)}.tm-view-switch button{border:none;background:transparent;color:var(--studio-text-muted);padding:6px 10px;border-radius:7px;font:inherit;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.tm-view-switch button.is-active{background:var(--studio-surface-raised);color:var(--studio-text);box-shadow:0 1px 0 var(--studio-shadow)}.tm-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tm-input,.tm-select,.tm-textarea{background:var(--studio-surface-soft);border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);color:var(--studio-text);padding:8px 10px;font:inherit;font-size:13px;width:100%;box-sizing:border-box;min-height:36px}.tm-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--studio-text-muted) 50%),linear-gradient(135deg,var(--studio-text-muted) 50%,transparent 50%);background-position:calc(100% - 14px) calc(50% - 3px),calc(100% - 9px) calc(50% - 3px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:28px}.tm-textarea{min-height:90px;resize:vertical;width:100%;box-sizing:border-box}.tm-input:focus,.tm-select:focus,.tm-textarea:focus,.tm-sidebar-search input:focus{outline:none;border-color:var(--studio-accent);box-shadow:0 0 0 3px var(--studio-focus-ring)}.tm-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-text);border-radius:var(--studio-radius-sm);padding:8px 12px;font:inherit;font-size:13px;cursor:pointer;transition:background var(--studio-transition),border-color var(--studio-transition)}.tm-btn:hover:not(:disabled){background:var(--studio-surface-hover)}.tm-btn:disabled{opacity:.5;cursor:not-allowed}.tm-btn--primary{background:var(--studio-accent);border-color:var(--studio-accent);color:#fff}.tm-btn--primary:hover:not(:disabled){background:var(--studio-accent-hover)}.tm-btn--danger{background:var(--studio-danger-soft);border-color:transparent;color:var(--studio-danger)}.tm-btn--ghost{background:transparent;border-color:transparent;color:var(--studio-text-muted)}.tm-btn--sm{padding:5px 8px;font-size:12px}.tm-content{flex:1;min-height:0;overflow:auto;padding:var(--studio-space-4) var(--studio-space-5)}.tm-empty,.tm-loading,.tm-error{padding:48px 16px;text-align:center;color:var(--studio-text-muted);font-size:14px}.tm-error{color:var(--studio-danger)}.tm-list{display:flex;flex-direction:column;gap:var(--studio-space-5)}.tm-list-group-title{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-faint);margin-bottom:8px}.tm-list-group-title--overdue{color:var(--studio-danger)}.tm-table{width:100%;border-collapse:collapse;font-size:13px}.tm-table th{text-align:left;color:var(--studio-text-faint);font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;border-bottom:1px solid var(--studio-border)}.tm-table td{padding:10px;border-bottom:1px solid var(--studio-border);vertical-align:middle}.tm-table tbody tr{cursor:pointer;transition:background var(--studio-transition);content-visibility:auto;contain-intrinsic-size:auto 48px}.tm-table tbody tr:hover{background:var(--studio-surface-hover)}.tm-table tr.is-done td{opacity:.55}.tm-cell-title{display:flex;align-items:center;gap:10px;min-width:180px}.tm-check{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--studio-border-strong);background:transparent;cursor:pointer;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:transparent;padding:0}.tm-check:disabled{background:transparent;opacity:.45;cursor:not-allowed}.tm-check.is-done{background:var(--studio-success);border-color:var(--studio-success);color:#04140c}.tm-check.is-done:disabled{background:var(--studio-success)}.tm-num{color:var(--studio-text-faint);font-variant-numeric:tabular-nums;white-space:nowrap}.tm-quick-add{display:flex;gap:8px;margin-top:12px}.tm-quick-add input,.tm-quick-add select{flex:1;min-width:0}.tm-labels{display:flex;flex-wrap:wrap;gap:4px}.tm-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;font-size:11px;background:var(--studio-surface-soft);color:var(--studio-text-secondary);border:1px solid var(--studio-border);max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-chip--label{border-color:transparent}.tm-priority{font-size:11px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--studio-surface-soft);color:var(--studio-text-muted)}.tm-priority--low{color:#7dd3a0;background:var(--studio-success-soft)}.tm-priority--med{color:var(--studio-warning);background:var(--studio-warning-soft)}.tm-priority--high{color:var(--studio-danger);background:var(--studio-danger-soft)}.tm-avatars{display:flex;align-items:center}.tm-avatar{width:24px;height:24px;border-radius:50%;background:var(--studio-accent-soft);color:var(--studio-text);font-size:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--studio-surface);margin-left:-6px}.tm-col-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--studio-text-secondary)}.tm-kanban{display:flex;gap:12px;align-items:stretch;min-height:100%;padding-bottom:16px;overflow-x:auto}.tm-kanban-col{width:280px;flex-shrink:0;display:flex;flex-direction:column;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);max-height:calc(100vh - var(--studio-header-height, 64px) - 140px)}.tm-kanban-col.is-drop{border-color:var(--studio-accent);box-shadow:0 0 0 2px var(--studio-focus-ring)}.tm-kanban-head{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--studio-border);font-size:13px;font-weight:600}.tm-kanban-count{margin-left:auto;color:var(--studio-text-faint);font-weight:500;font-size:12px}.tm-kanban-body{flex:1;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:80px}.tm-kcard{background:var(--studio-surface-raised);border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);padding:10px 12px;cursor:grab;display:flex;flex-direction:column;gap:8px;transition:border-color var(--studio-transition),transform var(--studio-transition);content-visibility:auto;contain-intrinsic-size:auto 72px}.tm-kcard:active{cursor:grabbing}.tm-kcard:hover{border-color:var(--studio-border-strong)}.tm-kcard.is-dragging{opacity:.45}.tm-kcard-title{font-size:13px;font-weight:500;line-height:1.35}.tm-kcard-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--studio-text-muted)}.tm-cal{display:grid;gap:8px;min-height:420px}.tm-cal--week{grid-template-columns:repeat(7,minmax(140px,1fr))}.tm-cal--month{grid-template-columns:repeat(7,minmax(0,1fr))}.tm-cal-day{background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);min-height:120px;padding:8px;display:flex;flex-direction:column;gap:6px}.tm-cal-day.is-drop{border-color:var(--studio-accent);background:var(--studio-accent-soft)}.tm-cal-day.is-outside{opacity:.45}.tm-cal-day.is-today .tm-cal-day-num{background:var(--studio-accent);color:#fff}.tm-cal-day-num{width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--studio-text-secondary)}.tm-cal-cards{display:flex;flex-direction:column;gap:4px;overflow:auto;flex:1}.tm-cal-card{background:var(--studio-surface-soft);border-left:3px solid var(--studio-accent);border-radius:6px;padding:5px 7px;font-size:11px;cursor:grab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-timeline{display:flex;flex-direction:column;gap:6px;overflow:auto}.tm-tl-row{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:center;min-height:36px}.tm-tl-label{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--studio-text-secondary)}.tm-tl-track{position:relative;height:28px;background:var(--studio-surface-soft);border-radius:8px;border:1px solid var(--studio-border);overflow:hidden}.tm-tl-bar{position:absolute;top:4px;bottom:4px;border-radius:6px;background:var(--studio-accent);opacity:.85;cursor:pointer;min-width:12px}.tm-tl-bar:hover{opacity:1}.tm-tl-axis{display:grid;grid-template-columns:220px 1fr;gap:12px;margin-bottom:8px;color:var(--studio-text-faint);font-size:11px}.tm-tl-ticks{display:flex;justify-content:space-between}.tm-inspector-backdrop{position:fixed;top:var(--studio-header-height, 56px);right:0;bottom:0;left:0;background:var(--studio-overlay);z-index:110}.tm-inspector{position:fixed;top:var(--studio-header-height, 56px);right:0;bottom:0;width:min(460px,100vw);background:var(--studio-surface);border-left:1px solid var(--studio-border);z-index:111;display:flex;flex-direction:column;box-shadow:-12px 0 40px var(--studio-shadow)}.tm-inspector-head{display:flex;align-items:flex-start;gap:10px;padding:18px 20px 14px;border-bottom:1px solid var(--studio-border);flex-shrink:0}.tm-inspector-head h2{margin:0;font-size:16px;flex:1;line-height:1.35;word-break:break-word}.tm-inspector-body{flex:1;overflow:auto;padding:16px 20px 32px;display:flex;flex-direction:column;gap:18px}.tm-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--studio-text-faint);margin-bottom:8px}.tm-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;align-items:start}.tm-field{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0}.tm-field label{color:var(--studio-text-muted);line-height:1.2;min-height:14px}.tm-field--full{grid-column:1 / -1}.tm-field .tm-avatars{min-height:28px;align-items:center}.tm-field .prod-multi-assignee{margin:0;padding:0;border:none}.tm-field .prod-multi-assignee legend{display:none}.tm-field .prod-multi-assignee-list{max-height:160px;overflow:auto}.tm-modal .prod-multi-assignee-search,.tm-drawer .prod-multi-assignee-search{flex:1 1 180px;min-width:160px;width:auto!important}.tm-modal .prod-multi-assignee-role,.tm-drawer .prod-multi-assignee-role{flex:0 0 150px;width:150px!important;max-width:180px}.tm-native-check{width:auto;min-width:16px;height:16px;margin:0;padding:0;flex:0 0 auto;background:transparent;border:none;border-radius:3px;box-shadow:none;accent-color:var(--studio-accent, #5474ff);cursor:pointer;-moz-appearance:auto;appearance:auto;-webkit-appearance:checkbox}.tm-native-check:focus{outline:2px solid var(--studio-accent, #5474ff);outline-offset:2px;border-color:transparent}.tm-checklist{display:flex;flex-direction:column;gap:6px}.tm-checklist-item{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:inherit;cursor:pointer}.tm-checklist-item input[type=checkbox]{width:auto;min-width:16px;height:16px;margin:0;padding:0;flex:0 0 auto;background:transparent;border:none;border-radius:3px;box-shadow:none;accent-color:var(--studio-accent, #5474ff);cursor:pointer;-moz-appearance:auto;appearance:auto;-webkit-appearance:checkbox}.tm-checklist-item input[type=checkbox]:focus{outline:2px solid var(--studio-accent, #5474ff);outline-offset:2px;border-color:transparent}.tm-checklist-item span{flex:1;min-width:0}.tm-checklist-item.is-done span{text-decoration:line-through;color:var(--studio-text-muted)}.tm-col-done{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12px;color:var(--studio-text-muted);cursor:pointer;white-space:nowrap}.tm-comment{padding:8px 0;border-bottom:1px solid var(--studio-border);font-size:13px}.tm-comment-meta{font-size:11px;color:var(--studio-text-faint);margin-bottom:4px}.tm-history-item{font-size:12px;color:var(--studio-text-muted);padding:6px 0;border-bottom:1px solid var(--studio-border)}.tm-link-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:var(--studio-surface-soft);border-radius:var(--studio-radius-sm);font-size:13px;margin-bottom:6px}.tm-link-row a{color:var(--studio-accent);text-decoration:none}.tm-version{border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);padding:10px;margin-bottom:8px;font-size:12px}.tm-version img,.tm-version video{max-width:100%;border-radius:8px;margin-top:8px;background:#000}.tm-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--studio-overlay);z-index:90;display:flex;align-items:center;justify-content:center;padding:24px}.tm-modal{width:min(520px,100%);max-height:min(90vh,720px);overflow:auto;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);padding:20px;box-shadow:0 20px 60px var(--studio-shadow)}.tm-modal h2{margin:0 0 16px;font-size:18px}.tm-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.tm-form-stack{display:flex;flex-direction:column;gap:12px}.tm-hub-table{width:100%;border-collapse:collapse;font-size:13px}.tm-hub-table th,.tm-hub-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--studio-border)}.tm-hub-table th{color:var(--studio-text-faint);font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:500}.tm-hub-table tbody tr{cursor:pointer}.tm-hub-table tbody tr:hover{background:var(--studio-surface-hover)}.tm-status{display:inline-flex;padding:2px 8px;border-radius:6px;font-size:11px;background:var(--studio-surface-soft);color:var(--studio-text-secondary)}.tm-status--active{background:var(--studio-success-soft);color:var(--studio-success)}.tm-status--paused{background:var(--studio-warning-soft);color:var(--studio-warning)}.tm-status--done,.tm-status--archived{color:var(--studio-text-muted)}.tm-shot-block{border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);padding:14px}.tm-shot-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tm-shot-block-head h3{margin:0;font-size:14px}.tm-shot-task{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--studio-border);cursor:pointer;font-size:13px}.tm-shot-task:hover{color:var(--studio-accent)}.tm-settings-card{background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius);padding:16px;margin-bottom:16px}.tm-settings-card h3{margin:0 0 12px;font-size:15px}.tm-row-actions{display:flex;gap:6px;align-items:center}.tm-tabs{display:inline-flex;gap:4px;background:var(--studio-surface-soft);border-radius:var(--studio-radius-sm);padding:3px;border:1px solid var(--studio-border)}.tm-tabs button{border:none;background:transparent;color:var(--studio-text-muted);padding:6px 12px;border-radius:7px;font:inherit;font-size:13px;cursor:pointer}.tm-tabs button.is-active{background:var(--studio-surface-raised);color:var(--studio-text)}@media (max-width: 900px){.tm-shell{flex-direction:column;height:auto;min-height:calc(100vh - var(--studio-header-height, 64px))}.tm-sidebar{width:100%;max-height:220px;border-right:none;border-bottom:1px solid var(--studio-border)}.tm-field-grid{grid-template-columns:1fr}.tm-tl-row,.tm-tl-axis{grid-template-columns:120px 1fr}}.tm-share-suggest{list-style:none;margin:4px 0 0;padding:0;border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm, 8px);background:var(--studio-surface);max-height:200px;overflow:auto}.tm-share-suggest li button{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px 12px;border:none;background:transparent;cursor:pointer;text-align:left}.tm-share-suggest li button:hover{background:var(--studio-surface-hover, rgba(255, 255, 255, .05))}.tm-share-suggest li button span{font-size:12px;opacity:.7}.tm-member-list{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.tm-member-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--studio-border)}.tm-member-row div{flex:1;display:flex;flex-direction:column;min-width:0}.tm-member-row div span{font-size:12px;opacity:.7;overflow:hidden;text-overflow:ellipsis}.tm-member-row em{font-style:normal;font-size:12px;opacity:.8}.trust-line-page{max-width:820px}.trust-line-lead{margin-top:-6px;margin-bottom:18px;color:var(--text-secondary);line-height:1.5}.trust-line-info{margin-bottom:18px}.trust-line-info h3{margin:18px 0 8px;font-size:15px}.trust-line-info h3:first-child{margin-top:0}.trust-line-info ul{margin:0;padding-left:1.2em;color:var(--text-secondary);line-height:1.55}.trust-line-info p{margin:0;color:var(--text-secondary);line-height:1.55}.trust-line-form{margin-bottom:20px}.trust-line-form label{display:block;margin-bottom:12px}.trust-line-form textarea{width:100%;min-height:140px;resize:vertical}.trust-line-file-list{list-style:none;margin:0 0 12px;padding:0}.trust-line-file-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--border);font-size:13px}.trust-line-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.trust-line-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:14px}.trust-line-filters label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-secondary)}.trust-line-filters select{min-width:240px}.trust-line-list{display:flex;flex-direction:column;gap:12px}.trust-line-report-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:13px}.trust-line-author{font-size:13px;margin-bottom:8px}.trust-line-body{white-space:pre-wrap;line-height:1.5;margin:0 0 10px}.trust-line-attachments-wrap{margin:0 0 10px}.trust-line-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.trust-line-thumb{width:88px;height:88px;padding:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--bg-chip);cursor:zoom-in}.trust-line-thumb img{width:100%;height:100%;object-fit:cover;display:block}.trust-line-attachments{margin:0;padding-left:1.1em;font-size:13px}.trust-line-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#000000d1;display:grid;place-items:center;padding:24px;cursor:zoom-out}.trust-line-lightbox-img{max-width:min(96vw,1400px);max-height:90vh;object-fit:contain;border-radius:6px;box-shadow:0 8px 40px #00000073;cursor:default}.trust-line-lightbox-close{position:absolute;top:16px;right:18px;width:40px;height:40px;border:none;border-radius:999px;background:#ffffff24;color:#fff;font-size:28px;line-height:1;cursor:pointer}.trust-line-lightbox-close:hover{background:#ffffff47}.trust-line-status-actions{margin-top:8px}.trust-line-status-actions label{display:flex;align-items:center;gap:8px;font-size:13px}.trust-line-status--NEW{background:var(--accent-muted-bg);color:var(--text-on-accent)}.trust-line-status--IN_REVIEW{background:color-mix(in srgb,var(--warning-text) 22%,transparent);color:var(--warning-text)}.trust-line-status--CLOSED{background:var(--success-bg);color:var(--success-text)}.ok-msg{color:var(--success-text);margin-bottom:10px;font-size:14px}.idle-ping-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#000000d1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.idle-ping-overlay__card{max-width:440px;margin:16px;padding:28px;border-radius:14px;background:var(--bg-elevated, var(--card-bg, #16161f));border:1px solid var(--border, #333);text-align:center}.idle-ping-overlay__card h2{margin-top:0}.idle-ping-overlay__card p{color:var(--text-muted, #aaa);font-size:14px}.important-alerts-panel{position:fixed;top:56px;right:0;bottom:0;width:250px;z-index:40;display:flex;flex-direction:column;background:var(--bg-elevated, var(--card-bg, #16161f));border-left:1px solid var(--border, #333);border-radius:0;box-shadow:none;overflow:hidden}.important-alerts-panel__head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border, #333);font-size:13px;flex-shrink:0}.important-alerts-panel__list{list-style:none;margin:0;padding:0;overflow:auto;flex:1;min-height:0}.important-alerts-panel__item{padding:12px;border-bottom:1px solid var(--border, #222)}.important-alerts-panel__title{font-weight:600;font-size:13px}.important-alerts-panel__body{font-size:12px;margin-top:4px;color:var(--text-muted, #aaa)}.important-alerts-panel__meta{font-size:11px;margin-top:6px;color:var(--text-muted, #777)}.important-alerts-panel__actions{display:flex;gap:12px;margin-top:8px;font-size:12px}.important-alerts-panel__actions a,.important-alerts-panel__actions button{background:none;border:0;color:var(--accent, #8cf);cursor:pointer;padding:0;font:inherit;text-decoration:none}.important-alerts-panel__groups{overflow:auto;flex:1;min-height:0}.important-alerts-group__head{display:flex;width:100%;justify-content:space-between;align-items:center;padding:10px 12px;background:none;border:0;border-bottom:1px solid var(--border, #222);color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer;text-align:left}.important-alerts-group__head:hover{background:#ffffff0a}.important-alerts-group__count{font-weight:400;font-size:12px;color:var(--text-muted, #aaa)}.important-alerts-collapsed-tab{position:fixed;top:50%;right:0;transform:translateY(-50%);z-index:40;writing-mode:vertical-rl;padding:12px 6px;background:var(--bg-elevated, var(--card-bg, #16161f));border:1px solid var(--border, #333);border-right:0;border-radius:8px 0 0 8px;color:inherit;font-size:12px;cursor:pointer}body.has-important-alerts .main{padding-right:250px}@media (max-width: 720px){.important-alerts-panel{width:min(250px,42vw)}body.has-important-alerts .main{padding-right:min(250px,42vw)}}.tasks-panel-list{display:flex;flex-direction:column;gap:8px}.tasks-panel-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.tasks-panel-chip{padding:4px 10px;border-radius:999px;border:1px solid var(--border, #333);background:transparent;color:inherit;font-size:12px;cursor:pointer}.tasks-panel-chip--active{background:var(--accent, #3a6dff);border-color:var(--accent, #3a6dff);color:#fff}.tasks-panel-card{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:10px;border:1px solid var(--border, #333);background:transparent;color:inherit;cursor:pointer}.tasks-panel-card:hover{border-color:var(--accent, #3a6dff)}.tasks-panel-card--active{border-color:var(--accent, #3a6dff);box-shadow:0 0 0 1px var(--accent, #3a6dff)}.tasks-panel-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.tasks-panel-card-number{font-weight:600}.tasks-panel-card-name{font-size:13px;margin-top:2px}.tasks-panel-card-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;opacity:.7;margin-top:4px}.tasks-panel-active-mark{color:var(--accent, #3a6dff);font-weight:600}.tasks-panel-status{padding:2px 8px;border-radius:999px;font-size:11px;color:#fff;white-space:nowrap}.tasks-panel-detail{display:flex;flex-direction:column;gap:10px}.tasks-panel-detail-head{display:flex;justify-content:space-between;align-items:center}.tasks-panel-detail-title{margin:0}.tasks-panel-detail-sub{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;opacity:.75}.tasks-panel-activate{width:100%}.tasks-panel-activate--on{background:var(--prod-status-apr, #1f9d55)}.tasks-panel-ret{padding:8px 10px;border-radius:8px;background:#dc50501f;border:1px solid rgba(220,80,80,.4);font-size:13px}.tasks-panel-field-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;opacity:.6;margin-bottom:3px}.tasks-panel-field-value{font-size:13px;white-space:pre-wrap}.tasks-panel-refs{display:flex;flex-wrap:wrap;gap:6px}.tasks-panel-refs img{width:72px;height:72px;object-fit:cover;border-radius:6px}.tasks-panel-ref-file{font-size:12px;text-decoration:underline}.tasks-panel-neighbors{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tasks-panel-neighbor{padding:8px;border-radius:8px;border:1px dashed var(--border, #333);font-size:12px}.tasks-panel-neighbor-label{opacity:.6;font-size:11px}.tasks-panel-neighbor-title{font-weight:600;margin:2px 0}.tasks-panel-neighbor-text{opacity:.85;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.tasks-panel-video{width:100%;border-radius:8px;background:#000;max-height:260px}.tasks-panel-lastgen{padding:10px;border-radius:10px;border:1px solid var(--accent, #3a6dff);display:flex;flex-direction:column;gap:8px}.tasks-panel-section-title{font-weight:600}.tasks-panel-lastgen-prompt{font-size:12px;opacity:.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tasks-panel-lastgen-actions{display:flex;gap:8px}.tasks-panel-version{padding:8px 0;border-top:1px solid var(--border, #333);display:flex;flex-direction:column;gap:6px}.tasks-panel-version-head{display:flex;justify-content:space-between;gap:8px;font-size:13px}.tasks-panel-comment{font-size:12px;padding-left:8px;border-left:2px solid var(--border, #333)}.tasks-panel-link-active{font-size:11px;opacity:.8}.prod-preview-author{display:block;font-size:11px;opacity:.75;margin-top:2px}.prod-shot-number-cell{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}.prod-shot-number-col{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;min-width:0}.prod-shot-gen-btn{display:inline-flex;align-items:center;justify-content:center;max-width:100%;box-sizing:border-box;background:#5474ff;border:1px solid #5474FF;border-radius:8px;color:#fff;font-size:11px;font-weight:600;line-height:1.2;padding:5px 8px;cursor:pointer;white-space:nowrap}.prod-shot-gen-btn:hover{background:#4563f0;border-color:#4563f0;color:#fff}.prod-shot-star{background:none;border:none;cursor:pointer;color:var(--text-muted, #888);font-size:15px;padding:0;line-height:1}.prod-shot-star--on{color:#e0b23c}.prod-shot-star:disabled{cursor:default;opacity:.6}.admin-layout{display:flex;align-items:stretch;min-height:100%;height:100%;width:100%;min-width:0}.admin-layout--bare,.admin-layout--collapsed{display:block;min-height:0}.admin-layout--bare{padding:28px 32px}.admin-layout--collapsed .admin-content{width:100%}.admin-sidebar-backdrop{display:none}.admin-sidebar{flex:0 0 240px;width:240px;display:flex;flex-direction:column;min-height:0;background:var(--bg-elevated);border-right:1px solid var(--border)}.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);flex-shrink:0}.admin-sidebar-title{font-size:13px;font-weight:600;color:var(--text-heading);letter-spacing:.02em;white-space:nowrap;overflow:hidden}.admin-sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:2px 8px;border:1px solid var(--border);border-radius:8px;background:var(--bg-muted);color:var(--text-secondary);cursor:pointer;flex-shrink:0;font-size:12px;line-height:1}.admin-sidebar-toggle:hover{background:var(--bg-hover);color:var(--text-primary)}.admin-sidebar-nav{display:flex;flex-direction:column;gap:2px;padding:10px 8px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0}.admin-nav-link{display:block;padding:9px 10px;border-radius:8px;color:var(--text-secondary);text-decoration:none;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-nav-link:hover{background:var(--bg-hover);color:var(--text-primary)}.admin-nav-link.active{background:var(--bg-tree-active);color:var(--text-heading)}.admin-sidebar-collapsed-tab{position:fixed;top:50%;left:0;transform:translateY(-50%);z-index:40;writing-mode:vertical-rl;padding:12px 6px;background:var(--bg-elevated, var(--card-bg, #16161f));border:1px solid var(--border, #333);border-left:0;border-radius:0 8px 8px 0;color:inherit;font-size:12px;cursor:pointer}.admin-sidebar-collapsed-tab:hover{background:var(--bg-hover)}.admin-content{flex:1;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:28px 32px}.report-check-label{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:10px 0 6px;cursor:pointer;color:var(--text-primary);-webkit-user-select:none;user-select:none}.report-check-label input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0;padding:0;flex-shrink:0;cursor:inherit}.shift-reports-page{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:20px}body.ui-studio .shift-reports-page,[data-ui=studio] .shift-reports-page{overflow-x:hidden}.shift-reports-page .page-head{margin-bottom:0}.shift-reports-toolbar,.shift-reports-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 20px;padding:16px 18px;border:1px solid var(--border, #333);border-radius:12px;background:var(--card-bg, #1e1e2e)}body.ui-studio .shift-reports-toolbar,body.ui-studio .shift-reports-filters,[data-ui=studio] .shift-reports-toolbar,[data-ui=studio] .shift-reports-filters{border-color:var(--studio-border, #333);background:var(--studio-surface, #1e1e2e)}.shift-reports-period{margin:0}.shift-reports-date-range{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.shift-reports-field{display:flex;flex-direction:column;gap:6px;margin:0}body.ui-studio .shift-reports-field,[data-ui=studio] .shift-reports-field{margin:0}.shift-reports-field__label{display:block;margin:0;padding:0;font-size:12px;line-height:1.2;color:var(--text-muted, #888)}body.ui-studio .shift-reports-field__label,[data-ui=studio] .shift-reports-field__label{color:var(--studio-text-muted, #8b93a7);font-weight:500}.shift-reports-field input[type=date],.shift-reports-field select{width:auto;min-width:150px;height:38px;min-height:38px;margin:0;padding:0 12px;box-sizing:border-box}.shift-reports-refresh-btn{height:38px;min-height:38px;margin:0;padding:0 16px;box-sizing:border-box;white-space:nowrap}.shift-reports-range-label{font-size:13px;margin:0 0 8px}.shift-reports-stats{display:flex;flex-wrap:wrap;gap:12px}.shift-reports-stat{flex:1 1 140px;min-width:120px;padding:14px 16px;border:1px solid var(--border, #333);border-radius:12px;background:var(--card-bg, #1e1e2e)}body.ui-studio .shift-reports-stat,[data-ui=studio] .shift-reports-stat{border-color:var(--studio-border, #333);background:var(--studio-surface, #1e1e2e)}.shift-reports-stat__value{font-size:22px;font-weight:700;line-height:1.2}.shift-reports-stat__label{margin-top:4px;font-size:12px;line-height:1.35;color:var(--text-muted, #888)}body.ui-studio .shift-reports-stat__label,[data-ui=studio] .shift-reports-stat__label{color:var(--studio-text-muted, #8b93a7)}.shift-reports-table-wrap{max-width:100%;overflow-x:hidden}body.ui-studio .shift-reports-table-wrap.stats-table-wrap,[data-ui=studio] .shift-reports-table-wrap.stats-table-wrap{overflow-x:hidden}body.ui-studio .shift-reports-table-wrap .shift-reports-table,[data-ui=studio] .shift-reports-table-wrap .shift-reports-table{table-layout:fixed;width:100%;font-size:13px}body.ui-studio .shift-reports-table-wrap .shift-reports-table th,[data-ui=studio] .shift-reports-table-wrap .shift-reports-table th{text-transform:none;letter-spacing:0;font-size:12px;font-weight:600;white-space:normal;line-height:1.3}.shift-reports-table th,.shift-reports-table td{padding:10px 12px;vertical-align:top;overflow-wrap:anywhere}.shift-reports-table .col-num{width:2.5%}.shift-reports-table .col-name{width:13%}.shift-reports-table .col-role{width:8%}.shift-reports-table .col-team,.shift-reports-table .col-project{width:9%}.shift-reports-table .col-worked{width:5.5%}.shift-reports-table .col-time{width:5%}.shift-reports-table .col-dur{width:7%}.shift-reports-table .col-metric{width:4.5%}.shift-reports-table .col-rating{width:6%}.shift-reports-table .col-action{width:6.5%}.shift-reports-table .th-num,.shift-reports-table .td-num{white-space:nowrap}.shift-reports-name-btn{background:none;border:0;color:inherit;cursor:pointer;padding:0;font-weight:600;text-align:left;line-height:1.35}.shift-reports-worked{font-weight:600}.shift-reports-worked[data-worked=yes]{color:var(--success, #3dd68c)}.shift-reports-worked[data-worked=no]{color:var(--text-muted, #888)}.shift-reports-rate-btn{font-size:12px;padding:4px 10px;white-space:nowrap}.admin-mobile-open-btn{display:none}@media (max-width: 900px){.admin-layout--bare{padding:20px 16px}.admin-mobile-open-btn{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg-elevated);color:var(--text-secondary);font-size:13px;cursor:pointer}.admin-sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;border:none;background:var(--overlay-sidebar);cursor:pointer}.admin-sidebar{position:fixed;top:0;left:0;bottom:0;z-index:50;width:min(280px,86vw);flex-basis:auto;transform:translate(-105%);transition:transform .2s ease;box-shadow:4px 0 24px var(--shadow-md)}.admin-layout--mobile-open .admin-sidebar{transform:translate(0)}.admin-content{padding:20px 16px}}.drop-page{max-width:960px}.drop-zone{display:flex;align-items:center;justify-content:center;min-height:120px;padding:24px;border:1px dashed var(--border);border-radius:10px;background:var(--bg-muted);color:var(--text-secondary);cursor:pointer;text-align:center;transition:border-color .15s ease,background .15s ease,color .15s ease}.drop-zone:hover,.drop-zone--active{border-color:var(--text-secondary);background:var(--bg-hover, var(--bg-muted));color:var(--text-primary)}.drop-zone--busy{opacity:.7;cursor:wait;pointer-events:none}.drop-last-link{display:flex;gap:8px;align-items:center;margin-top:12px;max-width:720px}.drop-last-link input{flex:1;min-width:0;font-family:inherit;font-size:13px}.prod-material-picker-shell--drop-active{outline:2px dashed var(--accent, #8cf);outline-offset:-2px;border-radius:8px}.prod-material-picker-upload-hint{margin-top:6px;font-size:12px}.prod-material-picker-upload-note{margin-top:4px;font-size:12px;color:var(--warning-text, #e6b455)}.prod-task-assignees-with-names--editable{cursor:pointer;border-radius:6px}.prod-task-assignees-with-names--editable:hover,.prod-task-assignees-with-names--editable:focus-visible{background:var(--bg-hover);outline:none}button.prod-task-assignees-btn{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;padding:4px 8px;font-size:11px;line-height:1.3;color:var(--text-secondary);background:var(--btn-secondary);border:1px solid var(--border-strong);border-radius:6px;cursor:pointer;text-align:left}button.prod-task-assignees-btn:hover,button.prod-task-assignees-btn:focus-visible{background:var(--btn-secondary-hover);outline:none}.prod-task-assignees-btn .prod-task-assignee-names-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-task-assignees-btn-icon{flex-shrink:0;color:var(--text-muted);font-size:11px}.gen-shot-binding{display:flex;flex-direction:column;gap:6px}.gen-field-hint--warn{color:var(--warning-text)}.prod-sticky-hscroll{position:fixed;bottom:0;z-index:30;overflow-x:auto;overflow-y:hidden;height:14px;background:var(--bg-surface);border-top:1px solid var(--border)}.prod-sticky-hscroll::-webkit-scrollbar{height:12px}.prod-sticky-hscroll::-webkit-scrollbar-thumb{background:#8c96aa73;border-radius:6px}.prod-sticky-hscroll::-webkit-scrollbar-thumb:hover{background:#8c96aab3}.prod-sticky-hscroll::-webkit-scrollbar-track{background:transparent}.prod-storyboard-strip{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.prod-storyboard-strip--compact{margin:4px 0}.prod-storyboard-thumb{position:relative;display:block;width:72px;height:52px;border-radius:6px;overflow:hidden;border:1px solid var(--border, #333);flex-shrink:0}.prod-storyboard-strip--compact .prod-storyboard-thumb{width:56px;height:40px}.prod-storyboard-thumb img{width:100%;height:100%;object-fit:cover;display:block}.prod-storyboard-thumb-remove{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#000000a6;color:#fff;font-size:12px;line-height:18px;cursor:pointer}.prod-storyboard-drop{border:1px dashed var(--border, #444);border-radius:8px;padding:8px;margin:6px 0 10px;transition:border-color .15s,background .15s}.prod-storyboard-drop--active{border-color:var(--accent, #8cf);background:#8cc8ff0f}.prod-storyboard-drop-hint{display:block;font-size:12px;color:var(--text-muted, #999);cursor:pointer;text-align:center;padding:4px}.prod-storyboard-drop-hint:hover{color:var(--accent, #8cf)}button.prod-storyboard-thumb{padding:0;border:0;background:transparent;cursor:zoom-in}.prod-storyboard-cell--drop-active{outline:2px dashed var(--accent);outline-offset:2px;border-radius:8px}.prod-asset-thumbs{display:flex;flex-wrap:wrap;gap:6px}.prod-asset-thumb{width:56px;height:40px;padding:0;border:1px solid var(--border);border-radius:6px;overflow:hidden;background:var(--bg-deep);cursor:zoom-in;flex-shrink:0}.prod-asset-thumb img,.prod-asset-thumb video{width:100%;height:100%;object-fit:cover;display:block}.prod-asset-thumb-audio{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:16px;color:var(--text-muted)}.prod-asset-edit-btn{align-self:flex-start;padding:4px 8px;font-size:12px;white-space:nowrap}.prod-storyboard-cell{display:flex;flex-direction:column;gap:2px}.prod-shot-changelog{margin-top:16px}.prod-shot-changelog-entry{border-top:1px solid var(--border, #333);padding:8px 0;font-size:13px}.prod-shot-changelog-head{display:flex;gap:10px;align-items:baseline}.prod-shot-changelog-entry ul{margin:4px 0 0;padding-left:18px}.prod-montage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:12px}.prod-montage-card{display:flex;flex-direction:column;gap:8px;padding:12px}.prod-montage-card video{width:100%;border-radius:8px;background:#000}.prod-montage-card-head{display:flex;justify-content:space-between;align-items:baseline}.prod-montage-card-name{font-size:13px}.prod-montage-card-meta{display:flex;justify-content:space-between;font-size:12px;opacity:.75}.prod-montage-card--defect{border-color:#e05555}.gen-card--tint-defect{border-color:#e05555;box-shadow:inset 3px 0 #e05555}.gen-card--tint-review{border-color:#e0b23c;box-shadow:inset 3px 0 #e0b23c}.gen-card--tint-approved{border-color:#3ca35f;box-shadow:inset 3px 0 #3ca35f}.gen-card--tint-progress{border-color:#3a6dff;box-shadow:inset 3px 0 #3a6dff}.gen-comments{margin-top:12px;border-top:1px solid var(--border, #333);padding-top:8px}.gen-comments-toggle{background:none;border:none;color:var(--accent, #3a6dff);cursor:pointer;padding:0;font-size:13px}.gen-comments-body{margin-top:8px;display:flex;flex-direction:column;gap:8px}.gen-comment{font-size:13px}.gen-comment-head{display:flex;gap:8px;align-items:baseline}.gen-comment-head .text-muted{font-size:11px}.gen-comment-delete{background:none;border:none;color:var(--text-muted, #888);cursor:pointer;padding:0 4px}.gen-comment-text{white-space:pre-wrap}.gen-comment-form{display:flex;gap:8px}.gen-comment-form input{flex:1}:root,[data-theme=dark]{color-scheme:dark;--studio-bg: #04050c;--studio-surface: #121212;--studio-surface-raised: #161616;--studio-surface-soft: #1a1a1a;--studio-surface-hover: #202020;--studio-border: #2a2a2a;--studio-border-strong: #3a3a3a;--studio-accent: #5474ff;--studio-accent-hover: #6b86ff;--studio-accent-soft: #1b254d;--studio-text: #f4f4f4;--studio-text-secondary: #c7c7c7;--studio-text-muted: #9a9a9a;--studio-text-faint: #6f6f6f;--studio-danger: #ff6b6b;--studio-danger-soft: #351c20;--studio-warning: #f2c45e;--studio-warning-soft: #302718;--studio-success: #55d68b;--studio-success-soft: #173124;--studio-overlay: rgba(0, 0, 0, .72);--studio-shadow: rgba(0, 0, 0, .42);--studio-focus-ring: rgba(84, 116, 255, .38);--studio-radius-sm: 10px;--studio-radius: 16px;--studio-radius-lg: 22px;--studio-radius-pill: 999px;--studio-space-1: 4px;--studio-space-2: 8px;--studio-space-3: 12px;--studio-space-4: 16px;--studio-space-5: 20px;--studio-space-6: 24px;--studio-space-8: 32px;--studio-page-width: 1440px;--studio-header-height: 64px;--studio-transition: .16s ease;--explore-bg: var(--studio-bg);--explore-surface: var(--studio-surface);--explore-surface-2: var(--studio-surface-soft);--explore-border: var(--studio-border);--explore-accent: var(--studio-accent);--explore-accent-soft: var(--studio-accent-soft);--explore-accent-rgb: 84, 116, 255;--explore-text: var(--studio-text);--explore-muted: var(--studio-text-muted)}[data-theme=light]{color-scheme:light;--studio-bg: #f4f5f8;--studio-surface: #ffffff;--studio-surface-raised: #fafafa;--studio-surface-soft: #f0f1f4;--studio-surface-hover: #e9ebf1;--studio-border: #dedfe5;--studio-border-strong: #c8cad3;--studio-accent: #4666ec;--studio-accent-hover: #3454dc;--studio-accent-soft: #e7ebff;--studio-text: #11131a;--studio-text-secondary: #3f4350;--studio-text-muted: #5d6270;--studio-text-faint: #6b7280;--studio-danger: #cf3f4f;--studio-danger-soft: #fff0f1;--studio-warning: #9a6800;--studio-warning-soft: #fff6d9;--studio-success: #17844c;--studio-success-soft: #e6f7ee;--studio-overlay: rgba(12, 14, 20, .46);--studio-shadow: rgba(24, 30, 44, .12);--studio-focus-ring: rgba(70, 102, 236, .26);--explore-bg: var(--studio-bg);--explore-surface: var(--studio-surface);--explore-surface-2: var(--studio-surface-soft);--explore-border: var(--studio-border);--explore-accent: var(--studio-accent);--explore-accent-soft: var(--studio-accent-soft);--explore-accent-rgb: 70, 102, 236;--explore-text: var(--studio-text);--explore-muted: var(--studio-text-muted)}[data-ui=studio],body.ui-studio{--bg-base: var(--studio-bg);--bg-elevated: var(--studio-surface);--bg-surface: var(--studio-surface-raised);--bg-muted: var(--studio-surface-soft);--bg-input: var(--studio-surface);--bg-hover: var(--studio-surface-hover);--bg-subtle: var(--studio-surface-soft);--bg-inset: var(--studio-surface);--bg-canvas: var(--studio-bg);--bg-panel: var(--studio-surface-raised);--bg-deep: var(--studio-bg);--bg-row-unread: var(--studio-surface);--bg-row-active: var(--studio-accent-soft);--bg-info: var(--studio-accent-soft);--bg-chip: var(--studio-surface-soft);--border: var(--studio-border);--border-strong: var(--studio-border-strong);--border-row: var(--studio-border);--border-info: var(--studio-border-strong);--border-dashed: var(--studio-border-strong);--border-dashed-hover: var(--studio-accent);--text-primary: var(--studio-text);--text-secondary: var(--studio-text-secondary);--text-muted: var(--studio-text-muted);--text-faint: var(--studio-text-faint);--text-heading: var(--studio-text);--text-card-title: var(--studio-text-secondary);--text-empty: var(--studio-text-faint);--accent: var(--studio-accent);--accent-hover: var(--studio-accent-hover);--accent-run: var(--studio-accent);--accent-muted-bg: var(--studio-accent-soft);--accent-focus: var(--studio-accent);--accent-search: var(--studio-accent);--accent-dot: var(--studio-accent);--accent-badge-bg: var(--studio-accent);--link: var(--studio-accent-hover);--link-alt: var(--studio-accent-hover);--section-title: var(--studio-text-secondary);--shadow: var(--studio-shadow);--shadow-md: var(--studio-shadow);--shadow-node: var(--studio-shadow);--overlay: var(--studio-overlay);--overlay-strong: var(--studio-overlay);--danger: var(--studio-danger);--danger-hover: var(--studio-danger);--danger-text: var(--studio-danger);--danger-text-hover: var(--studio-danger);--danger-text-soft: var(--studio-danger);--danger-bg: var(--studio-danger-soft);--danger-bg-strong: var(--studio-danger-soft);--danger-border: var(--studio-danger);--err-msg: var(--studio-danger);--success-bg: var(--studio-success-soft);--success-border: var(--studio-success);--success-text: var(--studio-success);--badge-bg: var(--studio-surface-soft);--badge-ok-bg: var(--studio-success-soft);--badge-ok-text: var(--studio-success);--badge-err-bg: var(--studio-danger-soft);--badge-err-text: var(--studio-danger);--badge-wait-bg: var(--studio-warning-soft);--badge-wait-text: var(--studio-warning);--badge-warn-bg: var(--studio-warning-soft);--badge-warn-text: var(--studio-warning);--btn-secondary: var(--studio-surface-soft);--btn-secondary-hover: var(--studio-surface-hover);--btn-disabled: var(--studio-border);--btn-upscale: var(--studio-surface-soft);--btn-upscale-hover: var(--studio-surface-hover);--output-link-bg: var(--studio-surface-soft);--output-link-hover: var(--studio-accent-soft);--node-tag-bg: var(--studio-accent-soft);--node-tag-text: var(--studio-accent-hover);--node-badge-bg: var(--studio-accent-soft);--node-badge-text: var(--studio-accent-hover);--canvas-grid: var(--studio-border);--canvas-minimap-node: var(--studio-surface-soft);--handle-border: var(--studio-surface-raised);--mail-row-gradient: var(--studio-surface-soft);--mail-row-action-hover: var(--studio-surface-hover);--mail-search-focus: var(--studio-surface-raised);--toggle-off: var(--studio-border-strong)}[data-theme=light] body.ui-studio,html[data-theme=light] body.ui-studio{--bg-base: var(--studio-bg);--bg-elevated: var(--studio-surface);--bg-surface: var(--studio-surface-raised);--bg-muted: var(--studio-surface-soft);--bg-input: var(--studio-surface);--bg-hover: var(--studio-surface-hover);--bg-subtle: var(--studio-surface-soft);--bg-inset: var(--studio-surface);--bg-canvas: var(--studio-bg);--bg-panel: var(--studio-surface-raised);--bg-deep: var(--studio-surface-soft);--bg-row-unread: var(--studio-accent-soft);--bg-row-active: var(--studio-accent-soft);--bg-info: var(--studio-accent-soft);--bg-chip: var(--studio-surface-soft);--border: var(--studio-border);--border-strong: var(--studio-border-strong);--border-row: var(--studio-border);--border-info: var(--studio-border-strong);--border-dashed: var(--studio-border-strong);--border-dashed-hover: var(--studio-accent);--text-primary: var(--studio-text);--text-secondary: var(--studio-text-secondary);--text-muted: var(--studio-text-muted);--text-faint: var(--studio-text-faint);--text-heading: var(--studio-text);--text-card-title: var(--studio-text-secondary);--text-empty: var(--studio-text-faint);--accent: var(--studio-accent);--accent-hover: var(--studio-accent-hover);--accent-run: var(--studio-accent);--accent-muted-bg: var(--studio-accent-soft);--accent-focus: var(--studio-accent);--accent-search: var(--studio-accent);--accent-dot: var(--studio-accent);--accent-badge-bg: var(--studio-accent);--link: var(--studio-accent);--link-alt: var(--studio-accent);--section-title: var(--studio-text-secondary);--shadow: var(--studio-shadow);--shadow-md: var(--studio-shadow);--shadow-node: var(--studio-shadow);--overlay: var(--studio-overlay);--overlay-strong: var(--studio-overlay);--danger: var(--studio-danger);--danger-hover: var(--studio-danger);--danger-text: var(--studio-danger);--danger-text-hover: var(--studio-danger);--danger-text-soft: var(--studio-danger);--danger-bg: var(--studio-danger-soft);--danger-bg-strong: var(--studio-danger-soft);--danger-border: var(--studio-danger);--err-msg: var(--studio-danger);--success-bg: var(--studio-success-soft);--success-border: var(--studio-success);--success-text: var(--studio-success);--badge-bg: var(--studio-surface-soft);--badge-ok-bg: var(--studio-success-soft);--badge-ok-text: var(--studio-success);--badge-err-bg: var(--studio-danger-soft);--badge-err-text: var(--studio-danger);--badge-wait-bg: var(--studio-warning-soft);--badge-wait-text: var(--studio-warning);--badge-warn-bg: var(--studio-warning-soft);--badge-warn-text: var(--studio-warning);--btn-secondary: var(--studio-surface-soft);--btn-secondary-hover: var(--studio-surface-hover);--btn-disabled: var(--studio-border);--btn-upscale: var(--studio-surface-soft);--btn-upscale-hover: var(--studio-surface-hover);--output-link-bg: var(--studio-surface-soft);--output-link-hover: var(--studio-accent-soft);--node-tag-bg: var(--studio-accent-soft);--node-tag-text: var(--studio-accent);--node-badge-bg: var(--studio-accent-soft);--node-badge-text: var(--studio-accent);--canvas-grid: var(--studio-border-strong);--canvas-minimap-node: var(--studio-surface-soft);--handle-border: var(--studio-surface);--mail-row-gradient: var(--studio-surface-soft);--mail-row-action-hover: var(--studio-surface-hover);--mail-search-focus: var(--studio-surface);--toggle-off: var(--studio-border-strong)}body.ui-studio,[data-ui=studio]{--explore-bg: #04050C;--explore-surface: #121212;--explore-surface-2: #1a1a1a;--explore-border: #2a2a2a;--explore-accent: #5474FF;--explore-accent-soft: rgba(84, 116, 255, .14);--explore-accent-rgb: 84, 116, 255;--explore-pink: #ff4d8d;--explore-text: #f4f4f4;--explore-muted: #9a9a9a}.studio-chrome{flex-shrink:0;z-index:100}.studio-promo-bar{display:flex;align-items:center;gap:12px;min-height:36px;padding:6px 16px;background:var(--explore-accent);color:#fff;font-size:13px;font-weight:600}.studio-promo-bar-inner{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-width:0;flex-wrap:wrap}.studio-promo-bar-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-promo-bar-cta{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#04050c;color:var(--explore-accent);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.studio-promo-bar-cta:hover{text-decoration:none;opacity:.9}.studio-promo-bar-close{background:none;border:none;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0 4px;opacity:.7}.studio-promo-bar-close:hover{opacity:1}.topbar--studio{background:var(--studio-bg, #04050C);border-bottom-color:var(--explore-border);height:58px;gap:6px;color:var(--text-primary, #f4f4f4)}.topbar--studio .topbar-brand,.topbar--studio .topbar-brand-text,.topbar--studio .topbar-user-name,.topbar--studio .topbar-tokens{color:var(--text-primary, #f4f4f4)}.topbar--studio .topbar-tokens{background:var(--bg-chip, rgba(255, 255, 255, .06));border-color:var(--border, #2a2a2a)}.topbar--studio .topbar-theme-toggle,.topbar--studio .topbar-burger{color:var(--text-primary, #f4f4f4);border-color:var(--border, #2a2a2a)}.topbar--studio .topbar-theme-toggle:hover,.topbar--studio .topbar-burger:hover{background:var(--bg-hover, rgba(255, 255, 255, .06))}.topbar--studio .topbar-menu{background:var(--bg-elevated, #141414);border-color:var(--border, #2a2a2a)}.topbar--studio .topbar-menu-item{color:var(--text-secondary, #ddd);font-size:13px!important;font-weight:500}.topbar--studio button.topbar-menu-item{font-size:13px!important;font-weight:500}.topbar--studio .topbar-menu-item:hover,.topbar--studio .topbar-menu-item.active{background:var(--explore-accent-soft);color:var(--explore-accent)}.topbar--studio .topbar-menu-item.topbar-trust-line{color:var(--studio-warning, #f2c45e)}.topbar--studio .topbar-menu-item.topbar-trust-line:hover,.topbar--studio .topbar-menu-item.topbar-trust-line.active{background:var(--studio-warning-soft, #302718);color:var(--studio-warning, #f2c45e)}.topbar--studio .topbar-menu-item.topbar-logout{color:var(--studio-danger, #ff6b6b)}.topbar--studio .topbar-menu-item.topbar-logout:hover{background:var(--studio-danger-soft, #351c20);color:var(--studio-danger, #ff6b6b)}.topbar--studio .topbar-user{font-size:12px}.topbar--studio .topbar-user-name{font-size:12px;font-weight:500}.topbar--studio .topbar-mobile{background:var(--studio-bg, #04050C);border-color:var(--border, #2a2a2a)}.topbar--studio .topbar-mobile-link{color:var(--text-secondary, #ddd)}.topbar--studio .topbar-mobile-link.topbar-trust-line{color:var(--studio-warning, #f2c45e)}.topbar--studio .topbar-mobile-link.topbar-logout{color:var(--studio-danger, #ff6b6b)}.topbar-nav--dense{gap:0;overflow:visible}.topbar-link--dense{padding:6px 10px;font-size:13px;border-radius:8px;color:var(--text-secondary, #bdbdbd)}.topbar-link--dense:hover{color:var(--text-primary, #fff);background:var(--bg-hover, rgba(255, 255, 255, .06))}.topbar-link--dense.active{color:var(--explore-accent);background:transparent;box-shadow:inset 0 -2px 0 var(--explore-accent);border-radius:0}.topbar-link-badge{display:inline-flex;align-items:center;margin-left:5px;padding:1px 6px;border-radius:6px;background:var(--explore-accent);color:#fff;font-size:10px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.topbar-avatar--lime{box-shadow:0 0 0 2px var(--explore-accent)}.main--explore{padding:0;background:var(--explore-bg);color:var(--explore-text)}.app--explore{background:var(--explore-bg)}.explore-page{max-width:none!important;margin:0!important;padding:16px 20px 48px;animation:exploreFadeIn .45s ease both}.explore-above-fold{display:grid;grid-template-rows:minmax(200px,.34fr) minmax(320px,1fr);gap:14px;box-sizing:border-box;min-height:calc(100dvh - 116px);height:calc(100dvh - 116px)}@keyframes exploreFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.explore-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:0;margin-bottom:0}.explore-featured-card{position:relative;display:block;min-height:0;height:100%;border-radius:16px;overflow:hidden;border:1px solid var(--explore-border);background:var(--explore-surface);text-decoration:none;color:inherit;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.explore-featured-card:hover{transform:translateY(-3px) scale(1.01);border-color:rgba(var(--explore-accent-rgb),.55);box-shadow:0 12px 40px #00000073;text-decoration:none}.explore-featured-card--light{background:linear-gradient(135deg,#e8edff,#5474ff);color:#111}.explore-featured-card--accent{background:#0a1028}.explore-featured-media,.explore-banner-media,.explore-seedance-promo-media,.explore-project-media,.hover-promo-media{position:absolute;top:0;right:0;bottom:0;left:0}.hover-promo-media{overflow:hidden}.hover-promo-video,.hover-promo-poster,.hover-promo-placeholder{width:100%;height:100%;object-fit:cover;display:block}.hover-promo-placeholder,.explore-ph{background:radial-gradient(circle at 20% 20%,rgba(var(--explore-accent-rgb),.18),transparent 40%),radial-gradient(circle at 80% 70%,rgba(255,77,141,.18),transparent 42%),linear-gradient(145deg,#1b1b1b,#0c0c0c)}.explore-ph--featured-seedance,.explore-ph--tool-seedance,.explore-ph--seedance-promo{background:linear-gradient(135deg,#e8edff,#5474ff)}.explore-ph--featured-images{background:radial-gradient(circle at 70% 30%,rgba(255,120,180,.35),transparent 40%),linear-gradient(160deg,#221018,#04050c)}.explore-ph--featured-audio{background:radial-gradient(circle at 30% 70%,rgba(90,200,255,.3),transparent 45%),linear-gradient(160deg,#10141f,#070707)}.explore-ph--featured-upscale{background:radial-gradient(circle at 50% 40%,rgba(var(--explore-accent-rgb),.35),transparent 45%),#0a1028}.explore-ph--banner{background:linear-gradient(120deg,#0000002e,#0000009e),radial-gradient(circle at 72% 35%,rgba(var(--explore-accent-rgb),.45),transparent 42%),linear-gradient(150deg,#10182e,#04050c)}.explore-ph--prod-warm{background:linear-gradient(160deg,#3a2a18,#12100c)}.explore-ph--prod-pink{background:linear-gradient(160deg,#4a1830,#140810)}.explore-ph--prod-mono{background:linear-gradient(160deg,#222,#04050c)}.explore-ph--prod-cinema{background:linear-gradient(160deg,#1a2430,#080808)}.explore-ph--project-1{background:linear-gradient(160deg,#3a2a18,#12100c)}.explore-ph--project-2{background:linear-gradient(160deg,#4a1830,#140810)}.explore-ph--project-3{background:linear-gradient(160deg,#222,#04050c)}.explore-ph--project-4{background:linear-gradient(160deg,#1a2430,#080808)}.explore-featured-overlay{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;height:100%;min-height:0;padding:18px;background:linear-gradient(180deg,transparent 28%,rgba(0,0,0,.72) 100%)}.explore-featured-card--light .explore-featured-overlay{background:linear-gradient(180deg,transparent 30%,rgba(255,255,255,.2) 100%)}.explore-featured-title{margin:0;font-size:clamp(18px,1.5vw,24px);font-weight:800;letter-spacing:.01em;text-transform:uppercase}.explore-featured-sub{margin:0;font-size:13px;color:#ffffffc7}.explore-featured-card--light .explore-featured-sub{color:#000000a6}.explore-featured-arrow{position:absolute;right:14px;bottom:14px;width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:#ffffff1f;border:1px solid rgba(255,255,255,.2);font-size:16px}.explore-featured-card--light .explore-featured-arrow{background:#00000014;border-color:#00000026;color:#111}.explore-badge{display:inline-flex;align-items:center;width:fit-content;padding:3px 8px;border-radius:7px;background:#ffffff1f;color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.explore-badge--lime{background:var(--explore-accent);color:#fff}.explore-badge--blue{background:#3b82f6;color:#fff}.explore-badge--muted{background:#ffffff1a;color:#ddd}.explore-mid{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(0,1.75fr);gap:14px;min-height:0;height:100%;align-items:stretch}.explore-banner{position:relative;display:block;min-height:0;height:100%;border-radius:18px;overflow:hidden;border:1px solid transparent;background:linear-gradient(var(--explore-surface),var(--explore-surface)) padding-box,linear-gradient(135deg,rgba(var(--explore-accent-rgb),.75),#ff4d8d73,#5474ff59) border-box;text-decoration:none;color:inherit;transition:transform .22s ease,box-shadow .22s ease}.explore-banner:hover{transform:translateY(-2px);box-shadow:0 16px 48px #0006;text-decoration:none}.explore-banner-content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;gap:clamp(10px,1.4vh,16px);height:100%;min-height:0;padding:clamp(20px,2.4vh,28px);background:linear-gradient(90deg,#000000c7,#00000059 55%,#00000026)}.explore-banner-title{margin:0;max-width:14ch;font-size:clamp(24px,2.6vw,40px);line-height:1.05;font-weight:900;letter-spacing:-.02em;text-transform:uppercase}.explore-banner-sub{margin:0;max-width:36ch;color:var(--explore-muted);font-size:14px}.explore-banner-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.explore-banner-list li{position:relative;padding-left:18px;font-size:13px;color:#ddd}.explore-banner-list li:before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%;background:var(--explore-accent)}.explore-banner-cta{display:inline-flex;align-items:center;width:fit-content;margin-top:6px;padding:10px 16px;border-radius:12px;background:#fff;color:#111;font-weight:800;font-size:14px}.explore-mid-right{display:grid;grid-template-rows:minmax(108px,.26fr) minmax(0,1fr);gap:12px;min-width:0;min-height:0;height:100%}.explore-seedance-promo{position:relative;display:block;min-height:0;height:100%;overflow:hidden;border:1px solid var(--explore-border);border-radius:14px;background:var(--explore-surface);color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.explore-seedance-promo:hover{transform:translateY(-2px);border-color:rgba(var(--explore-accent-rgb),.5);box-shadow:0 12px 36px #0000005c;text-decoration:none}.explore-seedance-promo-content{position:relative;z-index:1;display:flex;align-items:center;height:100%;min-height:0;padding:16px 58px 16px 18px;background:linear-gradient(90deg,#000000bd,#0000002e)}.explore-seedance-promo-content h2{margin:6px 0 0;font-size:clamp(20px,1.8vw,28px);line-height:1;font-weight:900;text-transform:uppercase}.explore-seedance-promo-content p{margin:6px 0 0;color:#ffffffc2;font-size:13px}.explore-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-height:0;height:100%}.explore-tool-card{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-height:0;height:100%;padding:14px 16px;border-radius:14px;border:1px solid var(--explore-border);background:var(--explore-surface);color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}.explore-tool-card:hover{transform:translateY(-2px);border-color:rgba(var(--explore-accent-rgb),.45);background:var(--explore-surface-2);text-decoration:none}.explore-tool-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.explore-tool-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--bg-chip, rgba(255, 255, 255, .06));color:var(--explore-accent)}.explore-tool-title{margin:0;font-size:clamp(15px,1.15vw,17px);font-weight:700}.explore-tool-sub{margin:0;font-size:13px;color:var(--explore-muted)}.explore-tool-card--disabled{opacity:.55;cursor:default;pointer-events:none}.explore-tool-card--disabled:hover{transform:none;border-color:var(--explore-border);background:var(--explore-surface)}.explore-featured-card--has-video .explore-featured-overlay{background:linear-gradient(180deg,#00000026 10%,#000000c7)}.hover-promo-media--autoplay .hover-promo-video{opacity:1}.support-fab{position:fixed;right:20px;bottom:20px;z-index:8500;width:56px;height:56px;padding:0;border:none;border-radius:50%;background:transparent;cursor:pointer;line-height:0;transition:transform .18s ease,filter .18s ease}.support-fab:hover{transform:scale(1.06);filter:brightness(1.08)}.support-fab:focus-visible{outline:2px solid var(--explore-accent, #5474FF);outline-offset:3px}.support-fab img{width:56px;height:56px;display:block;pointer-events:none}.support-stub-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8600;display:grid;place-items:end;padding:24px 20px 92px;background:#00000073}.support-stub-modal{width:min(360px,100%);padding:20px;border-radius:16px;border:1px solid var(--border, rgba(255, 255, 255, .12));background:#141414;color:var(--text-primary, #f4f4f4);box-shadow:0 16px 48px #00000073;justify-self:end}.support-stub-title{margin:0 0 8px;font-size:18px;font-weight:700}.support-stub-text{margin:0 0 16px;color:var(--text-muted, #9a9a9a);font-size:14px;line-height:1.45}.support-stub-close{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:none;border-radius:999px;background:#5474ff;color:#fff;font-weight:600;cursor:pointer}.support-stub-close:hover{filter:brightness(1.08)}@media (max-width: 640px){.support-fab{right:14px;bottom:14px}.support-stub-backdrop{place-items:center;padding:20px}.support-stub-modal{justify-self:center}}.explore-inside{margin-top:28px}.explore-inside-head{margin-bottom:18px}.explore-inside-title{margin:0 0 8px;color:var(--explore-accent);font-size:clamp(22px,3vw,36px);font-weight:900;letter-spacing:-.02em;text-transform:uppercase}.explore-inside-sub{margin:0;color:var(--explore-muted);font-size:14px}.explore-projects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;overflow:visible;padding:6px 2px 14px}.explore-project-card{position:relative;display:block;min-height:340px;border-radius:16px;overflow:hidden;border:1px solid var(--explore-border);background:var(--explore-surface);color:inherit;text-decoration:none;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}.explore-project-card--more{border-style:dashed}.explore-project-card--guest{width:100%;padding:0;font:inherit;text-align:inherit;cursor:pointer}.explore-project-card:hover{transform:translateY(-4px) scale(1.015);border-color:rgba(var(--explore-accent-rgb),.45);box-shadow:0 16px 40px #0006;text-decoration:none}.explore-project-cover,.explore-project-media{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.explore-project-meta{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center;background:linear-gradient(180deg,rgba(0,0,0,.15),transparent 35%),linear-gradient(0deg,rgba(0,0,0,.72),transparent 55%);pointer-events:none}.explore-project-meta h3{margin:0;font-size:clamp(22px,2.4vw,32px);font-weight:800;letter-spacing:-.02em;text-transform:lowercase;text-shadow:0 2px 16px rgba(0,0,0,.55)}.explore-project-meta p{margin:8px 0 0;max-width:28ch;font-size:13px;line-height:1.35;color:#ffffffb8;letter-spacing:.01em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.explore-projects-state{display:grid;place-items:center;min-height:180px;padding:24px;border:1px dashed var(--explore-border);border-radius:16px;background:#ffffff06;color:var(--explore-muted);text-align:center}@media (max-width: 900px){.explore-above-fold{height:auto;min-height:0;grid-template-rows:auto auto}.explore-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-featured-card{min-height:180px}.explore-mid{grid-template-columns:1fr;height:auto}.explore-banner{min-height:280px;height:auto}.explore-mid-right{height:auto;grid-template-rows:112px auto}.explore-tools{height:auto}.explore-tool-card{min-height:112px;height:auto}.explore-projects{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-project-card{min-height:260px}}@media (max-width: 700px){.explore-page{padding:14px 12px 40px}.explore-featured{grid-template-columns:1fr}.explore-tools{grid-template-columns:1fr;grid-template-rows:none}.explore-seedance-promo{min-height:112px}.explore-banner{min-height:300px}.explore-projects{grid-template-columns:1fr}.explore-project-card{min-height:220px}.studio-promo-bar-text{white-space:normal}}.login-wrap--hf{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,rgba(84,116,255,.12),transparent 40%),radial-gradient(circle at 80% 80%,rgba(255,77,141,.12),transparent 42%),#04050c}.login-box--hf{width:min(400px,100%);padding:28px 24px;border-radius:18px;border:1px solid #2a2a2a;background:#121212;box-shadow:0 24px 80px #0000008c;color:#f4f4f4}.login-box--hf h2{margin:0 0 8px;font-size:24px;font-weight:800;letter-spacing:-.02em}.login-box-sub{margin:0 0 18px;font-size:13px;color:#9a9a9a}.login-box--hf label{color:#bdbdbd}.login-box--hf input{width:100%;background:#04050c;border:1px solid #2a2a2a;color:#fff;border-radius:12px;padding:12px 14px}.login-box--hf input:focus{outline:none;border-color:var(--explore-accent, #5474FF);box-shadow:0 0 0 3px #5474ff26}.login-box-submit,.hf-gen-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;padding:13px 18px;border:none;border-radius:12px;background:var(--explore-accent, #5474FF);color:#fff;font-weight:800;font-size:14px;cursor:pointer}.login-box-submit:disabled,.hf-gen-submit:disabled{opacity:.55;cursor:not-allowed}.login-box-submit:hover:not(:disabled),.hf-gen-submit:hover:not(:disabled){filter:brightness(1.05)}.login-box-submit--secondary{margin-top:10px;background:transparent;color:var(--explore-accent, #5474FF);border:1px solid color-mix(in srgb,var(--explore-accent, #5474FF) 55%,transparent)}.login-box-submit--secondary:hover:not(:disabled){filter:none;background:color-mix(in srgb,var(--explore-accent, #5474FF) 12%,transparent)}.login-box-submit--google{margin-top:0;background:#fff;color:#1f1f1f;border:1px solid #dadce0}.login-box-submit--google:hover:not(:disabled){filter:none;background:#f7f8f9}.login-divider{display:flex;align-items:center;gap:12px;margin:16px 0;color:#8b8f9a;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:#2a2a2a}.login-modal-backdrop{z-index:400;background:#000000b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.login-modal{position:relative;width:min(420px,calc(100vw - 28px));padding:20px 16px 12px;overflow:visible;border-radius:20px;border:1px solid #2a2a2a;background:#04050c;box-shadow:0 30px 100px #000000a6}.login-modal .login-box--hf{box-shadow:none;border:none;background:transparent;width:100%;padding:12px 12px 16px}.login-modal .login-box--hf h2{padding-right:36px}.login-modal-close{position:absolute;top:14px;right:14px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#ffffff0f;color:#fff;font-size:20px;line-height:1;cursor:pointer}.login-modal-close span{display:block;transform:translateY(-1px)}.login-modal-close:hover{background:#ffffff1f}.topbar-login-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;border:none;background:var(--explore-accent, #5474FF);color:#fff;font-weight:800;font-size:13px;cursor:pointer;white-space:nowrap}.topbar-login-btn:hover{filter:brightness(1.05)}.main--hf-gen{background:var(--explore-bg, #04050C);color:var(--explore-text, #f4f4f4)}.app--hf-gen{background:var(--explore-bg, #04050C)}.hf-gen-page.gen-page{gap:0}.hf-gen-sidebar.gen-sidebar{background:var(--bg-elevated, #0c0c0c);border-right:1px solid var(--border, #222)}.hf-gen-hero{margin-bottom:18px}.hf-gen-kicker{margin:0 0 6px;color:var(--explore-accent, #5474FF);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hf-gen-title{margin:0 0 6px!important;font-size:28px!important;font-weight:900!important;letter-spacing:-.03em}.hf-gen-lead{margin:0;color:var(--text-muted, #9a9a9a);font-size:13px}.hf-gen-form .gen-submit-btn.hf-gen-submit,button.hf-gen-submit{background:var(--explore-accent, #5474FF);color:#fff;border:none;border-radius:12px}.hf-gen-results.gen-results{background:var(--bg-base, #080808)}.hf-gen-guest-empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px!important;border:1px dashed var(--border-dashed, #333);border-radius:16px;background:#ffffff05}.hf-gen-guest-empty p{margin:0;color:var(--text-muted, #9a9a9a)}.hf-gen-guest-empty .hf-gen-submit{width:auto;min-width:140px;margin-top:0}.main--generate.main--hf-gen{padding:0!important;overflow:hidden;overflow-x:hidden;max-width:100%;background:var(--bg-base, #04050C)}.main--hf-gen>*{max-width:100%!important;margin:0!important;height:100%;min-width:0}.hf-ws{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;max-width:100%;overflow-x:hidden;background:var(--bg-base, #04050C);color:var(--text-primary, #f4f4f4)}.hf-ws-canvas{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.hf-ws-top{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 8px}.hf-ws-title{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em}.hf-ws-subtitle{margin:4px 0 0;color:var(--text-muted, #8f8f8f);font-size:13px}.hf-ws-toolbar{display:flex;align-items:center;gap:8px}.hf-ws-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;min-width:0;padding:16px 24px 140px}.hf-ws-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.hf-ws-grid>*{margin:0}.hf-ws-empty{min-height:48vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;color:var(--text-muted, #9a9a9a)}.hf-ws-empty h2{margin:0;color:var(--text-primary, #f4f4f4);font-size:28px;font-weight:800;letter-spacing:-.03em}.hf-ws-empty p{margin:0;max-width:36ch;font-size:14px}.hf-ws-empty .hf-ws-generate{margin-top:10px;width:auto;min-width:140px}.hf-ws-dock{flex-shrink:0;padding:0 16px 16px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--bg-base, #04050C) 92%,transparent) 28%,var(--bg-base, #04050C) 60%)}.hf-ws-bar{width:min(980px,100%);margin:0 auto;padding:14px;border-radius:22px;border:1px solid var(--border, #2a2a2a);background:color-mix(in srgb,var(--bg-elevated, #121212) 96%,transparent);box-shadow:0 18px 60px #0000008c;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.hf-ws-bar-refs{flex:0 0 auto;align-self:flex-start;max-width:min(46%,280px);overflow-x:auto;overflow-y:visible;scrollbar-width:none}.hf-ws-bar-refs::-webkit-scrollbar{display:none}.hf-ws-bar-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.hf-ws-prompt{width:100%;min-height:56px;max-height:30vh;resize:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong, #3a3a3a) transparent;border:none!important;outline:none!important;box-shadow:none!important;border-radius:0;background:transparent!important;color:var(--text-primary, #fff);font-family:inherit;font-size:14px;line-height:1.4;padding:4px 2px;box-sizing:border-box}.hf-ws-prompt::placeholder{color:var(--text-faint, #666)}.hf-ws-prompt::-webkit-scrollbar{width:6px}.hf-ws-prompt::-webkit-scrollbar-track{background:transparent}.hf-ws-prompt::-webkit-scrollbar-thumb{background:var(--border-strong, #3a3a3a);border-radius:999px}.hf-ws-bar-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.hf-ws-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.hf-ws-chip,.hf-ws-model{position:relative}.hf-ws-chip-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;border:1px solid var(--border, #333);background:var(--bg-surface, #161616);color:var(--text-primary, #eee);font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.hf-ws-chip-btn:hover,.hf-ws-chip-btn.open{border-color:var(--border-strong, #444);background:var(--bg-hover, #1c1c1c)}.hf-ws-chip-label{color:var(--text-muted, #888);text-transform:uppercase;font-size:10px;letter-spacing:.04em}.hf-ws-chip-value{color:var(--text-primary, #f4f4f4)}.hf-ws-chip-caret{color:var(--text-muted, #777);font-size:10px}.hf-ws-chip-menu,.hf-ws-model-menu{position:absolute;right:0;bottom:calc(100% + 8px);min-width:180px;max-height:280px;overflow:auto;padding:6px;border-radius:14px;border:1px solid var(--border, #2f2f2f);background:var(--bg-elevated, #121212);box-shadow:0 16px 40px #00000080;z-index:30;display:flex;flex-direction:column;gap:2px}.hf-ws-model-menu{min-width:280px}.hf-ws-chip-option,.hf-ws-model-option{text-align:left;border:none;background:transparent;color:var(--text-secondary, #ddd);font:inherit;font-size:13px;padding:9px 10px;border-radius:10px;cursor:pointer}.hf-ws-chip-option:hover,.hf-ws-model-option:hover{background:var(--bg-hover, rgba(255, 255, 255, .06))}.hf-ws-chip-option.active,.hf-ws-model-option.active{background:#5474ff24;color:#5474ff}.hf-ws-model-option.disabled{opacity:.45;cursor:not-allowed}.hf-ws-model-option-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hf-ws-model-option p{margin:4px 0 0;color:var(--text-muted, #888);font-size:12px}.hf-ws-model-badge{padding:2px 6px;border-radius:6px;background:#5474ff;color:#fff;font-size:10px;font-weight:800}.hf-ws-model-unavailable{color:#f87171!important}.hf-ws-generate{display:inline-flex;align-items:center;justify-content:center;min-width:112px;height:42px;padding:0 18px;border:none;border-radius:999px;background:#5474ff;color:#fff;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.hf-ws-generate:hover:not(:disabled){filter:brightness(1.05)}.hf-ws-generate:disabled{opacity:.5;cursor:not-allowed}.hf-ws-bar-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;padding:0 4px;font-size:12px}.hf-ws-bar-hint{color:var(--text-muted, #888)}.hf-ws-bar-error{color:#f87171}.hf-ws-refs{display:grid;grid-template-rows:repeat(var(--ref-rows, 1),48px);grid-auto-flow:column;grid-auto-columns:48px;gap:8px;justify-content:start;align-content:start;width:max-content;outline:none;border-radius:12px}.hf-ws-refs:focus-visible{box-shadow:0 0 0 2px #5474ff}.hf-ws-refs--drop-active{outline:2px solid #5474FF;outline-offset:4px;background:#5474ff14}.hf-ws-refs-input{display:none}.hf-ws-ref-thumb{position:relative;flex:0 0 auto;width:48px;height:48px;border-radius:10px;overflow:hidden;border:1px solid var(--border, #333);background:var(--bg-inset, #111)}.hf-ws-ref-thumb img,.hf-ws-ref-thumb video{width:100%;height:100%;object-fit:cover;display:block}.hf-ws-ref-audio{display:grid;place-items:center;height:100%;color:#5474ff;font-size:18px}.hf-ws-ref-remove{position:absolute;top:2px;right:2px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;border-radius:999px;background:#000000b3;color:#fff;font-size:12px;line-height:1;cursor:pointer}.hf-ws-ref-remove:hover{background:#000000d9;color:#fff}.hf-ws-ref-add{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;padding:0;border-radius:10px;border:1px dashed var(--border-dashed, #444);background:transparent;color:var(--text-muted, #aaa);font-size:22px;font-weight:400;line-height:0;cursor:pointer}button.hf-ws-ref-add{padding:0!important;background:transparent;color:var(--text-muted, #aaa);display:grid;place-items:center;line-height:0;font-size:22px;font-weight:400}.hf-ws-ref-add:hover,button.hf-ws-ref-add:hover{border-color:#5474ff;background:transparent;color:#5474ff}.hf-ws-ref-index{position:absolute;top:2px;left:2px;display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#000000b8;color:#fff;font-size:10px;font-weight:700;line-height:1;pointer-events:none}.hf-ws-ref-thumb--reorderable{cursor:grab}.hf-ws-ref-thumb--reorderable:active{cursor:grabbing}.hf-ws-ref-thumb--drag-over{border-color:#5474ff;box-shadow:0 0 0 2px #5474ff8c}.hf-ws-ref-thumb--uploading{display:grid;place-items:center;border-style:dashed}.hf-ws-ref-spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(84,116,255,.25);border-top-color:#5474ff;animation:hfRefSpin .8s linear infinite}@keyframes hfRefSpin{to{transform:rotate(360deg)}}.hf-ws-refs-error{margin-top:6px;color:#f87171;font-size:12px;line-height:1.35}@media (max-width: 820px){.hf-ws-bar-main{grid-template-columns:1fr}.hf-ws-bar-side{align-items:stretch}.hf-ws-chips{justify-content:flex-start}.hf-ws-generate{width:100%}.hf-ws-body{padding:16px 12px 180px}.hf-ws-top{padding:14px 12px 4px}}.hf-ws-grid .gen-result-card{background:var(--bg-elevated, #121212);border:1px solid var(--border, #262626);border-radius:16px;overflow:hidden}.hf-ws-grid .gen-result-card-inner{padding:18px 18px 20px;display:flex;flex-direction:column;gap:14px}.hf-ws-grid .gen-result-card--image .gen-result-card-header{margin-bottom:0;gap:16px}.hf-ws-grid .gen-result-card--image .gen-result-actions{gap:16px;flex-shrink:0}.hf-ws-grid .gen-result-card--image .gen-result-action{gap:8px}.hf-ws-grid .gen-result-card--image .gen-result-meta{margin:0;color:var(--text-muted, #9a9a9a);font-size:12px;font-weight:500;line-height:1.35}.hf-ws-grid .gen-result-card--image .gen-result-prompt-block{margin:0}.hf-ws-grid .gen-result-card--image .gen-result-prompt{margin:0;color:var(--text-secondary, #c7c7c7);font-size:13px;line-height:1.45}.hf-ws-grid .gen-result-card--image .gen-result-media{width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#0a0a0a;border:1px solid var(--border, #1e1e1e);display:grid;place-items:center}.hf-ws-grid .gen-result-card--image .gen-result-media-img{width:100%;height:100%;object-fit:contain;display:block}.hf-ws-grid .gen-result-card--image .gen-result-placeholder{aspect-ratio:1;margin:0;border-radius:12px;border:1px dashed var(--border-dashed, #2a2a2a);background:var(--bg-muted, #0d0d0d);color:var(--text-faint, #6f6f6f);font-size:13px;display:grid;place-items:center}.hf-ws-grid .gen-result-card--image .gen-result-media .gen-result-error{place-self:stretch;align-self:stretch;display:flex;align-items:flex-start;box-sizing:border-box;width:100%;height:100%;margin:0;padding:14px 16px;border-radius:0;border:none;background:color-mix(in srgb,#ff6b6b 12%,#0a0a0a);color:var(--danger-text, #ff8e8e);font-size:12px;line-height:1.45}.hf-ws-grid .gen-result-card--image .gen-result-error{margin:0;padding:14px 16px;border-radius:10px;border:1px solid color-mix(in srgb,#ff6b6b 35%,transparent);background:color-mix(in srgb,#ff6b6b 12%,var(--bg-elevated, #121212));color:var(--danger-text, #ff8e8e);font-size:12px;line-height:1.45}.hf-ws-grid .gen-result-card--audio .gen-result-card-inner{padding:18px 18px 20px;gap:14px}.gen-result-card--audio .gen-result-card-header{align-items:flex-start;gap:16px;margin-bottom:0}.gen-result-card--audio .gen-result-badges{flex:1;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:6px}.gen-result-card--audio .gen-result-actions{flex:0 0 auto;gap:16px}.gen-result-card--audio .gen-result-action{font-size:12px}.gen-result-card--audio .gen-result-prompt-block{margin-bottom:0}.gen-result-card--audio .gen-result-prompt-block .gen-field-hint{margin-top:8px}.gen-result-card--audio .gen-result-error,.gen-result-card--audio .err-msg{margin:0}.gen-result-card--audio .gen-result-media{margin-top:0;padding:4px 0}.gen-result-card--audio audio{display:block;width:100%;height:36px}.hf-ws-toolbar .materials-results-link,.hf-ws-toolbar a,.hf-ws-toolbar button{color:#5474ff;font-size:13px}.prompt-engineer-tabs{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--border, #252525);border-radius:var(--studio-radius-pill, 999px);background:var(--bg-inset, #101010);overflow:hidden}.hf-ws-toolbar .prompt-engineer-tabs{border-radius:var(--studio-radius-pill, 999px);overflow:hidden}.hf-ws-toolbar .prompt-engineer-tabs button{min-width:94px;padding:7px 12px;border:0;border-radius:var(--studio-radius-pill, 999px);background:transparent;color:var(--text-muted, #777);font:inherit;font-size:12px;font-weight:600;cursor:pointer}.hf-ws-toolbar .prompt-engineer-tabs button:hover{background:var(--bg-hover, #181818);color:var(--text-secondary, #ddd)}.hf-ws-toolbar .prompt-engineer-tabs button.active{background:var(--bg-hover, #202020);color:var(--text-primary, #fff)}.prompt-engineer-settings-toggle{gap:7px}.prompt-engineer-settings-toggle:disabled{background:var(--bg-surface, #161616)!important;opacity:.55}.prompt-engineer-council-menu{padding:18px;border:1px solid var(--border, #292929);border-radius:18px;background:var(--bg-elevated, #121212);color:var(--text-primary, #eee);box-shadow:0 20px 50px #00000059;overflow:visible}.prompt-engineer-council-note{margin:10px 0 0;color:var(--text-muted, #888);font-size:12px;line-height:1.4}.prompt-engineer-roster{display:flex;flex-direction:column;gap:8px;margin-top:14px}.prompt-engineer-roster-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border, #2f2f2f);border-radius:12px;background:var(--bg-surface, #161616)}.prompt-engineer-roster-model{color:var(--text-secondary, #ddd);font-size:13px;font-weight:600;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.prompt-engineer-settings-panel,.prompt-engineer-result-card{width:min(100%,980px);margin:8px auto 18px;border:1px solid var(--border, #292929);border-radius:18px;background:var(--bg-elevated, #121212);color:var(--text-primary, #eee);box-shadow:0 20px 50px #00000040}.prompt-engineer-settings-panel{padding:18px}.prompt-engineer-section-head,.prompt-engineer-result-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.prompt-engineer-section-head h2,.prompt-engineer-result-header h2{margin:3px 0 0;color:var(--text-primary, #f5f5f5);font-size:20px;letter-spacing:-.02em}.prompt-engineer-kicker{color:#5474ff;font-size:10px;font-weight:800;letter-spacing:.08em}.prompt-engineer-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--border, #303030);border-radius:50%;background:var(--bg-chip, #181818);color:var(--text-muted, #999);font-size:18px;cursor:pointer}.prompt-engineer-close:hover{border-color:var(--border-strong, #444);color:var(--text-primary, #fff)}.prompt-engineer-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.prompt-engineer-model-field{position:relative;display:flex;flex-direction:column;gap:7px;margin:0;color:var(--text-muted, #929292);font-size:11px;font-weight:600;z-index:1}.prompt-engineer-model-field:has(.prompt-engineer-model-list){z-index:6}.prompt-engineer-role-label{display:inline-flex;align-items:center;gap:7px}.prompt-engineer-role-badge{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:5px;background:#c24141;color:#fff;font-size:10px;font-weight:800;line-height:1}.prompt-engineer-role-badge--synth{background:#7c3aed}.prompt-engineer-model-trigger{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid var(--border, #303030);border-radius:9px;background:var(--bg-chip, #181818);color:var(--text-primary, #eee);font:inherit;font-size:12px;font-weight:500;text-align:left;cursor:pointer}.prompt-engineer-model-trigger:hover:not(:disabled),.prompt-engineer-model-trigger.open{border-color:var(--border-strong, #444)}.prompt-engineer-model-trigger:disabled{opacity:.55;cursor:not-allowed}.prompt-engineer-model-trigger-icon{flex-shrink:0;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--bg-chip, #222);border:1px solid var(--border, #333);color:#5474ff}.prompt-engineer-model-trigger-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-engineer-model-trigger-caret{flex-shrink:0;color:var(--text-muted, #777);font-size:11px}.prompt-engineer-model-list{position:absolute;left:0;right:0;z-index:5;display:flex;flex-direction:column;max-height:320px;overflow:hidden;padding:0;border:1px solid var(--border, #303030);border-radius:12px;background:var(--bg-surface, #161616);box-shadow:0 16px 40px #0006}.prompt-engineer-model-list--up{bottom:calc(100% + 6px);top:auto}.prompt-engineer-model-list-head{flex-shrink:0;padding:8px 8px 6px;border-bottom:1px solid var(--border, #2a2a2a)}.prompt-engineer-model-search{width:100%;padding:8px 10px;border:1px solid var(--border, #333);border-radius:8px;background:var(--bg-inset, #111);color:var(--text-primary, #eee);font:inherit;font-size:12px}.prompt-engineer-model-search:focus{outline:none;border-color:#5474ff}.prompt-engineer-model-list-err{margin-top:6px;font-size:11px}.prompt-engineer-model-list-loading,.prompt-engineer-model-list-empty{padding:10px 8px;color:var(--text-muted, #777);font-size:12px}.prompt-engineer-model-list-scroll{flex:1;min-height:0;overflow:auto;padding:6px}.prompt-engineer-model-section+.prompt-engineer-model-section{margin-top:6px;padding-top:6px;border-top:1px solid var(--border, #262626)}.prompt-engineer-model-section-title{padding:4px 6px 6px;color:var(--text-muted, #888);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.prompt-engineer-model-section-list{display:flex;flex-direction:column;gap:2px}.prompt-engineer-model-option{display:flex;align-items:flex-start;gap:10px;width:100%;padding:8px;border:0;border-radius:9px;background:transparent;color:var(--text-secondary, #ddd);font:inherit;text-align:left;cursor:pointer}.prompt-engineer-model-option:hover:not(:disabled){background:var(--bg-hover, #1f1f1f)}.prompt-engineer-model-option.active{background:#5474ff1f}.prompt-engineer-model-option.disabled,.prompt-engineer-model-option:disabled{opacity:.45;cursor:not-allowed}.prompt-engineer-model-option-icon{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--bg-chip, #1c1c1c);border:1px solid var(--border, #2f2f2f);color:#5474ff}.prompt-engineer-model-option-body{flex:1;min-width:0}.prompt-engineer-model-option-body strong{display:block;color:var(--text-primary, #f0f0f0);font-size:12px;font-weight:700}.prompt-engineer-model-option-body p{margin:2px 0 0;color:var(--text-muted, #888);font-size:11px;font-weight:500;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-engineer-model-unavailable{color:var(--warning-text, #fbbf24)!important}.prompt-engineer-model-field select{width:100%;min-width:0;padding:10px 30px 10px 11px;border:1px solid var(--border, #303030);border-radius:9px;background:var(--bg-input, #181818);color:var(--text-primary, #eee);font:inherit;font-size:12px}@media (max-width: 760px){.prompt-engineer-model-grid{grid-template-columns:1fr}}.prompt-engineer-result-card{padding:20px}.prompt-engineer-result-header{margin-bottom:16px}.prompt-engineer-result-header .prompt-result-meta{justify-content:flex-end}.prompt-engineer-status{padding:5px 9px;border-radius:7px;background:var(--bg-chip, #242424);color:var(--text-muted, #aaa);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.prompt-engineer-status.success{background:#5474ff1f;color:#5474ff}.prompt-engineer-status.warning{background:#f59e0b21;color:var(--warning-text, #fbbf24)}.prompt-engineer-time{color:var(--text-muted, #777);font-size:12px}.prompt-engineer-output{max-height:46vh;margin:0;padding:16px;overflow:auto;border:1px solid var(--border, #292929);border-radius:12px;background:var(--bg-inset, #0c0c0c);color:var(--text-primary, #e8e8e8);font:inherit;font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.prompt-engineer-result-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.prompt-engineer-copy,.prompt-engineer-use{padding:9px 15px;border-radius:9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.prompt-engineer-copy{border:1px solid var(--border, #303030);background:var(--bg-chip, #181818);color:var(--text-secondary, #ddd)}.prompt-engineer-use{border:0;background:#5474ff;color:#090909}.prompt-engineer-drafts{padding-top:2px;border-top:1px solid var(--border, #242424)}.prompt-engineer-logs{width:min(100%,1180px);margin:0 auto;color:var(--text-secondary, #ddd)}.prompt-engineer-logs .prompt-logs-title,.prompt-engineer-logs .prompt-logs-subtitle{margin:0;color:var(--studio-text, #f4f4f4)}.prompt-engineer-logs .prompt-logs-title{font-size:18px;font-weight:650;letter-spacing:-.02em}.prompt-engineer-logs .prompt-logs-subtitle{margin-bottom:14px!important;color:var(--studio-text-muted, #9a9a9a);font-size:13px;line-height:1.5}.prompt-engineer-logs .prompt-logs-stats{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:18px!important;padding:6px 12px;border:1px solid var(--studio-border, #2a2a2a);border-radius:999px;background:var(--studio-surface, #121212);color:var(--studio-text-secondary, #c7c7c7);font-size:12px!important}.prompt-engineer-logs .prompt-logs-empty{margin:0;padding:48px 24px;border:1px dashed var(--studio-border-strong, #3a3a3a);border-radius:var(--studio-radius, 16px);background:var(--studio-surface, #121212);color:var(--studio-text-muted, #9a9a9a);font-size:14px;text-align:center}.prompt-engineer-logs .gen-grid{gap:14px}.prompt-engineer-logs .gen-card{overflow:hidden;border:1px solid var(--studio-border, #2a2a2a);border-radius:var(--studio-radius, 16px);background:var(--studio-surface, #121212);box-shadow:none}.prompt-engineer-logs .gen-card .body{padding:16px}@media (max-width: 760px){.prompt-engineer-model-grid{grid-template-columns:1fr}.prompt-engineer-section-head,.prompt-engineer-result-header{flex-direction:column}.prompt-engineer-result-header .prompt-result-meta{justify-content:flex-start}}.hf-ws-bar-row{position:relative;display:flex;align-items:flex-start;gap:10px;min-width:0}.hf-ws-bar-row>.hf-ws-prompt{flex:1 1 0;min-width:0;align-self:stretch}.hf-ws-bar-row--with-refs>.hf-ws-prompt{min-height:56px}.hf-ws-bar-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}.hf-ws-bar-footer .hf-ws-chips{justify-content:flex-start;flex:1}.hf-ws-bar-footer .hf-ws-chip-btn,.hf-ws-bar-footer .hf-ws-model-btn,body.ui-studio .hf-ws-bar-footer button.hf-ws-chip-btn,[data-ui=studio] .hf-ws-bar-footer button.hf-ws-chip-btn,body.ui-studio .hf-ws-bar-footer button.hf-ws-model-btn,[data-ui=studio] .hf-ws-bar-footer button.hf-ws-model-btn{box-sizing:border-box;height:34px;min-height:34px;max-height:34px;padding:0 10px!important;font-size:12px!important;font-weight:600;line-height:1;border-radius:999px}.hf-ws-bar-footer .hf-ws-chip-icon,.hf-ws-bar-footer .hf-ws-model-icon{width:16px;height:16px;font-size:11px;flex-shrink:0}.hf-ws-bar-footer .hf-ws-chip-value{font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.hf-ws-generate{display:inline-flex;align-items:center;gap:8px;transition:transform .15s ease,filter .15s ease}.hf-ws-generate:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.hf-ws-generate:active:not(:disabled){transform:scale(.98)}.hf-ws-generate-cost{font-size:11px;font-weight:650;opacity:.9}.hf-ws-chip-label{display:none}.hf-ws-chip-icon,.hf-ws-model-icon{display:inline-grid;place-items:center;width:18px;height:18px;font-size:11px;color:#5474ff}.hf-ws-chip-menu-title{padding:6px 10px 4px;font-size:11px;color:var(--text-muted, #888);text-transform:uppercase;letter-spacing:.04em}.hf-ws-chip-menu--slider{min-width:0;max-height:none;overflow:visible;padding:12px 14px;border-radius:14px;border-color:var(--border, #292929);background:var(--bg-elevated, #111)}.hf-ws-chip-menu--slider .hf-ws-chip-menu-title{padding:0 0 9px;color:var(--text-secondary, #ddd);font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}.hf-ws-chip-slider{padding:0}.hf-ws-chip-slider-control{position:relative;height:36px}.hf-ws-chip-slider-rail{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid var(--border-strong, #3a3a3a);border-radius:7px;background:var(--bg-muted, #191919)}.hf-ws-chip-slider-value{position:absolute;left:12px;top:50%;color:var(--text-primary, #e8e8e8);font-size:12px;font-weight:500;transform:translateY(-50%)}.hf-ws-chip-slider-thumb{position:absolute;top:50%;left:var(--hf-range-progress);width:4px;height:34px;border-radius:3px;background:#fff;transform:translate(-50%,-50%)}.hf-ws-chip-range{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.hf-ws-chip-option{display:flex;align-items:center;justify-content:space-between;gap:8px}.hf-ws-chip-menu,.hf-ws-model-menu{animation:hfPop .16s ease}@keyframes hfPop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hf-ws-model-menu--rich{min-width:min(360px,92vw);max-height:420px;padding:10px;border-radius:18px;background:color-mix(in srgb,var(--bg-elevated, #121212) 96%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.hf-ws-model-search{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--bg-muted, #1a1a1a);border:1px solid var(--border, #2a2a2a);margin-bottom:8px;color:var(--text-muted, #888)}.hf-ws-model-search input{flex:1;border:none;outline:none;background:transparent;color:var(--text-primary, #fff);font:inherit;font-size:13px}.hf-ws-model-section{padding:6px 4px 8px;font-size:12px;color:var(--text-muted, #9a9a9a)}.hf-ws-model-list{display:flex;flex-direction:column;gap:2px;max-height:300px;overflow:auto}.hf-ws-model-option{display:flex;align-items:flex-start;gap:10px;text-align:left}.hf-ws-model-option-icon{flex-shrink:0;width:36px;height:36px;border-radius:10px;background:var(--bg-chip, #1c1c1c);border:1px solid var(--border, #2f2f2f);display:grid;place-items:center;font-weight:800;color:#5474ff}.hf-ws-model-option-body{flex:1;min-width:0}.hf-ws-model-check{color:#5474ff;font-weight:800;margin-left:auto}.hf-ws-model-empty{margin:8px;color:var(--text-muted, #777);font-size:13px}.hf-ws-ref-kind{position:absolute;left:2px;bottom:2px;padding:1px 4px;border-radius:4px;background:#000000bf;color:#5474ff;font-size:8px;font-weight:800}.hf-hero{min-height:52vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px 40px}.hf-hero-collage{display:flex;align-items:flex-end;justify-content:center;gap:10px;margin-bottom:28px;height:120px}.hf-hero-tile{width:88px;height:88px;border-radius:16px;border:1px solid #333;background:linear-gradient(145deg,rgba(84,116,255,.12),transparent 50%),#1a1a1a;transform:rotate(var(--hf-rot, 0deg));animation:hfFloat 5s ease-in-out infinite;box-shadow:0 12px 40px #00000073}.hf-hero-tile--b{animation-delay:.4s;height:100px;width:100px}.hf-hero-tile--c{animation-delay:.8s}.hf-hero-tile--d{animation-delay:1.1s}.hf-hero-tile--circle{border-radius:999px}.hf-hero-tile--a{background:linear-gradient(160deg,#2a4a2a,#111),#1a1a1a}.hf-hero-tile--b{background:linear-gradient(160deg,#3a2a4a,#111),#1a1a1a}.hf-hero-tile--c{background:radial-gradient(circle at 40% 40%,#2a6cff55,#111 70%),#1a1a1a}.hf-hero-tile--d{background:linear-gradient(160deg,#4a4a4a,#151515),#1a1a1a}@keyframes hfFloat{0%,to{transform:rotate(var(--hf-rot, 0deg)) translateY(0)}50%{transform:rotate(var(--hf-rot, 0deg)) translateY(-6px)}}.hf-hero-kicker{margin:0;font-size:clamp(22px,4vw,36px);font-weight:800;letter-spacing:-.03em;color:var(--text-primary, #f4f4f4);text-transform:uppercase}.hf-hero-model{margin:6px 0 0;font-size:clamp(28px,5vw,48px);font-weight:900;letter-spacing:-.04em;color:#5474ff;text-transform:uppercase}.hf-hero-sub{margin:12px 0 0;max-width:42ch;color:var(--text-muted, #9a9a9a);font-size:14px;line-height:1.45}.hf-vid{display:grid;grid-template-columns:minmax(0,var(--hf-side-w, 320px)) 6px minmax(0,1fr);height:100%;min-height:0;min-width:0;max-width:100%;overflow-x:hidden;width:100%;background:var(--bg-base, #04050C);color:var(--text-primary, #f4f4f4);animation:hfSlideIn .22s ease}.hf-vid-split-handle{position:relative;z-index:2;width:6px;margin-left:-1px;cursor:col-resize;background:transparent}.hf-vid-split-handle:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;transform:translate(-50%);background:transparent;transition:background .15s,width .15s}.hf-vid-split-handle:hover:after,body.split-dragging .hf-vid-split-handle:after{background:#5474ff;width:2px}@keyframes hfSlideIn{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}.hf-vid-side{border-right:1px solid var(--border, #1f1f1f);overflow-y:auto;overflow-x:hidden;min-width:0;padding:8px 20px 20px;background:var(--bg-base, #04050C)}.hf-vid-main{display:flex;flex-direction:column;min-width:0;min-height:0}.hf-vid-tabs{display:flex;gap:6px;min-height:46px;padding:8px 16px 6px;border-bottom:1px solid var(--border, #181818)}.hf-vid-tab{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:8px;border:1px solid transparent;background:var(--bg-elevated, #111);color:var(--text-faint, #6f6f6f);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.hf-vid-tab.active{border-color:var(--border, #222);color:var(--text-primary, #fff);background:var(--bg-surface, #171717)}.hf-vid-tab-icon{color:currentColor;flex-shrink:0;display:block}.hf-vid-panel{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;min-width:0;padding:12px 16px 24px;animation:hfFade .18s ease}@keyframes hfFade{0%{opacity:0}to{opacity:1}}.hf-vid-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;width:100%}.hf-vid-history>.hf-ws-empty{grid-column:1 / -1;border:none;background:transparent;border-radius:0;min-height:48vh;padding:24px 16px}.hf-upscale-history{display:flex;flex-direction:column;gap:10px;width:100%;min-height:0}.hf-upscale-history-tools{display:flex;justify-content:flex-end;flex-shrink:0}.hf-vid-history .gen-result-card{background:var(--bg-elevated, #121212);border:1px solid var(--border, #262626);border-radius:16px;width:100%;max-width:none;align-self:start}.hf-vid-history .gen-result-card-inner{padding:14px}.hf-vid-history .gen-result-player,.hf-vid-history .gen-result-video,.hf-vid-history .lazy-video-wrap.gen-result-video{max-width:100%}.hf-vid-history .gen-result-video>.lazy-media-el,.hf-vid-history .gen-result-video>video,.hf-vid-history .gen-result-video>img,.hf-vid-history .gen-result-video .lazy-media-el,.hf-vid-history .gen-result-video .lazy-media-placeholder,.hf-vid-history .gen-result-video .lazy-video-poster-btn,.hf-vid-history .gen-result-player>img.gen-result-video,.hf-vid-history .gen-result-player>video.gen-result-video,.hf-vid-history .gen-result-video>.lazy-media-placeholder{max-width:100%;max-height:280px}.hf-vid-history .gen-result-video .lazy-video-poster-btn{display:block;width:100%;max-height:280px;padding:0;border:none;background:#000;cursor:pointer;position:relative;overflow:hidden}.hf-vid-history .gen-result-video .lazy-video-poster-btn .lazy-media-placeholder,.hf-vid-history .gen-result-video .lazy-video-poster-btn img{max-height:280px;width:100%;object-fit:contain}.hf-vid-form{display:flex;flex-direction:column;gap:12px}.hf-vid-form-header{display:contents}.hf-upscale-extra{display:flex;flex-direction:column;gap:10px}.hf-upscale-more{border:1px solid var(--border, #2a2a2a);border-radius:8px;background:var(--bg-elevated, #121212)}.hf-upscale-more-summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:8px 12px;font-size:12px;font-weight:600;color:var(--text-secondary, #ddd);cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none}.hf-upscale-more-summary::-webkit-details-marker{display:none}.hf-upscale-more-summary:after{content:"›";color:#5474ff;font-size:12px;transform:rotate(90deg);transition:transform .15s ease}.hf-upscale-more[open]>.hf-upscale-more-summary:after{transform:rotate(-90deg)}.hf-upscale-more>.hf-upscale-extra,.hf-upscale-more>.hf-vid-chips{padding:0 12px 12px}.hf-upscale-more>.hf-vid-chips+.hf-upscale-extra{padding-top:0}.hf-upscale-size-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hf-upscale-field{display:flex;flex-direction:column;gap:6px;margin:0;color:var(--studio-text-muted, #9a9a9a);font-size:12px}.hf-upscale-field input{width:100%;box-sizing:border-box;border:1px solid var(--studio-border, #2a2a2a);border-radius:12px;background:var(--studio-surface-raised, #161616);color:var(--studio-text, #f4f4f4);padding:10px 12px;font:inherit;font-size:13px}.hf-upscale-field input:focus{outline:none;border-color:var(--studio-accent, #5474ff)}.hf-upscale-slider{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--studio-border, #2a2a2a);border-radius:12px;background:var(--studio-surface-raised, #161616)}.hf-upscale-slider-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--studio-text, #f4f4f4);font-size:12px;font-weight:600}.hf-upscale-slider-value{color:var(--studio-text-muted, #9a9a9a);font-weight:500}.hf-upscale-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:100%;margin:0 0 4px;padding:4px;border:1px solid var(--studio-border, #2a2a2a);border-radius:999px;background:var(--studio-surface, #121212);overflow:hidden}body.ui-studio .hf-upscale-mode-tabs button.hf-vid-create-tab,[data-ui=studio] .hf-upscale-mode-tabs button.hf-vid-create-tab,.hf-upscale-mode-tabs .hf-vid-create-tab{flex:1;width:100%;min-height:36px;padding:8px 10px;border:none;border-bottom:none;border-radius:999px;color:var(--studio-text-muted, #9a9a9a);font-size:13px;font-weight:550;line-height:1.2;text-align:center}body.ui-studio .hf-upscale-mode-tabs button.hf-vid-create-tab:hover,[data-ui=studio] .hf-upscale-mode-tabs button.hf-vid-create-tab:hover,.hf-upscale-mode-tabs .hf-vid-create-tab:hover{color:var(--studio-text, #f4f4f4);background:color-mix(in srgb,var(--studio-surface-raised, #1a1a1a) 80%,transparent)!important}body.ui-studio .hf-upscale-mode-tabs button.hf-vid-create-tab.active,[data-ui=studio] .hf-upscale-mode-tabs button.hf-vid-create-tab.active,.hf-upscale-mode-tabs .hf-vid-create-tab.active{color:#fff;background:#5474ff2e!important;border-bottom-color:transparent;border-radius:999px;box-shadow:inset 0 0 0 1px var(--studio-accent, #5474FF);font-weight:650}.hf-upscale-slider input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:16px;margin:0;background:transparent;cursor:pointer}.hf-upscale-slider input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:var(--studio-border-strong, #3a3a3a)}.hf-upscale-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #00000040}.hf-upscale-slider input[type=range]::-moz-range-track{height:4px;border:0;border-radius:999px;background:var(--studio-border-strong, #3a3a3a)}.hf-upscale-slider input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #00000040}.hf-upscale-slider-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--studio-text-faint, #6f6f6f);font-size:11px}.hf-upscale-reset,.hf-upscale-slider-foot button.hf-upscale-reset{border:none;background:transparent;color:var(--studio-accent-hover, #6b86ff);font-family:inherit;font-size:11px!important;font-weight:600;line-height:1;cursor:pointer;padding:0;min-height:0}.hf-upscale-check{display:flex;align-items:center;gap:8px;margin:0;color:var(--studio-text-secondary, #c7c7c7);font-size:13px;cursor:pointer}.hf-upscale-check input{width:auto;accent-color:var(--studio-accent, #5474ff)}.hf-upscale-docs{color:var(--studio-text-muted, #9a9a9a);font-size:12px;text-decoration:none}.hf-upscale-docs:hover{color:var(--studio-accent-hover, #6b86ff)}.hf-vid-create-tabs{display:flex;align-items:flex-end;gap:14px;width:100%;min-width:0;border-bottom:1px solid var(--border, #222);margin-bottom:0;padding:0;overflow:visible}.hf-vid-create-tab{flex:0 0 auto;border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent!important;color:var(--text-muted, #737373);font:inherit;font-size:11px;font-weight:500;line-height:1;padding:10px 0 9px;cursor:pointer;white-space:nowrap;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.hf-vid-create-tab.active{color:var(--text-primary, #fff);border-bottom-color:var(--text-primary, #fff);font-weight:600}.hf-vid-create-tab:disabled{border-bottom-color:transparent;background:transparent!important;color:var(--text-faint, #666);opacity:1;cursor:not-allowed}.hf-vid-model-card{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;width:100%;padding:10px;border-radius:14px;border:1px solid var(--border, #2a2a2a);background:var(--bg-elevated, #141414);color:inherit;font:inherit;cursor:pointer;text-align:left;position:relative}.hf-vid-model-card--hero{display:block;position:relative;height:116px;padding:0;overflow:hidden;border-radius:10px;border:1px solid var(--border, #2a2a2a)}.hf-vid-model-card-bg{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 78% 26%,rgba(195,237,222,.23) 0 2%,transparent 3%),radial-gradient(circle at 28% 25%,rgba(255,255,255,.16) 0 1px,transparent 2px),radial-gradient(circle at 63% 16%,rgba(255,255,255,.12) 0 1px,transparent 2px),linear-gradient(150deg,rgba(84,116,255,.13),transparent 48%),linear-gradient(205deg,#172116,#0b0e0d 48%,#151515)}.hf-vid-model-card-bg:before{content:"";position:absolute;width:148px;height:13px;top:39px;left:76px;border:1px solid rgba(210,220,210,.32);border-radius:70% 10% 60% 20%;background:linear-gradient(180deg,#646e6799,#141816bf);box-shadow:-42px 11px 0 -5px #78827b57;transform:rotate(-14deg)}.hf-vid-model-card-bg:after{content:"";position:absolute;width:42px;height:26px;top:30px;left:126px;border:1px solid rgba(210,220,210,.3);border-radius:55% 55% 20% 20%;background:radial-gradient(circle at 50% 30%,#6f7771 0,#6f7771 8%,#282d2a 10%,#282d2a 44%,#111 46%);transform:rotate(-12deg)}.hf-vid-model-card-bg-letter{display:none}.hf-vid-model-card-overlay{position:absolute;left:12px;bottom:10px;display:flex;flex-direction:column;gap:2px;z-index:1}.hf-vid-model-card-preview{width:56px;height:56px;border-radius:10px;background:linear-gradient(145deg,#2a3a1a,#111);display:grid;place-items:center;font-weight:900;color:#5474ff;font-size:20px}.hf-vid-model-card-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#5474ff}.hf-vid-model-card-title{display:block;font-size:14px;font-weight:800;color:#fff;line-height:1.2}.hf-vid-model-card-text strong{font-size:14px}.hf-vid-model-card-change{position:absolute;top:7px;right:7px;z-index:1;display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;border:1px solid var(--border-strong, rgba(255, 255, 255, .18));background:#00000073;font-size:10px;font-weight:600;color:var(--text-primary, #eee)}.hf-vid-model-card--hero:hover .hf-vid-model-card-change{border-color:#5474ff73;color:#5474ff}.hf-ws-model--card,.hf-vid-bitrate{position:relative;width:100%}.hf-vid-bitrate-menu{left:0;right:0;bottom:calc(100% + 7px);min-width:0;width:100%;z-index:60}.hf-vid-bitrate-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:8px 12px;border-radius:8px;border:1px solid var(--border, #2a2a2a);background:var(--bg-elevated, #121212);color:var(--text-primary, #eee);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .15s ease,background .15s ease}.hf-vid-bitrate-btn:hover,.hf-vid-bitrate-btn.open{border-color:var(--border-strong, #3a3a3a);background:var(--bg-surface, #161616)}.hf-vid-bitrate-left{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary, #ddd)}.hf-vid-bitrate-icon{opacity:.85}.hf-vid-bitrate-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;background:#5474ff24;color:#5474ff;font-size:11px;font-weight:700}.hf-vid-bitrate-caret{color:#5474ff;font-size:11px;transform:rotate(-90deg)}.hf-vid-upload{display:flex;flex-direction:column;gap:10px;outline:none;border-radius:10px;transition:box-shadow .15s,background .15s}.hf-vid-frame-uploads{display:flex;flex-direction:column;gap:10px;min-width:0}.hf-vid-upload:focus-visible{box-shadow:0 0 0 2px #5474ff}.hf-vid-upload--drop-active{background:#5474ff14;box-shadow:inset 0 0 0 2px #5474ff}.hf-vid-upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:120px;padding:14px 12px;border-radius:10px;border:1px dashed var(--border-dashed, #3a3a3a);background:var(--bg-inset, #101010);color:var(--text-muted, #aaa);font:inherit;cursor:pointer;transition:border-color .15s ease,color .15s ease}.hf-vid-upload-zone:hover{border-color:#5474ff;color:#5474ff}.hf-vid-upload-icons{display:flex;align-items:center;gap:0;font-size:12px}.hf-vid-upload-icons>span{display:grid;place-items:center;width:34px;height:34px;margin-left:-6px;border:1px solid #353535;border-radius:50%;background:var(--bg-chip, #242424);color:var(--text-muted, #9a9a9a);box-shadow:0 3px 10px #00000040}.hf-vid-upload-icons>span:first-child{margin-left:0}.hf-vid-upload-label{display:flex;flex-direction:column;gap:2px;font-size:12px;text-align:center}.hf-vid-upload-label strong{color:var(--text-muted, #8f8f8f);font-weight:500}.hf-vid-upload-label small{color:var(--text-muted, #737373);font-size:11px}.hf-vid-prompt-wrap{position:relative;display:flex;flex-direction:column;gap:10px;min-height:116px;padding:16px;border:1px solid var(--border, #2a2a2a);border-radius:9px;background:var(--bg-elevated, #151515);cursor:text}.hf-mention-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:60;max-height:240px;overflow-y:auto;padding:6px;border:1px solid var(--border-strong, #3a3a3a);border-radius:12px;background:var(--bg-elevated, #161616);box-shadow:0 14px 40px #0000008c}.hf-mention-menu--up{top:auto;bottom:calc(100% + 6px)}.hf-mention-title{padding:4px 8px 6px;font-size:11px;font-weight:600;color:var(--text-muted, #888);text-transform:uppercase;letter-spacing:.04em}button.hf-mention-item,.hf-mention-item{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border:none;border-radius:8px;background:transparent;color:var(--text-primary, #eee);font-size:13px;text-align:left;cursor:pointer}button.hf-mention-item:hover,.hf-mention-item:hover,.hf-mention-item.active{background:#5474ff24;color:var(--text-primary, #fff)}.hf-mention-thumb{flex:0 0 auto;width:32px;height:32px;border-radius:8px;overflow:hidden;border:1px solid var(--border, #333);background:var(--bg-inset, #111)}.hf-mention-thumb img,.hf-mention-thumb video{width:100%;height:100%;object-fit:cover;display:block}.hf-mention-audio{display:grid;place-items:center;width:100%;height:100%;color:#5474ff;font-size:15px}.hf-mention-label{flex:0 0 auto;font-weight:600;white-space:nowrap}.hf-mention-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted, #888);font-size:12px}.hf-vid-prompt-label{flex:0 0 auto;font-size:11px;font-weight:500;color:var(--text-muted, #7b7b7b)}.hf-vid-prompt{flex:1;width:100%;min-height:72px;resize:vertical;border:none!important;box-shadow:none!important;border-radius:0;background:transparent!important;color:var(--text-primary, #fff);font-family:inherit;font-size:12px;line-height:1.45;padding:0;outline:none!important}.hf-vid-prompt::placeholder{color:var(--text-muted, #777)}.hf-vid-prompt:hover,.hf-vid-prompt:focus{border:none!important;box-shadow:none!important;outline:none!important}.hf-vid-prompt-wrap:focus-within{border-color:var(--border-strong, #414141)}.hf-vid-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hf-vid-chips .hf-ws-chip,.hf-vid-chips .hf-ws-chip-btn{width:100%}.hf-vid-chips .hf-ws-chip-btn{justify-content:flex-start;min-width:0;height:42px;padding:0 9px;border-radius:8px;background:var(--bg-elevated, #151515);font-size:11px}.hf-vid-chips .hf-ws-chip-caret{display:none}.hf-vid-chips>:nth-child(n+4){grid-column:1 / -1}.hf-vid-mode-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:6px}.hf-vid-mode-tile{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 8px;border-radius:8px;border:1px solid var(--border, #222);background:var(--bg-elevated, #151515);color:var(--text-faint, #6f6f6f);font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.hf-vid-mode-tile.active{color:var(--text-primary, #fff);border-color:var(--studio-accent, #5474ff);background:#5474ff1f}@media (max-width: 720px){.hf-vid-mode-tiles{grid-template-columns:1fr}}.hf-vid-generate{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border:none;border-radius:9px;background:#5474ff;color:#fff;font:inherit;font-size:12px;font-weight:650;cursor:pointer;transition:transform .15s ease,filter .15s ease}.hf-vid-generate:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.hf-vid-generate:disabled{opacity:.5;cursor:not-allowed}.hf-vid-how{max-width:960px}.hf-vid-how-title{margin:8px 0 0;font-size:clamp(28px,4vw,44px);font-weight:900;letter-spacing:-.04em;text-transform:uppercase}.hf-vid-how-lead{margin:10px 0 24px;color:var(--text-muted, #9a9a9a);max-width:52ch;font-size:14px;line-height:1.5}.hf-vid-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hf-vid-how-card{padding:14px;border-radius:16px;border:1px solid #242424;background:var(--bg-elevated, #121212)}.hf-vid-how-card h3{margin:12px 0 6px;font-size:14px;letter-spacing:.04em}.hf-vid-how-card p{margin:0;color:var(--text-muted, #8f8f8f);font-size:13px;line-height:1.45}.hf-vid-how-visual{height:140px;border-radius:12px;border:1px solid #2a2a2a;background:#0c0c0c}.hf-vid-how-visual--1{background:linear-gradient(160deg,rgba(84,116,255,.15),transparent 55%),repeating-linear-gradient(45deg,#151515 0,#151515 8px,#101010 8px,#101010 16px)}.hf-vid-how-visual--2{background:radial-gradient(circle at 50% 50%,rgba(84,116,255,.2),transparent 55%),#151515;box-shadow:inset 0 0 0 2px #5474ff55}.hf-vid-how-visual--3{background:linear-gradient(180deg,#1a1a1a,#0d0d0d);border:3px solid #fff3}@media (max-width: 980px){.hf-vid{grid-template-columns:1fr}.hf-vid-split-handle{display:none}.hf-vid-side{border-right:none;border-bottom:1px solid #1f1f1f;max-height:55vh}.hf-vid-how-grid,.hf-vid-history{grid-template-columns:1fr}.hf-vid-form-header{flex-direction:column;align-items:stretch}.hf-vid-header-actions{padding-bottom:8px}.hf-vid-header-btn{flex:1;justify-content:center}}@media (max-width: 820px){.hf-ws-bar-footer{flex-direction:column;align-items:stretch}.hf-ws-generate{width:100%}}.scenarist-page{--scenarist-window: #f6f6f6;--scenarist-base: #ffffff;--scenarist-ink: #38393a;--scenarist-muted: #6a6b6c;--scenarist-line: #d8d8d8;--scenarist-accent: #2b78da;--scenarist-canvas: #e8e8e8;--scenarist-panel: #f0f0f0;color:var(--scenarist-ink);min-height:calc(100vh - 64px);background:var(--scenarist-window)}.scenarist-page--editor{margin:0;height:100%;min-height:0;display:flex;flex-direction:column}.scenarist-page--list{padding:20px 16px 48px;height:100%;overflow:auto;box-sizing:border-box}.scenarist-muted{color:var(--scenarist-muted);font-size:.9rem}.scenarist-empty{padding:24px 8px;color:var(--scenarist-muted)}.scenarist-toast{padding:8px 12px;margin:8px 12px;border-radius:4px;background:#e8f5e9;color:#1b5e20;font-size:.9rem}.scenarist-toast--error{background:#fdecea;color:#8b1e1e}.scenarist-flat-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 10px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--scenarist-ink);font:inherit;font-size:.85rem;cursor:pointer;text-decoration:none}.scenarist-flat-btn:hover{background:#0000000f}.scenarist-flat-btn.is-active,.scenarist-flat-btn--primary{background:var(--scenarist-accent);color:#fff;border-color:var(--scenarist-accent)}.scenarist-flat-btn--primary:hover{filter:brightness(1.05)}.scenarist-flat-btn:disabled{opacity:.5;cursor:not-allowed}.scenarist-tools-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.scenarist-icon-btn{border:none;background:transparent;cursor:pointer;font-size:1rem;color:var(--scenarist-muted);padding:2px 6px}.scenarist-projects{max-width:960px;margin:0 auto;padding:0}.scenarist-projects-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.scenarist-projects-head h1{margin:0;font-size:1.35rem;font-weight:600;color:var(--scenarist-ink)}.scenarist-project-table{width:100%;border-collapse:collapse;background:var(--scenarist-base);border:1px solid var(--scenarist-line)}.scenarist-project-table th,.scenarist-project-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--scenarist-line);font-size:.9rem}.scenarist-project-table th{background:var(--scenarist-panel);font-weight:600;color:var(--scenarist-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em}.scenarist-project-table tr:hover td{background:#2b78da0a}.scenarist-project-name{color:var(--scenarist-ink);text-decoration:none;font-weight:500}.scenarist-project-name:hover{color:var(--scenarist-accent)}.scenarist-project-actions{white-space:nowrap;text-align:right}.scenarist-workspace{display:flex;flex-direction:column;flex:1;min-height:0;height:100%;background:var(--scenarist-window);color:var(--scenarist-ink);--scenarist-font-size: 12pt;--sb-char-ml: 22ch;--sb-char-w: 20ch;--sb-parent-ml: 16ch;--sb-parent-w: 20ch;--sb-dlg-ml: 10ch;--sb-dlg-w: 35ch}.scenarist-workspace[data-template=tight]{--sb-char-ml: 16ch;--sb-char-w: 24ch;--sb-parent-ml: 12ch;--sb-parent-w: 24ch;--sb-dlg-ml: 6ch;--sb-dlg-w: 42ch}.scenarist-workspace[data-template=wide]{--sb-char-ml: 26ch;--sb-char-w: 18ch;--sb-parent-ml: 20ch;--sb-parent-w: 18ch;--sb-dlg-ml: 14ch;--sb-dlg-w: 30ch}.scenarist-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;padding:4px 8px;min-height:36px;background:var(--scenarist-panel);border-bottom:1px solid var(--scenarist-line);position:sticky;top:0;z-index:5;overflow-x:auto}.scenarist-back{color:var(--scenarist-ink);text-decoration:none;font-size:1.1rem;padding:2px 8px;border-radius:3px}.scenarist-back:hover{background:#0000000f}.scenarist-title-input{min-width:140px;max-width:240px;border:1px solid transparent;background:transparent;color:var(--scenarist-ink);border-radius:3px;padding:4px 8px;font:inherit;font-weight:600}.scenarist-title-input:hover,.scenarist-title-input:focus{border-color:var(--scenarist-line);background:var(--scenarist-base);outline:none}.scenarist-toolbar-sep{width:1px;height:20px;background:var(--scenarist-line);margin:0 4px}.scenarist-toolbar-spacer{flex:1;min-width:8px}.scenarist-type-combo{min-width:150px;border:1px solid var(--scenarist-line);border-radius:3px;background:var(--scenarist-base);color:var(--scenarist-ink);padding:3px 6px;font:inherit;font-size:.85rem}.scenarist-counters{font-size:.8rem;color:var(--scenarist-muted);white-space:nowrap}.scenarist-save{font-size:.8rem;color:var(--scenarist-muted);min-width:72px}.scenarist-save--saved{color:#2e7d32}.scenarist-save--error{color:#c62828}.scenarist-save--pending,.scenarist-save--saving{color:var(--scenarist-accent)}.scenarist-module-tabs{display:flex;gap:0;flex-wrap:wrap;background:var(--scenarist-base);border-bottom:1px solid var(--scenarist-line);padding:0 8px}.scenarist-module-tab{background:transparent;border:none;border-bottom:2px solid transparent;color:var(--scenarist-muted);padding:8px 12px;cursor:pointer;font:inherit;font-size:.85rem}.scenarist-module-tab:hover{color:var(--scenarist-ink)}.scenarist-module-tab.is-active{color:var(--scenarist-accent);border-bottom-color:var(--scenarist-accent);font-weight:600}.scenarist-script-layout{display:grid;grid-template-columns:220px minmax(0,1fr);flex:1;min-height:0}.scenarist-script-layout.has-meta{grid-template-columns:220px minmax(0,1fr) 220px}.scenarist-nav{background:var(--scenarist-base);border-right:1px solid var(--scenarist-line);overflow:auto;display:flex;flex-direction:column}.scenarist-nav-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid var(--scenarist-line);background:var(--scenarist-panel)}.scenarist-nav-label{font-size:.8rem;color:var(--scenarist-muted);font-weight:600}.scenarist-nav-list{list-style:none;margin:0;padding:4px 0}.scenarist-nav-item{width:100%;display:flex;align-items:center;gap:6px;border:none;background:transparent;text-align:left;cursor:pointer;padding:5px 8px;font:inherit;font-size:.82rem;color:var(--scenarist-ink)}.scenarist-nav-item:hover{background:#0000000a}.scenarist-nav-item.is-active{background:#2b78da26;color:#1a4f96}.scenarist-nav-num{font-size:.75rem;color:var(--scenarist-muted);min-width:1.6em;font-variant-numeric:tabular-nums}.scenarist-nav-folder{color:var(--scenarist-accent);font-size:.7rem}.scenarist-nav-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scenarist-nav-empty{padding:12px;color:var(--scenarist-muted);font-size:.85rem}.scenarist-bookmark-row{display:flex;align-items:center}.scenarist-bookmark-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.scenarist-scene-meta{background:var(--scenarist-base);border-left:1px solid var(--scenarist-line);overflow:auto;padding:10px}.scenarist-scene-meta textarea{width:100%;border:1px solid var(--scenarist-line);border-radius:3px;padding:8px;font:inherit;background:var(--scenarist-base);color:var(--scenarist-ink);resize:vertical}.scenarist-panel-title{font-size:.8rem;font-weight:600;margin-bottom:8px;color:var(--scenarist-muted)}.scenarist-editor-wrap{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--scenarist-canvas)}.scenarist-findbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;background:var(--scenarist-panel);border-bottom:1px solid var(--scenarist-line);color:var(--scenarist-ink)}.scenarist-findbar-input{min-width:120px;flex:1;max-width:200px;border:1px solid var(--scenarist-line);border-radius:3px;padding:4px 8px;background:var(--scenarist-base);color:var(--scenarist-ink);font:inherit}.scenarist-findbar-count{font-size:.8rem;color:var(--scenarist-muted);min-width:3em}.scenarist-findbar-case{margin:0;font-size:.85rem}.scenarist-editor{flex:1;overflow:auto;padding:24px 16px 64px;background:var(--scenarist-canvas)}.scenarist-editor--dual{display:flex;gap:24px;justify-content:center;align-items:flex-start}.scenarist-page-sheet{width:100%;max-width:680px;margin:0 auto;background:var(--scenarist-base);box-shadow:0 1px 3px #0000001f,0 0 0 1px #0000000a;padding:72px 64px 96px 96px;min-height:900px;box-sizing:border-box}.scenarist-page-sheet--mirror{opacity:.9;pointer-events:none}.scenarist-block{position:relative;margin:0 0 .15em}.scenarist-block.is-find-hit{outline:2px solid rgba(43,120,218,.45);outline-offset:2px}.scenarist-block-input{display:block;width:100%;border:none;outline:none;resize:none;overflow:hidden;background:transparent!important;box-shadow:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;font-family:Courier New,Courier,monospace;font-size:var(--scenarist-font-size, 12pt);line-height:1.15;color:var(--scenarist-ink);padding:0;margin:0;white-space:pre-wrap;word-break:break-word}.scenarist-block-input--mirror{min-height:1.15em}.scenarist-block--scene_heading{margin-top:1.5em}.scenarist-block--scene_heading .scenarist-block-input{text-transform:uppercase;font-weight:700}.scenarist-block--character .scenarist-block-input{width:var(--sb-char-w);margin-left:var(--sb-char-ml);text-align:center;text-transform:uppercase}.scenarist-block--parenthetical .scenarist-block-input{width:var(--sb-parent-w);margin-left:var(--sb-parent-ml)}.scenarist-block--dialogue .scenarist-block-input,.scenarist-block--lyrics .scenarist-block-input{width:var(--sb-dlg-w);margin-left:var(--sb-dlg-ml)}.scenarist-block--transition .scenarist-block-input{text-align:right;text-transform:uppercase}.scenarist-block--folder_header{margin-top:2em;margin-bottom:.5em}.scenarist-block--folder_header .scenarist-block-input{text-align:center;font-weight:700;letter-spacing:.06em}.scenarist-suggest{position:absolute;left:0;top:100%;z-index:4;margin:2px 0 0;padding:0;list-style:none;min-width:200px;max-width:360px;background:var(--scenarist-base);border:1px solid var(--scenarist-line);box-shadow:0 4px 12px #0000001f}.scenarist-block--character .scenarist-suggest,.scenarist-block--dialogue .scenarist-suggest,.scenarist-block--parenthetical .scenarist-suggest{left:var(--sb-dlg-ml)}.scenarist-suggest-item{display:block;width:100%;text-align:left;border:none;background:transparent;padding:6px 10px;cursor:pointer;font-family:Courier New,Courier,monospace;font-size:.85rem;color:var(--scenarist-ink)}.scenarist-suggest-item:hover{background:#2b78da1f}.scenarist-research,.scenarist-cards,.scenarist-stats,.scenarist-tools{background:var(--scenarist-window);color:var(--scenarist-ink)}.scenarist-research{display:grid;grid-template-columns:260px 1fr;flex:1;min-height:0}.scenarist-research-side{border-right:1px solid var(--scenarist-line);padding:12px;overflow:auto;background:var(--scenarist-base)}.scenarist-research-main{padding:16px 20px;overflow:auto}.scenarist-research-item{display:flex;gap:8px;width:100%;border:none;background:transparent;text-align:left;padding:5px 8px;cursor:pointer;font:inherit;border-radius:3px}.scenarist-research-item.is-active,.scenarist-research-item:hover{background:#2b78da1f}.scenarist-research-type{font-size:.65rem;text-transform:uppercase;color:var(--scenarist-accent);min-width:64px}.scenarist-research-add{display:grid;gap:8px;margin-top:12px}.scenarist-research-add input,.scenarist-research-add select,.scenarist-field input,.scenarist-field textarea,.scenarist-field select,.scenarist-field-input,.scenarist-tools input,.scenarist-tools textarea,.scenarist-tools select,.scenarist-card-desc{width:100%;border:1px solid var(--scenarist-line);border-radius:3px;padding:6px 8px;font:inherit;background:var(--scenarist-base);color:var(--scenarist-ink)}.scenarist-title-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.scenarist-field{display:grid;gap:4px;font-size:.85rem}.scenarist-field--full{grid-column:1 / -1}.scenarist-research-editor{display:grid;gap:8px;margin-top:8px}.scenarist-cards{padding:16px;background:var(--scenarist-canvas);min-height:100%}.scenarist-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.scenarist-card{background:var(--scenarist-base);border:1px solid var(--scenarist-line);border-radius:2px;padding:10px;display:flex;flex-direction:column;gap:6px;cursor:grab}.scenarist-card.is-dragging{opacity:.6}.scenarist-card-num{font-size:.7rem;color:var(--scenarist-muted);text-transform:uppercase}.scenarist-card-title{border:none;background:none;font:inherit;font-weight:600;text-align:left;cursor:pointer;padding:0;color:var(--scenarist-ink)}.scenarist-card-color{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--scenarist-muted)}.scenarist-stats{padding:16px 20px}.scenarist-stats-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.scenarist-stats-summary>div{background:var(--scenarist-base);border:1px solid var(--scenarist-line);border-radius:3px;padding:10px 14px;min-width:90px;display:grid;gap:2px}.scenarist-stats-summary strong{font-size:1.25rem}.scenarist-stats-summary span{font-size:.75rem;color:var(--scenarist-muted)}.scenarist-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.scenarist-stats-grid h3{margin:0 0 6px;font-size:.9rem}.scenarist-stats-grid ul{list-style:none;margin:0;padding:0}.scenarist-stats-grid li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid var(--scenarist-line);font-size:.85rem}.scenarist-linkish{background:none;border:none;color:var(--scenarist-accent);cursor:pointer;text-align:left;padding:0;text-decoration:underline;text-underline-offset:2px;font:inherit}.scenarist-tools{padding:16px 20px;max-width:880px}.scenarist-tools-section{margin-bottom:24px}.scenarist-tools-section h3{margin:0 0 8px;font-size:.95rem}.scenarist-versions{list-style:none;margin:10px 0 0;padding:0}.scenarist-versions li{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--scenarist-line)}.scenarist-check{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:.9rem}@media (max-width: 960px){.scenarist-script-layout,.scenarist-script-layout.has-meta{grid-template-columns:1fr}.scenarist-nav,.scenarist-scene-meta{max-height:180px}.scenarist-research{grid-template-columns:1fr}.scenarist-editor--dual{flex-direction:column}.scenarist-page-sheet{padding:48px 28px 64px}.scenarist-title-grid{grid-template-columns:1fr}.scenarist-block--character .scenarist-block-input,.scenarist-block--parenthetical .scenarist-block-input,.scenarist-block--dialogue .scenarist-block-input,.scenarist-block--lyrics .scenarist-block-input{width:100%;margin-left:0}}.scenarist-page .btn,.scenarist-workspace .btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 10px;border:1px solid var(--scenarist-line);border-radius:3px;background:var(--scenarist-base);color:var(--scenarist-ink);font:inherit;font-size:.85rem;cursor:pointer}.scenarist-page .btn:hover,.scenarist-workspace .btn:hover{background:#0000000f}.scenarist-page .btn-ghost,.scenarist-workspace .btn-ghost{background:transparent;border-color:transparent}.tm-page{max-width:1400px;margin:0 auto;padding:8px 4px 48px}.tm-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.tm-page-head h2{margin:0}.tm-subtitle{margin:4px 0 0;color:var(--studio-text-muted, #8b93a7);font-size:.9rem}.tm-page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tm-breadcrumbs{display:flex;gap:6px;align-items:center;font-size:.85rem;color:var(--studio-text-muted, #8b93a7);margin-bottom:4px}.tm-breadcrumbs a{color:inherit;text-decoration:none}.tm-breadcrumbs a:hover{color:var(--studio-accent, #5474ff)}.tm-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px;align-items:center}.tm-chip{border:1px solid var(--studio-border, #2a3142);background:transparent;color:inherit;border-radius:999px;padding:6px 12px;cursor:pointer;font:inherit;font-size:.85rem}.tm-chip.active,.tm-view-toggle button.active{background:var(--studio-accent, #5474ff);border-color:transparent;color:#fff}.tm-board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.tm-board-card{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit;padding:16px;transition:border-color .15s,transform .15s}.tm-board-card:hover{border-color:var(--studio-accent, #5474ff);transform:translateY(-1px)}.tm-board-card h3{margin:0;font-size:1.05rem}.tm-board-desc{margin:0;color:var(--studio-text-muted, #8b93a7);font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tm-board-meta{display:flex;justify-content:space-between;gap:8px;font-size:.8rem;color:var(--studio-text-muted, #8b93a7);margin-top:auto}.tm-board-card-top,.tm-board-badges{display:flex;gap:6px;flex-wrap:wrap}.tm-vis-badge,.tm-prod-badge,.tm-type-badge{font-size:.7rem;padding:2px 8px;border-radius:999px;background:#5474ff26;color:var(--studio-accent, #5474ff);text-decoration:none}.tm-type-badge{background:#8b93a72e;color:var(--studio-text-muted, #8b93a7)}.tm-type-badge--prod,.tm-prod-badge{background:#22c55e1f;color:#22c55e}.tm-board-hint{margin:-4px 0 12px}.tm-board-kind{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.tm-board-kind-btn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:12px;border-radius:10px;border:1px solid var(--studio-border, #2a3142);background:transparent;color:inherit;cursor:pointer}.tm-board-kind-btn span{font-size:.78rem;color:var(--studio-text-muted, #8b93a7)}.tm-board-kind-btn.active{border-color:var(--studio-accent, #5474ff);background:#5474ff1a}.tm-col-editor{margin-bottom:14px;padding:12px;border:1px solid var(--studio-border, #2a3142);border-radius:12px;background:var(--studio-surface, rgba(255,255,255,.03))}.tm-col-editor-list{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.tm-col-editor-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tm-col-editor-name{flex:1;min-width:120px;text-align:left;background:transparent;border:none;color:inherit;cursor:pointer;padding:4px 0;font-weight:600}.tm-col-editor-input{flex:1;min-width:120px}.tm-col-editor-actions{display:flex;gap:4px}.tm-col-editor-actions button{padding:2px 8px;min-width:0}.tm-col-editor-add{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tm-col-editor-add input{flex:1;min-width:140px}.tm-col-color-picker{display:flex;gap:4px}.tm-col-color{width:18px;height:18px;border-radius:50%;border:2px solid transparent;padding:0;cursor:pointer}.tm-col-color.active{border-color:var(--studio-text, #fff)}.tm-empty{padding:28px;text-align:center;color:var(--studio-text-muted, #8b93a7)}.tm-muted{color:var(--studio-text-muted, #8b93a7);font-size:.85rem}.tm-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.tm-search{min-width:200px;flex:1;max-width:360px}.tm-view-toggle{display:inline-flex;gap:4px}.tm-bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tm-modal label{display:block;margin:10px 0 4px;font-size:.85rem}.tm-modal input,.tm-modal textarea,.tm-modal select,.tm-drawer input,.tm-drawer textarea,.tm-drawer select,.tm-list select,.tm-link-picker select{width:100%}.tm-kanban{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px;align-items:flex-start;min-height:420px}.tm-kanban-col{flex:0 0 280px;background:var(--studio-surface, rgba(255,255,255,.03));border:1px solid var(--studio-border, #2a3142);border-radius:12px;display:flex;flex-direction:column;max-height:calc(100vh - 220px)}.tm-kanban-col--over{border-color:var(--studio-accent, #5474ff)}.tm-kanban-col-head{display:flex;align-items:center;gap:8px;padding:12px 12px 8px}.tm-col-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.tm-col-count{margin-left:auto;font-size:.75rem;color:var(--studio-text-muted, #8b93a7)}.tm-kanban-col-body{padding:4px 8px 8px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:8px;min-height:40px}.tm-kanban-card{background:var(--studio-bg, #0f1219);border:1px solid var(--studio-border, #2a3142);border-radius:10px;padding:10px;cursor:grab;-webkit-user-select:none;user-select:none}.tm-kanban-card:hover{border-color:#5474ff73}.tm-kanban-card--overlay{box-shadow:0 12px 40px #00000073;cursor:grabbing}.tm-kanban-card--overdue{border-color:#ef444480}.tm-kanban-card-title{font-size:.92rem;font-weight:560;margin-bottom:8px}.tm-kanban-card-foot{display:flex;justify-content:space-between;gap:8px;align-items:flex-end}.tm-kanban-card-meta{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;font-size:.72rem}.tm-add-card-btn{margin:0 8px 10px;border:1px dashed var(--studio-border, #2a3142);background:transparent;color:var(--studio-text-muted, #8b93a7);border-radius:8px;padding:8px;cursor:pointer;font:inherit}.tm-add-card-btn:hover{color:inherit;border-color:var(--studio-accent, #5474ff)}.tm-assignee-stack{display:flex}.tm-avatar{width:22px;height:22px;border-radius:50%;background:#2a3142;color:#fff;font-size:.65rem;display:inline-flex;align-items:center;justify-content:center;margin-left:-4px;border:1px solid var(--studio-bg, #0f1219)}.tm-avatar:first-child{margin-left:0}.tm-card-labels{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}.tm-label-chip{display:inline-block;font-size:.68rem;padding:1px 6px;border-radius:4px;color:#fff}.tm-prio{font-size:.7rem;padding:1px 6px;border-radius:4px;background:var(--bg-chip, rgba(255,255,255,.08))}.tm-prio--low{background:#22c55e26;color:#22c55e}.tm-prio--med{background:#f59e0b26;color:#f59e0b}.tm-prio--high{background:#ef444426;color:#ef4444}.tm-due.overdue,.tm-row-overdue .overdue,.tm-my-list li.overdue a{color:#ef4444}.tm-count{opacity:.75}.tm-list{overflow-x:auto}.tm-list-toolbar{margin-bottom:10px}.tm-list-toolbar label{display:inline-flex;gap:8px;align-items:center;font-size:.85rem}.tm-table{width:100%;border-collapse:collapse;font-size:.9rem}.tm-table th,.tm-table td{padding:10px 8px;border-bottom:1px solid var(--studio-border, #2a3142);text-align:left;vertical-align:middle}.tm-table tbody tr{cursor:pointer}.tm-table tbody tr:hover{background:var(--bg-hover, rgba(255,255,255,.03))}.tm-group-row td{font-weight:600;background:var(--bg-muted, rgba(255,255,255,.04));cursor:default}.tm-list-title{font-weight:560}.tm-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:250;display:flex;justify-content:flex-end;overflow:hidden}.tm-drawer{display:flex;flex-direction:column;width:min(440px,100vw);height:100%;max-height:100%;min-height:0;background:var(--studio-surface, #151922);border-left:1px solid var(--studio-border, #2a3142);overflow:hidden}.tm-drawer-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:16px 18px 8px;border-bottom:1px solid var(--studio-border, #2a3142)}.tm-drawer-head h3{margin:0}.tm-drawer-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:8px 18px 48px}.tm-drawer-body label{display:block;margin:12px 0 4px;font-size:.82rem;color:var(--studio-text-muted, #8b93a7)}.tm-drawer-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tm-drawer-actions{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.tm-assignee-picker{display:flex;flex-direction:column;gap:4px;max-height:160px;overflow-y:auto}.tm-check-label{display:flex;align-items:center;gap:8px;font-size:.88rem;cursor:pointer}.tm-inline-add{display:flex;gap:6px;margin-top:6px}.tm-inline-add input{flex:1}.tm-checklist,.tm-comments,.tm-links-list,.tm-my-list,.tm-linked-block ul{list-style:none;padding:0;margin:0}.tm-checklist li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0}.tm-checklist .done{text-decoration:line-through;opacity:.6}.tm-comments li{padding:8px 0;border-bottom:1px solid var(--studio-border, #2a3142)}.tm-comments p{margin:4px 0 0;white-space:pre-wrap}.tm-links-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;flex-wrap:wrap;margin-top:16px}.tm-links-head h4,.tm-drawer-body h4{margin:16px 0 8px}.tm-links-actions{display:flex;flex-wrap:wrap;gap:4px}.tm-links-list li{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--studio-border, #2a3142);font-size:.88rem}.tm-link-type{display:inline-block;font-size:.7rem;margin-right:6px;padding:1px 5px;border-radius:4px;background:var(--bg-chip, rgba(255,255,255,.08))}.tm-prod-status{margin-left:6px;font-size:.75rem;color:var(--studio-accent, #5474ff)}.tm-link-picker{margin-top:10px;padding:12px}.tm-link-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.tm-my-group{margin-bottom:20px}.tm-my-group h3{margin:0 0 8px;font-size:1rem}.tm-my-list li a{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--studio-border, #2a3142);border-radius:10px;margin-bottom:6px;text-decoration:none;color:inherit;background:var(--studio-surface, rgba(255,255,255,.03))}.tm-my-list li a:hover{border-color:var(--studio-accent, #5474ff)}.tm-linked-block{margin:12px 0;padding:12px 14px}.tm-linked-block h4{margin:0 0 8px;font-size:.9rem}.tm-linked-block li{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;padding:4px 0;font-size:.88rem}.button-link{display:inline-flex;align-items:center;text-decoration:none;padding:8px 12px;border-radius:8px;border:1px solid var(--studio-border, #2a3142);color:inherit}.danger{color:#ef4444!important}@media (max-width: 720px){.tm-kanban-col{flex-basis:240px}.tm-drawer{width:100vw}.tm-drawer-row{grid-template-columns:1fr}}.tm-prod-origin{display:inline-block;margin-left:6px;font-size:.68rem;font-weight:600;padding:1px 6px;border-radius:4px;background:#0ea5e92e;color:#38bdf8;vertical-align:middle}.tm-prod-status-chip{display:inline-block;font-size:.68rem;padding:1px 6px;border-radius:4px;background:var(--bg-chip, rgba(255,255,255,.08));color:var(--studio-text-muted, #8b93a7)}.tm-prod-status-chip--wtg{background:#6b728033;color:#9ca3af}.tm-prod-status-chip--ip{background:#5474ff33;color:#8aa0ff}.tm-prod-status-chip--fix{background:#22c55e26;color:#4ade80}.tm-prod-status-chip--ret{background:#ef44442e;color:#f87171}.tm-prod-status-chip--apr{background:#22c55e33;color:#22c55e}.tm-prod-status-chip--fin{background:#22c55e40;color:#86efac}.tm-kanban-card--prod{border-color:#0ea5e959}.tm-prod-banner{margin-bottom:14px;padding:10px 12px;border-radius:10px;border:1px solid rgba(14,165,233,.35);background:#0ea5e914;display:flex;flex-direction:column;gap:6px}.tm-prod-open-link{color:#38bdf8;text-decoration:none;font-size:.88rem}.tm-prod-open-link:hover{text-decoration:underline}.tm-prod-banner-hint{margin:0;font-size:.75rem}.tm-list-title .tm-prod-origin{margin-left:8px}.tm-refs-section{margin-top:8px}.tm-refs-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.tm-refs-thumb{display:block;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid var(--border-row, rgba(255,255,255,.08));background:#00000040}.tm-refs-thumb img{width:100%;height:100%;object-fit:cover;display:block}.tm-workspace-page{max-width:1600px}.tm-workspace-main{min-width:0}.tm-people-select{position:relative}.tm-people-select-btn{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;max-width:220px}.tm-people-select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.tm-people-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:40;width:min(280px,80vw);padding:10px;border:1px solid var(--studio-border, #2a3142);border-radius:12px;background:var(--studio-surface, #151922);box-shadow:0 12px 32px #00000059}.tm-people-dropdown .tm-search{width:100%;margin-bottom:8px}.tm-people-dropdown-list{display:flex;flex-direction:column;gap:2px;max-height:240px;overflow:auto}.tm-people-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;border:0;background:transparent;color:inherit;text-decoration:none;font:inherit;font-size:.88rem;width:100%;text-align:left;cursor:pointer}.tm-people-item:hover{background:var(--bg-hover, rgba(255,255,255,.04))}.tm-people-item.active{background:#5474ff2e}.tm-people-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:4px}.tm-create-task-modal{width:min(520px,94vw);max-height:90vh;overflow:auto}.tm-check-list{display:flex;flex-direction:column;gap:4px;max-height:140px;overflow:auto;border:1px solid var(--studio-border, #2a3142);border-radius:8px;padding:8px;margin-top:6px}.tm-check-item{display:flex;align-items:center;gap:8px;font-size:.88rem;cursor:pointer}.tm-scope-chip{display:inline-flex;align-items:center;font-size:.7rem;font-weight:600;padding:2px 6px;border-radius:4px;background:#8b93a733;color:var(--studio-text-muted, #8b93a7)}.tm-scope-chip--production{background:#22c55e26;color:#22c55e}.tm-scope-chip--team{background:#5474ff26;color:#8aa0ff}.tm-scope-chip--personal{background:#f59e0b26;color:#f59e0b}@media (max-width: 900px){.tm-form-grid{grid-template-columns:1fr}}.topbar-submenu{position:relative}.topbar-submenu-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px}.topbar-submenu--left .topbar-submenu-trigger svg{transform:rotate(90deg);transition:transform .15s ease;flex-shrink:0}.topbar-submenu-panel{display:none;position:absolute;top:0;right:100%;left:auto;margin-right:4px;min-width:240px;max-height:none;overflow:visible;z-index:210}.topbar-submenu--left:before{content:"";position:absolute;top:0;bottom:0;right:100%;width:8px}@media (hover: hover) and (pointer: fine){.topbar-submenu:hover .topbar-submenu-panel,.topbar-submenu:focus-within .topbar-submenu-panel{display:flex}.topbar-submenu:hover .topbar-submenu-trigger,.topbar-submenu:focus-within .topbar-submenu-trigger{background:var(--bg-chip);color:var(--text-on-accent)}}.topbar-submenu--open .topbar-submenu-panel{display:flex}.topbar-submenu--open .topbar-submenu-trigger,.topbar-submenu-trigger.open{background:var(--bg-chip);color:var(--text-on-accent)}body.ui-studio .hf-shot-binding,[data-ui=studio] .hf-shot-binding{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}body.ui-studio .hf-shot-binding>.gen-label,[data-ui=studio] .hf-shot-binding>.gen-label{margin:0;font-size:12px;font-weight:600;letter-spacing:.01em;color:var(--studio-text-muted, #9a9a9a)}body.ui-studio .hf-shot-binding .gen-shot-binding,[data-ui=studio] .hf-shot-binding .gen-shot-binding{display:flex;flex-direction:column;gap:8px}body.ui-studio .hf-shot-binding .gen-select-wrap,[data-ui=studio] .hf-shot-binding .gen-select-wrap{width:100%}body.ui-studio .hf-shot-binding .gen-select,[data-ui=studio] .hf-shot-binding .gen-select{width:100%;height:40px;padding:0 32px 0 12px;border-radius:10px;border:1px solid var(--studio-border, #2a2a2a);background:var(--studio-surface, #121212);color:var(--studio-text, #f4f4f4);font:inherit;font-size:13px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}body.ui-studio .hf-shot-binding .gen-select:disabled,[data-ui=studio] .hf-shot-binding .gen-select:disabled{opacity:.55}body.ui-studio .hf-shot-binding .gen-select:focus-visible,[data-ui=studio] .hf-shot-binding .gen-select:focus-visible{outline:2px solid var(--studio-accent, #5474ff);outline-offset:1px}body.ui-studio .hf-shot-binding .gen-field-hint,[data-ui=studio] .hf-shot-binding .gen-field-hint{margin:0;font-size:12px;color:var(--studio-warning, #f2c45e)}.hf-shot-binding .gen-shot-binding--disabled{opacity:.55;pointer-events:none}.hf-shot-binding .hf-vid-bitrate-menu{bottom:auto;top:calc(100% + 7px);z-index:80}.hf-shot-binding .hf-vid-bitrate-badge{max-width:62%;overflow:hidden;white-space:nowrap}.hf-shot-binding .hf-vid-bitrate-value{overflow:hidden;text-overflow:ellipsis}body.ui-studio .hf-shot-binding .gen-shot-combobox-input,[data-ui=studio] .hf-shot-binding .gen-shot-combobox-input{width:100%;min-height:40px;padding:8px 12px;border-radius:8px;border:1px solid var(--border, #2a2a2a);background:var(--bg-elevated, #121212);color:var(--text-primary, #eee);font:inherit;font-size:12px;font-weight:600}body.ui-studio .hf-shot-binding .gen-shot-combobox-menu,[data-ui=studio] .hf-shot-binding .gen-shot-combobox-menu{padding:6px;border-radius:14px;border:1px solid var(--border, #2f2f2f);background:var(--bg-elevated, #121212);box-shadow:0 16px 40px #00000080;display:flex;flex-direction:column;gap:2px}body.ui-studio .hf-shot-binding .gen-shot-combobox-option,[data-ui=studio] .hf-shot-binding .gen-shot-combobox-option{border:none;border-radius:10px;background:transparent;color:var(--text-primary, #eee);font-size:12px;font-weight:600;text-align:left;padding:8px 10px;cursor:pointer}body.ui-studio .hf-shot-binding .gen-shot-combobox-option:hover,[data-ui=studio] .hf-shot-binding .gen-shot-combobox-option:hover{background:var(--bg-hover, rgba(255, 255, 255, .06))}body.ui-studio .hf-shot-binding .gen-shot-combobox-option.active,[data-ui=studio] .hf-shot-binding .gen-shot-combobox-option.active{background:#5474ff24;color:#5474ff}body.ui-studio button.hf-ws-chip-btn,[data-ui=studio] button.hf-ws-chip-btn,body.ui-studio button.hf-ws-model-btn,[data-ui=studio] button.hf-ws-model-btn{font-size:12px!important;font-weight:600;line-height:1.2;padding:8px 10px;background:var(--bg-surface, #161616);color:var(--text-primary, #eee);border:1px solid var(--border, #333)}body.ui-studio .hf-ws-chip-value,[data-ui=studio] .hf-ws-chip-value{font-size:12px;font-weight:600;line-height:1.2}body.ui-studio button.hf-ws-chip-option,[data-ui=studio] button.hf-ws-chip-option,body.ui-studio button.hf-ws-model-option,[data-ui=studio] button.hf-ws-model-option{font-size:13px!important;font-weight:500;line-height:1.3;padding:8px 10px;background:transparent;color:var(--text-secondary, #ddd);border:none}body.ui-studio .hf-ws-chip-menu-title,[data-ui=studio] .hf-ws-chip-menu-title,body.ui-studio .hf-ws-model-section,[data-ui=studio] .hf-ws-model-section{font-size:11px!important;font-weight:600}body.ui-studio textarea.hf-ws-prompt,[data-ui=studio] textarea.hf-ws-prompt{border:none!important;box-shadow:none!important;outline:none!important;background:transparent!important;font-size:14px}body.ui-studio .topbar-link--dense,body.ui-studio a.topbar-link--dense,body.ui-studio button.topbar-link--dense,[data-ui=studio] .topbar-link--dense,[data-ui=studio] a.topbar-link--dense,[data-ui=studio] button.topbar-link--dense{font-size:13px!important;font-weight:500;line-height:1.2;background:transparent;color:var(--text-secondary, #bdbdbd);padding:6px 10px}body.ui-studio button.topbar-link--dense,[data-ui=studio] button.topbar-link--dense{border:none;box-shadow:none}body.ui-studio button.hf-vid-tab,[data-ui=studio] button.hf-vid-tab{font-size:12px!important;font-weight:600;line-height:1.2;padding:7px 12px;background:var(--bg-elevated, #111);color:var(--text-faint, #6f6f6f);border:1px solid transparent}body.ui-studio button.hf-vid-tab.active,[data-ui=studio] button.hf-vid-tab.active{color:var(--text-primary, #fff);background:var(--bg-surface, #171717);border-color:var(--border, #222)}body.ui-studio button.hf-vid-bitrate-btn,[data-ui=studio] button.hf-vid-bitrate-btn{font-size:12px!important;font-weight:600;line-height:1.2;background:var(--bg-elevated, #121212);color:var(--text-primary, #eee);border:1px solid var(--border, #2a2a2a);padding:8px 12px}body.ui-studio .hf-vid-bitrate-left,[data-ui=studio] .hf-vid-bitrate-left{font-size:12px;font-weight:500}body.ui-studio .hf-vid-tabs-extra,[data-ui=studio] .hf-vid-tabs-extra{display:inline-flex;align-items:center;gap:6px;margin-left:2px}body.ui-studio .hf-vid-tabs-extra .hf-vid-tab,[data-ui=studio] .hf-vid-tabs-extra .hf-vid-tab{display:inline-flex;align-items:center;gap:6px}.topbar-ui-toggle{min-width:36px;font-size:11px;font-weight:800;letter-spacing:.04em}.topbar-ui-toggle-label{line-height:1}.topbar-ui-toggle--studio{color:var(--studio-accent, #5474ff);border-color:var(--studio-accent, #5474ff)}.topbar--studio .topbar-theme-toggle.topbar-ui-toggle{width:38px;min-width:38px;height:38px;padding:0;border-radius:9px;font-size:10px;font-weight:700;letter-spacing:.04em}.topbar--studio .topbar-theme-toggle.topbar-ui-toggle.topbar-ui-toggle--studio{background:var(--studio-accent, #5474ff);color:#fff;border-color:var(--studio-accent, #5474ff)}html.ui-studio{background:var(--studio-bg)}body.ui-studio{min-width:320px;background:var(--studio-bg);color:var(--studio-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}body.ui-studio ::selection,[data-ui=studio] ::selection{background:var(--studio-accent);color:var(--text-on-accent)}body.ui-studio :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,[data-ui=studio] :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}body.ui-studio :where(button,input,select,textarea),[data-ui=studio] :where(button,input,select,textarea){font-family:inherit}body.ui-studio :where(input,select,textarea):disabled,[data-ui=studio] :where(input,select,textarea):disabled,body.ui-studio :where(button):disabled,[data-ui=studio] :where(button):disabled{cursor:not-allowed;opacity:.55}.studio-shell{min-height:100dvh;background:var(--studio-bg);color:var(--studio-text)}.studio-main{min-height:0;flex:1;scrollbar-color:var(--studio-border-strong) transparent}.studio-main:not(.studio-main--full-bleed){padding:clamp(var(--studio-space-4),3vw,var(--studio-space-8))}.studio-main:not(.studio-main--full-bleed)>*{width:min(100%,var(--studio-page-width));margin-inline:auto}.studio-main--full-bleed{padding:0}.studio-main--full-bleed>*{width:100%;max-width:none!important}.studio-page{width:min(100%,var(--studio-page-width));margin-inline:auto}.studio-page--narrow{max-width:900px}.studio-page--full{width:100%;max-width:none}.studio-page-header,body.ui-studio .page-head,[data-ui=studio] .page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--studio-space-5);margin-bottom:var(--studio-space-6)}.studio-page-header__copy{min-width:0}.studio-page-header h1,.studio-page-header h2,body.ui-studio .page-head h1,[data-ui=studio] .page-head h1,body.ui-studio .page-head h2,[data-ui=studio] .page-head h2{margin:0;color:var(--studio-text);font-size:clamp(24px,3vw,36px);font-weight:650;letter-spacing:-.035em}.studio-page-header p,body.ui-studio .page-head p,[data-ui=studio] .page-head p{max-width:720px;margin:var(--studio-space-2) 0 0;color:var(--studio-text-muted);line-height:1.55}.studio-page-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--studio-space-2);flex-wrap:wrap}body.ui-studio .studio-eyebrow,[data-ui=studio] .studio-eyebrow{display:block;margin-bottom:var(--studio-space-2);color:var(--studio-accent-hover);font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.studio-card,body.ui-studio .card,[data-ui=studio] .card{border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text);box-shadow:0 14px 34px color-mix(in srgb,var(--studio-shadow) 32%,transparent)}.studio-card{padding:clamp(var(--studio-space-4),2vw,var(--studio-space-6))}.studio-card--interactive,body.ui-studio .prod-project-card,[data-ui=studio] .prod-project-card,body.ui-studio .materials-card,[data-ui=studio] .materials-card{transition:transform var(--studio-transition),border-color var(--studio-transition),background var(--studio-transition)}.studio-card--interactive:hover,body.ui-studio .prod-project-card:hover,[data-ui=studio] .prod-project-card:hover,body.ui-studio .materials-card:hover,[data-ui=studio] .materials-card:hover{border-color:var(--studio-border-strong);transform:translateY(-1px)}body.ui-studio button:not(.topbar-link):not(.topbar-user):not(.topbar-burger):not(.topbar-theme-toggle):not(.kit-rail-item):not(.kit-tree-row),[data-ui=studio] button:not(.topbar-link):not(.topbar-user):not(.topbar-burger):not(.topbar-theme-toggle):not(.kit-rail-item):not(.kit-tree-row){transition:border-color var(--studio-transition),background var(--studio-transition),color var(--studio-transition),transform var(--studio-transition)}.studio-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:var(--studio-space-2);border:1px solid transparent;border-radius:var(--studio-radius-pill);padding:0 var(--studio-space-5);font-weight:650;cursor:pointer}.studio-button--small{min-height:34px;padding-inline:var(--studio-space-4);font-size:13px}.studio-button--large{min-height:48px;padding-inline:var(--studio-space-6)}.studio-button--primary,body.ui-studio button:not([class]),[data-ui=studio] button:not([class]),body.ui-studio button.primary,[data-ui=studio] button.primary{border-color:var(--studio-accent);background:var(--studio-accent);color:var(--text-on-accent)}.studio-button--primary:hover:not(:disabled),body.ui-studio button:not([class]):hover:not(:disabled),[data-ui=studio] button:not([class]):hover:not(:disabled),body.ui-studio button.primary:hover:not(:disabled),[data-ui=studio] button.primary:hover:not(:disabled){border-color:var(--studio-accent-hover);background:var(--studio-accent-hover)}.studio-button--secondary,body.ui-studio button.secondary,[data-ui=studio] button.secondary{border-color:var(--studio-border);background:var(--studio-surface-soft);color:var(--studio-text)}.studio-button--secondary:hover:not(:disabled),body.ui-studio button.secondary:hover:not(:disabled),[data-ui=studio] button.secondary:hover:not(:disabled){border-color:var(--studio-border-strong);background:var(--studio-surface-hover)}.studio-button--ghost{border-color:transparent;background:transparent;color:var(--studio-text-secondary)}.studio-button--danger,body.ui-studio button.danger,[data-ui=studio] button.danger{border-color:var(--studio-danger);background:var(--studio-danger-soft);color:var(--studio-danger)}.studio-field{display:grid;gap:var(--studio-space-2)}body.ui-studio .studio-field__label,[data-ui=studio] .studio-field__label,body.ui-studio label,[data-ui=studio] label{color:var(--studio-text-secondary);font-size:13px;font-weight:550}body.ui-studio .studio-field__hint,[data-ui=studio] .studio-field__hint,body.ui-studio .studio-field__error,[data-ui=studio] .studio-field__error{font-size:12px;line-height:1.4}body.ui-studio .studio-field__hint,[data-ui=studio] .studio-field__hint{color:var(--studio-text-muted)}body.ui-studio .studio-field__error,[data-ui=studio] .studio-field__error,.studio-field--error .studio-field__label{color:var(--studio-danger)}body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]),[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]),body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select,body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea{min-height:42px;border:1px solid var(--studio-border);border-radius:var(--studio-radius-sm);background:var(--studio-surface-raised);color:var(--studio-text);transition:border-color var(--studio-transition),box-shadow var(--studio-transition),background var(--studio-transition)}body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]):hover,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]):hover,body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select:hover,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select:hover,body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea:hover,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea:hover{border-color:var(--studio-border-strong)}body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]):focus,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) input:not([type=checkbox]):not([type=radio]):focus,body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select:focus,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) select:focus,body.ui-studio :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea:focus,[data-ui=studio] :where(.studio-main,.studio-modal,.login-box,.modal,.kit-dialog) textarea:focus{border-color:var(--studio-accent);outline:none;box-shadow:0 0 0 3px var(--studio-focus-ring)}body.ui-studio .studio-tabs,[data-ui=studio] .studio-tabs,body.ui-studio .tabs,[data-ui=studio] .tabs,body.ui-studio .prod-tabs,[data-ui=studio] .prod-tabs,body.ui-studio .prompt-engineer-tabs,[data-ui=studio] .prompt-engineer-tabs{display:flex;gap:var(--studio-space-1);padding:var(--studio-space-1);border:1px solid var(--studio-border);border-radius:var(--studio-radius-pill);background:var(--studio-surface);overflow-x:auto;scrollbar-width:none}body.ui-studio .studio-tabs::-webkit-scrollbar,[data-ui=studio] .studio-tabs::-webkit-scrollbar,body.ui-studio .tabs::-webkit-scrollbar,[data-ui=studio] .tabs::-webkit-scrollbar,body.ui-studio .prod-tabs::-webkit-scrollbar,[data-ui=studio] .prod-tabs::-webkit-scrollbar{display:none}body.ui-studio .studio-tabs>*,[data-ui=studio] .studio-tabs>*,body.ui-studio .tabs>button,[data-ui=studio] .tabs>button,body.ui-studio .prod-tab,[data-ui=studio] .prod-tab,body.ui-studio .prompt-engineer-tabs>button,[data-ui=studio] .prompt-engineer-tabs>button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:var(--studio-radius-pill);padding:0 var(--studio-space-4);background:transparent;color:var(--studio-text-muted);white-space:nowrap}body.ui-studio .studio-tabs>*.active,[data-ui=studio] .studio-tabs>*.active,body.ui-studio .studio-tabs>*[aria-current=page],[data-ui=studio] .studio-tabs>*[aria-current=page],body.ui-studio .tabs>button.active,[data-ui=studio] .tabs>button.active,body.ui-studio .prod-tab--active,[data-ui=studio] .prod-tab--active,body.ui-studio .prompt-engineer-tabs>button.active,[data-ui=studio] .prompt-engineer-tabs>button.active{background:var(--studio-surface-soft);color:var(--studio-text);box-shadow:inset 0 0 0 1px var(--studio-border)}body.ui-studio .studio-table-wrap,[data-ui=studio] .studio-table-wrap,body.ui-studio .stats-table-wrap,[data-ui=studio] .stats-table-wrap,body.ui-studio .prod-grid-wrap,[data-ui=studio] .prod-grid-wrap{overflow:auto;border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .studio-table-wrap table,[data-ui=studio] .studio-table-wrap table,body.ui-studio .stats-table-wrap table,[data-ui=studio] .stats-table-wrap table,body.ui-studio .prod-grid-wrap table,[data-ui=studio] .prod-grid-wrap table,body.ui-studio .sjinn-ops-table,[data-ui=studio] .sjinn-ops-table{width:100%;border-collapse:collapse}body.ui-studio :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) th,[data-ui=studio] :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) th,body.ui-studio .sjinn-ops-table th,[data-ui=studio] .sjinn-ops-table th{background:var(--studio-surface-raised);color:var(--studio-text-muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}body.ui-studio :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) th,[data-ui=studio] :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) th,body.ui-studio :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) td,[data-ui=studio] :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) td,body.ui-studio .sjinn-ops-table th,[data-ui=studio] .sjinn-ops-table th,body.ui-studio .sjinn-ops-table td,[data-ui=studio] .sjinn-ops-table td{border-color:var(--studio-border)}body.ui-studio :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) tbody tr:hover,[data-ui=studio] :where(.studio-table-wrap,.stats-table-wrap,.prod-grid-wrap) tbody tr:hover{background:var(--studio-surface-raised)}body.ui-studio .studio-modal-backdrop,[data-ui=studio] .studio-modal-backdrop,body.ui-studio .modal-backdrop,[data-ui=studio] .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:var(--studio-space-4);background:var(--studio-overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body.ui-studio .studio-modal,[data-ui=studio] .studio-modal,body.ui-studio .modal,[data-ui=studio] .modal{width:min(620px,100%);max-height:min(88dvh,900px);overflow:auto;border:1px solid var(--studio-border);border-radius:var(--studio-radius-lg);background:var(--studio-surface);color:var(--studio-text);box-shadow:0 28px 80px var(--studio-shadow)}body.ui-studio .studio-modal__header,[data-ui=studio] .studio-modal__header,body.ui-studio .studio-modal__footer,[data-ui=studio] .studio-modal__footer{display:flex;align-items:center;gap:var(--studio-space-3);padding:var(--studio-space-4) var(--studio-space-5)}body.ui-studio .studio-modal__header,[data-ui=studio] .studio-modal__header{justify-content:space-between;border-bottom:1px solid var(--studio-border)}body.ui-studio .studio-modal__header h2,[data-ui=studio] .studio-modal__header h2{margin:0;font-size:18px}body.ui-studio .studio-modal__body,[data-ui=studio] .studio-modal__body{padding:var(--studio-space-5)}body.ui-studio .studio-modal__footer,[data-ui=studio] .studio-modal__footer{justify-content:flex-end;border-top:1px solid var(--studio-border)}body.ui-studio .studio-modal__close,[data-ui=studio] .studio-modal__close{width:36px;min-height:36px;border:0;background:transparent;color:var(--studio-text-muted);cursor:pointer}body.ui-studio .studio-badge,[data-ui=studio] .studio-badge,body.ui-studio .badge,[data-ui=studio] .badge{display:inline-flex;align-items:center;width:fit-content;min-height:24px;border:1px solid var(--studio-border);border-radius:var(--studio-radius-pill);padding:2px 9px;background:var(--studio-surface-soft);color:var(--studio-text-secondary);font-size:11px;font-weight:650}body.ui-studio .studio-badge--accent,[data-ui=studio] .studio-badge--accent{border-color:var(--studio-accent);background:var(--studio-accent-soft);color:var(--studio-accent-hover)}body.ui-studio .studio-badge--success,[data-ui=studio] .studio-badge--success{border-color:var(--studio-success);background:var(--studio-success-soft);color:var(--studio-success)}body.ui-studio .studio-badge--warning,[data-ui=studio] .studio-badge--warning{border-color:var(--studio-warning);background:var(--studio-warning-soft);color:var(--studio-warning)}body.ui-studio .studio-badge--danger,[data-ui=studio] .studio-badge--danger{border-color:var(--studio-danger);background:var(--studio-danger-soft);color:var(--studio-danger)}body.ui-studio .studio-empty-state,[data-ui=studio] .studio-empty-state,body.ui-studio .prod-empty,[data-ui=studio] .prod-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--studio-space-3);padding:var(--studio-space-8);border:1px dashed var(--studio-border-strong);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text-muted);text-align:center}body.ui-studio .studio-empty-state h2,[data-ui=studio] .studio-empty-state h2,body.ui-studio .studio-empty-state p,[data-ui=studio] .studio-empty-state p{margin:0}body.ui-studio .studio-empty-state h2,[data-ui=studio] .studio-empty-state h2{color:var(--studio-text);font-size:18px}body.ui-studio .studio-empty-state p,[data-ui=studio] .studio-empty-state p{max-width:520px;line-height:1.55}body.ui-studio .studio-spinner,[data-ui=studio] .studio-spinner{width:26px;height:26px;border:2px solid var(--studio-border-strong);border-top-color:var(--studio-accent);border-radius:50%;animation:studio-spin .7s linear infinite}@keyframes studio-spin{to{transform:rotate(360deg)}}body.ui-studio .studio-dropzone,[data-ui=studio] .studio-dropzone,body.ui-studio .gen-upload,[data-ui=studio] .gen-upload,body.ui-studio .ref-upload,[data-ui=studio] .ref-upload{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--studio-space-2);border:1px dashed var(--studio-border-strong);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text-muted);text-align:center;transition:border-color var(--studio-transition),background var(--studio-transition)}body.ui-studio .studio-dropzone.is-active,[data-ui=studio] .studio-dropzone.is-active,body.ui-studio .studio-dropzone:hover,[data-ui=studio] .studio-dropzone:hover,body.ui-studio .gen-upload:hover,[data-ui=studio] .gen-upload:hover,body.ui-studio .ref-upload:hover,[data-ui=studio] .ref-upload:hover{border-color:var(--studio-accent);background:var(--studio-accent-soft)}body.ui-studio .err-msg,[data-ui=studio] .err-msg,body.ui-studio .chat-error,[data-ui=studio] .chat-error,body.ui-studio .mail-flash--err,[data-ui=studio] .mail-flash--err{border:1px solid color-mix(in srgb,var(--studio-danger) 48%,transparent);border-radius:var(--studio-radius-sm);padding:var(--studio-space-3);background:var(--studio-danger-soft);color:var(--studio-danger)}body.ui-studio .info-msg,[data-ui=studio] .info-msg,body.ui-studio .mail-flash:not(.mail-flash--err),[data-ui=studio] .mail-flash:not(.mail-flash--err){border:1px solid color-mix(in srgb,var(--studio-accent) 48%,transparent);border-radius:var(--studio-radius-sm);padding:var(--studio-space-3);background:var(--studio-accent-soft);color:var(--studio-accent-hover)}.studio-shell .topbar{min-height:var(--studio-header-height);border-bottom:1px solid var(--studio-border);background:color-mix(in srgb,var(--studio-bg) 90%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.studio-shell .topbar-logo,.studio-shell .topbar-avatar{border-radius:var(--studio-radius-sm)}.studio-shell .topbar-link,.studio-shell .topbar-user,.studio-shell .topbar-theme-toggle:not(.topbar-ui-toggle),.studio-shell .topbar-burger{border-radius:var(--studio-radius-pill)}.studio-shell .topbar-menu{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);box-shadow:0 18px 52px var(--studio-shadow)}.studio-shell .topbar-menu-item{border-radius:var(--studio-radius-sm)}.studio-shell--explore .studio-main,.studio-shell--generation .studio-main{background:var(--studio-bg)}body.ui-studio .explore-featured-card,[data-ui=studio] .explore-featured-card,body.ui-studio .explore-banner,[data-ui=studio] .explore-banner,body.ui-studio .explore-seedance-promo,[data-ui=studio] .explore-seedance-promo,body.ui-studio .explore-tool-card,[data-ui=studio] .explore-tool-card,body.ui-studio .explore-project-card,[data-ui=studio] .explore-project-card{border-radius:var(--studio-radius)}body.ui-studio .explore-tool-card,[data-ui=studio] .explore-tool-card{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .explore-tool-card:hover,[data-ui=studio] .explore-tool-card:hover{border-color:var(--studio-border-strong);background:var(--studio-surface-raised)}body.ui-studio .explore-badge,[data-ui=studio] .explore-badge,body.ui-studio .explore-banner-cta,[data-ui=studio] .explore-banner-cta{border-radius:var(--studio-radius-pill)}body.ui-studio .explore-projects-state,[data-ui=studio] .explore-projects-state{border:1px dashed var(--studio-border-strong);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text-muted)}body.ui-studio .hf-ws,[data-ui=studio] .hf-ws{background:var(--studio-bg);color:var(--studio-text)}body.ui-studio .hf-ws-top,[data-ui=studio] .hf-ws-top,body.ui-studio .hf-ws-dock,[data-ui=studio] .hf-ws-dock{border-color:var(--studio-border);background:color-mix(in srgb,var(--studio-bg) 92%,transparent)}body.ui-studio .hf-ws-dock,[data-ui=studio] .hf-ws-dock{background:linear-gradient(180deg,transparent,var(--studio-bg))}body.ui-studio .hf-ws-title,[data-ui=studio] .hf-ws-title{color:var(--studio-text);letter-spacing:-.03em}body.ui-studio .hf-ws-subtitle,[data-ui=studio] .hf-ws-subtitle{color:var(--studio-text-muted)}body.ui-studio .hf-ws-chip,[data-ui=studio] .hf-ws-chip,body.ui-studio .hf-ws-chip-btn,[data-ui=studio] .hf-ws-chip-btn,body.ui-studio .hf-param-chip,[data-ui=studio] .hf-param-chip,body.ui-studio .hf-model-picker-button,[data-ui=studio] .hf-model-picker-button{border-color:var(--studio-border);border-radius:var(--studio-radius-pill);background:var(--studio-surface);color:var(--studio-text-secondary)}body.ui-studio button.hf-ws-chip-btn,[data-ui=studio] button.hf-ws-chip-btn,body.ui-studio button.hf-ws-model-btn,[data-ui=studio] button.hf-ws-model-btn{font-size:12px!important;font-weight:600;line-height:1.2}body.ui-studio button.hf-ws-chip-option,[data-ui=studio] button.hf-ws-chip-option,body.ui-studio button.hf-ws-model-option,[data-ui=studio] button.hf-ws-model-option{font-size:13px!important;font-weight:500;line-height:1.3}body.ui-studio .hf-prompt-bar,[data-ui=studio] .hf-prompt-bar,body.ui-studio .hf-vid-panel,[data-ui=studio] .hf-vid-panel,body.ui-studio .hf-img-panel,[data-ui=studio] .hf-img-panel,body.ui-studio .hf-ws-bar,[data-ui=studio] .hf-ws-bar,body.ui-studio .prompt-engineer-settings-panel,[data-ui=studio] .prompt-engineer-settings-panel,body.ui-studio .prompt-engineer-result-card,[data-ui=studio] .prompt-engineer-result-card{border-color:var(--studio-border);border-radius:var(--studio-radius-lg);background:var(--studio-surface);box-shadow:0 18px 50px color-mix(in srgb,var(--studio-shadow) 28%,transparent)}body.ui-studio .hf-ws-generate,[data-ui=studio] .hf-ws-generate,body.ui-studio .gen-submit-btn,[data-ui=studio] .gen-submit-btn,body.ui-studio .prompt-engineer-use,[data-ui=studio] .prompt-engineer-use,body.ui-studio .hf-vid-generate,[data-ui=studio] .hf-vid-generate{border-radius:var(--studio-radius-pill);background:var(--studio-accent);font-size:12px!important;font-weight:650}body.ui-studio .hf-ws-generate-cost,[data-ui=studio] .hf-ws-generate-cost{font-size:11px!important;font-weight:650}body.ui-studio button.hf-upscale-reset,[data-ui=studio] button.hf-upscale-reset{min-height:0;padding:0!important;border:none;background:transparent;color:var(--studio-accent-hover);font-size:11px!important;font-weight:600;line-height:1}body.ui-studio .hf-gen-sidebar,[data-ui=studio] .hf-gen-sidebar,body.ui-studio .hf-vid-side,[data-ui=studio] .hf-vid-side{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .hf-gen-results,[data-ui=studio] .hf-gen-results,body.ui-studio .hf-vid-main,[data-ui=studio] .hf-vid-main{background:var(--studio-bg)}body.ui-studio .hf-ws-chip-menu,[data-ui=studio] .hf-ws-chip-menu,body.ui-studio .hf-ws-model-menu,[data-ui=studio] .hf-ws-model-menu,body.ui-studio .hf-vid-bitrate-menu,[data-ui=studio] .hf-vid-bitrate-menu,body.ui-studio .prompt-engineer-council-menu,[data-ui=studio] .prompt-engineer-council-menu{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);box-shadow:0 18px 52px var(--studio-shadow)}body.ui-studio .hf-ws-chip-option,[data-ui=studio] .hf-ws-chip-option,body.ui-studio .hf-ws-model-option,[data-ui=studio] .hf-ws-model-option{border-radius:var(--studio-radius-sm);color:var(--studio-text-secondary)}body.ui-studio .hf-ws-chip-option:hover,[data-ui=studio] .hf-ws-chip-option:hover,body.ui-studio .hf-ws-model-option:hover,[data-ui=studio] .hf-ws-model-option:hover{background:var(--studio-surface-hover)}body.ui-studio .hf-ws-chip-option.active,[data-ui=studio] .hf-ws-chip-option.active,body.ui-studio .hf-ws-model-option.active,[data-ui=studio] .hf-ws-model-option.active{background:var(--studio-accent-soft);color:var(--studio-accent-hover)}body.ui-studio .hf-ws-model-search input,[data-ui=studio] .hf-ws-model-search input,body.ui-studio .hf-vid-prompt,[data-ui=studio] .hf-vid-prompt,body.ui-studio .hf-ws-prompt,[data-ui=studio] .hf-ws-prompt{color:var(--studio-text)}body.ui-studio textarea.hf-vid-prompt,[data-ui=studio] textarea.hf-vid-prompt,body.ui-studio .hf-vid-prompt-wrap textarea.hf-vid-prompt,[data-ui=studio] .hf-vid-prompt-wrap textarea.hf-vid-prompt{border:none!important;box-shadow:none!important;outline:none!important;background:transparent!important;border-radius:0!important;min-height:72px;padding:0;font-size:12px;line-height:1.45}body.ui-studio textarea.hf-vid-prompt:hover,[data-ui=studio] textarea.hf-vid-prompt:hover,body.ui-studio textarea.hf-vid-prompt:focus,[data-ui=studio] textarea.hf-vid-prompt:focus{border:none!important;box-shadow:none!important;outline:none!important}body.ui-studio textarea.chat-composer-input,[data-ui=studio] textarea.chat-composer-input{border:none!important;box-shadow:none!important;outline:none!important;background:transparent!important;border-radius:0!important;font-size:15px}body.ui-studio button.chat-model-picker-btn,[data-ui=studio] button.chat-model-picker-btn{font-size:12px!important;font-weight:600;line-height:1.2}body.ui-studio button.chat-composer-send,[data-ui=studio] button.chat-composer-send{font-size:12px!important;font-weight:600}body.ui-studio button.chat-conv-menu-btn,[data-ui=studio] button.chat-conv-menu-btn{padding:0;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:16px}body.ui-studio button.chat-composer-icon-btn,[data-ui=studio] button.chat-composer-icon-btn{padding:0!important;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:18px!important}body.ui-studio .chat-composer-icon-btn span,[data-ui=studio] .chat-composer-icon-btn span{display:block;line-height:1;transform:translateY(-.5px)}body.ui-studio textarea.hf-ws-prompt,[data-ui=studio] textarea.hf-ws-prompt{border:none!important;box-shadow:none!important;outline:none!important;background:transparent!important;border-radius:0!important;min-height:56px;font-size:14px}body.ui-studio textarea.hf-ws-prompt:hover,[data-ui=studio] textarea.hf-ws-prompt:hover,body.ui-studio textarea.hf-ws-prompt:focus,[data-ui=studio] textarea.hf-ws-prompt:focus{border:none!important;box-shadow:none!important;outline:none!important}body.ui-studio .hf-vid-prompt-wrap,[data-ui=studio] .hf-vid-prompt-wrap{gap:10px;padding:16px}body.ui-studio .hf-ws-ref-thumb,[data-ui=studio] .hf-ws-ref-thumb,body.ui-studio .hf-ws-ref-add,[data-ui=studio] .hf-ws-ref-add,body.ui-studio .hf-vid-upload-zone,[data-ui=studio] .hf-vid-upload-zone,body.ui-studio .hf-vid-model-card,[data-ui=studio] .hf-vid-model-card{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface-raised)}body.ui-studio button.hf-vid-create-tab,[data-ui=studio] button.hf-vid-create-tab{border-radius:0;font-size:11px!important;font-weight:600}body.ui-studio button.hf-vid-model-card,[data-ui=studio] button.hf-vid-model-card{border-radius:var(--studio-radius)}body.ui-studio button.hf-vid-model-card--hero,[data-ui=studio] button.hf-vid-model-card--hero,body.ui-studio button.hf-vid-upload-zone,[data-ui=studio] button.hf-vid-upload-zone{border-radius:10px}body.ui-studio button.hf-vid-bitrate-btn,[data-ui=studio] button.hf-vid-bitrate-btn,body.ui-studio button.hf-vid-tab,[data-ui=studio] button.hf-vid-tab,body.ui-studio .hf-vid-chips button.hf-ws-chip-btn,[data-ui=studio] .hf-vid-chips button.hf-ws-chip-btn{border-radius:8px}body.ui-studio button.hf-ws-ref-add,[data-ui=studio] button.hf-ws-ref-add{border-radius:var(--studio-radius);padding:0!important;display:grid;place-items:center;line-height:0;font-size:22px;font-weight:400;min-height:48px;width:48px;height:48px}body.ui-studio .hf-ws-grid .gen-result-card,[data-ui=studio] .hf-ws-grid .gen-result-card,body.ui-studio .hf-vid-how-card,[data-ui=studio] .hf-vid-how-card{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .hf-gen-guest-empty,[data-ui=studio] .hf-gen-guest-empty{border-color:var(--studio-border-strong);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .studio-generation-outlier,[data-ui=studio] .studio-generation-outlier{background:var(--studio-bg)}body.ui-studio .studio-generation-outlier .gen-sidebar,[data-ui=studio] .studio-generation-outlier .gen-sidebar{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .studio-generation-outlier .gen-main,[data-ui=studio] .studio-generation-outlier .gen-main,body.ui-studio .studio-generation-outlier .gen-results,[data-ui=studio] .studio-generation-outlier .gen-results{background:var(--studio-bg)}body.ui-studio .studio-generation-outlier .gen-page-title,[data-ui=studio] .studio-generation-outlier .gen-page-title{color:var(--studio-text);letter-spacing:-.035em}body.ui-studio .studio-generation-outlier .gen-result-card,[data-ui=studio] .studio-generation-outlier .gen-result-card,body.ui-studio .studio-generation-outlier .gen-ref-box,[data-ui=studio] .studio-generation-outlier .gen-ref-box,body.ui-studio .studio-generation-outlier .gen-estimate,[data-ui=studio] .studio-generation-outlier .gen-estimate,body.ui-studio .studio-generation-outlier .gen-options,[data-ui=studio] .studio-generation-outlier .gen-options{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface-raised)}body.ui-studio .studio-generation-outlier .gen-splitter,[data-ui=studio] .studio-generation-outlier .gen-splitter{background:var(--studio-border)}body.ui-studio .studio-generation-outlier .gen-splitter:hover,[data-ui=studio] .studio-generation-outlier .gen-splitter:hover,body.ui-studio .studio-generation-outlier .gen-splitter:active,[data-ui=studio] .studio-generation-outlier .gen-splitter:active{background:var(--studio-accent)}body.ui-studio .studio-prompt-generator .prompt-engineer-tabs,[data-ui=studio] .studio-prompt-generator .prompt-engineer-tabs,body.ui-studio .studio-prompt-generator .prompt-engineer-settings-panel,[data-ui=studio] .studio-prompt-generator .prompt-engineer-settings-panel,body.ui-studio .studio-prompt-generator .prompt-engineer-result-card,[data-ui=studio] .studio-prompt-generator .prompt-engineer-result-card,body.ui-studio .studio-prompt-generator .prompt-engineer-council-menu,[data-ui=studio] .studio-prompt-generator .prompt-engineer-council-menu{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .studio-prompt-generator .prompt-engineer-tabs,[data-ui=studio] .studio-prompt-generator .prompt-engineer-tabs{border-radius:var(--studio-radius-pill);overflow:hidden}body.ui-studio .studio-prompt-generator .prompt-engineer-tabs>button,[data-ui=studio] .studio-prompt-generator .prompt-engineer-tabs>button,body.ui-studio .hf-ws-toolbar .studio-prompt-generator .prompt-engineer-tabs button,[data-ui=studio] .hf-ws-toolbar .studio-prompt-generator .prompt-engineer-tabs button,body.ui-studio .studio-prompt-generator .hf-ws-toolbar .prompt-engineer-tabs button,[data-ui=studio] .studio-prompt-generator .hf-ws-toolbar .prompt-engineer-tabs button{border-radius:var(--studio-radius-pill)}.studio-shell--admin .studio-main,.studio-shell--review .studio-main,.studio-shell--account .studio-main,.studio-shell--tools .studio-main{overflow-y:auto}.studio-shell--admin .card+.card,.studio-shell--review .card+.card,.studio-shell--account .card+.card{margin-top:var(--studio-space-4)}body.ui-studio :where(.studio-shell--admin,.studio-shell--review,.studio-shell--account,.studio-shell--tools) .studio-main>:first-child>h2:first-child,[data-ui=studio] :where(.studio-shell--admin,.studio-shell--review,.studio-shell--account,.studio-shell--tools) .studio-main>:first-child>h2:first-child{margin-bottom:var(--studio-space-4);color:var(--studio-text);font-size:clamp(24px,3vw,34px);font-weight:650;letter-spacing:-.035em}body.ui-studio .gen-card,[data-ui=studio] .gen-card,body.ui-studio .stat,[data-ui=studio] .stat,body.ui-studio .review-card,[data-ui=studio] .review-card,body.ui-studio .approved-card,[data-ui=studio] .approved-card,body.ui-studio .feed-card,[data-ui=studio] .feed-card,body.ui-studio .sjinn-key-card,[data-ui=studio] .sjinn-key-card{border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .status-button,[data-ui=studio] .status-button,body.ui-studio .filter-buttons button,[data-ui=studio] .filter-buttons button,body.ui-studio .employee-filter-trigger,[data-ui=studio] .employee-filter-trigger{border-radius:var(--studio-radius-pill)}.studio-shell--communication .studio-main{padding:0;min-height:0;overflow:hidden}.studio-shell--communication .studio-main>*{width:100%;max-width:none;height:100%}body.ui-studio .mail-app,[data-ui=studio] .mail-app,body.ui-studio .chat-app,[data-ui=studio] .chat-app{height:100%;background:var(--studio-bg)}body.ui-studio .chat-app,[data-ui=studio] .chat-app{box-sizing:border-box;padding:var(--studio-space-4)}body.ui-studio .mail-app,[data-ui=studio] .mail-app{box-sizing:border-box;gap:var(--studio-space-3);padding:var(--studio-space-6) var(--studio-space-4) var(--studio-space-4)}body.ui-studio .mail-view-tabs,[data-ui=studio] .mail-view-tabs{display:inline-flex;flex:0 0 auto;align-self:flex-start;align-items:center;width:fit-content;max-width:100%;height:auto;margin:0;padding:3px;gap:2px;border:1px solid var(--studio-border);border-radius:var(--studio-radius-pill);background:var(--studio-surface);overflow:visible}body.ui-studio .mail-view-tabs a,[data-ui=studio] .mail-view-tabs a{min-height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;border-bottom:0;border-radius:var(--studio-radius-pill);padding:0 14px;background:transparent;color:var(--studio-text-muted);font-size:13px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap}body.ui-studio .mail-view-tabs a.active,[data-ui=studio] .mail-view-tabs a.active{background:var(--studio-surface-soft);color:var(--studio-text);box-shadow:inset 0 0 0 1px var(--studio-border)}body.ui-studio .mail-topbar,[data-ui=studio] .mail-topbar,body.ui-studio .mail-sidebar,[data-ui=studio] .mail-sidebar,body.ui-studio .mail-list,[data-ui=studio] .mail-list,body.ui-studio .mail-reading,[data-ui=studio] .mail-reading{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .mail-empty,[data-ui=studio] .mail-empty{min-height:0;display:block;padding:var(--studio-space-5) var(--studio-space-4);border:0;border-radius:0;background:transparent;color:var(--studio-text-muted);font-size:14px;text-align:left}body.ui-studio .mail-empty--center,[data-ui=studio] .mail-empty--center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--studio-space-3);padding:var(--studio-space-8);text-align:center;color:var(--studio-text-muted)}body.ui-studio .mail-empty--center p,[data-ui=studio] .mail-empty--center p{margin:0;max-width:360px;line-height:1.5}body.ui-studio .mail-unconfigured,[data-ui=studio] .mail-unconfigured{display:flex;flex-direction:column;gap:var(--studio-space-5);max-width:720px}body.ui-studio .mail-unconfigured .studio-page-header,[data-ui=studio] .mail-unconfigured .studio-page-header{margin-bottom:0}body.ui-studio .mail-unconfigured-lead,[data-ui=studio] .mail-unconfigured-lead,body.ui-studio .mail-unconfigured-hint,[data-ui=studio] .mail-unconfigured-hint{margin:0;line-height:1.55}body.ui-studio .mail-unconfigured-hint,[data-ui=studio] .mail-unconfigured-hint{margin-top:var(--studio-space-3)}body.ui-studio .mail-search input,[data-ui=studio] .mail-search input,body.ui-studio .chat-model-picker-menu,[data-ui=studio] .chat-model-picker-menu,body.ui-studio .chat-conv-menu,[data-ui=studio] .chat-conv-menu{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface-raised)}body.ui-studio .mail-compose-btn,[data-ui=studio] .mail-compose-btn,body.ui-studio .chat-composer-send,[data-ui=studio] .chat-composer-send{border-radius:var(--studio-radius-pill);background:var(--studio-accent);color:var(--text-on-accent)}body.ui-studio button.chat-new-btn,[data-ui=studio] button.chat-new-btn{border-radius:12px;background:var(--studio-surface-soft);color:var(--studio-text);border:none}body.ui-studio button.chat-new-btn:hover,[data-ui=studio] button.chat-new-btn:hover{background:var(--studio-surface-hover)}body.ui-studio .mail-folder,[data-ui=studio] .mail-folder,body.ui-studio .mail-row,[data-ui=studio] .mail-row,body.ui-studio .chat-conv-item,[data-ui=studio] .chat-conv-item,body.ui-studio .chat-model-picker-item,[data-ui=studio] .chat-model-picker-item{border-radius:12px}body.ui-studio .chat-message-bubble,[data-ui=studio] .chat-message-bubble{border-radius:18px}body.ui-studio .chat-message--assistant .chat-message-bubble,[data-ui=studio] .chat-message--assistant .chat-message-bubble{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .chat-message--user .chat-message-bubble,[data-ui=studio] .chat-message--user .chat-message-bubble{background:var(--studio-accent);color:var(--text-on-accent)}body.ui-studio .prod-layout,[data-ui=studio] .prod-layout,body.ui-studio .prod-page,[data-ui=studio] .prod-page{color:var(--studio-text)}body.ui-studio .prod-project-card,[data-ui=studio] .prod-project-card,body.ui-studio .prod-version-card,[data-ui=studio] .prod-version-card,body.ui-studio .prod-filter-panel,[data-ui=studio] .prod-filter-panel,body.ui-studio .prod-entity-drawer,[data-ui=studio] .prod-entity-drawer,body.ui-studio .prod-gantt,[data-ui=studio] .prod-gantt,body.ui-studio .prod-material-picker-shell,[data-ui=studio] .prod-material-picker-shell{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .prod-tabs,[data-ui=studio] .prod-tabs{width:fit-content;max-width:100%;margin-bottom:var(--studio-space-5);border-bottom:1px solid var(--studio-border)}body.ui-studio .prod-project-status,[data-ui=studio] .prod-project-status,body.ui-studio .prod-status-label,[data-ui=studio] .prod-status-label,body.ui-studio .prod-task-status,[data-ui=studio] .prod-task-status{border-radius:var(--studio-radius-pill)}body.ui-studio .prod-toolbar,[data-ui=studio] .prod-toolbar,body.ui-studio .materials-toolbar,[data-ui=studio] .materials-toolbar{gap:var(--studio-space-3);border-color:var(--studio-border)}body.ui-studio .prod-dropdown-menu,[data-ui=studio] .prod-dropdown-menu,body.ui-studio .prod-filter-panel,[data-ui=studio] .prod-filter-panel{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);box-shadow:0 18px 52px var(--studio-shadow)}body.ui-studio .materials-layout,[data-ui=studio] .materials-layout{gap:var(--studio-space-4)}body.ui-studio .materials-sidebar,[data-ui=studio] .materials-sidebar,body.ui-studio .materials-main,[data-ui=studio] .materials-main,body.ui-studio .prod-materials-search,[data-ui=studio] .prod-materials-search,body.ui-studio .prod-materials-results,[data-ui=studio] .prod-materials-results{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}body.ui-studio .materials-tree-row,[data-ui=studio] .materials-tree-row,body.ui-studio .materials-crumb,[data-ui=studio] .materials-crumb{border-radius:var(--studio-radius-sm)}body.ui-studio .materials-card,[data-ui=studio] .materials-card{overflow:hidden;border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface-raised)}.studio-shell--canvas .studio-main,.studio-shell--scenarist .studio-main{padding:0}.studio-shell--canvas .studio-main>*,.studio-shell--scenarist .studio-main>*{width:100%;max-width:none}body.ui-studio .wf-toolbar,[data-ui=studio] .wf-toolbar{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .wf-toolbar button,[data-ui=studio] .wf-toolbar button,body.ui-studio .wf-toolbar select,[data-ui=studio] .wf-toolbar select,body.ui-studio .wf-toolbar input,[data-ui=studio] .wf-toolbar input{font-size:12px!important}body.ui-studio .wf-title-input,[data-ui=studio] .wf-title-input{font-size:13px!important}body.ui-studio .wf-node,[data-ui=studio] .wf-node,body.ui-studio .wf-add-menu,[data-ui=studio] .wf-add-menu,body.ui-studio .wf-node-menu,[data-ui=studio] .wf-node-menu,body.ui-studio .wf-help-panel,[data-ui=studio] .wf-help-panel{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);box-shadow:0 16px 44px var(--studio-shadow);font-size:12px}body.ui-studio .wf-node-header,[data-ui=studio] .wf-node-header{border-radius:var(--studio-radius) var(--studio-radius) 0 0;background:var(--studio-surface-raised)}body.ui-studio .wf-canvas-wrap,[data-ui=studio] .wf-canvas-wrap{background-color:var(--studio-bg)}body.ui-studio .tm-page>.tm-toolbar,[data-ui=studio] .tm-page>.tm-toolbar{margin:var(--studio-space-3) var(--studio-space-4);border:1px solid var(--studio-border);border-radius:var(--studio-radius);overflow:hidden}body.ui-studio .wb-list-header button,[data-ui=studio] .wb-list-header button{font-size:12px!important;font-weight:600;min-height:34px;padding:0 12px}body.ui-studio .wb-list-card-actions button,[data-ui=studio] .wb-list-card-actions button{font-size:11px!important;font-weight:600;min-height:0;padding:4px 8px!important}body.ui-studio .login-wrap,[data-ui=studio] .login-wrap{background:var(--studio-bg)}body.ui-studio .login-box,[data-ui=studio] .login-box{border:1px solid var(--studio-border);border-radius:var(--studio-radius-lg);background:var(--studio-surface);box-shadow:0 24px 70px var(--studio-shadow)}body.ui-studio .support-stub-backdrop,[data-ui=studio] .support-stub-backdrop{background:var(--studio-overlay);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body.ui-studio .support-stub-modal,[data-ui=studio] .support-stub-modal{border-color:var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface);color:var(--studio-text);box-shadow:0 24px 70px var(--studio-shadow)}body.ui-studio .support-stub-text,[data-ui=studio] .support-stub-text{color:var(--studio-text-muted)}body.ui-studio .support-stub-close,[data-ui=studio] .support-stub-close{border-radius:var(--studio-radius-pill);background:var(--studio-accent);color:var(--text-on-accent)}body.ui-studio .shared-scenario,[data-ui=studio] .shared-scenario,body.ui-studio .shared-scenario-state,[data-ui=studio] .shared-scenario-state{background:var(--studio-bg);color:var(--studio-text)}body.ui-studio .shared-scenario>header,[data-ui=studio] .shared-scenario>header{border-color:var(--studio-border);background:var(--studio-surface)}body.ui-studio .studio-service-state,[data-ui=studio] .studio-service-state{min-height:100dvh;border:0;border-radius:0;background:var(--studio-bg)}@media (max-width: 900px){.studio-main:not(.studio-main--full-bleed){padding:var(--studio-space-5)}.studio-page-header,body.ui-studio .page-head,[data-ui=studio] .page-head{flex-direction:column}.studio-page-header__actions{width:100%;justify-content:flex-start}body.ui-studio .materials-layout,[data-ui=studio] .materials-layout{grid-template-columns:minmax(180px,28%) minmax(0,1fr)}}@media (max-width: 640px){.studio-main:not(.studio-main--full-bleed){padding:var(--studio-space-4)}.studio-page-header,body.ui-studio .page-head,[data-ui=studio] .page-head{margin-bottom:var(--studio-space-4)}.studio-page-header h1,body.ui-studio .page-head h1,[data-ui=studio] .page-head h1,body.ui-studio .page-head h2,[data-ui=studio] .page-head h2{font-size:26px}.studio-card,body.ui-studio .card,[data-ui=studio] .card{border-radius:var(--studio-radius)}body.ui-studio .row,[data-ui=studio] .row{flex-wrap:wrap}body.ui-studio .row>*,[data-ui=studio] .row>*{min-width:min(100%,220px)}body.ui-studio .studio-tabs,[data-ui=studio] .studio-tabs,body.ui-studio .tabs,[data-ui=studio] .tabs,body.ui-studio .prod-tabs,[data-ui=studio] .prod-tabs{width:100%}body.ui-studio .studio-tabs>*,[data-ui=studio] .studio-tabs>*,body.ui-studio .tabs>button,[data-ui=studio] .tabs>button,body.ui-studio .prod-tab,[data-ui=studio] .prod-tab{flex:1 0 auto}body.ui-studio .materials-layout,[data-ui=studio] .materials-layout{display:flex;flex-direction:column}body.ui-studio .materials-sidebar,[data-ui=studio] .materials-sidebar{max-height:240px}body.ui-studio .modal,[data-ui=studio] .modal,body.ui-studio .studio-modal,[data-ui=studio] .studio-modal{width:100%;max-height:calc(100dvh - var(--studio-space-4));border-radius:var(--studio-radius)}}@media (prefers-reduced-motion: reduce){body.ui-studio *,[data-ui=studio] *,body.ui-studio *:before,[data-ui=studio] *:before,body.ui-studio *:after,[data-ui=studio] *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
