/* Packages only. The application shell and page background are inherited unchanged. */
.batch-design{--lime:#cff36b;--line:rgba(255,255,255,.08);--muted:#9ca79c;max-width:1180px;margin-inline:auto;color:var(--fg,#eff3eb)}
.batch-design *{box-sizing:border-box}
.batch-design [hidden]{display:none!important}
.batch-design h3,.batch-design h4{margin:0 0 8px;line-height:1.35}
.batch-design h3{font-size:18px}.batch-design h4{font-size:16px}
.batch-design p{line-height:1.5}.batch-design .small,.batch-design small{color:var(--muted)}
.batch-design .card{background:#121a12;border:1px solid var(--line);border-radius:18px;padding:22px;margin:0;box-shadow:none;animation:none}
.batch-design label{font-size:13px;color:var(--muted);min-width:0}
.batch-design :is(input:not([type=checkbox]):not([type=file]),select,textarea,.wind-select-trigger){min-height:44px;border-radius:10px;border:1px solid #2c3529;background-color:#0c130b;color:#f3f5ef;margin-top:6px;max-width:100%;width:100%}
.batch-design textarea{resize:vertical;line-height:1.6;padding:12px}
.batch-design :is(button,.button){border:1px solid rgba(255,255,255,.12);border-radius:10px;min-height:44px;padding:10px 15px;font-weight:650;box-shadow:none;background:#ffffff06;color:#eff3eb;white-space:normal;transition:background .16s,border-color .16s}
.batch-design :is(button,.button):hover:not(:disabled){background:#ffffff0e;border-color:#718943;transform:none}
.batch-design button.primary,.batch-design .batch-upload-button{background:var(--lime);color:#10220a;border-color:var(--lime)}
.batch-design button.primary:hover:not(:disabled){background:#dbff83}
/* Focus belongs to the control, never its caption or both the switch and card. */
.batch-design :is(button,input,textarea,select,summary,a):focus{outline:none}
.batch-design :is(button,.button,summary,a,input[type=checkbox]):focus-visible{box-shadow:0 0 0 2px #121a12,0 0 0 4px var(--lime)}
.batch-design :is(input:not([type=checkbox]):not([type=file]),textarea,select,.wind-select-trigger):focus{border-color:rgba(207,243,107,.7);box-shadow:0 0 0 3px rgba(207,243,107,.18)}
.batch-design .wind-select-trigger:focus:not(:focus-visible){box-shadow:none}
.batch-design :is(button,input):disabled{opacity:.5;cursor:not-allowed}
.batch-design .pill{background:#cff36b1c;color:var(--lime);border:0;border-radius:99px;padding:5px 10px;font-size:12px}
.batch-design .row{gap:10px;min-width:0}.batch-design .section-line{justify-content:space-between;align-items:center}
.batch-design .batch-intro{margin:0 0 22px;align-items:end;gap:20px}
.batch-design .batch-intro .eyebrow{color:var(--lime);text-transform:uppercase;font-size:12px;letter-spacing:.09em;font-weight:750}
.batch-design .batch-intro h2{font-size:clamp(27px,3vw,38px);letter-spacing:-.025em;line-height:1.15;margin:8px 0}
.batch-design .batch-intro p{margin:0;color:var(--muted);font-size:14px}
.batch-design .batch-intro button{flex-shrink:0}
.batch-design .batch-storage{display:flex;align-items:center;gap:16px;margin-bottom:22px;padding:16px 20px;font-size:13px}
.batch-design .batch-storage>div{flex:1;min-width:0}.batch-design .batch-storage .section-line{margin:0 0 8px}
.batch-design .batch-storage-icon,.batch-design .batch-mode-icon,.batch-design .batch-op-icon,.batch-design .batch-upload-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;background:#ffffff06;color:var(--lime);font-size:21px}
.batch-design progress{display:block;height:6px;border:0;background:#2b3428;margin:0}
.batch-design progress::-webkit-progress-bar{background:#2b3428}.batch-design progress::-webkit-progress-value{background:var(--lime)}.batch-design progress::-moz-progress-bar{background:var(--lime)}
.batch-design .batch-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}
.batch-design .batch-mode-cards button{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:16px;border-radius:18px;background:#121a12;color:#eff3eb;border:1px solid var(--line)}
.batch-design .batch-mode-cards button.primary{background:#1c2413;border-color:#839e39;color:#eff3eb}
.batch-design .batch-mode-cards strong{font-size:14px;display:block;margin:1px 0 3px}
.batch-design .batch-mode-cards small{font-size:13px;line-height:1.45;font-weight:400;display:block}
.batch-design .batch-mode-cards .primary .batch-mode-icon{background:#cff36b26}
.batch-design #batch-form{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;padding:0;margin:0 0 32px;border:0;background:none;box-shadow:none}
.batch-design .batch-settings{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
.batch-design #batch-form>[data-batch-section]{min-width:0;grid-column:1;grid-row:2;align-self:start}
.batch-design .batch-side{grid-column:2;grid-row:2;align-self:start;position:sticky;top:16px;padding:20px;min-width:0}
.batch-design #batch-form:has([data-batch-section=process]:not([hidden])) :is(.batch-generation-cost,.batch-hooks-guide),
.batch-design #batch-form:has([data-batch-section=generation]:not([hidden])) :is(.batch-process-preview,.batch-process-footnote,.batch-hooks-guide),
.batch-design #batch-form:has([data-batch-section=hooks]:not([hidden])) :is(.batch-process-preview,.batch-process-footnote,.batch-generation-cost){display:none}
.batch-design .batch-pick-card{margin-bottom:22px;counter-reset:uploaded;display:flex;flex-direction:column}
.batch-design .batch-pick-card .section-line{order:0}.batch-design .batch-dropzone{order:1}.batch-design #batch-upload-note{order:2}.batch-design .batch-file-toolbar{order:3}.batch-design #batch-files{order:4}
.batch-design .batch-step{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#cff36b22;color:var(--lime);margin-right:12px;font-size:14px;flex-shrink:0}
.batch-design .batch-pick-card h3,.batch-design .batch-processing-card>h3{display:flex;align-items:center}
.batch-design .batch-dropzone{display:flex;flex-direction:row;position:relative;align-items:center;gap:14px;padding:16px;margin:12px 0 0;border:1px dashed #647c32;border-radius:14px;background:#1a2413;min-height:78px;transform:none}
.batch-design .batch-dropzone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;display:block}
.batch-design .batch-upload-copy{flex:1;min-width:0}.batch-design .batch-upload-copy strong{color:#f3f5ee;display:block;font-size:14px}
.batch-design .batch-upload-copy small{display:block;margin-top:4px;font-size:12px}
.batch-design .batch-upload-button{border-radius:10px;padding:13px 15px;font-weight:700;white-space:nowrap;font-size:12px}
.batch-design #batch-upload-note{font-size:12px;margin:9px 0 14px}
.batch-design .batch-file-toolbar{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 16px;font-size:12px}
.batch-design .batch-file-toolbar button{min-height:38px;padding:8px 12px;font-size:12px}
.batch-design .batch-loaded{margin-right:auto;color:#e5ecd9}.batch-design .batch-loaded-count::after{content:counter(uploaded)}
.batch-design #batch-files{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;max-height:232px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#58634e #172015;padding:5px;margin:0;border:0;background:none;align-content:start}
.batch-design #batch-files>p{grid-column:1/-1;padding:24px 10px;text-align:center;color:var(--muted)}
.batch-design #batch-files .batch-video-tile{counter-increment:uploaded;display:block;background:#0e160c;border:1px solid var(--line);padding:4px;border-radius:12px;overflow:hidden;min-width:0;cursor:pointer;margin:0}
.batch-design #batch-files .batch-video-tile:has(:checked){border-color:var(--lime);background:#232e16}
.batch-design #batch-files .batch-video-tile:focus-within{outline:none}
.batch-design #batch-files .batch-video-tile:has(input:focus-visible){box-shadow:0 0 0 2px #121a12,0 0 0 4px var(--lime)}
.batch-design .batch-video-frame{aspect-ratio:1;border-radius:7px;overflow:hidden;display:block;position:relative;background:#20281f}
.batch-design .batch-preview-status{font-size:9px;padding:3px;line-height:1.2;color:#b4bdad}
.batch-design #batch-files input[type=checkbox]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;box-shadow:none}
.batch-design .batch-tile-check{position:absolute;top:4px;left:4px;width:19px;height:19px;border:1px solid #a0a89b;border-radius:6px;background:#121a1266}
.batch-design input:checked+.batch-tile-check{background:var(--lime);border-color:var(--lime)}
.batch-design input:checked+.batch-tile-check::after{content:'✓';color:#10220a;display:grid;place-items:center;font-size:13px;font-weight:800}
.batch-design .batch-duration{position:absolute;bottom:3px;right:3px;border-radius:4px;padding:2px 4px;background:#000c;color:#fff;font-size:9px;font-weight:650}
.batch-design .batch-video-caption{display:block;padding:5px 1px 1px;min-width:0}.batch-design .batch-video-caption strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#eff3eb}
.batch-design #batch-files small{font-size:10px;display:block;line-height:1.3}
.batch-design .batch-processing-card>p{margin:0 0 18px 40px;font-size:13px}
.batch-design .batch-presets{display:flex;align-items:end;flex-wrap:wrap;background:#0e160c;border:1px solid var(--line);border-radius:14px;padding:14px;margin:0 0 18px}
.batch-design .batch-presets label{flex:1;min-width:140px}.batch-design .batch-presets button{font-size:12px;padding:10px 12px}
.batch-design .batch-operation-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.batch-design .batch-operation{display:flex;position:relative;flex-direction:column;align-items:start;gap:12px;padding:14px;min-width:0;margin:0;min-height:170px;background:#0e160c;border:1px solid var(--line);border-radius:16px;color:#f0f4eb;cursor:pointer;font-size:14px}
.batch-design .batch-operation{border-color:rgba(255,255,255,.1);box-shadow:none;outline:none}
.batch-design .batch-operation:hover:not(:has(input:disabled)){transform:none}
.batch-design .batch-dropzone:focus-within{outline:none}
.batch-design .batch-dropzone:has(.file-picker-button:focus-visible){box-shadow:none}
.batch-design .batch-operation.selected{border-color:rgba(207,243,107,.6);background:rgba(207,243,107,.07)}
.batch-design .batch-operation:hover:not(:has(:disabled)){border-color:rgba(255,255,255,.24)}
.batch-design .batch-operation.selected:hover{border-color:rgba(207,243,107,.8)}
.batch-design .batch-operation:has(input:focus-visible){box-shadow:0 0 0 2px #121a12,0 0 0 4px var(--lime)}
.batch-design .batch-operation input[type=checkbox]:focus-visible{box-shadow:none}
.batch-design .batch-operation:has(:disabled){border-color:rgba(255,255,255,.1);background:#0e160c;box-shadow:none}
.batch-design .batch-operation:has(:disabled) *{cursor:not-allowed}
.batch-design .batch-operation strong{font-size:14px;line-height:1.3}.batch-design .batch-operation::after{content:attr(data-description);font-weight:400;font-size:12px;line-height:1.45;color:#b1bdab}
.batch-design .batch-op-icon::before{content:attr(data-icon)}
.batch-design .batch-operation.selected .batch-op-icon{background:#cff36b24}
.batch-design .batch-operation input[type=checkbox]{position:absolute;right:14px;top:14px;margin:0;width:36px;height:21px;background:#354033;border:0;box-shadow:none;flex:none}
.batch-design .batch-operation input[type=checkbox]::before{height:17px;width:17px;left:2px;top:50%;margin-top:-8.5px;background:#b0baaa}
.batch-design .batch-operation input[type=checkbox]:checked{background:var(--lime)}
.batch-design .batch-operation input[type=checkbox]:checked::before{transform:translateX(15px);background:#10220a}
.batch-design .batch-operation:has(:disabled){opacity:.5;cursor:not-allowed}.batch-design .batch-operation:has(:disabled)::before{content:'Скоро';position:absolute;right:12px;top:14px;padding:3px 8px;border-radius:99px;background:#263122;font-size:11px;color:#c7d0bf}
.batch-design .batch-operation input:disabled{opacity:0}
.batch-design .media-options{display:block;margin:0}.batch-design .batch-operation-panel{background:#0e160c;border:1px solid #435723;border-radius:16px;padding:20px;margin:0 0 16px;animation:none;transition:none}
.batch-design .batch-operation-panel:hover{box-shadow:none;transform:none}.batch-design .batch-operation-panel:last-child{margin-bottom:0}
.batch-design .batch-operation-panel>h4{margin-bottom:10px;font-size:15px;font-weight:700;color:#fff}.batch-design #panel-do_unique>h4::before{content:'Параметры '}
.batch-design .media-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.batch-design .batch-settings.media-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
.batch-design .batch-operation-panel .row{margin-top:12px}.batch-design .batch-operation-panel .row>label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;color:#e3e9dc}
.batch-design .batch-operation-panel input[type=checkbox]{flex-shrink:0}
.batch-design .banner-editor{padding:0;margin:0;border:0;background:none;box-shadow:none}
.batch-design .banner-editor>p:first-of-type{margin:0 0 18px}
.batch-design #banner-stage{width:100%;max-width:100%!important;max-height:none;margin:16px auto;border-radius:18px;border:1px solid #ffffff16}
.batch-design .social-safe{font-size:10px;border-color:var(--lime);color:var(--lime)}
.batch-design .batch-preview-empty{border:1px dashed #46523c;border-radius:14px;color:var(--muted);padding:36px 20px;text-align:center;font-size:13px}
.batch-design .banner-editor:has(#banner-source[data-asset]) .batch-preview-empty{display:none}
.batch-design .banner-editor:not(:has(#banner-source[data-asset])) #banner-stage{display:none}
.batch-design #batch-sample{width:100%;font-size:12px;margin:0 0 16px}
.batch-design .batch-actions{border-top:1px solid var(--line);padding-top:16px;margin-top:0}.batch-design #batch-start{font-size:13px;width:100%}
.batch-design #batch-message:empty{display:none}.batch-design #batch-message{font-size:13px;overflow-wrap:anywhere;color:var(--lime)}
.batch-design .batch-process-footnote{text-align:center;margin-top:12px}.batch-design .batch-process-footnote p{font-size:12px}
.batch-design .batch-preview-help{text-align:left;border:1px solid var(--line);border-radius:12px;background:#0e160c;padding:12px;margin-top:18px;font-size:12px}
.batch-design .batch-preview-help summary{font-weight:650;cursor:pointer}.batch-design .batch-preview-help p{margin-bottom:0}
.batch-design .batch-generation>label,.batch-design .batch-hooks>label{display:block;margin-top:22px}
.batch-design #batch-model-params{gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}
.batch-design #batch-model-availability{font-size:12px;margin:0;color:var(--lime)}
.batch-design .batch-csv-label{padding:16px;border:1px dashed #566b36;border-radius:12px}
.batch-design input[type=file]{max-width:100%;font-size:12px}
.batch-design input[type=file]::file-selector-button{min-height:38px;padding:8px 12px;border:1px solid #4a583e;border-radius:8px;background:#24301a;color:#eaf0df;margin:10px 10px 0 0}
.batch-design .batch-generation-cost{display:flex;flex-direction:column;gap:16px}
.batch-design .batch-generation-cost h3{order:0}.batch-design #batch-cost{order:1;font-size:14px;line-height:1.7;margin:0;padding:20px 0;border-block:1px solid var(--line)}
.batch-design #batch-quote{order:2;background:var(--lime);color:#10220a;width:100%;margin:0 0 16px}
.batch-design .batch-hooks input[name=count]{max-width:110px}.batch-design .batch-hooks textarea{min-height:155px}
.batch-design .batch-hooks-guide ol{list-style:none;counter-reset:steps;padding:0;margin:18px 0 24px}.batch-design .batch-hooks-guide li{counter-increment:steps;position:relative;padding-left:44px;margin:0 0 22px;font-size:14px}
.batch-design .batch-hooks-guide li::before{content:counter(steps);position:absolute;left:0;top:0;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#cff36b22;color:var(--lime);font-weight:750}
.batch-design .batch-hooks-guide li p{margin:4px 0 0;color:var(--muted);font-size:13px}
.batch-design #batch-history{margin-top:16px}.batch-design .batch-empty{text-align:center;padding:40px 20px;min-height:200px}.batch-design .batch-empty>span{display:inline-grid;place-items:center;width:46px;height:46px;background:#ffffff06;border-radius:12px;margin-bottom:14px;font-size:24px;color:#b2bea6}
.batch-design .batch-empty p{max-width:440px;margin:10px auto 0}.batch-design .batch-history-entry{width:100%;text-align:left;padding:16px;margin-bottom:10px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.batch-design .batch-history-entry span{color:var(--muted);font-size:12px}
.batch-design #batch-report{margin-top:20px}.batch-design #batch-report p,.batch-design .batch-task{overflow-wrap:anywhere}.batch-design .error{color:#ffb6a6}
@media(max-width:1200px){.batch-design .batch-operation-tabs{gap:8px}.batch-design .batch-operation{padding:12px}.batch-design .batch-upload-button{padding:12px 10px}.batch-design .batch-upload-icon{display:none}.batch-design .media-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:999px){.batch-design #batch-form{grid-template-columns:minmax(0,1fr)}.batch-design #batch-form>[data-batch-section]{grid-row:auto}.batch-design .batch-side{grid-column:1;grid-row:auto;position:static}.batch-design #batch-files{grid-template-columns:repeat(5,minmax(0,1fr))}.batch-design .batch-operation-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-design #banner-stage{max-width:300px!important}.batch-design .batch-mode-cards button{padding:14px;gap:10px}.batch-design .batch-mode-icon{display:none}}
@media(max-width:600px){.batch-design{padding-bottom:80px}.batch-design .batch-intro{align-items:start;flex-direction:column}.batch-design .batch-intro h2{font-size:29px}.batch-design .card{padding:18px}.batch-design .batch-storage{padding:16px;gap:12px}.batch-design .batch-storage .section-line{gap:6px}.batch-design .batch-mode-cards{grid-template-columns:1fr;gap:8px}.batch-design .batch-mode-cards button{min-height:72px}.batch-design .batch-mode-icon{display:grid}.batch-design .batch-settings.media-controls{grid-template-columns:1fr}.batch-design #batch-files{grid-template-columns:repeat(4,minmax(0,1fr));max-height:232px}.batch-design .batch-upload-copy{flex-basis:100%}.batch-design .batch-dropzone{flex-wrap:wrap;padding:14px;gap:10px}.batch-design .batch-upload-button{width:100%;text-align:center}.batch-design .batch-file-toolbar{gap:6px}.batch-design .batch-loaded{width:100%;margin:0 0 4px}.batch-design .batch-presets{gap:8px;padding:12px}.batch-design .batch-presets label{flex-basis:100%}.batch-design .batch-presets button{flex:1;padding:9px 6px;font-size:11px}.batch-design .batch-operation{min-height:178px;padding:12px}.batch-design .batch-operation input[type=checkbox]{right:10px;top:14px}.batch-design .media-controls,.batch-design #batch-model-params{grid-template-columns:1fr}.batch-design .batch-operation-panel{padding:20px}.batch-design .batch-processing-card>p{margin-left:0}.batch-design #batch-start{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:16px;right:16px;width:calc(100% - 32px);z-index:25;box-shadow:0 0 0 10px #121a12,0 -8px 28px #0008;min-height:48px}.batch-design .batch-actions{padding-top:0;border:0}.batch-design .batch-intro button{width:100%}}
@media(prefers-reduced-motion:reduce){.batch-design *,.batch-design *::before,.batch-design *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Match the shared controls after their existing select enhancement runs. */
.batch-design .batch-intro .eyebrow{display:block!important}
.batch-design .wind-select{display:block;width:100%;min-width:0}
.batch-design .wind-select-trigger{display:flex;width:100%;justify-content:space-between;text-align:left;white-space:normal;font-size:14px;font-weight:400;padding:10px 13px}
.batch-design .wind-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.batch-design .batch-settings>label,.batch-design .media-controls>label,.batch-design .banner-editor>label,.batch-design .batch-presets>label,.batch-design .batch-operation-panel>label{display:block}
.batch-design .batch-operation,.batch-design .batch-operation::after{white-space:normal;overflow-wrap:break-word}
.batch-design .batch-mode-cards button:hover:not(:disabled){background:#1c2413;border-color:#839e39;color:#eff3eb}
.batch-design .batch-mode-cards button.primary:hover:not(:disabled){background:#253018;color:#eff3eb}
.batch-design #panel-do_unique>h4{font-size:0}.batch-design #panel-do_unique>h4::before{content:'Параметры уникализации';font-size:15px}
.batch-design .batch-upload-copy{text-align:left}
.batch-design .batch-processing-card .batch-op-icon{color:var(--lime)}
@media(min-width:1000px) and (max-width:1100px){.batch-design #batch-form{grid-template-columns:minmax(0,1fr)}.batch-design #batch-form>[data-batch-section]{grid-row:auto}.batch-design .batch-side{grid-column:1;grid-row:auto;position:static}.batch-design #banner-stage{max-width:300px!important}.batch-design #batch-files{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Transparent native hit targets preserve keyboard and pointer checkbox selection. */
.batch-design #batch-files input[type=checkbox]{width:20px;height:20px;top:3px;left:3px;margin:0;opacity:0;clip:auto;clip-path:none;z-index:2}
.batch-design .batch-tile-check{pointer-events:none}
/* Expose file inputs to the existing shared picker enhancer; it binds drag/drop. */
.batch-design input[type=file]:not([hidden]){display:block!important}
.batch-design .batch-dropzone:has(.file-picker-button) .batch-upload-button{display:none}
.batch-design .batch-dropzone .file-picker-button{background:var(--lime);color:#10220a;border-color:var(--lime);font-size:12px;flex-shrink:0;margin:0}
.batch-design .batch-csv-label .file-picker-button{display:flex;width:100%;margin:10px 0 0}
.batch-design #banner-upload+.file-picker-button{margin:12px 0}
@media(max-width:600px){.batch-design .batch-dropzone .file-picker-button{width:100%}}
.batch-design #batch-form{counter-reset:selected-videos}
.batch-design #batch-files input:checked{counter-increment:selected-videos}
.batch-design .batch-selection-summary{font-size:12px;font-weight:650;margin:12px 0 8px}
.batch-design .batch-selection-count::after{content:counter(selected-videos)}
.batch-design .batch-active-operations{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.batch-design #batch-form:not(:has([name=do_unique]:checked)) [data-operation-chip=unique],
.batch-design #batch-form:not(:has([name=do_banner]:checked)) [data-operation-chip=banner],
.batch-design #batch-form:not(:has([name=do_resize]:checked)) [data-operation-chip=resize],
.batch-design #batch-form:not(:has([name=do_subtitles]:checked)) [data-operation-chip=subtitles],
.batch-design #batch-form:not(:has([name=do_tts]:checked)) [data-operation-chip=tts]{display:none}
@media(min-width:1101px){
.batch-design #batch-form:has([data-batch-section=hooks]:not([hidden])) .batch-side{display:contents}
.batch-design #batch-form:has([data-batch-section=hooks]:not([hidden])) .batch-hooks-guide{grid-column:2;grid-row:2;background:#121a12;border:1px solid var(--line);border-radius:18px;padding:22px;align-self:start}
.batch-design #batch-form:has([data-batch-section=hooks]:not([hidden])) .batch-actions{grid-column:1;grid-row:2;align-self:end;margin:0 24px 24px;padding:0;border:0}
.batch-design .batch-hooks{padding-bottom:105px}
}
.batch-design .batch-total-empty{display:flex;justify-content:space-between;align-items:center;color:#edf2e7;margin-bottom:18px;font-size:16px}.batch-design .batch-total-empty>span{font-size:28px;color:#99a68c}

/* Each menu remains in the existing accessible popover; geometry is presentation only.
   CSS anchors override the shared component's studio-specific upward inline placement. */
.batch-design .wind-select-list{padding:0;background:#162016;border:1px solid rgba(255,255,255,.14);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.5);max-height:var(--batch-menu-height,280px)!important;overscroll-behavior:contain;scrollbar-width:thin;animation:none}
.batch-design .wind-select-list button{min-height:40px;height:auto;padding:10px 12px;margin:0;border:0;border-radius:0;font-size:14px;font-weight:400;line-height:20px;gap:10px;background:transparent;box-shadow:none;transition:none;white-space:normal;overflow-wrap:anywhere}
.batch-design .wind-select-list button:is(:hover,:focus):not(:disabled){background:rgba(255,255,255,.07);outline:none;box-shadow:none}
.batch-design .wind-select-list button[aria-selected=true]{color:#cff36b;background:rgba(207,243,107,.08)}
.batch-design .wind-select-list button>span:first-child{min-width:0}
.batch-design .wind-select-list .option-check{flex-shrink:0}
.batch-design .wind-select-trigger[aria-expanded=true]{border-color:rgba(207,243,107,.6)}
@supports (anchor-scope:--batch-field){
 .batch-design .wind-select{anchor-scope:--batch-field}
 .batch-design .wind-select-trigger{anchor-name:--batch-field}
 .batch-design .wind-select-list{position-anchor:--batch-field;position-area:bottom;position-try-fallbacks:flip-block;inset:auto!important;margin:6px 0;width:anchor-size(width)!important;max-width:none;max-height:min(280px,100%)!important;justify-self:anchor-center}
}
.batch-design .batch-banner-file{margin-bottom:16px;min-width:0}
.batch-design .batch-banner-file>label{display:block}
.batch-design .batch-banner-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.batch-design .batch-banner-controls .wind-select-trigger{margin-top:6px}
.batch-design .batch-banner-upload{min-width:0;align-self:end}
.batch-design .batch-banner-upload .file-picker-button{width:100%;margin:0!important;font-size:0;display:flex;align-items:center;justify-content:center;gap:8px}
.batch-design .batch-banner-upload .file-picker-button::before{content:'+';font-size:20px;line-height:20px;font-weight:400}
.batch-design .batch-banner-upload .file-picker-button::after{content:'Загрузить новый';font-size:13px;font-weight:600}
@media(max-width:600px){.batch-design .batch-banner-controls{grid-template-columns:minmax(0,1fr)}.batch-design .batch-banner-upload{justify-self:start}}

/* Status updates must not replay the shared fade-in animation on report rows. */
.batch-design .batch-task{animation:none}
