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

x-include
{
	display: contents;
}
/* prevents layout disruption before fragment is injected */
.sidebar-nav details
{
	list-style: none;
}

.sidebar-nav summary
{
	list-style: none;
	cursor: pointer;
}

	.sidebar-nav summary::-webkit-details-marker
	{
		display: none;
	}

.sidebar-nav details[open] summary .sidebar-item-chevron
{
	transform: rotate(90deg);
	color: #7B8BFF;
}

.sidebar-nav details[open] summary
{
	color: #1A1A2E;
	font-weight: 700;
	font-size: 14px;
}

.sidebar-sections
{
	border-left: 2px solid #C8C8FF;
	margin-left: 24px;
	overflow: hidden;
}

details[open] > .sidebar-sections
{
	margin-bottom: 6px;
}

body
{
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	background: #F7F6F3;
	color: #1A1A2E;
}

a
{
	color: inherit;
	text-decoration: none;
}

	a:hover
	{
		color: inherit;
	}

button
{
	font-family: inherit;
}

.app
{
	display: flex;
	height: 100vh;
	overflow: hidden;
	background: #F7F6F3;
}

.sidebar
{
	width: 248px;
	flex-shrink: 0;
	background: #fff;
	border-right: 1px solid #EAEAE6;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
}

.sidebar-brand
{
	padding: 0 16px;
	border-bottom: 1px solid #EAEAE6;
	flex-shrink: 0;
	height: 52px;
	display: flex;
	align-items: center;
}

.brand-name
{
	font-size: 12px;
	font-weight: 700;
	color: #1A1A2E;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sidebar-item-chevron
{
	font-size: 9px;
	color: #BBB;
	flex-shrink: 0;
	display: inline-block;
	transition: transform .2s;
	line-height: 1;
}

.sidebar-item--active .sidebar-item-chevron
{
	transform: rotate(90deg);
	color: #7B8BFF;
}

.sidebar-sections
{
	overflow: hidden;
	margin: 0;
	border-left: 2px solid #EAEAE6;
	margin-left: 24px;
}

.sidebar-sections--open
{
	max-height: 600px;
	margin-bottom: 6px;
	border-left-color: #C8C8FF;
}

.sidebar-item--sub
{
	padding: 5px 12px;
	font-size: 12px;
	color: #777;
	border-left: none;
	justify-content: flex-start;
}

	.sidebar-item--sub:hover
	{
		color: #1A1A2E;
		background: #F7F6F3;
	}

.sidebar-item--sub--active
{
	color: #7B8BFF;
	font-weight: 600;
	background: #7B8BFF22;
	box-shadow: -2px 0 0 #7B8BFF;
}

.sidebar-label
{
	padding: 0 16px 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #888;
}

.sidebar-divider
{
	height: 1px;
	background: #EAEAE6;
	margin: 10px 16px;
}

.sidebar-nav
{
	flex: 1;
	overflow-y: auto;
	padding-bottom: 16px;
	min-height: 0;
}

.sidebar-item
{
	padding: 7px 16px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-left: 2px solid transparent;
	color: #555;
}

	.sidebar-item:hover
	{
		color: #1A1A2E;
		background: #F7F6F3;
	}

.sidebar-item--active
{
	border-left-color: transparent;
	background: transparent;
	color: #1A1A2E;
	font-weight: 700;
	font-size: 14px;
}

	.sidebar-item--active:hover
	{
		background: #F0F0FF;
	}

.sidebar-code
{
	font-size: 9.5px;
	font-weight: 700;
	color: #7B8BFF;
	font-family: monospace;
	min-width: 30px;
}

.sidebar-count
{
	font-size: 10px;
	color: #AAA;
	margin-left: auto;
}

.sidebar-footer
{
	border-top: 1px solid #EAEAE6;
	padding: 12px 0 8px;
	flex-shrink: 0;
}

.sidebar-footer-link
{
	padding: 5px 16px;
	font-size: 12px;
	color: #666;
}

.main
{
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.scroll-area
{
	flex: 1;
	overflow-y: auto;
}

.hero
{
	background: linear-gradient(135deg,#07071A 0%,#0C1228 50%,#061A38 100%);
	position: relative;
	overflow: hidden;
}

.hero-glow
{
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 140% at 85% 50%,rgba(123,139,255,.45),transparent), radial-gradient(ellipse 40% 80% at 15% 80%,rgba(80,100,255,.18),transparent);
	pointer-events: none;
}

.hero-inner
{
	padding: 56px 56px 72px;
	position: relative;
	min-height: 280px;
	box-sizing: border-box;
}

.hero-eyebrow
{
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #D0D8FF;
	display: block;
	margin-bottom: 16px;
}

.hero-eyebrow-sm
{
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #A8B4FF;
	margin-bottom: 8px;
}

.hero-title
{
	font-size: 38px;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.12;
	color: #fff;
	margin: 0 0 16px;
	max-width: 520px;
	text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.hero-title-sm
{
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -.025em;
	color: #fff;
	margin: 0 0 10px;
	max-width: 480px;
	text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-title-row
{
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.hero-lead
{
	font-size: 15px;
	color: rgba(255,255,255,.9);
	margin: 0 0 24px;
	line-height: 1.65;
}

.hero-lead-sm
{
	font-size: 14px;
	color: rgba(255,255,255,.9);
	max-width: 440px;
	line-height: 1.65;
	margin: 0;
}

.hero-lead-wide
{
	max-width: 480px;
}

.hero-meta
{
	font-size: 11px;
	color: rgba(255,255,255,.28);
	letter-spacing: .04em;
	margin-top: 8px;
}

.hero-actions
{
	display: flex;
	gap: 10px;
}

.hero-breadcrumb
{
	font-size: 11px;
	color: rgba(255,255,255,.4);
	display: flex;
	gap: 6px;
	align-items: center;
	margin-bottom: 12px;
}

.hero-breadcrumb-link
{
	color: rgba(255,255,255,.4);
}

	.hero-breadcrumb-link:hover
	{
		color: rgba(255,255,255,.8);
	}

.hero-breadcrumb-current
{
	color: rgba(255,255,255,.65);
}

.hero-code
{
	font-size: 13px;
	font-weight: 700;
	color: rgba(255,255,255,.45);
	font-family: monospace;
}

.banner
{
	background: linear-gradient(135deg,#07071A 0%,#0C1228 50%,#061A38 100%);
	padding: 48px 56px 60px;
	position: relative;
	overflow: hidden;
	margin-bottom: 32px;
}

.banner-inner
{
	position: relative;
}

.btn-cta
{
	background: #7B8BFF;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 9px 20px;
	border-radius: 8px;
	display: inline-block;
}

	.btn-cta:hover
	{
		background: #6B7BEF;
		color: #fff;
	}

.stat-chip
{
	background: rgba(255,255,255,.09);
	color: rgba(255,255,255,.65);
	font-size: 13px;
	padding: 9px 20px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,.12);
}

.btn-outline
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #EAEAE6;
	background: #fff;
	color: #555;
	font-size: 12px;
	padding: 8px 16px;
	border-radius: 8px;
}

	.btn-outline:hover
	{
		border-color: #C8C8FF;
		color: #7B8BFF;
	}

.btn-sm
{
	font-size: 12px;
	color: #555;
	border: 1px solid #EAEAE6;
	background: #fff;
	padding: 6px 14px;
	border-radius: 7px;
	cursor: pointer;
}

	.btn-sm:hover
	{
		border-color: #C8C8FF;
		color: #7B8BFF;
	}

.card-grid
{
	padding: 32px 48px;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 14px;
}

.overview-card
{
	background: #fff;
	border: 1px solid #EAEAE6;
	border-radius: 10px;
	padding: 22px;
	display: block;
}

	.overview-card:hover
	{
		border-color: #C8C8FF;
		box-shadow: 0 2px 8px rgba(123,139,255,.1);
	}

.overview-card-header
{
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.overview-card-icon
{
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.overview-card-title
{
	font-size: 14px;
	font-weight: 600;
	color: #1A1A2E;
}

.overview-card-desc
{
	font-size: 12px;
	color: #555;
	line-height: 1.65;
	margin-bottom: 14px;
}

.tag-row
{
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.tag
{
	font-size: 13px;
	padding: 4px 11px;
	border-radius: 20px;
}

.g-card-code
{
	font-size: 12px;
	font-weight: 700;
	color: #7B8BFF;
	font-family: monospace;
	letter-spacing: .04em;
	margin-bottom: 10px;
}

.g-card-title
{
	font-size: 14px;
	font-weight: 600;
	color: #1A1A2E;
	margin-bottom: 4px;
}

.g-card-count
{
	font-size: 11px;
	color: #AAA;
	margin-bottom: 10px;
}

.g-card-desc
{
	font-size: 12px;
	color: #555;
	line-height: 1.65;
}

.content-area
{
	padding: 32px 48px 48px;
}

.entry-list
{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.entry-card-static
{
	background: #fff;
	border: 1px solid #EAEAE6;
	border-radius: 10px;
	overflow: hidden;
}

.entry-header
{
	padding: 16px 20px;
	border-bottom: 1px solid #F4F4F0;
	display: flex;
	align-items: center;
	gap: 14px;
}

.entry-num
{
	font-size: 11px;
	font-weight: 700;
	color: #7B8BFF;
	min-width: 24px;
}

.entry-num-wide
{
	font-size: 11px;
	font-weight: 700;
	color: #7B8BFF;
	min-width: 56px;
}

.entry-title
{
	font-size: 14px;
	font-weight: 600;
	color: #1A1A2E;
	flex: 1;
}

.entry-body
{
	padding: 14px 20px 14px 58px;
}

.entry-body-wide
{
	padding: 12px 20px 14px 90px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.entry-desc
{
	font-size: 12px;
	color: #444;
	line-height: 1.65;
}

.entry-meta
{
	font-size: 12px;
	color: #555;
	margin-top: 4px;
}

.entry-callout
{
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 1.6;
}

.controls-bar
{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 20px;
}

.rule-list
{
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rule-card
{
	background: #fff;
	border: 1px solid #EAEAE6;
	border-radius: 10px;
	overflow: hidden;
}

.rule-header
{
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	list-style: none;
}

	.rule-header::-webkit-details-marker
	{
		display: none;
	}

	.rule-header:hover
	{
		background: #FAFAF8;
	}

.rule-code
{
	font-size: 13px;
	font-weight: 700;
	color: #7B8BFF;
	min-width: 84px;
	flex-shrink: 0;
	font-family: monospace;
	letter-spacing: .02em;
}

.rule-title
{
	font-size: 13px;
	font-weight: 600;
	color: #1A1A2E;
	flex: 1;
}

.rule-chevron
{
	font-size: 11px;
	color: #BBB;
	flex-shrink: 0;
	width: 12px;
	text-align: center;
	transition: transform .15s;
}

details[open] .rule-chevron
{
	transform: rotate(90deg);
}

.rule-body
{
}

.rule-body-inner
{
	border-top: 1px solid #F4F4F0;
	padding: 16px 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rule-desc
{
	font-size: 13px;
	color: #444;
	line-height: 1.65;
	padding-bottom: 4px;
}

.block
{
	border-radius: 7px;
	overflow: hidden;
}

.block-text
{
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 14px;
}

.block-label
{
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #fff;
	padding: 5px 12px;
}

.block-badge
{
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #fff;
	padding: 2px 7px;
	border-radius: 3px;
	white-space: nowrap;
	flex-shrink: 0;
}

.block-inline-text
{
	font-size: 12px;
	line-height: 1.6;
}

.block-pre
{
	font-size: 11.5px;
	padding: 12px 14px;
	margin: 0;
	overflow-x: auto;
	line-height: 1.7;
	font-family: Menlo,Consolas,monospace;
	white-space: pre;
}

.block-body
{
	padding: 10px 14px;
	font-size: 12px;
	line-height: 1.6;
}

.block--good
{
	border: 1px solid #A3D9C8;
}

	.block--good .block-label, .block--good .block-badge
	{
		background: #1A7F64;
	}

	.block--good.block-text
	{
		background: #EDF9F5;
	}

	.block--good .block-inline-text
	{
		color: #1A4A3A;
	}

	.block--good .block-pre
	{
		background: #F0FAF6;
		color: #1A2E24;
	}

.block--bad
{
	border: 1px solid #F5C6A8;
}

	.block--bad .block-label, .block--bad .block-badge
	{
		background: #B44A1C;
	}

	.block--bad.block-text
	{
		background: #FFF3EE;
	}

	.block--bad .block-inline-text
	{
		color: #6B2A10;
	}

	.block--bad .block-pre
	{
		background: #FFF5F0;
		color: #2E1A0E;
	}

.block--motivation
{
	border: 1px solid #DDD6FE;
}

	.block--motivation .block-label
	{
		background: #6D28D9;
	}

	.block--motivation .block-body
	{
		background: #F5F3FF;
		color: #2E1065;
	}

.block--exception
{
	border: 1px solid #FDE68A;
}

	.block--exception .block-label
	{
		background: #B45309;
	}

	.block--exception .block-body
	{
		background: #FFFBEB;
		color: #451A03;
	}

.mtag-row
{
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
}

.mtag
{
	font-size: 10px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 3px;
	border: 1px solid;
}

.applies-to
{
	font-size: 11px;
	color: #999;
	font-style: italic;
	padding-top: 2px;
}
