/* Registre — Update 121 : tableaux et listes en « registre » (filets 1 px, en-tête capitales 12 px sur --linen, 1re colonne collante).
   Tableau : <div class="registre-wrap"><table class="registre">…</table></div>  (+ .is-stackable & data-label sur <td> : empilé < 640 px, flow-root jamais block sur le <table> lui-même).
   Liste : <ul class="registre-list"><li><span class="registre-list__k">Clé</span><span>Valeur</span></li></ul>
   Les corps de texte d'article (.prose table) reprennent la même grammaire. */
.registre-wrap { overflow-x: auto; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.registre,
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}
.registre th,
.registre td,
.prose table th,
.prose table td { padding: 0.875rem var(--s-4); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.registre thead th,
.prose table thead th,
.prose table tr:first-child > th {
	background: var(--linen);
	color: var(--ink-2);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	border-bottom-color: var(--rule-strong);
}
.registre tbody th,
.registre td:first-child { position: sticky; left: 0; background: var(--bg); font-weight: 600; }
.registre tbody tr:last-child > * { border-bottom: 0; }
.registre .is-highlight,
.registre tr.highlight-row { background: color-mix(in srgb, var(--accent) 12%, transparent); }

@media (max-width: 639px) {
	.registre.is-stackable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.registre.is-stackable tbody,
	.registre.is-stackable tr,
	.registre.is-stackable td,
	.registre.is-stackable th { display: flow-root; width: 100%; }
	.registre.is-stackable tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
	.registre.is-stackable td,
	.registre.is-stackable th { position: static; padding: 0.3rem var(--s-4); border: 0; }
	.registre.is-stackable td[data-label]::before { content: attr(data-label); display: flow-root; color: var(--ink-2); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
	.registre.is-stackable tr > :first-child { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; }
	.registre.is-stackable tr > :first-child::before { display: none; }
}

.registre-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.registre-list > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); }
.registre-list__k { color: var(--fg-3); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 640px) {
	.registre-list > li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--grid-gap); }
}
