.batch3-workbench {
  max-width: 1180px;
  margin: 92px auto 0;
  padding: 18px 20px 56px;
}

.batch3-hero,
.batch3-panel,
.batch3-content {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line, rgba(148,168,214,.16));
  border-radius: 18px;
  background: var(--panel, #121c33);
}

.batch3-hero { text-align: center; }
.batch3-hero h1 { margin: 8px 0; font-size: clamp(26px,4vw,42px); }
.batch3-hero p,
.batch3-content p,
.batch3-content li { color: var(--mist,#93a2c2); line-height: 1.75; }
.batch3-content h2 { margin: 0 0 12px; }
.batch3-content h2:not(:first-child) { margin-top: 24px; }
.batch3-content ol { padding-left: 22px; }
.batch3-upload { border: 1px dashed var(--signal,#4e8cff); border-radius: 12px; padding: 16px; background: var(--ink-2,#0f1830); }
.batch3-upload label { display: flex; flex-direction: column; gap: 8px; color: var(--mist,#93a2c2); font-weight: 700; }
.batch3-upload input { width: 100%; color: var(--mist,#93a2c2); }
.batch3-file-name { margin-top: 8px; color: var(--signal-2,#7fb2ff); overflow-wrap: anywhere; }
.batch3-status { min-height: 24px; margin-top: 12px; color: var(--mist,#93a2c2); }
.batch3-status[data-kind="success"] { color: #34d399; }
.batch3-status[data-kind="error"] { color: #ff8585; }
.batch3-status[data-kind="warning"] { color: #fbbf24; }
.batch3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.batch3-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.batch3-controls label { display: flex; flex-direction: column; gap: 5px; color: var(--mist,#93a2c2); font-weight: 700; }
.batch3-controls input:not([type="range"]),
.batch3-controls select { min-height: 40px; padding: 7px 10px; border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 8px; background: var(--ink,#0b1220); color: var(--white,#f5f7fc); font: inherit; }
.batch3-controls input[type="range"] { accent-color: var(--signal,#4e8cff); }
.batch3-warning { color: #fbbf24 !important; }
.batch3-results { display: grid; gap: 8px; margin-top: 12px; max-height: 300px; overflow: auto; }
.batch3-result { display: block; width: 100%; padding: 10px; text-align: left; color: var(--white,#f5f7fc); background: var(--ink,#0b1220); border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 8px; cursor: pointer; overflow-wrap: anywhere; }
.batch3-result:hover { border-color: var(--signal,#4e8cff); }
.batch3-reader-viewport { margin-top: 14px; min-height: 280px; max-height: 78vh; overflow: auto; padding: 12px; border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 12px; background: var(--ink,#0b1220); }
.batch3-reader-canvas { display: block; margin: 0 auto; background: #fff; }
.batch3-text-alternative { margin-top: 12px; color: var(--mist,#93a2c2); }
.batch3-text-alternative summary { min-height: 44px; padding: 10px 0; color: var(--signal-2,#7fb2ff); cursor: pointer; font-weight: 700; }
.batch3-text-alternative p { max-height: 360px; overflow: auto; padding: 12px; border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 8px; background: var(--ink,#0b1220); color: var(--white,#f5f7fc); white-space: pre-wrap; overflow-wrap: anywhere; }
.batch3-form-fields { display: grid; gap: 12px; margin-top: 16px; }
.batch3-form-field { padding: 14px; border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 10px; background: var(--ink,#0b1220); }
.batch3-form-field label { display: block; margin-bottom: 6px; color: var(--mist,#93a2c2); font-weight: 700; overflow-wrap: anywhere; }
.batch3-form-field input[type="text"],
.batch3-form-field textarea,
.batch3-form-field select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line,rgba(148,168,214,.16)); border-radius: 8px; color: var(--white,#f5f7fc); background: var(--panel,#121c33); font: inherit; }
.batch3-form-field textarea { min-height: 90px; resize: vertical; }
.batch3-form-field input[type="checkbox"],
.batch3-form-field input[type="radio"] { width: 18px; height: 18px; accent-color: var(--signal,#4e8cff); }
.batch3-field-options { display: grid; gap: 8px; }
.batch3-field-options label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.batch3-related { display: flex; flex-wrap: wrap; gap: 10px; }
.batch3-related a { color: var(--signal-2,#7fb2ff); text-decoration: underline; }

@media (max-width: 600px) {
  .batch3-workbench { margin-top: 80px; padding: 10px 12px 40px; }
  .batch3-hero,.batch3-panel,.batch3-content { padding: 16px; border-radius: 14px; }
  .batch3-reader-viewport { max-height: 68vh; padding: 6px; }
}
