/* Análise · Documentos */
.dx-list { min-width: 0; }
.dx-chip-row { margin-top: 12px; }
.dx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px 2px 10px; border-radius: 999px; background: var(--rose-tint); border: 1px solid var(--rose-line); font-size: 12px; }
.dx-chip-x { width: 20px; height: 20px; border-radius: 50%; color: var(--text-sec); font-size: 14px; line-height: 1; }
.dx-chip-x:hover { background: var(--rose-tint-strong); color: var(--text); }
.dx-list { margin-top: 14px; }
.dx-table .dx-x { width: 32px; padding-right: 0; }
.dx-toggle { width: 24px; height: 24px; border-radius: 6px; color: var(--text-sec); display: inline-flex; align-items: center; justify-content: center; }
.dx-toggle:hover { background: var(--bg-hover); color: var(--text); }
.dx-chev { display: inline-block; font-size: 11px; transition: transform var(--t-fast); }
.dx-toggle[aria-expanded="true"] .dx-chev { transform: rotate(90deg); }
.dx-date { white-space: nowrap; }
.dx-row td.dx-name .ta-pill { margin-left: 8px; }
.dx-amt { white-space: nowrap; font-weight: 600; }
.dx-row.is-voided td { color: var(--text-muted); }
.dx-row.is-voided .dx-amt, .dx-row.is-voided .dx-date { text-decoration: line-through; }
.dx-row.is-open td { border-bottom-color: transparent; background: var(--bg-hover); }
.dx-detail-row > td { padding: 0; background: var(--bg-base); }
.dx-detail { padding: 14px 16px 16px 42px; min-width: 0; }
.dx-detail-title { font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.dx-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; margin-bottom: 14px; }
.dx-meta dt { color: var(--text-muted); }
.dx-meta dd { margin: 0; overflow-wrap: anywhere; }
.dx-sub { font-size: 11px; }
.dx-lines .ta-table th { background: var(--bg-base); }
.dx-lines-none { padding: 14px 4px; text-align: left; align-items: flex-start; }
.dx-sum { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; padding: 10px 10px 0; font-size: 13px; }
.dx-sum-item { display: flex; gap: 8px; color: var(--text-sec); font-variant-numeric: tabular-nums; }
.dx-sum-item strong { color: var(--text); font-weight: 600; }
.dx-sum-item.is-strong strong { color: var(--rose-hover); }
@media (max-width: 700px) {
  .dx-hide-s { display: none; }
  .dx-table { min-width: 560px; }
  .dx-name, .dx-date { white-space: nowrap; }
  .dx-detail { padding-left: 10px; }
}
.ta-input[type="date"] { color-scheme: dark; }
.dx-table td.ta-wrap { min-width: 140px; }
