[hidden] { display: none !important; }
.batch-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1160px; padding: 22px 24px 0; margin: 0 auto; }
.batch-nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.batch-nav-links a, .batch-languages { border: 1px solid var(--hairline); background: rgba(250,249,245,.88); border-radius: 30px; box-shadow: 0 6px 24px rgba(37,35,32,.04); }
.batch-nav-links a { padding: 9px 15px; font-size: 13px; color: var(--body-strong); }
.batch-languages { display: flex; align-items: center; padding: 4px; gap: 3px; }
.batch-languages button { border: 0; background: transparent; padding: 7px 10px; cursor: pointer; color: var(--muted); border-radius: 20px; white-space: nowrap; }
.batch-languages button[aria-pressed="true"] { background: var(--surface-cream-strong); color: var(--ink); font-weight: 700; }
.batch-languages span { color: var(--hairline); }
.batch-shell { max-width: 1120px; margin: 0 auto; padding: 46px 24px 48px; }
.batch-hero { text-align: center; padding-bottom: 30px; }
.batch-eyebrow { color: var(--primary-active); font-size: 12px; font-weight: 750; letter-spacing: .1em; }
.batch-hero h1 { font-family: Georgia, "Songti SC", "SimSun", serif; font-size: clamp(36px, 5vw, 54px); font-weight: 500; letter-spacing: -.04em; margin: 13px 0 12px; line-height: 1.2; }
.batch-hero > p { margin: 0; color: var(--muted); line-height: 1.7; }
.batch-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.batch-pills span { border: 1px solid var(--hairline); background: var(--canvas); border-radius: 20px; padding: 6px 11px; color: var(--muted); font-size: 12px; }
.batch-pills span:nth-child(2) { color: #3e814c; background: #edf4e9; border-color: #d5e5d3; }
.batch-panel { padding: 28px; margin-bottom: 20px; background: rgba(250,249,245,.97); border: 1px solid var(--hairline); border-radius: 20px; box-shadow: 0 18px 55px rgba(37,35,32,.06); }
.batch-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.batch-section-heading > div { display: flex; align-items: center; gap: 10px; }
.batch-step { font-size: 12px; font-weight: 800; color: var(--primary-active); border: 1px solid #e9c8bb; background: #f7eae2; border-radius: 50%; width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.batch-section-heading h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.batch-limit { font-size: 12px; color: var(--muted); white-space: nowrap; }
.batch-import-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-height: 232px; overflow-y: auto; }
.batch-import-column { min-width: 0; }
.batch-import-column .field-label { position: sticky; top: 0; z-index: 1; background: #faf9f5; min-height: 40px; margin-top: 0; margin-bottom: 8px; display: flex; align-items: flex-end; font-size: 14px; line-height: 20px; }
.batch-import { display: block; width: 100%; height: 184px; min-height: 184px; padding: 12px; line-height: 26px; resize: none; white-space: pre; overflow-x: auto; overflow-y: hidden; font-size: 13px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.batch-import-columns .batch-import:disabled { color: var(--muted); background: #f3f0ea; }
.batch-help { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 10px 0 16px; }
.batch-pairing-help { margin-top: 0; margin-bottom: 8px; }
.batch-import-actions { display: flex; gap: 10px; align-items: center; }
.batch-import-actions .primary-button { width: auto; min-width: 170px; margin: 0; padding: 13px 24px; }
.batch-secondary { border: 1px solid var(--hairline); border-radius: 9px; background: var(--canvas); color: var(--body-strong); font-weight: 650; padding: 13px 18px; cursor: pointer; line-height: 1.25; }
.batch-secondary:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-active); background: #f9eee7; }
.batch-shell button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.batch-feedback { color: var(--primary-active); margin: 14px 0 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.batch-feedback:empty { display: none; }
.batch-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.batch-summary span { font-size: 12px; color: var(--muted); border-radius: 6px; background: var(--surface-soft); padding: 7px 10px; }
.batch-rows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.batch-row { min-width: 0; border: 1px solid var(--hairline); border-radius: 12px; padding: 18px; background: #fdfbf7; }
.batch-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.batch-row-code { font: 600 12px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.batch-row h3 { font-size: 17px; margin: 8px 0 17px; }
.batch-state { font-size: 11px; line-height: 1.5; background: var(--surface-soft); border-radius: 20px; padding: 4px 8px; flex-shrink: 0; color: var(--muted); }
.batch-row[data-state="success"] { border-color: #b9dcbc; }
.batch-row[data-state="success"] .batch-state { color: #3d7b47; background: #eaf3e7; }
.batch-row[data-state="failed"] .batch-state, .batch-row[data-state="blocked"] .batch-state { color: #a74737; background: #f8e7df; }
.batch-row[data-state="unknown"] .batch-state, .batch-row[data-state="pending"] .batch-state, .batch-row[data-state="submitting"] .batch-state { color: #986a23; background: #fbefdb; }
.batch-row .field-label { font-size: 13px; margin-top: 0; }
.batch-row .input { width: 100%; font-size: 13px; padding: 11px; }
.batch-row textarea { min-height: 104px; resize: vertical; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; line-height: 1.5; }
.batch-row .input:disabled { color: var(--muted); background: #f3f0ea; }
.batch-row-note { font-size: 12px; color: var(--muted); line-height: 1.65; margin: 9px 0 0; overflow-wrap: anywhere; }
.batch-row-note[data-error="true"] { color: #a74737; }
.batch-account-info { display: grid; gap: 5px; margin: 11px 0 0; background: var(--surface-soft); border-radius: 8px; padding: 10px; color: var(--body); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.batch-order { margin-top: 9px; font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.batch-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.batch-toolbar .primary-button { width: auto; min-width: 180px; padding: 13px 18px; margin: 0; }
.batch-retry-help { padding-top: 12px; border-top: 1px solid var(--hairline-soft); }
.batch-confirm { border-color: #e7beac; background: #fcf7f0; }
.batch-confirm-list { padding-left: 24px; font-size: 13px; line-height: 1.8; color: var(--body); margin-bottom: 24px; }
.batch-confirm-list li { overflow-wrap: anywhere; margin-bottom: 8px; }
.batch-footer { text-align: center; max-width: 800px; margin: 28px auto 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.batch-footer strong { color: var(--body-strong); font-size: 14px; }
.batch-footer p { margin: 8px 0; }
@media (max-width: 720px) {
  .batch-nav { padding: 16px 16px 0; gap: 8px; }
  .batch-nav-links { gap: 5px; }
  .batch-nav-links a { padding: 8px 10px; font-size: 12px; }
  .batch-languages button { padding: 6px 8px; font-size: 12px; }
  .batch-shell { padding: 32px 14px; }
  .batch-hero { padding-bottom: 24px; }
  .batch-hero > p { font-size: 13px; }
  .batch-panel { padding: 20px 16px; border-radius: 15px; }
  .batch-section-heading { gap: 8px; }
  .batch-section-heading h2 { font-size: 17px; }
  .batch-limit { font-size: 11px; }
  .batch-import-columns { gap: 10px; }
  .batch-import-column .field-label { font-size: 12px; }
  .batch-import { padding: 10px 8px; font-size: 12px; }
  .batch-rows { grid-template-columns: minmax(0,1fr); }
  .batch-row { padding: 16px; }
  .batch-toolbar > button { flex: 1 1 45%; font-size: 12px; padding: 12px 10px; }
  .batch-toolbar .primary-button { flex-basis: 100%; }
  .batch-import-actions { flex-wrap: wrap; }
  .batch-import-actions .primary-button { flex: 1; font-size: 13px; min-width: 150px; }
  .batch-secondary { font-size: 13px; padding: 12px; }
}
