/* 3D Issue Knowledge Base front-end styles. Based on the 3D Issue homepage mockup. */

:root {
	--teal: #14a2b3;
	--teal-deep: #0c8793;
	--teal-line: rgba(20, 162, 179, .35);
	--ink: #16233a;
	--ink-soft: #47576e;
	--muted: #6c7a93;
	--line: #e4e8ef;
	--line-strong: #d8dde8;
	--card: #fff;
	--card-soft: #f8f9fb;
	--rep: #2c7d4c;
	--flow: #0a778f;
	--studio: #4f13d3;
	--account: #13203a;
	--radius: 10px;
	--band: #119fc0;
}

/* The KB templates print the whole document, so there is no theme .site wrapper
   behind the page and the host theme's own body colour shows through. Twenty
   Sixteen — the theme on /help/ — paints body #1a1a1a as its fallback for an
   unset custom background, which reads as a black page behind the KB. Classic
   has no variant stylesheet of its own, so its page colour lives here; Paper,
   Ink, Slate, Warm and the rest set their own in their own sheet, which loads
   after this one. The second selector is what outranks the inline
   `body.custom-background` rule Twenty Sixteen prints in the head: same
   specificity, so the pair is needed rather than the single class. */
body.dkb-theme-classic,
body.dkb-theme-classic.custom-background {
	background-color: #fff;
}

.dkb-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px 56px;
	color: var(--ink);
	font: 15.5px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.dkb-page a:focus-visible,
.dkb-page button:focus-visible,
.dkb-page input:focus-visible {
	outline: 2px solid var(--teal-deep);
	outline-offset: 2px;
	border-radius: 6px;
}

.dkb-page .sr-only {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.dkb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--teal-deep);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 8px 0;
	font: 600 13.5px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-decoration: none;
}
.dkb-skip-link:focus {
	left: 0;
}

/* Header */
.dkb-page header.dkb-site {

}

/* Top band: the brand row runs full width on the brand blue sampled from the
   live 3dissue.com/help header. The search block stays outside it, and the
   band's inner measure matches the page content box exactly. */
.dkb-page .dkb-band {
	background: var(--band, #119fc0);
	padding: 20px 0;
	/* Full-bleed without disturbing layout: the shadow paints the band out past
	   the page gutters and the clip stops it horizontally, so the row keeps the
	   page's own measure and the brand lines up with the text below it. No
	   viewport units, so no scrollbar-width drift. */
	box-shadow: 0 0 0 100vmax var(--band, #119fc0);
	clip-path: inset(0 -100vmax);
}
.dkb-page .dkb-band .dkb-site-row { background: transparent; padding: 0; }
.dkb-page .dkb-band .brand { color: #fff; }
.dkb-page .dkb-band .brand .sub { color: rgba(255, 255, 255, .76); }
.dkb-page .dkb-band .nav-top a { color: rgba(255, 255, 255, .93); }
.dkb-page .dkb-band .nav-top a:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, .7); }
.dkb-page .dkb-band .nav-top .sep { background: rgba(255, 255, 255, .36); }
.dkb-page .dkb-band .nav-top .cta {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .62);
	padding: 8px 15px;
}
.dkb-page .dkb-band .nav-top .cta:hover { background: rgba(255, 255, 255, .16); }
.dkb-page .site-row,
.dkb-page .dkb-site-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 22px;
	flex-wrap: wrap;
	background: #fff;
	padding: 13px 15px;
}

.dkb-page .brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}

/* The brand mark is the white 3D Issue wordmark (300x46), so height sets the
   size and the ratio sets the width. The "Knowledge Base" label sits under the
   mark, left-aligned with it, so the lockup reads as one stacked unit. */
.dkb-page .dkb-band .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
.dkb-page .dkb-band .brand .sub { margin-top: 0; }
.dkb-page .brand .brand-logo { display: block; height: 28px; width: auto; max-width: 100%; }
@media (max-width: 480px) { .dkb-page .brand .brand-logo { height: 22px; } }
.dkb-page .brand .name { font-size: 15px; font-weight: 700; letter-spacing: -.2px; line-height: 1.1; }
.dkb-page .brand .sub {
	display: block;
	color: var(--muted);
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 600;
	margin-top: 2px;
}

.dkb-page .nav-top {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	flex: 1 1 auto;
}
.dkb-page .nav-top a { color: var(--ink-soft); text-decoration: none; font-size: 13.5px; padding: 6px 1px 7px; }
.dkb-page .nav-top a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dkb-page .nav-top .sep { width: 1px; height: 16px; background: var(--line-strong); padding: 0 1px 7px; }
.dkb-page .nav-top .cta {
	background: var(--teal-deep);
	color: #fff;
	font-weight: 600;
	padding: 9px 15px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 13px;
	margin-left: 4px;
}
.dkb-page .nav-top .cta:hover { background: #0b8a99; }

/* Theme independence — every KB view.
   The KB templates print their own document, so the host theme’s element rules
   apply straight inside it: Twenty Sixteen, the theme on staging, sets a 1.75em
   paragraph margin, its own list indents, Inconsolata on code, table-layout:
   fixed, a 4px near-black blockquote bar and its own hr. These rules state the
   values the KB already used, so an article, a search result, the FAQ list and a
   hub read the same on any theme. They sit ahead of the components, so a
   class-scoped rule still wins: .sub keeps its 18px, .faqs-cta p its 8px, and
   .dkb-index and .pagination ul keep list-style: none. The design variants set
   their own colours in their own sheets, which load after this one. */
.dkb-page p { margin: 0 0 14px; }
.dkb-page ul, .dkb-page ol { margin: 8px 0 14px; padding-left: 18px; }
.dkb-page ul { list-style: disc; }
.dkb-page ol { list-style: decimal; }
.dkb-page code, .dkb-page kbd, .dkb-page samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 13px;
	background: #eef2f7;
	color: var(--ink);
	padding: 1px 5px;
	border-radius: 4px;
}
.dkb-page pre {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: var(--card-soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 13px;
	line-height: 1.55;
	overflow: auto;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.dkb-page pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.dkb-page table {
	width: 100%;
	margin: 0 0 16px;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
	font-size: 14px;
}
.dkb-page th, .dkb-page td {
	border: 1px solid var(--line);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}
.dkb-page th { background: var(--card-soft); font-weight: 600; }
.dkb-page blockquote {
	margin: 0 0 16px;
	padding: 2px 0 2px 14px;
	border: 0;
	border-left: 3px solid var(--teal-line);
	color: var(--ink-soft);
	font-size: inherit;
	font-style: normal;
	line-height: inherit;
}
.dkb-page blockquote p:last-child { margin-bottom: 0; }
.dkb-page hr { height: 0; border: 0; border-top: 1px solid var(--line); margin: 0 0 18px; background: none; }
.dkb-page figure { margin: 0 0 16px; }
.dkb-page figcaption { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.dkb-page h4 { margin: 20px 0 6px; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
/* Search block */
.dkb-page .search-block {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 16px 16px;
	margin: 22px 0 0;
	box-shadow: 0 2px 8px rgba(14, 22, 42, .07);
}
.dkb-page .sb-prompt {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--muted);
}
.dkb-page .sb-prompt .pulse {
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--teal-deep);
	margin-right: 8px;
	vertical-align: 1px;
}
.dkb-page .search {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 9px;
	display: flex;
	align-items: center;
	padding: 6px 6px 6px 14px;
	gap: 8px;
	box-shadow: 0 2px 8px rgba(14, 22, 42, .07);
	transition: border-color .12s, box-shadow .12s;
}
.dkb-page .search:focus-within {
	border-color: var(--teal-deep);
	box-shadow: 0 0 0 3px rgba(20, 162, 179, .14), 0 1px 2px rgba(14, 22, 42, .03);
}
.dkb-page .search input { flex: 1; border: 0; outline: 0; background: none; padding: 10px 6px; font-size: 15.5px; color: var(--ink); }
.dkb-page .search input::placeholder { color: #9aa6bc; }
.dkb-page .search button {
	border: 0;
	background: var(--teal-deep);
	color: #fff;
	font-weight: 600;
	padding: 9px 15px;
	border-radius: 7px;
	cursor: pointer;
	font-size: 13.5px;
	white-space: nowrap;
	touch-action: manipulation;
}
.dkb-page .search button:hover { background: #0b8a99; }

/* Popular row */
.dkb-page .popular-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dkb-page .popular-row .ph { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.dkb-page .chip {
	color: var(--ink-soft);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 13px;
	transition: border-color .12s, background .12s, color .12s;
}
.dkb-page .chip:hover { border-color: var(--teal-deep); color: var(--ink); background: #f4f8fa; }
.dkb-page .chip .tag, .dkb-page .tile .tag, .dkb-page .pill .tag {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--muted);
	padding: 1px 5px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid var(--line);
}
.dkb-page .chip[data-group="replicate"] .tag, .dkb-page .tile[data-group="replicate"] .tag,
.dkb-page .tag[data-group="replicate"] { color: var(--rep); border-color: rgba(44, 125, 76, .3); }
.dkb-page .chip[data-group="flow"] .tag, .dkb-page .tile[data-group="flow"] .tag,
.dkb-page .tag[data-group="flow"] { color: var(--flow); border-color: rgba(10, 119, 143, .3); }
.dkb-page .chip[data-group="studio"] .tag, .dkb-page .tile[data-group="studio"] .tag,
.dkb-page .tag[data-group="studio"] { color: var(--studio); border-color: rgba(79, 19, 211, .28); }
.dkb-page .chip b { font-weight: 600; color: var(--ink); }

/* Products strip */
.dkb-page .products {
	margin-top: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 24px;
	box-shadow: 0 2px 8px rgba(14, 22, 42, .07);
}
.dkb-page .products h2 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -.2px; color: var(--ink); }
.dkb-page .products .sub { margin: 0 0 14px; color: var(--muted); font-size: 13px; max-width: 60ch; }
.dkb-page .products .row { display: flex; flex-wrap: wrap; gap: 8px; }
.dkb-page .pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 13px;
	transition: border-color .12s, background .12s, color .12s;
}
.dkb-page .pill:hover { border-color: #ccd2df; background: #fafbfd; color: var(--ink); }
.dkb-page .pill b { font-weight: 600; color: var(--ink); margin-left: 2px; }

/* Body grid */
.dkb-page .body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
@media (max-width: 880px) { .dkb-page .body-grid { grid-template-columns: 1fr; } }

.dkb-page .panel {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 22px 24px;
	box-shadow: 0 2px 8px rgba(14, 22, 42, .07);
}
.dkb-page .panel h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.2px; color: var(--ink); }
.dkb-page .panel .sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; max-width: 54ch; }
.dkb-page .panel .label, .dkb-page .place-eyebrow {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 7px;
}

/* Tiles */
.dkb-page .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .dkb-page .tiles { grid-template-columns: 1fr; } }
.dkb-page .tile {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 13px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	transition: border-color .12s, background .12s;
}
.dkb-page .tile:hover { border-color: #ccd2df; background: #fafbfd; }
.dkb-page .tile .icon {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
}
.dkb-page .tile .icon .mono {
	font-weight: 700;
	letter-spacing: .5px;
	line-height: 1;
	color: var(--account);
	font-size: 15px;
}
.dkb-page .tile .icon svg {
	display: block;
	width: 22px;
	height: 22px;
	color: inherit;
}
/* Type accents, defined once for every surface that carries them: the home
   cards, the article chip, and the type archive. Colour only, so they stay
   legible on every theme including mono and ink. */
.dkb-page [data-type="how-to"], .dkb-page[data-type="how-to"] { --type-accent: #2f6f4e; --type-edge: rgba(47, 111, 78, .38); }
.dkb-page [data-type="tutorial"], .dkb-page[data-type="tutorial"] { --type-accent: #0a778f; --type-edge: rgba(10, 119, 143, .38); }
.dkb-page [data-type="reference"], .dkb-page[data-type="reference"] { --type-accent: #4b5aa6; --type-edge: rgba(75, 90, 166, .40); }
.dkb-page [data-type="explanation"], .dkb-page[data-type="explanation"] { --type-accent: #98651a; --type-edge: rgba(152, 101, 26, .40); }
/* A type with no rule of its own keeps the original teal rather than losing
   its rail: a var with no value would invalidate the border declarations. */
.dkb-page { --type-accent: var(--teal-deep); --type-edge: var(--line-strong); }
.dkb-page .tile[data-type] .icon { color: var(--type-accent); border-color: var(--type-edge); }
.dkb-page .tile[data-type] .icon .mono { color: inherit; }
.dkb-page .tile[data-type]:hover { border-color: var(--type-edge); }
.dkb-page .tile[data-group="replicate"] .icon { border-color: rgba(44, 125, 76, .35); }
.dkb-page .tile[data-group="replicate"] .icon .mono { color: var(--rep); }
.dkb-page .tile[data-group="flow"] .icon { border-color: rgba(10, 119, 143, .35); }
.dkb-page .tile[data-group="flow"] .icon .mono { color: var(--flow); }
.dkb-page .tile[data-group="studio"] .icon { border-color: rgba(79, 19, 211, .3); }
.dkb-page .tile[data-group="studio"] .icon .mono { color: var(--studio); }
.dkb-page .tile h3 { font-size: 13.5px; margin: 0; line-height: 1.2; color: var(--ink); letter-spacing: -.1px; font-weight: 600; }
.dkb-page .tile .desc { color: var(--ink-soft); font-size: 12px; line-height: 1.45; margin: 5px 0 0; }
/* Flipbooks Desktop spans the full row beneath the four product tiles. */
.dkb-page .tile.is-wide { grid-column: 1 / -1; }

/* Planks / results */
.dkb-page .more { display: flex; flex-direction: column; gap: 10px; }
.dkb-page .plank, .dkb-page .result {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 12px 13px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	transition: border-color .12s, background .12s;
}
.dkb-page .plank:hover, .dkb-page .result:hover { border-color: #ccd2df; background: #fafbfd; }
.dkb-page .plank .icon, .dkb-page .result .icon {
	flex: 0 0 auto;
	width: 34px; height: 34px;
	border-radius: 7px;
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--ink-soft);
	font-size: 14px;
}
.dkb-page .plank .n, .dkb-page .result .n { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); display: block; }
.dkb-page .plank .desc, .dkb-page .result .desc { color: var(--muted); font-size: 11.5px; display: block; line-height: 1.4; margin-top: 2px; }
.dkb-page .result-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.dkb-page .plank > span:last-child, .dkb-page .result > span:last-child { min-width: 0; }
.dkb-page .plank .n, .dkb-page .result .n { overflow-wrap: break-word; }

.faqs-cta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.faqs-cta p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.faqs-cta a {
	display: inline-block;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 12.5px;
}

/* Breadcrumbs + article body */
.dkb-page .bread { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 22px 0 0; color: var(--muted); font-size: 12.5px; }
.dkb-page .bread a { color: var(--ink-soft); text-decoration: none; }
.dkb-page .bread a:hover { color: var(--ink); text-decoration: underline; }
.dkb-page .bread .sep { color: var(--line-strong); }

.dkb-page article.dkb-body { max-width: 880px; margin: 0 auto; }
.dkb-page article.dkb-body h1 { margin: 18px 0 4px; font-size: 27px; letter-spacing: -.3px; line-height: 1.15; text-wrap: balance; }
.dkb-page .meta, .dkb-page article.dkb-body .meta { color: var(--muted); font-size: 12.5px; margin: 6px 0 18px; }
.dkb-page h2[id], .dkb-page h3[id], .dkb-page h4[id], .dkb-page h5[id], .dkb-page h6[id] { scroll-margin-top: 24px; }
.dkb-page article.dkb-body .content {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 26px 28px;
	box-shadow: 0 2px 8px rgba(14, 22, 42, .07);
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink);
}
.dkb-page article.dkb-body .content a { color: var(--teal-deep); text-decoration: none; }
.dkb-page article.dkb-body .content a:hover { text-decoration: underline; }
.dkb-page article.dkb-body .content h2 { margin: 28px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.2px; }
.dkb-page article.dkb-body .content h3 { margin: 22px 0 7px; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: #0d1c30; letter-spacing: -.1px; }
.dkb-page article.dkb-body .content ul { margin: 8px 0 14px; padding-left: 18px; }
.dkb-page article.dkb-body .content li { margin: 0 0 6px; color: var(--ink-soft); }
/* Screenshots: framed so white-on-white UI images read against the page. */
.dkb-page article.dkb-body .content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 16px auto;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(14, 22, 42, .05);
}
/* Icons that sit inside a sentence rather than standing alone as a screenshot.
   The doubled class outranks the per-theme `.content img` framing (background,
   border colour) without reaching for !important. */
.dkb-page article.dkb-body .content img.inline-icon.inline-icon {
	display: inline-block;
	width: auto;
	margin: 0 2px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	vertical-align: -0.18em;
}

/* Table of contents (sits inside the article rail card).
   Modelled on the old KB's contents widget: a stack of full-width rows with a
   hover tint, no bullets, and sub-sections indented instead of marked. */
.dkb-page .dkb-toc {
	margin: 0;
	padding: 0;
	font-size: 13.5px;
}
.dkb-page .dkb-toc ul { margin: 0; padding: 0; list-style: none; }
.dkb-page .dkb-toc li { margin: 0; }
.dkb-page .dkb-toc li.lvl-3 { margin-left: 0; padding-left: 14px; list-style: none; }
.dkb-page .dkb-toc li.lvl-3 a { font-size: 12.5px; }
.dkb-page .dkb-toc a {
	display: block;
	padding: 5px 8px;
	border-radius: 5px;
	color: var(--teal-deep);
	text-decoration: none;
	line-height: 1.35;
	transition: background .12s;
}
/* Link colour belongs to the theme palette; this rule only supplies the row. */
.dkb-page .dkb-toc a:hover,
.dkb-page .dkb-toc a:focus-visible { background: rgba(14, 22, 42, .06); }

/* Voting block */
.dkb-page .dkb-vote {
	margin: 26px 0 0;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.dkb-page .dkb-vote .q { margin: 0; font-weight: 600; font-size: 14px; color: var(--ink); flex: 1 1 auto; }
.dkb-page .dkb-vote button {
	border: 1px solid var(--line-strong);
	background: #fff;
	color: var(--ink);
	padding: 7px 13px;
	border-radius: 7px;
	font-size: 13px;
	cursor: pointer;
	touch-action: manipulation;
	transition: border-color .12s, background .12s;
}
.dkb-page .dkb-vote button:hover { border-color: var(--teal-deep); background: #f4f8fa; }
.dkb-page .dkb-vote button.done { opacity: .6; pointer-events: none; }
.dkb-page .dkb-vote .tally { color: var(--muted); font-size: 12.5px; margin-left: 4px; }

/* Related */
.dkb-page .dkb-related { margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; }
.dkb-page .dkb-related .ph {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 2px;
}
.dkb-page .dkb-related .item {
	display: block;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
	font-size: 13.5px;
	transition: border-color .12s, background .12s;
}
.dkb-page .dkb-related .item:hover { border-color: var(--teal-deep); background: #f7fbfd; }

/* Taxonomy archive */
.dkb-page .tax-header { max-width: 880px; margin: 26px auto 0; }
.dkb-page .tax-header h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -.3px; }
.dkb-page .tax-header .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
/* Search masthead: the query, the field and the facet rows share one block, so
   the page reads as a list page rather than a card floating above one. */
.dkb-page .tax-header .popular-row { margin-top: 12px; }
.dkb-page .tax-header .popular-row + .popular-row { margin-top: 8px; }
.dkb-page .pill[aria-current="true"] {
	border-color: var(--teal-deep);
	background: #f1f8f9;
	color: var(--ink);
}
.dkb-page .tax-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dkb-page .cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.dkb-page .cat {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 11px 12px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	font-size: 13px;
	transition: border-color .12s, background .12s;
}
.dkb-page .cat:hover { border-color: #ccd2df; background: #fafbfd; }
.dkb-page .cat .icon {
	flex: 0 0 auto;
	width: 38px; height: 38px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--ink-soft);
}
.dkb-page .cat h3 { font-size: 13.5px; margin: 0 0 2px; color: var(--ink); font-weight: 600; }
.dkb-page .cat .desc { color: var(--muted); font-size: 11.5px; margin: 0; }

/* Live search dropdown */
.dkb-ls-wrap {
	position: relative;
}
.dkb-ls-panel {
	margin-top: 10px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: #fff;
	max-height: 340px;
	overflow: auto;
	box-shadow: 0 8px 24px -12px rgba(14, 22, 42, .2);
}
.dkb-ls-panel .dkb-ls-item {
	display: block;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink);
	font-size: 13.5px;
}
.dkb-ls-panel .dkb-ls-item:hover, .dkb-ls-panel .dkb-ls-item.active { background: #f4f8fa; }
.dkb-ls-panel .dkb-ls-item b { font-weight: 600; display: block; }
.dkb-ls-panel .dkb-ls-item .meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; display: block; }
/* Product tag inside live-search titles and FAQ result lines */
.dkb-ls-panel .dkb-ls-item .tag, .dkb-page .result .tag {
	display: inline-block;
	vertical-align: 2px;
	margin-right: 6px;
}
.dkb-page .result .desc .tag { vertical-align: 0; margin-right: 5px; }

/* FAQ main page: product-grouped sections */
.dkb-page .faq-group { margin: 18px 0 0; }
.dkb-page .faq-group h3 {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--muted);
}
.dkb-page .faq-group:first-child { margin-top: 0; }
.dkb-page .faq-group .more { gap: 8px; }
.dkb-ls-panel .dkb-ls-empty { padding: 14px; color: var(--muted); font-size: 13.5px; }

/* Pagination */
/* The host theme styles .pagination too, and Twenty Sixteen's version is loud:
   a 4px #1a1a1a rule across the top, 52px black squares absolutely positioned
   for Previous and Next, numbers hidden below its tablet breakpoint, and the
   whole block indented by a percentage margin. Every rule below is scoped to
   .dkb-page so it outranks the theme's single-class selectors, and none of them
   set the properties a design variant colours (background, border, colour on
   the links), so Paper, Ink and the rest still restyle the pager. */
.dkb-page .pagination {
	margin: 22px 0 0;
	padding: 0;
	border: 0;
	min-height: 0;
	position: static;
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--muted);
}
.dkb-page .pagination:before,
.dkb-page .pagination:after { content: none; display: none; }
.dkb-page .pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dkb-page .pagination li { margin: 0; padding: 0; list-style: none; }
/* The list element carries .page-numbers too, so this is scoped to items: on the
   list itself it would turn the flex container back into an inline box. */
.dkb-page .pagination li .page-numbers {
	display: inline-block;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.5;
}
.dkb-page .pagination .prev,
.dkb-page .pagination .next {
	position: static;
	top: auto;
	right: auto;
	width: auto;
	height: auto;
	overflow: visible;
}
.dkb-page .pagination .prev:before,
.dkb-page .pagination .next:before { content: none; display: none; }
/* Same box metrics as a numbered item, with a transparent rule instead of a
   visible one, so the ellipsis sits on the same baseline as the numbers instead
   of centring two pixels higher. */
.dkb-page .pagination .dots { padding: 6px 10px; margin: 0 4px 0 0; border: 1px solid transparent; background: none; }
/* margin (not just margin-right): the theme's `.pagination .page-numbers` carries
   a negative left margin of -0.73em, which pulls every item over the one before it
   and leaves the current page's box half-covered. */
.dkb-page .pagination a, .dkb-page .pagination .current {
	display: inline-block;
	padding: 6px 10px;
	margin: 0 4px 0 0;
	border-radius: 7px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}
.dkb-page .pagination a:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.dkb-page .pagination .current { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }

/* 3dissue.com/help icons */
.dkb-page img.dkb-ico {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 5px;
	box-sizing: border-box;
}
.dkb-page .tile .icon img.dkb-ico { padding: 4px; }
.dkb-page .plank .icon img.dkb-ico { padding: 3px; }
.dkb-page .result .icon img.dkb-ico { padding: 3px; }

/* Article rows: a product label above a larger title, instead of an icon column. */
.dkb-page .result { flex-direction: column; align-items: flex-start; gap: 6px; }
.dkb-page .result .labels { display: flex; flex-wrap: wrap; gap: 6px; }
.dkb-page .result .labels:empty { display: none; }
.dkb-page .result .tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	line-height: 1.5;
	padding: 1px 6px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--muted);
}
.dkb-page .result .tag[data-group="replicate"] { color: var(--rep); border-color: rgba(44, 125, 76, .3); }
.dkb-page .result .tag[data-group="flow"] { color: var(--flow); border-color: rgba(10, 119, 143, .3); }
.dkb-page .result .tag[data-group="studio"] { color: var(--studio); border-color: rgba(79, 19, 211, .28); }
.dkb-page .result .n { font-size: 15px; font-weight: 600; line-height: 1.3; }
.dkb-page .result .desc { margin-top: 2px; }
.dkb-page .cat .icon img.dkb-ico { padding: 4px; }
.dkb-page .plank-ico-letter, .dkb-page .icon .mono { color: var(--ink-soft); }

.dkb-page .chip-ico {
	flex: 0 0 auto;
	display: block;
	padding: 2px;
	background: #fff;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px var(--line);
}
.dkb-page .pill-ico {
	flex: 0 0 auto;
	display: inline-flex;
	width: 20px;
	height: 20px;
}
.dkb-page .pill-ico img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Zero-result + 404 recovery */
.dkb-page .no-results {
	margin: 10px 0 20px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
}
.dkb-page .no-results .q { margin: 0 0 4px; font-weight: 600; font-size: 15px; color: var(--ink); }
.dkb-page .no-results .sub { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dkb-page .no-results .sub b { color: var(--ink); font-weight: 600; }

.dkb-page .panel.recovery { margin-top: 16px; }
.dkb-page .panel.recovery h2 { margin: 0 0 4px; font-size: 15.5px; }
.dkb-page .panel.recovery .sub { margin: 0 0 12px; }
.dkb-page .panel.recovery .row { display: flex; flex-wrap: wrap; gap: 8px; }
.dkb-page .panel.recovery .more { display: flex; flex-direction: column; gap: 10px; }
.dkb-page .panel.recovery .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .dkb-page .panel.recovery .tiles { grid-template-columns: 1fr; } }

.dkb-page article.dkb-404 h1 { margin: 18px 0 4px; font-size: 27px; letter-spacing: -.3px; line-height: 1.15; }
.dkb-page article.dkb-404 > .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; max-width: 60ch; }
.dkb-page article.dkb-404 .meta { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.dkb-page article.dkb-404 .meta a { color: var(--teal-deep); text-decoration: none; }
.dkb-page article.dkb-404 .meta a:hover { text-decoration: underline; }

/* Footer */
.dkb-page footer.dkb-site-footer {
	margin-top: 30px;
	border-top: 1px solid var(--line);
	padding: 15px 0;
	color: var(--muted);
	font-size: 12.5px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}
.dkb-page footer.dkb-site-footer a { color: var(--ink); text-decoration: none; }
.dkb-page footer.dkb-site-footer a:hover { text-decoration: underline; }
.dkb-page footer.dkb-site-footer .cols { display: flex; gap: 18px; flex-wrap: wrap; }
.dkb-page footer.dkb-site-footer .cols > span { font-weight: 600; color: var(--ink); letter-spacing: .2px; }

@media (prefers-reduced-motion: reduce) {
	.dkb-page * { transition: none !important; }
}

html {
	color-scheme: light;
}
@media (pointer: fine) {
	html { overscroll-behavior-y: none; }
}
/* Product hub (kb_product archive): a manual's contents page, not a card grid. */
.dkb-page .dkb-hub {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
	flex-wrap: wrap;
	margin: 22px 0 0;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--line-strong);
}
.dkb-page .dkb-hub .dkb-hub-intro { min-width: 0; }
.dkb-page .dkb-hub .dkb-hub-name {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: clamp(32px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -.022em;
	color: var(--ink);
	text-wrap: balance;
}
.dkb-page .dkb-hub .dkb-hub-lede {
	margin: 12px 0 0;
	max-width: 58ch;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}
.dkb-page .dkb-hub .dkb-hub-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin: 0;
	padding-bottom: 2px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--muted);
	text-align: right;
}
.dkb-page .dkb-hub .dkb-hub-meta a { color: var(--ink-soft); text-decoration: none; }
.dkb-page .dkb-hub .dkb-hub-meta a:hover,
.dkb-page .dkb-hub .dkb-hub-meta a:focus-visible {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.dkb-page .dkb-hub .dkb-hub-meta b {
	font-weight: 600;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.dkb-page .dkb-hub-list { margin: 12px 0 0; }
.dkb-page .dkb-hub-list .dkb-index { border-top: 0; }
.dkb-page .dkb-index {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.dkb-page .dkb-index > li { border-bottom: 1px solid var(--line); }
.dkb-page .dkb-index a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 28px;
	flex-wrap: wrap;
	padding: 15px 2px;
	text-decoration: none;
	color: var(--ink);
}
.dkb-page .dkb-index-title {
	font-size: 17.5px;
	font-weight: 600;
	line-height: 1.32;
	letter-spacing: -.1px;
}
.dkb-page .dkb-index a:hover .dkb-index-title,
.dkb-page .dkb-index a:focus-visible .dkb-index-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.dkb-page .dkb-index-time,
.dkb-page .dkb-index-topic {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 12.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.dkb-page .dkb-index-empty {
	margin: 18px 0 0;
	font-size: 15px;
	color: var(--ink-soft);
}

.dkb-page .dkb-beside { margin: 30px 0 0; }
.dkb-page .dkb-beside h2 {
	margin: 0 0 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--muted);
}
.dkb-page .dkb-beside ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dkb-page .dkb-beside a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 3px 0;
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 13.5px;
}
.dkb-page .dkb-beside a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dkb-page .dkb-beside .dkb-ico-wrap {
	display: inline-flex;
	width: 24px;
	height: 24px;
}
.dkb-page .dkb-beside .dkb-ico-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2px;
}

@media (max-width: 560px) {
	.dkb-page .dkb-hub .dkb-hub-meta { align-items: flex-start; text-align: left; }
	.dkb-page .dkb-index-title { font-size: 16.5px; }
	.dkb-page .dkb-index a { flex-direction: column; align-items: flex-start; gap: 4px; }
	.dkb-page .dkb-index-time,
	.dkb-page .dkb-index-topic { margin-left: 0; }
}
/* Product hub: the contents page runs the page measure, the same as the
   archive indexes, and its meta text clears 4.5:1 on the tinted background.
   The lede keeps its own 58ch measure inside the wider masthead. */
.dkb-page .dkb-hub,
.dkb-page .dkb-hub-list,
.dkb-page .dkb-beside { max-width: none; margin-left: 0; margin-right: 0; }
.dkb-page .dkb-hub .dkb-hub-meta,
.dkb-page .dkb-index-time,
.dkb-page .dkb-beside h2 { color: var(--ink-soft); }
/* Hub rows: the same two-line row — title and read time, tag line beneath —
   but two columns at the page measure, and a tighter rhythm between the title's
   line and its tags. A 100-guide contents page is about half its old height
   without losing the second line. */
.dkb-page .dkb-hub-rows {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(470px, 100%), 1fr));
	gap: 0 40px;
}
.dkb-page .dkb-hub-rows > li { border-bottom: 1px solid var(--line); }
.dkb-page .dkb-hub-rows a { padding: 11px 2px; }
.dkb-page .dkb-hub-rows > li .dkb-tag-row--tight { margin: -2px 0 9px; padding: 0 2px; }
/* Phones: the read time stays on the title's line rather than starting a third
   line of its own; only the tag line wraps under. */
.dkb-page .dkb-hub-rows a { flex-direction: row; align-items: baseline; flex-wrap: wrap; }
/* Article layout: reading column + tools rail */
.dkb-page .dkb-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 268px;
	grid-template-areas: "head ." "body aside";
	column-gap: 34px;
	align-items: start;
	max-width: 1120px;
	margin: 0 auto;
}
.dkb-page .dkb-article-head { grid-area: head; min-width: 0; }
.dkb-page .dkb-article-head h1 {
	margin: 18px 0 4px;
	font-size: 27px;
	letter-spacing: -.3px;
	line-height: 1.15;
	text-wrap: balance;
}
.dkb-page .dkb-article-layout > article.dkb-body { grid-area: body; max-width: none; margin: 0; min-width: 0; }
.dkb-page .dkb-aside {
	grid-area: aside;
	position: sticky;
	top: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dkb-page .dkb-aside-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(14, 22, 42, .05);
}
.dkb-page .dkb-aside-card .ph {
	margin: 0 0 8px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--muted);
}
.dkb-page .dkb-aside-card .dkb-toc {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	font-size: 13px;
}
.dkb-page .dkb-aside-card .dkb-toc ul { padding: 0; }
.dkb-page .dkb-contact-card p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.dkb-page .dkb-contact-card .dkb-cta {
	display: inline-block;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 12.5px;
	padding: 8px 14px;
	border-radius: 8px;
}
.dkb-page .dkb-contact-card .dkb-cta:hover { background: var(--teal-deep); }
@media (max-width: 899px) {
	.dkb-page .dkb-article-layout {
		grid-template-columns: 1fr;
		grid-template-areas: "head" "toc" "body" "contact";
	}
	.dkb-page .dkb-aside { display: contents; }
	.dkb-page .dkb-toc-card { grid-area: toc; }
	.dkb-page .dkb-contact-card { grid-area: contact; }
}

/* Product and type chips.
   A product is a place: it gets the homepage's coloured box — filled tint,
   product icon, product name in the product colour. A type is a kind of
   answer, so it stays a keyline chip with a small teal dot: same family,
   clearly not the same thing. */
.dkb-page .dkb-prod-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 10px 3px 5px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: #fff;
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.05px;
	text-decoration: none;
}
.dkb-page .dkb-prod-chip img { display: block; width: 18px; height: 18px; object-fit: contain; }
.dkb-page .dkb-prod-chip--sm { gap: 5px; padding: 2px 9px 2px 4px; font-size: 11.5px; }
.dkb-page .dkb-prod-chip--sm img { width: 15px; height: 15px; }
.dkb-page .dkb-prod-chip--lg { gap: 7px; padding: 3px 10px 3px 5px; font-size: 12.5px; }
.dkb-page .dkb-prod-chip--lg img { width: 18px; height: 18px; }
.dkb-page .dkb-prod-chip[data-group="replicate"] { color: #2c7d4c; background: #eef7f1; border-color: #c7e1d2; }
.dkb-page .dkb-prod-chip[data-group="flow"] { color: #0a778f; background: #e7f3f6; border-color: #bddbe3; }
.dkb-page .dkb-prod-chip[data-group="studio"] { color: #4f13d3; background: #f1ecfe; border-color: #d7caf7; }
.dkb-page .dkb-prod-chip[data-group="account"] { color: #13203a; background: #edf1f7; border-color: #ccd6e5; }
a.dkb-prod-chip:hover { border-color: currentColor; }

/* A group heading’s chip carries the section, so it runs one size up from the
   row chips it introduces, and sits a few pixels off the heading’s left edge. */
.dkb-page .faq-group h3 .dkb-prod-chip--sm,
.dkb-page .dkb-index-group > h3 .dkb-prod-chip--sm {
	margin-left: 4px;
	padding: 3px 11px 3px 5px;
	gap: 6px;
	font-size: 12.5px;
}
.dkb-page .faq-group h3 .dkb-prod-chip--sm img,
.dkb-page .dkb-index-group > h3 .dkb-prod-chip--sm img { width: 17px; height: 17px; }

.dkb-page .dkb-type-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	/* 18px line box + 3px padding + 1px keyline = the 26px box the product
	   chip beside it gets from its 18px icon, so the pair sits level. */
	padding: 3px 9px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: #fff;
	color: var(--ink-soft);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 18px;
	text-decoration: none;
}
.dkb-page .dkb-type-chip:hover { border-color: var(--teal-deep); color: var(--ink); }
.dkb-page .dkb-type-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal-deep); opacity: .55; }
/* Type accents mirror the home cards: the dot and the keyline carry the colour,
   the label stays ink so the chip keeps its quiet, quiet-by-design feel. */
.dkb-page .dkb-type-chip[data-type] { border-color: var(--type-edge); }
.dkb-page .dkb-type-chip[data-type] .dkb-type-dot { background: var(--type-accent); opacity: .85; }
.dkb-page .dkb-type-chip[data-type]:hover { border-color: var(--type-accent); color: var(--ink); }

/* Type archive: the header rule carries the type accent. The rows are the
   shared index rows and stay uncoloured. */
.dkb-page[data-type] .tax-header { border-top: 3px solid var(--type-accent); padding-top: 16px; }
.dkb-page .dkb-group-count { color: var(--muted); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dkb-page .faq-group h3 { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 12.5px; }

/* Article head rows */
.dkb-page .dkb-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 8px 0 18px;
	color: var(--muted);
	font-size: 12.5px;
}
.dkb-page .dkb-meta-row a:not(.dkb-type-chip):not(.dkb-prod-chip) { color: var(--ink-soft); text-decoration: none; }
.dkb-page .dkb-meta-row a:not(.dkb-type-chip):not(.dkb-prod-chip):hover { color: var(--ink); text-decoration: underline; }
.dkb-page .dkb-meta-row > span[aria-hidden] { color: var(--line-strong); }
.dkb-page .dkb-also-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 16px; }
.dkb-page .dkb-also-label { color: var(--muted); font-size: 12px; }
/* Tags: a third axis, but not a third chip. A quiet labelled link row so it
   never competes with the product fill or the type keyline. */
.dkb-page .dkb-tag-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 16px;
	font-size: 12.5px;
}
.dkb-page .dkb-tag-row .dkb-tag-label { color: var(--muted); font-size: 12px; }
.dkb-page .dkb-tag-row a { color: var(--ink-soft); text-decoration: none; }
.dkb-page .dkb-tag-row a:hover { color: var(--ink); text-decoration: underline; }
/* Rows: the title is the link, so the chips and tags must be real links
   beside it rather than anchors nested inside an anchor. The title's
   ::after keeps the whole card clickable, as it was before. */
.dkb-page .result { position: relative; }
.dkb-page .result .n { text-decoration: none; }
.dkb-page .result .n:hover,
.dkb-page .result .n:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.dkb-page .result .n::after { content: ""; position: absolute; inset: 0; border-radius: 9px; }
.dkb-page .result .labels,
.dkb-page .result .dkb-tag-row { position: relative; z-index: 1; }
/* In a row the tag line belongs to the title above it, not to the next row. */
.dkb-page .dkb-tag-row--tight { margin: 0; padding: 0; font-size: 11.5px; gap: 2px 8px; }
.dkb-page .dkb-index > li .dkb-tag-row--tight { margin: -6px 0 12px; padding: 0 2px; }

/* Type archive. A type cuts across products, so the page opens with a product
   jump row and then one ruled index per product. Rows, not cards: a hundred
   how-tos stacked one card per row is a page nobody scans, and the type accent
   on the header rule is the only colour the page needs. */
.dkb-page .tax-header--flush { max-width: none; margin: 26px 0 0; }
/* A full-measure header under a full-measure panel. The 880px header belongs to
   article pages, where the body is 880px wide; under a 1180px panel it reads as
   a section narrower than the rest of the page. */
.dkb-page .tax-header--flush h1 { font-size: 29px; }
/* A lede under a 1180px header still needs a reading measure. */
.dkb-page .tax-header--flush .sub { max-width: 68ch; margin-bottom: 14px; }
/* The meta line under a flush header sets the gap to whatever follows it. */
.dkb-page .tax-header--flush .meta { margin: 4px 0 14px; }
.dkb-page .dkb-index-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.dkb-page .dkb-index-jump a {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--card);
	color: var(--ink-soft);
	font-size: 12.5px;
	text-decoration: none;
}
.dkb-page .dkb-index-jump a:hover,
.dkb-page .dkb-index-jump a:focus-visible { border-color: var(--type-accent); color: var(--ink); }
.dkb-page .dkb-index-jump b { color: var(--ink); font-weight: 600; }
.dkb-page .dkb-index-jump .n { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.dkb-page .dkb-index-group { margin: 0 0 26px; }
.dkb-page .dkb-index-group:last-child { margin-bottom: 2px; }
.dkb-page .dkb-index-group > h3 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--line-strong);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}
.dkb-page .dkb-index-group > h3 .n { color: var(--muted); font-weight: 400; font-size: 11.5px; font-variant-numeric: tabular-nums; }
/* Two columns of rows on a wide screen: the same information at a third of the
   height, with the hairline as the only separator. */
.dkb-page .dkb-index-grid { border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); gap: 0 34px; }
.dkb-page .dkb-index-grid a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 16px; padding: 11px 2px; }
.dkb-page .dkb-index-grid .dkb-index-title { font-size: 15.5px; font-weight: 500; text-wrap: pretty; }
.dkb-page .dkb-index-grid .dkb-index-topic { grid-column: 2; margin-left: 0; }
.dkb-page .dkb-index-group[id] { scroll-margin-top: 24px; }

@media (max-width: 560px) {
	.dkb-page .dkb-index-grid a { grid-template-columns: minmax(0, 1fr); gap: 3px; }
	.dkb-page .dkb-index-grid .dkb-index-topic { grid-column: 1; }
}

/* Print.
   Twenty Sixteen prints its own theme, so its @media print block forces colours
   with !important: code and hr to #d1d1d1, every link to #007acc, pre and table
   borders to #d1d1d1, blockquote rules to #1a1a1a, the body background to none.
   A KB article prints out of the same page, so those rules land on our markup and
   undo the screen design. Only the declarations the theme forces carry !important
   here; everything else is plain print behaviour — no chrome, no shadow, and no
   page break in the middle of a code block, table row, list item or figure. */
@media print {
	.dkb-page .dkb-band,
	.dkb-page .dkb-site-row,
	.dkb-page .search-block,
	.dkb-page .bread,
	.dkb-page .dkb-aside,
	.dkb-page .dkb-vote,
	.dkb-page .dkb-related,
	.dkb-page .dkb-beside,
	.dkb-page .pagination,
	.dkb-page .dkb-skip-link { display: none; }

	/* The card becomes the page: no width, margin, border or shadow to print around. */
	.dkb-page .dkb-article-layout,
	.dkb-page .dkb-article-head,
	.dkb-page article.dkb-body,
	.dkb-page article.dkb-body .content {
		max-width: none;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	/* Forced by the theme with !important (see above). */
	.dkb-page code, .dkb-page kbd, .dkb-page samp {
		background: #eef2f7 !important;
	}
	.dkb-page hr { background: none !important; }
	.dkb-page a { color: var(--ink) !important; }
	.dkb-page pre, .dkb-page table, .dkb-page th, .dkb-page td { border-color: var(--line) !important; }
	.dkb-page blockquote { border-left-color: var(--teal-line) !important; color: var(--ink-soft) !important; }

	/* Links carry no hue on paper, so the underline says they are links. */
	.dkb-page article.dkb-body .content a { text-decoration: underline; text-underline-offset: 2px; }

	.dkb-page article.dkb-body .content h2,
	.dkb-page article.dkb-body .content h3,
	.dkb-page article.dkb-body .content h4 { break-after: avoid; page-break-after: avoid; }
	.dkb-page li, .dkb-page tr, .dkb-page figure,
	.dkb-page pre, .dkb-page blockquote,
	.dkb-page article.dkb-body .content img { break-inside: avoid; page-break-inside: avoid; }

	.dkb-page article.dkb-body .content img { border: 0; box-shadow: none; }
}
