:root {
    --batch-page-bg: linear-gradient(180deg, #fdf9fe 0%, #f6f5f9 37%, #fdf9fe 100%);
    --batch-surface: rgba(255, 255, 255, 0.96);
    --batch-surface-soft: rgba(248, 250, 252, 0.92);
    --batch-border: rgba(113, 61, 234, 0.1);
    --batch-border-strong: rgba(113, 61, 234, 0.18);
    --batch-shadow: 0 24px 52px rgba(31, 23, 60, 0.08);
    --batch-shadow-soft: 0 14px 28px rgba(15, 23, 42, 0.08);
    --batch-text: #111827;
    --batch-text-soft: #6b7280;
    --batch-text-muted: #8a86a3;
    --batch-accent: #713dea;
    --batch-accent-soft: rgba(113, 61, 234, 0.08);
    --batch-accent-strong: #ab7aff;
    --batch-info: #3b82f6;
    --batch-success: #22c55e;
    --batch-danger: #ef4444;
    --batch-warning: #f59e0b;
}

body.page-batch-edit {
    background:
        radial-gradient(circle at 10% 0%, rgba(113, 61, 234, 0.08), transparent 28%),
        radial-gradient(circle at 100% 18%, rgba(171, 122, 255, 0.08), transparent 24%),
        var(--batch-page-bg);
}

body.page-batch-edit .main-content {
    margin-left: var(--mx-sidebar-width);
    width: calc(100% - var(--mx-sidebar-width));
    min-height: 100vh;
    padding: 24px 0 56px;
    background: transparent;
}

.batch-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 36px);
}

.batch-control-card,
.batch-result-card {
    border-radius: 28px;
    border: 1px solid var(--batch-border);
    background: var(--batch-surface);
    box-shadow: var(--batch-shadow);
}

.batch-topbar {
    padding: 0;
    margin-bottom: 10px;
}

.batch-topbar-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.batch-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.batch-topbar-copy {
    min-width: 0;
    flex: 1;
}

.batch-topbar-copy h1 {
    margin: 0;
    color: var(--batch-text);
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: -0.03em;
}

.batch-topbar-copy p {
    margin: 0;
    color: var(--batch-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.batch-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--batch-shadow-soft);
    white-space: nowrap;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.batch-back-link:hover {
    transform: translateY(-1px);
    border-color: var(--batch-border-strong);
    box-shadow: 0 18px 32px rgba(113, 61, 234, 0.12);
}

.batch-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0 18px;
}

.batch-taskbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding: 14px 18px;
    border: 1px solid var(--batch-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--batch-shadow-soft);
}

.batch-taskbar-main {
    min-width: 0;
}

.batch-taskbar-title {
    color: var(--batch-text);
    font-size: 13px;
    font-weight: 800;
}

.batch-taskbar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.batch-taskbar-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(113, 61, 234, 0.07);
    color: var(--batch-text);
    font-size: 12px;
    font-weight: 700;
}

.batch-taskbar p {
    margin: 8px 0 0;
    color: var(--batch-text-soft);
    font-size: 12px;
    line-height: 1.6;
}

.batch-taskbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.batch-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    position: relative;
    color: var(--batch-text-muted);
}

.batch-step::after {
    content: "";
    width: 36px;
    height: 1px;
    margin-left: 4px;
    background: rgba(17, 17, 17, 0.14);
}

.batch-step:last-child::after {
    display: none;
}

.batch-step span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.08);
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.batch-step strong {
    font-size: 15px;
    font-weight: 700;
}

.batch-step.active,
.batch-step.completed {
    color: var(--batch-text);
}

.batch-step.active span,
.batch-step.completed span {
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
}

.batch-workspace {
    display: grid;
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.batch-control-card {
    position: sticky;
    top: 16px;
    padding: 20px;
    z-index: 0;
}

.batch-result-card {
    position: relative;
    padding: 22px;
    z-index: 0;
}

.batch-control-card:hover,
.batch-control-card:focus-within,
.batch-control-card:has(.batch-help-wrap.is-tooltip-open),
.batch-control-card:has(.batch-speed-item.is-tooltip-open),
.batch-control-card:has(.batch-speed-title-wrap.is-tooltip-open) {
    z-index: 4;
}

.batch-result-card:hover,
.batch-result-card:focus-within,
.batch-result-card:has(.batch-help-wrap.is-tooltip-open) {
    z-index: 4;
}

.batch-card-head,
.batch-result-head,
.batch-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.batch-card-head h2,
.batch-result-head h2 {
    margin: 0;
    color: var(--batch-text);
    font-size: 20px;
    letter-spacing: -0.02em;
}

.batch-card-title-row,
.batch-section-title-row,
.batch-label-row,
.batch-field-title,
.batch-speed-title-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.batch-card-title-row {
    display: flex;
}

.batch-card-head p,
.batch-result-head p {
    margin: 6px 0 0;
    color: var(--batch-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.batch-help-wrap,
.batch-speed-title-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.batch-help-button,
.batch-speed-help {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #5f584e;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.batch-help-button:hover,
.batch-help-button:focus-visible,
.batch-speed-help:hover,
.batch-speed-help:focus-visible {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-1px);
}

.batch-help-tooltip,
.batch-speed-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    width: min(240px, calc(100vw - 32px));
    padding: 10px 11px;
    border-radius: 12px;
    background: #171717;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.22);
    transform: translateY(-4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.batch-help-tooltip::before,
.batch-speed-title-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 14px;
    width: 12px;
    height: 12px;
    background: #171717;
    transform: rotate(45deg);
}

.batch-help-wrap:hover .batch-help-tooltip,
.batch-help-wrap:focus-within .batch-help-tooltip,
.batch-help-wrap.is-tooltip-open .batch-help-tooltip,
.batch-speed-title-wrap:hover .batch-speed-title-tooltip,
.batch-speed-title-wrap:focus-within .batch-speed-title-tooltip,
.batch-speed-title-wrap.is-tooltip-open .batch-speed-title-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.batch-upload-zone {
    display: block;
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: 22px;
    border: 1.5px dashed rgba(113, 61, 234, 0.24);
    background: linear-gradient(180deg, rgba(113, 61, 234, 0.04), rgba(113, 61, 234, 0.02));
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.batch-upload-zone:hover,
.batch-upload-zone.is-dragover {
    transform: translateY(-1px);
    border-color: rgba(113, 61, 234, 0.4);
    background: linear-gradient(180deg, rgba(113, 61, 234, 0.08), rgba(113, 61, 234, 0.03));
}

.batch-upload-zone input {
    display: none;
}

.batch-upload-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(113, 61, 234, 0.08);
    border: 1px solid rgba(113, 61, 234, 0.16);
    color: var(--batch-accent);
    font-size: 24px;
    font-weight: 800;
}

.batch-upload-title,
.batch-label,
.batch-section-head > span {
    color: var(--batch-text);
    font-weight: 700;
}

.batch-upload-title {
    font-size: 14px;
}

.batch-upload-sub,
.batch-card-head p,
.batch-result-head p,
.batch-board-note,
.batch-item-meta,
.batch-item-attempts,
.batch-empty-state p,
.batch-status-banner p,
.batch-queue-meta {
    color: var(--batch-text-soft);
    font-size: 12px;
    line-height: 1.58;
}

.batch-queue-panel,
.batch-form-block,
.batch-estimate-strip,
.batch-actions,
.batch-status-banner,
.batch-metrics-grid,
.batch-board-note {
    margin-top: 16px;
}

.batch-section-head strong {
    color: var(--batch-accent);
    font-size: 12px;
    font-weight: 800;
}

.batch-queue-list {
    margin-top: 10px;
    max-height: 248px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.batch-queue-empty,
.batch-empty-state {
    border-radius: 22px;
    border: 1px dashed var(--batch-border);
    background: var(--batch-surface-soft);
}

.batch-queue-empty {
    padding: 14px;
    text-align: center;
}

.batch-queue-item,
.batch-metrics-grid article,
.batch-item-card {
    border-radius: 18px;
    border: 1px solid rgba(113, 61, 234, 0.08);
    background: #fff;
}

.batch-queue-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;
    padding: 7px;
}

.batch-queue-thumb,
.batch-item-image,
.batch-item-placeholder {
    width: 100%;
    border-radius: 16px;
    background: #f8f7fc;
    border: 1px solid rgba(113, 61, 234, 0.06);
}

.batch-queue-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.batch-item-image,
.batch-item-placeholder {
    aspect-ratio: 1 / 1;
}

.batch-item-image {
    display: block;
    object-fit: cover;
}

.batch-item-placeholder {
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    color: var(--batch-text-soft);
    font-size: 12px;
    line-height: 1.55;
}

.batch-queue-name,
.batch-item-name {
    color: var(--batch-text);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.batch-queue-name {
    font-size: 13px;
}

.batch-item-name {
    font-size: 14px;
}

.batch-queue-remove,
.batch-item-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 10px;
    background: rgba(113, 61, 234, 0.08);
    color: var(--batch-accent);
    cursor: pointer;
}

.batch-queue-remove:disabled,
.batch-item-mini-btn:disabled,
.batch-item-btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

#batchPrompt,
.batch-settings-grid select {
    width: 100%;
    border: 1px solid var(--batch-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--batch-text);
    font: inherit;
}

#batchPrompt {
    min-height: 148px;
    padding: 14px 15px;
    line-height: 1.64;
    resize: vertical;
}

.batch-settings-grid select {
    min-height: 42px;
    padding: 0 12px;
}

#batchPrompt:focus,
.batch-settings-grid select:focus {
    outline: none;
    border-color: var(--batch-border-strong);
    box-shadow: 0 0 0 4px rgba(113, 61, 234, 0.1);
}

.batch-preset-row,
.batch-filter-row,
.batch-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.batch-preset-chip,
.batch-filter-chip,
.batch-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(113, 61, 234, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.batch-preset-chip:hover,
.batch-preset-chip:focus-visible,
.batch-filter-chip:hover,
.batch-filter-chip.active,
.batch-item-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: var(--batch-border-strong);
    background: rgba(113, 61, 234, 0.06);
    box-shadow: 0 12px 20px rgba(113, 61, 234, 0.08);
}

.batch-preset-preview {
    --batch-preset-preview-arrow-left: 48px;
    position: fixed;
    z-index: 11000;
    width: min(248px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(113, 61, 234, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: none;
}

.batch-preset-preview[hidden] {
    display: none !important;
}

.batch-preset-preview::after {
    content: "";
    position: absolute;
    left: calc(var(--batch-preset-preview-arrow-left) - 8px);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(113, 61, 234, 0.14);
    transform: rotate(45deg);
}

.batch-preset-preview[data-placement="top"]::after {
    bottom: -9px;
    border-top: 0;
    border-left: 0;
}

.batch-preset-preview[data-placement="bottom"]::after {
    top: -9px;
    border-right: 0;
    border-bottom: 0;
}

.batch-preset-preview-frame {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.batch-preset-preview-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.batch-preset-preview-kicker,
.batch-preset-preview-pill {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.batch-preset-preview-kicker {
    left: 10px;
    background: rgba(255, 255, 255, 0.84);
    color: #1f2937;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.batch-preset-preview-pill.is-before {
    left: 10px;
    background: rgba(15, 23, 42, 0.64);
    color: #f8fafc;
}

.batch-preset-preview-pill.is-after {
    right: 10px;
    background: rgba(255, 255, 255, 0.84);
    color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.batch-preset-preview-compare {
    position: relative;
    height: 100%;
}

.batch-preset-preview-compare-top {
    position: absolute;
    inset: 0;
    width: 8%;
    overflow: hidden;
    animation: batchPresetCompareSweep 4.6s ease-in-out infinite alternate;
}

.batch-preset-preview-compare-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.batch-preset-preview-compare-divider {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 8%;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32);
    transform: translateX(-1px);
    animation: batchPresetCompareHandle 4.6s ease-in-out infinite alternate;
}

.batch-preset-preview-compare-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    transform: translate(-50%, -50%);
}

.batch-preset-preview-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
}

.batch-preset-preview-caption strong {
    color: var(--batch-text);
    font-size: 13px;
    font-weight: 800;
}

.batch-preset-preview-caption span {
    color: var(--batch-text-soft);
    font-size: 11px;
    font-weight: 600;
}

@keyframes batchPresetCompareSweep {
    0%, 12% {
        width: 8%;
    }
    72%, 84% {
        width: 97.5%;
    }
    100% {
        width: 8%;
    }
}

@keyframes batchPresetCompareHandle {
    0%, 12% {
        left: 8%;
    }
    72%, 84% {
        left: 97.5%;
    }
    100% {
        left: 8%;
    }
}

.batch-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.batch-settings-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--batch-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.batch-field-title,
.batch-label-row {
    color: var(--batch-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.batch-concurrency-vip-mark {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
    padding: 2px 5px 2px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(113, 61, 234, 0.88));
    box-shadow: 0 8px 18px rgba(76, 29, 149, 0.14);
    line-height: 1;
}

.batch-concurrency-vip-mark-count {
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.batch-concurrency-vip-mark-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 14px;
    padding: 0 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.batch-settings-grid select option:disabled {
    color: #b8b2c8;
}

.batch-section-title-row {
    color: var(--batch-text);
    font-weight: 700;
}

.batch-settings-grid .is-hidden {
    display: none;
}

.batch-speed-field {
    grid-column: 1 / -1;
}

.batch-speed-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.batch-speed-switch {
    --batch-speed-index: 0;
    display: flex;
    position: relative;
    width: min(100%, 320px);
    padding: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 17, 17, 0.05);
    overflow: hidden;
}

.batch-speed-item {
    flex: 1;
    position: relative;
    min-width: 0;
    z-index: 1;
}

.batch-speed-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: calc(4px + var(--batch-speed-index, 0) * ((100% - 8px) / 3));
    width: calc((100% - 8px) / 3);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.batch-speed-help {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border: 0;
    background: rgba(17, 17, 17, 0.1);
    color: #5d574e;
    font-size: 9px;
    z-index: 2;
}

.batch-speed-tooltip {
    position: fixed;
    z-index: 1200;
    width: 176px;
    left: 0;
    top: 0;
}

.batch-speed-tooltip::before {
    content: "";
    position: absolute;
    left: var(--batch-speed-tooltip-arrow-left, 14px);
    right: auto;
    top: -6px;
    width: 12px;
    height: 12px;
    background: #171717;
    transform: rotate(45deg);
}

.batch-speed-option {
    min-width: 0;
    width: 100%;
    min-height: 38px;
    padding: 0 6px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    cursor: pointer;
    transition: color 0.18s ease;
}

.batch-speed-option:hover {
    color: #444;
}

.batch-speed-option-label {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.batch-speed-item.is-active .batch-speed-option {
    color: #111;
    font-weight: 800;
}

.batch-speed-item.is-disabled .batch-speed-option {
    cursor: not-allowed;
    color: #c5c0b8;
}

.batch-speed-item.is-active .batch-speed-help {
    background: rgba(17, 17, 17, 0.08);
    color: #171717;
}

.batch-speed-item.is-tooltip-open .batch-speed-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.batch-estimate-strip,
.batch-metrics-grid article {
    border-radius: 18px;
    border: 1px solid rgba(113, 61, 234, 0.08);
    background: #fff;
}

.batch-estimate-strip,
.batch-metrics-grid article {
    padding: 14px;
}

.batch-estimate-strip span,
.batch-metrics-grid span,
.batch-item-pane span,
.batch-item-index {
    color: var(--batch-text-soft);
    font-size: 11px;
    font-weight: 700;
}

.batch-estimate-strip strong,
.batch-metrics-grid strong {
    display: block;
    margin-top: 7px;
    color: var(--batch-text);
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.batch-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.batch-actions .btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.batch-run-action {
    position: relative;
    min-width: 0;
}

.batch-run-action .btn {
    width: 100%;
    padding-right: 42px;
}

.batch-run-help {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    z-index: 2;
}

.batch-run-help .batch-help-tooltip {
    top: calc(100% + 12px);
    left: calc(100% - 18px);
    right: auto;
    width: 220px;
}

.batch-run-help .batch-help-tooltip::before {
    left: 14px;
    right: auto;
}

.batch-run-help:hover .batch-help-tooltip,
.batch-run-help:focus-within .batch-help-tooltip,
.batch-run-help.is-tooltip-open .batch-help-tooltip {
    transform: translateY(0);
}

.batch-download-strip {
    grid-column: 1 / -1;
    width: 100%;
}

.batch-download-strip[hidden] {
    display: none !important;
}

.batch-actions .btn-primary {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
}

.batch-actions .btn-primary:hover {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.batch-status-banner,
.batch-board-note {
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid var(--batch-border);
    background: rgba(113, 61, 234, 0.04);
}

.batch-status-banner strong {
    display: block;
    color: var(--batch-text);
    font-size: 14px;
    font-weight: 800;
}

.batch-status-banner[data-state="running"] {
    border-color: rgba(59, 130, 246, 0.16);
    background: rgba(239, 246, 255, 0.92);
}

.batch-status-banner[data-state="paused"] {
    border-color: rgba(245, 158, 11, 0.18);
    background: rgba(255, 251, 235, 0.92);
}

.batch-status-banner[data-state="success"] {
    border-color: rgba(34, 197, 94, 0.18);
    background: rgba(240, 253, 244, 0.92);
}

.batch-status-banner[data-state="error"] {
    border-color: rgba(239, 68, 68, 0.16);
    background: rgba(254, 242, 242, 0.92);
}

.batch-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.batch-empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 260px;
    padding: 24px;
    text-align: center;
}

.batch-empty-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(113, 61, 234, 0.08);
    color: var(--batch-accent);
    font-size: 28px;
    font-weight: 800;
}

.batch-empty-state h3 {
    margin: 0;
    color: var(--batch-text);
    font-size: 22px;
}

.batch-result-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.batch-item-card {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.batch-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.batch-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.batch-badge-queued,
.batch-badge-idle {
    color: var(--batch-accent);
    background: rgba(113, 61, 234, 0.1);
}

.batch-badge-running {
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.92);
}

.batch-badge-success {
    color: #166534;
    background: rgba(220, 252, 231, 0.92);
}

.batch-badge-error {
    color: #b91c1c;
    background: rgba(254, 226, 226, 0.92);
}

.batch-item-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.batch-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(113, 61, 234, 0.54);
    font-size: 20px;
    font-weight: 800;
}

.batch-item-pane {
    display: grid;
    gap: 8px;
}

.batch-hover-preview {
    --batch-hover-preview-width: min(260px, calc(100vw - 72px));
    --batch-hover-preview-left: 50%;
    --batch-hover-preview-hidden-transform: translate(-50%, 8px);
    --batch-hover-preview-visible-transform: translate(-50%, 0);
    position: relative;
    display: block;
    cursor: zoom-in;
    outline: none;
}

.batch-hover-preview:focus-visible {
    border-radius: 18px;
    box-shadow: 0 0 0 3px rgba(113, 61, 234, 0.16);
}

.batch-hover-preview-popover {
    position: absolute;
    left: var(--batch-hover-preview-left);
    bottom: calc(100% + 12px);
    z-index: 26;
    width: var(--batch-hover-preview-width);
    opacity: 0;
    pointer-events: none;
    transform: var(--batch-hover-preview-hidden-transform);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.batch-hover-preview-popover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(113, 61, 234, 0.08);
    border-bottom: 1px solid rgba(113, 61, 234, 0.08);
    transform: translateX(-50%) rotate(45deg);
}

.batch-hover-preview-card {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(113, 61, 234, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.16);
}

.batch-hover-preview-label {
    display: block;
    margin-bottom: 8px;
    color: var(--batch-text-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.batch-hover-preview-image {
    width: 100%;
    max-height: 320px;
    display: block;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}

.batch-hover-preview:hover .batch-hover-preview-popover,
.batch-hover-preview:focus-within .batch-hover-preview-popover,
.batch-hover-preview:focus-visible .batch-hover-preview-popover {
    opacity: 1;
    transform: var(--batch-hover-preview-visible-transform);
}

.batch-hover-preview-upload {
    --batch-hover-preview-left: 0;
    --batch-hover-preview-hidden-transform: translateY(8px);
    --batch-hover-preview-visible-transform: translateY(0);
}

.batch-hover-preview-upload .batch-hover-preview-popover {
    top: calc(100% + 12px);
    bottom: auto;
}

.batch-hover-preview-upload .batch-hover-preview-popover::after {
    top: -6px;
    bottom: auto;
    left: 22px;
    border-left: 1px solid rgba(113, 61, 234, 0.08);
    border-top: 1px solid rgba(113, 61, 234, 0.08);
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg);
}

.batch-item-pane.is-clickable {
    cursor: pointer;
}

.batch-item-pane.is-clickable .batch-item-image,
.batch-item-pane.is-clickable .batch-item-placeholder {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.batch-item-pane.is-clickable:hover .batch-item-image,
.batch-item-pane.is-clickable:hover .batch-item-placeholder {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(113, 61, 234, 0.12);
    border-color: rgba(113, 61, 234, 0.18);
}

.batch-item-error {
    min-height: 18px;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.55;
}

.batch-result-viewer {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
}

.batch-result-viewer[hidden] {
    display: none !important;
}

.batch-result-viewer-dialog {
    width: min(1360px, calc(100vw - 40px));
    height: min(900px, calc(100vh - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.batch-result-viewer-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 22px 24px 18px;
    background: linear-gradient(135deg, #f7faff 0%, #edf3ff 100%);
}

.batch-result-viewer-close,
.batch-result-viewer-nav {
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.batch-result-viewer-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
    z-index: 2;
}

.batch-result-viewer-counter {
    position: absolute;
    top: 20px;
    left: 22px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.78);
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}

.batch-result-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 28px;
    z-index: 2;
}

.batch-result-viewer-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.batch-result-viewer-nav-prev {
    left: 22px;
}

.batch-result-viewer-nav-next {
    right: 22px;
}

.batch-result-viewer-main {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 54px 22px;
}

.batch-result-viewer-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.batch-result-viewer-thumbs {
    display: flex;
    gap: 12px;
    padding-top: 6px;
    overflow-x: auto;
}

.batch-result-viewer-thumb {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    padding: 0;
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.batch-result-viewer-thumb.is-active {
    border-color: rgba(37, 99, 235, 0.72);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.batch-result-viewer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.batch-result-viewer-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.batch-result-viewer-head {
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.batch-result-viewer-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
}

.batch-result-viewer-chips::-webkit-scrollbar {
    height: 0;
}

.batch-result-viewer-chip {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #274690;
    font-size: 13px;
    font-weight: 700;
}

.batch-result-viewer-submeta {
    margin-top: 12px;
    color: #7c8799;
    font-size: 13px;
    line-height: 1.5;
}

.batch-result-viewer-submeta:empty {
    display: none;
}

.batch-result-viewer-title {
    margin: 14px 0 0;
    color: var(--batch-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.batch-result-viewer-subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.batch-result-viewer-subtitle:empty {
    display: none;
}

.batch-result-viewer-body {
    flex: 1;
    min-height: 0;
    padding: 24px 28px 0;
    overflow-y: auto;
}

.batch-result-viewer-section + .batch-result-viewer-section {
    margin-top: 22px;
}

.batch-result-viewer-section h4 {
    margin: 0 0 12px;
    color: var(--batch-text);
    font-size: 15px;
    line-height: 1.4;
}

.batch-result-viewer-text {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f3f7ff;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.72;
    white-space: pre-wrap;
}

.batch-result-viewer-uploads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.batch-result-viewer-upload,
.batch-result-viewer-empty {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7fb;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.batch-result-viewer-upload img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.batch-result-viewer-uploads .batch-hover-preview {
    width: 100%;
}

.batch-viewer-source-float {
    --batch-viewer-source-arrow-left: 48px;
    position: fixed;
    z-index: 12000;
    width: min(260px, calc(100vw - 72px));
    pointer-events: none;
}

.batch-viewer-source-float[hidden] {
    display: none !important;
}

.batch-viewer-source-float::after {
    content: "";
    position: absolute;
    left: calc(var(--batch-viewer-source-arrow-left) - 7px);
    bottom: -7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(113, 61, 234, 0.08);
    border-bottom: 1px solid rgba(113, 61, 234, 0.08);
    transform: rotate(45deg);
}

.batch-result-viewer-empty {
    grid-column: 1 / -1;
    padding: 18px 14px;
    color: #728095;
    font-size: 13px;
    text-align: center;
}

.batch-result-viewer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 28px 26px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.batch-result-viewer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(243, 246, 251, 0.92);
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.batch-result-viewer-action-primary {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

.batch-result-viewer-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

body.page-batch-edit.theme-night {
    background:
        radial-gradient(circle at 10% 0%, rgba(113, 61, 234, 0.14), transparent 30%),
        linear-gradient(180deg, #11111a 0%, #171722 48%, #11111a 100%);
}

body.page-batch-edit.theme-night .batch-control-card,
body.page-batch-edit.theme-night .batch-result-card {
    background: rgba(18, 19, 29, 0.9);
    border-color: rgba(171, 122, 255, 0.16);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

body.page-batch-edit.theme-night .batch-topbar-copy h1,
body.page-batch-edit.theme-night .batch-card-head h2,
body.page-batch-edit.theme-night .batch-result-head h2,
body.page-batch-edit.theme-night .batch-upload-title,
body.page-batch-edit.theme-night .batch-label,
body.page-batch-edit.theme-night .batch-section-head > span,
body.page-batch-edit.theme-night .batch-section-title-row,
body.page-batch-edit.theme-night .batch-estimate-strip strong,
body.page-batch-edit.theme-night .batch-metrics-grid strong,
body.page-batch-edit.theme-night .batch-item-name,
body.page-batch-edit.theme-night .batch-empty-state h3,
body.page-batch-edit.theme-night .batch-status-banner strong,
body.page-batch-edit.theme-night .batch-step strong {
    color: #f8f7ff;
}

body.page-batch-edit.theme-night .batch-topbar-copy p,
body.page-batch-edit.theme-night .batch-upload-sub,
body.page-batch-edit.theme-night .batch-board-note,
body.page-batch-edit.theme-night .batch-item-meta,
body.page-batch-edit.theme-night .batch-item-attempts,
body.page-batch-edit.theme-night .batch-empty-state p,
body.page-batch-edit.theme-night .batch-status-banner p,
body.page-batch-edit.theme-night .batch-queue-meta,
body.page-batch-edit.theme-night .batch-item-index,
body.page-batch-edit.theme-night .batch-item-pane span,
body.page-batch-edit.theme-night .batch-field-title,
body.page-batch-edit.theme-night .batch-label-row,
body.page-batch-edit.theme-night .batch-speed-title-row span:not(.batch-speed-option-label) {
    color: rgba(222, 220, 238, 0.76);
}

body.page-batch-edit.theme-night .batch-back-link,
body.page-batch-edit.theme-night .batch-preset-chip,
body.page-batch-edit.theme-night .batch-filter-chip,
body.page-batch-edit.theme-night .batch-item-btn,
body.page-batch-edit.theme-night .batch-queue-item,
body.page-batch-edit.theme-night .batch-estimate-strip,
body.page-batch-edit.theme-night .batch-metrics-grid article,
body.page-batch-edit.theme-night .batch-item-card,
body.page-batch-edit.theme-night .batch-empty-state,
body.page-batch-edit.theme-night .batch-board-note,
body.page-batch-edit.theme-night .batch-status-banner,
body.page-batch-edit.theme-night #batchPrompt,
body.page-batch-edit.theme-night .batch-settings-grid select,
body.page-batch-edit.theme-night .batch-speed-switch {
    background: rgba(24, 26, 38, 0.92);
    border-color: rgba(171, 122, 255, 0.12);
    color: #e8e4ff;
}

body.page-batch-edit.theme-night .batch-upload-zone {
    background: linear-gradient(180deg, rgba(113, 61, 234, 0.1), rgba(113, 61, 234, 0.04));
    border-color: rgba(171, 122, 255, 0.22);
}

body.page-batch-edit.theme-night .batch-upload-zone:hover,
body.page-batch-edit.theme-night .batch-upload-zone.is-dragover {
    background: linear-gradient(180deg, rgba(113, 61, 234, 0.16), rgba(113, 61, 234, 0.06));
}

body.page-batch-edit.theme-night .batch-item-image,
body.page-batch-edit.theme-night .batch-item-placeholder,
body.page-batch-edit.theme-night .batch-queue-thumb {
    background: rgba(31, 34, 52, 0.96);
    border-color: rgba(171, 122, 255, 0.1);
}

body.page-batch-edit.theme-night .batch-help-button,
body.page-batch-edit.theme-night .batch-speed-help {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(240, 238, 255, 0.86);
}

body.page-batch-edit.theme-night .batch-help-button:hover,
body.page-batch-edit.theme-night .batch-help-button:focus-visible,
body.page-batch-edit.theme-night .batch-speed-help:hover,
body.page-batch-edit.theme-night .batch-speed-help:focus-visible {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    color: #16181f;
}

body.page-batch-edit.theme-night .batch-preset-preview {
    background: rgba(18, 19, 29, 0.94);
    border-color: rgba(171, 122, 255, 0.18);
    box-shadow: 0 30px 54px rgba(0, 0, 0, 0.28);
}

body.page-batch-edit.theme-night .batch-preset-preview::after {
    background: rgba(18, 19, 29, 0.94);
    border-color: rgba(171, 122, 255, 0.18);
}

body.page-batch-edit.theme-night .batch-preset-preview-kicker,
body.page-batch-edit.theme-night .batch-preset-preview-pill.is-after {
    background: rgba(255, 255, 255, 0.9);
    color: #16181f;
}

body.page-batch-edit.theme-night .batch-preset-preview-caption strong {
    color: #f8f7ff;
}

body.page-batch-edit.theme-night .batch-preset-preview-caption span {
    color: rgba(233, 228, 255, 0.72);
}

body.page-batch-edit.theme-night .batch-viewer-source-float::after {
    background: rgba(18, 19, 29, 0.96);
    border-right-color: rgba(171, 122, 255, 0.18);
    border-bottom-color: rgba(171, 122, 255, 0.18);
}

body.page-batch-edit.theme-night .batch-speed-option {
    color: rgba(222, 220, 238, 0.58);
}

body.page-batch-edit.theme-night .batch-speed-slider {
    background: rgba(255, 255, 255, 0.98);
}

body.page-batch-edit.theme-night .batch-speed-item.is-active .batch-speed-option {
    color: #16181f;
}

body.page-batch-edit.theme-night .batch-step {
    color: rgba(222, 220, 238, 0.7);
}

body.page-batch-edit.theme-night .batch-step::after {
    background: rgba(222, 220, 238, 0.18);
}

body.page-batch-edit.theme-night .batch-step span {
    background: rgba(255, 255, 255, 0.12);
    color: #f8f7ff;
}

body.page-batch-edit.theme-night .batch-step.active span,
body.page-batch-edit.theme-night .batch-step.completed span {
    background: rgba(255, 255, 255, 0.96);
    color: #16181f;
}

@media (max-width: 1240px) {
    .batch-workspace {
        grid-template-columns: 1fr;
    }

    .batch-control-card {
        position: static;
    }

    .batch-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    body.page-batch-edit .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 16px;
    }

    .batch-topbar-main {
        align-items: flex-start;
    }

    .batch-taskbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .batch-taskbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .batch-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .batch-shell {
        padding: 0 14px;
    }

    .batch-topbar,
    .batch-control-card,
    .batch-result-card {
        padding: 16px;
        border-radius: 22px;
    }

    .batch-topbar-actions,
    .batch-card-head,
    .batch-result-head,
    .batch-section-head,
    .batch-item-head {
        flex-direction: column;
        align-items: stretch;
    }

    .batch-topbar {
        padding: 0;
    }

    .batch-taskbar {
        padding: 14px 16px;
        border-radius: 22px;
    }

    .batch-steps {
        justify-content: flex-start;
        gap: 10px;
    }

    .batch-step::after {
        width: 18px;
    }

    .batch-actions,
    .batch-settings-grid,
    .batch-metrics-grid {
        grid-template-columns: 1fr;
    }

    .batch-speed-switch {
        width: 100%;
    }

    .batch-item-media {
        grid-template-columns: 1fr;
    }

    .batch-item-arrow {
        transform: rotate(90deg);
    }
}
