/* Audit trail */
.audit-table .td-nowrap { white-space: nowrap; }
/* Takes the width the other columns leave and truncates, so the expand button stays in view. */
.audit-detail {
  width: 100%;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-2);
}
.audit-table [aria-expanded="true"] i { transform: rotate(180deg); }
.audit-more td { background: var(--bg-2); }
.audit-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 24px;
  margin: 0;
}
.audit-facts dt { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.audit-facts dd { margin: 2px 0 0; color: var(--text); overflow-wrap: anywhere; }
.audit-facts-wide { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .audit-detail { max-width: none; white-space: normal; }
}
