/* Page rules of the audit_ui package, linked by the base layout (web/templating.py module_stylesheets). */
.audit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .75rem; font-size: var(--text-ui); }
.audit-head strong { font-weight: 650; }
.audit-head time { font-size: var(--text-meta); color: var(--ink-soft); white-space: nowrap; }
.audit-who { color: var(--ink-soft); font-size: var(--text-meta); }
.audit-changes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: .5rem 0 0; padding: 0; border: 0; background: none; font-size: var(--text-meta); }
.audit-changes dd + dt { margin-top: .4rem; }
.audit-changes dt { color: var(--ink-soft); font-size: var(--text-meta); font-weight: 400; }
.audit-changes dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.audit-changes del { background: none; color: var(--ink-soft); text-decoration-color: var(--strike-line); }
.audit-changes ins { background: none; color: var(--ink); text-decoration: none; font-weight: 600; }
.audit-reason { margin: .5rem 0 0; padding: .5rem .7rem; border-radius: var(--control-radius); background: var(--surface); font-size: var(--text-meta); }
.audit-reason b { font-weight: 600; color: var(--ink-soft); margin-right: .3rem; }
.audit-fields { margin-top: .45rem; font-size: var(--text-meta); }
.audit-fields > summary { color: var(--accent); cursor: pointer; font-weight: 600; }
.audit-fields ul { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; }
.filter-record { grid-column: 1 / -1; margin: 0; font-size: var(--text-ui); }
