html {
	scroll-behavior: smooth;
}

:root {
	--admin-primary: #315adf;
	--admin-primary-soft: #edf3ff;
	--admin-border: #e5ebf5;
	--admin-panel: rgba(255, 255, 255, 0.94);
	--admin-text: #172033;
	--admin-muted: #6f7e97;
}

.admin-topbar {
	position: sticky;
	top: 0;
	z-index: 25;
	padding-top: 1rem;
}

.admin-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.2rem;
	border: 1px solid rgba(229, 235, 245, 0.92);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(18px);
	box-shadow: 0 16px 36px rgba(18, 34, 70, 0.08);
}

.topbar-brand,
.topbar-tools,
.topbar-user,
.page-head-meta,
.page-head-meta-right {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.topbar-brand-mark {
	position: relative;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #2f59dd 0%, #55c7a9 100%);
	box-shadow: 0 16px 30px rgba(49, 90, 223, 0.22);
}

.topbar-brand-dot {
	position: absolute;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
}

.topbar-brand-dot-a {
	top: 0.7rem;
	left: 0.72rem;
	width: 0.8rem;
	height: 0.8rem;
}

.topbar-brand-dot-b {
	right: 0.72rem;
	bottom: 0.72rem;
	width: 0.64rem;
	height: 0.64rem;
}

.topbar-brand-copy {
	display: grid;
	gap: 0.15rem;
}

.topbar-brand-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6f7e97;
}

.topbar-brand-copy strong {
	font-size: 1rem;
	color: #172033;
}

.topbar-tools {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.topbar-search {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: min(100%, 320px);
	padding: 0.8rem 0.95rem;
	border: 1px solid #e6ecf5;
	border-radius: 18px;
	background: rgba(246, 249, 255, 0.94);
	color: #74829a;
}

.topbar-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #172033;
}

.topbar-search input::placeholder {
	color: #8a96ab;
}

.topbar-search-icon {
	font-size: 0.9rem;
	opacity: 0.7;
}

.topbar-icon-btn,
.topbar-avatar {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 16px;
}

.topbar-icon-btn {
	border: 1px solid #e3e9f4;
	background: #ffffff;
	color: #31465f;
	box-shadow: 0 10px 22px rgba(29, 45, 78, 0.06);
}

.topbar-user {
	padding: 0.35rem 0.35rem 0.35rem 0.85rem;
	border: 1px solid #e2e9f3;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 12px 26px rgba(30, 47, 86, 0.06);
}

.topbar-user-copy {
	display: grid;
	gap: 0.12rem;
}

.topbar-user-role {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7d8ba1;
}

.topbar-user-copy strong {
	font-size: 0.95rem;
	color: #16233b;
}

.topbar-avatar {
	background: linear-gradient(135deg, #315adf 0%, #4fc4a1 100%);
	color: #ffffff;
	font-weight: 800;
	box-shadow: 0 12px 24px rgba(49, 90, 223, 0.2);
}

.admin-shell {
	min-height: 100vh;
	color: #152033;
	font-feature-settings: "tnum" 1, "cv02" 1;
	background:
		radial-gradient(circle at top left, rgba(31, 64, 128, 0.14), transparent 24%),
		radial-gradient(circle at top right, rgba(70, 118, 255, 0.08), transparent 22%),
		radial-gradient(circle at bottom right, rgba(29, 160, 125, 0.1), transparent 20%),
		linear-gradient(180deg, #f7f9fc 0%, #edf3f8 100%);
}

.auth-shell {
	padding-top: 8rem;
	padding-bottom: 4rem;
}

.auth-card {
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
}

.auth-title,
.hero-title {
	font-weight: 800;
	letter-spacing: -0.02em;
}

.eyebrow {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #3c63dd;
}

.eyebrow-light {
	color: rgba(255, 255, 255, 0.72);
}

.admin-hero {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
		linear-gradient(135deg, #10182f 0%, #1d3777 46%, #4f84ff 100%);
	color: #ffffff;
	box-shadow: 0 26px 56px rgba(18, 34, 70, 0.18);
}

.admin-hero::after {
	content: '';
	position: absolute;
	right: -7rem;
	bottom: -7rem;
	width: 20rem;
	height: 20rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	filter: blur(12px);
}

.hero-layout,
.admin-hero .card-body {
	position: relative;
	z-index: 1;
}

.hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
	gap: 1.75rem;
	align-items: stretch;
}

.admin-hero-subtitle,
.login-subtitle {
	max-width: 48rem;
	line-height: 1.7;
}

.admin-hero-subtitle {
	color: rgba(255, 255, 255, 0.82);
}

.hero-copy-stack {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.hero-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.hero-highlight {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hero-side {
	display: grid;
	gap: 0.9rem;
	justify-items: start;
}

.hero-utility {
	align-content: start;
	padding: 1rem;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
}

.hero-meta {
	display: grid;
	gap: 0.2rem;
}

.hero-meta-label {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.68);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.hero-meta-value {
	font-size: 1rem;
	font-weight: 700;
	word-break: break-all;
}

.status-pill,
.account-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 0.95rem;
	border-radius: 999px;
	font-weight: 700;
}

.status-pill {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.account-pill {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.status-pill-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #2fb344;
	box-shadow: 0 0 0 4px rgba(47, 179, 68, 0.18);
}

.page-head-meta {
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 1.3rem;
}

.page-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	font-size: 0.82rem;
	color: #7a879c;
}

.page-head-meta-right {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.admin-hero {
	border: 1px solid rgba(227, 234, 244, 0.92);
	background:
		radial-gradient(circle at top right, rgba(79, 132, 255, 0.16), transparent 28%),
		radial-gradient(circle at bottom left, rgba(80, 198, 163, 0.14), transparent 24%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 248, 255, 0.98) 100%);
	color: var(--admin-text);
	box-shadow: 0 26px 56px rgba(18, 34, 70, 0.1);
}

.admin-hero::after {
	background: rgba(79, 132, 255, 0.08);
}

.admin-hero-subtitle {
	color: #66758f;
}

.hero-highlight {
	background: #f2f6ff;
	border-color: #dde7ff;
	color: #2c55d8;
}

.hero-utility {
	background: rgba(247, 250, 255, 0.94);
	border-color: #e2eaf6;
	backdrop-filter: none;
}

.status-pill {
	background: #eaf8f0;
	color: #187548;
}

.account-pill {
	background: #edf3ff;
	color: #315adf;
}

.admin-layout {
	display: grid;
	grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.admin-content {
	min-width: 0;
	display: grid;
	gap: 1.25rem;
}

.admin-content > .mb-4,
.admin-content > .admin-section {
	margin-bottom: 0 !important;
}

.admin-sidebar {
	position: sticky;
	top: 1rem;
	align-self: start;
}

.sidebar-stack {
	display: grid;
	gap: 0.85rem;
}

.sidebar-card {
	border: 1px solid #e7edf7;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	box-shadow: 0 16px 34px rgba(18, 34, 70, 0.07);
}

.sidebar-card-head {
	padding: 1rem 1rem 0;
}

.sidebar-title {
	margin: 0.25rem 0 0;
	font-size: 1.05rem;
	font-weight: 800;
}

.sidebar-nav {
	display: grid;
	gap: 0.55rem;
	padding: 0.85rem 1rem 1rem;
}

.sidebar-link {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.78rem;
	border-radius: 18px;
	border: 1px solid #e7edf7;
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
	color: #172033;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-link:hover {
	transform: translateY(-1px);
	border-color: #c8d7fb;
	box-shadow: 0 12px 28px rgba(34, 68, 139, 0.08);
	color: #1f4cc7;
}

.sidebar-link.is-active {
	border-color: #9cb4f5;
	background: linear-gradient(135deg, rgba(48, 88, 221, 0.12) 0%, rgba(104, 190, 170, 0.12) 100%);
	box-shadow: 0 16px 32px rgba(43, 79, 170, 0.12);
	color: #1c4ccc;
}

.sidebar-link-index {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 14px;
	background: #eef3ff;
	color: #2955d6;
	font-size: 0.78rem;
	font-weight: 800;
}

.sidebar-link.is-active .sidebar-link-index {
	background: linear-gradient(135deg, #315adf 0%, #4ec4a0 100%);
	color: #ffffff;
	box-shadow: 0 10px 20px rgba(49, 90, 223, 0.2);
}

.sidebar-link-copy {
	display: grid;
	gap: 0.2rem;
}

.sidebar-link-copy strong {
	font-size: 0.94rem;
	line-height: 1.35;
}

.sidebar-link-copy small {
	font-size: 0.78rem;
	color: #6f7e97;
	line-height: 1.45;
}

.sidebar-checklist {
	display: grid;
	gap: 0.7rem;
	padding: 0.9rem 1rem 1rem;
}

.sidebar-check {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	color: #55657f;
	line-height: 1.6;
}

.sidebar-check-dot {
	flex-shrink: 0;
	width: 0.7rem;
	height: 0.7rem;
	margin-top: 0.35rem;
	border-radius: 50%;
	background: linear-gradient(135deg, #2f59dd 0%, #58c6a9 100%);
	box-shadow: 0 0 0 5px rgba(47, 89, 221, 0.12);
}

.sidebar-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.9rem 1rem 1rem;
}

.sidebar-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	background: #eef4ff;
	color: #274fca;
	font-size: 0.78rem;
	font-weight: 700;
}

.workbench {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
	gap: 1.1rem;
}

.workbench-shell {
	display: grid;
	gap: 1rem;
}

.workbench-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.workbench-toolbar-card {
	background:
		radial-gradient(circle at top right, rgba(79, 132, 255, 0.12), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 253, 0.98) 100%);
}

.workbench-toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
}

.workbench-module-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: #eef4ff;
	color: #2d56d9;
	font-size: 0.82rem;
	font-weight: 700;
}

.workbench-content {
	display: grid;
}

.workbench-shell.is-collapsed .workbench-content {
	display: none;
}

.workbench-main .card-body,
.workbench-side .card-body {
	padding: 1.35rem;
}

.workbench-side {
	display: grid;
	gap: 1rem;
}

.panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.panel-title {
	margin: 0.2rem 0 0;
	font-size: 1.15rem;
	font-weight: 800;
}

.panel-desc {
	font-size: 0.9rem;
	color: #73819c;
}

.stats-grid {
	margin-top: 0;
	row-gap: 1rem;
}

.stats-grid .card,
.stat-card {
	height: 100%;
	border: 1px solid #e8edf5;
	border-radius: 24px;
	box-shadow: none;
}

.stat-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.stat-card::after {
	content: '';
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(47, 89, 221, 0.15), transparent 70%);
}

.stat-card-body {
	position: relative;
	display: grid;
	gap: 0.55rem;
}

.stat-card-label {
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #73819c;
	text-transform: uppercase;
}

.stat-card-value {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.stat-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: #6e7b95;
}

.stat-card-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	background: #eef3ff;
	color: #315adf;
	font-size: 0.78rem;
	font-weight: 700;
}

.todo-list {
	display: grid;
	gap: 0.9rem;
}

.todo-item {
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	gap: 0.85rem;
	align-items: start;
	padding: 0.9rem 0;
	border-top: 1px solid #eef2f7;
}

.todo-item:first-child {
	padding-top: 0.2rem;
	border-top: 0;
}

.todo-index {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #eff4ff;
	color: #315adf;
	font-weight: 800;
}

.todo-title {
	font-weight: 700;
	color: #172033;
}

.todo-copy {
	margin-top: 0.2rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #6e7b95;
}

.quick-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.quick-link {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-height: 3rem;
	padding: 0.9rem 1rem 0.9rem 1.1rem;
	border-radius: 18px;
	background: #f3f7ff;
	color: #2f59dd;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.quick-link::after {
	content: '->';
	font-size: 0.82rem;
	opacity: 0.55;
}

.quick-link:hover {
	transform: translateY(-1px);
	background: #e7efff;
	box-shadow: 0 10px 24px rgba(67, 97, 168, 0.12);
}

.quick-link.is-active {
	background: linear-gradient(135deg, #315adf 0%, #4a87ff 100%);
	box-shadow: 0 14px 28px rgba(49, 90, 223, 0.24);
	color: #ffffff;
}

.quick-link.is-active::after {
	opacity: 1;
}

.dashboard-content {
	display: grid;
	gap: 1rem;
}

.dashboard-summary-grid,
.dashboard-grid,
.dashboard-trend-metrics {
	display: grid;
	gap: 1rem;
}

.dashboard-summary-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid {
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.dashboard-grid-secondary {
	grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
}

.dashboard-panel {
	border: 1px solid var(--admin-border);
	background:
		radial-gradient(circle at top right, rgba(79, 132, 255, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.dashboard-panel .card-body {
	display: grid;
	gap: 1rem;
}

.dashboard-summary-grid .stat-card {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 0.85rem;
	padding: 1.2rem 1.25rem;
	border: 1px solid #e7edf7;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.98) 100%);
	box-shadow: 0 18px 34px rgba(19, 31, 61, 0.08);
}

.dashboard-summary-grid .stat-card::after {
	content: '';
	position: absolute;
	top: 0.85rem;
	right: 0.8rem;
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
	background: radial-gradient(circle, var(--card-glow, rgba(49, 90, 223, 0.18)) 0%, transparent 72%);
}

.dashboard-summary-grid .stat-card.is-blue {
	--card-accent: #315adf;
	--card-glow: rgba(49, 90, 223, 0.2);
	--card-fill: linear-gradient(90deg, #315adf 0%, #5d8dff 100%);
}

.dashboard-summary-grid .stat-card.is-green {
	--card-accent: #14a26d;
	--card-glow: rgba(20, 162, 109, 0.18);
	--card-fill: linear-gradient(90deg, #14a26d 0%, #44c993 100%);
}

.dashboard-summary-grid .stat-card.is-cyan {
	--card-accent: #0f8aa4;
	--card-glow: rgba(15, 138, 164, 0.18);
	--card-fill: linear-gradient(90deg, #0f8aa4 0%, #4fbace 100%);
}

.dashboard-summary-grid .stat-card.is-amber {
	--card-accent: #d97706;
	--card-glow: rgba(217, 119, 6, 0.18);
	--card-fill: linear-gradient(90deg, #d97706 0%, #f2a646 100%);
}

.stat-card-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.8rem;
}

.dashboard-summary-grid .stat-card .stat-card-label {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a879c;
}

.dashboard-summary-grid .stat-card .stat-card-value {
	position: relative;
	z-index: 1;
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #16233b;
}

.dashboard-summary-grid .stat-card .stat-card-meta,
.dashboard-summary-grid .stat-card .stat-card-foot {
	position: relative;
	z-index: 1;
	color: #697892;
}

.dashboard-summary-grid .stat-card .stat-card-meta {
	font-size: 0.92rem;
	justify-content: flex-start;
}

.dashboard-summary-grid .stat-card .stat-card-foot {
	font-size: 0.82rem;
	line-height: 1.6;
}

.dashboard-summary-grid .stat-card .stat-card-chip {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.9);
	color: var(--card-accent, #315adf);
	border: 1px solid rgba(213, 223, 242, 0.88);
}

.stat-card-progress {
	position: relative;
	z-index: 1;
	height: 0.5rem;
	border-radius: 999px;
	background: #edf2f8;
	overflow: hidden;
}

.stat-card-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--card-fill, linear-gradient(90deg, #315adf 0%, #5d8dff 100%));
}

.dashboard-category-chart,
.dashboard-ranking,
.dashboard-trend {
	display: grid;
	gap: 0.95rem;
}

.dashboard-chart-caption,
.dashboard-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.dashboard-caption-pill,
.dashboard-legend-item,
.dashboard-category-share,
.dashboard-ranking-flag {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
}

.dashboard-caption-pill {
	background: #edf3ff;
	color: #315adf;
}

.dashboard-legend-item {
	gap: 0.45rem;
	background: #f4f7fb;
	color: #5f6f88;
}

.dashboard-legend-item::before {
	content: '';
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--legend-color, #315adf);
}

.dashboard-legend-item.is-embedded {
	--legend-color: #315adf;
}

.dashboard-legend-item.is-published {
	--legend-color: #13a26f;
}

.dashboard-legend-item.is-draft {
	--legend-color: #f08c00;
}

.dashboard-category-list,
.dashboard-ranking-list {
	display: grid;
	gap: 0.85rem;
}

.dashboard-category-row {
	padding: 1rem;
	border: 1px solid #edf1f7;
	border-radius: 20px;
	background: #fbfdff;
}

.dashboard-category-head,
.dashboard-ranking-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.dashboard-category-head strong {
	display: block;
	font-size: 0.98rem;
	color: #18253f;
}

.dashboard-category-head span {
	font-size: 0.84rem;
	color: #7a879d;
}

.dashboard-category-share {
	background: #f3f7ff;
	color: #315adf;
}

.dashboard-category-track {
	display: flex;
	height: 0.72rem;
	margin-top: 0.7rem;
	border-radius: 999px;
	overflow: hidden;
	background: #ecf1f7;
}

.dashboard-category-segment {
	display: block;
	height: 100%;
}

.dashboard-category-segment.is-embedded {
	background: #315adf;
}

.dashboard-category-segment.is-published {
	background: #13a26f;
}

.dashboard-category-segment.is-draft {
	background: #f08c00;
}

.dashboard-category-foot,
.dashboard-ranking-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.9rem;
	margin-top: 0.75rem;
	font-size: 0.82rem;
	color: #6e7c94;
}

.dashboard-ranking-item {
	display: grid;
	grid-template-columns: auto 54px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	padding: 0.95rem 0;
	border-top: 1px solid #eef2f7;
}

.dashboard-ranking-item:first-child {
	padding-top: 0.15rem;
	border-top: 0;
}

.dashboard-ranking-order {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: #eff4ff;
	color: #315adf;
	font-weight: 800;
}

.dashboard-ranking-cover {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background-color: #e9eef6;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(223, 231, 244, 0.92);
}

.dashboard-ranking-copy {
	min-width: 0;
}

.dashboard-ranking-copy strong {
	display: block;
	font-size: 0.96rem;
	line-height: 1.45;
	color: #18253f;
}

.dashboard-ranking-flag.is-ready {
	background: #eaf8f0;
	color: #177548;
}

.dashboard-ranking-flag.is-waiting {
	background: #fff3e4;
	color: #d97706;
}

.dashboard-trend-shell {
	display: grid;
	gap: 0.95rem;
}

.dashboard-trend-svg {
	display: block;
	width: 100%;
	height: auto;
}

.dashboard-trend-grid {
	stroke: #e7edf6;
	stroke-dasharray: 4 6;
}

.dashboard-trend-tick,
.dashboard-trend-label {
	fill: #8190a5;
	font-size: 12px;
	font-weight: 600;
}

.dashboard-trend-metrics {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-trend-metric {
	padding: 0.95rem 1rem;
	border: 1px solid #edf1f7;
	border-radius: 20px;
	background: #fbfdff;
}

.dashboard-trend-metric span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7d8aa1;
}

.dashboard-trend-metric strong {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.15rem;
	color: #16233b;
}

.dashboard-trend-metric small {
	display: block;
	margin-top: 0.3rem;
	color: #697892;
	line-height: 1.5;
}

.dashboard-empty {
	display: grid;
	place-items: center;
	min-height: 220px;
	padding: 1.4rem;
	border: 1px dashed #d7e1ef;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
	color: #728099;
	line-height: 1.7;
	text-align: center;
}

.section-nav {
	position: sticky;
	top: 0.5rem;
	z-index: 15;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.75rem;
	padding: 0.75rem;
	border: 1px solid rgba(227, 234, 244, 0.92);
	border-radius: 24px;
	background: rgba(248, 251, 255, 0.84);
	backdrop-filter: blur(6px);
	box-shadow: 0 14px 28px rgba(22, 36, 66, 0.08);
	scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
	display: none;
}

.module-stage {
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(75, 136, 255, 0.12), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 254, 0.98) 100%);
}

.module-stage-body {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
	gap: 1rem;
}

.module-stage-main {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.module-stage-copy {
	min-width: 0;
}

.module-stage-title {
	margin: 0.25rem 0 0.45rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.module-stage-desc {
	margin: 0;
	max-width: 52rem;
	color: #66758f;
	line-height: 1.7;
}

.module-stage-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}

.module-stage-stat {
	padding: 0.95rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(219, 229, 245, 0.95);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.module-stage-stat-label {
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #73819c;
}

.module-stage-stat-value {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: #172847;
	line-height: 1.4;
}

.module-stage-side {
	display: grid;
	gap: 0.8rem;
	min-width: 220px;
	padding: 1rem 1.1rem;
	border-radius: 22px;
	background: rgba(238, 244, 255, 0.88);
	border: 1px solid rgba(205, 220, 249, 0.92);
}

.module-stage-label {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #72819a;
}

.module-stage-value {
	color: #1e2d49;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.5;
}

.module-stage-side .btn {
	width: 100%;
	justify-content: center;
}

.section-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 0.72rem 1rem;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e4eaf4;
	color: #24324a;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(31, 52, 92, 0.06);
}

.section-chip:hover {
	color: #244fdb;
	border-color: #cdd8f6;
}

.section-chip.is-active {
	background: linear-gradient(135deg, #2649b8 0%, #4f84ff 100%);
	border-color: #2649b8;
	color: #ffffff;
	box-shadow: 0 14px 28px rgba(38, 73, 184, 0.24);
}

.admin-section {
	scroll-margin-top: 5.5rem;
	display: none;
	padding: 1.1rem;
	border: 1px solid rgba(225, 232, 242, 0.8);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.52);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.admin-section.is-active {
	display: block;
	animation: sectionFadeIn 0.2s ease;
}

.admin-section > .section-header {
	display: none;
}

@keyframes sectionFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section-header {
	margin-bottom: 1rem;
}

.section-title {
	margin: 0.2rem 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 800;
}

.section-copy {
	margin: 0;
	color: #70809a;
	line-height: 1.65;
}

.section-stack {
	display: grid;
	gap: 1.25rem;
}

.replace-guide {
	display: grid;
	gap: 1rem;
}

.replace-guide-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.replace-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.replace-guide-item {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border: 1px solid #e8edf5;
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.replace-guide-index {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #eff4ff;
	color: #315adf;
	font-weight: 800;
}

.replace-guide-title {
	font-weight: 700;
	color: #172033;
}

.replace-guide-copy {
	margin-top: 0.2rem;
	color: #6e7b95;
	line-height: 1.65;
}

.replace-guide-tip {
	display: grid;
	gap: 0.35rem;
	padding: 0.9rem 1rem;
	border-radius: 18px;
	background: #f3f7ff;
	color: #4f5f7a;
}

.section-split {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
	gap: 1.25rem;
}

#library .section-split > section:last-child {
	position: sticky;
	top: 5.75rem;
	align-self: start;
	max-height: calc(100vh - 6.5rem);
	overflow: auto;
	scrollbar-gutter: stable;
}

#library .section-split > section:last-child .card-header {
	position: sticky;
	top: 0;
	z-index: 3;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #eef2f7;
}

#library .section-split > section:last-child .card-footer {
	position: sticky;
	bottom: 0;
	z-index: 3;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-top: 1px solid #eef2f7;
}

.two-column-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.card:not(.admin-hero) {
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 16px 36px rgba(19, 31, 61, 0.07);
}

.card-header,
.card-body,
.card-footer {
	position: relative;
}

.card-header {
	padding: 1.15rem 1.25rem;
}

.card-body {
	padding: 1.25rem;
}

.card-footer {
	padding: 1rem 1.25rem 1.25rem;
	background: transparent;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.btn-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.notice {
	position: sticky;
	top: 0;
	z-index: 30;
}

.table td {
	vertical-align: middle;
}

.table-responsive {
	border-top: 1px solid #eef2f7;
	border-bottom-left-radius: 22px;
	border-bottom-right-radius: 22px;
	scrollbar-gutter: stable both-edges;
}

.table-shell {
	overflow: auto;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.72) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.table-shell-lg {
	max-height: 38rem;
}

.table-shell-xl {
	max-height: 44rem;
}

.table-shell-md {
	max-height: 24rem;
}

.table-shell-sm {
	max-height: 20rem;
}

#library > .section-stack > section:nth-of-type(2) > .table-responsive {
	max-height: 44rem;
	overflow: auto;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.72) 0%, rgba(255, 255, 255, 0.94) 100%);
}

#library .section-split > section:first-child > .table-responsive {
	max-height: 34rem;
	overflow: auto;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.72) 0%, rgba(255, 255, 255, 0.94) 100%);
}

#growth .table-responsive,
#payment-center .table-responsive,
#system .table-responsive,
#finance .table-responsive {
	max-height: 24rem;
	overflow: auto;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.72) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.card-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	box-shadow: inset 0 -1px 0 #eef2f7;
}

.card-table tbody tr:hover {
	background: rgba(47, 89, 221, 0.03);
}

.card-table td,
.card-table th {
	padding-top: 0.95rem;
	padding-bottom: 0.95rem;
}

.cover-thumb {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background-color: #e9ecef;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	flex-shrink: 0;
}

.game-meta,
.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.game-meta {
	margin-top: 0.5rem;
}

.filter-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px auto;
	gap: 0.75rem;
	padding: 0.9rem;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
	border: 1px solid #ecf1f7;
}

.catalog-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 0.75rem;
	padding: 0.9rem;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
	border: 1px solid #ecf1f7;
}

.catalog-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.catalog-summary-pill,
.status-token {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.catalog-summary-pill {
	background: #edf2ff;
	color: #3759d7;
}

.status-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.status-token-ok {
	background: #eaf7ed;
	color: #2b8a3e;
}

.status-token-warn {
	background: #fff4e6;
	color: #d97706;
}

.status-token-muted {
	background: #eef2f7;
	color: #6b7280;
}

.preview-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.form-grid .full-span,
.mini-form-grid .full-span {
	grid-column: 1 / -1;
}

.mini-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.form-grid,
.mini-form-grid {
	padding: 0.95rem;
	border-radius: 20px;
	background: linear-gradient(180deg, #f9fbff 0%, #f5f8fc 100%);
	border: 1px solid #eaf0f7;
}

.pager-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem 1.25rem;
	border-top: 1px solid #eef2f7;
}

.pager-info {
	color: #73819c;
	font-size: 0.9rem;
}

.pager-actions,
.pager-pages,
.pager-size {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pager-pages {
	flex-wrap: wrap;
}

.pager-size {
	color: #73819c;
	font-size: 0.875rem;
}

.pager-size .form-select {
	width: 84px;
}

.pager-page {
	min-width: 2.25rem;
}

.mono {
	font-family: Consolas, "SFMono-Regular", monospace;
}

.table-empty {
	padding: 2.3rem 1rem !important;
	text-align: center;
	color: #73819c;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.68) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.payment-overview-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.85rem;
}

.payment-overview-stat,
.payment-overview-wide {
	padding: 1rem 1.05rem;
	border-radius: 18px;
	border: 1px solid #e8eef6;
	background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.payment-overview-stat {
	grid-column: span 4;
}

.payment-overview-wide {
	grid-column: span 6;
}

.payment-overview-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #7b879d;
}

.payment-overview-value {
	display: block;
	margin-top: 0.45rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: #16233b;
	line-height: 1.45;
}

.payment-overview-copy {
	margin-top: 0.55rem;
	color: #6a7790;
	line-height: 1.65;
}

.modal-open {
	overflow: hidden;
}

.modal-shell {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 1.5rem;
	background: rgba(12, 18, 33, 0.45);
	backdrop-filter: blur(10px);
}

.modal-card {
	width: min(100%, 560px);
	max-height: min(90vh, 860px);
	overflow: auto;
	padding: 1.4rem;
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 32px 72px rgba(22, 32, 58, 0.24);
}

.modal-card-lg {
	width: min(100%, 760px);
}

.modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.modal-title {
	font-size: 1.2rem;
	font-weight: 800;
}

.modal-desc {
	color: #73819c;
	line-height: 1.6;
}

.modal-form-grid {
	margin-bottom: 1rem;
}

.modal-help {
	margin-top: 0.4rem;
	font-size: 0.8rem;
	color: #73819c;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1rem;
}

@media (max-width: 1199px) {
	.admin-layout,
	.workbench,
	.hero-layout,
	.section-split,
	.two-column-grid {
		grid-template-columns: 1fr;
	}

	.admin-sidebar {
		position: static;
	}

	#library .section-split > section:last-child {
		position: static;
		max-height: none;
	}
}

@media (max-width: 991px) {
	.filter-grid,
	.form-grid,
	.catalog-toolbar,
	.mini-form-grid,
	.quick-links,
	.replace-guide-grid {
		grid-template-columns: 1fr;
	}

	.workbench-toolbar,
	.workbench-toolbar-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.module-stage-body {
		grid-template-columns: 1fr;
	}

	.module-stage-stats {
		grid-template-columns: 1fr;
	}

	.section-head,
	.panel-head,
	.replace-guide-head {
		flex-direction: column;
		align-items: stretch;
	}

	.section-nav {
		top: 0;
		padding: 0.5rem;
	}

	.admin-section {
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.hero-utility {
		padding: 0;
		border: 0;
		background: transparent;
	}

	.module-stage-side {
		min-width: 0;
	}

	.table-shell,
	.table-shell-lg,
	.table-shell-xl,
	.table-shell-md,
	.table-shell-sm {
		max-height: none;
	}

	.payment-overview-stat,
	.payment-overview-wide {
		grid-column: 1 / -1;
	}

	.pager-bar,
	.pager-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pager-pages {
		justify-content: flex-start;
	}

	.modal-shell {
		padding: 1rem;
	}

	.modal-card,
	.modal-card-lg {
		width: 100%;
		padding: 1rem;
		border-radius: 22px;
	}

	.modal-actions {
		flex-direction: column-reverse;
	}
}

@media (max-width: 1199px) {
	.dashboard-summary-grid,
	.dashboard-grid,
	.dashboard-grid-secondary,
	.dashboard-trend-metrics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 991px) {
	.admin-topbar-inner,
	.topbar-tools,
	.page-head-meta,
	.page-head-meta-right,
	.dashboard-category-head,
	.dashboard-ranking-title,
	.stat-card-top {
		flex-direction: column;
		align-items: stretch;
	}

	.topbar-tools {
		justify-content: flex-start;
	}

	.topbar-search {
		min-width: 100%;
	}

	.dashboard-summary-grid,
	.dashboard-trend-metrics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.admin-topbar {
		padding-top: 0.75rem;
	}

	.admin-topbar-inner {
		padding: 0.9rem;
		border-radius: 22px;
	}

	.topbar-user {
		width: 100%;
		justify-content: space-between;
	}

	.dashboard-ranking-item {
		grid-template-columns: auto 48px minmax(0, 1fr);
	}
}

/* Enterprise dashboard overrides */
:root {
	--admin-sidebar-width: 232px;
	--admin-header-height: 72px;
	--admin-surface: #ffffff;
	--admin-shell-bg: #f5f7fb;
	--admin-line: #e8edf5;
	--admin-text-strong: #1d2129;
	--admin-text-muted: #86909c;
}

#adminApp {
	min-height: 100vh;
	background: var(--admin-shell-bg);
}

.admin-shell {
	background: var(--admin-shell-bg);
}

.admin-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding-top: 0;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--admin-line);
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.admin-topbar-inner.container-xl {
	max-width: none;
	width: 100%;
	height: var(--admin-header-height);
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}

.topbar-search,
.topbar-icon-btn {
	display: none;
}

.topbar-brand {
	gap: 0.75rem;
}

.topbar-brand-mark {
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 14px;
	box-shadow: none;
}

.topbar-brand-label {
	font-size: 0.68rem;
}

.topbar-brand-copy strong {
	font-size: 1.05rem;
}

.topbar-tools {
	margin-left: auto;
}

.topbar-user {
	padding: 0.25rem 0.25rem 0.25rem 0.8rem;
	border: 1px solid #edf1f5;
	border-radius: 14px;
	box-shadow: none;
}

.topbar-avatar {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 12px;
	box-shadow: none;
}

.admin-frame.container-xl {
	max-width: none;
	padding: calc(var(--admin-header-height) + 24px) 24px 28px 24px !important;
}

.admin-layout {
	display: grid;
	grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.admin-sidebar {
	position: sticky;
	top: calc(var(--admin-header-height) + 24px);
	max-height: calc(100vh - var(--admin-header-height) - 36px);
	overflow: auto;
	padding-right: 4px;
}

.sidebar-card:nth-child(n + 2) {
	display: none;
}

.sidebar-card {
	border: 0;
	border-radius: 16px;
	background: transparent;
	box-shadow: none;
}

.sidebar-card-head {
	padding: 0 0 10px;
}

.sidebar-card .eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	color: var(--admin-text-muted);
}

.sidebar-title {
	font-size: 0.95rem;
	color: #4e5969;
}

.sidebar-nav {
	padding: 0;
	gap: 4px;
}

.sidebar-link {
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	padding: 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
}

.sidebar-link:hover {
	transform: none;
	box-shadow: none;
	border-color: transparent;
	background: #f2f4f8;
	color: #165dff;
}

.sidebar-link.is-active {
	border: 0;
	background: #e8f3ff;
	box-shadow: none;
	color: #165dff;
}

.sidebar-link-index {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #f2f3f5;
	font-size: 0.74rem;
}

.sidebar-link.is-active .sidebar-link-index {
	background: #165dff;
	box-shadow: none;
}

.sidebar-link-copy strong {
	font-size: 0.92rem;
}

.sidebar-link-copy small {
	font-size: 0.76rem;
	color: var(--admin-text-muted);
}

.admin-content {
	gap: 20px;
}

.admin-hero {
	border: 1px solid var(--admin-line);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: none;
}

.admin-hero::after {
	display: none;
}

.admin-hero .card-body {
	padding: 20px 24px !important;
}

.page-head-meta {
	margin-bottom: 14px;
}

.page-breadcrumbs {
	font-size: 0.78rem;
	color: #94a1b2;
}

.status-pill,
.account-pill {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
}

.hero-layout {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
}

.hero-title {
	margin-bottom: 0.35rem;
	font-size: 1.65rem;
	color: var(--admin-text-strong);
}

.admin-hero-subtitle {
	max-width: 56rem;
	color: var(--admin-text-muted);
}

.hero-highlights {
	display: none;
}

.hero-utility {
	min-width: 280px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #f7f8fa;
	border: 1px solid #edf1f5;
	box-shadow: none;
}

.hero-meta-label {
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--admin-text-muted);
}

.hero-meta-value {
	font-size: 0.9rem;
	color: #4e5969;
}

.hero-action-list {
	gap: 10px;
}

.hero-action-list .btn {
	border-radius: 10px;
	box-shadow: none;
	font-weight: 600;
}

.workbench-toolbar-card,
.dashboard-grid-secondary,
.section-nav,
.module-stage {
	display: none !important;
}

.admin-section {
	padding: 18px 20px;
	border: 1px solid var(--admin-line);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: none;
	scroll-margin-top: calc(var(--admin-header-height) + 24px);
}

.admin-section > .section-header {
	display: block;
	margin-bottom: 18px;
}

.section-title {
	font-size: 1.4rem;
	color: var(--admin-text-strong);
}

.section-copy {
	max-width: 60rem;
	color: var(--admin-text-muted);
}

.dashboard-content {
	gap: 20px;
}

.dashboard-summary-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.dashboard-summary-grid .stat-card {
	display: grid;
	gap: 14px;
	min-height: 186px;
	padding: 18px 18px 16px;
	border-radius: 16px;
	border: 1px solid #edf1f5;
	box-shadow: none;
	background: linear-gradient(180deg, #ffffff 0%, var(--metric-surface, #f8faff) 100%);
}

.dashboard-summary-grid .stat-card::after {
	display: none;
}

.dashboard-summary-grid .stat-card.is-blue {
	--metric-surface: #f3f7ff;
	--metric-accent: #315adf;
}

.dashboard-summary-grid .stat-card.is-green {
	--metric-surface: #f1fbf5;
	--metric-accent: #1f8a62;
}

.dashboard-summary-grid .stat-card.is-cyan {
	--metric-surface: #eefafd;
	--metric-accent: #116b84;
}

.dashboard-summary-grid .stat-card.is-amber {
	--metric-surface: #fff7ef;
	--metric-accent: #b56518;
}

.dashboard-summary-grid .stat-card .stat-card-label {
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--admin-text-muted);
}

.metric-card-head,
.metric-card-body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.metric-card-body {
	align-items: flex-end;
}

.dashboard-summary-grid .stat-card .stat-card-chip {
	background: #ffffff;
	color: var(--metric-accent, #315adf);
	border: 1px solid rgba(203, 214, 228, 0.88);
}

.dashboard-summary-grid .stat-card .stat-card-value {
	font-size: 2.15rem;
	color: var(--admin-text-strong);
}

.metric-card-copy {
	min-width: 0;
}

.metric-card-meta,
.metric-card-foot {
	color: var(--admin-text-muted);
	line-height: 1.6;
}

.metric-card-meta {
	margin-top: 8px;
	font-size: 0.9rem;
}

.metric-card-chart {
	flex: 0 0 138px;
	min-width: 138px;
	display: grid;
	place-items: end;
}

.metric-mini-chart {
	width: 100%;
	height: auto;
}

.metric-donut-value {
	font-size: 14px;
	font-weight: 800;
	fill: var(--admin-text-strong);
}

.metric-donut-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	fill: var(--admin-text-muted);
	text-transform: uppercase;
}

.metric-card-foot {
	padding-top: 12px;
	border-top: 1px solid rgba(232, 237, 245, 0.96);
	font-size: 0.82rem;
}

.dashboard-grid {
	grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.9fr);
	gap: 16px;
}

.dashboard-panel {
	border: 1px solid var(--admin-line);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: none;
}

.dashboard-panel .card-body {
	gap: 16px;
	padding: 18px 18px 16px;
}

.panel-head {
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 0;
}

.panel-title {
	font-size: 1.1rem;
	color: var(--admin-text-strong);
}

.panel-desc {
	max-width: 24rem;
	font-size: 0.84rem;
	color: #94a1b2;
}

.dashboard-chart-caption,
.dashboard-legend {
	gap: 8px;
}

.dashboard-caption-pill,
.dashboard-legend-item,
.dashboard-ranking-flag {
	padding: 0.38rem 0.72rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
}

.dashboard-caption-pill {
	background: #f2f7ff;
	color: #165dff;
}

.dashboard-legend-item {
	background: #f7f8fa;
	color: #4e5969;
}

.dashboard-legend-item::before {
	width: 8px;
	height: 8px;
}

.dashboard-legend-item.is-embedded {
	--legend-color: #4c6ef5;
}

.dashboard-legend-item.is-published {
	--legend-color: #2f9e73;
}

.dashboard-legend-item.is-draft {
	--legend-color: #d9822b;
}

.dashboard-category-shell {
	padding: 8px 0 2px;
}

.dashboard-category-svg,
.dashboard-trend-svg {
	display: block;
	width: 100%;
	height: auto;
}

.dashboard-axis-line,
.dashboard-trend-grid {
	stroke: #ebeff5;
	stroke-dasharray: 4 6;
}

.dashboard-axis-tick,
.dashboard-trend-tick,
.dashboard-trend-label,
.dashboard-bar-label {
	fill: #94a1b2;
	font-size: 12px;
	font-weight: 600;
}

.dashboard-bar-track {
	fill: #f6f8fb;
}

.dashboard-bar-segment.is-embedded {
	fill: #4c6ef5;
}

.dashboard-bar-segment.is-published {
	fill: #31b27c;
}

.dashboard-bar-segment.is-draft {
	fill: #f29a2e;
}

.dashboard-bar-value {
	fill: var(--admin-text-strong);
	font-size: 12px;
	font-weight: 700;
}

.dashboard-category-stats {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.dashboard-category-stat {
	display: grid;
	gap: 4px;
	padding: 12px 12px 10px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #fafcff;
}

.dashboard-category-stat strong {
	font-size: 0.92rem;
	color: var(--admin-text-strong);
}

.dashboard-category-stat span {
	font-size: 0.82rem;
	color: #4e5969;
}

.dashboard-category-stat small {
	color: var(--admin-text-muted);
	line-height: 1.5;
}

.dashboard-ranking-table {
	display: grid;
	gap: 10px;
}

.dashboard-ranking-head,
.dashboard-ranking-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1.6fr) 96px 110px 120px;
	align-items: center;
	gap: 10px;
}

.dashboard-ranking-head {
	padding: 0 2px 4px;
	color: #94a1b2;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.dashboard-ranking-row {
	padding: 12px;
	border: 1px solid #eef2f6;
	border-radius: 14px;
	background: #fbfcfe;
}

.dashboard-ranking-rank {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f2f7ff;
	color: #165dff;
	font-weight: 800;
}

.dashboard-ranking-game {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-width: 0;
}

.dashboard-ranking-game .dashboard-ranking-cover {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	box-shadow: none;
}

.dashboard-ranking-copy {
	min-width: 0;
}

.dashboard-ranking-copy strong {
	display: block;
	font-size: 0.92rem;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--admin-text-strong);
}

.dashboard-ranking-copy small {
	display: block;
	margin-top: 4px;
	color: var(--admin-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dashboard-ranking-col {
	font-size: 0.84rem;
	color: #4e5969;
}

.dashboard-ranking-status {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-start;
}

.dashboard-ranking-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	background: #f2f3f5;
	color: #4e5969;
	font-size: 0.78rem;
	font-weight: 700;
}

.dashboard-ranking-flag.is-ready {
	background: #eaf8f0;
	color: #177548;
}

.dashboard-ranking-flag.is-waiting {
	background: #fff3e4;
	color: #d97706;
}

.dashboard-trend-shell {
	gap: 14px;
}

.dashboard-trend-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.dashboard-trend-pill {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #fafcff;
}

.dashboard-trend-pill span {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--admin-text-muted);
}

.dashboard-trend-pill strong {
	font-size: 1.18rem;
	color: var(--admin-text-strong);
}

.dashboard-trend-pill small {
	color: var(--admin-text-muted);
	line-height: 1.5;
}

.dashboard-empty {
	min-height: 200px;
	border-radius: 14px;
	background: #fafcff;
	border: 1px dashed #dbe4f1;
	color: var(--admin-text-muted);
}

@media (max-width: 1399px) {
	.dashboard-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashboard-category-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1199px) {
	.admin-frame.container-xl {
		padding: calc(var(--admin-header-height) + 16px) 16px 24px 16px !important;
	}

	.admin-layout {
		grid-template-columns: 1fr;
	}

	.admin-sidebar {
		position: static;
		top: auto;
		max-height: none;
		overflow: visible;
	}

	.sidebar-card {
		background: #ffffff;
		border: 1px solid var(--admin-line);
		border-radius: 14px;
		padding: 14px;
	}

	.sidebar-card-head {
		padding: 0 0 12px;
	}

	.sidebar-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-layout,
	.dashboard-grid,
	.dashboard-summary-grid,
	.dashboard-trend-summary {
		grid-template-columns: 1fr;
	}

	.metric-card-body {
		align-items: flex-start;
	}

	.metric-card-chart {
		width: 100%;
		min-width: 0;
		justify-content: flex-start;
	}

	.dashboard-ranking-head,
	.dashboard-ranking-row {
		grid-template-columns: 52px minmax(0, 1fr) 90px 96px 112px;
	}
}

@media (max-width: 767px) {
	.admin-topbar-inner.container-xl {
		height: auto;
		min-height: var(--admin-header-height);
		padding: 12px 16px;
	}

	.topbar-brand-label {
		display: none;
	}

	.hero-utility {
		min-width: 0;
		width: 100%;
	}

	.hero-action-list {
		display: grid;
		grid-template-columns: 1fr;
	}

	.sidebar-nav {
		grid-template-columns: 1fr;
	}

	.dashboard-summary-grid,
	.dashboard-category-stats,
	.dashboard-trend-summary {
		grid-template-columns: 1fr;
	}

	.dashboard-ranking-head {
		display: none;
	}

	.dashboard-ranking-row {
		grid-template-columns: 1fr;
	}

	.dashboard-ranking-rank {
		width: 36px;
		height: 36px;
	}

	.dashboard-ranking-status {
		justify-content: flex-start;
	}

	.admin-section {
		padding: 16px;
	}
}

.finance-shell {
	gap: 16px;
}

.finance-overview-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.finance-overview-card {
	display: grid;
	gap: 8px;
	padding: 18px 18px 16px;
	border: 1px solid #edf1f5;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, var(--finance-surface, #f8fbff) 100%);
	box-shadow: none;
}

.finance-overview-card.is-pending {
	--finance-surface: #f3f7ff;
}

.finance-overview-card.is-amount {
	--finance-surface: #f8fdf5;
}

.finance-overview-card.is-success {
	--finance-surface: #eefaf4;
}

.finance-overview-card.is-danger {
	--finance-surface: #fff6f2;
}

.finance-overview-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #86909c;
}

.finance-overview-value {
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--admin-text-strong);
}

.finance-overview-meta {
	font-size: 0.88rem;
	color: #4e5969;
}

.finance-overview-foot {
	color: #86909c;
	line-height: 1.55;
}

.finance-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) 340px;
	gap: 16px;
	align-items: start;
}

.finance-main-card .finance-table-shell {
	max-height: 40rem !important;
}

.finance-head-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.finance-head-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0.72rem;
	border-radius: 999px;
	background: #edf5ff;
	color: #165dff;
	font-size: 0.74rem;
	font-weight: 700;
}

.finance-head-pill.is-soft {
	background: #f4f6f8;
	color: #4e5969;
}

.finance-side-stack {
	display: grid;
	gap: 16px;
}

.finance-board-card {
	border-radius: 16px;
}

.finance-board-card .card-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.finance-board-card .card-title {
	margin-bottom: 0;
}

.finance-board-card .text-secondary {
	line-height: 1.55;
}

.finance-status-board {
	display: grid;
	gap: 14px;
}

.finance-status-hero {
	display: grid;
	gap: 6px;
	padding: 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #f4f8ff 0%, #eef5ff 100%);
	border: 1px solid #e1eaff;
}

.finance-status-hero.is-busy {
	background: linear-gradient(135deg, #fff6ea 0%, #fffaf2 100%);
	border-color: #f5dfbf;
}

.finance-status-hero.is-idle {
	background: linear-gradient(135deg, #eff8f3 0%, #f6fcf8 100%);
	border-color: #d7ecde;
}

.finance-status-label {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #86909c;
}

.finance-status-hero strong {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--admin-text-strong);
}

.finance-status-hero p {
	margin: 0;
	color: #4e5969;
	line-height: 1.6;
}

.finance-status-metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.finance-status-metric {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #fafcff;
}

.finance-status-metric span {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #86909c;
}

.finance-status-metric strong {
	font-size: 1.15rem;
	color: var(--admin-text-strong);
}

.finance-status-metric small {
	color: #86909c;
	line-height: 1.5;
}

.finance-board-caption {
	font-size: 0.82rem;
	font-weight: 700;
	color: #4e5969;
}

.finance-board-list {
	display: grid;
	gap: 10px;
}

.finance-board-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #fbfcfe;
}

.finance-board-item strong {
	display: block;
	font-size: 0.92rem;
	color: var(--admin-text-strong);
}

.finance-board-item small {
	display: block;
	margin-top: 4px;
	color: #86909c;
	line-height: 1.5;
}

.finance-board-side {
	text-align: right;
}

.finance-board-side span {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--admin-text-strong);
}

.finance-board-status {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
}

.finance-board-status.is-processing {
	background: #fff3e8;
	color: #d9822b;
}

.finance-board-status.is-success {
	background: #eaf8f0;
	color: #177548;
}

.finance-board-status.is-failed {
	background: #fff1ef;
	color: #cb2634;
}

.finance-board-empty {
	padding: 14px;
	border-radius: 12px;
	background: #fafcff;
	border: 1px dashed #d9e1ee;
	color: #86909c;
	line-height: 1.7;
}

.finance-tips-list {
	display: grid;
	gap: 12px;
}

.finance-tip-item {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #eef2f6;
	border-radius: 12px;
	background: #fbfcfe;
}

.finance-tip-index {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #edf5ff;
	color: #165dff;
	font-size: 0.78rem;
	font-weight: 800;
}

.finance-tip-item strong {
	display: block;
	font-size: 0.92rem;
	color: var(--admin-text-strong);
}

.finance-tip-item p {
	margin: 4px 0 0;
	color: #86909c;
	line-height: 1.65;
}

#finance .table-empty {
	padding: 3rem 1rem !important;
	color: #86909c;
}

@media (max-width: 1399px) {
	.finance-overview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1199px) {
	.finance-layout,
	.finance-overview-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.finance-status-metrics {
		grid-template-columns: 1fr;
	}

	.finance-board-item {
		flex-direction: column;
	}

	.finance-board-side {
		text-align: left;
	}
}
