
.vh-docs-pro {
	--vh-bg: #ffffff;
	--vh-ink: #202331;
	--vh-muted: #747989;
	--vh-line: #e7e9f2;
	--vh-soft: #f7f7fb;
	--vh-accent: #7257ff;
	--vh-accent-soft: #eeeaff;
	--vh-radius: 20px;
	--vh-shadow: 0 22px 60px rgba(24, 28, 45, .09);
	color: var(--vh-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-sizing: border-box;
}

.vh-docs-pro *, .vh-docs-pro *::before, .vh-docs-pro *::after { box-sizing: inherit; }

.vh-docs-pro-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 0;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--vh-line);
}

.vh-docs-pro-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 260px;
}

.vh-docs-pro-logo {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	color: var(--vh-accent);
	border-radius: 15px;
	background: var(--vh-accent-soft);
}

.vh-docs-pro-logo svg { width: 30px; height: 30px; }

.vh-docs-pro-brand strong { display: block; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; }
.vh-docs-pro-brand span:not(.vh-docs-pro-logo) { display: block; margin-top: 3px; color: var(--vh-muted); font-size: 13px; }

.vh-docs-pro-search {
	position: relative;
	display: flex;
	align-items: center;
	width: min(560px, 100%);
}

.vh-docs-pro-search svg {
	position: absolute;
	left: 17px;
	width: 20px;
	height: 20px;
	fill: #9aa0ae;
	pointer-events: none;
}

.vh-docs-pro-search input {
	width: 100%;
	height: 54px;
	padding: 0 18px 0 50px;
	border: 1px solid var(--vh-line);
	border-radius: 16px;
	background: #fff;
	color: var(--vh-ink);
	font-size: 15px;
	outline: none;
	transition: .2s ease;
}

.vh-docs-pro-search input:focus {
	border-color: rgba(114, 87, 255, .58);
	box-shadow: 0 0 0 4px rgba(114, 87, 255, .11);
}

.vh-docs-pro-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 32px;
	align-items: center;
	margin-bottom: 34px;
	padding: 34px;
	border: 1px solid var(--vh-line);
	border-radius: 32px;
	background:
		radial-gradient(circle at top right, rgba(114,87,255,.16), transparent 34%),
		linear-gradient(135deg, #fff, #fafaff);
	box-shadow: var(--vh-shadow);
	overflow: hidden;
}

.vh-docs-pro-kicker {
	display: inline-flex;
	margin-bottom: 13px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--vh-accent-soft);
	color: var(--vh-accent);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.vh-docs-pro-hero h1 {
	margin: 0;
	max-width: 760px;
	font-size: clamp(34px, 5vw, 58px);
	line-height: .98;
	letter-spacing: -.06em;
	color: var(--vh-ink);
}

.vh-docs-pro-hero p {
	max-width: 740px;
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--vh-muted);
}

.vh-docs-pro-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.vh-docs-pro-hero-actions button {
	appearance: none;
	border: 0;
	padding: 13px 18px;
	border-radius: 999px;
	background: var(--vh-accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.vh-docs-pro-hero-actions button + button {
	background: #111421;
}

.vh-docs-pro-hero-preview {
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 22px 60px rgba(24, 28, 45, .12);
	border: 1px solid var(--vh-line);
}

.vh-docs-pro-hero-preview img { display: block; width: 100%; height: auto; }

.vh-docs-pro-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.vh-docs-pro-sidebar { position: sticky; top: 26px; }

.vh-docs-pro-sidebar-inner {
	padding: 20px;
	border: 1px solid var(--vh-line);
	border-radius: 24px;
	background: #fff;
}

.vh-docs-pro-side-title {
	margin-bottom: 12px;
	color: #a2a6b4;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vh-docs-pro-topic, .vh-docs-pro-reset {
	appearance: none;
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

.vh-docs-pro-topic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 12px;
	border-radius: 14px;
	color: #424656;
	text-align: left;
	transition: .18s ease;
}

.vh-docs-pro-topic span { display: inline-flex; align-items: center; gap: 10px; }

.vh-docs-pro-topic span::before {
	content: "";
	width: 15px;
	height: 15px;
	border: 1px solid #d4d7e1;
	border-radius: 50%;
	background: #fff;
}

.vh-docs-pro-topic small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 25px;
	height: 25px;
	padding: 0 7px;
	border: 1px solid var(--vh-line);
	border-radius: 999px;
	color: #a2a6b4;
	font-size: 12px;
}

.vh-docs-pro-topic:hover,
.vh-docs-pro-topic.is-active {
	background: var(--vh-accent-soft);
	color: var(--vh-accent);
}

.vh-docs-pro-topic.is-active span::before {
	border-color: var(--vh-accent);
	background: radial-gradient(circle, var(--vh-accent) 0 45%, #fff 48%);
}

.vh-docs-pro-reset {
	margin-top: 18px;
	padding: 13px 16px;
	border: 1px solid var(--vh-line);
	border-radius: 14px;
	color: var(--vh-muted);
	background: #fff;
}

.vh-docs-pro-resultsbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	color: var(--vh-muted);
}

.vh-docs-pro-grid { display: grid; gap: 18px; }

.vh-docs-pro-card[hidden] { display: none !important; }

.vh-docs-pro-card button {
	appearance: none;
	display: grid;
	grid-template-columns: 210px 1fr;
	align-items: stretch;
	gap: 0;
	width: 100%;
	min-height: 152px;
	padding: 0;
	border: 1px solid var(--vh-line);
	border-radius: var(--vh-radius);
	background: #fff;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vh-docs-pro-card button:hover {
	transform: translateY(-2px);
	border-color: rgba(114, 87, 255, .36);
	box-shadow: var(--vh-shadow);
}

.vh-docs-pro-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #f7f7fb;
	border-right: 1px solid var(--vh-line);
}

.vh-docs-pro-card-body {
	display: block;
	padding: 24px;
}

.vh-docs-pro-badge {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 12px;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--vh-accent-soft);
	color: var(--vh-accent);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.vh-docs-pro-card strong {
	display: block;
	margin-bottom: 8px;
	color: var(--vh-ink);
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -.03em;
}

.vh-docs-pro-card em {
	display: block;
	color: var(--vh-muted);
	font-style: normal;
	font-size: 14px;
	line-height: 1.6;
}

.vh-docs-pro-empty {
	padding: 34px;
	border: 1px dashed var(--vh-line);
	border-radius: 22px;
	text-align: center;
	color: var(--vh-muted);
}

.vh-docs-pro-empty strong { display: block; margin-bottom: 6px; color: var(--vh-ink); }

.vh-docs-pro-modal[hidden] { display: none !important; }
.vh-docs-pro-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 26px;
}

.vh-docs-pro-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 16, 27, .58);
	backdrop-filter: blur(9px);
}

.vh-docs-pro-modal-card {
	position: relative;
	width: min(940px, 100%);
	max-height: min(88vh, 900px);
	overflow: auto;
	padding: clamp(26px, 4vw, 46px);
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 34px 100px rgba(0,0,0,.24);
}

.vh-docs-pro-close {
	position: sticky;
	top: 0;
	float: right;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--vh-line);
	border-radius: 50%;
	background: #fff;
	color: var(--vh-ink);
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
}

.vh-docs-pro-modal-card h2 {
	margin: 8px 56px 22px 0;
	color: var(--vh-ink);
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.02;
	letter-spacing: -.055em;
}

.vh-docs-pro-figure {
	margin: 0 0 26px;
	border: 1px solid var(--vh-line);
	border-radius: 22px;
	overflow: hidden;
	background: #f8f9fc;
}

.vh-docs-pro-figure img {
	display: block;
	width: 100%;
	height: auto;
}

.vh-docs-pro-content {
	color: var(--vh-muted);
	font-size: 16px;
	line-height: 1.75;
}

.vh-docs-pro-content h3 {
	margin: 30px 0 10px;
	color: var(--vh-ink);
	font-size: 23px;
	line-height: 1.25;
	letter-spacing: -.03em;
}

.vh-docs-pro-content p { margin: 0 0 16px; }
.vh-docs-pro-content ul, .vh-docs-pro-content ol { margin: 0 0 20px 22px; padding: 0; }
.vh-docs-pro-content li { margin: 8px 0; }

.vh-docs-code, .vh-docs-example, .vh-docs-note {
	margin: 16px 0 22px;
	padding: 17px 19px;
	border-radius: 16px;
}

.vh-docs-code {
	border: 1px solid #dfe2ec;
	background: #f8f9fc;
	color: #333747;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 14px;
	line-height: 1.65;
}

.vh-docs-example {
	display: grid;
	gap: 7px;
	border: 1px solid #d9d6ff;
	background: #f6f3ff;
	color: #342c69;
}

.vh-docs-example strong {
	color: #251b6a;
}

.vh-docs-note {
	border: 1px solid #cdeedd;
	background: #f0fff7;
	color: #166c4e;
}

body.vh-docs-pro-modal-open { overflow: hidden; }

@media (max-width: 1000px) {
	.vh-docs-pro-hero { grid-template-columns: 1fr; }
	.vh-docs-pro-layout { grid-template-columns: 1fr; }
	.vh-docs-pro-sidebar { position: static; }
	.vh-docs-pro-sidebar-inner {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		padding: 14px;
	}
	.vh-docs-pro-side-title, .vh-docs-pro-reset { display: none; }
	.vh-docs-pro-topic {
		flex: 0 0 auto;
		width: auto;
		border: 1px solid var(--vh-line);
		white-space: nowrap;
	}
	.vh-docs-pro-topic span::before { display: none; }
}

@media (max-width: 720px) {
	.vh-docs-pro-header { flex-direction: column; align-items: stretch; }
	.vh-docs-pro-hero { padding: 24px; border-radius: 24px; }
	.vh-docs-pro-hero p { font-size: 15px; }
	.vh-docs-pro-card button { grid-template-columns: 1fr; }
	.vh-docs-pro-card img { height: 170px; border-right: 0; border-bottom: 1px solid var(--vh-line); }
	.vh-docs-pro-resultsbar { align-items: flex-start; flex-direction: column; gap: 5px; }
	.vh-docs-pro-modal { padding: 12px; align-items: end; }
	.vh-docs-pro-modal-card { max-height: 90vh; border-radius: 24px 24px 0 0; }
	.vh-docs-pro-close { position: absolute; right: 18px; top: 18px; }
	.vh-docs-pro-modal-card h2 { margin-right: 0; padding-right: 48px; }
}

.vh-docs-pro-card img,
.vh-docs-pro-hero-preview img,
.vh-docs-pro-figure img {
	background: linear-gradient(135deg, #f7f7fb, #ffffff);
}

.vh-docs-pro-card img[src=""],
.vh-docs-pro-hero-preview img[src=""] {
	display: none;
}
