dialog.batch-dialog{box-sizing:border-box;width:min(600px,calc(100% - 24px));max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;margin:auto;padding:0 24px 20px;border:0;border-radius:12px;background:#fff;color:#14213d;font:400 14px/1.5 DM,'Segoe UI',sans-serif;box-shadow:0 24px 80px #07122666;color-scheme:light;scrollbar-color:#aab0ba #f1f3f6}
.batch-dialog::backdrop{background:#061021b3}.batch-dialog *{box-sizing:border-box}.batch-dialog [hidden]{display:none!important}.batch-dialog ::selection{background:#fca311;color:#14213d}.batch-dialog h2,.batch-dialog p{margin:0}.batch-dialog h2{font:700 26px/1.15 Bricolage,sans-serif;letter-spacing:-.7px}.batch-dialog button,.batch-dialog select{font:inherit;touch-action:manipulation}.batch-dialog button{min-height:44px;border:1px solid #b4bbc7;background:#fff;color:#14213d;border-radius:5px;padding:9px 13px;cursor:pointer}.batch-dialog button:disabled{opacity:.45;cursor:default}.batch-dialog :is(button,select,summary):focus-visible{outline:3px solid #9b6200;outline-offset:3px}.batch-dialog .batch-primary{background:#fca311;border-color:#fca311;font-weight:600}.batch-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:24px 0 12px}.batch-dialog .batch-close{border:0;margin:-7px -8px 0 0;padding:9px;color:#46536a}.batch-destination{color:#59657a;font-size:13px;margin-top:5px!important}.batch-intro{color:#46536a;font-size:14px;max-width:56ch;margin-bottom:14px!important}.batch-size-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#46536a;font-size:13px}.batch-size{min-height:44px;border:1px solid #909bad;border-radius:5px;padding:7px;background:#fff;color:#14213d;font-size:16px!important}
.batch-view{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;background:#101c33;border-radius:8px;overflow:hidden}.batch-view video,.batch-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.batch-overlay{pointer-events:none}.batch-empty{display:flex;flex-direction:column;gap:6px;text-align:center;padding:28px;color:#b5c2d8}.batch-empty strong{font-weight:600;font-size:17px;color:#fff}.batch-empty span{font-size:12px}.batch-count{position:absolute;top:10px;left:10px;padding:5px 9px;background:#14213d;color:#fff;border-radius:4px;font-size:12px;font-weight:500;pointer-events:none}.batch-found{min-height:30px;padding-top:7px;font-size:17px;font-weight:600;letter-spacing:1px;font-variant-numeric:tabular-nums}.batch-actions{display:flex;gap:8px;margin-top:8px}.batch-actions button{flex:1;white-space:nowrap}.batch-status{color:#46536a;min-height:43px;margin:12px 0!important;font-size:13px}.batch-manual{border-top:1px solid #d9dee5}.batch-dialog summary{min-height:44px;padding:12px 0;cursor:pointer;touch-action:manipulation}.batch-fields{display:grid;gap:12px}.batch-fields fieldset{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0;border:0;margin:0;padding:0}.batch-fields legend{font-size:13px;font-weight:600;padding:0 0 5px}.batch-fields label{font-size:12px;color:#46536a}.batch-fields select{display:block;width:100%;min-height:44px;background:#fff;color:#14213d;border:1px solid #909bad;border-radius:5px;font-size:16px;padding:7px;margin-top:3px}.batch-manual-status{font-size:13px;color:#46536a;margin:10px 0!important}.batch-dialog .batch-add{width:100%;margin-bottom:12px}.batch-help{color:#59657a;font-size:12px}.batch-help p{margin-bottom:9px;max-width:64ch}.batch-help summary{font-size:13px}
@media(hover:hover){.batch-dialog button:not(:disabled):hover{background:#edf0f5;border-color:#647087}.batch-dialog .batch-primary:not(:disabled):hover{background:#ed980f;border-color:#ed980f}}
@media(max-width:620px){dialog.batch-dialog{width:100%;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:20px 20px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom))}.batch-heading{padding-top:20px}.batch-view{aspect-ratio:4/3}.batch-dialog h2{font-size:24px}.batch-actions button{font-size:13px}}
@media(max-width:360px){dialog.batch-dialog{padding-left:16px;padding-right:16px}.batch-dialog h2{font-size:22px}.batch-actions{gap:6px}.batch-actions button{padding:8px}.batch-intro{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.batch-dialog button{transition:transform 140ms cubic-bezier(.23,1,.32,1),background-color 140ms}.batch-dialog button:active:not(:disabled){transform:scale(.98)}}
