/* ===========================================================================
   AniMatch - Info page only: the heuristics table and the rank reference.
   .doc-section is shared chrome and lives in css/forms.css.
   =========================================================================== */

/* --- The heuristics table ------------------------------------------------ */
.doc-table {
	--bs-table-bg: none;
	--bs-table-color: var(--ink);
	--bs-table-border-color: var(--rule);
}

.doc-table thead th {
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	color: var(--ink-dim);
	border-bottom: 1px solid var(--rule-strong);
	white-space: nowrap;
}

.doc-table td { vertical-align: top; }

.doc-table .weight-cell {
	font-family: var(--figure);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.info-rank-badge {
	width: 40px;
	height: auto;
	flex: 0 0 auto;
}

.rank-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
	gap: 0.35rem 2rem;
}

.rank-row {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--rule);
}

.rank-row-name {
	font-family: var(--display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.1rem;
	margin-right: 0.5rem;
}

.rank-row-range {
	font-family: var(--figure);
	font-variant-numeric: tabular-nums;
	font-size: 0.78rem;
	color: var(--ink-dim);
}

.rank-row-desc {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ink-dim);
}
