/* ── Record History tab (js/record-history.js) ──
   One record's slice of the interaction log as a compact timeline. Ported from
   libre-crm (VMDO) css/drawer-detail.css .dd-hist-*. The action badge reuses the
   .audit-action-* palette from page-interaction-log.css so this tab and the
   Interaction Log read identically. */
.rh { padding-top: 0.5rem; }
.rh-empty { margin: 0; padding: 0.75rem 0; color: var(--text-muted, #6b7280); }
.rh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border-color, #e5e7eb);
}
.rh-entry {
  position: relative;
  padding: 0 0 0.9rem 0.9rem;
}
.rh-entry::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color, #e5e7eb);
}
.rh-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.rh-who { font-size: 0.8125rem; font-weight: 600; }
.rh-when {
  font-size: 0.75rem;
  color: var(--text-muted, #6b7280);
  margin-left: auto;
  white-space: nowrap;
}
.rh-summary {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted, #6b7280);
}
.rh-changes { list-style: none; margin: 0; padding: 0; }
.rh-change {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  padding: 1px 0;
}
.rh-field {
  min-width: 130px;
  color: var(--text-muted, #6b7280);
}
.rh-val {
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  word-break: break-word;
}
.rh-from { color: var(--text-muted, #6b7280); text-decoration: line-through; }
.rh-to { font-weight: 600; }
.rh-arrow { color: var(--text-muted, #6b7280); }
.rh-foot {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted, #6b7280);
}
