.batch-layout {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.batch-config-panel {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 28px 30px 22px;
  padding-right: 24px;
  scrollbar-gutter: stable;
}

.batch-config-panel .section-desc,
.batch-config-panel .info-box,
.batch-config-panel .mini-help {
  padding-right: 14px;
}

.workspace {
  display: grid;
  gap: 18px;
}

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

.choice-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: #183153;
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.choice-chip:hover {
  transform: translateY(-1px);
  border-color: #8db0ff;
}

.choice-chip.is-active {
  border-color: #5d86ff;
  background: linear-gradient(180deg, rgba(93, 134, 255, 0.08), rgba(93, 134, 255, 0.03));
  box-shadow: 0 0 0 3px rgba(93, 134, 255, 0.12);
}

.choice-chip-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1.5px dashed #9eb7eb;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(122, 162, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  color: #466182;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
  border-color: #5d86ff;
  box-shadow: 0 20px 42px rgba(86, 114, 177, 0.12);
  transform: translateY(-1px);
}

.upload-dropzone-title {
  font-size: 20px;
  font-weight: 800;
  color: #173252;
}

.upload-dropzone-note {
  max-width: 460px;
  text-align: center;
  font-size: 14px;
  color: #5e7395;
}

.upload-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.upload-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.upload-thumb {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  background: #eff3fa;
}

.upload-card-body {
  min-width: 0;
}

.upload-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.upload-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #173252;
  word-break: break-word;
}

.upload-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: #607493;
  font-size: 13px;
}

.upload-card-remove {
  appearance: none;
  border: 0;
  background: #f3f6fc;
  color: #526882;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.batch-job-list,
.batch-item-grid {
  display: grid;
  gap: 12px;
}

.batch-job-card,
.batch-item-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.batch-job-card {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.batch-job-card:hover {
  transform: translateY(-1px);
  border-color: #8caeff;
}

.batch-job-card.is-active {
  border-color: #5d86ff;
  box-shadow: 0 0 0 3px rgba(93, 134, 255, 0.14);
}

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

.batch-job-side {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.batch-job-download {
  white-space: nowrap;
}

.batch-job-download.is-busy,
#btnDownloadActiveJob.is-busy {
  opacity: 0.72;
  cursor: wait;
}

.batch-job-title,
.batch-item-title {
  font-size: 16px;
  font-weight: 800;
  color: #183153;
}

.batch-job-meta,
.batch-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  color: #5e7395;
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.queued {
  background: #edf3ff;
  color: #315a96;
}

.status-pill.running {
  background: #fff4dc;
  color: #9a6a00;
}

.status-pill.success,
.status-pill.partial_success {
  background: #e8f8ef;
  color: #197a43;
}

.status-pill.failed {
  background: #ffe8ec;
  color: #bf3556;
}

.batch-item-card {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.batch-item-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.batch-thumb,
.batch-output,
.batch-item-empty {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #eff3fa;
  object-fit: cover;
}

.batch-thumb.empty,
.batch-item-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8798b4;
  font-size: 12px;
  text-align: center;
  border: 1px dashed var(--line);
}

.batch-output-link {
  display: block;
}

.batch-item-content {
  min-width: 0;
}

.batch-item-error {
  margin-top: 10px;
  color: #bf3556;
  font-size: 13px;
  line-height: 1.5;
}

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

  .batch-config-panel {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 18px;
  }
}

@media (max-width: 860px) {
  .upload-list {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .chip-grid {
    grid-template-columns: 1fr;
  }

  .upload-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .upload-thumb {
    width: 72px;
    height: 72px;
  }

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

/* Batch studio refresh */
.batch-layout {
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
}

.batch-config-panel {
  top: 20px;
  max-height: calc(100vh - 40px);
  padding: 24px 24px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 100%);
  box-shadow: none;
}

.batch-config-panel .page-section-head {
  margin-bottom: 10px;
}

.batch-config-panel .section-title {
  display: none;
}

.batch-config-panel .section-desc {
  margin-bottom: 16px;
}

.workspace {
  gap: 20px;
}

.workspace > .panel.card {
  padding: 22px;
}

.chip-grid {
  gap: 12px;
}

.choice-chip {
  border: 1px solid rgba(27, 35, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #283243;
  box-shadow: none;
}

.choice-chip.is-active {
  border-color: rgba(35, 87, 235, 0.18);
  background: rgba(35, 87, 235, 0.08);
  box-shadow: 0 0 0 4px rgba(35, 87, 235, 0.06);
}

.upload-dropzone {
  min-height: 196px;
  border: 1.5px dashed rgba(35, 87, 235, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(86, 132, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.97));
}

.upload-dropzone-title {
  font-family: "Manrope", "Inter", "PingFang SC", sans-serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.upload-dropzone-note {
  line-height: 1.75;
}

.upload-card,
.batch-job-card,
.batch-item-card {
  border: 1px solid rgba(27, 35, 48, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(38, 68, 127, 0.06);
}

.upload-card {
  padding: 16px;
}

.upload-card-title,
.batch-job-title,
.batch-item-title {
  font-family: "Manrope", "Inter", "PingFang SC", sans-serif;
  color: #171d27;
}

.upload-card-meta,
.batch-job-meta,
.batch-item-meta {
  font-size: 13px;
  line-height: 1.7;
}

.upload-card-remove {
  background: #f4f6fb;
  color: #586477;
}

.status-pill {
  min-height: 32px;
  padding: 0 12px;
}

.batch-thumb,
.batch-output,
.batch-item-empty {
  border-radius: 16px;
}

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

/* Batch studio compact console */
.topbar .brand-title {
  font-size: 18px;
}

.topbar .brand-sub {
  max-width: 540px;
  font-size: 12px;
  line-height: 1.5;
}

.batch-dashboard-hero {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px 24px 24px;
  align-items: start;
}

.batch-dashboard-hero .hero-title {
  margin: 0 0 10px;
  max-width: 820px;
  font-size: clamp(42px, 4.4vw, 66px);
  line-height: 0.96;
}

.batch-dashboard-hero .hero-sub {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}

.batch-dashboard-hero .hero-tags {
  margin-top: 14px;
  gap: 8px;
}

.batch-dashboard-hero .hero-tag {
  padding: 10px 14px;
}

.studio-hero-flow {
  display: none;
}

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

.studio-hero-stat {
  min-height: auto;
  padding: 18px 18px 20px;
  border-radius: 24px;
}

.batch-dashboard-hero .hero-stat-value {
  font-size: 28px;
  line-height: 1;
}

.batch-dashboard-hero .hero-stat-text {
  font-size: 13px;
  line-height: 1.65;
}

.studio-page-head {
  margin: 4px 0 14px;
  align-items: end;
}

.studio-page-head .page-section-title {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.02;
}

.studio-page-head .page-section-sub {
  max-width: 640px;
  margin-top: 6px;
  line-height: 1.7;
}

.studio-status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.studio-status-pills .auth-pill {
  min-height: 40px;
  padding: 0 14px;
}

.batch-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.batch-sidebar-stack {
  top: 14px;
}

.batch-config-panel {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 132, 255, 0.12), rgba(86, 132, 255, 0) 36%),
    linear-gradient(180deg, #fafbfd 0%, #f4f6fb 100%);
}

.batch-config-panel .page-section-head {
  margin-bottom: 8px;
}

.batch-config-panel .field {
  margin-bottom: 12px;
}

.batch-config-panel .section-desc,
.batch-config-panel .info-box,
.batch-config-panel .mini-help {
  padding-right: 0;
}

.quick-create-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding-top: 12px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(243, 245, 250, 0), #f3f5fa 28%);
}

.studio-rail-card {
  padding: 18px;
  border-radius: 24px;
}

.studio-rail-list {
  display: grid;
  gap: 8px;
}

.studio-rail-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(27, 35, 48, 0.05);
}

.studio-rail-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(35, 87, 235, 0.1);
  color: #2357eb;
  font-family: "Manrope", "Inter", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.studio-rail-title {
  font-size: 14px;
  font-weight: 700;
  color: #171d27;
}

.studio-rail-sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.65;
  color: #657083;
}

.studio-overview-band {
  display: none;
}

.workspace {
  gap: 16px;
}

.workspace > .panel.card {
  padding: 18px;
  border-radius: 24px;
}

.page-preview-head {
  align-items: start;
  gap: 10px;
  margin-bottom: 14px;
}

.page-preview-head .topbar-actions {
  gap: 8px;
}

.page-preview-head .topbar-actions .btn-ghost {
  min-height: 40px;
  padding: 8px 14px;
}

.upload-dropzone {
  min-height: 156px;
  border-radius: 24px;
  gap: 6px;
}

.upload-dropzone-title {
  font-size: 18px;
  line-height: 1.2;
}

.upload-dropzone-note {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.68;
}

.upload-toolbar {
  margin-top: 12px;
}

.upload-list,
.batch-job-list,
.batch-item-grid {
  gap: 10px;
}

.studio-empty-state {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(27, 35, 48, 0.05);
}

.studio-empty-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b94a4;
}

.studio-empty-title {
  margin-bottom: 6px;
  font-family: "Manrope", "Inter", "PingFang SC", sans-serif;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #171d27;
}

/* Batch studio working-state polish */
body.auth-connected .batch-dashboard-hero {
  grid-template-columns: minmax(0, 1.3fr) 320px;
  padding: 20px 22px 22px;
  gap: 14px;
}

body.auth-connected .batch-dashboard-hero .hero-content {
  gap: 10px;
}

body.auth-connected .batch-dashboard-hero .hero-title {
  max-width: 760px;
  font-size: clamp(36px, 4vw, 56px);
}

body.auth-connected .batch-dashboard-hero .hero-sub {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.72;
}

body.auth-connected .studio-hero-aside {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.auth-connected .studio-hero-stat {
  min-height: auto;
  padding: 16px 18px;
}

body.batch-has-jobs .studio-page-head {
  margin: 0 0 12px;
}

#batchPricingBox,
#selectionSummary {
  background: linear-gradient(180deg, rgba(244, 237, 228, 0.82), rgba(255, 251, 247, 0.94));
  border: 1px solid rgba(93, 71, 51, 0.08);
  color: #5f5449;
}

.batch-job-card {
  padding: 18px;
}

.batch-job-card.is-active {
  border-color: rgba(36, 90, 82, 0.24);
  box-shadow: 0 20px 34px rgba(36, 90, 82, 0.12);
}

.batch-job-card.is-success {
  background: linear-gradient(180deg, rgba(236, 247, 241, 0.92), rgba(255, 251, 247, 0.96));
}

.batch-job-card.is-risk {
  background: linear-gradient(180deg, rgba(255, 240, 239, 0.9), rgba(255, 251, 247, 0.96));
}

.batch-job-progress {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(93, 71, 51, 0.08);
}

.batch-job-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6f6256;
}

.batch-job-progress-head strong {
  color: #1f1a16;
}

.batch-job-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(93, 71, 51, 0.08);
  overflow: hidden;
}

.batch-job-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #245a52 0%, #bb8454 100%);
}

.batch-job-progress-meta {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #6f6256;
}

@media (max-width: 1180px) {
  body.auth-connected .batch-dashboard-hero {
    grid-template-columns: 1fr;
  }

  body.auth-connected .studio-hero-aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .batch-job-head {
    flex-direction: column;
  }

  .batch-job-side {
    width: 100%;
    justify-items: start;
  }
}

.studio-empty-sub {
  font-size: 13px;
  line-height: 1.68;
  color: #657083;
}

.studio-empty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.studio-empty-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(27, 35, 48, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: #425067;
}

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

@media (max-width: 980px) {
  .studio-hero-aside {
    grid-template-columns: 1fr;
  }

  .studio-status-pills {
    justify-content: flex-start;
  }

  .page-preview-head {
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .batch-dashboard-hero,
  .batch-config-panel,
  .studio-rail-card,
  .workspace > .panel.card {
    padding: 18px;
  }
}

/* 2026 batch SaaS workbench alignment */
body.batch-workbench-page .batch-dashboard-hero {
  grid-template-columns: minmax(0, 1.24fr) 320px;
  gap: 14px;
  padding: 22px;
}

body.batch-workbench-page .batch-dashboard-hero .hero-content {
  gap: 10px;
}

body.batch-workbench-page .batch-dashboard-hero .hero-title {
  max-width: 780px;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 0.98;
}

body.batch-workbench-page .batch-dashboard-hero .hero-sub {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.76;
}

body.batch-workbench-page .batch-dashboard-hero .hero-tags {
  margin-top: 12px;
  gap: 8px;
}

body.batch-workbench-page .studio-hero-aside {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.batch-workbench-page .studio-hero-stat {
  min-height: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

body.batch-workbench-page .batch-dashboard-hero .hero-stat-value {
  font-size: 24px;
}

body.batch-workbench-page .studio-page-head {
  margin: 2px 0 14px;
  align-items: end;
}

body.batch-workbench-page .studio-status-pills {
  gap: 8px;
}

body.batch-workbench-page .studio-status-pills .auth-pill {
  min-height: 38px;
}

body.batch-workbench-page .batch-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

body.batch-workbench-page .batch-sidebar-stack {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 16px;
}

body.batch-workbench-page .batch-config-panel {
  position: static;
  max-height: none;
  overflow: visible;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
}

body.batch-workbench-page .batch-config-panel .page-section-head {
  margin-bottom: 10px;
}

body.batch-workbench-page .choice-chip {
  border-radius: 12px;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--wb-text);
}

body.batch-workbench-page .choice-chip:hover {
  border-color: rgba(37, 99, 235, 0.22);
}

body.batch-workbench-page .choice-chip.is-active {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(239, 246, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

body.batch-workbench-page .quick-create-actions {
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0), rgba(245, 247, 251, 0.94) 34%);
}

body.batch-workbench-page .studio-rail-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

body.batch-workbench-page .studio-rail-item {
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

body.batch-workbench-page .studio-rail-index {
  border-radius: 12px;
  min-height: 32px;
  background: rgba(239, 246, 255, 0.92);
  color: var(--wb-accent-strong);
}

body.batch-workbench-page .studio-overview-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.batch-workbench-page .studio-overview-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--wb-shadow);
}

body.batch-workbench-page .studio-overview-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wb-subtle);
}

body.batch-workbench-page .studio-overview-value {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--wb-text);
}

body.batch-workbench-page .studio-overview-meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wb-muted);
}

body.batch-workbench-page .workspace > .panel.card {
  padding: 20px;
  border-radius: 24px;
}

body.batch-workbench-page .upload-dropzone {
  min-height: 148px;
  border-radius: 20px;
  border: 1.5px dashed rgba(37, 99, 235, 0.22);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96));
}

body.batch-workbench-page .upload-dropzone:hover,
body.batch-workbench-page .upload-dropzone.is-dragover {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.1);
}

body.batch-workbench-page .upload-dropzone-title {
  font-size: 18px;
  color: var(--wb-text);
}

body.batch-workbench-page .upload-card,
body.batch-workbench-page .batch-job-card,
body.batch-workbench-page .batch-item-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

body.batch-workbench-page .upload-card-remove {
  background: rgba(248, 250, 252, 0.96);
  color: var(--wb-subtle);
}

body.batch-workbench-page .batch-job-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.18);
}

body.batch-workbench-page .batch-job-card.is-active {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.08);
}

body.batch-workbench-page #batchPricingBox,
body.batch-workbench-page #selectionSummary {
  background: rgba(239, 246, 255, 0.78);
  border-color: rgba(37, 99, 235, 0.12);
  color: var(--wb-muted);
}

body.batch-workbench-page .batch-job-progress-head,
body.batch-workbench-page .batch-job-progress-meta {
  color: var(--wb-muted);
}

body.batch-workbench-page .batch-job-progress-head strong {
  color: var(--wb-text);
}

body.batch-workbench-page .batch-job-progress-bar {
  background: rgba(148, 163, 184, 0.16);
}

body.batch-workbench-page .batch-job-progress-bar span {
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

@media (max-width: 1360px) {
  body.batch-workbench-page .batch-layout,
  body.batch-workbench-page .batch-dashboard-hero {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .batch-sidebar-stack {
    position: static;
  }
}

@media (max-width: 980px) {
  body.batch-workbench-page .studio-hero-aside,
  body.batch-workbench-page .studio-overview-band {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .studio-status-pills {
    justify-content: flex-start;
  }
}

/* 2026-04 mid-console polish */
body.batch-workbench-page .console-inline-guide,
body.batch-workbench-page .workspace-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 42%),
    rgba(248, 250, 255, 0.92);
}

body.batch-workbench-page .console-inline-guide-kicker,
body.batch-workbench-page .workspace-section-kicker,
body.batch-workbench-page .upload-card-index,
body.batch-workbench-page .batch-job-kicker,
body.batch-workbench-page .batch-item-kicker,
body.batch-workbench-page .batch-preview-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wb-subtle);
}

body.batch-workbench-page .console-inline-guide-title,
body.batch-workbench-page .workspace-section-title {
  margin-top: 6px;
  font-family: "SF Pro Display", "Avenir Next", "PingFang SC", sans-serif;
  font-size: 22px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--wb-text);
}

body.batch-workbench-page .console-inline-guide-copy,
body.batch-workbench-page .workspace-section-copy {
  margin-top: 6px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--wb-muted);
}

body.batch-workbench-page .console-inline-guide-pills,
body.batch-workbench-page .workspace-section-pills,
body.batch-workbench-page .upload-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.batch-workbench-page .console-inline-guide-pill,
body.batch-workbench-page .workspace-section-pill,
body.batch-workbench-page .upload-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 12px;
  font-weight: 700;
  color: var(--wb-subtle);
}

body.batch-workbench-page .upload-card {
  grid-template-columns: auto 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
}

body.batch-workbench-page .upload-card-index {
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--wb-accent-strong);
}

body.batch-workbench-page .upload-card-body {
  display: grid;
  gap: 8px;
}

body.batch-workbench-page .upload-card-head {
  gap: 14px;
}

body.batch-workbench-page .upload-card-meta {
  gap: 8px 10px;
}

body.batch-workbench-page .upload-card-remove {
  min-height: 32px;
  padding: 0 10px;
}

body.batch-workbench-page .batch-job-card {
  padding: 18px;
}

body.batch-workbench-page .batch-job-head {
  gap: 16px;
}

body.batch-workbench-page .batch-job-kicker {
  margin-bottom: 8px;
}

body.batch-workbench-page .batch-job-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

body.batch-workbench-page .batch-job-stat {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

body.batch-workbench-page .batch-job-stat span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wb-subtle);
}

body.batch-workbench-page .batch-job-stat strong {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--wb-text);
}

body.batch-workbench-page .batch-job-side {
  gap: 12px;
}

body.batch-workbench-page .batch-item-card {
  gap: 18px;
}

body.batch-workbench-page .batch-preview-slot {
  display: grid;
  gap: 8px;
}

body.batch-workbench-page .batch-preview-label {
  justify-content: center;
}

body.batch-workbench-page .batch-item-kicker {
  margin-bottom: 8px;
}

body.batch-workbench-page .batch-item-meta {
  gap: 8px 10px;
}

@media (max-width: 980px) {
  body.batch-workbench-page .console-inline-guide,
  body.batch-workbench-page .workspace-section-intro {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .batch-job-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.batch-workbench-page .upload-card {
    grid-template-columns: 42px 72px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body.batch-workbench-page .upload-card {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .upload-card-index {
    width: 42px;
  }

  body.batch-workbench-page .batch-job-stats {
    grid-template-columns: 1fr;
  }
}

/* 2026-04 batch studio polish */
body.batch-workbench-page .batch-dashboard-hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: start;
}

body.batch-workbench-page .studio-hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.batch-workbench-page .studio-hero-flow-card {
  min-height: 152px;
}

body.batch-workbench-page .studio-hero-aside {
  grid-template-columns: 1fr;
}

body.batch-workbench-page .studio-overview-band {
  display: grid;
}

body.batch-workbench-page .batch-layout {
  grid-template-columns: minmax(308px, 336px) minmax(0, 1fr);
  gap: 20px;
}

body.batch-workbench-page .batch-sidebar-stack {
  position: sticky;
  top: 106px;
  align-self: start;
}

body.batch-workbench-page .batch-config-panel {
  padding: 20px 20px 18px;
  border-radius: 28px;
}

body.batch-workbench-page .console-inline-guide {
  padding: 16px 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(72, 94, 132, 0.08);
}

body.batch-workbench-page .quick-create-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 14px;
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0), rgba(245, 248, 255, 0.96) 26%);
}

body.batch-workbench-page .quick-create-actions .btn-primary {
  box-shadow: 0 14px 30px rgba(41, 93, 227, 0.22);
}

body.batch-workbench-page .workspace-section-intro,
body.batch-workbench-page .console-inline-guide-pills,
body.batch-workbench-page .batch-job-stats {
  gap: 10px;
}

body.batch-workbench-page .workspace > .panel.card {
  overflow: hidden;
}

body.batch-workbench-page .upload-dropzone {
  min-height: 172px;
}

body.batch-workbench-page .upload-list {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

body.batch-workbench-page .upload-card,
body.batch-workbench-page .batch-job-card,
body.batch-workbench-page .batch-item-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.batch-workbench-page .upload-card:hover,
body.batch-workbench-page .batch-job-card:hover,
body.batch-workbench-page .batch-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(17, 35, 71, 0.11);
  border-color: rgba(41, 93, 227, 0.16);
}

body.batch-workbench-page .batch-job-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(88, 110, 148, 0.12);
  overflow: hidden;
}

body.batch-workbench-page .batch-job-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #245ce3 0%, #7da1ff 100%);
}

@media (max-width: 1360px) {
  body.batch-workbench-page .batch-dashboard-hero,
  body.batch-workbench-page .batch-layout {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .studio-hero-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.batch-workbench-page .batch-sidebar-stack {
    position: static;
  }
}

@media (max-width: 980px) {
  body.batch-workbench-page .studio-hero-flow,
  body.batch-workbench-page .studio-hero-aside,
  body.batch-workbench-page .studio-overview-band {
    grid-template-columns: 1fr;
  }

  body.batch-workbench-page .batch-config-panel {
    padding: 18px;
  }

  body.batch-workbench-page .quick-create-actions {
    position: static;
    background: transparent;
    padding-top: 0;
  }
}
