/* Optional styles for the Audit Log tab — append to styles.css */

.audit-detail-row td {
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  padding-top: 10px;
  padding-bottom: 14px;
}

.audit-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.audit-detail-block strong {
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.audit-detail-block pre {
  margin: 6px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}

tr.is-expanded > td {
  background: #fffdf5;
}
