#modal.batch-modal{width:min(1040px,calc(100vw - 64px));max-width:1040px;background:#202020;border:1px solid #424242;border-radius:18px}#modal.batch-modal .modal-body{max-height:calc(90dvh - 145px);overflow:auto;padding:24px}#modal.batch-modal .modal-head,#modal.batch-modal .modal-foot{background:#202020;border-color:#3a3a3a}.batch-workspace{color:#e6e6e6;font-size:13px}.batch-compose-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px}.batch-source video{width:100%;height:280px;object-fit:contain;background:#101010;border:1px solid #373737;border-radius:12px}.batch-source>div{display:flex;flex-direction:column;gap:7px;margin:14px 0}.batch-source strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-source>div>span{font-size:11px;color:#888}.batch-field{display:flex;flex-direction:column;gap:9px;margin-bottom:17px}.batch-field>span,.batch-controls label{font-size:12px;color:#bcbcbc}.batch-field input,.batch-field textarea,.batch-controls select,.batch-controls input,.batch-custom-style{width:100%;color:#eee;background:#292929;border:1px solid #454545;border-radius:8px;padding:11px 12px;outline:none;font:inherit}.batch-field input:focus,.batch-field textarea:focus,.batch-controls select:focus{border-color:#a998df}.batch-field textarea{line-height:1.7;resize:vertical;min-height:118px}.batch-field textarea::placeholder,.batch-custom-style::placeholder{color:#777}.batch-controls{display:flex;gap:12px}.batch-controls label{display:flex;flex:1;flex-direction:column;gap:8px}.batch-controls select,.batch-controls input{font-size:12px;padding:10px}.batch-audio{display:flex;gap:8px;align-items:center;margin:17px 0;color:#bbb;font-size:12px}.batch-audio input,.batch-segment-actions input{width:14px;height:14px;accent-color:#c1b0ff}.batch-custom-style{margin-top:12px}.batch-references{border:0;padding:0;margin:18px 0 0;min-width:0}.batch-references legend{font-size:12px;color:#bcbcbc;margin-bottom:10px}.batch-references legend span{color:#777;font-size:10px;margin-left:7px}.batch-references>div{display:flex;gap:8px;overflow:auto;padding:2px}.batch-references label{flex:0 0 58px;position:relative;cursor:pointer;min-width:0}.batch-references input{position:absolute;opacity:0;width:1px;height:1px}.batch-references img{width:58px;height:56px;border:2px solid transparent;border-radius:7px;object-fit:cover;opacity:.6}.batch-references input:checked+img{opacity:1;border-color:#baacf2}.batch-references input:focus-visible+img{outline:2px solid #fff;outline-offset:2px}.batch-references label span{display:block;color:#999;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.batch-note{font-size:12px;color:#888;line-height:1.7;margin:18px 0 0}.batch-error{border:1px solid #704b45;background:#3b2725;color:#e7bdb4;padding:12px 14px;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.batch-error strong{display:block;font-weight:500}.batch-error p{margin:6px 0 0}.batch-summary{display:flex;justify-content:space-between;gap:24px;align-items:center;padding-bottom:20px;border-bottom:1px solid #3b3b3b;margin-bottom:20px}.batch-summary h3{font-size:19px;font-weight:500;margin:8px 0}.batch-summary p{font-size:12px;color:#999;margin:0}.batch-kicker{font-size:11px;color:#c6b4f8}.batch-total{text-align:right;flex:0 0 auto}.batch-total span{display:block;font-size:11px;color:#999;margin-bottom:8px}.batch-total strong{font-size:24px;font-weight:500;font-variant-numeric:tabular-nums}.batch-segments{display:grid;grid-template-columns:1fr 1fr;gap:14px}.batch-segment{display:flex;gap:14px;border:1px solid #3d3d3d;border-radius:11px;padding:12px;background:#242424;min-width:0}.batch-segment-image{position:relative;flex:0 0 120px;height:85px;border-radius:6px;overflow:hidden;background:#0f0f0f}.batch-segment-image video{width:100%;height:100%;object-fit:contain}.batch-segment-image>span{position:absolute;left:5px;top:5px;background:#141414bf;color:#c8c8c8;border-radius:4px;padding:2px 5px;font-size:10px;pointer-events:none}.batch-segment-info{flex:1;min-width:0}.batch-segment-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.batch-segment-title strong{font-size:12px;font-weight:500}.batch-status{font-size:10px;color:#999;white-space:nowrap}.batch-status.completed{color:#8fc7a5}.batch-status.unknown,.batch-status.failed,.batch-status.blocked{color:#e1ad84}.batch-status.running,.batch-status.submitting{color:#c3afff}.batch-segment-info>p{display:flex;justify-content:space-between;gap:12px;color:#929292;font-size:11px;margin:11px 0}.batch-segment-info progress,.batch-total-progress{appearance:none;border:0;width:100%;height:3px;margin:6px 0;background:#363636;border-radius:4px;overflow:hidden}.batch-segment-info progress::-webkit-progress-bar,.batch-total-progress::-webkit-progress-bar{background:#363636}.batch-segment-info progress::-webkit-progress-value,.batch-total-progress::-webkit-progress-value{background:#af98ee}.batch-segment-error{font-size:10px;color:#d6a49c;line-height:1.5;overflow-wrap:anywhere}.batch-segment-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#b9a7ed}.batch-segment-actions a{color:inherit;text-decoration:none}.batch-segment-actions label{display:flex;gap:6px;align-items:center;color:#bbb}.batch-segment-actions .btn{font-size:10px;min-height:28px;padding:4px 8px}.batch-timing{display:block;font-size:10px;line-height:1.6;color:#96909d;margin:6px 0}.batch-pending{padding:12px 14px;color:#d3bf99;background:#3a3326;border-radius:7px;font-size:12px;margin-bottom:16px}.batch-progress-heading{display:flex;justify-content:space-between;align-items:center;margin:2px 0 4px}.batch-progress-heading strong{font-size:13px;font-weight:500}.batch-progress-heading span{font-size:11px;color:#999}.batch-total-progress{margin-bottom:18px;height:4px}.batch-final{position:relative;margin:0 0 22px;background:#111;border:1px solid #3d3d3d;border-radius:12px;overflow:hidden}.batch-final>video{width:100%;max-height:380px;display:block;object-fit:contain}.batch-final>a{position:absolute;right:14px;top:14px;display:flex;align-items:center;gap:6px;font-size:11px;background:#222d;color:#eee;padding:8px 10px;border-radius:6px;text-decoration:none}.batch-loading{padding:50px;text-align:center;color:#999}.batch-overview{padding:20px 22px;background:#1d1d1d;border:1px solid #353535;border-radius:12px;max-width:1000px;margin:22px auto}.batch-overview-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.batch-overview-head h3{font-size:14px;font-weight:500;margin:0 0 7px}.batch-overview-head span{font-size:11px;color:#777}.batch-overview-empty{font-size:12px;color:#777;padding:24px 0 4px}.batch-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.batch-records>button{display:flex;align-items:center;gap:12px;min-width:0;border:1px solid #3a3a3a;background:#272727;color:#ddd;border-radius:8px;padding:12px;text-align:left}.batch-records>button:hover{background:#303030;border-color:#555}.batch-record-icon{width:36px;height:36px;border-radius:7px;background:#353535;display:grid;place-items:center;flex:0 0 36px}.batch-records>button>span:nth-child(2){flex:1;min-width:0}.batch-records strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.batch-records small{font-size:10px;color:#929292;display:block;margin-top:6px}.batch-records svg{width:17px;height:17px}@media(max-width:800px){#modal.batch-modal{width:calc(100vw - 24px)}.batch-compose-layout,.batch-segments,.batch-records{grid-template-columns:1fr}.batch-source video{height:190px}.batch-overview-head{align-items:flex-start}.batch-segment-image{flex-basis:110px}.batch-controls select{max-width:100%}}

.batch-overview{position:relative;max-width:none;margin:0;padding:8px 24px;border:0;border-bottom:1px solid #333;border-radius:0;display:flex;align-items:center;gap:20px;min-height:52px}.batch-overview-head{flex:1}.batch-overview-head h3{margin:0;font-size:13px}.batch-overview-head>div>span,.batch-overview-empty{display:none}.batch-history-menu{position:relative;font-size:12px;color:#aaa}.batch-history-menu>summary{cursor:pointer;list-style:none;padding:9px}.batch-history-menu .batch-records{position:absolute;right:0;top:30px;margin:0;z-index:20;width:380px;max-height:300px;overflow:auto;display:flex;flex-direction:column;background:#222;border:1px solid #444;border-radius:10px;padding:10px}.batch-history-menu .batch-records>button{flex-shrink:0}.batch-overview~.video-edit-workspace{min-height:calc(100dvh - 102px)}

.creation-content:has(>.video-edit-workspace){display:flex;flex-direction:column;overflow:hidden}.creation-content>.batch-overview{flex:none}.creation-content>.video-edit-workspace{flex:1;min-height:0;height:auto}
