/* =========================================================
   TOURVOZ DOCUMENTATION
   /docs/
   ========================================================= */

.tv-docs {
	--tv-purple: #6956e8;
	--tv-purple-dark: #5846d6;
	--tv-purple-soft: #f3f1ff;
	--tv-purple-border: #ded9ff;

	--tv-ink: #111827;
	--tv-text: #475569;
	--tv-muted: #7c879b;
	--tv-border: #e5e7eb;
	--tv-border-soft: #edf0f4;
	--tv-bg: #ffffff;
	--tv-bg-soft: #f8f9fc;

	--tv-green: #18794e;
	--tv-green-bg: #eefbf5;
	--tv-green-border: #cceede;

	--tv-blue: #315ca8;
	--tv-blue-bg: #f2f7ff;
	--tv-blue-border: #d9e7fb;

	--tv-sidebar-width: 270px;
	--tv-content-width: 880px;

	background: var(--tv-bg);
	color: var(--tv-text);
	font-size: 16px;
	line-height: 1.75;
}


/* =========================================================
   REMOVE DEFAULT PAGE SPACING / TITLE
   ========================================================= */

body.page-slug-docs .entry-header,
body.page-slug-docs .entry-title {
	display: none;
}

/*
 * Astra may not expose page-slug-docs depending on body_class.
 * This selector keeps the Docs Gutenberg content wide.
 */
.tv-docs,
.tv-docs * {
	box-sizing: border-box;
}

.tv-docs a {
	text-decoration: none;
}

.tv-docs button {
	font: inherit;
}


/* =========================================================
   HERO
   ========================================================= */

.tv-docs-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--tv-border-soft);
	background:
		radial-gradient(
			circle at 78% 12%,
			rgba(105, 86, 232, 0.10),
			transparent 28%
		),
		linear-gradient(
			180deg,
			#fbfaff 0%,
			#ffffff 100%
		);
}

.tv-docs-hero-inner {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 76px 0 64px;
}

.tv-docs-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
	color: var(--tv-purple);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tv-docs-hero h1 {
	max-width: 760px;
	margin: 0;
	color: var(--tv-ink);
	font-size: clamp(38px, 4vw, 58px);
	font-weight: 750;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.tv-docs-hero p {
	max-width: 720px;
	margin: 20px 0 0;
	color: #647084;
	font-size: 18px;
	line-height: 1.75;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.tv-docs-layout {
	display: grid;
	grid-template-columns: var(--tv-sidebar-width) minmax(0, var(--tv-content-width));
	gap: 64px;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 54px 0 100px;
	align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.tv-docs-sidebar {
	position: sticky;
	top: 110px;
	align-self: start;
	min-width: 0;
	max-height: calc(100vh - 140px);
}

.tv-docs-sidebar-inner {
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 2px 18px 24px 0;
	scrollbar-width: thin;
	scrollbar-color: #d9dce5 transparent;
}

.tv-docs-sidebar-inner::-webkit-scrollbar {
	width: 5px;
}

.tv-docs-sidebar-inner::-webkit-scrollbar-track {
	background: transparent;
}

.tv-docs-sidebar-inner::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background: #d9dce5;
}

.tv-docs-sidebar-label {
	margin-bottom: 20px;
	color: #9aa3b2;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}


/* =========================================================
   SIDEBAR GROUP
   ========================================================= */

.tv-docs-nav-group {
	padding: 0 0 18px;
	margin: 0 0 18px;
	border-bottom: 1px solid var(--tv-border-soft);
}

.tv-docs-nav-group:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.tv-docs-nav-group-toggle {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 20px;
	gap: 8px;
	align-items: center;
	width: 100%;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: var(--tv-ink);
	text-align: left;
	cursor: pointer;
}

.tv-docs-nav-number {
	color: var(--tv-purple);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.tv-docs-nav-group-title {
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
}

.tv-docs-nav-chevron {
	color: #9aa3b2;
	font-size: 17px;
	line-height: 1;
	text-align: center;
	transition: transform 180ms ease;
}

.tv-docs-nav-group.is-open .tv-docs-nav-chevron {
	transform: rotate(180deg);
}

.tv-docs-nav-children {
	display: none;
	padding: 7px 0 0 38px;
}

.tv-docs-nav-group.is-open .tv-docs-nav-children {
	display: block;
}

.tv-docs-nav-item {
	position: relative;
	display: block;
	color: #667085;
	transition:
		color 160ms ease,
		background 160ms ease;
}

.tv-docs-nav-item:hover {
	color: var(--tv-purple);
}

.tv-docs-nav-item-level-2 {
	margin: 2px 0;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 650;
}

.tv-docs-nav-item-level-2.is-active {
	background: var(--tv-purple-soft);
	color: var(--tv-purple);
}

.tv-docs-nav-subchildren {
	margin: 3px 0 9px 11px;
	padding-left: 13px;
	border-left: 1px solid #e4e5eb;
}

.tv-docs-nav-item-level-3 {
	padding: 5px 8px;
	font-size: 13px;
	line-height: 1.45;
}

.tv-docs-nav-item-level-3.is-active {
	color: var(--tv-purple);
	font-weight: 650;
}

.tv-docs-nav-group-muted .tv-docs-nav-group-title {
	color: #6f7888;
}


/* =========================================================
   CONTENT
   ========================================================= */

.tv-docs-content {
	min-width: 0;
}

.tv-docs-article {
	padding-bottom: 72px;
	margin-bottom: 72px;
	border-bottom: 1px solid var(--tv-border);
	scroll-margin-top: 120px;
}

.tv-docs-article:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.tv-docs-article-header {
	margin-bottom: 48px;
}

.tv-docs-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
	color: #8a94a6;
	font-size: 13px;
	font-weight: 600;
}

.tv-docs-breadcrumb span {
	color: #c2c7d0;
}

.tv-docs-article h2 {
	margin: 0;
	color: var(--tv-ink);
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 760;
	line-height: 1.16;
	letter-spacing: -0.03em;
}

.tv-docs-lead {
	max-width: 780px;
	margin: 18px 0 0;
	color: #657083;
	font-size: 18px;
	line-height: 1.75;
}


/* =========================================================
   DOCUMENT SECTIONS
   ========================================================= */

.tv-docs-section {
	padding-top: 12px;
	margin: 0 0 66px;
	scroll-margin-top: 120px;
}

.tv-docs-section:last-child {
	margin-bottom: 0;
}

.tv-docs-step-label {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin-bottom: 12px;
	padding: 4px 11px;
	border: 1px solid var(--tv-purple-border);
	border-radius: 999px;
	background: var(--tv-purple-soft);
	color: var(--tv-purple);
	font-size: 12px;
	font-weight: 750;
}

.tv-docs-section h3 {
	margin: 0 0 16px;
	color: var(--tv-ink);
	font-size: 27px;
	font-weight: 740;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

/*
 * Reading rhythm inside a documentation section.
 * Keep paragraphs compact, but give a new subsection heading
 * enough separation from the paragraph that precedes it.
 */
.tv-docs-section > p + h3,
.tv-docs-section > p + h4,
.tv-docs-section > .tv-docs-image + h3,
.tv-docs-section > .tv-docs-image + h4,
.tv-docs-section > .tv-docs-note + h3,
.tv-docs-section > .tv-docs-note + h4,
.tv-docs-section > .tv-docs-tip + h3,
.tv-docs-section > .tv-docs-tip + h4,
.tv-docs-section > .tv-docs-success + h3,
.tv-docs-section > .tv-docs-success + h4 {
	margin-top: 34px;
}

.tv-docs-section h4 {
	margin: 0 0 16px;
	color: var(--tv-ink);
	font-size: 20px;
	font-weight: 740;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.tv-docs-section p {
	max-width: 800px;
	margin: 0 0 16px;
	color: var(--tv-text);
}

.tv-docs-section > p + p {
	margin-top: 2px;
}

.tv-docs-section > p:last-child {
	margin-bottom: 0;
}

.tv-docs-section strong {
	color: #202938;
}

.tv-docs-section code {
	display: inline-block;
	padding: 2px 7px;
	border: 1px solid #e2e5ec;
	border-radius: 6px;
	background: #f7f8fa;
	color: #4f46b8;
	font-size: 0.92em;
}


/* =========================================================
   FIELD EXPLANATIONS
   ========================================================= */

.tv-docs-field-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 28px 0 34px;
}

.tv-docs-field {
	padding: 19px 20px;
	border: 1px solid var(--tv-border);
	border-radius: 13px;
	background: #fff;
}

.tv-docs-field strong {
	display: block;
	margin-bottom: 6px;
	color: var(--tv-ink);
	font-size: 15px;
}

.tv-docs-field p {
	margin: 0;
	color: #687386;
	font-size: 14px;
	line-height: 1.65;
}


/* =========================================================
   DOCUMENT IMAGES
   ========================================================= */

.tv-docs-image {
	margin: 34px 0;
}

.tv-docs-image img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #dde1e8;
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 12px 32px rgba(17, 24, 39, 0.06),
		0 2px 6px rgba(17, 24, 39, 0.03);
}

.tv-docs-image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	padding: 36px;
	border: 1px dashed #cfd3dd;
	border-radius: 16px;
	background:
		linear-gradient(
			135deg,
			#fbfbfd 0%,
			#f7f6ff 100%
		);
	text-align: center;
}

.tv-docs-image-placeholder span {
	color: #596275;
	font-size: 15px;
	font-weight: 700;
}

.tv-docs-image-placeholder small {
	margin-top: 7px;
	color: #9aa3b2;
	font-size: 12px;
}

.tv-docs-image figcaption {
	margin-top: 11px;
	color: #8a94a6;
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}


/* Portrait / narrow interface screenshots */

.tv-docs-image-portrait {
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}

.tv-docs-image-portrait img {
	display: block;
	width: 100%;
	height: auto;
}

.tv-docs-image-portrait .tv-docs-image-placeholder {
	min-height: 620px;
}


/* =========================================================
   NOTES / TIPS
   ========================================================= */

.tv-docs-note,
.tv-docs-tip,
.tv-docs-success {
	display: flex;
	gap: 14px;
	margin: 28px 0;
	padding: 20px 22px;
	border-radius: 13px;
}

.tv-docs-note {
	border: 1px solid var(--tv-purple-border);
	background: #f8f7ff;
}

.tv-docs-tip {
	display: block;
	border: 1px solid var(--tv-blue-border);
	background: var(--tv-blue-bg);
}

.tv-docs-success {
	display: block;
	border: 1px solid var(--tv-green-border);
	background: var(--tv-green-bg);
}

.tv-docs-note-icon {
	display: flex;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--tv-purple);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.tv-docs-note strong,
.tv-docs-tip strong,
.tv-docs-success strong {
	display: block;
	margin-bottom: 8px;
	color: var(--tv-ink);
	font-size: 14px;
	line-height: 1.5;
}

.tv-docs-note p,
.tv-docs-tip p,
.tv-docs-success p {
	margin: 0;
	color: #596579;
	font-size: 14px;
	line-height: 1.75;
}

.tv-docs-note p + p,
.tv-docs-tip p + p,
.tv-docs-success p + p {
	margin-top: 10px;
}

.tv-docs-note p + strong,
.tv-docs-tip p + strong,
.tv-docs-success p + strong {
	margin-top: 14px;
}


/* =========================================================
   DASHBOARD FEATURE CARDS
   ========================================================= */

.tv-docs-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 36px 0;
}

.tv-docs-feature-card {
	padding: 24px;
	border: 1px solid var(--tv-border);
	border-radius: 15px;
	background: #fff;
}

.tv-docs-feature-card > span {
	display: inline-block;
	margin-bottom: 16px;
	color: var(--tv-purple);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.tv-docs-feature-card h3 {
	margin: 0 0 8px;
	color: var(--tv-ink);
	font-size: 17px;
	font-weight: 720;
}

.tv-docs-feature-card p {
	margin: 0;
	color: #687386;
	font-size: 14px;
	line-height: 1.7;
}


/* =========================================================
   NEXT STEP
   ========================================================= */

.tv-docs-next {
	position: relative;
	overflow: hidden;
	margin-top: 46px;
	padding: 30px 32px;
	border-radius: 18px;
	background:
		linear-gradient(
			135deg,
			#6754e7 0%,
			#7865ed 100%
		);
	color: #fff;
}

.tv-docs-next::after {
	content: "";
	position: absolute;
	top: -70px;
	right: -50px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.tv-docs-next > span {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tv-docs-next h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 9px;
	color: #fff;
	font-size: 24px;
}

.tv-docs-next p {
	position: relative;
	z-index: 1;
	max-width: 650px;
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.tv-docs-next a {
	position: relative;
	z-index: 1;
	display: inline-flex;
	gap: 9px;
	align-items: center;
	color: #fff;
	font-size: 14px;
	font-weight: 750;
}

.tv-docs-next a:hover {
	color: #fff;
	opacity: 0.85;
}


/* =========================================================
   COMING NEXT
   ========================================================= */

.tv-docs-coming-box {
	padding: 30px;
	border: 1px solid var(--tv-purple-border);
	border-radius: 16px;
	background: #faf9ff;
}

.tv-docs-coming-box > span {
	display: block;
	margin-bottom: 8px;
	color: var(--tv-purple);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tv-docs-coming-box h3 {
	margin: 0 0 9px;
	color: var(--tv-ink);
	font-size: 21px;
}

.tv-docs-coming-box p {
	margin: 0;
	color: #667085;
}

.tv-docs-anchor {
	display: block;
	height: 0;
	scroll-margin-top: 120px;
}


/* =========================================================
   MOBILE NAV
   ========================================================= */

.tv-docs-mobile-nav {
	display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.tv-docs-layout {
		grid-template-columns: 235px minmax(0, 1fr);
		gap: 38px;
	}

	.tv-docs-field-list,
	.tv-docs-feature-grid {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.tv-docs {
		font-size: 15px;
	}

	.tv-docs-hero-inner {
		width: min(100% - 32px, 1180px);
		padding: 52px 0 42px;
	}

	.tv-docs-hero h1 {
		font-size: 36px;
	}

	.tv-docs-hero p {
		margin-top: 15px;
		font-size: 16px;
	}

	.tv-docs-mobile-nav {
		position: sticky;
		top: 0;
		z-index: 30;
		display: block;
		padding: 12px 16px;
		border-bottom: 1px solid var(--tv-border);
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
	}

	.tv-docs-mobile-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 56px;
		padding: 9px 14px;
		border: 1px solid #dfe2e9;
		border-radius: 11px;
		background: #fff;
		color: var(--tv-ink);
		text-align: left;
	}

	.tv-docs-mobile-toggle small {
		display: block;
		margin-bottom: 1px;
		color: #929bad;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 0.07em;
		text-transform: uppercase;
	}

	.tv-docs-mobile-toggle strong {
		display: block;
		font-size: 14px;
		font-weight: 700;
	}

	.tv-docs-mobile-arrow {
		color: #7f8898;
		font-size: 20px;
		transition: transform 180ms ease;
	}

	.tv-docs-mobile-toggle[aria-expanded="true"] .tv-docs-mobile-arrow {
		transform: rotate(180deg);
	}

	.tv-docs-layout {
		display: block;
		width: min(100% - 32px, 1180px);
		padding: 34px 0 72px;
	}

	.tv-docs-sidebar {
		display: none;
		margin: -20px 0 32px;
		padding: 16px;
		border: 1px solid var(--tv-border);
		border-radius: 13px;
		background: #fff;
		box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
	}

	.tv-docs-sidebar.is-mobile-open {
		display: block;
	}

	.tv-docs-sidebar-inner {
		position: static;
		max-height: 65vh;
		padding: 0 5px 0 0;
	}

	.tv-docs-article {
		padding-bottom: 52px;
		margin-bottom: 52px;
		scroll-margin-top: 100px;
	}

	.tv-docs-article-header {
		margin-bottom: 38px;
	}

	.tv-docs-article h2 {
		font-size: 31px;
	}

	.tv-docs-lead {
		font-size: 16px;
	}

	.tv-docs-section {
		margin-bottom: 52px;
		scroll-margin-top: 100px;
	}

	.tv-docs-section h3 {
		font-size: 23px;
	}

	.tv-docs-section h4 {
		font-size: 18px;
	}

	.tv-docs-section > p + h3,
	.tv-docs-section > p + h4,
	.tv-docs-section > .tv-docs-image + h3,
	.tv-docs-section > .tv-docs-image + h4,
	.tv-docs-section > .tv-docs-note + h3,
	.tv-docs-section > .tv-docs-note + h4,
	.tv-docs-section > .tv-docs-tip + h3,
	.tv-docs-section > .tv-docs-tip + h4,
	.tv-docs-section > .tv-docs-success + h3,
	.tv-docs-section > .tv-docs-success + h4 {
		margin-top: 28px;
	}

	.tv-docs-field-list,
	.tv-docs-feature-grid {
		grid-template-columns: 1fr;
	}

	.tv-docs-image-placeholder {
		min-height: 230px;
		padding: 25px 18px;
	}

	.tv-docs-image-portrait {
		max-width: 100%;
	}

	.tv-docs-image-portrait .tv-docs-image-placeholder {
		min-height: 420px;
	}

	.tv-docs-note,
	.tv-docs-tip,
	.tv-docs-success {
		padding: 17px;
	}

	.tv-docs-next {
		padding: 25px 22px;
		border-radius: 15px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.tv-docs-hero-inner,
	.tv-docs-layout {
		width: calc(100% - 28px);
	}

	.tv-docs-hero h1 {
		font-size: 32px;
	}

	.tv-docs-field {
		padding: 17px;
	}

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.tv-docs *,
	.tv-docs *::before,
	.tv-docs *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}

}

/* =========================================================
   PREVIOUS / NEXT DOCUMENT NAVIGATION
   Append this block to the current docs.css
   ========================================================= */

.tv-docs-pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 46px;
}

.tv-docs-pager-spacer {
	display: block;
	min-width: 0;
}

.tv-docs-pager-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 112px;
	flex-direction: column;
	justify-content: center;
	padding: 22px 24px;
	border: 1px solid var(--tv-border);
	border-radius: 16px;
	background: #fff;
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		background 160ms ease;
}

.tv-docs-pager-card:hover {
	transform: translateY(-2px);
	border-color: var(--tv-purple-border);
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
}

.tv-docs-pager-direction {
	display: block;
	margin-bottom: 7px;
	color: #8a94a6;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.04em;
}

.tv-docs-pager-card strong {
	display: block;
	color: var(--tv-ink);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.45;
}

.tv-docs-pager-next {
	align-items: flex-end;
	border-color: transparent;
	background:
		linear-gradient(
			135deg,
			#6754e7 0%,
			#7865ed 100%
		);
	text-align: right;
}

.tv-docs-pager-next .tv-docs-pager-direction {
	color: rgba(255, 255, 255, 0.72);
}

.tv-docs-pager-next strong {
	color: #fff;
}

.tv-docs-pager-next:hover {
	border-color: transparent;
	box-shadow: 0 14px 32px rgba(105, 86, 232, 0.20);
}

@media (max-width: 767px) {
	.tv-docs-pager {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 36px;
	}

	.tv-docs-pager-spacer {
		display: none;
	}

	.tv-docs-pager-card {
		min-height: 94px;
		padding: 19px 20px;
	}

	.tv-docs-pager-next {
		align-items: flex-start;
		text-align: left;
	}
}

/* =========================================================
   DOCS NOTE / TIP
   Unified content layout
   ========================================================= */

.tv-docs-note,
.tv-docs-tip {
	display: block;
	width: 100%;
	padding: 24px 28px;
	border-radius: 16px;
	box-sizing: border-box;
}

.tv-docs-note > strong,
.tv-docs-tip > strong {
	display: block;
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: #111827;
}

.tv-docs-note > p,
.tv-docs-tip > p {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #5f6b7e;
}

.tv-docs-note > p + p,
.tv-docs-tip > p + p {
	margin-top: 10px;
}

.tv-docs-note > p + strong,
.tv-docs-tip > p + strong {
	margin-top: 16px;
}

.tv-docs-note > strong + p,
.tv-docs-tip > strong + p {
	margin-top: 0;
}


/* Note — light purple */

.tv-docs-note {
	background: #f8f7ff;
	border: 1px solid #dcd7ff;
}


/* Tip — light blue */

.tv-docs-tip {
	background: #f3f7ff;
	border: 1px solid #d8e6ff;
}


/* Inline emphasis */

.tv-docs-note strong,
.tv-docs-tip strong {
	color: #111827;
}


/* Mobile */

@media (max-width: 767px) {

	.tv-docs-note,
	.tv-docs-tip {
		padding: 20px;
		border-radius: 14px;
	}

	.tv-docs-note > strong,
	.tv-docs-tip > strong {
		font-size: 15px;
		margin-bottom: 8px;
	}

	.tv-docs-note > p,
	.tv-docs-tip > p {
		font-size: 15px;
		line-height: 1.75;
	}
}
@media (max-width: 767px) {
	.tv-docs-sidebar {
		position: static;
		top: auto;
		max-height: none;
	}
	.tv-docs-sidebar-inner {
		max-height: none;
		overflow-y: visible;
		overscroll-behavior: auto;
	}
}

/* =========================================================
   CONTENT BLOCKS
   Subsections inside one documentation section
   ========================================================= */

.tv-docs-content-block {
	margin: 0;
}

.tv-docs-content-block + .tv-docs-content-block {
	margin-top: 38px;
}

.tv-docs-content-block > h3,
.tv-docs-content-block > h4 {
	margin: 0 0 16px;
	color: var(--tv-ink);
	line-height: 1.4;
}

.tv-docs-content-block > h4 {
	font-size: 20px;
	font-weight: 740;
	letter-spacing: -0.01em;
}

.tv-docs-content-block > p {
	max-width: 800px;
	margin: 0 0 16px;
	color: var(--tv-text);
}

.tv-docs-content-block > p + p {
	margin-top: 2px;
}

.tv-docs-content-block > p:last-child {
	margin-bottom: 0;
}

.tv-docs-content-block > p + .tv-docs-note,
.tv-docs-content-block > p + .tv-docs-tip,
.tv-docs-content-block > p + .tv-docs-success,
.tv-docs-content-block > p + .tv-docs-image {
	margin-top: 28px;
}

.tv-docs-content-block > .tv-docs-note:last-child,
.tv-docs-content-block > .tv-docs-tip:last-child,
.tv-docs-content-block > .tv-docs-success:last-child,
.tv-docs-content-block > .tv-docs-image:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.tv-docs-content-block + .tv-docs-content-block {
		margin-top: 32px;
	}

	.tv-docs-content-block > h4 {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.tv-docs-content-block > p {
		margin-bottom: 14px;
	}

	.tv-docs-content-block > p + .tv-docs-note,
	.tv-docs-content-block > p + .tv-docs-tip,
	.tv-docs-content-block > p + .tv-docs-success,
	.tv-docs-content-block > p + .tv-docs-image {
		margin-top: 24px;
	}
}

/* =========================================================
   DOCS SIDEBAR — SECTION LABEL
   ========================================================= */

.tv-docs-nav-section-label {
  margin: 22px 0 8px;
  padding: 0 16px;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--tv-muted);
}

/* =========================================================
   DOCS INLINE STRONG FIX
   Keep strong text inline inside paragraphs
   ========================================================= */

.tv-docs p strong,
.tv-docs li strong,
.tv-docs figcaption strong {
  display: inline;
  white-space: normal;
}
/* =========================================================
   MOBILE DOCS MENU — FIXED FULL DIRECTORY
   Keeps the complete documentation navigation available
   from any scroll position on mobile.
   ========================================================= */

@media (max-width: 767px) {

	.tv-docs-mobile-nav {
		z-index: 60;
	}

	.tv-docs-sidebar,
	.tv-docs-sidebar.is-mobile-open {
		position: fixed;
		top: 92px;
		left: 16px;
		right: 16px;
		bottom: 16px;
		z-index: 55;
		width: auto;
		max-height: none;
		margin: 0;
		padding: 16px 10px 16px 16px;
		border: 1px solid var(--tv-border);
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 20px 55px rgba(17, 24, 39, 0.18);
		overflow: hidden;
	}

	.tv-docs-sidebar {
		display: none;
	}

	.tv-docs-sidebar.is-mobile-open {
		display: block;
	}

	.tv-docs-sidebar-inner {
		position: static;
		height: 100%;
		max-height: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 2px 10px 24px 0;
	}

	.tv-docs.is-mobile-menu-open::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 50;
		background: rgba(17, 24, 39, 0.28);
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
	}

	.tv-docs.is-mobile-menu-open .tv-docs-mobile-nav {
		background: #fff;
	}

	.tv-docs-sidebar-label {
		position: sticky;
		top: -2px;
		z-index: 2;
		margin: 0 0 14px;
		padding: 6px 0 12px;
		background: #fff;
	}
}
