/* =========================================================================
   DocuPost — premium documentation layout
   All colours are variables scoped to .dcp-root; override them freely.
   ========================================================================= */

.dcp-root {
	/* Injected by PHP: --dcp-accent, --dcp-accent-soft, --dcp-radius,
	   --dcp-size, --dcp-measure, --dcp-canvas, --dcp-font, --dcp-font-head */
	--dcp-bg: #ffffff;
	--dcp-surface: #f6f7f9;
	--dcp-surface-2: #eef0f4;
	--dcp-text: #14161c;
	--dcp-text-soft: #4c5566;
	--dcp-muted: #737f92;
	--dcp-border: #e3e6ec;
	--dcp-border-strong: #cfd4de;
	--dcp-code-bg: #f4f5f8;
	--dcp-shadow: 0 1px 2px rgba(16, 20, 32, .05), 0 12px 32px -18px rgba(16, 20, 32, .22);
	--dcp-sticky-top: 24px;
	--dcp-scale: 1;
	--dcp-gutter: 24px;
	--dcp-railw: 262px;
	--dcp-railw-right: 282px;
	--dcp-rail-gap: 40px;

	color-scheme: light;
	font-family: var(--dcp-font);
	color: var(--dcp-text);
	background: var(--dcp-bg);
	font-size: calc(var(--dcp-size) * var(--dcp-scale));
	line-height: 1.7;
	position: relative;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

.dcp-root[data-theme="sepia"] {
	--dcp-bg: #fbf6ec;
	--dcp-surface: #f4ecdd;
	--dcp-surface-2: #ece1cd;
	--dcp-text: #2c2418;
	--dcp-text-soft: #5a4d3a;
	--dcp-muted: #7d6d55;
	--dcp-border: #e2d5bd;
	--dcp-border-strong: #cdbb9c;
	--dcp-code-bg: #f2e9d8;
	color-scheme: light;
}

.dcp-root[data-theme="dark"] {
	--dcp-bg: #0c0e14;
	--dcp-surface: #13161f;
	--dcp-surface-2: #1a1e2a;
	--dcp-text: #e9ecf3;
	--dcp-text-soft: #b3bccd;
	--dcp-muted: #8b95a8;
	--dcp-border: #232838;
	--dcp-border-strong: #333a4d;
	--dcp-code-bg: #13161f;
	--dcp-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -20px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	.dcp-root[data-default-theme="auto"]:not([data-theme]) {
		--dcp-bg: #0c0e14;
		--dcp-surface: #13161f;
		--dcp-surface-2: #1a1e2a;
		--dcp-text: #e9ecf3;
		--dcp-text-soft: #b3bccd;
		--dcp-muted: #8b95a8;
		--dcp-border: #232838;
		--dcp-border-strong: #333a4d;
		--dcp-code-bg: #13161f;
		color-scheme: dark;
	}
}

.dcp-root *,
.dcp-root *::before,
.dcp-root *::after { box-sizing: border-box; }

/* Nothing inside the layout may become a clipping ancestor — that is what
   silently disables the sticky rails. */
.dcp-shell,
.dcp-grid,
.dcp-rail,
.dcp-main { overflow: visible; }

.dcp-root a { color: var(--dcp-accent); }

/* Neutralise theme wrappers that constrain the canvas in content mode. */
body.dcp-mode-template .site-content,
body.dcp-mode-template .content-area,
body.dcp-mode-template .nv-content-wrap { max-width: none; }

/* -------------------------------------------------------------------------
   Reading progress
   ---------------------------------------------------------------------- */

.dcp-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	background: transparent;
	z-index: 60;
	pointer-events: none;
}
.dcp-progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--dcp-accent), var(--dcp-accent-soft));
	transition: width .12s linear;
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.dcp-shell { display: block; }

.dcp-hero {
	max-width: var(--dcp-canvas);
	margin: 0 auto;
	padding: clamp(28px, 5vw, 64px) var(--dcp-gutter) 20px;
	position: relative;
}
.dcp-hero::before {
	content: none;
	position: absolute;
	inset: 0 0 auto 0;
	height: 340px;
	background: none;
	pointer-events: none;
	z-index: 0;
}
.dcp-hero > * { position: relative; z-index: 1; }
.dcp-root .dcp-hero { background: var(--dcp-bg); color: var(--dcp-text); }
.dcp-root .dcp-title { background: none; color: var(--dcp-text); -webkit-text-fill-color: currentColor; }
.dcp-hero > .dcp-takeaways,
.dcp-hero > .dcp-fig--takeaways { margin: 20px 0 0; max-width: var(--dcp-measure); }
.dcp-root .dcp-hero > :last-child { margin-bottom: 0; }
.dcp-root .dcp-prose > :first-child { margin-top: 0; }

.dcp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-size: .78em;
	color: var(--dcp-muted);
}
.dcp-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.dcp-crumbs a { color: var(--dcp-muted); text-decoration: none; }
.dcp-crumbs a:hover { color: var(--dcp-accent); }

.dcp-badges { margin: 0 0 12px; }
.dcp-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--dcp-accent);
	background: color-mix(in srgb, var(--dcp-accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--dcp-accent) 24%, transparent);
}

.dcp-title {
	font-family: var(--dcp-font-head);
	font-size: clamp(2rem, 1.2rem + 2.8vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -.016em;
	font-weight: 800;
	font-optical-sizing: auto;
	margin: 0 0 .5em;
	max-width: 19ch;
	color: var(--dcp-text);
	text-wrap: balance;
}

.dcp-subtitle {
	font-size: 1.12em;
	line-height: 1.6;
	color: var(--dcp-text-soft);
	max-width: 62ch;
	margin: 0 0 26px;
}

.dcp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	font-size: .84em;
	color: var(--dcp-muted);
	padding-top: 6px;
	border-top: 1px solid var(--dcp-border);
}
.dcp-meta-author { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.dcp-meta-author span { display: flex; flex-direction: column; line-height: 1.35; }
.dcp-meta-author strong { color: var(--dcp-text); font-weight: 600; font-size: 1.02em; }
.dcp-meta-author em { font-style: normal; }
.dcp-avatar { border-radius: 50%; display: block; }
.dcp-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.dcp-meta-time::before {
	content: "";
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--dcp-accent);
	display: inline-block;
}

/* The cover sits on the same measure as the prose, so the column reads as
   one object instead of a banner floating over a narrower article. */
.dcp-cover {
	margin: 30px 0 0;
	max-width: var(--dcp-measure);
	border-radius: calc(var(--dcp-radius) * 1.2);
	overflow: hidden;
	border: 1px solid var(--dcp-border);
	background: var(--dcp-surface);
}
.dcp-root.is-wide .dcp-cover { max-width: none; }
.dcp-cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 62vh;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
   Grid
   ---------------------------------------------------------------------- */

.dcp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dcp-rail-gap);
	max-width: var(--dcp-canvas);
	margin: 0 auto;
	padding: 8px var(--dcp-gutter) 72px;
	/* Rails must stretch to the row height or position:sticky has no range. */
	align-items: stretch;
}

@media (min-width: 1060px) {
	.dcp-root.has-left .dcp-grid { grid-template-columns: var(--dcp-railw) minmax(0, 1fr); }
	.dcp-root.no-left.has-right .dcp-grid { grid-template-columns: minmax(0, 1fr) var(--dcp-railw-right); }

	/* Line the hero up with the reading column rather than the page edge —
	   both sides, so the cover image matches the prose beneath it. */
	.dcp-root.has-left .dcp-hero {
		padding-left: calc(var(--dcp-gutter) + var(--dcp-railw) + var(--dcp-rail-gap));
	}
	.dcp-root.has-right .dcp-hero {
		padding-right: calc(var(--dcp-gutter) + var(--dcp-railw-right) + var(--dcp-rail-gap));
	}
}
@media (min-width: 1340px) {
	.dcp-root { --dcp-rail-gap: 52px; }
	.dcp-root.has-left.has-right .dcp-grid {
		grid-template-columns: var(--dcp-railw) minmax(0, 1fr) var(--dcp-railw-right);
	}
}

.dcp-main { min-width: 0; }

/* Keep learning navigation visible on the right, including compact layouts. */
@media (min-width: 1060px) and (max-width: 1339px) {
	.dcp-root.has-learning.has-left .dcp-grid { grid-template-columns: 170px minmax(0, 1fr) 230px; gap: 24px; }
}
@media (max-width: 1059px) {
	.dcp-root.has-tools .dcp-rail--right { display: block; grid-column: 1; grid-row: 1; }
	.dcp-root.has-tools .dcp-main { grid-column: 1; grid-row: 2; }
	.dcp-root.has-tools .dcp-rail--right .dcp-rail-inner { position: static; max-height: none; overflow: visible; }
	.dcp-root.has-tools .dcp-rail--right .dcp-rail-inner > :not(.da-docupost-navigation):not(.dcp-assistant-control) { display: none; }
}

/* The summary is a prominent part of the article header. */
.dcp-root .dcp-hero > .dcp-takeaways,
.dcp-root .dcp-hero > .dcp-fig--takeaways {
	background: #edf8f5; color: #183e39; border: 1px solid #b5ded4; border-top: 4px solid #087f70;
	border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 10px 28px rgba(8,90,75,.06);
}
.dcp-root .dcp-hero .dcp-takeaways-title { color: #086558; font-size: 15px; text-transform: none; letter-spacing: -.01em; margin-bottom: 18px; }
.dcp-root .dcp-hero .dcp-takeaways li { color: #224940; padding-block: 5px; }
.dcp-root .dcp-hero .dcp-takeaways li::before { background: #078574; }
.dcp-root[data-theme="dark"] .dcp-hero > .dcp-takeaways,
.dcp-root[data-theme="dark"] .dcp-hero > .dcp-fig--takeaways { background: #102f2b; border-color: #2d675d; color: #e6faf4; }
.dcp-root[data-theme="dark"] .dcp-hero .dcp-takeaways-title { color: #79ddc4; }
.dcp-root[data-theme="dark"] .dcp-hero .dcp-takeaways li { color: #d5eee6; }

/* -------------------------------------------------------------------------
   Rails
   ---------------------------------------------------------------------- */

.dcp-rail { min-width: 0; }
.dcp-rail-inner {
	position: sticky;
	top: var(--dcp-sticky-top);
	max-height: calc(100vh - var(--dcp-sticky-top) - 20px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	padding-right: 4px;
}
.dcp-rail-inner::-webkit-scrollbar { width: 6px; }
.dcp-rail-inner::-webkit-scrollbar-thumb { background: var(--dcp-border-strong); border-radius: 4px; }

.dcp-rail-title {
	font-size: .7em;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dcp-muted);
	margin: 0 0 12px;
}

.dcp-drawer-close { display: none; }

/* Progress ring */
.dcp-ringbox {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	margin: 0 0 22px;
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	background: var(--dcp-surface);
}
.dcp-ring { width: 40px; height: 40px; transform: rotate(-90deg); flex: 0 0 auto; }
.dcp-ring circle { fill: none; stroke-width: 4; }
.dcp-ring-track { stroke: var(--dcp-border-strong); }
.dcp-ring-fill {
	stroke: var(--dcp-accent);
	stroke-linecap: round;
	stroke-dasharray: 119.4;
	stroke-dashoffset: 119.4;
	transition: stroke-dashoffset .2s linear;
}
.dcp-ringtext { display: flex; flex-direction: column; line-height: 1.3; }
.dcp-ringtext strong { font-size: .9em; font-weight: 700; }
.dcp-ringtext em { font-style: normal; font-size: .76em; color: var(--dcp-muted); }

/* Table of contents */
.dcp-toc { margin: 0 0 26px; }
.dcp-toc ul { list-style: none; margin: 0; padding: 0; position: relative; }
.dcp-toc ul::before {
	content: "";
	position: absolute;
	left: 0; top: 4px; bottom: 4px;
	width: 2px;
	background: var(--dcp-border);
	border-radius: 2px;
}
.dcp-toc li { margin: 0; position: relative; }
.dcp-toc a {
	display: block;
	padding: 6px 10px 6px 16px;
	font-size: .855em;
	line-height: 1.45;
	color: var(--dcp-text-soft);
	text-decoration: none;
	border-left: 2px solid transparent;
	margin-left: 0;
	border-radius: 0 6px 6px 0;
	transition: color .15s, background .15s, border-color .15s;
}
.dcp-toc a:hover { color: var(--dcp-text); background: var(--dcp-surface); }
.dcp-toc li.dcp-toc-l3 a { padding-left: 30px; font-size: .81em; }
.dcp-toc li.dcp-toc-l4 a { padding-left: 44px; font-size: .79em; color: var(--dcp-muted); }
.dcp-toc a.is-active {
	color: var(--dcp-accent);
	border-left-color: var(--dcp-accent);
	background: color-mix(in srgb, var(--dcp-accent) 8%, transparent);
	font-weight: 600;
}
.dcp-toc a.is-read { color: var(--dcp-muted); }
.dcp-toc.is-numbered ul { counter-reset: dcp-toc; }
.dcp-toc.is-numbered li.dcp-toc-l2 { counter-increment: dcp-toc; }
.dcp-toc.is-numbered li.dcp-toc-l2 > a::before {
	content: counter(dcp-toc) ".";
	margin-right: 7px;
	color: var(--dcp-muted);
	font-variant-numeric: tabular-nums;
}

/* Options */
.dcp-options { margin: 0 0 24px; }
.dcp-optrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.dcp-optlabel { font-size: .78em; color: var(--dcp-muted); }
.dcp-segment {
	display: inline-flex;
	background: var(--dcp-surface);
	border: 1px solid var(--dcp-border);
	border-radius: 8px;
	padding: 2px;
	gap: 2px;
}
.dcp-segment button {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--dcp-text-soft);
	font: inherit;
	font-size: .74em;
	line-height: 1;
	padding: 6px 9px;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.dcp-segment button:hover { color: var(--dcp-text); }
.dcp-segment button.is-on { background: var(--dcp-bg); color: var(--dcp-accent); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dcp-sm { font-size: .8em; }
.dcp-lg { font-size: 1.1em; }

/* Share */
.dcp-share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.dcp-share-btn {
	width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--dcp-border);
	border-radius: 9px;
	background: var(--dcp-surface);
	color: var(--dcp-text-soft);
	font-size: .82em;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s, border-color .15s, color .15s;
}
.dcp-share-btn:hover { color: var(--dcp-accent); border-color: var(--dcp-accent); transform: translateY(-1px); }

/* Right rail cards */
.dcp-railcard {
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	padding: 16px;
	background: var(--dcp-surface);
	margin: 0 0 18px;
}
.dcp-railcard--video { padding: 14px; }
.dcp-cta {
	background: linear-gradient(160deg, var(--dcp-accent), var(--dcp-accent-soft));
	border-color: transparent;
	color: #fff;
}
.dcp-cta-title { font-family: var(--dcp-font-head); font-weight: 700; font-size: 1.02em; margin: 0 0 6px; color: #fff; }
.dcp-cta-text { font-size: .85em; line-height: 1.55; margin: 0 0 14px; color: rgba(255,255,255,.88); }
.dcp-cta-btn {
	display: block;
	text-align: center;
	background: #fff;
	color: var(--dcp-accent);
	font-weight: 700;
	font-size: .87em;
	text-decoration: none;
	padding: 10px 14px;
	border-radius: calc(var(--dcp-radius) - 4px);
	transition: transform .12s;
}
.dcp-cta-btn:hover { transform: translateY(-1px); color: var(--dcp-accent); }
.dcp-chiprow { display: flex; flex-wrap: wrap; gap: 6px; }
.dcp-chip {
	font-size: .76em;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--dcp-bg);
	border: 1px solid var(--dcp-border);
	color: var(--dcp-text-soft);
	text-decoration: none;
}
.dcp-chip:hover { border-color: var(--dcp-accent); color: var(--dcp-accent); }

/* -------------------------------------------------------------------------
   Key takeaways
   ---------------------------------------------------------------------- */

.dcp-takeaways {
	border: 1px solid color-mix(in srgb, var(--dcp-accent) 26%, var(--dcp-border));
	border-radius: var(--dcp-radius);
	background: color-mix(in srgb, var(--dcp-accent) 5%, var(--dcp-bg));
	padding: 20px 24px;
	margin: 0 0 32px;
	max-width: var(--dcp-measure);
}
.dcp-takeaways-title {
	font-size: .72em;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dcp-accent);
	margin: 0 0 10px;
}
.dcp-takeaways ul { margin: 0; padding: 0; list-style: none; }
.dcp-takeaways li {
	position: relative;
	padding-left: 24px;
	margin: 0 0 8px;
	font-size: .95em;
	line-height: 1.6;
	color: var(--dcp-text-soft);
}
.dcp-takeaways li:last-child { margin-bottom: 0; }
.dcp-takeaways li::before {
	content: "";
	position: absolute;
	left: 4px; top: .62em;
	width: 7px; height: 7px;
	border-radius: 2px;
	background: var(--dcp-accent);
	transform: rotate(45deg);
}

/* -------------------------------------------------------------------------
   Prose
   ---------------------------------------------------------------------- */

.dcp-prose { max-width: var(--dcp-measure); }
.dcp-root.is-wide .dcp-prose,
.dcp-root.is-wide .dcp-takeaways { max-width: none; }

.dcp-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.dcp-prose > *:last-child { margin-bottom: 0; }

.dcp-prose {
	font-optical-sizing: auto;
	font-variant-numeric: oldstyle-nums proportional-nums;
	font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
	hanging-punctuation: first last;
}
.dcp-prose p {
	color: var(--dcp-text-soft);
	text-wrap: pretty;
	orphans: 2;
	widows: 2;
}
.dcp-prose strong { color: var(--dcp-text); font-weight: 650; }
.dcp-prose em { font-style: italic; }

/* The opening paragraph carries the reader in; give it more air and weight
   than the body that follows. */
.dcp-prose > p:first-child {
	font-size: 1.12em;
	line-height: 1.62;
	color: var(--dcp-text);
	margin-bottom: 1.5em;
}

/* Numbers, dates and code keep their own figures. */
.dcp-prose code,
.dcp-prose table,
.dcp-prose time { font-variant-numeric: tabular-nums lining-nums; }

.dcp-prose h2,
.dcp-prose h3,
.dcp-prose h4 {
	font-family: var(--dcp-font-head);
	color: var(--dcp-text);
	line-height: 1.25;
	letter-spacing: -.012em;
	scroll-margin-top: calc(var(--dcp-sticky-top) + 56px);
	position: relative;
	outline: none;
}
.dcp-prose h2 {
	font-size: 1.72em;
	font-weight: 700;
	margin-top: 2.3em;
	margin-bottom: .7em;
	padding-top: .8em;
	border-top: 1px solid var(--dcp-border);
	text-wrap: balance;
}
.dcp-prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

/* Numbered sections, when the rail is numbered, so the reader always knows
   where they are in the argument. */
.dcp-root.is-numbered .dcp-prose { counter-reset: dcp-sec; }
.dcp-root.is-numbered .dcp-prose h2 { counter-increment: dcp-sec; }
.dcp-root.is-numbered .dcp-prose h2::before {
	content: counter(dcp-sec, decimal-leading-zero);
	display: block;
	font-family: var(--dcp-font);
	font-size: .42em;
	font-weight: 700;
	letter-spacing: .16em;
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--dcp-accent);
	margin-bottom: .9em;
}
.dcp-prose h3 { font-size: 1.24em; font-weight: 700; margin-top: 1.9em; margin-bottom: .55em; }
.dcp-prose h4 { font-size: 1.06em; font-weight: 700; margin-top: 1.6em; margin-bottom: .45em; }

/* Headings the table of contents ignores still need to look deliberate. */
.dcp-prose h1 {
	font-family: var(--dcp-font-head);
	color: var(--dcp-text);
	font-size: 1.9em;
	font-weight: 780;
	line-height: 1.18;
	letter-spacing: -.018em;
	margin-top: 1.9em;
	margin-bottom: .6em;
}
.dcp-prose h5,
.dcp-prose h6 {
	font-family: var(--dcp-font-head);
	color: var(--dcp-text);
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: .4em;
}
.dcp-prose h5 { font-size: .98em; font-weight: 700; }
.dcp-prose h6 {
	font-size: .78em;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dcp-muted);
}

.dcp-anchor {
	position: absolute;
	left: -.85em;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	text-decoration: none;
	color: var(--dcp-muted);
	font-weight: 400;
	font-size: .8em;
	padding: 0 .2em;
	transition: opacity .15s;
}
.dcp-prose h2:hover .dcp-anchor,
.dcp-prose h3:hover .dcp-anchor,
.dcp-prose h4:hover .dcp-anchor,
.dcp-anchor:focus-visible { opacity: 1; }
@media (max-width: 900px) { .dcp-anchor { display: none; } }

.dcp-prose a {
	color: var(--dcp-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	text-decoration-color: color-mix(in srgb, var(--dcp-accent) 40%, transparent);
	transition: text-decoration-color .15s;
}
.dcp-prose a:hover { text-decoration-color: currentColor; }

.dcp-prose ul,
.dcp-prose ol { padding-left: 1.35em; color: var(--dcp-text-soft); }
.dcp-prose li { margin-bottom: .45em; }
.dcp-prose li::marker { color: var(--dcp-accent); }

.dcp-prose img,
.dcp-prose video {
	max-width: 100%;
	height: auto;
	border-radius: var(--dcp-radius);
	display: block;
}
.dcp-prose figure { margin: 1.8em 0; }
.dcp-prose figcaption {
	font-size: .82em;
	color: var(--dcp-muted);
	margin-top: .7em;
	text-align: center;
}
.dcp-root .dcp-prose img.dcp-zoomable { cursor: zoom-in; }

.dcp-prose hr { border: 0; border-top: 1px solid var(--dcp-border); margin: 2.4em 0; }

/* ---- WordPress block + classic-editor alignment ---------------------- */

/* A documentation column has no room for a true full-bleed block, so wide
   and full blocks fill the reading column instead of overflowing the grid.
   The reader's Width control is what actually widens them. */
.dcp-prose .alignwide,
.dcp-prose .alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.dcp-prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.dcp-prose .alignleft {
	float: left;
	margin: .35em 1.6em 1.1em 0;
	max-width: 50%;
}
.dcp-prose .alignright {
	float: right;
	margin: .35em 0 1.1em 1.6em;
	max-width: 50%;
}
.dcp-prose::after { content: ""; display: block; clear: both; }
@media (max-width: 700px) {
	.dcp-prose .alignleft,
	.dcp-prose .alignright { float: none; margin: 1.4em 0; max-width: 100%; }
}

/* Common blocks the reading column has to hold without breaking. */
.dcp-prose .wp-caption { max-width: 100%; }
.dcp-prose .wp-caption-text,
.dcp-prose .wp-element-caption { font-size: .82em; color: var(--dcp-muted); margin-top: .6em; }
.dcp-prose .wp-block-gallery,
.dcp-prose .wp-block-buttons,
.dcp-prose .wp-block-columns { margin: 1.8em 0; }
.dcp-prose .wp-block-button__link {
	display: inline-block;
	background: var(--dcp-accent);
	color: #fff;
	text-decoration: none;
	font-weight: 650;
	font-size: .9em;
	padding: 11px 20px;
	border-radius: calc(var(--dcp-radius) - 4px);
}
.dcp-prose .wp-block-embed__wrapper,
.dcp-prose .wp-block-embed iframe,
.dcp-prose > iframe,
.dcp-prose > embed,
.dcp-prose > object { max-width: 100%; }
.dcp-prose iframe { max-width: 100%; border-radius: var(--dcp-radius); }
.dcp-prose audio { width: 100%; }
.dcp-prose input,
.dcp-prose select,
.dcp-prose textarea { max-width: 100%; font: inherit; font-size: .95em; }
.dcp-prose dl dt { font-weight: 650; color: var(--dcp-text); margin-top: 1em; }
.dcp-prose dl dd { margin: .25em 0 0; color: var(--dcp-text-soft); }
.dcp-prose ul ul,
.dcp-prose ol ol,
.dcp-prose ul ol,
.dcp-prose ol ul { margin-top: .45em; margin-bottom: .2em; }

/* ---- Right-to-left ---------------------------------------------------- */

[dir="rtl"] .dcp-toc ul::before { left: auto; right: 0; }
[dir="rtl"] .dcp-toc a {
	padding: 6px 16px 6px 10px;
	border-left: 0;
	border-right: 2px solid transparent;
	border-radius: 6px 0 0 6px;
}
[dir="rtl"] .dcp-toc a.is-active { border-right-color: var(--dcp-accent); }
[dir="rtl"] .dcp-toc li.dcp-toc-l3 a { padding-right: 30px; padding-left: 10px; }
[dir="rtl"] .dcp-toc li.dcp-toc-l4 a { padding-right: 44px; padding-left: 10px; }
[dir="rtl"] .dcp-toc.is-numbered li.dcp-toc-l2 > a::before { margin-right: 0; margin-left: 7px; }
[dir="rtl"] .dcp-prose blockquote { border-left: 0; border-right: 3px solid var(--dcp-border-strong); padding: 2px 20px 2px 0; }
[dir="rtl"] .dcp-prose blockquote.dcp-callout { border-right-width: 1px; padding: 16px 18px; }
[dir="rtl"] .dcp-anchor { left: auto; right: -.85em; }
[dir="rtl"] .dcp-takeaways li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .dcp-takeaways li::before { left: auto; right: 4px; }
[dir="rtl"] .dcp-copy { right: auto; left: 10px; }
[dir="rtl"] .dcp-pager-item.is-next { text-align: left; }
[dir="rtl"] .dcp-faq-q { padding: 15px 18px 15px 46px; }
[dir="rtl"] .dcp-faq-q::after { right: auto; left: 20px; }
[dir="rtl"] .dcp-crumbs li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .dcp-prose .alignleft { float: right; margin: .35em 0 1.1em 1.6em; }
[dir="rtl"] .dcp-prose .alignright { float: left; margin: .35em 1.6em 1.1em 0; }
@media (min-width: 1060px) {
	[dir="rtl"] .dcp-root.has-left .dcp-hero {
		padding-left: var(--dcp-gutter);
		padding-right: calc(var(--dcp-gutter) + var(--dcp-railw) + var(--dcp-rail-gap));
	}
}
@media (max-width: 1059px) {
	[dir="rtl"] .dcp-rail--left {
		inset: 0 0 0 auto;
		border-right: 0;
		border-left: 1px solid var(--dcp-border);
		transform: translateX(102%);
	}
	[dir="rtl"] .dcp-root.drawer-open .dcp-rail--left { transform: none; }
	[dir="rtl"] .dcp-drawer-close { right: auto; left: 12px; }
}

/* Blockquote + callouts */
.dcp-prose blockquote {
	margin: 1.8em 0;
	padding: 2px 0 2px 20px;
	border-left: 3px solid var(--dcp-border-strong);
	color: var(--dcp-text-soft);
	font-style: italic;
}
.dcp-prose blockquote.dcp-callout {
	font-style: normal;
	border-left: 0;
	padding: 16px 18px 16px 18px;
	border-radius: var(--dcp-radius);
	background: var(--dcp-surface);
	border: 1px solid var(--dcp-border);
	position: relative;
}
.dcp-prose blockquote.dcp-callout::before {
	content: attr(data-label);
	display: block;
	font-size: .7em;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.dcp-callout--note::before { color: #2563eb; }
.dcp-callout--note { background: color-mix(in srgb, #2563eb 7%, var(--dcp-bg)); border-color: color-mix(in srgb, #2563eb 24%, transparent); }
.dcp-callout--tip::before { color: #059669; }
.dcp-callout--tip { background: color-mix(in srgb, #059669 7%, var(--dcp-bg)); border-color: color-mix(in srgb, #059669 24%, transparent); }
.dcp-callout--warning::before { color: #d97706; }
.dcp-callout--warning { background: color-mix(in srgb, #d97706 8%, var(--dcp-bg)); border-color: color-mix(in srgb, #d97706 26%, transparent); }
.dcp-callout--key::before { color: var(--dcp-accent); }
.dcp-callout--key { background: color-mix(in srgb, var(--dcp-accent) 7%, var(--dcp-bg)); border-color: color-mix(in srgb, var(--dcp-accent) 24%, transparent); }
.dcp-prose blockquote.dcp-callout p:last-child { margin-bottom: 0; }

/* Code */
.dcp-prose code {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: .86em;
	background: var(--dcp-code-bg);
	border: 1px solid var(--dcp-border);
	padding: .12em .38em;
	border-radius: 5px;
}
.dcp-prose pre {
	background: var(--dcp-code-bg);
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	padding: 16px 18px;
	overflow-x: auto;
	font-size: .86em;
	line-height: 1.6;
}
.dcp-prose pre code { background: none; border: 0; padding: 0; font-size: 1em; }
.dcp-codewrap { position: relative; }
.dcp-copy {
	position: absolute;
	top: 10px; right: 10px;
	font: inherit;
	font-size: .72em;
	padding: 5px 10px;
	border-radius: 7px;
	border: 1px solid var(--dcp-border-strong);
	background: var(--dcp-bg);
	color: var(--dcp-text-soft);
	cursor: pointer;
	opacity: 0;
	transition: opacity .15s;
}
.dcp-codewrap:hover .dcp-copy,
.dcp-copy:focus-visible { opacity: 1; }

/* Tables */
.dcp-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	margin: 1.8em 0;
}
.dcp-table-wrap table { border-collapse: collapse; width: 100%; font-size: .9em; margin: 0; }
.dcp-table-wrap th,
.dcp-table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--dcp-border); }
.dcp-table-wrap th { background: var(--dcp-surface); font-weight: 650; color: var(--dcp-text); }
.dcp-table-wrap tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------------- */

.dcp-faq {
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	overflow: hidden;
	margin: 1.4em 0 2em;
	max-width: var(--dcp-measure);
}
.dcp-faq-item + .dcp-faq-item { border-top: 1px solid var(--dcp-border); }
.dcp-faq-q {
	cursor: pointer;
	list-style: none;
	padding: 15px 46px 15px 18px;
	font-weight: 650;
	color: var(--dcp-text);
	position: relative;
	font-size: .97em;
	line-height: 1.5;
	transition: background .15s;
}
.dcp-faq-q::-webkit-details-marker { display: none; }
.dcp-faq-q:hover { background: var(--dcp-surface); }
.dcp-faq-q::after {
	content: "";
	position: absolute;
	right: 20px; top: 50%;
	width: 9px; height: 9px;
	border-right: 2px solid var(--dcp-muted);
	border-bottom: 2px solid var(--dcp-muted);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
.dcp-faq-item[open] .dcp-faq-q { background: var(--dcp-surface); }
.dcp-faq-item[open] .dcp-faq-q::after { transform: translateY(-20%) rotate(-135deg); border-color: var(--dcp-accent); }
.dcp-faq-a { padding: 2px 18px 18px; color: var(--dcp-text-soft); font-size: .95em; }
.dcp-faq-a > *:last-child { margin-bottom: 0; }
.dcp-root .dcp-faq { border: 0; background: transparent; overflow: visible; display: grid; gap: 12px; }
.dcp-root .dcp-faq-item, .dcp-root .dcp-prose details { border: 1px solid var(--dcp-border); border-radius: 14px; background: var(--dcp-bg); box-shadow: 0 5px 16px rgba(0,0,0,.035); overflow: hidden; }
.dcp-root .dcp-prose details { margin-block: 12px; }
.dcp-root .dcp-faq-q, .dcp-root .dcp-prose details > summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; position: relative; font-size: 1em; font-weight: 650; line-height: 1.55; color: var(--dcp-text); background: transparent; }
.dcp-root .dcp-prose summary::-webkit-details-marker { display: none; }
.dcp-root .dcp-faq-q::after, .dcp-root .dcp-prose details > summary::after { content: '+'; border: 0; width: 24px; height: 24px; top: 50%; right: 18px; transform: translateY(-50%); font-size: 22px; line-height: 24px; text-align: center; color: var(--dcp-accent); }
.dcp-root details[open] > summary::after { content: '−'; transform: translateY(-50%); }
.dcp-root details[open] { border-color: var(--dcp-accent); }
.dcp-root summary:hover, .dcp-root summary:focus-visible { background: var(--dcp-surface); color: var(--dcp-text); }
.dcp-root summary:focus-visible { outline: 2px solid var(--dcp-accent); outline-offset: -3px; }
.dcp-root .dcp-faq-a { padding: 0 22px 24px; line-height: 1.8; }
.dcp-root .dcp-prose details:not(.dcp-faq-item) > :not(summary) { margin-inline: 22px; }
[dir="rtl"] .dcp-root summary { padding: 20px 22px 20px 52px; }
[dir="rtl"] .dcp-root summary::after { right: auto; left: 18px; }

/* -------------------------------------------------------------------------
   Video
   ---------------------------------------------------------------------- */

.dcp-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--dcp-radius);
	overflow: hidden;
	background: #0b0d12;
	border: 1px solid var(--dcp-border);
	margin: 0 0 32px;
	max-width: var(--dcp-measure);
	box-shadow: var(--dcp-shadow);
}
.dcp-prose .dcp-video { margin: 2em 0; }
.dcp-railcard--video .dcp-video { margin: 0; box-shadow: none; }
.dcp-video iframe,
.dcp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dcp-video-poster {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform .5s, filter .3s;
}
.dcp-video-play {
	position: absolute;
	inset: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	border: 0;
	cursor: pointer;
	background: linear-gradient(180deg, rgba(6,8,14,.15), rgba(6,8,14,.62));
	color: #fff;
	font: inherit;
	padding: 20px;
}
.dcp-video-icon {
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--dcp-accent);
	box-shadow: 0 8px 30px -6px rgba(0,0,0,.6);
	display: grid;
	place-items: center;
	transition: transform .18s, background .18s;
}
.dcp-video-icon::before {
	content: "";
	width: 0; height: 0;
	border-left: 17px solid #fff;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	margin-left: 5px;
}
.dcp-video-label { font-size: .86em; font-weight: 650; text-shadow: 0 1px 12px rgba(0,0,0,.7); text-align: center; }
.dcp-video-play:hover .dcp-video-icon { transform: scale(1.09); }
.dcp-video-play:hover ~ .dcp-video-poster,
.dcp-video:hover .dcp-video-poster { transform: scale(1.03); }
.dcp-railcard--video .dcp-video-icon { width: 44px; height: 44px; }
.dcp-railcard--video .dcp-video-icon::before { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
.dcp-railcard--video .dcp-video-label { font-size: .74em; }

/* Sticky mini player */
.dcp-video.is-mini {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: min(340px, 46vw);
	margin: 0;
	z-index: 70;
	box-shadow: 0 18px 50px -12px rgba(0,0,0,.55);
	animation: dcp-pop .22s ease-out;
}
@keyframes dcp-pop { from { transform: translateY(14px) scale(.96); opacity: 0; } }
.dcp-video-shim { display: block; }
.dcp-mini-close {
	position: absolute;
	top: 6px; right: 6px;
	z-index: 3;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: 0;
	background: rgba(10,12,18,.75);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	display: none;
}
.dcp-video.is-mini .dcp-mini-close { display: block; }

/* -------------------------------------------------------------------------
   End matter
   ---------------------------------------------------------------------- */

.dcp-endmatter { max-width: var(--dcp-measure); margin-top: 56px; }
.dcp-root.is-wide .dcp-endmatter { max-width: none; }

.dcp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.dcp-tags a {
	font-size: .8em;
	color: var(--dcp-muted);
	text-decoration: none;
	border: 1px solid var(--dcp-border);
	padding: 4px 11px;
	border-radius: 999px;
}
.dcp-tags a:hover { color: var(--dcp-accent); border-color: var(--dcp-accent); }

.dcp-authorbox {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	background: var(--dcp-surface);
	margin: 0 0 32px;
}
.dcp-authorname { font-weight: 700; margin: 0 0 4px; }
.dcp-authorbio { margin: 0; font-size: .9em; color: var(--dcp-text-soft); line-height: 1.6; }

.dcp-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0 0 44px;
}
@media (max-width: 640px) { .dcp-pager { grid-template-columns: 1fr; } }
.dcp-pager-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 18px;
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	text-decoration: none;
	background: var(--dcp-bg);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dcp-pager-item:hover { border-color: var(--dcp-accent); transform: translateY(-2px); box-shadow: var(--dcp-shadow); }
.dcp-pager-item.is-next { text-align: right; }
.dcp-pager-label { font-size: .72em; letter-spacing: .08em; text-transform: uppercase; color: var(--dcp-muted); font-weight: 700; }
.dcp-pager-title { font-weight: 600; color: var(--dcp-text); font-size: .95em; line-height: 1.4; }

.dcp-endtitle {
	font-family: var(--dcp-font-head);
	font-size: 1.35em;
	font-weight: 750;
	margin: 0 0 18px;
	color: var(--dcp-text);
}

.dcp-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}
.dcp-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--dcp-border);
	border-radius: var(--dcp-radius);
	overflow: hidden;
	text-decoration: none;
	background: var(--dcp-bg);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dcp-card:hover { border-color: var(--dcp-accent); transform: translateY(-3px); box-shadow: var(--dcp-shadow); }
.dcp-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--dcp-surface); }
.dcp-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dcp-card-body { padding: 14px 16px 16px; display: block; }
.dcp-card-title { display: block; font-weight: 650; color: var(--dcp-text); font-size: .95em; line-height: 1.4; margin-bottom: 6px; }
.dcp-card-excerpt { display: block; font-size: .83em; color: var(--dcp-muted); line-height: 1.55; }

.dcp-comments { border-top: 1px solid var(--dcp-border); padding-top: 24px; }
.dcp-comments > summary {
	cursor: pointer;
	list-style: none;
	font-weight: 650;
	color: var(--dcp-text-soft);
	padding: 10px 16px;
	border: 1px solid var(--dcp-border);
	border-radius: 999px;
	display: inline-block;
	font-size: .88em;
}
.dcp-comments > summary::-webkit-details-marker { display: none; }
.dcp-comments > summary:hover { border-color: var(--dcp-accent); color: var(--dcp-accent); }
.dcp-comments-body { padding-top: 22px; }

/* -------------------------------------------------------------------------
   Mobile drawer, floating controls, toast
   ---------------------------------------------------------------------- */

.dcp-mobilebar,
.dcp-scrim { display: none; }

.dcp-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid var(--dcp-border);
	background: var(--dcp-bg);
	color: var(--dcp-text-soft);
	font-size: 17px;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s;
	z-index: 55;
	box-shadow: var(--dcp-shadow);
}
.dcp-totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.dcp-totop:hover { color: var(--dcp-accent); border-color: var(--dcp-accent); }

.dcp-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%) translateY(12px);
	background: var(--dcp-text);
	color: var(--dcp-bg);
	font-size: .85em;
	padding: 9px 18px;
	border-radius: 999px;
	z-index: 90;
	opacity: 0;
	transition: opacity .2s, transform .2s;
	pointer-events: none;
}
.dcp-toast.is-on { opacity: 1; transform: translateX(-50%); }

.dcp-resume {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--dcp-bg);
	border: 1px solid var(--dcp-border);
	box-shadow: var(--dcp-shadow);
	border-radius: 999px;
	padding: 8px 10px 8px 18px;
	z-index: 80;
	font-size: .86em;
	animation: dcp-pop .25s ease-out;
}
.dcp-resume button {
	font: inherit;
	font-size: .95em;
	border: 0;
	cursor: pointer;
	border-radius: 999px;
	padding: 7px 14px;
}
.dcp-resume .dcp-resume-go { background: var(--dcp-accent); color: #fff; font-weight: 650; }
.dcp-resume .dcp-resume-no { background: transparent; color: var(--dcp-muted); }

@media (max-width: 1059px) {
	.dcp-rail--right { display: none; }

	.dcp-rail--left {
		position: fixed;
		inset: 0 auto 0 0;
		width: min(330px, 88vw);
		background: var(--dcp-bg);
		border-right: 1px solid var(--dcp-border);
		z-index: 85;
		transform: translateX(-102%);
		transition: transform .26s cubic-bezier(.4, 0, .2, 1);
		padding: 20px 18px;
		overflow-y: auto;
	}
	.dcp-root.drawer-open .dcp-rail--left { transform: none; }
	.dcp-rail--left .dcp-rail-inner { position: static; max-height: none; overflow: visible; }

	.dcp-drawer-close {
		display: block;
		position: absolute;
		top: 12px; right: 12px;
		width: 32px; height: 32px;
		border-radius: 50%;
		border: 1px solid var(--dcp-border);
		background: var(--dcp-surface);
		color: var(--dcp-text-soft);
		font-size: 19px;
		line-height: 1;
		cursor: pointer;
	}

	.dcp-scrim {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(8, 10, 16, .45);
		z-index: 84;
		opacity: 0;
		transition: opacity .22s;
		pointer-events: none;
	}
	.dcp-root.drawer-open .dcp-scrim { opacity: 1; pointer-events: auto; }
	.dcp-scrim[hidden] { display: block; }

	.dcp-mobilebar {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		position: fixed;
		left: 50%;
		bottom: 18px;
		transform: translateX(-50%);
		z-index: 56;
		background: var(--dcp-text);
		color: var(--dcp-bg);
		border: 0;
		border-radius: 999px;
		padding: 10px 18px;
		font: inherit;
		font-size: .84em;
		font-weight: 600;
		cursor: pointer;
		box-shadow: 0 12px 34px -10px rgba(0,0,0,.5);
		max-width: calc(100vw - 92px);
	}
	.dcp-root.drawer-open .dcp-mobilebar { opacity: 0; pointer-events: none; }
	.dcp-mobilebar-icon {
		width: 15px; height: 11px;
		border-top: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		position: relative;
		flex: 0 0 auto;
	}
	.dcp-mobilebar-icon::after {
		content: "";
		position: absolute;
		top: 50%; left: 0;
		width: 100%;
		border-top: 2px solid currentColor;
		transform: translateY(-1px);
	}
	.dcp-mobilebar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.dcp-mobilebar-pct { opacity: .6; font-variant-numeric: tabular-nums; }

	.dcp-totop { bottom: 74px; }
	.dcp-video.is-mini { bottom: 74px; width: min(260px, 62vw); }
	.dcp-grid { gap: 0; }
}

@media (max-width: 700px) {
	.dcp-root { --dcp-gutter: 18px; }
	.dcp-hero { padding-top: 22px; }
	.dcp-meta { gap: 8px 16px; font-size: .8em; }
}

/* Interactive assistant: a first-class article control. */
.dcp-assistant-control {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin: 0 0 18px; padding: 18px;
	border: 1px solid color-mix(in srgb, var(--dcp-accent) 30%, var(--dcp-border));
	border-radius: 16px; background: color-mix(in srgb, var(--dcp-accent) 7%, var(--dcp-bg));
	box-shadow: 0 10px 28px rgba(20, 26, 42, .06);
}
.dcp-assistant-control__copy { display: grid; gap: 3px; min-width: 0; }
.dcp-assistant-control__eyebrow { color: var(--dcp-muted); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.dcp-assistant-control .da-label { color: var(--dcp-text); font-size: 14px; font-weight: 750; line-height: 1.35; }
.dcp-assistant-control__status { color: var(--dcp-accent); font-size: 11px; font-weight: 700; }
.dcp-assistant-control .da-switch { position: relative; display: inline-flex; width: 48px; height: 28px; flex: 0 0 48px; cursor: pointer; }
.dcp-assistant-control .da-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dcp-assistant-control .da-slider { position: absolute; inset: 0; border: 1px solid var(--dcp-border-strong); border-radius: 999px; background: var(--dcp-border-strong); transition: .2s ease; }
.dcp-assistant-control .da-slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.22); transition: transform .2s ease; }
.dcp-assistant-control input:checked + .da-slider { background: var(--dcp-accent); border-color: var(--dcp-accent); }
.dcp-assistant-control input:checked + .da-slider::before { transform: translateX(20px); }
.dcp-assistant-control input:focus-visible + .da-slider { outline: 3px solid color-mix(in srgb, var(--dcp-accent) 28%, transparent); outline-offset: 3px; }
.dcp-root.is-assistant-off .dcp-assistant-control { background: var(--dcp-surface); border-color: var(--dcp-border); box-shadow: none; }
.dcp-root.is-assistant-off .dcp-assistant-control__status { color: var(--dcp-muted); }
[dir="rtl"] .dcp-assistant-control .da-slider::before { left: auto; right: 3px; }
[dir="rtl"] .dcp-assistant-control input:checked + .da-slider::before { transform: translateX(-20px); }

/* Premium FAQ: isolated cards, numbered questions and unambiguous state. */
.dcp-root .dcp-faq-q:focus-visible { outline: 3px solid var(--dcp-accent); outline-offset: -4px; border-radius: 16px; }
.dcp-root .dcp-faq-item > .dcp-faq-q:hover { background: var(--dcp-surface); color: var(--dcp-text); }
.dcp-root .dcp-faq-q > .schema-faq-question { margin: 0; padding: 0; color: inherit; font: inherit; overflow-wrap: anywhere; }
.dcp-root .dcp-faq-a > .schema-faq-answer { margin: 0 0 1em; color: inherit; font: inherit; }
.dcp-root .dcp-faq-a > .schema-faq-answer:last-child { margin-bottom: 0; }
.dcp-root .dcp-faq-item { scroll-margin-top: 100px; }
.dcp-root .dcp-faq { counter-reset: dcp-faq; display: grid; gap: 14px; margin: 1.75em 0 2.5em; border: 0; background: transparent; overflow: visible; }
.dcp-root .dcp-prose h2:has(+ .dcp-faq), .dcp-root .dcp-prose h3:has(+ .dcp-faq) { margin-bottom: .65em; }
.dcp-root .dcp-prose h2:has(+ .dcp-faq)::after, .dcp-root .dcp-prose h3:has(+ .dcp-faq)::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 12px; border-radius: 999px; background: var(--dcp-accent); }
.dcp-root .dcp-faq-item { counter-increment: dcp-faq; border: 1px solid var(--dcp-border); border-radius: 18px; background: var(--dcp-bg); box-shadow: 0 8px 25px rgba(16,31,48,.055); overflow: clip; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.dcp-root .dcp-faq-item + .dcp-faq-item { border-top: 1px solid var(--dcp-border); }
.dcp-root .dcp-faq-item[open] { border-color: color-mix(in srgb, var(--dcp-accent) 48%, var(--dcp-border)); box-shadow: 0 14px 38px color-mix(in srgb, var(--dcp-accent) 12%, transparent); transform: translateY(-1px); }
.dcp-root .dcp-faq-q { display: grid; grid-template-columns: 34px minmax(0,1fr) 30px; align-items: center; gap: 14px; padding: 20px; background: var(--dcp-bg); color: var(--dcp-text); font-family: var(--dcp-font-head); font-size: 1em; font-weight: 720; line-height: 1.45; }
.dcp-root .dcp-faq-q::before { content: counter(dcp-faq, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--dcp-accent) 10%, var(--dcp-bg)); color: var(--dcp-accent); font-family: var(--dcp-font); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.dcp-root .dcp-faq-q::after { content: "+"; position: static; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--dcp-border-strong); border-radius: 50%; background: var(--dcp-surface); color: var(--dcp-accent); font: 500 20px/1 var(--dcp-font); transform: none; transition: .2s ease; }
.dcp-root .dcp-faq-item[open] .dcp-faq-q { background: color-mix(in srgb, var(--dcp-accent) 5%, var(--dcp-bg)); }
.dcp-root .dcp-faq-item[open] .dcp-faq-q::after { content: "−"; transform: none; background: var(--dcp-accent); border-color: var(--dcp-accent); color: #fff; }
.dcp-root .dcp-faq-a { padding: 0 68px 24px; color: var(--dcp-text-soft); font-size: .96em; line-height: 1.8; animation: dcp-faq-open .22s ease-out; }
.dcp-root .dcp-faq-item > :not(summary):not(.dcp-faq-a) { margin-inline: 68px; }
.dcp-root .dcp-faq-item > :last-child:not(summary):not(.dcp-faq-a) { margin-bottom: 24px; }
.dcp-root .dcp-faq-a::before { content: ""; display: block; height: 1px; margin-bottom: 18px; background: linear-gradient(90deg, var(--dcp-accent), var(--dcp-border), transparent); opacity: .45; }
@keyframes dcp-faq-open { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .dcp-root .dcp-faq-q { padding: 20px; }
[dir="rtl"] .dcp-root .dcp-faq-q::after { position: static; }

/* Must follow the general mobile rule which hides the right rail. */
@media (max-width: 1059px) {
	.dcp-root.has-tools .dcp-rail--right { display: block; grid-column: 1; grid-row: 1; }
	.dcp-root.has-tools .dcp-main { grid-column: 1; grid-row: 2; }
	.dcp-root.has-tools .dcp-rail--right .dcp-rail-inner { position: static; max-height: none; overflow: visible; display: grid; gap: 14px; }
	.dcp-root.has-tools .dcp-rail--right .dcp-rail-inner > :not(.da-docupost-navigation):not(.dcp-assistant-control) { display: none; }
}
@media (max-width: 560px) {
	.dcp-root .dcp-faq-q { grid-template-columns: 28px minmax(0,1fr) 28px; gap: 10px; padding: 16px 14px; }
	.dcp-root .dcp-faq-q::before, .dcp-root .dcp-faq-q::after { width: 28px; height: 28px; }
	.dcp-root .dcp-faq-a { padding: 0 52px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.dcp-root *,
	.dcp-root *::before,
	.dcp-root *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

.dcp-root :focus-visible {
	outline: 2px solid var(--dcp-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Image zoom overlay */
.dcp-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(6, 8, 14, .88);
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 4vmin;
	cursor: zoom-out;
	animation: dcp-fade .18s ease-out;
}
@keyframes dcp-fade { from { opacity: 0; } }
.dcp-lightbox img {
	max-width: 100%;
	max-height: 92vh;
	border-radius: 10px;
	box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}

/* Print */
@media print {
	.dcp-rail, .dcp-mobilebar, .dcp-totop, .dcp-progress, .dcp-toast,
	.dcp-scrim, .dcp-resume, .dcp-share, .dcp-cta, .dcp-related, .dcp-comments { display: none !important; }
	.dcp-grid { display: block; padding: 0; }
	.dcp-prose { max-width: none; }
	.dcp-root { font-size: 11pt; }
	.dcp-faq-item > .dcp-faq-a { display: block !important; }
}
