/* Image Lab batches use the portal's theme tokens. */
.render-batch-panel{padding:12px;border:1px solid var(--hairline-strong);border-radius:var(--r-3,8px);background:var(--surface-2);color:var(--text-1);font-size:13px;margin-bottom:12px;min-width:0}
.render-batch-panel>strong{font-size:14px}.batch-progress{font-variant-numeric:tabular-nums;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}
.batch-actions{display:flex;flex-wrap:wrap;gap:6px}.batch-actions button{font:inherit;padding:6px 8px;border:1px solid var(--hairline-strong);border-radius:var(--r-2,6px);background:var(--surface-3);color:var(--text-1);cursor:pointer}.batch-actions button:disabled{opacity:.5;cursor:default}
.candidate-gallery{max-height:660px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;contain:layout paint;min-height:0}.candidate-gallery:has(>.candidate-row:nth-child(13)) .candidate-row{content-visibility:auto;contain-intrinsic-size:auto 420px;min-width:0}
.batch-confirm-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;font-size:14px}.batch-confirm-dialog form{padding:18px}.batch-confirm-dialog h2{font-size:15px;margin:0 0 14px}.batch-confirm-dialog p{overflow-wrap:anywhere}.batch-confirm-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.candidate-gallery{max-height:520px}.render-batch-panel{padding:8px}.batch-actions button{max-width:100%;font-size:12px}}
