/**
 * The revision log.
 *
 * `01-functional-spec.md` §5.2: "the single behaviour that separates a data
 * publisher from a blog". So it reads as a record, not as news — dated,
 * chronological, and with the change itself more prominent than the prose
 * around it.
 */

.pem-rev__count {
	font-variant-numeric: tabular-nums;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--ink, #16191d);
	margin: 0 0 1.5rem;
}

.pem-rev__empty {
	padding: 1rem 1.1rem;
	border-left: 4px solid var(--accent, #0b4f6c);
	background: var(--ground-2, #f4f6f8);
	max-width: var(--measure, 34rem);
}

.pem-rev__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.75rem;
	max-width: var(--measure, 34rem);
}

.pem-rev__entry { padding-left: 1rem; border-left: 3px solid var(--rule, #d4d8dd); }

/* A restatement is the thing this page exists for; a first publication is
   audit trail. They must not read alike. */
.pem-rev__entry--restatement { border-left-color: var(--accent, #0b4f6c); }

.pem-rev__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem .75rem;
	margin: 0 0 .3rem;
	font-size: var(--step--2, .78rem);
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink-2, #4a5058);
}

.pem-rev__kind { font-weight: 600; color: var(--ink, #16191d); }
.pem-rev__what { margin: 0 0 .6rem; font-size: var(--step-0, 1rem); line-height: 1.4; }

/* Old and new adjacent, so the size of the change reads without the prose. */
.pem-rev__change {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .3rem .8rem;
	margin: 0 0 .7rem;
	padding: .7rem .85rem;
	background: var(--ground-2, #f4f6f8);
	font-size: var(--step--1, .875rem);
}

.pem-rev__change dt {
	font-size: var(--step--2, .78rem);
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink-2, #4a5058);
	font-weight: 600;
}

.pem-rev__change dd { margin: 0; }
.pem-rev__reason { margin: 0 0 .5rem; line-height: 1.55; font-size: var(--step--1, .875rem); }

.pem-rev__version {
	margin: 0;
	font-size: var(--step--2, .78rem);
	color: var(--ink-2, #4a5058);
	font-variant-numeric: tabular-nums;
}
