/* Knowledge Hub page — loaded on /knowledge-hub/ only, after solutions.css (hero, chips, cards).
   Split out of solutions.css on 16 Nov 2026. Rewritten 18 Nov 2026 (old-version design ideas, v3 tokens).
   Backup of the previous file: browser localStorage "pv_kh_css_backup_20261118b" on the staging origin.

   SPACING SCALE (8px base) used on this page — keep to these values:
   8 · 12 · 16 · 20 · 24 · 32 · 40 · 48 · 56
   - label → H2 16 · H2 → "Last updated" 16 · "Last updated" → summary box 48
   - summary box → next H3 56 · H3 → its content 20 · block → next H3 56
   - paragraphs 20 apart · body copy after a table/list 40 · related questions 56 above
   - inside boxes 40 (24 on phones) · between cards 16 · between answers 32 */

/* ==========================================================================
   STICKY "ON THIS PAGE" BAR (v3 .subnav / .jump)
   Default: 40px above/below the pills, no bottom line.
   Stuck (.is-stuck, set by inc/scripts.php): 20px above/below + bottom line.
   The 40px it loses is given back as margin-bottom, so the page below never jumps.
   ========================================================================== */
.pv-kh-subnav {
	/* Space above/below the pills: normal and when pinned. Change ONLY these two values — the margin
	   that keeps the page from jumping when the bar pins is calculated from them. */
	--pv-pill-pad: 40px;
	--pv-pill-pad-stuck: 20px;
	overflow-anchor: none;
	position: sticky;
	top: 76px;
	z-index: 30;
	margin-bottom: 0;
	padding-inline: 0 !important; /* the full-width group adds 7.5px */
	background: rgba(6, 12, 31, .96);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, margin-bottom .25s;
}
.pv-kh-subnav.is-stuck { margin-bottom: calc(2 * (var(--pv-pill-pad) - var(--pv-pill-pad-stuck))); border-bottom-color: rgba(241, 245, 249, .08); }
body.admin-bar .pv-kh-subnav { top: 108px; }
@media (max-width: 782px) { body.admin-bar .pv-kh-subnav { top: 122px; } }
@media (max-width: 600px) { body.admin-bar .pv-kh-subnav { top: 76px; } }

.pv-kh-subnav .pv-jump {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	box-sizing: border-box;
	width: min(1200px, 100% - 48px); /* chips start on the content edge */
	max-width: none;
	margin: 0 auto;
	padding: var(--pv-pill-pad) 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	transition: padding .25s;
}
.pv-kh-subnav.is-stuck .pv-jump { padding: var(--pv-pill-pad-stuck) 0; }
.pv-kh-subnav .pv-jump::-webkit-scrollbar { display: none; }
.pv-kh-subnav .pv-jump a {
	border-color: rgba(241, 245, 249, .14);
	background-color: rgba(241, 245, 249, .03);
	text-decoration: none;
	transition: border-color .25s, background-color .25s, color .25s;
}
.pv-kh-subnav .pv-jump a:hover { border-color: rgba(241, 245, 249, .5); background-color: rgba(241, 245, 249, .06); color: #fff; }
.pv-kh-subnav .pv-jump a.active,
.pv-kh-subnav .pv-jump a.active:hover { background-color: #F1F5F9; border-color: #F1F5F9; color: #060C1F; }

/* Solid strip behind the floating header bar ONLY while the pill bar is pinned under it
   (18 Nov (2): user wants the header like every other page until then). */
html:has(.pv-kh-subnav.is-stuck) .site-header.scrolled { background: rgba(6, 12, 31, .95); }

/* A pill click lands the answer 24px under the stuck bar (bar = 20 + 44 + 20 + 1 = 85px;
   html scroll-padding-top 100px = header 76 + 24, base.css). */
.pv-kh .pv-answer { scroll-margin-top: 85px; }
body.admin-bar .pv-kh .pv-answer { scroll-margin-top: 117px; }
@media (max-width: 782px) { body.admin-bar .pv-kh .pv-answer { scroll-margin-top: 131px; } }
@media (max-width: 600px) { body.admin-bar .pv-kh .pv-answer { scroll-margin-top: 85px; } }

/* ==========================================================================
   ANSWER PANELS — all four boxed (v3 framed .answer)
   ========================================================================== */
.pv-kh .pv-answer {
	margin-block: 32px;
	padding: clamp(56px, 7vw, 56px) clamp(24px, 4vw, 56px);
	border: 1px solid rgba(241, 245, 249, .08);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(15, 30, 92, .55), rgba(15, 30, 92, .15));
}
.pv-kh .pv-answer:first-of-type { margin-top: 0; }
.pv-kh .pv-answer:last-of-type { margin-bottom: 56px; } /* cross-sell band (.pv-cross) follows with its own 77px top padding */
/* 18 Nov (3): no hairline above the cross-sell band on this page (Solutions pages keep theirs) */
.pv-kh + .pv-cross { border-top: 0; }
.pv-kh + .pv-cross::before { display: none; }

.pv-kh .pv-cat,
.pv-kh .pv-group-h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font: 600 .75rem/1.2 var(--pv-body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #06B6D4;
}
.pv-kh .pv-cat::before { content: ""; flex: none; width: 24px; height: 1px; background: #06B6D4; }
.pv-kh .pv-answer h2 { max-width: 30ch; margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; letter-spacing: -.038em; text-wrap: balance; }
.pv-kh .pv-updated { margin: 16px 0 48px; font-size: .88rem; line-height: 1.5; color: #94A3B8; }
.pv-kh .pv-answer h3 { margin: 56px 0 20px; font-size: 1.15rem; line-height: 1.3; }
/* plain paragraphs; :where() keeps this below every .pv-* class rule */
.pv-kh :where(.pv-answer p) { margin: 0 0 20px; line-height: 1.7; }
.pv-kh dd { padding: 0; }
.pv-kh .pv-answer :is(.pv-tbl, .pv-two, .pv-defs, .pv-tl) { margin-top: 0; margin-bottom: 0; }

/* ==========================================================================
   DIRECT ANSWER SUMMARY — card with a gradient tab sitting on the top edge
   ========================================================================== */
.pv-kh .pv-summary-box {
	--sb-pad: clamp(24px, 3.2vw, 40px);
	position: relative;
	margin: 0 0 56px;
	padding: var(--sb-pad);
	border: 1px solid transparent;
	border-radius: 20px;
	color: #C2CCDC;
	background:
		linear-gradient(165deg, #111F58 0%, #0B1538 55%, #081030 100%) padding-box,
		linear-gradient(165deg, rgba(6, 182, 212, .4), rgba(241, 245, 249, .08) 45%, rgba(241, 245, 249, .1)) border-box;
	box-shadow: 0 1px 0 rgba(241, 245, 249, .04) inset, 0 14px 30px -26px rgba(0, 0, 0, .5);
}
.pv-kh .pv-summary-box > :last-child,
.pv-kh .pv-summary-box > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.pv-kh .pv-summary-h {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: calc(-1 * var(--sb-pad)) 0 8px !important;
	/* 18 Nov (2): same pill as the header Knowledge Hub item (cyan .5 border, cyan .12 tint, white
	   Space Grotesk) + the v3 hero-chip cyan dot. Opaque base so the box border does not show through. */
	padding: 7px 16px 7px 14px;
	border: 1px solid rgba(6, 182, 212, .5);
	border-radius: 999px;
	background: linear-gradient(rgba(6, 182, 212, .12), rgba(6, 182, 212, .12)), #0F1C52;
	font: 500 .875rem/1.35 var(--pv-head);
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
	transform: translateY(-50%);
}
.pv-kh .pv-summary-h::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0 10px 1px 0;
	border-radius: 50%;
	background: #06B6D4;
	box-shadow: 0 0 0 3px rgba(6, 182, 212, .14), 0 0 8px rgba(6, 182, 212, .4);
	vertical-align: middle;
}
@media (max-width: 560px) { .pv-kh .pv-summary-h { border-radius: 16px; } }
.pv-kh .pv-summary-box .pv-tbl,
.pv-kh .pv-summary-box .pv-kpis,
.pv-kh .pv-summary-box .pv-two,
.pv-kh .pv-summary-box .pv-note-strong { margin-bottom: 24px; }
.pv-kh .pv-small-note { margin: 0; font-size: .875rem; line-height: 1.6; color: #94A3B8; }

/* key figures (ROI) — three cards, figures in the v3 text gradient */
.pv-kh .pv-summary-box .pv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 0; margin-bottom: 32px; }
.pv-kh .pv-summary-box .pv-kpis > div {
	display: flex;
	flex-direction: column;
	padding: 20px 24px;
	border: 1px solid rgba(241, 245, 249, .1);
	border-radius: 14px;
	background: rgba(241, 245, 249, .03);
}
.pv-kh .pv-summary-box .pv-kpis dt { order: 1; margin: 0 0 8px; font: 600 .6875rem/1.3 var(--pv-body); letter-spacing: .14em; text-transform: uppercase; color: #94A3B8; }
.pv-kh .pv-summary-box .pv-kpis dd {
	order: 2;
	margin: 0;
	font: 600 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.1 var(--pv-head);
	letter-spacing: -.04em;
	color: #06B6D4;
	background: linear-gradient(90deg, #537BEA, #06B6D4);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding: 0 0 .06em;
}
.pv-kh .pv-summary-box .pv-kpis dd.sub { order: 3; margin-top: 6px; font: 400 .8125rem/1.45 var(--pv-body); letter-spacing: 0; color: #C2CCDC; background: none; -webkit-text-fill-color: currentColor; padding: 0; }

/* price cards (cost summary) */
.pv-kh .pv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pv-kh .pv-summary-box .pv-two .pv-tbl {
	margin: 0;
	padding: 20px 24px 8px;
	border: 1px solid rgba(241, 245, 249, .1);
	border-radius: 14px;
	background: rgba(241, 245, 249, .03);
}
.pv-kh .pv-summary-box .pv-two table { min-width: 0; }
.pv-kh .pv-summary-box .pv-two caption { padding: 0 0 8px; font: 600 .6875rem/1.3 var(--pv-body); letter-spacing: .14em; text-transform: uppercase; color: #06B6D4; }
.pv-kh .pv-summary-box .pv-two td { padding: 12px 0; }
.pv-kh .pv-summary-box .pv-two td:last-child { padding-left: 16px; text-align: right; white-space: nowrap; font: 600 1rem/1.5 var(--pv-head); color: #fff; }
.pv-kh .pv-summary-box .pv-two tr:last-child td { border-bottom: 0; }
.pv-kh .pv-summary-box .pv-two tbody tr:hover { background: transparent; }

/* highlighted note */
.pv-kh .pv-note-strong {
	padding: 16px 20px;
	border: 1px solid rgba(6, 182, 212, .2);
	border-radius: 12px;
	background: rgba(6, 182, 212, .06);
	font-size: .9375rem;
	line-height: 1.6;
	color: #C2CCDC;
}
.pv-kh .pv-note-strong strong { color: #fff; }
.pv-kh .pv-note-strong strong:first-child { color: #06B6D4; }

/* ==========================================================================
   TABLES — small uppercase headings, cyan accent column, zebra rows in summaries
   ========================================================================== */
.pv-kh .pv-tbl { overflow-x: auto; border-radius: 10px; }
.pv-kh .pv-tbl:focus-visible { outline: 2px solid #06B6D4; }
.pv-kh .pv-tbl table { width: 100%; min-width: 420px; margin: 0; border-collapse: collapse; font-size: 15px; background: transparent; border: 0; }
.pv-kh .pv-tbl caption { caption-side: top; padding: 0 0 12px; text-align: left; font: 600 1rem var(--pv-head); color: #fff; }
.pv-kh .pv-tbl caption.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pv-kh .pv-tbl th,
.pv-kh .pv-tbl td { padding: 14px 16px; font-size: 15px; line-height: 1.6; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid rgba(241, 245, 249, .08); color: #C2CCDC; background: transparent; }
.pv-kh .pv-tbl thead th { padding-top: 0; font: 600 .6875rem/1.4 var(--pv-body); letter-spacing: .14em; text-transform: uppercase; color: #94A3B8; border-bottom: 1px solid rgba(241, 245, 249, .14); vertical-align: bottom; }
.pv-kh .pv-tbl tbody th { font-weight: 600; color: #fff; }
.pv-kh .pv-tbl tbody tr { transition: background-color .2s; }
.pv-kh .pv-tbl tbody tr:hover { background: rgba(241, 245, 249, .03); }
.pv-kh .pv-tbl tbody tr:last-child > * { border-bottom: 0; }
.pv-kh .pv-tbl td strong { color: #fff; }
.pv-kh .pv-summary-box .pv-tbl tbody tr:nth-child(even) { background: rgba(241, 245, 249, .025); }
.pv-kh .pv-summary-box .pv-two tbody tr:nth-child(even) { background: transparent; } /* price cards: no stripes */

/* accent columns: ROI hours + errors, RPA best choice, head-to-head combined, timelines */
.pv-kh .pv-tbl-t2 td:nth-child(2), .pv-kh .pv-tbl-t2 td:nth-child(3),
.pv-kh .pv-tbl-t5 td:nth-child(4),
.pv-kh .pv-tbl-t6 td:nth-child(4),
.pv-kh .pv-tbl-t7 td:nth-child(2) { color: #06B6D4; font-weight: 600; }
.pv-kh .pv-tbl-t7 td:nth-child(2) { white-space: nowrap; }
.pv-kh .pv-tbl-t5 thead th:nth-child(4),
.pv-kh .pv-tbl-t6 thead th:nth-child(4),
.pv-kh .pv-tbl-t7 thead th:nth-child(2) { color: #06B6D4; }

/* ==========================================================================
   INVESTMENT BANDS — two v3 cards with label / price rows
   ========================================================================== */
.pv-kh .pv-bands > div {
	padding: 28px 28px 12px;
	border: 1px solid transparent;
	border-radius: 20px;
	background:
		linear-gradient(165deg, #111F58 0%, #0B1538 55%, #081030 100%) padding-box,
		linear-gradient(165deg, rgba(241, 245, 249, .18), rgba(241, 245, 249, .06) 55%, rgba(241, 245, 249, .1)) border-box;
	box-shadow: 0 1px 0 rgba(241, 245, 249, .04) inset, 0 14px 30px -26px rgba(0, 0, 0, .5);
}
.pv-kh .pv-group-h { margin-bottom: 8px; }
.pv-kh .pv-bands .pv-kpis { display: block; margin: 0; }
.pv-kh .pv-bands .pv-kpis > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(241, 245, 249, .08); }
.pv-kh .pv-bands .pv-kpis > div:last-child { border-bottom: 0; }
.pv-kh .pv-bands .pv-kpis dt { margin: 0; font: 400 .9375rem/1.5 var(--pv-body); color: #C2CCDC; }
.pv-kh .pv-bands .pv-kpis dd { margin: 0; font: 600 1.0625rem/1.4 var(--pv-head); letter-spacing: -.01em; color: #fff; white-space: nowrap; }

/* ==========================================================================
   KEY COST DRIVERS (.pv-def cards from solutions.css)
   ========================================================================== */
.pv-kh .pv-defs { gap: 16px; }
.pv-kh .pv-def p:last-child { margin-bottom: 0; }
.pv-kh .pv-def .pv-def-h { margin: 0 0 8px; font: 600 1.0625rem/1.35 var(--pv-head); letter-spacing: -.015em; color: #fff; }

/* ==========================================================================
   DEPLOYMENT TIMELINE — rows with a bar (length = upper bound / 26 weeks, set as --w)
   ========================================================================== */
.pv-kh .pv-tl { display: grid; gap: 12px; }
.pv-kh .pv-tl > div {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: 18px 24px;
	border: 1px solid rgba(241, 245, 249, .08);
	border-radius: 14px;
	background: rgba(241, 245, 249, .025);
	transition: border-color .25s, background-color .25s;
}
.pv-kh .pv-tl > div:hover { border-color: rgba(6, 182, 212, .35); background: rgba(241, 245, 249, .04); }
.pv-kh .pv-tl dt { order: 1; margin: 0; font: 600 .9375rem/1.4 var(--pv-head); color: #fff; }
.pv-kh .pv-tl > div::after {
	content: "";
	order: 2;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #2B5CE6, #06B6D4) 0 0 / var(--w, 0%) 100% no-repeat, rgba(241, 245, 249, .07);
}
.pv-kh .pv-tl dd { order: 3; margin: 0; font: 600 .9375rem/1.4 var(--pv-head); color: #06B6D4; white-space: nowrap; text-align: right; }

/* ==========================================================================
   BODY COPY, BUTTON, RELATED QUESTIONS
   ========================================================================== */
.pv-kh .pv-body { max-width: 72ch; margin-top: 40px; }
.pv-kh .pv-answer:first-of-type .pv-body { max-width: none; } /* 18 Nov (2): ROI closing copy runs full width */
.pv-kh .pv-body p:last-child { margin-bottom: 0; }
.pv-kh .pv-body .wp-block-buttons { margin-top: 32px; }
.pv-kh .pv-btn-primary .wp-block-button__link {
	min-height: 52px;
	padding: 14px 26px !important;
	border: 1px solid rgba(241, 245, 249, .14) !important;
	border-radius: 10px !important;
	font: 600 .95rem/1.2 var(--pv-head) !important;
	letter-spacing: -.005em;
	text-decoration: none;
	transition: background-color .25s, border-color .25s, color .25s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.pv-kh .pv-btn-primary .wp-block-button__link:hover { background: #1F4BCB !important; color: #fff !important; transform: translateY(-2px); }

.pv-kh .pv-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(241, 245, 249, .08); font-size: 15px; }
.pv-kh .pv-related-h { margin: 0 0 8px !important; font: 600 .85rem var(--pv-head); color: #fff; }
.pv-kh .pv-related ul { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.pv-kh .pv-related li { margin: 0; padding: 0; line-height: 1.7; }

/* Text links: no underline; on hover/focus a 1px blue→cyan line slides in from the left
   (same animation as the breadcrumb, solutions.css .pv-crumb a). */
.pv-kh a:not(.wp-block-button__link) {
	color: #06B6D4;
	text-decoration: none;
	background: linear-gradient(90deg, #2B5CE6, #06B6D4) 0 100% / 0 1px no-repeat;
	transition: color .2s, background-size .3s cubic-bezier(.2, .7, .2, 1);
}
.pv-kh a:not(.wp-block-button__link):hover,
.pv-kh a:not(.wp-block-button__link):focus-visible { color: #fff; background-size: 100% 1px; }
.pv-kh .pv-related a { display: inline-block; padding: 10px 0; background-position: 0 calc(100% - 9px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 760px) {
	.pv-kh .pv-two, .pv-kh .pv-defs { grid-template-columns: 1fr !important; }
	/* answers run edge to edge on phones (v3), 16px apart */
	.pv-kh .pv-answer {
		margin-block: 16px;
		margin-inline: -24px !important; /* beats the constrained-layout auto margins */
		max-width: none !important;
		padding: 56px 24px;
		border-inline: 0;
		border-radius: 0;
	}
	.pv-kh .pv-answer:first-of-type { margin-top: 0; }
	.pv-kh .pv-tl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; padding: 16px 20px; }
	.pv-kh .pv-tl dd { order: 2; }
	.pv-kh .pv-tl > div::after { order: 3; grid-column: 1 / -1; }
	.pv-kh .pv-bands > div { padding: 24px 24px 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.pv-kh-subnav, .pv-kh-subnav .pv-jump, .pv-kh a, .pv-kh .pv-tl > div { transition: none !important; }
}

/* ==========================================================================
   18 Nov 2026 — editor responsive preview (knowledge hub) — block editor only, live site unchanged
   ========================================================================== */
/* Key cost driver cards: restate their side padding (the core editor rule sets it to 0 from 600px). */
.editor-styles-wrapper [data-align="full"] .pv-kh .pv-def.wp-block { padding-left: 32px; padding-right: 32px; }

/* ==========================================================================
   18 Nov 2026 (4) — MOBILE OPTIMISATION: tables + answer gaps
   ========================================================================== */
/* Header row of every table highlighted (desktop + mobile), headings on one line. */
.pv-kh .pv-tbl thead th {
	padding-top: 12px;
	padding-bottom: 12px;
	white-space: nowrap;
	color: #E2E8F0;
	background-color: rgba(6, 182, 212, .1);
	border-bottom: 1px solid rgba(6, 182, 212, .35);
}
.pv-kh .pv-tbl thead th:first-child { border-top-left-radius: 10px; }
.pv-kh .pv-tbl thead th:last-child { border-top-right-radius: 10px; }
.pv-kh .pv-tbl-t5 thead th:nth-child(4),
.pv-kh .pv-tbl-t6 thead th:nth-child(4),
.pv-kh .pv-tbl-t7 thead th:nth-child(2) { color: #7DE3F4; }

/* "Swipe to see more" pill — added by inc/scripts.php only when a table is wider than its box. */
.pv-kh .pv-swipe {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 12px !important; /* left-aligned when there is no heading above the table */
	padding: 5px 12px;
	border: 1px solid rgba(6, 182, 212, .4);
	border-radius: 999px;
	background: rgba(6, 182, 212, .1);
	font: 500 .75rem/1.3 var(--pv-head);
	letter-spacing: .02em;
	color: #C9F3FB;
}
.pv-kh .pv-swipe[hidden] { display: none; }
.pv-kh .pv-swipe-arrow {
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306B6D4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: pv-swipe-nudge 1.6s ease-in-out infinite;
}
.pv-kh .pv-swipe.is-used .pv-swipe-arrow { animation: none; }
@keyframes pv-swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Fade on the right edge while there is more to see. */
.pv-kh .pv-tbl.is-scrollable:not(.at-end) {
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

/* Pinned first column while the rest swipes (only on tables that scroll). Solid colours = the
   panel / summary-box background behind the column, so the swiped cells pass underneath. */
.pv-kh .pv-tbl.is-scrollable tr > :first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	background-color: #0A1438;
	box-shadow: inset -1px 0 0 rgba(241, 245, 249, .1);
}
.pv-kh .pv-summary-box .pv-tbl.is-scrollable tr > :first-child { background-color: #0E1A4C; }
.pv-kh .pv-summary-box .pv-tbl.is-scrollable tbody tr:nth-child(even) > :first-child { background-image: linear-gradient(rgba(241, 245, 249, .025), rgba(241, 245, 249, .025)); }
.pv-kh .pv-tbl.is-scrollable thead th:first-child { z-index: 2; background-color: #0A254F; }
.pv-kh .pv-summary-box .pv-tbl.is-scrollable thead th:first-child { background-color: #0D2A5A; }
.pv-kh .pv-tbl.is-scrolled tr > :first-child { box-shadow: inset -1px 0 0 rgba(241, 245, 249, .16), 12px 0 14px -12px rgba(0, 0, 0, .7); }

@media (max-width: 760px) {
	/* phones: first column a bit narrower so more of the swiped columns show */
	.pv-kh .pv-tbl.is-scrollable tr > :first-child { min-width: 112px; padding-left: 12px; padding-right: 10px; }
	.pv-kh .pv-tbl.is-scrollable tbody tr > :first-child { font-size: 14px; }
	/* no dark gaps between the answers: panels touch, one divider line between them */
	.pv-kh .pv-answer { margin-block: 0 !important; border-top: 1px solid rgba(241, 245, 249, .08); border-bottom: 0; }
	.pv-kh .pv-answer:last-of-type { margin-bottom: 0 !important; }
}
/* Cost summary price cards: label left, price right; the price moves under its label
   only when a row is too narrow, so these small cards never need to swipe. All widths (looks the
   same as before wherever the row fits). */
@media all {
	.pv-kh .pv-summary-box .pv-two table,
	.pv-kh .pv-summary-box .pv-two tbody { display: block; min-width: 0; }
	.pv-kh .pv-summary-box .pv-two tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: baseline;
		column-gap: 12px;
		padding: 12px 0;
		border-bottom: 1px solid rgba(241, 245, 249, .08);
	}
	.pv-kh .pv-summary-box .pv-two tr:last-child { border-bottom: 0; }
	.pv-kh .pv-summary-box .pv-two td { padding: 0 !important; border: 0 !important; }
	.pv-kh .pv-summary-box .pv-two td:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .pv-kh .pv-swipe-arrow { animation: none; } }

/* ==========================================================================
   18 Nov 2026 (5) — table heading row, hanging indents, related links
   ========================================================================== */
/* Heading right above a table + swipe pill on one row (pill on the right). Built by inc/scripts.php. */
.pv-kh .pv-answer .pv-tbl-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 56px 0 20px;
}
.pv-kh .pv-answer .pv-tbl-head h3 { margin: 0; }
.pv-kh .pv-answer .pv-tbl-head .pv-swipe { margin: 0 0 0 auto !important; }
.pv-kh .pv-swipe { flex: none; white-space: nowrap; } /* the pill text never wraps */ /* stays on the right, also when it wraps under a long heading */

/* "Direct Answer Summary — …" pill: a wrapped second line starts under the text, not under the dot. */
.pv-kh .pv-summary-h { display: flex; align-items: flex-start; }
.pv-kh .pv-summary-h::before { flex: none; margin: calc((1.35em - 8px) / 2) 10px 0 0; vertical-align: 0; }

/* Related questions: less space between the links; a wrapped second line starts under the text,
   not under the arrow (hanging indent = width of "→ "). */
.pv-kh .pv-related li + li { margin-top: 0; }
.pv-kh .pv-related a {
	padding: 4px 0 4px 1.2em;
	text-indent: -1.2em;
	background-position: 1.2em calc(100% - 3px);
}

/* ==========================================================================
   18 Nov 2026 (6) — phones: heading + swipe pill on ONE line; no right-edge fade
   ========================================================================== */
@media (max-width: 760px) {
	/* heading rows: never wrap; the pill shortens to "Swipe →" so it fits beside the heading */
	.pv-kh .pv-answer .pv-tbl-head { flex-wrap: nowrap; gap: 12px; }
	.pv-kh .pv-answer .pv-tbl-head h3 { flex: 0 1 auto; min-width: 0; }
	.pv-kh .pv-answer .pv-tbl-head .pv-swipe { flex: none; }
	.pv-kh .pv-tbl-head .pv-swipe-more { display: none; }
	/* no fade / shadow on the right edge of the tables */
	.pv-kh .pv-tbl.is-scrollable:not(.at-end) { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 380px) {
	.pv-kh .pv-answer .pv-tbl-head { gap: 8px; }
	.pv-kh .pv-tbl-head .pv-swipe { gap: 6px; padding: 5px 10px; }
}

/* ==========================================================================
   18 Nov 2026 (7) — Cost summary price cards
   ========================================================================== */
/* Card heading back to full width (the flex rows made the caption shrink to its longest word).
   "Custom AI<br>Agents" is a typed break in the content; on desktop both card headings get the
   same two-line height so the rows of the two cards line up. */
.pv-kh .pv-summary-box .pv-two caption { display: block; width: auto; }
@media (min-width: 761px) {
	.pv-kh .pv-summary-box .pv-two caption { min-height: calc(2.6em + 8px); } /* 2 lines + its 8px bottom padding */
}
@media (min-width: 1025px) {
	.pv-kh .pv-summary-box .pv-two tr { flex-wrap: nowrap; } /* desktop: label and price side by side */
}
/* Phones + tablets (18 Nov (8)): label on the left (may wrap onto two lines), price on the right,
   aligned to the top of the label. Investment bands cards are not touched. */
@media (max-width: 1024px) {
	.pv-kh .pv-summary-box .pv-two tr { flex-wrap: nowrap; align-items: flex-start; column-gap: 16px; }
	.pv-kh .pv-summary-box .pv-two td:first-child { flex: 1 1 auto; min-width: 0; }
	.pv-kh .pv-summary-box .pv-two td:last-child { flex: none; margin-left: auto; }
}
/* Swipe pill: short label "Swipe →" at every width (18 Nov (8)). */
.pv-kh .pv-swipe-more { display: none; }

/* ==========================================================================
   19 Nov 2026 — MOBILE ONLY (≤760px), user request
   Swipe pill arrow: site arrow size (18px) and it keeps nudging after the table is swiped.
   Text links: no sliding underline; hover/focus = white text only.
   ========================================================================== */
@media (max-width: 760px) {
	.pv-kh .pv-swipe-arrow { width: var(--pv-arw-size, 18px); height: var(--pv-arw-size, 18px); }
	.pv-kh .pv-swipe.is-used .pv-swipe-arrow { animation: pv-swipe-nudge 1.6s ease-in-out infinite; }
}
/* 19 Nov 2026 (15:38, user): text links — no sliding underline at ANY width; hover/focus = white text only */
.pv-kh a:not(.wp-block-button__link),
.pv-kh a:not(.wp-block-button__link):hover,
.pv-kh a:not(.wp-block-button__link):focus-visible { background-image: none; }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.pv-kh .pv-swipe.is-used .pv-swipe-arrow { animation: none; }
}
