/* DocsIntel Help Center — layout modelled on a three-column API reference. */

.dh-page,
.dh-editor {
	--dh-text: var(--navy, #1d2129);
	--dh-text-2: var(--text, #4e5969);
	--dh-text-3: var(--muted, #86909c);
	--dh-line: var(--line-soft, #e5e6eb);
	--dh-line-2: #f2f3f5;
	--dh-fill: var(--surface, #f7f8fa);
	--dh-chip: #f1f3f5;
	--dh-brand: var(--blue, #1664ff);
	--dh-brand-soft: #e8f0ff;
	--dh-red: #f53f3f;
	--dh-red-soft: #ffece8;
	--dh-green: #00b42a;
	--dh-orange: #ff7d00;
	--dh-code-bg: var(--surface, #f7f8fa);
	--dh-mono: var(--mono, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace);
	--dh-sans: var(--body, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
	--dh-head: var(--head, var(--dh-sans));
	--dh-top: 0px;
	--dh-sidebar-w: 260px;
}

/* Sticky columns need a non-scrolling body; clip keeps horizontal overflow hidden. */
html body.dh-page {
	overflow: visible;
	overflow-x: clip;
}

/* Break out of the theme container (Astra & generic themes). */
.dh-page #content > .ast-container,
.dh-page .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}
.dh-page #primary,
.dh-page #secondary {
	display: none;
}

.dh-layout {
	display: grid;
	grid-template-columns: var(--dh-sidebar-w) minmax(0, 1fr);
	min-height: calc(100vh - var(--dh-top));
	font-family: var(--dh-sans);
	font-size: 14px;
	line-height: 1.7;
	color: var(--dh-text);
	background: #fff;
	text-align: left;
}
.dh-layout *,
.dh-layout *::before,
.dh-layout *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- sidebar */

.dh-sidebar {
	border-right: 1px solid var(--dh-line);
	background: #fff;
}
.dh-sidebar-inner {
	position: sticky;
	top: var(--dh-top);
	max-height: calc(100vh - var(--dh-top));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 20px 12px 40px;
	scrollbar-width: thin;
}
.dh-sidebar-top {
	position: sticky;
	top: -20px;
	margin: -20px -12px 8px;
	padding: 20px 12px 12px;
	background: #fff;
	z-index: 1;
}
.dh-home-link {
	display: block;
	padding: 0 8px 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--dh-text) !important;
	text-decoration: none !important;
}
.dh-search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 8px 0 10px;
	border: 1px solid var(--dh-line);
	border-radius: 6px;
	color: var(--dh-text-3);
	background: #fff;
	transition: border-color .15s;
}
.dh-search:focus-within {
	border-color: var(--dh-brand);
}
.dh-search-input {
	flex: 1;
	min-width: 0;
	height: 30px;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: 0;
	font: inherit;
	font-size: 13px;
	color: var(--dh-text);
}
.dh-search-kbd {
	font: 11px/16px var(--dh-mono);
	padding: 0 5px;
	border: 1px solid var(--dh-line);
	border-radius: 4px;
	color: var(--dh-text-3);
	background: var(--dh-fill);
}

.dh-nav-group + .dh-nav-group {
	margin-top: 16px;
}
.dh-nav-heading {
	margin: 0 0 4px;
	padding: 0 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 32px;
	color: var(--dh-text);
}
.dh-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dh-nav-list .dh-nav-list {
	display: none;
	padding-left: 12px;
}
.dh-nav-item.is-open > .dh-nav-list {
	display: block;
}
.dh-nav-row {
	display: flex;
	align-items: center;
}
.dh-nav-link {
	flex: 1;
	display: block;
	min-width: 0;
	padding: 5px 8px;
	margin: 1px 0;
	border-radius: 4px;
	font-size: 14px;
	line-height: 22px;
	color: var(--dh-text-2) !important;
	text-decoration: none !important;
	overflow-wrap: anywhere;
	transition: background-color .15s, color .15s;
}
.dh-nav-link:hover {
	background: var(--dh-line-2);
	color: var(--dh-text) !important;
}
.dh-nav-link.is-active {
	background: var(--dh-chip);
	color: var(--dh-text) !important;
	font-weight: 500;
}
.dh-nav-status {
	font-size: 11px;
	color: var(--dh-orange);
	text-transform: uppercase;
}
.dh-nav-toggle {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #737a87;
	cursor: pointer;
}
.dh-nav-toggle:hover {
	background: var(--dh-line-2);
}
.dh-nav-toggle svg {
	transition: transform .15s;
}
.dh-nav-item.is-open > .dh-nav-row .dh-nav-toggle svg {
	transform: rotate(90deg);
}
.dh-nav-empty {
	padding: 8px;
	color: var(--dh-text-3);
}
.dh-nav mark {
	background: #fff3c4;
	color: inherit;
	padding: 0;
}

/* ---------------------------------------------------------------- main */

.dh-main {
	min-width: 0;
	padding: 24px 40px 64px;
}
.dh-layout.has-aside .dh-main {
	padding-right: 24px;
}
.dh-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--dh-text-3);
	margin-bottom: 12px;
}
.dh-breadcrumb a {
	color: var(--dh-text-3) !important;
	text-decoration: none !important;
}
.dh-breadcrumb a:hover {
	color: var(--dh-brand) !important;
}
.dh-breadcrumb [aria-current] {
	color: var(--dh-text);
}
.dh-sep {
	color: var(--dh-line);
}

.dh-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 16px;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--dh-line);
}
.dh-title {
	margin: 0;
	font-family: var(--dh-head);
	font-size: 28px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--dh-text);
	letter-spacing: 0;
}
.dh-actions {
	display: flex;
	gap: 8px;
}
.dh-layout button,
.dh-layout select {
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}
.dh-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--dh-line);
	border-radius: 6px;
	background: #fff;
	color: var(--dh-text-2) !important;
	font: 13px/1 var(--dh-sans);
	text-decoration: none !important;
	cursor: pointer;
	white-space: nowrap;
}
.dh-btn:hover {
	border-color: #c9cdd4;
	color: var(--dh-text) !important;
	background: var(--dh-fill);
}
.dh-meta {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12px;
	color: var(--dh-text-3);
}
.dh-lead {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--dh-text-2);
}

.dh-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 48px;
	align-items: start;
}
.dh-layout.has-aside .dh-body {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
	gap: 32px;
}
.dh-body > .dh-content {
	max-width: 860px;
}
.dh-body > .dh-aside,
.dh-body > .dh-toc-col {
	align-self: stretch;
	min-width: 0;
}
.dh-aside-sticky {
	position: sticky;
	top: calc(var(--dh-top) + 20px);
	max-height: calc(100vh - var(--dh-top) - 40px);
	overflow-y: auto;
	scrollbar-width: thin;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.dh-aside-sticky > * {
	margin: 0 !important;
}
.dh-aside-inline {
	display: none;
}

/* TOC */
.dh-toc {
	position: sticky;
	top: calc(var(--dh-top) + 20px);
	max-height: calc(100vh - var(--dh-top) - 40px);
	overflow-y: auto;
	padding-left: 12px;
	border-left: 1px solid var(--dh-line);
	font-size: 13px;
}
.dh-toc-title {
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--dh-text);
}
.dh-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dh-toc li {
	margin: 0;
}
.dh-toc a {
	display: block;
	padding: 4px 0;
	line-height: 1.5;
	color: var(--dh-text-2) !important;
	text-decoration: none !important;
}
.dh-toc .dh-toc-l3 a {
	padding-left: 12px;
}
.dh-toc a:hover,
.dh-toc a.is-active {
	color: var(--dh-brand) !important;
}

/* ---------------------------------------------------------------- content */

.dh-content {
	font-size: 14px;
	line-height: 1.75;
	color: var(--dh-text);
	overflow-wrap: anywhere;
}
.dh-content > :first-child {
	margin-top: 0;
}
.dh-content p,
.dh-content ul,
.dh-content ol,
.dh-content blockquote,
.dh-content .dh-table-wrap,
.dh-content .dh-code,
.dh-content .dh-callout,
.dh-content .dh-params,
.dh-content .dh-details {
	margin: 0 0 16px;
}
.dh-content h1,
.dh-content h2,
.dh-content h3,
.dh-content h4,
.dh-content h5,
.dh-content h6 {
	position: relative;
	font-family: var(--dh-head);
	color: var(--dh-text);
	font-weight: 600;
	letter-spacing: 0;
	scroll-margin-top: calc(var(--dh-top) + 16px);
}
.dh-content h1 { font-size: 24px; margin: 40px 0 16px; }
.dh-content h2 { font-size: 20px; line-height: 1.4; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--dh-line); }
.dh-content > h2:first-child,
.dh-content hr + h2 { padding-top: 0; border-top: 0; }
.dh-content h3 { font-size: 16px; line-height: 1.5; margin: 28px 0 12px; }
.dh-content h4 { font-size: 14px; margin: 20px 0 8px; }
.dh-anchor {
	margin-left: 6px;
	color: var(--dh-text-3) !important;
	text-decoration: none !important;
	font-weight: 400;
	opacity: 0;
	transition: opacity .15s;
}
.dh-h:hover .dh-anchor,
.dh-anchor:focus {
	opacity: 1;
}
.dh-content a {
	color: var(--dh-brand);
	text-decoration: none;
}
.dh-content a:hover {
	text-decoration: underline;
}
.dh-content ul,
.dh-content ol {
	padding-left: 22px;
}
.dh-content li {
	margin: 4px 0;
}
.dh-content li > ul,
.dh-content li > ol {
	margin: 4px 0;
}
.dh-content li::marker {
	color: var(--dh-text-3);
}
.dh-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.dh-content hr {
	border: 0;
	border-top: 1px solid var(--dh-line);
	margin: 32px 0;
}
.dh-content blockquote {
	padding: 4px 16px;
	border-left: 3px solid var(--dh-line);
	color: var(--dh-text-2);
	background: none;
	font-style: normal;
}
.dh-content :not(pre) > code {
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--dh-chip);
	color: #42464e;
	font: 0.88em/1.6 var(--dh-mono);
}
.dh-content kbd {
	padding: 1px 5px;
	border: 1px solid var(--dh-line);
	border-bottom-width: 2px;
	border-radius: 4px;
	font: 12px var(--dh-mono);
	background: #fff;
}

/* Tables */
.dh-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--dh-line);
	border-radius: 6px;
}
.dh-content table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 13px;
}
.dh-content th,
.dh-content td {
	padding: 9px 14px;
	border: 0;
	border-bottom: 1px solid var(--dh-line);
	text-align: left;
	vertical-align: top;
}
.dh-content th {
	background: var(--dh-fill);
	font-weight: 600;
	color: var(--dh-text);
	white-space: nowrap;
}
.dh-content tr:last-child td {
	border-bottom: 0;
}

/* Endpoint */
.dh-endpoint {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	margin: 0 0 12px;
	padding: 6px 8px 6px 6px;
	border: 1px solid var(--dh-line);
	border-radius: 6px;
	background: var(--dh-fill);
	width: fit-content;
}
.dh-method {
	flex: none;
	padding: 1px 8px;
	border-radius: 4px;
	font: 600 12px/20px var(--dh-mono);
	color: #fff;
	background: var(--dh-brand);
}
.dh-method-get { background: var(--dh-green); }
.dh-method-put,
.dh-method-patch { background: var(--dh-orange); }
.dh-method-delete { background: var(--dh-red); }
.dh-endpoint-url {
	font: 13px/1.5 var(--dh-mono) !important;
	background: none !important;
	padding: 0 !important;
	color: var(--dh-text) !important;
	overflow-wrap: anywhere;
}
.dh-endpoint-desc {
	color: var(--dh-text-2);
}

/* Callouts */
.dh-callout {
	display: flex;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--dh-brand-soft);
	font-size: 13px;
}
.dh-callout-icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--dh-brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1 7H7v5h2zm0-3H7v2h2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1 7H7v5h2zm0-3H7v2h2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dh-callout-body {
	min-width: 0;
}
.dh-callout-body > :last-child {
	margin-bottom: 0;
}
.dh-callout-title {
	margin: 0 0 2px !important;
	font-weight: 600;
}
.dh-callout-tip { background: #e8ffea; }
.dh-callout-tip .dh-callout-icon { background: var(--dh-green); }
.dh-callout-warning { background: #fff7e8; }
.dh-callout-warning .dh-callout-icon { background: var(--dh-orange); }
.dh-callout-danger { background: var(--dh-red-soft); }
.dh-callout-danger .dh-callout-icon { background: var(--dh-red); }

/* Details */
.dh-details {
	border: 1px solid var(--dh-line);
	border-radius: 6px;
}
.dh-details > summary {
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 500;
}
.dh-details-body {
	padding: 0 14px 4px;
}

/* ---------------------------------------------------------------- params */

.dh-params {
	border-top: 1px solid var(--dh-line-2);
}
.dh-params-title {
	margin: 8px 0 4px !important;
	font-size: 15px;
	font-weight: 600;
}
.dh-params-title code {
	font-weight: 400;
}
.dh-param {
	border-bottom: 1px solid var(--dh-line-2);
}
.dh-param-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 9px 0 9px 20px;
	position: relative;
	list-style: none;
	cursor: default;
	line-height: 22px;
}
.dh-param-head::-webkit-details-marker {
	display: none;
}
details.dh-param > .dh-param-head {
	cursor: pointer;
}
details.dh-param > .dh-param-head::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 17px;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid #737a87;
	border-bottom: 1.5px solid #737a87;
	transform: rotate(-45deg);
	transition: transform .15s;
}
details.dh-param[open] > .dh-param-head::before {
	transform: rotate(45deg);
	top: 14px;
}
.dh-param-name {
	font-weight: 600;
	color: var(--dh-text);
	font-family: var(--dh-sans);
}
.dh-content .dh-param-type,
.dh-badge {
	padding: 0 6px !important;
	border-radius: 3px;
	background: var(--dh-chip) !important;
	color: #42464e !important;
	font: 12px/20px var(--dh-mono) !important;
	white-space: nowrap;
}
.dh-badge code {
	padding: 0 !important;
	background: none !important;
	font: inherit !important;
}
.dh-badge-req {
	color: var(--dh-red) !important;
	background: var(--dh-red-soft) !important;
	font-family: var(--dh-sans) !important;
}
.dh-param-short {
	color: var(--dh-text-2);
}
.dh-param-short::before {
	content: "|";
	margin-right: 8px;
	color: #c9cdd4;
}
.dh-param-body {
	padding: 0 0 12px 20px;
	color: var(--dh-text-2);
}
.dh-param-body > :last-child {
	margin-bottom: 0;
}
.dh-param-body p {
	margin-bottom: 8px;
}
.dh-content .dh-param-path {
	display: inline-block;
	margin-bottom: 6px;
	padding: 0;
	background: none;
	color: var(--dh-text-3);
	font-size: 12px;
}
.dh-param-children {
	margin-top: 8px;
	padding: 0 12px;
	border: 1px solid var(--dh-line);
	border-radius: 6px;
	background: #fcfcfd;
}
.dh-param-children > .dh-param:last-child {
	border-bottom: 0;
}

/* ---------------------------------------------------------------- code */

.dh-code {
	border: 1px solid var(--dh-line);
	border-radius: 8px;
	background: var(--dh-code-bg);
	overflow: hidden;
}
.dh-code-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 40px;
	padding: 0 8px 0 14px;
	border-bottom: 1px solid var(--dh-line);
	background: #fff;
}
.dh-code-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--dh-text);
}
.dh-code-tools {
	display: flex;
	align-items: center;
	gap: 4px;
}
.dh-code-lang {
	font-size: 12px;
	color: var(--dh-text-3);
}
.dh-code-select select {
	height: 26px;
	min-height: 0;
	padding: 0 22px 0 8px !important;
	border: 0 !important;
	border-radius: 4px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1 4.5l3-3 3 3M1 7.5l3 3 3-3' fill='none' stroke='%23737a87' stroke-width='1.3'/%3E%3C/svg%3E") right 6px center no-repeat !important;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
	font: 12px/26px var(--dh-sans) !important;
	color: var(--dh-text-2) !important;
	cursor: pointer;
	width: auto;
}
.dh-code-select select:hover {
	background-color: var(--dh-line-2) !important;
}
.dh-copy {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #737a87;
	cursor: pointer;
}
.dh-copy::before {
	content: "";
	position: absolute;
	inset: 7px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='5' y='5' width='9' height='9' rx='1.5'/%3E%3Cpath d='M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='5' y='5' width='9' height='9' rx='1.5'/%3E%3Cpath d='M11 5V3.5A1.5 1.5 0 0 0 9.5 2h-6A1.5 1.5 0 0 0 2 3.5v6A1.5 1.5 0 0 0 3.5 11H5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dh-copy:hover {
	background: var(--dh-line-2);
	color: var(--dh-text);
}
.dh-copy.is-done {
	color: var(--dh-green);
}
.dh-copy.is-done::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
}
.dh-code-bare {
	position: relative;
}
.dh-code-bare > .dh-copy {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--dh-code-bg);
}
.dh-code-bare > pre.dh-pre {
	padding-right: 44px;
}
.dh-copy-inline {
	width: 24px;
	height: 24px;
}
.dh-copy-inline::before {
	inset: 5px;
}
.dh-content pre.dh-pre {
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: auto;
	max-height: 560px;
	font: 13px/1.65 var(--dh-mono);
	color: #1d2129;
	white-space: pre;
	tab-size: 2;
	overflow-wrap: normal;
}
.dh-pre code {
	font: inherit !important;
	background: none !important;
	padding: 0 !important;
	color: inherit !important;
}
.dh-tok-str { color: #0e7a3a; }
.dh-tok-key { color: #1a4fb0; }
.dh-tok-num { color: #b35300; }
.dh-tok-kw { color: #a626a4; }
.dh-tok-com { color: #86909c; font-style: italic; }
.dh-tok-flag { color: #1a4fb0; }

/* Cards & pager */
.dh-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin: 16px 0;
}
.dh-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--dh-line);
	border-radius: 8px;
	color: inherit !important;
	text-decoration: none !important;
	transition: border-color .15s, box-shadow .15s;
}
.dh-card:hover {
	border-color: var(--dh-brand);
	box-shadow: 0 2px 10px rgba(22, 100, 255, .08);
}
.dh-card-title {
	font-weight: 600;
	color: var(--dh-text);
}
.dh-card-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	color: var(--dh-text-2);
	line-height: 1.6;
}
.dh-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--dh-line);
}
.dh-pager a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	border: 1px solid var(--dh-line);
	border-radius: 8px;
	text-decoration: none !important;
}
.dh-pager a:hover {
	border-color: var(--dh-brand);
}
.dh-pager-next {
	text-align: right;
	grid-column: 2;
}
.dh-pager-label {
	font-size: 12px;
	color: var(--dh-text-3);
}
.dh-pager-title {
	font-weight: 500;
	color: var(--dh-brand);
}

/* Landing */
.dh-landing-group + .dh-landing-group {
	margin-top: 32px;
}
.dh-landing-group h2 {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
	color: var(--dh-text);
}
.dh-landing-desc p {
	margin: 0;
	color: var(--dh-text-2);
}

/* Mobile menu */
.dh-menu-btn,
.dh-scrim {
	display: none;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1200px) {
	.dh-layout.has-aside .dh-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.dh-layout.has-aside .dh-aside {
		display: none;
	}
	.dh-layout.has-aside .dh-aside-inline {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin: 0 0 24px;
	}
	.dh-aside-inline > * {
		margin: 0 !important;
	}
}

@media (max-width: 1100px) {
	.dh-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.dh-toc-col {
		display: none;
	}
}

@media (max-width: 860px) {
	.dh-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.dh-main {
		padding: 16px 16px 48px !important;
	}
	.dh-menu-btn {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		position: sticky;
		top: var(--dh-top);
		z-index: 20;
		width: 100%;
		height: 44px;
		padding: 0 16px;
		border: 0;
		border-bottom: 1px solid var(--dh-line);
		background: #fff;
		color: var(--dh-text);
		font: 500 14px var(--dh-sans);
		cursor: pointer;
	}
	.dh-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100000;
		width: min(300px, 86vw);
		transform: translateX(-100%);
		transition: transform .2s ease;
		box-shadow: 0 0 24px rgba(0, 0, 0, .12);
	}
	.dh-sidebar .dh-sidebar-inner {
		max-height: 100vh;
		height: 100%;
		top: 0;
	}
	.dh-layout.is-menu-open .dh-sidebar {
		transform: none;
	}
	.dh-layout.is-menu-open .dh-scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99999;
		background: rgba(0, 0, 0, .35);
	}
	.dh-header {
		grid-template-columns: minmax(0, 1fr);
	}
	.dh-title {
		font-size: 24px;
	}
	.dh-pager {
		grid-template-columns: minmax(0, 1fr);
	}
	.dh-pager-next {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dh-layout *,
	.dh-sidebar {
		transition: none !important;
	}
}
