/*
    Global styles for the audit-history popup feature. These can't live in scoped .razor.css:
    the MudDialog chrome below is rendered in a portal outside the component's scope, and the
    --ah-act tokens / .ah-mono utility are shared across several sibling components
    (AuditHistoryDialog, AuditActionPill, AuditValue, AuditUserAvatar, AuditDiffCard,
    AuditEntryDetail). Everything else lives in each component's own scoped stylesheet.
*/

/* Let the split-view shell own the whole dialog (no MudDialog content padding). */
.audit-history-dialog .mud-dialog-content {
    padding: 0;
    overflow: hidden;
}

/* Per-action accent colour, consumed via var(--ah-act). */
.ah-act--created  { --ah-act: var(--mud-palette-success); }
.ah-act--updated  { --ah-act: var(--mud-palette-info); }
.ah-act--deleted  { --ah-act: var(--mud-palette-error); }
.ah-act--restored { --ah-act: var(--mud-palette-warning); }

/* Monospace utility for ids / values / timestamps. */
.ah-mono { font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace; }
