/* This stylesheet is loaded only by the documentation viewer. */
html
{
	overflow: hidden;
}

.DocumentationPage
{
	--documentation-accent: #EAEAEA;
	height: 100dvh;
	overflow: hidden;
}

.DocumentationThemeBlue
{
	--documentation-accent: #4EB9EF;
}

.DocumentationThemeOrange
{
	--documentation-accent: #f57f20;
}

.DocumentationThemeLime
{
	--documentation-accent: #e6ff04;
}

.DocumentationPage .PageLayout
{
	height: 100dvh;
}

.DocumentationPage .MainContent
{
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.DocumentationPage .StickyHeaderPush
{
	flex: 0 0 80px;
}

.DocumentationPage .Page
{
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	min-width: 0;
	min-height: 0;
}

.Documentation
{
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
	padding-top: 24px;
	padding-bottom: 32px;
	text-align: left;
}

.DocumentationBreadcrumb
{
	flex: 0 0 auto;
	padding: 8px 16px 16px 0;
	font-size: 14px;
	line-height: 1.6;
}

.DocumentationBreadcrumb li, .DocumentationBreadcrumb a, .DocumentationBreadcrumb span
{
	color: rgba(255, 255, 255, 0.5);
	font-weight: 300;
	text-decoration: none;
}

.DocumentationBreadcrumb li[aria-current] > span, .DocumentationBreadcrumb li[aria-current] > a
{
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 2px solid currentColor;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 700;
}

.DocumentationBreadcrumb ol
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.DocumentationBreadcrumb li + li::before
{
	content: "▸";
	margin-left: 4px;
	margin-right: 12px;
	opacity: 0.5;
}

.DocumentationLayout
{
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: row;
	flex: 1;
	width: 100%;
	min-width: 0;
	min-height: 0;
	gap: 0;
	align-items: stretch;
}

.DocumentationLayout::before
{
	content: "";
	position: absolute;
	inset: -16px;
	z-index: -1;
	background: rgb(26, 26, 24);
	pointer-events: none;
}

.DocumentationSidebar
{
	display: flex;
	flex-direction: column;
	flex: 1 0 184px;
	min-width: 0;
	box-sizing: border-box;
	padding-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	min-height: 0;
	overflow: hidden;
	overscroll-behavior: contain;
}

.DocumentationIndexButton, .DocumentationPanelHeader
{
	display: none;
}

.DocumentationNavigationPanel
{
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.DocumentationNavigationPanel[hidden]
{
	display: none;
}

.DocumentationSearch
{
	--documentation-search-color: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 8px;
	margin-bottom: 16px;
	padding: 8px 10px;
	border: 1px solid var(--documentation-search-color);
	transition: border-color 0.25s;
	border-radius: 0;
	background: transparent;
}

.DocumentationSearchLabel
{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.DocumentationSearch input
{
	flex: 1;
	min-width: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--documentation-search-color);
	transition: color 0.25s;
	font-size: 14px;
	line-height: 1.5;
}

.DocumentationSearch input::placeholder
{
	color: var(--documentation-search-color);
	transition: color 0.25s;
	opacity: 1;
}

.DocumentationSearch input:focus
{
	outline: none;
	box-shadow: none;
}

.DocumentationSearch input::-webkit-search-cancel-button
{
	appearance: none;
}

.DocumentationSearchClear
{
	visibility: hidden;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--documentation-search-color);
	transition: color 0.25s;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.DocumentationSearch:focus-within .DocumentationSearchClear, .DocumentationSearch[data-active] .DocumentationSearchClear
{
	visibility: visible;
}

.DocumentationSearch[data-active]
{
	--documentation-search-color: rgba(255, 255, 255, 0.5);
}

.DocumentationSearch:focus-within
{
	--documentation-search-color: rgba(255, 255, 255, 0.75);
	outline: none;
}

.DocumentationSearchStatus
{
	flex: 0 0 auto;
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
}

.DocumentationSearchStatus:empty, .DocumentationSearch[hidden], .DocumentationSearchResults[hidden], .DocumentationTree[hidden]
{
	display: none;
}

.DocumentationNavigationScroll
{
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.DocumentationSearchResult
{
	display: block;
	padding: 12px 4px;
	border-bottom: 1px solid rgb(72, 72, 72);
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.DocumentationSearchResult strong, .DocumentationSearchContext, .DocumentationSearchPreview
{
	display: block;
}

.DocumentationSearchResult strong
{
	margin-bottom: 4px;
	font-weight: 700;
}

.DocumentationSearchContext
{
	margin-bottom: 4px;
	font-size: 12px;
	opacity: 0.65;
}

.DocumentationSearchPreview
{
	font-size: 13px;
	opacity: 0.8;
}

.DocumentationSearchResult:hover strong
{
	color: var(--documentation-accent);
}

.DocumentationTree
{
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.DocumentationTree ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}

.DocumentationTree ul ul
{
	padding-left: 16px;
}

.DocumentationTree ul[hidden]
{
	display: none;
}

.DocumentationTreeRow
{
	display: flex;
	align-items: start;
	position: relative;
	padding-left: 24px;
}

.DocumentationTreeRow a
{
	display: block;
	flex: 1;
	min-width: 0;
	padding: 6px 4px;
	text-decoration: none;
}

.DocumentationTree ul ul .DocumentationTreeRow a
{
	padding-top: 2px;
	padding-bottom: 2px;
}

.DocumentationTree ul ul .DocumentationTreeDot
{
	top: calc(2px + 0.5lh);
}

.DocumentationTree ul ul .DocumentationTreeToggle
{
	top: -1px;
}

.DocumentationTreeRow a:hover, .DocumentationTreeRow a[aria-current="location"]
{
	color: var(--documentation-accent);
}

.DocumentationTreeRow a[aria-current="location"]
{
	font-weight: 700;
}

.DocumentationTreeToggle
{
	position: absolute;
	left: 0;
	top: 3px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.DocumentationTreeToggle[aria-expanded="true"]
{
	transform: rotate(90deg);
}

.DocumentationTreeDot
{
	position: absolute;
	left: 10px;
	top: calc(6px + 0.5lh);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	transform: translateY(-50%);
}

.DocumentationTree a:focus-visible, .DocumentationTreeToggle:focus-visible, .DocumentationBreadcrumb a:focus-visible, .DocumentationSearchResult:focus-visible, .DocumentationIndexButton:focus-visible, .DocumentationPanelClose:focus-visible
{
	outline: 1px solid currentColor;
	outline-offset: 2px;
}

.DocumentationReadingArea
{
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 1 896px;
	min-width: 0;
	min-height: 0;
	max-width: 896px;
	padding-left: 24px;
}

.DocumentationContentViewport
{
	position: relative;
	isolation: isolate;
	display: flex;
	flex: 1;
	min-height: 0;
}

.DocumentationContentViewport::before, .DocumentationContentViewport::after
{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 16px;
	z-index: 1;
	pointer-events: none;
}

.DocumentationContentViewport::before
{
	top: 0;
	background: linear-gradient(rgb(26, 26, 24), rgba(26, 26, 24, 0));
}

.DocumentationContentViewport::after
{
	bottom: 0;
	background: linear-gradient(rgba(26, 26, 24, 0), rgb(26, 26, 24));
}

.DocumentationContent
{
	flex: 1;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	padding-top: 16px;
	padding-right: 16px;
	padding-bottom: 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
	font-size: 16px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.DocumentationContent h1
{
	margin: 0 0 24px;
	font-size: 36px;
	font-weight: 300;
	line-height: 1.2;
}

.DocumentationContent h1.DocumentationTitleHidden
{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.DocumentationContent .DocumentationTitleHidden + h2
{
	margin-top: 0;
}

.DocumentationContent h2
{
	margin: 48px 0 16px;
	font-size: 26px;
	font-weight: 300;
	line-height: 1.3;
}

.DocumentationContent h3
{
	margin: 32px 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.DocumentationContent p
{
	margin: 0 0 20px;
	font-size: inherit;
	line-height: inherit;
}

.DocumentationContent ul, .DocumentationContent ol
{
	margin: 0 0 24px;
	padding-left: 24px;
}

.DocumentationContent ul
{
	padding-left: 12px;
	list-style: disc;
}

.DocumentationContent li > ul
{
	padding-left: 24px;
}

.DocumentationContent ol
{
	list-style: decimal;
}

.DocumentationContent li
{
	margin: 8px 0;
}

.DocumentationContent table
{
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
	background: rgb(22, 22, 20);
}

.DocumentationContent th, .DocumentationContent td
{
	width: auto;
	padding: 8px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	text-align: left;
	vertical-align: top;
	white-space: normal;
	overflow-wrap: normal;
}

.DocumentationContent th
{
	font-weight: 700;
}

.DocumentationContent figure
{
	margin: 24px 0;
}

.DocumentationContent img
{
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
}

.DocumentationContent h2, .DocumentationContent h3, .DocumentationContent h4
{
	scroll-margin-top: 16px;
}

@media (max-width: 760px)
{
	.DocumentationLayout::before
	{
		left: 50%;
		right: auto;
		width: 100vw;
		transform: translateX(-50%);
	}

	.DocumentationLayout
	{
		flex-direction: column;
	}

	.DocumentationSidebar
	{
		flex: 0 0 auto;
		min-height: 0;
		padding: 0;
		border-right: 0;
	}

	.DocumentationSearch
	{
		margin-bottom: 8px;
	}

	.DocumentationIndexButton:not([hidden])
	{
		display: block;
		width: 100%;
		margin: 0;
		padding: 10px 12px;
		border: 1px solid #606060;
		border-radius: 4px;
		background: #252523;
		color: inherit;
		font-size: 14px;
		line-height: 1.5;
		text-align: left;
		cursor: pointer;
	}

	.DocumentationReadingArea
	{
		flex: 1;
		width: 100%;
		padding-left: 0;
	}

	.DocumentationNavigationPanel
	{
		position: absolute;
		inset: 0;
		z-index: 1;
		padding: 0 12px 12px;
		background: rgb(26, 26, 24);
		border: 1px solid rgb(72, 72, 72);
		border-radius: 4px;
	}

	.DocumentationPanelHeader
	{
		display: flex;
		justify-content: flex-end;
		flex: 0 0 auto;
		padding: 4px 0;
	}

	.DocumentationPanelClose
	{
		display: block;
		width: 36px;
		height: 36px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: inherit;
		font-size: 26px;
		line-height: 1;
		cursor: pointer;
	}

	.DocumentationContent h1
	{
		font-size: 30px;
	}
}
