/* Escopo exclusivo: tokens oficiais Caixa de Documentos. */
.cx-conversao, .cx-conversao-dialog {
  font-family: var(--font, -apple-system, 'Inter', system-ui, sans-serif);
  color: var(--text-primary, #1f2937);
}
.cx-conversao {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: var(--radius-lg, 8px);
  padding: 12px;
  margin: 8px 0 12px;
}
.cx-conv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cx-conv-row h3 { font-size: 14px; margin: 0; }
.cx-conv-row strong { overflow-wrap: anywhere; }
.cx-conv-list { display: grid; gap: 8px; }
.cx-conv-job { border-top: 1px solid var(--border-light, #e5e7eb); padding-top: 10px; }
.cx-conv-help { color: var(--text-secondary, #4b5563); font-size: 12px; line-height: 1.5; margin: 6px 0; }
.cx-conv-status { background: var(--info-bg, #dbeafe); color: var(--info-text, #1d4ed8); border-radius: var(--radius-sm, 4px); padding: 3px 6px; font-size: 12px; white-space: nowrap; }
.cx-conv-status.concluido { background: var(--success-bg, #dcfce7); color: var(--success-text, #15803d); }
.cx-conv-status.falhou { background: var(--danger-bg, #fee2e2); color: var(--danger-text, #b91c1c); }
.cx-conv-error { color: var(--danger-text, #b91c1c); }
.cx-conv-progress { display: grid; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--text-secondary, #4b5563); }
.cx-conv-progress progress { width: 100%; height: 8px; accent-color: var(--text-link, #2563eb); }
.cx-conversao-dialog { border: 1px solid var(--border-light, #e5e7eb); border-radius: var(--radius-lg, 8px); background: var(--bg-white, #fff); width: min(540px, calc(100% - 24px)); max-height: 90vh; overflow: auto; padding: 20px; }
.cx-conversao-dialog::backdrop { background: rgb(17 24 39 / 50%); }
.cx-conversao-dialog h2 { font-size: 18px; margin: 0; }
.cx-conv-field { display: grid; gap: 5px; font-size: 13px; margin: 12px 0; }
.cx-conv-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 12px 0; }
.cx-conv-order { padding-left: 24px; max-height: 180px; overflow: auto; font-size: 13px; }
.cx-conv-order li { padding: 4px; }
.cx-conv-order li span { display: inline-block; width: calc(100% - 80px); vertical-align: middle; overflow-wrap: anywhere; }
.cx-conv-order button { margin-left: 4px; min-width: 28px; }
@media (max-width: 600px) { .cx-conv-row { flex-wrap: wrap; } .cx-conversao-dialog { padding: 12px; } }
