/* Scope every rule: existing label templates and batch controls are not restyled. */
.apparel-batch-heading .combined-export-launch { margin-left:auto;min-height:32px;padding:6px 12px;font-size:12px;white-space:normal; }
.combined-export-dialog { box-sizing:border-box;width:min(1080px,calc(100vw - 28px));max-height:92vh;padding:22px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#142033;overflow:auto; }
.combined-export-dialog::backdrop { background:rgba(15,23,42,.60); }
.combined-export-dialog * { box-sizing:border-box; }
.combined-export-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:14px; }
.combined-export-heading h2 { margin:0;font-size:23px;line-height:1.25; }
.combined-export-heading p { margin:7px 0 16px;font-size:13px;line-height:1.5;color:#53657c; }
.combined-export-dialog button { white-space:normal;overflow-wrap:anywhere; }
.combined-export-dialog button:disabled { cursor:default; }
.combined-export-dialog button[aria-busy="true"] { cursor:progress; }
.combined-export-dialog button:focus-visible,.combined-export-dialog input:focus-visible { outline:3px solid #4285f4;outline-offset:2px; }
.combined-export-search { display:flex;align-items:end;gap:10px; }
.combined-export-search label { flex:1;min-width:0;font-size:12px;font-weight:700; }
.combined-export-search input { display:block;width:100%;margin-top:6px;min-height:40px; }
.combined-export-columns { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0; }
.combined-export-group { min-width:0; }
.combined-export-group h3 { font-size:14px;margin:0 0 8px; }
.combined-batch-list { border:1px solid #dbe3ec;border-radius:10px;max-height:238px;overflow:auto; }
.combined-batch-row { display:flex;flex-direction:row;text-align:left;gap:10px;align-items:center;cursor:pointer;min-height:66px;padding:10px 12px;border-bottom:1px solid #e7edf4;margin:0; }
.combined-batch-row:last-child { border-bottom:0; }
.combined-batch-row:has(input:checked) { background:#edf5ff; }
.combined-batch-row input[type="checkbox"] { width:19px;height:19px;min-height:0;flex:0 0 19px;margin:0;accent-color:#2563eb; }
.combined-batch-info { display:flex;flex-direction:column;gap:4px;min-width:0;flex:1; }
.combined-batch-info strong { font-size:13px;overflow-wrap:anywhere; }
.combined-batch-info small { font-size:11px;color:#64748b; }
.combined-batch-badge { font-size:10px;font-weight:800;letter-spacing:.04em;background:#edf0f5;color:#536178;padding:4px 6px;border-radius:5px; }
.combined-batch-badge.is-active { color:#176749;background:#e3f3ec; }
.combined-export-more { margin-top:7px;min-height:30px;padding:5px 10px;font-size:12px; }
.combined-empty { padding:14px;margin:0;font-size:13px;color:#64748b;line-height:1.5; }
.combined-selection-bar { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px; }
.combined-selection-bar strong { font-size:14px; }
.combined-review-area { background:#f6f8fc;border:1px solid #e0e7f0;border-radius:12px;margin-top:12px;padding:12px; }
.combined-summary { display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:12px; }
.combined-summary-cell { min-width:0;display:flex;flex-direction:column;gap:4px; }
.combined-summary-cell span { font-size:11px;font-weight:800;color:#5d6d83; }
.combined-summary-cell strong { font-size:28px;line-height:1.1;overflow-wrap:anywhere; }
.combined-summary-cell:last-child strong { color:#176749; }
.combined-reviewed-row { display:flex;gap:10px;justify-content:space-between;padding:5px 0;flex-wrap:wrap;font-size:12px; }
.combined-reviewed-row strong { overflow-wrap:anywhere; }
.combined-note,.combined-ready,.combined-load-error { font-size:12px;line-height:1.5; margin:8px 0 0; }
.combined-ready { color:#176749; }
.combined-load-error { color:#ac251b;font-weight:700; }
.combined-issues { max-height:170px;overflow:auto; }
.combined-issue { display:flex;flex-direction:column;gap:3px;padding:8px 0;margin:0;border-bottom:1px solid #e5d8d8;font-size:12px;overflow-wrap:anywhere; }
.combined-issue span { color:#a82d22; }
.combined-export-safety { font-size:12px;line-height:1.5;color:#74510b;background:#fff7e3;padding:10px 12px;border-radius:8px;margin:12px 0 8px; }
.combined-export-note { font-size:12px;line-height:1.45;color:#59697c;margin:8px 0; }
.combined-export-status { font-size:13px;line-height:1.45;color:#176749;overflow-wrap:anywhere; }
.combined-export-status.is-error { color:#b42318;font-weight:700; }
.combined-export-progress { font-size:13px;color:#245db0;padding:8px 0; }
.combined-export-actions { display:flex;justify-content:flex-end;gap:10px;margin-top:14px; }
.combined-download-note { font-size:12px;overflow-wrap:anywhere;color:#176749;margin:10px 0 0; }
html[data-theme="dark"] .combined-export-dialog { background:#142033;color:#edf2f8;border-color:#40516a; }
html[data-theme="dark"] .combined-export-dialog .combined-review-area { background:#1d2c41;border-color:#40516a; }
html[data-theme="dark"] .combined-export-dialog .combined-batch-row:has(input:checked) { background:#233d59; }
html[data-theme="dark"] .combined-export-dialog .combined-batch-list,html[data-theme="dark"] .combined-export-dialog .combined-batch-row { border-color:#40516a; }
html[data-theme="dark"] .combined-export-dialog .combined-export-note,html[data-theme="dark"] .combined-export-dialog .combined-empty,html[data-theme="dark"] .combined-export-dialog .combined-batch-info small,html[data-theme="dark"] .combined-export-dialog .combined-summary-cell span,html[data-theme="dark"] .combined-export-dialog .combined-export-heading p { color:#b5c2d5; }
html[data-theme="dark"] .combined-export-dialog .combined-ready,html[data-theme="dark"] .combined-export-dialog .combined-summary-cell:last-child strong,html[data-theme="dark"] .combined-export-dialog .combined-download-note { color:#9bd4b8; }
html[data-theme="dark"] .combined-export-dialog .combined-load-error,html[data-theme="dark"] .combined-export-dialog .combined-issue span,html[data-theme="dark"] .combined-export-dialog .is-error { color:#ffaaa2; }
html[data-theme="dark"] .combined-export-dialog .combined-export-safety { background:#3a3020;color:#f0d695; }
@media(max-width:640px){
  .combined-export-dialog { padding:15px;width:calc(100vw - 20px);max-height:94vh; }
  .combined-export-heading h2 { font-size:20px; }
  .combined-export-columns { grid-template-columns:1fr;gap:12px;margin:14px 0; }
  .combined-batch-list { max-height:165px; }
  .combined-export-search { flex-wrap:wrap; }
  .combined-export-search label { flex-basis:100%; }
  .combined-export-search button { width:100%; }
  .combined-summary-cell strong { font-size:25px; }
  .combined-selection-bar button { width:100%; }
  .combined-export-actions { flex-direction:column-reverse; }
  .combined-export-actions button { width:100%; }
  .combined-batch-row { padding:9px;gap:8px; }
  .combined-batch-badge { font-size:9px; }
}
@media print { .combined-export-dialog,.combined-export-launch { display:none!important; } }
