.asset-preview-trigger{cursor:zoom-in;text-align:center;border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.asset-preview-trigger:focus-visible{outline-offset:3px;outline:2px solid #1677ff}.asset-preview-hint{color:#fff;pointer-events:none;background:#0009;border-radius:6px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:flex;position:absolute;bottom:10px;right:10px}.asset-media-dialog{color:#fff;background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px;position:fixed;inset:0}.asset-media-dialog[open]{justify-content:center;align-items:center;display:flex}.asset-media-dialog::backdrop{background:#000000c7}.asset-media-panel{background:#151515;border:1px solid #ffffff26;border-radius:12px;flex-direction:column;width:min(1200px,100%);min-height:0;max-height:100%;display:flex;overflow:hidden;box-shadow:0 20px 80px #0006}.asset-media-panel header{flex-shrink:0;align-items:center;gap:16px;padding:12px 16px;display:flex}.asset-media-panel header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.asset-media-panel header button{color:#fff;cursor:pointer;background:#ffffff14;border:0;border-radius:6px;place-items:center;width:36px;height:36px;display:grid}.asset-media-stage{background:#090909;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.asset-media-stage img,.asset-media-stage video{object-fit:contain;width:100%;height:auto;max-height:calc(100dvh - 110px);display:block}.asset-media-stage p{padding:48px 20px}@media (max-width:600px){.asset-media-dialog{padding:8px}.asset-media-stage img,.asset-media-stage video{max-height:calc(100dvh - 80px)}}.material-picker{color:#242424;background:#fafafa;border:1px solid #e0e1e5;border-radius:14px;width:min(768px,94vw);max-width:94vw;height:min(680px,90dvh);max-height:90dvh;padding:18px 16px;font:13px Arial,sans-serif;overflow:hidden;box-shadow:0 24px 90px #0003}.material-picker[open]{flex-direction:column;gap:12px;display:flex}.material-picker::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0006}.material-picker button{cursor:pointer;color:inherit;font:inherit;background:0 0;border:0;border-radius:8px;padding:8px 12px}.material-picker button:disabled{opacity:.45;cursor:default}.material-picker header,.material-picker footer{align-items:center;gap:10px;display:flex}.material-picker header>div{flex:1}.material-picker h2{margin:0 0 5px;font-size:18px}.material-picker p{color:#777;margin:4px 0}.material-picker header>span{background:#ececec;border-radius:16px;padding:5px 10px}.material-picker-body{border:1px solid #e4e4e8;border-radius:11px;flex:1;min-height:0;padding:12px;overflow:auto}.material-picker nav{gap:12px;display:flex}.material-picker nav button{border-radius:0}.material-picker nav .active{border-bottom:2px solid #222;font-weight:600}.material-picker-search{gap:8px;margin:8px 0;display:flex}.material-picker-search select,.material-picker-search input{min-width:0;font:inherit;background:#fff;border:1px solid #e3e3e6;border-radius:8px;padding:9px}.material-picker-search input{flex:1}.material-picker-search select{max-width:35%}.material-picker-filters{align-items:center;margin:8px 0;display:flex}.material-picker-filters>span{color:#777;margin-right:auto}.material-picker-filters .active{background:#e6e6e6;border-radius:20px}.material-picker-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.material-picker .material-upload{border:1px dashed #dedee4;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:170px;padding:0;display:flex}.material-upload b{font-size:32px;font-weight:400}.material-upload small{color:#888}.material-upload span{border-top:1px solid #e3e3e6;width:100%;margin-top:10px;padding:10px}.material-card{cursor:pointer;min-width:0}.material-thumb{aspect-ratio:1;background:#f1f1f1;border:1px solid #dedee4;border-radius:10px;align-items:center;display:flex;position:relative;overflow:hidden}.material-thumb img{object-fit:contain;width:100%;height:100%}.material-thumb audio{width:100%;height:40px}.material-thumb input{accent-color:#222;width:18px;height:18px;position:absolute;bottom:7px;left:7px}.material-card.selected .material-thumb{outline:2px solid #222}.material-card>strong{text-overflow:ellipsis;white-space:nowrap;margin:7px 4px 3px;display:block;overflow:hidden}.material-card>small{color:#888;margin:4px}.material-picker footer>label{margin-right:auto}.material-picker .material-confirm{color:#fff;background:#252525}.material-empty{text-align:center;padding:24px}.material-picker-grid.audio-only{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.material-picker-grid.audio-only .material-thumb{aspect-ratio:2.5}.material-picker-grid.audio-only .material-thumb audio{margin-bottom:22px}.material-type-tabs{flex-wrap:wrap;margin-right:auto;display:flex}.material-thumb video{object-fit:cover;width:100%;height:100%}.material-type-badge{color:#fff;pointer-events:none;background:#0007;border-radius:4px;padding:3px 5px;font-size:10px;position:absolute;top:6px;right:6px}.material-picker .material-card{display:block}.material-picker .material-thumb input{margin:0}.material-picker footer>label{align-items:center;gap:6px;display:flex}.material-picker footer input{width:16px;height:16px;margin:0}.material-picker-grid{grid-template-columns:repeat(auto-fill,minmax(130px,140px));align-content:start}.material-picker-filters{flex-wrap:wrap}.material-thumb audio{margin-bottom:28px}.attachment-menu{z-index:20;background:#fff;border:1px solid #e5e5e5;border-radius:12px;min-width:210px;padding:8px;position:absolute;bottom:100%;left:0;box-shadow:0 8px 24px #0001}.attachment-menu button{text-align:left;gap:8px;width:100%;padding:12px;display:flex}.attachment-menu-anchor{position:relative}.attachment-chips{flex-wrap:wrap;gap:8px;padding:8px;display:flex}.attachment-chips>span{border:1px solid #e4e4e4;border-radius:8px;align-items:center;gap:6px;max-width:230px;padding:5px;font-size:12px;display:flex}.attachment-chips img{object-fit:cover;width:32px;height:32px}.attachment-chips strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.attachment-chips button{cursor:pointer;background:0 0;border:0}.material-picker-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}.material-picker .material-upload{align-self:start;min-height:170px;display:block}.material-picker .material-upload-main{flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-height:130px;display:flex}.material-upload-footer{border-top:1px solid #e3e3e6;display:flex}.material-upload-footer>button,.material-upload-footer>div{flex:1;min-width:0}.material-upload-footer>div{border-left:1px solid #e3e3e6}.material-upload-footer button{width:100%;padding:10px 4px;font-size:11px}.portrait-library{color:#222;background:#fafbfc;border:1px solid #ddd;border-radius:12px;margin:16px 0;padding:16px;font-size:13px;line-height:1.65}.portrait-library h3{margin:0 0 8px;font-size:17px}.portrait-library fieldset{border:0;min-width:0;padding:8px 0}.portrait-library label{margin:10px 0;display:block}.portrait-library input:not([type=checkbox]),.portrait-library select{box-sizing:border-box;background:#fff;border:1px solid #ccc;border-radius:7px;width:100%;padding:8px;display:block}.portrait-library button,.portrait-library a{margin:4px 8px 4px 0}.portrait-library button{background:#fff;border:1px solid #ccc;border-radius:7px;padding:7px 10px}.portrait-library button:disabled{opacity:.5;cursor:not-allowed}.portrait-library small{overflow-wrap:anywhere;color:#666;display:block}.portrait-library [role=alert]{color:#a32121}.portrait-library [role=status]{color:#175a3c}.portrait-list{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:12px;padding:0;list-style:none;display:grid}.portrait-list li{overflow-wrap:anywhere;background:#fff;border:1px solid #ddd;border-radius:8px;min-width:0;padding:12px}.portrait-list li>span{display:block}.portrait-library .portrait-publish{border-top:1px solid #ddd;margin-top:24px}.portrait-library .portrait-consent{align-items:flex-start;gap:8px;display:flex}.portrait-library .portrait-consent input{flex-shrink:0;width:16px;height:16px;margin-top:5px}.portrait-list img{object-fit:contain;background:#f2f3f5;border-radius:6px;width:100%;height:160px;margin-bottom:8px}.character-dialog{box-sizing:border-box}.portrait-library legend{overflow-wrap:anywhere;max-width:100%}.character-dialog{color:#222;background:#fff;border:1px solid #ddd;border-radius:18px;width:min(640px,94vw);max-height:90dvh;padding:24px;overflow:auto}.character-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0006}.character-dialog header,.character-dialog footer,.character-voice{justify-content:space-between;align-items:center;gap:16px;display:flex}.character-dialog h2{font-size:18px}.character-dialog label{margin:12px 0;display:block}.character-dialog input:not([type=checkbox]),.character-dialog textarea{box-sizing:border-box;border:1px solid #ddd;border-radius:8px;width:100%;padding:8px;display:block}.character-slots{text-align:center;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0;display:grid}.character-slots>div>button:first-child{aspect-ratio:1;background:#f7f7f8;border:1px solid #e4e4e6;border-radius:12px;width:100%;overflow:hidden}.character-slots img{object-fit:contain;width:100%;height:100%}.character-slots span{color:#aaa;font-size:38px}.character-slots small{margin-top:7px;display:block}.character-remove{padding:2px!important;font-size:11px!important}.character-voice{border:1px solid #ddd;border-radius:8px;padding:8px}.character-consent{color:#b33;border:1px solid #eee;border-radius:8px;padding:14px;font-size:12px}.character-provider{margin:14px 0;font-size:12px;line-height:1.7}.character-dialog footer{margin-top:20px;font-size:12px}.character-dialog footer>button{color:#fff;background:#222;border-radius:8px;padding:10px 22px}.character-create-tile{border:1px solid #ddd;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:240px;display:flex}.character-create-options{flex-direction:column;gap:10px;display:none}.character-create-tile:hover .character-create-options,.character-create-tile:focus-within .character-create-options{display:flex}.character-create-tile:hover>.character-create-plus{display:none}@media (hover:none){.character-create-options{display:flex}.character-create-plus{display:none}}.character-dialog [hidden],.material-picker [hidden]{display:none!important}.character-slots>div>button:first-child{max-width:132px;height:132px}.character-dialog footer>button:disabled{opacity:.4;cursor:not-allowed}.character-slots{gap:12px}.character-dialog textarea{min-height:54px;max-height:100px}@media (hover:none){.character-create-options{visibility:visible}}.character-create-options{visibility:hidden;display:flex}.character-create-tile:hover .character-create-options,.character-create-tile:focus-within .character-create-options{visibility:visible}.character-create-tile:hover>.character-create-plus{visibility:hidden;display:block}@media (hover:none){.character-create-options{visibility:visible}}.character-dialog .character-consent{align-items:flex-start;gap:8px;line-height:1.6;display:flex}.character-dialog .character-consent input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;padding:0;display:inline-block}.character-consent span{flex:1;min-width:0}.enhancement-workspace{grid-template-columns:minmax(300px,32%) minmax(300px,1fr) 140px;gap:12px;min-height:calc(100dvh - 30px);padding:14px;display:grid}.enhancement-editor,.enhancement-preview,.enhancement-history{background:#fcfcfd;border:1px solid #e2e5eb;border-radius:18px;min-width:0;padding:12px}.enhancement-editor{flex-direction:column;gap:10px;display:flex}.enhancement-editor header{align-items:center;gap:12px;display:flex}.enhancement-editor header button:last-child{margin-left:auto}.enhancement-upload{border:1px dashed #dfe3e9;border-radius:10px;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:260px;display:flex}.enhancement-upload>button{background:0 0;border:0;flex-direction:column;align-items:center;gap:12px;display:flex}.enhancement-upload video{width:100%;max-height:45dvh}.enhancement-upload [hidden]{display:none!important}.enhancement-guide{border:1px solid #e2e5eb;border-radius:10px;padding:12px;font-size:12px;line-height:1.8}.enhancement-guide small{color:#888}.enhancement-controls{position:relative}.enhancement-buttons{gap:8px;display:flex}.enhancement-buttons>button{text-align:left;background:#fff;border:1px solid #e2e5eb;border-radius:9px;flex:1;padding:10px;font-size:11px;position:relative}.enhancement-buttons strong{display:block}.enhancement-buttons svg{position:absolute;top:18px;right:10px}.enhancement-popover{z-index:20;background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px;position:absolute;bottom:calc(100% + 7px);left:0;right:0;box-shadow:0 5px 20px #0001}.enhancement-popover>button{text-align:left;border:0;width:100%;padding:10px;display:block}.enhancement-popover small{color:#888;display:block}.enhancement-popover>div{gap:6px;margin:8px 0;display:flex}.enhancement-popover>div button{border:0;flex:1;padding:8px}.enhancement-popover .selected{background:#e8e8ea;border-radius:8px}.enhancement-popover label{color:#777;font-size:11px}.enhancement-start{border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;display:flex;color:#fff!important;background:#222!important;padding:12px!important}.enhancement-start:disabled{opacity:.45}.enhancement-empty{color:#888;flex-direction:column;justify-content:center;align-items:center;min-height:70dvh;font-size:12px;display:flex}.enhancement-history>button{text-align:left;width:100%;margin:12px 0;font-size:12px;display:block}.enhancement-history small{color:#888;display:block}.video-result-preview{width:100%;padding:20px 0}.video-result-preview nav{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:12px;padding:8px;display:flex}.video-result-preview nav button,.video-result-preview nav a{color:#333;background:0 0;border:0;padding:3px;font-size:12px}.video-result-stage{background:#343434;border-radius:9px;justify-content:center;align-items:center;width:100%;height:min(64dvh,640px);display:flex;position:relative;overflow:hidden}.video-result-stage .video-result-player{z-index:1;object-fit:contain;background:0 0;width:100%;height:100%;position:relative;max-height:none!important}.video-result-stage .video-result-backdrop{object-fit:cover;filter:blur(24px)brightness(.65);opacity:.8;pointer-events:none;width:116%;height:116%;position:absolute;inset:-8%;max-height:none!important}.video-result-metadata{color:#777;flex-wrap:wrap;justify-content:center;gap:8px 15px;padding:16px 0;font-size:11px;display:flex}.enhancement-preview>.video-result-preview{margin-top:10vh}@media (max-width:1000px){.enhancement-workspace{grid-template-columns:minmax(280px,40%) 1fr}.enhancement-history{grid-column:1/-1}.enhancement-preview>.video-result-preview{margin-top:0}}@media (max-width:650px){.enhancement-workspace{flex-direction:column;display:flex}.enhancement-empty{min-height:200px}}.mediakit-enhancement{flex-direction:column;gap:10px;font-size:12px;line-height:1.7;display:flex}.mediakit-enhancement input[type=password]{width:100%;display:block}.mediakit-consent{align-items:flex-start;gap:8px;display:flex!important}.mediakit-consent input{margin-top:5px;width:auto!important}.mediakit-enhancement a{color:#1874c9}.template-examples .example-prompt-details{background:#fff;border:1px solid #dce3ec;border-radius:12px;order:3;margin:16px 0;overflow:hidden}.template-examples .example-prompt-toggle{color:#243e66;text-align:left;cursor:pointer;background:#f5f8fc;border:0;border-radius:0;align-items:center;gap:9px;width:100%;min-height:48px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.template-examples .example-prompt-toggle>svg:last-child{flex-shrink:0;margin-left:auto}.template-examples .example-prompt-toggle:hover{background:#eaf1fb}.template-examples .example-prompt-content{padding:14px}.template-examples .example-prompt-content[hidden]{display:none}.template-examples .example-prompt-parameters{color:#52637a;margin:0 0 10px;font-size:12px}.template-examples .example-reference-help{color:#52637a;margin:0 0 10px;font-size:12px;line-height:1.6}.template-examples .example-reference-legend{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.template-examples .example-reference-legend button{text-align:left;color:#23456e;background:#f8faff;border:1px solid #d9e3f1;border-radius:9px;flex:170px;align-items:center;gap:8px;min-width:0;min-height:64px;padding:8px;display:flex}.template-examples .example-reference-legend button>img{object-fit:cover;border-radius:5px;flex-shrink:0;width:40px;height:48px}.template-examples .example-reference-legend button>span{flex:1;min-width:0}.template-examples .example-reference-legend strong{font-size:13px;display:block}.template-examples .example-reference-legend small{color:#576b85;font-size:11px;line-height:1.5;display:block}.template-examples .example-reference-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#25344a;font-size:13px;line-height:2}.template-examples .example-reference-chip{vertical-align:middle;color:#2454a0;text-align:left;white-space:normal;background:#edf4ff;border:1px solid #c7d9f3;border-radius:7px;align-items:center;gap:6px;max-width:100%;min-height:44px;margin:3px 2px;padding:4px 7px;line-height:1.4;display:inline-flex}.template-examples .example-reference-chip img{object-fit:cover;border-radius:3px;flex-shrink:0;width:28px;height:34px}.template-examples .example-reference-chip span{font-size:12px;font-weight:600}.template-examples .example-reference-chip small{color:#526985;font-size:10px;font-weight:400;display:block}.template-examples .example-reference-chip svg{flex-shrink:0}:is(.template-examples .example-prompt-details button:focus-visible,.template-examples .example-inputs button:focus-visible,.template-examples .example-transformation button:focus-visible){outline-offset:2px;outline:3px solid #7fa7ef}.template-examples .example-transformation button>span{flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:8px;line-height:1.5;display:flex}.template-examples .example-transformation .example-input-number{color:#2454a0;white-space:nowrap;background:#edf4ff;border:1px solid #c8d8ee;border-radius:5px;padding:2px 7px;font-size:12px;display:inline-block}.template-examples .example-inputs .example-input-number{color:#2454a0;font-weight:600}.example-reference-preview{color:#25344a;background:#fff;border:1px solid #d9e2ef;border-radius:14px;width:fit-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:16px;overflow:auto}.example-reference-preview::backdrop{background:#162237aa}.example-reference-preview header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.example-reference-preview h3{margin:0;font-size:15px;line-height:1.5}.example-reference-preview button{white-space:nowrap;background:#f5f8fc;border:1px solid #d2dbe8;border-radius:8px;align-items:center;gap:6px;min-height:44px;padding:8px 12px;display:flex}.example-reference-preview>img{object-fit:contain;max-width:100%;max-height:75dvh;margin:auto;display:block}@media (max-width:700px){.template-examples .example-prompt-content{padding:12px}.template-examples .example-reference-legend{flex-direction:column}.template-examples .example-reference-legend button{flex-basis:auto}.template-examples .example-transformation{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}.template-examples .example-transformation .transformation-result{order:3;grid-column:1/-1}.reference-ui .workbench-preview .template-examples .example-transformation img{height:200px;max-height:none}.reference-ui .workbench-preview .template-examples .example-transformation .transformation-result img{height:280px}.template-examples .example-transformation button>span{padding:5px;font-size:11px}.example-reference-preview header{align-items:flex-start;gap:8px}}.director-version-panel{--dvp-blue:#2458d3;color:#23314b;box-sizing:border-box;background:#fff;border:1px solid #dce4ef;border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:calc(100dvh - 32px);min-height:0;max-height:980px;font:14px/1.65 system-ui,sans-serif;display:grid;overflow:hidden}.director-version-panel *{box-sizing:border-box}.director-version-panel button{font:inherit;cursor:pointer;color:#264469;background:#fff;border:1px solid #cdd9eb;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 12px;display:inline-flex}.director-version-panel button:disabled{opacity:.5;cursor:not-allowed}.director-version-panel button:focus-visible{outline-offset:-3px;outline:3px solid #83a9f0}.director-version-panel textarea:focus-visible{outline-offset:-3px;outline:3px solid #83a9f0}.director-version-panel input:focus-visible{outline-offset:-3px;outline:3px solid #83a9f0}.director-version-panel summary:focus-visible{outline-offset:-3px;outline:3px solid #83a9f0}.director-version-panel .dvp-scroll:focus-visible{outline-offset:-3px;outline:3px solid #83a9f0}.director-version-panel h2,.director-version-panel h3,.director-version-panel p{margin:0}.director-version-panel h2{font-size:18px}.director-version-panel h3{align-items:center;gap:7px;font-size:15px;display:flex}.director-version-panel svg{flex-shrink:0}.dvp-header{border-bottom:1px solid #e1e7ef;padding:16px 18px 12px}.dvp-heading{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.dvp-heading>span{color:#65738b;font-size:12px}.dvp-versions{scrollbar-width:thin;gap:8px;margin-top:12px;padding-bottom:4px;display:flex;overflow-x:auto}.dvp-versions button{flex:none}.dvp-versions button[aria-pressed=true]{color:#2458d3;background:#eef4ff;border-color:#2458d3;font-weight:650}.dvp-versions button>span{color:#617089;background:#f1f3f7;border-radius:4px;padding:0 5px;font-size:11px;font-weight:400}.dvp-scroll{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:18px;scroll-padding:16px;overflow:auto}.dvp-scroll>section,.dvp-scroll>aside{margin-bottom:18px}.dvp-progress,.dvp-completed{background:#f1f6ff;border:1px solid #cfdff7;border-radius:10px;align-items:flex-start;gap:9px;margin-bottom:16px;padding:12px;display:flex}.dvp-progress p,.dvp-completed{font-size:12px}.dvp-completed{color:#30614d;background:#f0faf6;border-color:#c5e5d6;flex-wrap:wrap;align-items:center}.dvp-completed button{margin-left:auto}.dvp-script{overflow-wrap:anywhere;border:1px solid #e0e6ee;border-radius:12px;padding:16px}.dvp-script>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.dvp-edited{color:#805b1a;background:#fff5df;border-radius:5px;padding:3px 8px;font-size:11px}.director-version-panel .dvp-note{color:#65738b;margin:7px 0 12px;font-size:12px;line-height:1.7}.dvp-review{background:#f8faff;border:1px solid #dce5f2;border-radius:12px;padding:16px}.dvp-review.is-outdated{background:#faf9f6;border-color:#e3ddce}.dvp-review>p{margin-top:8px}.dvp-review ul{margin:14px 0 0;padding:0;list-style:none}.dvp-review li{border-top:1px solid #e0e6ee;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;display:flex}.dvp-review li>div{flex:1;min-width:0}.dvp-review li p{overflow-wrap:anywhere;margin-top:3px}.dvp-review li small{color:#777;margin-top:5px;font-size:11px;display:block}.dvp-review li button{flex-shrink:0;font-size:12px}.dvp-details{margin-top:12px}.dvp-details summary{cursor:pointer;background:#fff;border:1px solid #dce4ed;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:12px;list-style:none;display:flex}.dvp-details summary::-webkit-details-marker{display:none}.dvp-details[open] summary svg{transform:rotate(180deg)}.dvp-details pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f6f8;border-radius:7px;max-height:180px;margin:8px 0 0;padding:10px;font:12px/1.7 system-ui,sans-serif;overflow:auto}.dvp-technical-error{color:#78551f;background:#fff8ec;border:1px solid #e7c89d;border-radius:10px;padding:14px}.dvp-discussion{border:1px solid #e0e6ee;border-radius:12px;padding:16px}.dvp-messages{gap:10px;display:grid}.dvp-message{overflow-wrap:anywhere;background:#f3f6fb;border-radius:9px;padding:12px}.dvp-message.user{background:#edf3ff;margin-left:24px}.dvp-message strong{color:#587093;font-size:12px}.dvp-message p{white-space:pre-wrap;margin-top:4px}.dvp-suggestions{border:0;border-top:1px solid #e3e8f0;margin:14px 0;padding:10px 0}.dvp-suggestions legend{padding-top:10px;font-size:13px;font-weight:600}.dvp-suggestions label{align-items:flex-start;gap:8px;padding:8px 0;display:flex}.dvp-suggestions input{accent-color:#2458d3;flex:none;width:17px;height:17px;margin-top:5px}.dvp-input-label{margin-top:16px;font-size:13px;display:block}.dvp-input-label textarea{resize:vertical;color:#23314b;background:#fff;border:1px solid #bfcde0;border-radius:9px;width:100%;min-height:96px;max-height:220px;margin-top:7px;padding:12px;font:14px/1.7 system-ui,sans-serif;display:block}.dvp-ask-row{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.dvp-ask-row p{color:#68758b;font-size:12px}.dvp-ask-row button{flex-shrink:0}.dvp-retry{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.dvp-retry small{color:#596b83;font-size:12px}.dvp-retry button{color:#2458d3;border-color:#9eb8e8;font-weight:600}.dvp-actions{padding:12px 18px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dbe3ee;box-shadow:0 -4px 18px #17305708}.dvp-action-context{color:#66758d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;margin-bottom:8px;font-size:12px;display:flex}.dvp-action-context strong{color:#23314b}.dvp-action-progress{color:#2458d3;align-items:center;gap:5px;display:inline-flex}.dvp-action-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dvp-action-grid button{width:100%;font-weight:600}.dvp-action-grid .dvp-apply{color:#fff;background:#2458d3;border-color:#2458d3}.dvp-action-grid p{color:#637089;overflow-wrap:anywhere;margin-top:5px;font-size:11px;line-height:1.5}.dvp-action-grid .dvp-block-reason{color:#875b21}@media (max-width:600px){.director-version-panel{border-radius:12px;height:calc(100dvh - 16px)}.dvp-header{padding:12px}.dvp-heading>span{display:none}.dvp-scroll,.dvp-script,.dvp-review,.dvp-discussion{padding:12px}.dvp-review li{flex-wrap:wrap;gap:8px}.dvp-review li>div{flex-basis:100%}.dvp-input-label textarea{font-size:16px}.dvp-actions{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.dvp-action-grid{gap:8px}.dvp-ask-row{align-items:flex-end}}@media (max-height:520px){.dvp-header{padding:8px 12px}.dvp-heading{display:none}.dvp-versions{margin:0}.dvp-actions{padding-top:7px}.dvp-action-context{margin-bottom:4px}.dvp-action-grid p{font-size:10px}.dvp-scroll{padding:10px}}.reference-ui .workbench-editor:has(.video-workspace-ui){overflow:hidden}.reference-ui .workbench-editor:has(.video-workspace-ui) fieldset{height:100%;min-height:0}.reference-ui .video-director-flow.video-workspace-ui{flex-direction:column;gap:8px;min-height:0;display:flex;overflow:hidden}.video-workspace-ui .director-steps{border-bottom:1px solid #e4eaf2;flex:none;gap:14px;margin:0;padding:2px 2px 12px;list-style:none;display:flex}.video-workspace-ui .director-steps li{color:#738198;white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:flex}.video-workspace-ui .director-steps li span{background:#edf1f6;border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.video-workspace-ui .director-steps li[aria-current]{color:#2458d3;font-weight:650}.video-workspace-ui .director-steps li[aria-current] span{color:#fff;background:#2458d3}.video-workspace-ui .director-reading{overscroll-behavior:contain;scrollbar-width:thin;flex:1 1 0;min-height:80px;padding-right:5px;scroll-padding:12px;overflow:auto}.video-workspace-ui .director-reading:focus-visible{outline-offset:-2px;outline:2px solid #82a9ff}.reference-ui .video-workspace-ui .director-chat{flex:none;padding:8px 0;overflow:visible}.video-workspace-ui .director-section-label{color:#64748b;margin-bottom:5px;font-size:11px;display:block}.video-workspace-ui .director-script-heading{flex-wrap:wrap;align-items:baseline;gap:6px 12px;display:flex}.video-workspace-ui .director-script-heading h3{margin:0;font-size:18px}.video-workspace-ui .director-script-heading span{color:#64748b;font-size:12px}.video-workspace-ui .director-script-heading button{color:#2458d3;background:#f0f5ff;border:1px solid #b9cdee;border-radius:8px;min-height:44px;margin-left:auto;padding:8px 12px;font-size:12px;font-weight:600}.video-workspace-ui .director-reading>details{border:1px solid #e4eaf2;border-radius:10px;margin:8px 0;padding:12px;font-size:12px}.video-workspace-ui .director-chat-actions .director-cost-note{color:#617089;flex-basis:100%;font-size:12px;line-height:1.5}.video-workspace-ui .director-chat-actions .director-status-message{flex-basis:100%;min-width:0;margin:0}.video-workspace-ui .director-chat-actions .director-status-message>div{min-width:0}.reference-ui .video-workspace-ui .director-composer{flex:none;min-height:0}.reference-ui .video-workspace-ui .director-composer .reference-input-box{overscroll-behavior:contain;height:auto;min-height:0;max-height:clamp(140px,26dvh,250px);box-shadow:none;background:#fff;border:0;overflow:auto;padding:8px 14px 12px!important}.reference-ui .video-workspace-ui .director-composer .workbench-prompt{flex:none;order:-3;height:auto;min-height:80px;margin:0 34px 10px 0;display:block}.reference-ui .video-workspace-ui .director-composer .mention-editor{min-height:72px;font-size:14px}.reference-ui .video-workspace-ui .director-composer .composer-materials{flex-shrink:0;order:-2}.reference-ui .video-workspace-ui .director-composer .voice-reference{flex-shrink:0;padding:10px}.reference-ui .video-workspace-ui .director-composer .voice-input{display:block;position:static}.reference-ui .video-workspace-ui .director-exit{text-underline-offset:3px;min-height:32px;margin:0;font-size:12px;text-decoration:underline;color:#52637e!important;background:0 0!important;padding:5px 8px!important}.reference-ui .video-workspace-ui .director-options{max-height:min(380px,60dvh);bottom:70px;overflow:auto}.reference-ui .video-workspace-ui.stage-generate .director-reading:empty{display:none}.reference-ui .video-workspace-ui.stage-generate .director-composer .reference-input-box{max-height:none}.reference-ui .video-workspace-ui.stage-generate{overflow:auto}.reference-ui .video-workspace-ui .director-chat-actions .primary{background:#2458d3;border:1px solid #2458d3;padding:10px 16px}@media (min-width:1101px){.reference-ui .creation-workbench:has(.video-workspace-ui){grid-template-columns:180px minmax(430px,1.3fr) minmax(290px,1fr)}.reference-ui .creation-workbench:has(.video-workspace-ui) .workbench-history{grid-column:1/-1;height:auto;max-height:240px;margin-top:0}}@media (min-width:1600px){.reference-ui .creation-workbench:has(.video-workspace-ui){grid-template-columns:200px minmax(480px,1.3fr) minmax(320px,1fr) 150px}.reference-ui .creation-workbench:has(.video-workspace-ui) .workbench-history{grid-column:auto;height:calc(100dvh - 37px);max-height:none;margin-top:25px}}@media (min-width:701px) and (max-width:1100px){.reference-ui .creation-workbench:has(.video-workspace-ui){grid-template-columns:160px minmax(0,1fr)}.reference-ui .creation-workbench:has(.video-workspace-ui) .workbench-preview{grid-column:2;height:auto;min-height:360px}.reference-ui .creation-workbench:has(.video-workspace-ui) .workbench-history{grid-column:2;height:auto;max-height:260px}.reference-ui .creation-workbench:has(.video-workspace-ui)>.template-rail{grid-row:1/4}}.video-workspace-ui{--video-ui-accent:#2458d3;--video-ui-border:#dce3ed;color:#202a3b;min-width:0}:is(.video-workspace-ui button:focus-visible,.video-workspace-ui summary:focus-visible){outline-offset:3px;outline:3px solid #82a9ff}.video-workspace-ui button:disabled{cursor:not-allowed;opacity:.55}.video-workspace-ui .director-chat{scrollbar-gutter:stable;gap:20px;padding:16px 4px}.video-workspace-ui .director-user-message{background:#f0f4fa;border-radius:12px;max-width:94%;font-size:13px}.video-workspace-ui .director-user-message summary{color:#526680;font-size:12px}.video-workspace-ui .director-user-message[open] summary{margin-bottom:8px}.video-workspace-ui .director-review-script{border:1px solid var(--video-ui-border);overflow-wrap:anywhere;background:#fff;border-radius:14px;padding:18px;font-size:14px;line-height:1.8}.video-workspace-ui .director-review-script h4{margin:22px 0 8px;font-size:15px}.video-workspace-ui .director-review-script section{margin-bottom:14px}.video-workspace-ui .director-review-script .director-edit{float:right;border:1px solid var(--video-ui-border);min-height:44px;color:var(--video-ui-accent);background:#fff;border-radius:9px;align-items:center;margin:0 0 8px 12px;padding:10px 16px;font-size:13px;font-weight:600;display:inline-flex}.video-workspace-ui .director-review-script details{border-top:1px solid #edf0f5;padding:12px 0}.video-workspace-ui summary{cursor:pointer;line-height:1.6}.video-workspace-ui .director-review-script input,.video-workspace-ui .director-review-script textarea{color:#202a3b;background:#fff;border:1px solid #c8d3e2;border-radius:8px;padding:10px}.video-workspace-ui .director-chat-actions{background:#f5f8ff;border:1px solid #d7e3ff;border-radius:12px;flex-wrap:wrap;gap:10px;padding:16px;display:flex}.video-workspace-ui .director-chat-actions p{flex-basis:100%;margin:0;font-size:13px;line-height:1.65}.video-workspace-ui .director-chat-actions button{color:#28405f;background:#fff;border:1px solid #bac9e0;border-radius:9px;min-height:44px;padding:10px 16px;font-size:14px;font-weight:600}.video-workspace-ui .director-chat-actions .primary{background:var(--video-ui-accent);border-color:var(--video-ui-accent);color:#fff}.video-workspace-ui .director-composer{background:#fff;border:1px solid #bccbe0;border-radius:14px;box-shadow:0 4px 20px #223c6410}.video-workspace-ui .director-composer-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;padding:14px 16px 0;display:flex}.video-workspace-ui .director-composer-heading strong{font-size:14px}.video-workspace-ui .director-composer-heading span{color:#64748b;font-size:12px}.video-workspace-ui .director-composer-footer{box-sizing:border-box;background:#fff;border-top:1px solid #e8edf4;border-radius:0 0 14px 14px;flex-wrap:wrap;gap:8px;height:auto;min-height:66px;padding:10px 14px}.video-workspace-ui .director-composer-footer>button:first-child{border:1px solid var(--video-ui-border);color:#3d506d;border-radius:8px;min-height:44px;padding:8px 10px}.video-workspace-ui .director-composer-footer small{color:#62718a;flex-basis:100%;order:3;margin:0;font-size:11px;line-height:1.5}.video-workspace-ui .director-composer-footer .director-submit{background:var(--video-ui-accent);border-radius:9px;gap:7px;width:auto;min-width:112px;height:44px;margin-left:auto;padding:0 14px;font-size:14px;font-weight:600}.video-workspace-ui .director-exit,.video-workspace-ui .director-reenter{min-height:44px;padding:10px 12px;font-size:13px}.video-workspace-ui .director-thinking{color:#365580;background:#eef4ff;border-radius:12px;padding:18px;font-size:14px;line-height:1.7}.director-status-message{color:#724511;overflow-wrap:anywhere;background:#fff8eb;border:1px solid #ebc895;border-radius:12px;align-items:flex-start;gap:10px;margin:12px 0;padding:14px 16px;font-size:13px;line-height:1.65;display:flex}.director-status-icon{color:#fff;background:#9c641b;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;margin-top:2px;font-weight:700;display:grid}.director-status-message strong{font-size:14px;display:block}.director-status-message p{white-space:pre-wrap;margin:5px 0 0}.director-status-message .director-status-preserved{color:#665a47}.director-status-message details{margin-top:8px}.director-status-message summary{cursor:pointer;text-underline-offset:3px;text-decoration:underline}.director-status-message details p{max-height:180px;font-size:12px;overflow:auto}@media (max-width:700px){.reference-ui .workbench-editor:has(.video-workspace-ui){height:calc(100dvh - 24px);min-height:440px;padding:12px}.reference-ui .workbench-editor:has(.video-workspace-ui) fieldset>header{flex-shrink:0;margin-bottom:12px}.video-workspace-ui .director-steps{gap:10px;padding-bottom:8px}.video-workspace-ui .director-steps li{gap:4px;font-size:11px}.reference-ui .video-workspace-ui .director-composer .reference-input-box{max-height:20dvh}.reference-ui .video-workspace-ui .director-chat{gap:12px}.reference-ui .video-workspace-ui .director-composer .mention-editor{font-size:16px}.video-workspace-ui .director-chat{padding:12px 0;overflow:visible}.video-workspace-ui .director-review-script{padding:14px}.video-workspace-ui .director-composer-footer{z-index:6;padding-bottom:max(10px,env(safe-area-inset-bottom));position:sticky;bottom:0}.video-workspace-ui .director-composer-footer small{flex-basis:100%;order:3}.video-workspace-ui .director-composer-footer .director-submit{margin-left:auto}.video-workspace-ui .director-chat-actions button{flex:160px}.video-workspace-ui .director-review-script input,.video-workspace-ui .director-review-script textarea{font-size:16px}}@media (max-height:600px){.reference-ui .workbench-editor:has(.video-workspace-ui){min-height:0}.reference-ui .video-workspace-ui .director-composer-heading span,.video-workspace-ui .director-steps{display:none}.reference-ui .video-workspace-ui .director-composer .reference-input-box{min-height:60px;max-height:24dvh}.video-workspace-ui .director-reading{min-height:40px}.video-workspace-ui .director-composer-footer small{flex-basis:auto;order:0;font-size:10px}.video-workspace-ui .director-composer-footer .director-submit{min-width:100px}}.reference-ui .workbench-editor:has(.video-workspace-ui.stage-review){overflow:clip}.video-workspace-ui .director-materials-content[hidden]{display:none!important}.video-workspace-ui.stage-review .director-materials{flex:none;overflow:hidden}.video-workspace-ui.stage-review .director-materials-toggle{color:#263b58;text-align:left;cursor:pointer;background:#f5f8fe;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;min-height:64px;padding:12px 14px;display:flex}.video-workspace-ui .director-materials-toggle>svg{color:#5673a2;flex:none}.video-workspace-ui .director-materials-summary{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.video-workspace-ui .director-materials-summary strong{font-size:14px}.video-workspace-ui .director-materials-summary small{color:#62718a;font-size:12px}.video-workspace-ui .director-materials-brief{color:#62718a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.video-workspace-ui .director-materials-action{color:#2458d3;flex:none;align-items:center;gap:5px;font-size:13px;font-weight:600;display:inline-flex}.video-workspace-ui .director-materials-hint{color:#62718a;border-top:1px solid #e3eaf4;margin:0;padding:8px 14px;font-size:12px;line-height:1.5}.video-workspace-ui.stage-review .director-reading>.director-version-panel{height:100%;min-height:300px;max-height:none}.reference-ui .workbench-editor .video-workspace-ui .dvp-actions{height:auto;min-height:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dbe3ee;font-size:12px;display:block;margin:0!important}.reference-ui .workbench-editor .video-workspace-ui .dvp-action-grid button{min-height:44px;font-size:14px}.reference-ui .video-workspace-ui.stage-review .director-materials-content .reference-input-box{max-height:clamp(140px,26dvh,250px)}@media (max-width:700px){.video-workspace-ui.stage-review .director-materials-toggle{gap:8px;padding:10px}.video-workspace-ui .director-materials-toggle>svg{display:none}.reference-ui .video-workspace-ui.stage-review .director-materials-content .reference-input-box{max-height:24dvh}}@media (max-height:600px){.reference-ui .workbench-editor:has(.video-workspace-ui.stage-review){overflow:auto}.video-workspace-ui.stage-review .director-materials-toggle{min-height:44px;padding:6px 10px}.video-workspace-ui .director-materials-brief,.video-workspace-ui .director-materials-summary small{display:none}.video-workspace-ui.stage-review .director-reading>.director-version-panel{min-height:260px}}.mention-wrapper{min-width:0;position:relative}.mention-editor{white-space:pre-wrap;overflow-wrap:anywhere;outline:none;min-height:80px;padding:8px 0;font-size:13px;line-height:1.8}.mention-editor:empty:before{content:attr(data-placeholder);color:#888;pointer-events:none}.mention-chip{vertical-align:middle;cursor:pointer;white-space:nowrap;background:#f1f2f5;border:1px solid #dddfe5;border-radius:5px;align-items:center;gap:4px;padding:1px 5px;display:inline-flex}.mention-chip img{object-fit:cover;border-radius:3px;width:22px;height:24px}.mention-menu{z-index:30;background:#fff;border:1px solid #e1e5ee;border-radius:12px;width:260px;max-height:260px;padding:6px;position:absolute;bottom:100%;left:0;overflow:auto;box-shadow:0 8px 25px #0002}.mention-menu button{text-align:left;background:#fff;border:0;border-radius:6px;align-items:center;gap:9px;width:100%;padding:7px!important;display:flex!important}.mention-menu button[aria-selected=true]{background:#edf2fa}.mention-menu img{object-fit:cover;border-radius:6px;width:40px;height:40px}.mention-menu small{color:#888;font-size:10px;display:block}.mention-preview{text-align:center;background:0 0;border:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:75px 7vw 25px;overflow:auto}.mention-preview::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0006}.mention-preview header{z-index:2;color:#fff;background:#555e;border-radius:30px;align-items:center;gap:20px;padding:10px 25px;display:flex;position:fixed;top:20px;left:50%;transform:translate(-50%)}.mention-preview button,.mention-preview a{color:#fff;cursor:pointer;background:0 0;border:0;font-size:13px}.mention-preview>img,.mention-preview>video{object-fit:contain;transform-origin:50%;max-width:80vw;max-height:80dvh}.mention-preview>audio{margin-top:25vh}.composer-materials{align-items:flex-start;gap:5px;max-width:100%;min-height:76px;padding:4px 0 8px;display:flex;position:relative}.composer-material-group{background:0 0;border-radius:9px;flex-grow:0;flex-shrink:1;min-width:60px;max-width:calc(100% - 132px);transition:flex-basis .2s;overflow:hidden}.composer-material-group.expanded{background:#f3f3f5}.composer-material-track{scrollbar-width:thin;align-items:center;gap:6px;height:56px;padding:3px;display:flex;overflow:auto hidden}.composer-materials button{flex-shrink:0;color:#777!important;background:#fafafa!important;border:1px solid #e5e5e9!important;border-radius:8px!important;margin:0!important;padding:0!important}.composer-material-item{flex:0 0 48px;height:48px;position:relative}.composer-material-item.folded{display:none}.composer-materials .composer-material-thumb{justify-content:center;align-items:center;width:48px;height:48px;display:flex;position:relative;overflow:hidden}.composer-material-thumb img{object-fit:cover!important;width:100%!important;height:100%!important}.composer-material-thumb b{color:#fff;background:#666;border-radius:50%;min-width:14px;font-size:10px;line-height:14px;position:absolute;top:1px;left:1px}.composer-material-plus{background:#fff;border-radius:50%;width:17px;height:17px;line-height:17px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.composer-materials .composer-material-remove{opacity:0;width:15px;height:15px;font-size:12px;line-height:12px;position:absolute;top:0;right:0;color:#fff!important;background:#333b!important}.composer-material-item:hover .composer-material-remove,.composer-material-item:focus-within .composer-material-remove{opacity:1}.composer-materials .composer-material-add{flex-direction:column;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.composer-material-add small{white-space:nowrap;font-size:9px!important}.composer-material-label{white-space:nowrap;color:#777;text-align:left;padding:2px 3px;font-size:10px!important;display:block!important}.composer-material-preview{z-index:1000;pointer-events:none;box-sizing:border-box;background:#fff;border:1px solid #e4e4e7;border-radius:10px;padding:6px;position:fixed;overflow:hidden;box-shadow:0 6px 24px #0002}.composer-material-preview>img,.composer-material-preview>video{object-fit:contain;background:#f5f5f5;border-radius:6px;width:100%;height:100%}.composer-preview-note{color:#666;text-align:center;background:#fffe;padding:3px;font-size:10px;position:absolute;bottom:7px;left:7px;right:7px}.composer-audio-preview{flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;font-size:12px;display:flex}@media (prefers-reduced-motion:reduce){.composer-material-group{transition:none}}@media (hover:none){.composer-material-item:focus-within .composer-material-remove{opacity:1}}.page-edit .sidebar,.page-edit .mobile-header{display:none!important}.page-edit .main{max-width:none!important;margin:0!important;padding:0!important}.cut-editor{color:#24272d;box-sizing:border-box;background:#f5f5f7;min-height:100dvh;padding:0 8px 8px;font-size:12px}.cut-editor *{box-sizing:border-box}.cut-editor button,.cut-editor input,.cut-editor select,.cut-editor textarea{font:inherit}.cut-editor button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px}.cut-editor button:disabled{opacity:.4;cursor:not-allowed}.cut-editor button:hover:not(:disabled){background:#f0f5f8}.cut-editor button.active{color:#00a5e8;background:#edf9ff}.cut-editor .cut-primary{color:#fff;background:#202124;padding:10px 16px}.cut-editor input:not([type=range]):not([type=checkbox]),.cut-editor select,.cut-editor textarea{background:#fff;border:1px solid #e2e3e8;border-radius:6px;min-width:0;padding:8px}.cut-editor input[type=range]{accent-color:#09afe7;width:100%;min-width:0}.cut-editor small{color:#8b8c95;font-size:11px;line-height:1.6}.cut-header{background:#fff;border-bottom:1px solid #e4e5e9;align-items:center;gap:12px;height:56px;margin:0 -8px 8px;padding:8px 16px;display:flex}.cut-header input{flex:1;max-width:340px;border:0!important}.cut-header button:nth-last-child(3){margin-left:auto}.cut-notice{background:#ecf8ff;justify-content:space-between;margin:4px 0;padding:8px 14px;display:flex}.cut-upper{grid-template-columns:minmax(225px,17%) minmax(250px,1fr) minmax(300px,20%);gap:8px;height:60dvh;min-height:440px;display:grid}.cut-upper.collapsed{height:37dvh;min-height:300px}.cut-library,.cut-inspector,.cut-preview{background:#fff;border:1px solid #e0e1e7;border-radius:8px;min-width:0;overflow:hidden}.cut-library{display:flex}.cut-library>nav{flex-direction:column;flex-shrink:0;gap:6px;width:40px;padding:6px 4px;display:flex}.cut-library>nav button{writing-mode:vertical-rl;letter-spacing:2px}.cut-library-body{flex:1;min-width:0;padding:7px;overflow:auto}.cut-filters{gap:6px;margin-bottom:8px;display:flex}.cut-filters select{width:50%;padding:6px}.cut-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.cut-asset-grid article{min-width:0;position:relative}.cut-asset-grid article>button:first-child{background:#f4f4f6;border:2px solid #0000;width:100%;height:72px;padding:0;display:block;position:relative;overflow:hidden}.cut-asset-grid article.selected>button:first-child{border-color:#0badef}.cut-asset-grid article>span{white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:10px;display:block;overflow:hidden}.cut-asset-grid article b{color:#fff;background:#0009;border-radius:3px;padding:2px;font-size:9px;position:absolute;top:3px;left:3px}.cut-asset-grid video,.cut-asset-grid img{object-fit:cover;pointer-events:none;width:100%;height:100%}.cut-asset-grid .cut-add{color:#777;padding:2px;font-size:10px}.cut-upload{height:72px;border:1px dashed #d9dbe2!important;font-size:26px!important}.cut-upload small{font-size:10px;display:block}.cut-asset-grid input[hidden]{display:none}.cut-music{color:#709eaf;background:#eff7f9;place-items:center;height:100%;font-size:27px;display:grid}.cut-task{overflow-wrap:anywhere;max-width:100%;margin:5px 0;display:block;border:1px solid #e7e8eb!important;padding:10px!important}.cut-task small{display:block}.cut-preview{flex-direction:column;display:flex;position:relative}.cut-screen{background:#fff;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.cut-backdrop{object-fit:cover;filter:blur(24px)brightness(.6);pointer-events:none;width:120%;height:120%;position:absolute;inset:-10%}.cut-media-box{justify-content:center;align-items:center;max-width:100%;height:100%;max-height:100%;display:flex;position:relative;overflow:hidden}.cut-media-box>video,.cut-media-box>img{object-fit:contain;width:100%;height:100%}.cut-media-box>audio{width:100%;min-width:200px}.cut-empty{text-align:center;color:#a3a4ad;margin:auto;font-size:28px}.cut-empty p{font-size:12px}.cut-player-controls{color:#fff;background:#424345;align-items:center;gap:12px;height:42px;padding:0 10px;display:flex}.cut-player-controls small{color:#ddd;margin-left:auto}.cut-preview>audio{display:none}.cut-regions{pointer-events:none;position:absolute;inset:0}.cut-regions.drawing{pointer-events:auto;cursor:crosshair;touch-action:none}.cut-regions>div{cursor:move;pointer-events:auto;background:#00b4f418;border:1px solid #00b4f4;position:absolute}.cut-regions>div.active{border-width:2px}.cut-regions b{color:#fff;pointer-events:none;background:#00a8e5;font-size:10px}.cut-regions span{cursor:nwse-resize;background:#fff;border:1px solid #00ade8;border-radius:3px;width:12px;height:12px;position:absolute;bottom:-6px;right:-6px}.cut-caption{text-align:center;color:#fff;background:#0009;padding:6px;position:absolute;bottom:8%;left:8%;right:8%}.cut-inspector{flex-direction:column;display:flex}.cut-inspector>nav{border-bottom:1px solid #e4e5e9;flex-shrink:0;gap:0;padding:6px 5px;display:flex;overflow-x:auto}.cut-inspector>nav button{white-space:nowrap;padding:8px 5px;font-size:11px}.cut-inspector-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px;display:flex;overflow:auto}.cut-inspector h3{margin:3px 0 8px;font-size:13px}.cut-inspector p{color:#898b94;margin:0;font-size:12px;line-height:1.7}.cut-inspector label{color:#747781;justify-content:space-between;align-items:center;gap:8px;display:flex}.cut-inspector label input[type=number]{width:90px}.cut-selected-media{align-items:center;gap:12px;display:flex}.cut-selected-media>video,.cut-selected-media>img{object-fit:cover;border-radius:6px;width:48px;height:48px}.cut-selected-media small{display:block}.cut-prompt{resize:vertical;flex:1;min-height:150px;line-height:1.8;background:#fcfcfd!important;border:0!important}.cut-options{flex-wrap:wrap;gap:6px;display:flex}.cut-options button{background:#f6f6f7;flex:1;min-width:50px;font-weight:600}.cut-options button.active{color:#24272d;background:#e7e7e9}.cut-range-labels{color:#9295a0;justify-content:space-between;font-size:10px;display:flex}.cut-basic{border-top:1px solid #eee;padding-top:10px}.cut-basic summary{color:#888;cursor:pointer;font-size:11px}.cut-basic label{margin:10px 0}.cut-basic textarea{width:100%}.cut-inspector footer{border-top:1px solid #eee;justify-content:flex-end;margin-top:auto;padding-top:12px;display:flex}.cut-timeline{background:#fff;border:1px solid #e0e1e7;border-radius:8px;min-height:260px;margin-top:8px;overflow:hidden}.cut-timeline-toolbar{border-bottom:1px solid #e5e5ea;align-items:center;gap:6px;height:40px;padding:4px 10px;display:flex}.cut-time{color:#00a9ea;font-variant-numeric:tabular-nums;margin:auto}.cut-timeline-toolbar label{color:#999;align-items:center;gap:8px;display:flex}.cut-timeline-toolbar input{width:100px!important}.cut-track-scroll{min-height:240px;max-height:36dvh;overflow:auto}.cut-track-content{min-height:240px;position:relative}.cut-ruler{cursor:crosshair;height:38px;position:relative}.cut-ruler span{color:#9599a4;white-space:nowrap;border-left:1px solid #d1d4dc;height:9px;padding-left:4px;font-size:10px;position:absolute;top:7px}.cut-track{background:#f5f5f6;align-items:center;min-height:72px;margin-bottom:5px;padding-left:74px;display:flex;position:relative}.cut-track>strong{color:#999;text-align:center;z-index:2;flex-shrink:0;width:74px;margin-left:-74px;font-size:11px;font-weight:400;position:sticky;left:0}.cut-clips{height:64px;display:flex}.cut-clip{cursor:grab;background:#777;border:2px solid #0000;border-radius:6px;flex-shrink:0;min-width:10px;height:64px;position:relative;overflow:hidden}.cut-clip.selected{border-color:#00adef}.cut-filmstrip{pointer-events:none;height:100%;display:flex;overflow:hidden}.cut-filmstrip video,.cut-filmstrip img{object-fit:cover;width:64px;min-width:64px;height:100%}.cut-clip>span{color:#fff;text-shadow:0 1px 3px #000;pointer-events:none;background:#0005;border-radius:3px;padding:1px 4px;font-size:11px;position:absolute;bottom:2px;left:8px}.cut-trim{cursor:ew-resize;touch-action:none;background:#fff9;width:8px;position:absolute;top:0;bottom:0}.cut-trim.left{left:0}.cut-trim.right{right:0}.cut-audio-clip{text-align:left;white-space:nowrap;height:36px;position:absolute;overflow:hidden;color:#356874!important;cursor:grab!important;background:#d4edf2!important;border:1px solid #a8d6df!important}.cut-audio-clip.selected{border:2px solid #00adef!important}.cut-track>small{padding:16px}.cut-playhead{pointer-events:none;z-index:3;background:#02aaf1;width:1px;position:absolute;top:0;bottom:0}.cut-playhead i{background:#02aaf1;border-radius:50%;width:10px;height:10px;margin-left:-4px;display:block}.cut-modal-backdrop{z-index:120;background:#0005;place-items:center;display:grid;position:fixed;inset:0}.cut-modal-backdrop>section{background:#fff;border-radius:14px;flex-direction:column;gap:16px;width:350px;padding:25px;display:flex}.cut-modal-backdrop label{justify-content:space-between;display:flex}.cut-modal-backdrop h3,.cut-modal-backdrop p{margin:0}@media (min-width:1600px){.cut-upper{grid-template-columns:320px minmax(300px,1fr) 360px}.cut-inspector>nav button{padding:8px;font-size:12px}.cut-asset-grid article>button:first-child,.cut-upload{height:86px}}@media (max-width:1000px){.cut-upper{grid-template-columns:190px minmax(220px,1fr) 280px}.cut-inspector-body{padding:10px}.cut-library>nav{width:30px}.cut-asset-grid{grid-template-columns:1fr}}@media (max-width:760px){.cut-upper{grid-template-columns:160px minmax(220px,1fr);height:auto}.cut-preview,.cut-library{height:45dvh}.cut-inspector{grid-column:1/-1;min-height:260px;max-height:430px}.cut-inspector>nav button{flex:1}.cut-prompt{min-height:90px}.cut-header{gap:3px;padding:8px}.cut-header input{width:90px}.cut-time{font-size:10px}.cut-timeline-toolbar label{font-size:0}.cut-timeline-toolbar input{width:70px!important}}.page-edit .main-shell{width:100%!important;max-width:none!important;margin:0!important}.page-edit .main-shell>header{display:none!important}.page-edit .main-shell>main{max-width:none!important;margin:0!important;padding:0!important}.cut-player-controls input{flex:1;width:auto!important}.cut-player-controls span{white-space:nowrap}.cut-asset-grid article,.cut-clip,.cut-audio-clip{touch-action:none;-webkit-user-select:none;user-select:none}.cut-asset-grid article{cursor:grab}.cut-waveform{stroke:#5ba1ae;stroke-width:1px;opacity:.45;pointer-events:none;width:100%;height:30px;position:absolute;inset:3px 0}.cut-audio-clip>span{z-index:1;text-shadow:0 1px #e9faff;font-size:10px;position:relative}.cut-inspector-body label>input[type=range]{max-width:160px}.cut-reference{align-items:center;gap:8px;display:flex}.cut-reference>button{border:1px solid #e6e6ea;width:64px;min-height:44px;padding:4px}.cut-reference video,.cut-reference img{object-fit:cover;width:48px;height:44px}.cut-prompt .mention-editor{min-height:150px;padding:6px;font-size:12px}.cut-prompt .mention-wrapper{height:100%}.cut-prompt .mention-menu{z-index:15;top:30px;bottom:auto}body.cut-dragging,body.cut-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}.cut-drag-ghost{z-index:1000;pointer-events:none;filter:drop-shadow(0 14px 14px #0003);width:250px;position:fixed}.cut-drag-ghost>div{background:#cdebf4;border:2px solid #00a9ef;border-radius:7px;height:62px;display:flex;position:relative;overflow:hidden}.cut-drag-ghost video,.cut-drag-ghost img{object-fit:cover;width:25%;height:100%}.cut-drag-ghost span{color:#fff;text-shadow:0 1px 3px #000;font-size:11px;position:absolute;bottom:2px;left:6px}.cut-drag-ghost.audio span{color:#24596c;text-shadow:none}.cut-drag-ghost .cut-waveform{height:52px}.cut-drag-ghost>b{color:#147b9d;background:#fff;border-radius:4px;padding:5px;font:11px sans-serif;display:block}.cut-track.drop-ready{outline-offset:-2px;background:#edf9ff;outline:1px dashed #6bbfe4}.cut-track.drop-active{background:#d9f2ff;outline:2px solid #00a9ef}.cut-drop-marker{z-index:6;pointer-events:none;background:#00a9ef;width:3px;height:72px;position:absolute}.cut-drop-marker b{white-space:nowrap;color:#fff;background:#009fe0;border-radius:4px;padding:3px;font-size:10px;position:absolute;top:-21px;left:0}.cut-clip.dragging-source{opacity:.35}.cut-basic label{flex-wrap:wrap}.cut-basic label:has(textarea){display:block}.cut-basic textarea{margin-top:8px;display:block}.cut-inspector footer{z-index:5;background:#fff;padding-bottom:10px;position:sticky;bottom:-16px}.media-skill-repair{border-top:1px solid #eee;flex-direction:column;gap:10px;margin-top:auto;padding-top:12px;display:flex}.media-skill-repair p{line-height:1.6}.media-skill-repair article{border:1px solid #ddd;border-radius:6px;padding:8px}.media-skill-repair label{flex-wrap:nowrap;justify-content:flex-start}.media-skill-repair label input{flex:none}.agent-media-skill{background:#fff;border:1px solid #dde4eb;border-radius:12px;margin:14px 0;padding:16px}.agent-media-skill>header{justify-content:space-between;display:flex}.agent-media-skill>select{width:100%;margin:12px 0}.agent-media-skill .cut-preview{width:100%}.agent-media-skill .media-skill-repair{margin-top:15px}.agent-media-skill button{background:#f6f8fa;border:1px solid #ddd;border-radius:6px;margin:4px;padding:8px}.bailian-settings{min-width:0}.bailian-settings>label,.bailian-settings .bailian-location label{flex-direction:column;gap:6px;margin:14px 0;display:flex}.bailian-settings input:not([type=checkbox]),.bailian-settings select{box-sizing:border-box;width:100%;min-width:0;min-height:44px}.bailian-settings .bailian-location{grid-template-columns:minmax(120px,1fr) minmax(180px,2fr);gap:12px;display:grid}.bailian-settings label.bailian-check{flex-direction:row;align-items:flex-start;gap:9px;line-height:1.6;display:flex}.bailian-settings input[type=checkbox]{flex:none;width:18px;height:18px;margin-top:3px}.bailian-settings aside{background:#f6f9ff;border:1px solid #dce4ef;border-radius:10px;padding:12px}.bailian-settings button{min-height:44px;margin:6px 8px 6px 0}.bailian-settings p,.bailian-settings li{overflow-wrap:anywhere}.bailian-settings summary{cursor:pointer;padding:12px 0}.bailian-settings [role=alert]{color:#a33124}@media (max-width:600px){.bailian-settings .bailian-location{grid-template-columns:1fr;gap:0}.bailian-settings input,.bailian-settings select{font-size:16px}}.repair-workspace{grid-template-columns:minmax(340px,32%) minmax(300px,1fr) 150px}.repair-source{border:1px solid #e2e5eb;border-radius:11px;padding:8px;overflow:hidden}.repair-source>header{justify-content:space-between;padding:4px 4px 10px;font-size:12px;display:flex}.repair-source small{color:#888;margin-top:5px;font-size:11px;display:block}.repair-source [hidden]{display:none!important}.repair-source-player{height:48dvh;min-height:320px;display:flex}.repair-source-player .cut-preview{width:100%;min-width:0}.repair-upload{flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;height:48dvh;min-height:320px;display:flex;background:0 0!important;border:1px dashed #e2e5eb!important}.repair-regions{border:1px solid #e2e5eb;border-radius:10px;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.repair-regions>div{border:1px solid #e2e5eb;border-radius:8px;display:flex}.repair-regions>div.active{background:#f4faef;border-color:#71bb4a}.repair-regions button{text-align:left;background:0 0;border:0;padding:8px;font-size:11px}.repair-regions small{color:#888;display:block}.repair-workspace .enhancement-guide small{display:block}.repair-workspace .cut-regions>div{background:#81e23920;border-color:#71dc36}.repair-workspace .cut-regions>div>span{background:#71dc36}.repair-workspace .media-skill-repair{font-size:12px}.repair-workspace .media-skill-repair>button{color:#fff;background:#222;border-radius:9px;width:100%;padding:12px}.repair-workspace .enhancement-editor>select{width:100%;font-size:12px}@media (max-width:1100px){.repair-workspace{grid-template-columns:minmax(330px,42%) 1fr}.repair-workspace .enhancement-history{grid-column:1/-1}}@media (max-width:700px){.repair-workspace{flex-direction:column;display:flex}}
