/* ============================================================
   Tier A - Reference-list restyle  (feature: featRefs)
   Turns the Default theme's run-on references block into a
   scannable, separated list. Presentational only; targets the
   references item inside the article details object. Neutral colour
   (no new brand palette introduced). Reversible via the toggle.
   ============================================================ */

.obj_article_details .item.references .value {
	font-size: 0.95rem;
	line-height: 1.55;
}

/* Default theme typically renders each parsed citation as its own <p>
   (or <div>) inside .value. Give each a hairline separator + breathing room. */
.obj_article_details .item.references .value > p,
.obj_article_details .item.references .value > div,
.obj_article_details .item.references .references > li,
.obj_article_details .item.references .references > p {
	margin: 0;
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.obj_article_details .item.references .value > p:last-child,
.obj_article_details .item.references .value > div:last-child {
	border-bottom: 0;
}

/* If references happen to be an ordered list, render tidy numbered chips.
   Neutral grey - not a brand colour - to respect "no new colour system". */
.obj_article_details .item.references ol {
	counter-reset: synthref;
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.obj_article_details .item.references ol > li {
	counter-increment: synthref;
	position: relative;
	padding: 0.6rem 0 0.6rem 2.4rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.obj_article_details .item.references ol > li:last-child {
	border-bottom: 0;
}
.obj_article_details .item.references ol > li::before {
	content: counter(synthref);
	position: absolute;
	left: 0;
	top: 0.6rem;
	width: 1.7rem;
	height: 1.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.06);
	color: #333;
	font-size: 0.78rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
