﻿*,
*::before,
*::after {
	box-sizing: border-box
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	-webkit-text-size-adjust: 100%
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #1e293b;
	background-color: #fafafa;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility
}

::selection {
	background: rgba(99, 102, 241, .15);
	color: #1e293b
}

.site-header {
	background: hsla(0, 0%, 100%, .8);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid #f1f5f9;
	position: sticky;
	top: 0;
	z-index: 1000
}

.site-header .header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem
}

.site-header .logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #1e293b;
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: -0.01em
}

.site-header .logo svg {
	width: 32px;
	height: 32px
}

.site-header .header-search {
	flex: 1;
	max-width: 400px
}

.site-header .header-search .search-wrapper {
	position: relative
}

.site-header .header-search .search-wrapper svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none
}

.site-header .header-search input {
	width: 100%;
	height: 40px;
	padding: 0 1rem 0 40px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: .9375rem;
	background: #f5f5f7;
	color: #1e293b;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.site-header .header-search input::placeholder {
	color: #cbd5e1
}

.site-header .header-search input:focus {
	outline: none;
	border-color: #cf262f;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .08)
}

.site-header .header-nav {
	display: flex;
	align-items: center;
	gap: 2rem
}

.site-header .header-nav a {
	color: #475569;
	text-decoration: none;
	font-weight: 500;
	font-size: .9375rem;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative
}

.site-header .header-nav a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: #c91019;
	border-radius: 1px;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.site-header .header-nav a:hover {
	color: #1e293b
}

.site-header .header-nav a:hover::after {
	width: 100%
}

.main-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 48px;
	min-height: calc(100vh - 64px)
}

.main-wrapper.full-width {
	grid-template-columns: 1fr;
	max-width: 800px
}

.main-wrapper.with-toc {
	grid-template-columns: 240px 1fr 200px;
	gap: 40px
}

.sidebar-nav {
	position: sticky;
	top: 88px;
	height: fit-content;
	max-height: calc(100vh - 108px);
	overflow-y: auto;
	padding: 32px 0
}

.sidebar-nav::-webkit-scrollbar {
	width: 3px
}

.sidebar-nav::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0)
}

.sidebar-nav::-webkit-scrollbar-thumb {
	background: #e5e7eb;
	border-radius: 3px
}

.sidebar-nav .nav-title {
	font-size: .6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #94a3b8;
	margin-bottom: 12px;
	padding: 0 4px
}

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

.sidebar-nav nav ul li {
	margin: 0
}

.sidebar-nav nav ul li a {
	display: block;
	padding: 6px 8px;
	color: #64748b;
	text-decoration: none;
	font-size: .875rem;
	font-weight: 450;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 6px;
	line-height: 1.5
}

.sidebar-nav nav ul li a:hover {
	color: #1e293b
}

.sidebar-nav nav ul li a.active {
	color: #c91019;
	font-weight: 500
}

.sidebar-nav nav ul li ul {
	margin-top: 4px;
	margin-bottom: 8px;
	padding-left: 0;
	border-left: 1px solid #f1f5f9;
	margin-left: 12px;
	padding-left: 12px
}

.sidebar-nav nav ul li ul li a {
	font-size: .8125rem;
	padding: 4px 8px;
	color: #94a3b8
}

.sidebar-nav nav ul li ul li a:hover {
	color: #475569
}

.sidebar-nav .nav-section {
	margin-bottom: 28px
}

.toc-nav {
	position: sticky;
	top: 88px;
	height: fit-content;
	max-height: calc(100vh - 108px);
	overflow-y: auto;
	padding: 32px 0
}

.toc-nav .toc-title {
	font-size: .6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #94a3b8;
	margin-bottom: 12px;
	padding: 0 4px
}

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

.toc-nav ul li {
	margin: 0
}

.toc-nav ul li a {
	display: block;
	padding: 4px 8px;
	color: #64748b;
	text-decoration: none;
	font-size: .8125rem;
	font-weight: 450;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: 2px solid rgba(0, 0, 0, 0);
	line-height: 1.5
}

.toc-nav ul li a:hover {
	color: #1e293b
}

.toc-nav ul li a.active {
	color: #c91019;
	border-left-color: #c91019
}

.toc-nav ul li[data-level=h2] a {
	padding-left: 8px
}

.toc-nav ul li[data-level=h3] a {
	padding-left: 16px;
	font-size: .75rem
}

.toc-nav ul li[data-level=h4] a {
	padding-left: 24px;
	font-size: .75rem;
	color: #94a3b8
}

.toc-nav ul li[data-level=h5] a {
	padding-left: 32px;
	font-size: .6875rem;
	color: #94a3b8
}

.toc-nav ul li[data-level=h6] a {
	padding-left: 40px;
	font-size: .6875rem;
	color: #94a3b8
}

.user-content {
	padding: 40px 0;
	max-width: 100%;
	min-height: calc(100vh - 200px)
}

.user-content h1 {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.25;
	color: #1e293b;
	margin: 0 0 1.5rem 0;
	letter-spacing: -0.025em
}

.user-content h1:first-child {
	margin-top: 0
}

.user-content h2 {
	font-size: 1.625rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1e293b;
	margin: 3rem 0 1rem 0;
	letter-spacing: -0.02em
}

.user-content h3 {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1e293b;
	margin: 2rem 0 .75rem 0;
	letter-spacing: -0.015em
}

.user-content h4 {
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.45;
	color: #1e293b;
	margin: 1.5rem 0 .5rem 0
}

.user-content h5 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #1e293b;
	margin: 1.25rem 0 .5rem 0
}

.user-content h6 {
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.5;
	color: #64748b;
	margin: 1rem 0 .5rem 0;
	text-transform: uppercase;
	letter-spacing: .06em
}

.user-content p {
	font-size: 1rem;
	line-height: 1.75;
	color: #475569;
	margin: 0 0 1.25rem 0
}

.user-content p:last-child {
	margin-bottom: 0
}

.user-content>p:first-of-type:not(:only-of-type) {
	font-size: 1.125rem;
	color: #475569;
	line-height: 1.75
}

.user-content small {
	font-size: .875rem;
	color: #64748b
}

.user-content strong,
.user-content b {
	font-weight: 600;
	color: #1e293b
}

.user-content em,
.user-content i {
	font-style: italic
}

.user-content mark {
	background: linear-gradient(120deg, rgba(253, 230, 138, 0.5) 0%, rgba(253, 230, 138, 0.5) 100%);
	background-repeat: no-repeat;
	background-size: 100% 45%;
	background-position: 0 90%;
	padding: 0 2px;
	border-radius: 2px
}

.user-content a {
	color: #c91019;
	text-decoration: none;
	font-weight: 500;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 2px
}

.user-content a:hover {
	color: #4f46e5
}

.user-content a:focus {
	outline: 2px solid rgba(99, 102, 241, .3);
	outline-offset: 2px
}

.user-content ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem 0
}

.user-content ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	line-height: 1.65;
	color: #475569
}

.user-content ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 10px;
	width: 5px;
	height: 5px;
	background: #cf262f;
	border-radius: 50%
}

.user-content ul li ul {
	margin-top: 8px;
	margin-bottom: 0
}

.user-content ul li ul li::before {
	background: rgba(0, 0, 0, 0);
	border: 1.5px solid #cf262f;
	width: 5px;
	height: 5px
}

.user-content ul li ul ul li::before {
	background: #94a3b8;
	border: none;
	width: 4px;
	height: 4px
}

.user-content ol {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem 0;
	counter-reset: ol-counter
}

.user-content ol li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 8px;
	line-height: 1.65;
	color: #475569;
	counter-increment: ol-counter
}

.user-content ol li::before {
	content: counter(ol-counter);
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	color: #c91019;
	font-size: .8125rem;
	background: rgba(99, 102, 241, .08);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1
}

.user-content ol li ol {
	margin-top: 8px;
	margin-bottom: 0;
	counter-reset: ol-nested
}

.user-content ol li ol li {
	counter-increment: ol-nested
}

.user-content ol li ol li::before {
	content: counter(ol-counter) "." counter(ol-nested);
	font-size: .75rem;
	width: auto;
	height: auto;
	border-radius: 0;
	background: rgba(0, 0, 0, 0)
}

.user-content dl {
	margin: 0 0 1.25rem 0;
	padding: 1.25rem;
	background: #f5f5f7;
	border-radius: 12px
}

.user-content dl dt {
	font-weight: 600;
	color: #1e293b;
	margin-top: .875rem
}

.user-content dl dt:first-child {
	margin-top: 0
}

.user-content dl dd {
	margin: .25rem 0 0 0;
	padding-left: 1rem;
	color: #64748b;
	border-left: 2px solid rgba(99, 102, 241, .2)
}

.user-content blockquote {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	background: #f5f5f7;
	border: none;
	position: relative
}

.user-content blockquote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	bottom: 16px;
	width: 3px;
	background: #cf262f;
	border-radius: 0 2px 2px 0
}

.user-content blockquote p {
	font-size: 1rem;
	color: #475569;
	margin: 0
}

.user-content blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: .8125rem;
	color: #94a3b8;
	font-style: normal
}

.user-content blockquote cite::before {
	content: "— "
}

.user-content blockquote.tip {
	background: rgba(16, 185, 129, .06)
}

.user-content blockquote.tip::before {
	background: #10b981
}

.user-content blockquote.tip p::before {
	content: "💡 "
}

.user-content blockquote.note {
	background: rgba(6, 182, 212, .06)
}

.user-content blockquote.note::before {
	background: #06b6d4
}

.user-content blockquote.note p::before {
	content: "ℹ️ "
}

.user-content blockquote.warning {
	background: rgba(245, 158, 11, .06)
}

.user-content blockquote.warning::before {
	background: #f59e0b
}

.user-content blockquote.warning p::before {
	content: "⚠️ "
}

.user-content blockquote.danger {
	background: rgba(239, 68, 68, .06)
}

.user-content blockquote.danger::before {
	background: #ef4444
}

.user-content blockquote.danger p::before {
	content: "⛔ "
}

.user-content code {
	font-family: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;
	font-size: .875em;
	padding: 3px 6px;
	background: #f1f5f9;
	border-radius: 4px;
	color: #4f46e5;
	font-weight: 450
}

.user-content pre {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	background: #1e1e1e;
	border-radius: 12px;
	overflow-x: auto;
	position: relative
}

.user-content pre::before {
	content: attr(data-lang);
	position: absolute;
	top: 10px;
	right: 14px;
	font-size: .625rem;
	font-weight: 600;
	color: hsla(0, 0%, 100%, .3);
	text-transform: uppercase;
	letter-spacing: .1em
}

.user-content pre code {
	font-size: .875rem;
	padding: 0;
	background: rgba(0, 0, 0, 0);
	color: #e2e8f0;
	display: block;
	line-height: 1.7;
	font-weight: 400
}

.user-content kbd {
	font-family: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;
	font-size: .75rem;
	padding: 3px 8px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	box-shadow: 0 1px 0 #e5e7eb;
	color: #1e293b;
	font-weight: 500
}

.user-content samp {
	font-family: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;
	font-size: .875em;
	padding: 2px 6px;
	background: #f5f5f7;
	border-radius: 4px;
	color: #475569
}

.user-content var {
	font-family: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;
	font-style: italic;
	color: #c91019
}

.user-content table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: .9375rem
}

.user-content table thead th {
	text-align: left;
	padding: 12px 16px;
	font-weight: 600;
	color: #1e293b;
	background: #f5f5f7;
	border-bottom: 1px solid #e5e7eb;
	white-space: nowrap
}

.user-content table thead th:first-child {
	border-radius: 12px 0 0 0
}

.user-content table thead th:last-child {
	border-radius: 0 12px 0 0
}

.user-content table tbody tr {
	background: #fff;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content table tbody tr:hover {
	background: #f5f5f7
}

.user-content table tbody tr:last-child td {
	border-bottom: none
}

.user-content table tbody td {
	padding: 12px 16px;
	color: #475569;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: top
}

.user-content table tfoot td {
	padding: 12px 16px;
	background: #f5f5f7;
	color: #64748b;
	font-size: .8125rem;
	border-radius: 0 0 12px 12px
}

.user-content table caption {
	caption-side: bottom;
	padding: 12px 0;
	font-size: .8125rem;
	color: #64748b;
	text-align: left
}

.user-content figure {
	margin: 2rem 0;
	display: flex;
	flex-direction: column;
	align-items: center
}

.user-content figure img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -2px rgba(0, 0, 0, .05)
}

.user-content figure figcaption {
	margin-top: 12px;
	font-size: .875rem;
	color: #64748b;
	text-align: center
}

.user-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1rem 0
}

.user-content picture {
	display: block;
	margin: 1.5rem 0
}

.user-content picture img {
	margin: 0
}

.user-content .video-embed {
	margin: 2rem 0
}

.user-content .video-embed .video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	border-radius: 12px;
	overflow: hidden;
	background: #f1f5f9;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -2px rgba(0, 0, 0, .05)
}

.user-content .video-embed .video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 12px
}

.user-content .video-embed figcaption {
	margin-top: 12px;
	font-size: .875rem;
	color: #64748b;
	text-align: center
}

.user-content iframe[src*=youtube],
.user-content iframe[src*=vimeo] {
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -2px rgba(0, 0, 0, .05)
}

.user-content .download-section {
	margin: 2rem 0;
	padding: 1.5rem;
	background: #f5f5f7;
	border-radius: 16px;
	border: 1px solid #f1f5f9
}

.user-content .download-section .download-title {
	font-size: .8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #64748b;
	margin: 0 0 1rem 0;
	display: flex;
	align-items: center;
	gap: 8px
}

.user-content .download-section .download-title svg {
	width: 16px;
	height: 16px;
	color: #c91019
}

.user-content .download-section .download-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px
}

.user-content .download-section .download-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content .download-section .download-item:hover {
	border-color: #cf262f;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .04), 0 1px 2px -1px rgba(0, 0, 0, .04);
	transform: translateY(-1px)
}

.user-content .download-section .download-item .file-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0
}

.user-content .download-section .download-item .file-info .file-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f7;
	border-radius: 8px;
	flex-shrink: 0
}

.user-content .download-section .download-item .file-info .file-icon svg {
	width: 20px;
	height: 20px;
	color: #c91019
}

.user-content .download-section .download-item .file-info .file-details {
	min-width: 0
}

.user-content .download-section .download-item .file-info .file-details .file-name {
	font-weight: 500;
	color: #1e293b;
	font-size: .9375rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.user-content .download-section .download-item .file-info .file-details .file-meta {
	font-size: .75rem;
	color: #94a3b8;
	margin-top: 2px
}

.user-content .download-section .download-item .download-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #c91019;
	color: #fff;
	font-size: .8125rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	margin-left: 16px;
	border: none;
	cursor: pointer
}

.user-content .download-section .download-item .download-btn svg {
	width: 14px;
	height: 14px
}

.user-content .download-section .download-item .download-btn:hover {
	background: #4f46e5;
	transform: translateY(-1px)
}

.user-content .download-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	color: #1e293b;
	text-decoration: none;
	font-size: .9375rem;
	font-weight: 500;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content .download-link svg {
	width: 16px;
	height: 16px;
	color: #c91019
}

.user-content .download-link:hover {
	border-color: #cf262f;
	color: #c91019
}

.user-content hr {
	border: none;
	height: 1px;
	background: #e5e7eb;
	margin: 2.5rem 0;
	border-radius: 1px
}

.user-content hr.section-divider {
	height: 1px;
	background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%);
	margin: 3rem 0
}

.user-content form {
	margin: 1.5rem 0;
	padding: 1.5rem;
	background: #f5f5f7;
	border-radius: 12px
}

.user-content label {
	display: block;
	font-weight: 500;
	color: #1e293b;
	margin-bottom: 8px;
	font-size: .9375rem
}

.user-content input[type=text],
.user-content input[type=email],
.user-content input[type=password],
.user-content input[type=number],
.user-content input[type=tel],
.user-content input[type=url],
.user-content input[type=search],
.user-content input[type=date],
.user-content input[type=time],
.user-content input[type=datetime-local],
.user-content input[type=color] {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	font-size: .9375rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #1e293b;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 16px
}

.user-content input[type=text]::placeholder,
.user-content input[type=email]::placeholder,
.user-content input[type=password]::placeholder,
.user-content input[type=number]::placeholder,
.user-content input[type=tel]::placeholder,
.user-content input[type=url]::placeholder,
.user-content input[type=search]::placeholder,
.user-content input[type=date]::placeholder,
.user-content input[type=time]::placeholder,
.user-content input[type=datetime-local]::placeholder,
.user-content input[type=color]::placeholder {
	color: #cbd5e1
}

.user-content input[type=text]:focus,
.user-content input[type=email]:focus,
.user-content input[type=password]:focus,
.user-content input[type=number]:focus,
.user-content input[type=tel]:focus,
.user-content input[type=url]:focus,
.user-content input[type=search]:focus,
.user-content input[type=date]:focus,
.user-content input[type=time]:focus,
.user-content input[type=datetime-local]:focus,
.user-content input[type=color]:focus {
	outline: none;
	border-color: #cf262f;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .08)
}

.user-content input[type=text]:disabled,
.user-content input[type=email]:disabled,
.user-content input[type=password]:disabled,
.user-content input[type=number]:disabled,
.user-content input[type=tel]:disabled,
.user-content input[type=url]:disabled,
.user-content input[type=search]:disabled,
.user-content input[type=date]:disabled,
.user-content input[type=time]:disabled,
.user-content input[type=datetime-local]:disabled,
.user-content input[type=color]:disabled {
	background: #f5f5f7;
	cursor: not-allowed;
	opacity: .6
}

.user-content textarea {
	width: 100%;
	min-height: 120px;
	padding: 12px 14px;
	font-size: .9375rem;
	font-family: inherit;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #1e293b;
	resize: vertical;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 16px
}

.user-content textarea:focus {
	outline: none;
	border-color: #cf262f;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .08)
}

.user-content select {
	width: 100%;
	height: 44px;
	padding: 0 40px 0 14px;
	font-size: .9375rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: #1e293b;
	appearance: none;
	cursor: pointer;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 16px
}

.user-content select:focus {
	outline: none;
	border-color: #cf262f;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .08)
}

.user-content input[type=checkbox],
.user-content input[type=radio] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	accent-color: #c91019;
	cursor: pointer
}

.user-content input[type=range] {
	width: 100%;
	height: 6px;
	background: #f1f5f9;
	border-radius: 3px;
	margin: 8px 0;
	accent-color: #c91019
}

.user-content input[type=file] {
	width: 100%;
	padding: 16px;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content input[type=file]:hover {
	border-color: #cf262f;
	background: rgba(99, 102, 241, .02)
}

.user-content button,
.user-content input[type=submit],
.user-content input[type=reset],
.user-content input[type=button] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 20px;
	font-size: .9375rem;
	font-weight: 500;
	font-family: inherit;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	background: #c91019;
	color: #fff
}

.user-content button:hover,
.user-content input[type=submit]:hover,
.user-content input[type=reset]:hover,
.user-content input[type=button]:hover {
	background: #4f46e5;
	transform: translateY(-1px)
}

.user-content button:active,
.user-content input[type=submit]:active,
.user-content input[type=reset]:active,
.user-content input[type=button]:active {
	transform: translateY(0)
}

.user-content button:disabled,
.user-content input[type=submit]:disabled,
.user-content input[type=reset]:disabled,
.user-content input[type=button]:disabled {
	opacity: .5;
	cursor: not-allowed;
	transform: none
}

.user-content input[type=reset] {
	background: #f1f5f9;
	color: #475569
}

.user-content input[type=reset]:hover {
	background: #e5e7eb
}

.user-content fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 16px
}

.user-content fieldset legend {
	padding: 0 8px;
	font-weight: 600;
	color: #1e293b
}

.user-content details {
	margin: 1rem 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	overflow: hidden
}

.user-content details[open] summary {
	border-bottom: 1px solid #e5e7eb;
	background: #f5f5f7
}

.user-content summary {
	padding: 14px 18px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content summary::before {
	content: "›";
	font-size: 1.25rem;
	color: #94a3b8;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.user-content summary:hover {
	background: #f5f5f7
}

.user-content summary::-webkit-details-marker {
	display: none
}

.user-content details[open]>summary::before {
	transform: rotate(90deg)
}

.user-content details>:not(summary) {
	padding: 16px 18px
}

.user-content dialog {
	max-width: 480px;
	width: 90%;
	padding: 0;
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .05), 0 8px 10px -6px rgba(0, 0, 0, .05);
	background: #fff
}

.user-content dialog::backdrop {
	background: rgba(30, 41, 59, .4);
	backdrop-filter: blur(4px)
}

.user-content dialog>header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb
}

.user-content dialog>header h1,
.user-content dialog>header h2,
.user-content dialog>header h3,
.user-content dialog>header h4,
.user-content dialog>header h5,
.user-content dialog>header h6 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600
}

.user-content dialog>header button {
	width: 32px;
	height: 32px;
	padding: 0;
	background: rgba(0, 0, 0, 0);
	color: #64748b;
	border-radius: 50%
}

.user-content dialog>header button:hover {
	background: #f5f5f7;
	color: #1e293b;
	transform: none
}

.user-content dialog>div,
.user-content dialog>p {
	padding: 20px
}

.user-content dialog>footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #e5e7eb;
	background: #f5f5f7
}

.user-content dialog>footer button {
	height: 38px;
	padding: 0 16px;
	font-size: .875rem
}

.user-content meter {
	width: 100%;
	height: 8px;
	margin: 8px 0;
	border-radius: 4px;
	appearance: none;
	background: #f1f5f9
}

.user-content meter::-webkit-meter-bar {
	background: #f1f5f9;
	border-radius: 4px
}

.user-content meter::-webkit-meter-optimum-value {
	background: #10b981;
	border-radius: 4px
}

.user-content progress {
	width: 100%;
	height: 6px;
	margin: 8px 0;
	border-radius: 3px;
	appearance: none;
	overflow: hidden
}

.user-content progress::-webkit-progress-bar {
	background: #f1f5f9;
	border-radius: 3px
}

.user-content progress::-webkit-progress-value {
	background: linear-gradient(90deg, #c91019, #cf262f);
	border-radius: 3px
}

.user-content address {
	margin: 1.25rem 0;
	padding: 1rem 1.25rem;
	background: #f5f5f7;
	border-radius: 12px;
	font-style: normal
}

.user-content address p {
	margin: 4px 0;
	font-size: .9375rem
}

.user-content abbr {
	cursor: help;
	text-decoration: underline dotted #94a3b8
}

.user-content q {
	font-style: italic;
	color: #64748b
}

.user-content q::before,
.user-content q::after {
	content: '"'
}

.user-content cite {
	font-style: italic;
	color: #64748b
}

.user-content sub,
.user-content sup {
	font-size: .75em;
	line-height: 0
}

.user-content sup {
	top: -0.5em
}

.user-content sub {
	bottom: -0.25em
}

.user-content ins {
	background: rgba(16, 185, 129, .15);
	text-decoration: none;
	padding: 1px 3px;
	border-radius: 2px
}

.user-content del {
	background: rgba(239, 68, 68, .1);
	text-decoration: line-through;
	color: #64748b;
	padding: 1px 3px;
	border-radius: 2px
}

.user-content time {
	font-variant-numeric: tabular-nums;
	color: #64748b
}

.user-content data {
	font-family: "SF Mono", "Fira Code", "JetBrains Mono", Consolas, monospace;
	font-size: .875em;
	padding: 2px 6px;
	background: #f1f5f9;
	border-radius: 4px
}

.user-content article {
	margin: 2rem 0;
	padding: 1.5rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #f1f5f9;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03)
}

.user-content article h1,
.user-content article h2,
.user-content article h3,
.user-content article h4,
.user-content article h5,
.user-content article h6 {
	margin-top: 0
}

.user-content section {
	margin: 2rem 0
}

.user-content section:first-child {
	margin-top: 0
}

.user-content aside {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	background: rgba(6, 182, 212, .06);
	border-radius: 12px;
	position: relative
}

.user-content aside::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	background: #06b6d4;
	border-radius: 0 2px 2px 0
}

.user-content aside h1,
.user-content aside h2,
.user-content aside h3,
.user-content aside h4,
.user-content aside h5,
.user-content aside h6 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1rem
}

.user-content aside p:last-child {
	margin-bottom: 0
}

.user-content .footnotes {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	font-size: .875rem;
	color: #64748b
}

.user-content .footnotes ol li {
	padding-left: 1.5rem;
	margin-bottom: 6px
}

.user-content dl.glossary dt {
	font-weight: 600;
	margin-top: 1rem
}

.user-content dl.glossary dd {
	margin: 4px 0 0 0;
	padding: 8px 12px;
	background: #f5f5f7;
	border-radius: 8px;
	border-left: 2px solid rgba(99, 102, 241, .3)
}

.user-content :target {
	scroll-margin-top: 100px
}

.user-content *:focus-visible {
	outline: 2px solid rgba(99, 102, 241, .4);
	outline-offset: 2px
}

.home-hero {
	text-align: center;
	padding: 5rem 2rem 4rem;
	max-width: 720px;
	margin: 0 auto
}

.home-hero .logo-large {
	width: 80px;
	height: 80px;
	margin-bottom: 2rem;
	filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.2))
}

.home-hero h1 {
	font-size: 2.75rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 1rem 0;
	letter-spacing: -0.03em;
	line-height: 1.2
}

.home-hero .lead {
	font-size: 1.125rem;
	color: #475569;
	margin-bottom: 2.5rem;
	line-height: 1.7
}

.home-search {
	max-width: 520px;
	margin: 0 auto 3.5rem
}

.home-search .search-wrapper {
	position: relative
}

.home-search .search-wrapper svg {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8
}

.home-search .search-wrapper input {
	width: 100%;
	height: 52px;
	padding: 0 1.25rem 0 48px;
	font-size: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -2px rgba(0, 0, 0, .05);
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.home-search .search-wrapper input:focus {
	outline: none;
	border-color: #cf262f;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .05), 0 4px 6px -4px rgba(0, 0, 0, .05), 0 0 0 3px rgba(99, 102, 241, .08)
}

.home-search .search-wrapper input::placeholder {
	color: #cbd5e1
}

.home-search .search-hints {
	margin-top: 14px;
	font-size: .8125rem;
	color: #64748b;
	text-align: center
}

.home-search .search-hints kbd {
	margin: 0 2px
}

.home-sections {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px 4rem
}

@media(max-width: 768px) {
	.home-sections {
		grid-template-columns: 1fr;
		gap: 1.5rem
	}
}

.home-section {
	background: #fff;
	border-radius: 16px;
	padding: 1.5rem;
	border: 1px solid #f1f5f9;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .03)
}

.home-section h2 {
	font-size: .8125rem;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: .06em;
	display: flex;
	align-items: center;
	gap: 8px
}

.home-section h2 svg {
	color: #cf262f
}

.topic-list {
	display: grid;
	gap: 8px
}

.topic-list .topic-card {
	display: block;
	padding: 14px 16px;
	background: #f5f5f7;
	border-radius: 8px;
	text-decoration: none;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 0, 0, 0)
}

.topic-list .topic-card:hover {
	background: #fff;
	border-color: #cf262f;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .04), 0 1px 2px -1px rgba(0, 0, 0, .04);
	transform: translateY(-1px)
}

.topic-list .topic-card:hover h3 {
	color: #c91019
}

.topic-list .topic-card h3 {
	font-size: .9375rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 4px 0;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.topic-list .topic-card p {
	font-size: .8125rem;
	color: #64748b;
	margin: 0;
	line-height: 1.5
}

.topic-list .topic-card .topic-meta {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	font-size: .6875rem;
	color: #94a3b8
}

.topic-list .topic-card .topic-meta span {
	display: flex;
	align-items: center;
	gap: 4px
}

.shortcut-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px
}

.shortcut-list a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	background: #f5f5f7;
	border-radius: 6px;
	font-size: .8125rem;
	font-weight: 500;
	color: #475569;
	text-decoration: none;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.shortcut-list a:hover {
	background: #c91019;
	color: #fff
}

.site-footer {
	background: #fff;
	border-top: 1px solid #f1f5f9;
	padding: 3rem 24px 2rem
}

.site-footer .footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2rem
}

.site-footer .footer-section h4 {
	font-size: .6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #64748b;
	margin: 0 0 1rem 0
}

.site-footer .footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0
}

.site-footer .footer-section ul li {
	margin-bottom: 8px
}

.site-footer .footer-section ul li a {
	color: #475569;
	text-decoration: none;
	font-size: .875rem;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1)
}

.site-footer .footer-section ul li a:hover {
	color: #c91019
}

.site-footer .footer-bottom {
	max-width: 1200px;
	margin: 2rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .8125rem;
	color: #64748b
}

.site-footer .footer-bottom p {
	margin: 0
}

@media(max-width: 1024px) {
	.main-wrapper {
		grid-template-columns: 1fr;
		padding: 0 16px;
		gap: 0
	}

	.sidebar-nav,
	.toc-nav {
		display: none
	}

	.site-header .header-inner {
		padding: 0 16px
	}

	.site-header .header-search {
		display: none
	}

	.site-header .header-nav {
		gap: .5rem
	}
}

@media(max-width: 768px) {
	html {
		font-size: 15px
	}

	.user-content h1 {
		font-size: 1.875rem
	}

	.user-content h2 {
		font-size: 1.375rem
	}

	.user-content h3 {
		font-size: 1.125rem
	}

	.user-content pre {
		padding: 1rem 1.25rem;
		overflow-x: scroll
	}

	.user-content pre code {
		font-size: .8125rem
	}

	.user-content table {
		display: block;
		overflow-x: auto
	}

	.home-hero {
		padding: 3rem 1rem
	}

	.home-hero h1 {
		font-size: 2rem
	}

	.home-hero .lead {
		font-size: 1rem
	}

	.home-sections {
		padding: 0 16px 3rem
	}

	.site-footer {
		padding: 2rem 16px
	}

	.site-footer .footer-bottom {
		flex-direction: column;
		gap: .75rem;
		text-align: center
	}
}

@media print {

	.site-header,
	.sidebar-nav,
	.toc-nav,
	.site-footer {
		display: none !important
	}

	.main-wrapper {
		display: block;
		max-width: 100%;
		padding: 0
	}

	body {
		background: #fff
	}

	.user-content {
		max-width: 100%
	}

	.user-content a[href]::after {
		content: " (" attr(href) ")";
		font-size: .8em;
		color: #666
	}

	.user-content pre,
	.user-content code {
		border: 1px solid #ddd
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0
}

.mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #475569;
	border-radius: 8px;
	transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0
}

.mobile-menu-toggle:hover {
	background: #f5f5f7;
	color: #1e293b
}

.mobile-menu-toggle .icon-close {
	display: none
}

.mobile-menu-open .mobile-menu-toggle .icon-menu {
	display: none
}

.mobile-menu-open .mobile-menu-toggle .icon-close {
	display: block
}

.mobile-overlay {
	display: none;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(30, 41, 59, .4);
	backdrop-filter: blur(4px);
	z-index: 998;
	opacity: 0;
	transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1)
}

.mobile-menu-open .mobile-overlay {
	display: block;
	opacity: 1
}

@media(max-width: 1024px) {
	.mobile-menu-toggle {
		display: flex
	}

	.site-header .header-nav {
		position: fixed;
		top: 64px;
		right: 0;
		width: 280px;
		height: calc(100vh - 64px);
		background: #fff;
		border-left: 1px solid #f1f5f9;
		box-shadow: -4px 0 16px rgba(0, 0, 0, .08);
		flex-direction: column;
		align-items: stretch;
		padding: 1.5rem;
		gap: 0;
		transform: translateX(100%);
		transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 999;
		overflow-y: auto
	}

	.mobile-menu-open .site-header .header-nav,
	.mobile-menu-open .header-nav {
		transform: translateX(0)
	}

	.site-header .header-nav a {
		padding: 12px 16px;
		border-radius: 8px;
		font-size: 1rem;
		color: #475569
	}

	.site-header .header-nav a:hover {
		background: #f5f5f7;
		color: #1e293b
	}

	.site-header .header-nav a::after {
		display: none
	}

	.sidebar-nav.mobile-visible {
		display: block
	}
}

@media(max-width: 768px) {
	.site-footer .footer-inner {
		grid-template-columns: 1fr 1fr
	}
}

.search-wrapper {
	position: relative
}

.search-results {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .08);
	z-index: 1001;
	max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden
}

.search-results.active {
	display: block
}

.search-results::-webkit-scrollbar {
	width: 4px
}

.search-results::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0)
}

.search-results::-webkit-scrollbar-thumb {
	background: #e5e7eb;
	border-radius: 4px
}

.search-result-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	text-decoration: none;
	color: #1e293b;
	transition: background .15s;
	border-bottom: 1px solid #f1f5f9;
	cursor: pointer
}

.search-result-item:last-of-type {
	border-bottom: none
}

.search-result-item:hover {
	background: #f8fafc
}

.search-result-type {
	font-size: .6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-radius: 4px;
	padding: 1px 6px;
	display: inline-block;
	width: fit-content
}

.search-result-type.type-page {
	color: #6366f1;
	background: rgba(99, 102, 241, .08)
}

.search-result-type.type-block {
	color: #0891b2;
	background: rgba(8, 145, 178, .08)
}

.search-result-title {
	font-size: .9375rem;
	font-weight: 500;
	color: #1e293b;
	line-height: 1.4
}

.search-result-snippet {
	font-size: .8125rem;
	color: #64748b;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap
}

.search-loading,
.search-empty {
	padding: 16px;
	text-align: center;
	color: #94a3b8;
	font-size: .875rem
}

.search-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px
}

.search-footer {
	padding: 8px 14px;
	font-size: .75rem;
	color: #94a3b8;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	background: #fafafa;
	border-radius: 0 0 12px 12px
}

.home-search .search-results {
	border-radius: 16px
}

.home-search .search-results .search-footer {
	border-radius: 0 0 16px 16px
}



/*# sourceMappingURL=main.css.map */