/* Diamante Bridge Register — reading page and listing. Uses the theme's --dbt-* tokens, with fallbacks. */

.dbreg-agreement { padding-bottom: 4rem; }

.dbreg-eyebrow {
	margin: 0 0 .5rem;
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--dbt-ink-soft, #5b6668);
}
.dbreg-eyebrow a { color: inherit; }

.dbreg-status { margin: .25rem 0 0; color: var(--dbt-ink-soft, #5b6668); }

.dbreg-banner {
	margin: 1.5rem 0;
	padding: .75rem 1rem;
	border-left: 4px solid var(--dbt-amber, #d99a1e);
	border-radius: var(--dbt-radius, 8px);
	background: var(--dbt-surface, #f6f4ef);
}

.dbreg-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.dbreg-toc { font-size: .9rem; }
.dbreg-toc summary { margin-bottom: .5rem; font-weight: 700; cursor: pointer; }
.dbreg-toc ul { margin: 0; padding: 0; list-style: none; }
.dbreg-toc ul ul {
	margin: .25rem 0 .6rem;
	padding-left: .9rem;
	border-left: 1px solid var(--dbt-line, #e2ded6);
}
.dbreg-toc li { margin: .3rem 0; line-height: 1.35; }
.dbreg-toc a { color: var(--dbt-ink, #1e2528); text-decoration: none; }
.dbreg-toc a:hover,
.dbreg-toc a:focus { color: var(--dbt-accent, #00848c); text-decoration: underline; }

@media (min-width: 960px) {
	.dbreg-layout--toc { grid-template-columns: 17rem minmax(0, 1fr); }
	.dbreg-toc {
		position: sticky;
		top: 1.5rem;
		align-self: start;
		max-height: calc(100vh - 3rem);
		overflow-y: auto;
	}
}

.dbreg-body { max-width: 46rem; line-height: 1.7; }
.dbreg-body :is(h1, h2, h3, h4) { scroll-margin-top: 5rem; }
/* Imported texts wrap whole headings in <strong>; the heading typeface has no bold,
   so the browser fakes one and letters render hollow. Headings carry their own weight. */
.dbreg-body :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; }
.dbreg-body blockquote {
	margin: 1.5rem 0;
	padding: .5rem 1rem;
	border-left: 4px solid var(--dbt-accent, #00848c);
	background: var(--dbt-surface, #f6f4ef);
}
.dbreg-body hr { border: 0; border-top: 1px solid var(--dbt-line, #e2ded6); margin: 2rem 0; }

.dbreg-btn {
	display: inline-block;
	padding: .55rem 1.1rem;
	border-radius: 999px;
	background: var(--dbt-accent, #00848c);
	color: #fff;
	text-decoration: none;
}
.dbreg-btn:hover,
.dbreg-btn:focus { background: var(--dbt-accent-hover, #006c73); color: #fff; }

.dbreg-about {
	max-width: 46rem;
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid var(--dbt-line, #e2ded6);
	font-size: .92rem;
}
.dbreg-about summary { font-weight: 700; cursor: pointer; }
.dbreg-about dl {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: .4rem 1.25rem;
	margin: 1rem 0 0;
}
.dbreg-about dt { font-weight: 700; }
.dbreg-about dd { margin: 0; }
.dbreg-versions { margin: 0; padding-left: 1rem; }

/* [dbc_register] listing */
.dbreg-register__intro { max-width: 46rem; }
.dbreg-register__group { margin-top: 2rem; }
.dbreg-register__note { color: var(--dbt-ink-soft, #5b6668); }
.dbreg-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.dbreg-item {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--dbt-line, #e2ded6);
}
.dbreg-item__title { font-weight: 700; font-size: 1.05rem; }
.dbreg-item__meta { font-size: .88rem; color: var(--dbt-ink-soft, #5b6668); }
