/* ==========================================================================
   LeasGit ? GitHub Primer Daylight ? Pinterest Editorial Design System
   Target: Forgejo 9 (git.analystpaneru.site)
   ========================================================================== */

:root,
:root:not([data-theme$="light"]),
:root[data-theme$="dark"],
:root[data-theme="auto"],
html[data-theme] {
	/* 1. Core Brand & Surface Tokens */
	--color-primary: #4f46e5;
	--color-primary-contrast: #ffffff;
	--color-primary-dark-1: #4338ca;
	--color-primary-dark-2: #3730a3;
	--color-primary-dark-3: #312e81;
	--color-primary-dark-4: #1e1b4b;
	--color-primary-dark-5: #1e1b4b;
	--color-primary-dark-6: #0f172a;
	--color-primary-dark-7: #0f172a;
	--color-primary-light-1: #6366f1;
	--color-primary-light-2: #818cf8;
	--color-primary-light-3: #a5b4fc;
	--color-primary-light-4: #c7d2fe;
	--color-primary-light-5: #e0e7ff;
	--color-primary-light-6: #eef2ff;
	--color-primary-light-7: #f8faff;
	--color-primary-alpha-10: rgba(79, 70, 229, 0.10);
	--color-primary-alpha-20: rgba(79, 70, 229, 0.20);
	--color-primary-alpha-30: rgba(79, 70, 229, 0.30);
	--color-primary-alpha-40: rgba(79, 70, 229, 0.40);
	--color-primary-alpha-50: rgba(79, 70, 229, 0.50);
	--color-primary-alpha-60: rgba(79, 70, 229, 0.60);
	--color-primary-alpha-70: rgba(79, 70, 229, 0.70);
	--color-primary-alpha-80: rgba(79, 70, 229, 0.80);
	--color-primary-alpha-90: rgba(79, 70, 229, 0.90);
	--color-primary-hover: #4338ca;
	--color-primary-active: #3730a3;

	/* Daylight Alabaster & Slate Neutrals (GitHub Primer Light + Editorial Warmth) */
	--color-body: #f8fafc;
	--color-box-header: #f8fafc;
	--color-box-body: #ffffff;
	--color-box-body-highlight: #f1f5f9;
	--color-text-dark: #0f172a;
	--color-text: #1e293b;
	--color-text-light: #475569;
	--color-text-light-1: #64748b;
	--color-text-light-2: #94a3b8;
	--color-text-light-3: #cbd5e1;
	--color-footer: #ffffff;
	--color-timeline: #e2e8f0;
	--color-input-text: #0f172a;
	--color-input-background: #ffffff;
	--color-input-toggle-background: #f1f5f9;
	--color-input-border: #cbd5e1;
	--color-input-border-hover: #94a3b8;
	--color-header-wrapper: #ffffff;
	--color-light-border: #e2e8f0;
	--color-hover: #f1f5f9;
	--color-active: #e2e8f0;
	--color-menu: #ffffff;
	--color-card: #ffffff;
	--color-button: #ffffff;
	--color-code-bg: #f8fafc;
	--color-markup-code-block: #f8fafc;
	--color-markup-code-inline: rgba(15, 23, 42, 0.06);
	--color-secondary-bg: #f8fafc;
	--color-secondary: #e2e8f0;
	--color-secondary-dark-1: #cbd5e1;
	--color-secondary-dark-2: #94a3b8;
	--color-secondary-dark-3: #64748b;
	--color-secondary-dark-4: #475569;
	--color-secondary-light-1: #e2e8f0;
	--color-secondary-light-2: #f1f5f9;
	--color-secondary-light-3: #f8fafc;
	--color-secondary-light-4: #ffffff;
	--color-secondary-hover: #f1f5f9;
	--color-nav-bg: rgba(255, 255, 255, 0.88);
	--color-nav-hover-bg: #f1f5f9;
	--color-nav-text: #0f172a;
	--color-secondary-nav-bg: #ffffff;
	--color-label-bg: #f1f5f9;
	--color-label-hover-bg: #e2e8f0;
	--color-label-active-bg: #cbd5e1;
	--color-placeholder-text: #94a3b8;
	--color-shadow: rgba(15, 23, 42, 0.06);
	--border-radius: 10px;

	/* Semantic Status Colors */
	--color-green: #16a34a;
	--color-green-dark-1: #15803d;
	--color-red: #e11d48;
	--color-red-dark-1: #be123c;
	--color-yellow: #d97706;
	--color-orange: #ea580c;
	--color-purple: #7c3aed;

	/* Typography */
	--font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	--fonts-override: var(--font-sans);
	font-family: var(--font-sans);

	/* Custom Design Shadows */
	--leas-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
	--leas-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
	--leas-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 12px 28px -4px rgba(15, 23, 42, 0.07);
	--leas-shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
	--leas-ring: rgba(79, 70, 229, 0.22);
}

/* Force bright daylight palette regardless of OS dark mode */
@media (prefers-color-scheme: dark) {
	:root, html[data-theme] {
		--color-body: #f8fafc !important;
		--color-box-header: #f8fafc !important;
		--color-box-body: #ffffff !important;
		--color-text: #1e293b !important;
		--color-text-dark: #0f172a !important;
		--color-text-light: #475569 !important;
		--color-input-background: #ffffff !important;
		--color-header-wrapper: #ffffff !important;
	}
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE & TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
	background-color: var(--color-body) !important;
	color: var(--color-text) !important;
	font-family: var(--font-sans) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.01em;
}

code, pre, tt, kbd, samp, .mono, .sha {
	font-family: var(--font-mono) !important;
}

a {
	color: #2563eb;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
	color: #4f46e5;
}

/* --------------------------------------------------------------------------
   3. NAVBAR ? Frosted GitHub Primer Daylight Bar + Custom Brand Wordmark
   -------------------------------------------------------------------------- */
#navbar {
	background: rgba(255, 255, 255, 0.88) !important;
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid #e2e8f0 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
	padding: 0.35rem 1.25rem !important;
	min-height: 60px !important;
	position: sticky;
	top: 0;
	z-index: 1000;
}

#navbar-logo {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 6px 10px !important;
	margin-right: 6px !important;
	border-radius: 10px !important;
}

#navbar-logo img {
	content: url("/assets/img/logo.svg?v=12");
	width: 30px !important;
	height: 30px !important;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

#navbar-logo::after {
	content: "LeasGit";
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.03em;
	color: #0f172a;
}

#navbar .item {
	border-radius: 8px !important;
	color: #334155 !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	padding: 0.48rem 0.8rem !important;
	transition: all 0.15s ease !important;
}

#navbar .item:hover {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

#navbar .item.active {
	background-color: #eef2ff !important;
	color: #4f46e5 !important;
}

/* Custom @leaszenos pill in navbar */
#navbar .leas-nav-profile-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 9999px !important;
	padding: 0.36rem 0.85rem !important;
	margin-left: 4px !important;
	font-family: var(--font-mono) !important;
	font-size: 0.8rem !important;
	color: #0f172a !important;
}

#navbar .leas-nav-profile-pill:hover {
	border-color: #c7d2fe !important;
	background: #eef2ff !important;
	color: #4f46e5 !important;
}

.leas-nav-dot {
	width: 7px;
	height: 7px;
	border-radius: 9999px;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Sign In button in navbar right */
#navbar .navbar-right > a.item[href*="/user/login"] {
	background: #0f172a !important;
	color: #ffffff !important;
	border-radius: 9px !important;
	padding: 0.48rem 0.95rem !important;
	font-weight: 600 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

#navbar .navbar-right > a.item[href*="/user/login"]:hover {
	background: #1e293b !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. BESPOKE PINTEREST-WORTHY LANDING PAGE (.leas-home)
   -------------------------------------------------------------------------- */
.page-content.home.leas-home {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.leas-hero-shell {
	position: relative;
	overflow: hidden;
	padding: 3.5rem 1.5rem 4.5rem;
	background: radial-gradient(1200px 500px at 50% -10%, rgba(99, 102, 241, 0.10), transparent 70%),
	            radial-gradient(900px 400px at 85% 15%, rgba(56, 189, 248, 0.08), transparent 65%),
	            linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.leas-hero-bg-grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.45;
	mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 85%, transparent 100%);
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 85%, transparent 100%);
	pointer-events: none;
}

.leas-container {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
}

.leas-hero-header {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 3rem;
}

.leas-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	box-shadow: var(--leas-shadow-xs);
	margin-bottom: 1.25rem;
	font-size: 0.76rem;
}

.leas-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.leas-status-text {
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #0f172a;
}

.leas-status-sep {
	color: #cbd5e1;
}

.leas-status-mono {
	font-family: var(--font-mono);
	color: #4f46e5;
	font-weight: 500;
}

.leas-hero-title {
	font-size: clamp(2.35rem, 4.8vw, 3.85rem) !important;
	line-height: 1.08 !important;
	font-weight: 800 !important;
	letter-spacing: -0.04em !important;
	color: #0f172a !important;
	margin: 0 0 1.15rem !important;
}

.leas-hero-title-accent {
	background: linear-gradient(135deg, #4f46e5 0%, #2563eb 50%, #0ea5e9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.leas-hero-subtitle {
	font-size: 1.08rem;
	line-height: 1.65;
	color: #475569;
	max-width: 650px;
	margin: 0 auto 1.85rem;
}

.leas-hero-subtitle strong {
	color: #0f172a;
	font-weight: 700;
}

.leas-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.leas-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.72rem 1.25rem;
	border-radius: 11px;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none !important;
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.leas-btn-primary {
	background: #0f172a;
	color: #ffffff !important;
	border: 1px solid #0f172a;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.leas-btn-primary:hover {
	background: #1e293b;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
}

.leas-btn-secondary {
	background: #4f46e5;
	color: #ffffff !important;
	border: 1px solid #4338ca;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.leas-btn-secondary:hover {
	background: #4338ca;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.leas-btn-ghost {
	background: #ffffff;
	color: #0f172a !important;
	border: 1px solid #cbd5e1;
	box-shadow: var(--leas-shadow-xs);
}

.leas-btn-ghost:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	transform: translateY(-1px);
}

/* Bento Grid Layout */
.leas-bento-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 20px;
	align-items: stretch;
	margin-bottom: 20px;
}

@media (max-width: 960px) {
	.leas-bento-grid {
		grid-template-columns: 1fr;
	}
}

/* GitHub-Style Repo Showcase Window */
.leas-repo-window {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: var(--leas-shadow-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.leas-repo-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 18px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.leas-repo-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.95rem;
}

.leas-repo-icon {
	color: #64748b;
	display: inline-flex;
}

.leas-repo-owner {
	color: #2563eb;
	font-weight: 600;
}

.leas-repo-slash {
	color: #94a3b8;
}

.leas-repo-name {
	color: #0f172a;
	font-weight: 700;
}

.leas-badge-outline {
	font-size: 0.72rem;
	font-weight: 600;
	color: #475569;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 9999px;
	padding: 2px 9px;
	margin-left: 4px;
}

.leas-repo-meta-pills {
	display: flex;
	align-items: center;
	gap: 8px;
}

.leas-branch-pill,
.leas-clone-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
}

.leas-clone-pill {
	cursor: pointer;
	background: #eef2ff;
	border-color: #c7d2fe;
	color: #4f46e5;
	transition: all 0.15s ease;
}

.leas-clone-pill:hover {
	background: #e0e7ff;
}

/* Commit Bar */
.leas-commit-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 18px;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.83rem;
}

.leas-commit-author {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.leas-avatar-mini {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #4f46e5, #2563eb);
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.leas-commit-msg {
	color: #475569;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.leas-commit-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.leas-verified-badge {
	font-size: 0.7rem;
	font-weight: 600;
	color: #15803d;
	background: #dcfce7;
	border: 1px solid #86efac;
	border-radius: 9999px;
	padding: 1px 8px;
}

.leas-commit-sha {
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: #475569;
	background: #ffffff;
	padding: 2px 6px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
}

.leas-commit-time {
	color: #64748b;
	font-size: 0.78rem;
}

/* File Rows */
.leas-file-list {
	divide-y: 1px solid #f1f5f9;
}

.leas-file-row {
	display: grid;
	grid-template-columns: 1.2fr 1.6fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 18px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.86rem;
	transition: background-color 0.12s ease;
}

.leas-file-row:hover {
	background-color: #f8fafc;
}

.leas-file-name {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	color: #0f172a;
}

.leas-folder-icon {
	color: #3b82f6;
	display: inline-flex;
}

.leas-doc-icon {
	color: #64748b;
	display: inline-flex;
}

.leas-file-commit {
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.leas-file-date {
	color: #94a3b8;
	font-size: 0.78rem;
	text-align: right;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.leas-file-row {
		grid-template-columns: 1fr auto;
	}
	.leas-file-commit {
		display: none;
	}
}

/* Mini README Preview inside Window */
.leas-readme-box {
	padding: 14px 18px 18px;
	background: #ffffff;
	margin-top: auto;
}

.leas-readme-header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #475569;
	margin-bottom: 10px;
}

.leas-terminal-block {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 12px;
	padding: 13px 16px;
	font-family: var(--font-mono);
	font-size: 0.79rem;
	line-height: 1.55;
	overflow-x: auto;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.leas-t-comment {
	color: #64748b;
}

.leas-t-prompt {
	color: #38bdf8;
	margin-right: 6px;
	user-select: none;
}

.leas-t-mt {
	margin-top: 6px;
}

/* Right Column Side Stack */
.leas-side-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.leas-side-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--leas-shadow-md);
}

.leas-architect-top {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.leas-architect-avatar-wrap {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
	padding: 2px;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(79, 70, 229, 0.2);
}

.leas-architect-avatar {
	width: 100%;
	height: 100%;
	border-radius: 14px;
	object-fit: cover;
	background: #ffffff;
}

.leas-architect-status {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #10b981;
	border: 2.5px solid #ffffff;
}

.leas-architect-TitleRow {
	display: flex;
	align-items: center;
	gap: 8px;
}

.leas-architect-TitleRow h3 {
	margin: 0 !important;
	font-size: 1.12rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

.leas-owner-badge {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 9999px;
	background: #eef2ff;
	color: #4f46e5;
	border: 1px solid #c7d2fe;
}

.leas-architect-handle {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: #4f46e5;
	margin-bottom: 6px;
}

.leas-architect-bio {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #475569;
}

.leas-stack-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.leas-stack-tags span {
	font-size: 0.74rem;
	font-weight: 600;
	color: #334155;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 3px 9px;
}

.leas-architect-footer {
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.leas-card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.84rem;
	font-weight: 700;
	color: #4f46e5;
}

/* Telemetry & Contribution Heatmap Card */
.leas-telemetry-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.leas-telemetry-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.leas-eyebrow {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #64748b;
	margin-bottom: 2px;
}

.leas-telemetry-head h4 {
	margin: 0 !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

.leas-uptime-pill {
	font-size: 0.72rem;
	font-weight: 700;
	color: #059669;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 9999px;
	padding: 3px 9px;
}

/* GitHub-inspired contribution matrix */
.leas-heatmap {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 5px;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 14px;
}

.leas-heatmap span {
	aspect-ratio: 1;
	border-radius: 4px;
}

.leas-heatmap .l-0 { background: #e2e8f0; }
.leas-heatmap .l-1 { background: #bbf7d0; }
.leas-heatmap .l-2 { background: #4ade80; }
.leas-heatmap .l-3 { background: #16a34a; }
.leas-heatmap .l-4 { background: #15803d; }

.leas-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.leas-metric-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 8px 10px;
	text-align: center;
}

.leas-metric-val {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.88rem;
	font-weight: 700;
	color: #0f172a;
}

.leas-metric-lbl {
	font-size: 0.7rem;
	color: #64748b;
	font-weight: 500;
}

/* Bottom 3-Column Feature Strip */
.leas-feature-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 860px) {
	.leas-feature-strip {
		grid-template-columns: 1fr;
	}
}

.leas-feature-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: var(--leas-shadow-sm);
	text-decoration: none !important;
	transition: all 0.18s ease;
}

.leas-feature-card:hover {
	transform: translateY(-2px);
	border-color: #c7d2fe;
	box-shadow: var(--leas-shadow-md);
}

.leas-feature-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.leas-icon-blue {
	background: #eff6ff;
	color: #2563eb;
}

.leas-icon-indigo {
	background: #eef2ff;
	color: #4f46e5;
}

.leas-icon-emerald {
	background: #ecfdf5;
	color: #059669;
}

.leas-feature-card h3 {
	margin: 0 0 4px !important;
	font-size: 0.96rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

.leas-feature-card p {
	margin: 0;
	font-size: 0.83rem;
	line-height: 1.5;
	color: #64748b;
}

/* --------------------------------------------------------------------------
   5. GITHUB-STYLE TABS, PROFILE CARD, EXPLORE & REPO PAGES
   -------------------------------------------------------------------------- */
/* Underlined GitHub Secondary Navigation Bar */
overflow-menu.secondary-nav {
	background: #ffffff !important;
	border-bottom: 1px solid #e2e8f0 !important;
	margin-bottom: 1.5rem !important;
	padding: 0 1rem !important;
}

overflow-menu .overflow-menu-items .item {
	position: relative;
	color: #475569 !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	padding: 12px 14px !important;
	border-radius: 8px 8px 0 0 !important;
	margin-bottom: 0 !important;
	transition: all 0.15s ease;
}

overflow-menu .overflow-menu-items .item:hover {
	color: #0f172a !important;
	background: #f8fafc !important;
}

overflow-menu .overflow-menu-items .item.active {
	color: #0f172a !important;
	font-weight: 700 !important;
	background: transparent !important;
	border-bottom: 2px solid #4f46e5 !important;
}

/* Profile Card (/leaszenos) */
#profile-avatar-card {
	border-radius: 16px !important;
	border: 1px solid #e2e8f0 !important;
	box-shadow: var(--leas-shadow-md) !important;
	overflow: hidden !important;
	background: #ffffff !important;
}

#profile-avatar {
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f0f9ff 100%) !important;
	padding: 28px 20px 20px !important;
	display: flex !important;
	justify-content: center !important;
}

#profile-avatar .image {
	display: inline-flex !important;
	padding: 4px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

#profile-avatar img.ui.avatar {
	width: 160px !important;
	height: 160px !important;
	border-radius: 50% !important;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.profile-avatar-name .username {
	font-size: 1.35rem !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	letter-spacing: -0.02em;
	display: block;
}

/* Buttons & Inputs across app */
.ui.button {
	border-radius: 9px !important;
	border: 1px solid #cbd5e1 !important;
	background-color: #ffffff !important;
	color: #0f172a !important;
	font-weight: 600 !important;
	box-shadow: var(--leas-shadow-xs) !important;
	transition: all 0.15s ease !important;
}

.ui.button:hover {
	background-color: #f8fafc !important;
	border-color: #94a3b8 !important;
}

.ui.primary.button,
.ui.primary.buttons .button {
	background-color: #4f46e5 !important;
	border-color: #4338ca !important;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
}

.ui.primary.button:hover {
	background-color: #4338ca !important;
}

.ui.positive.button,
.ui.green.button {
	background-color: #16a34a !important;
	border-color: #15803d !important;
	color: #ffffff !important;
}

.ui.input > input,
.ui.form input:not([type="checkbox"]):not([type="radio"]),
.ui.form textarea,
.ui.form select {
	border-radius: 9px !important;
	border: 1px solid #cbd5e1 !important;
	background-color: #ffffff !important;
	color: #0f172a !important;
	box-shadow: var(--leas-shadow-xs) !important;
}

.ui.input > input:focus,
.ui.form input:not([type="checkbox"]):not([type="radio"]):focus,
.ui.form textarea:focus {
	border-color: #4f46e5 !important;
	box-shadow: 0 0 0 3px var(--leas-ring) !important;
}

/* Segments, Cards & Repo File Tables */
.ui.segment,
.ui.segments,
.ui.card,
.ui.cards > .card,
#repo-files-table {
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #ffffff !important;
	box-shadow: var(--leas-shadow-sm) !important;
}

.ui.top.attached.segment,
#repo-files-table thead th {
	background-color: #f8fafc !important;
	border-bottom: 1px solid #e2e8f0 !important;
	font-weight: 600 !important;
}

/* Footer */
.page-footer {
	background-color: #ffffff !important;
	border-top: 1px solid #e2e8f0 !important;
	color: #64748b !important;
	font-size: 0.82rem !important;
	padding: 1.1rem 1.5rem !important;
}


/* ==========================================================================
   RICK & MORTY C-137 INTERDIMENSIONAL GARAGE LAB HOME PAGE (.rm-home)
   ========================================================================== */
.page-content.home.rm-home {
	padding: 0 !important;
	margin: 0 !important;
	background: #060911 !important;
	color: #f8fafc !important;
}

.rm-cosmos {
	position: relative;
	overflow: hidden;
	min-height: calc(100vh - 115px);
	padding: 3.5rem 1.5rem 4.5rem;
	background:
		radial-gradient(900px 500px at 78% 22%, rgba(57, 255, 20, 0.16), transparent 65%),
		radial-gradient(800px 480px at 18% 12%, rgba(56, 189, 248, 0.13), transparent 65%),
		radial-gradient(700px 420px at 50% 85%, rgba(16, 185, 129, 0.10), transparent 70%),
		linear-gradient(180deg, #05080f 0%, #090e1a 55%, #060911 100%);
	border-bottom: 2px solid #39ff14;
}

.rm-grid-overlay {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(57, 255, 20, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 80%, transparent 100%);
	-webkit-mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 80%, transparent 100%);
	pointer-events: none;
}

.rm-container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
}

/* Hero Split Layout */
.rm-hero-split {
	display: grid;
	grid-template-columns: 1.25fr 0.95fr;
	gap: 36px;
	align-items: center;
	margin-bottom: 3rem;
}

@media (max-width: 960px) {
	.rm-hero-split {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.rm-cta-row, .rm-quick-stats {
		justify-content: center;
	}
}

.rm-dimension-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px;
	background: rgba(10, 18, 30, 0.9);
	border: 1.5px solid #39ff14;
	border-radius: 9999px;
	box-shadow: 0 0 20px rgba(57, 255, 20, 0.25);
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.rm-pulse-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #39ff14;
	box-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
}

.rm-badge-dim {
	color: #d9f99d;
	letter-spacing: 0.06em;
}

.rm-badge-sep {
	color: #475569;
}

.rm-badge-host {
	color: #38bdf8;
}

.rm-title {
	margin: 0 0 1.2rem !important;
	font-family: "Space Grotesk", var(--font-sans) !important;
	font-weight: 800 !important;
	line-height: 0.98 !important;
	letter-spacing: -0.04em !important;
	text-transform: uppercase;
}

.rm-title-top {
	display: block;
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
	color: #67e8f9;
	letter-spacing: 0.14em;
	margin-bottom: 0.35rem;
	text-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

.rm-title-portal {
	display: block;
	font-size: clamp(2.8rem, 5.8vw, 4.75rem);
	background: linear-gradient(95deg, #ffffff 0%, #d9f99d 35%, #39ff14 72%, #38bdf8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 6px 24px rgba(57, 255, 20, 0.22));
}

.rm-manifesto {
	font-size: 1.06rem;
	line-height: 1.65;
	color: #cbd5e1;
	max-width: 620px;
	margin: 0 0 1.75rem;
	padding-left: 14px;
	border-left: 3px solid #39ff14;
}

.rm-manifesto strong {
	color: #bef264;
	font-weight: 700;
}

.rm-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 1.6rem;
}

.rm-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0.82rem 1.35rem;
	border-radius: 10px;
	font-family: "Space Grotesk", var(--font-sans);
	font-weight: 800;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: all 0.16s ease;
	text-transform: uppercase;
}

.rm-btn-portal {
	background: #39ff14;
	color: #05080f !important;
	border: 2px solid #bef264;
	box-shadow: 0 0 24px rgba(57, 255, 20, 0.45), 4px 4px 0 #0f172a;
}

.rm-btn-portal:hover {
	background: #bef264;
	color: #05080f !important;
	transform: translate(-2px, -2px);
	box-shadow: 0 0 32px rgba(57, 255, 20, 0.7), 6px 6px 0 #38bdf8;
}

.rm-btn-cyan {
	background: #0b1324;
	color: #67e8f9 !important;
	border: 2px solid #38bdf8;
	box-shadow: 4px 4px 0 rgba(56, 189, 248, 0.35);
}

.rm-btn-cyan:hover {
	background: #38bdf8;
	color: #05080f !important;
	transform: translate(-2px, -2px);
}

.rm-btn-dark {
	background: rgba(15, 23, 42, 0.85);
	color: #e2e8f0 !important;
	border: 1.5px solid #334155;
}

.rm-btn-dark:hover {
	border-color: #bef264;
	color: #bef264 !important;
	transform: translateY(-2px);
}

.rm-quick-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rm-stat-chip {
	background: rgba(15, 23, 42, 0.85);
	border: 1px solid #1e293b;
	border-radius: 8px;
	padding: 6px 12px;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rm-stat-k {
	color: #64748b;
	font-weight: 600;
}

.rm-stat-v {
	color: #f8fafc;
	font-weight: 700;
}

.rm-green-text { color: #39ff14 !important; }
.rm-cyan-text { color: #38bdf8 !important; }

/* Animated Swirling Portal Stage */
.rm-portal-stage {
	display: flex;
	justify-content: center;
	align-items: center;
}

.rm-portal-wrapper {
	position: relative;
	width: 100%;
	max-width: 390px;
	text-align: center;
}

.rm-portal-svg {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 38px rgba(57, 255, 20, 0.42));
}

@keyframes rmSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes rmSpinRev {
	from { transform: rotate(360deg); }
	to { transform: rotate(0deg); }
}

@keyframes rmFloat {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-7px); }
}

.rm-spin-fast {
	transform-origin: 210px 210px;
	animation: rmSpin 14s linear infinite;
}

.rm-spin-reverse {
	transform-origin: 210px 210px;
	animation: rmSpinRev 20s linear infinite;
}

.rm-rick-float {
	animation: rmFloat 3.6s ease-in-out infinite;
}

.rm-portal-caption {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: -8px;
	padding: 5px 12px;
	background: #090e1a;
	border: 1px solid #39ff14;
	border-radius: 9999px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
}

.rm-gun-tag {
	background: #39ff14;
	color: #05080f;
	font-weight: 800;
	padding: 1px 7px;
	border-radius: 9999px;
}

.rm-gun-coords {
	color: #bef264;
}

/* Bento Grid: Garage Lab Mainframe Repo Window + Side Stack */
.rm-bento-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

@media (max-width: 960px) {
	.rm-bento-grid {
		grid-template-columns: 1fr;
	}
}

.rm-repo-card {
	background: #0b101d;
	border: 1.5px solid #1e293b;
	border-top: 3px solid #39ff14;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(57, 255, 20, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.rm-repo-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 18px;
	background: #0f172a;
	border-bottom: 1px solid #1e293b;
}

.rm-repo-title-group {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.95rem;
}

.rm-repo-icon {
	color: #39ff14;
	display: inline-flex;
}

.rm-repo-owner {
	color: #38bdf8 !important;
	font-weight: 700;
}

.rm-slash {
	color: #64748b;
}

.rm-repo-name {
	color: #ffffff !important;
	font-weight: 800;
}

.rm-classification-badge {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 700;
	color: #39ff14;
	background: rgba(57, 255, 20, 0.1);
	border: 1px solid rgba(57, 255, 20, 0.4);
	border-radius: 9999px;
	padding: 2px 8px;
	margin-left: 4px;
}

.rm-repo-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rm-branch-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: #e2e8f0;
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 8px;
	padding: 4px 10px;
}

.rm-clone-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	font-weight: 700;
	color: #05080f;
	background: #39ff14;
	border: 1px solid #bef264;
	border-radius: 8px;
	padding: 5px 11px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.rm-clone-btn:hover {
	background: #bef264;
}

/* Commit Strip */
.rm-commit-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 18px;
	background: rgba(30, 41, 59, 0.55);
	border-bottom: 1px solid #1e293b;
	font-size: 0.82rem;
}

.rm-commit-left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.rm-rick-badge {
	background: #38bdf8;
	color: #05080f;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 5px;
}

.rm-commit-user {
	color: #ffffff;
}

.rm-commit-msg {
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rm-commit-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rm-verified-pill {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 800;
	color: #39ff14;
	background: rgba(57, 255, 20, 0.12);
	border: 1px solid rgba(57, 255, 20, 0.45);
	border-radius: 9999px;
	padding: 2px 8px;
}

.rm-sha {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: #67e8f9;
	background: #0f172a;
	border: 1px solid #1e293b;
	padding: 2px 6px;
	border-radius: 5px;
}

.rm-time {
	color: #64748b;
	font-size: 0.76rem;
}

/* File Rows */
.rm-file-row {
	display: grid;
	grid-template-columns: 1.15fr 1.65fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 18px;
	border-bottom: 1px solid rgba(30, 41, 59, 0.8);
	font-size: 0.85rem;
	transition: background-color 0.12s ease;
}

.rm-file-row:hover {
	background: rgba(57, 255, 20, 0.04);
}

.rm-fn {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-weight: 600;
	color: #e2e8f0;
}

.rm-f-dir { color: #38bdf8; display: inline-flex; }
.rm-f-doc { color: #84cc16; display: inline-flex; }

.rm-fc {
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rm-ft {
	color: #64748b;
	font-family: var(--font-mono);
	font-size: 0.75rem;
}

@media (max-width: 640px) {
	.rm-file-row { grid-template-columns: 1fr auto; }
	.rm-fc { display: none; }
}

/* Terminal Wrap */
.rm-terminal-wrap {
	margin: 14px 18px 18px;
	background: #05080f;
	border: 1px solid #1e293b;
	border-radius: 12px;
	overflow: hidden;
}

.rm-terminal-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 14px;
	background: #0f172a;
	border-bottom: 1px solid #1e293b;
}

.rm-dots {
	display: flex;
	gap: 6px;
}

.rm-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.rm-dots span:nth-child(1) { background: #ef4444; }
.rm-dots span:nth-child(2) { background: #eab308; }
.rm-dots span:nth-child(3) { background: #39ff14; }

.rm-term-title {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: #64748b;
}

.rm-terminal-body {
	padding: 12px 16px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	line-height: 1.6;
	color: #e2e8f0;
}

.rm-c-dim { color: #64748b; }
.rm-c-prompt { color: #39ff14; font-weight: 700; margin-right: 6px; }
.rm-mt { margin-top: 6px; }

/* Right Column Cards */
.rm-side-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rm-side-box {
	background: #0b101d;
	border: 1.5px solid #1e293b;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.rm-dossier-box {
	border-top: 3px solid #38bdf8;
}

.rm-dossier-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.rm-dossier-avatar {
	width: 60px;
	height: 60px;
	border-radius: 14px;
	border: 2px solid #39ff14;
	box-shadow: 0 0 16px rgba(57, 255, 20, 0.3);
	background: #ffffff;
	flex-shrink: 0;
}

.rm-dossier-name-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.rm-dossier-name-row h3 {
	margin: 0 !important;
	font-size: 1.15rem !important;
	font-weight: 800 !important;
	color: #ffffff !important;
}

.rm-c137-tag {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	font-weight: 800;
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.45);
	padding: 2px 7px;
	border-radius: 9999px;
}

.rm-handle {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: #39ff14 !important;
	margin-bottom: 5px;
}

.rm-bio {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #94a3b8;
}

.rm-tech-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.rm-tech-pills span {
	font-family: var(--font-mono);
	font-size: 0.73rem;
	font-weight: 600;
	color: #cbd5e1;
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 7px;
	padding: 3px 9px;
}

.rm-dossier-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 700;
	color: #38bdf8 !important;
}

/* Portal Fluid Matrix Box */
.rm-fluid-box {
	flex: 1;
	border-top: 3px solid #39ff14;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.rm-fluid-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.rm-eyebrow {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #38bdf8;
	margin-bottom: 2px;
}

.rm-fluid-top h4 {
	margin: 0 !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	color: #ffffff !important;
}

.rm-charge-pill {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 800;
	color: #05080f;
	background: #39ff14;
	border-radius: 9999px;
	padding: 2px 9px;
}

.rm-matrix-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 5px;
	padding: 12px;
	background: #05080f;
	border: 1px solid #1e293b;
	border-radius: 12px;
	margin-bottom: 14px;
}

.rm-matrix-grid span {
	aspect-ratio: 1;
	border-radius: 3px;
}

.rm-matrix-grid .p-1 { background: #14532d; }
.rm-matrix-grid .p-2 { background: #16a34a; }
.rm-matrix-grid .p-3 { background: #84cc16; }
.rm-matrix-grid .p-4 { background: #39ff14; box-shadow: 0 0 8px rgba(57, 255, 20, 0.55); }

.rm-mini-kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.rm-kpi {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 10px;
	padding: 8px;
	text-align: center;
}

.rm-kpi strong {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.88rem;
	color: #39ff14;
}

.rm-kpi span {
	font-size: 0.7rem;
	color: #94a3b8;
}

/* Bottom 3-Card Strip */
.rm-bottom-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 860px) {
	.rm-bottom-cards {
		grid-template-columns: 1fr;
	}
}

.rm-bcard {
	display: block;
	padding: 20px;
	background: #0b101d;
	border: 1.5px solid #1e293b;
	border-radius: 14px;
	text-decoration: none !important;
	transition: all 0.18s ease;
}

.rm-bcard:hover {
	transform: translateY(-3px);
	border-color: #39ff14;
	box-shadow: 0 12px 30px rgba(57, 255, 20, 0.14);
}

.rm-bcard-num {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 800;
	color: #39ff14;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
}

.rm-bcard h3 {
	margin: 0 0 6px !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	color: #ffffff !important;
}

.rm-bcard p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: #94a3b8;
}


/* ==========================================================================
   MONOCHROME ART DIRECTION ? I BUILT THIS CAUSE I COULD.
   Scope is the public landing page; Forgejo internals retain their own skin.
   ========================================================================== */
body:has(.mono-home) {
	background: #050505 !important;
	color: #f5f5f5 !important;
}

body:has(.mono-home) #navbar {
	background: rgba(5, 5, 5, 0.94) !important;
	border-bottom: 1px solid #262626 !important;
	box-shadow: none !important;
	backdrop-filter: blur(14px);
}

body:has(.mono-home) #navbar::after { display: none; }
body:has(.mono-home) #navbar .item { color: #d4d4d4 !important; }
body:has(.mono-home) #navbar .item:hover { color: #fff !important; background: #171717 !important; }
body:has(.mono-home) #navbar .item.active { color: #fff !important; background: #171717 !important; }
body:has(.mono-home) #navbar-logo::after { color: #fff; }
body:has(.mono-home) #navbar .leas-nav-profile-pill { background: #111 !important; border-color: #333 !important; color: #e5e5e5 !important; }
body:has(.mono-home) #navbar .leas-nav-dot { background: #fff; box-shadow: 0 0 0 3px #ffffff20; }
body:has(.mono-home) #navbar .navbar-right > a.item[href*="/user/login"] { background: #fff !important; border-color: #fff !important; color: #050505 !important; box-shadow: none; }
body:has(.mono-home) #navbar .navbar-right > a.item[href*="/user/login"]:hover { background: #d4d4d4 !important; color: #050505 !important; }

.page-content.home.mono-home {
	margin: 0 !important;
	padding: 0 !important;
	background: #050505 !important;
	color: #f5f5f5 !important;
}

.mono-stage {
	position: relative;
	min-height: calc(100vh - 60px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 74% 41%, #171717 0%, #0b0b0b 25%, transparent 55%),
		#050505;
}

.mono-grain {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.14;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
	mix-blend-mode: screen;
}

.mono-layout {
	position: relative;
	z-index: 1;
	width: min(1280px, calc(100% - 80px));
	margin: 0 auto;
	padding: 32px 0 26px;
}

.mono-topline {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 17px;
	border-bottom: 1px solid #303030;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.13em;
	color: #858585;
}

.mono-mark {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: -0.07em;
	color: #f5f5f5;
}

.mono-mark-dot { color: #777; }
.mono-edition { color: #b5b5b5; }
.mono-index { margin-left: auto; }

.mono-hero {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: center;
	gap: 34px;
	min-height: min(610px, calc(100vh - 205px));
	padding: 18px 0 16px;
}

.mono-copy { position: relative; z-index: 2; }

.mono-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: #aaa;
}

.mono-kicker-line { width: 28px; height: 1px; background: #f5f5f5; }

.mono-title {
	margin: 0 !important;
	font-family: "Space Grotesk", var(--font-sans) !important;
	font-size: clamp(48px, 7.15vw, 100px) !important;
	font-weight: 800 !important;
	line-height: 0.87 !important;
	letter-spacing: -0.095em !important;
	color: #f5f5f5 !important;
}

.mono-title span {
	color: #050505;
	-webkit-text-stroke: 1px #f5f5f5;
	text-stroke: 1px #f5f5f5;
}

.mono-description {
	margin: 28px 0 24px !important;
	font-family: var(--font-sans);
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 1.6;
	letter-spacing: -0.025em;
	color: #a3a3a3;
}

.mono-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.mono-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 17px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.mono-button:hover { transform: translateY(-2px); }
.mono-button-solid { background: #f5f5f5; color: #050505 !important; border: 1px solid #f5f5f5; }
.mono-button-solid:hover { background: #cfcfcf; color: #050505 !important; border-color: #cfcfcf; }
.mono-button-quiet { color: #d4d4d4 !important; border: 1px solid #3a3a3a; background: #0b0b0b; }
.mono-button-quiet:hover { color: #fff !important; border-color: #888; background: #151515; }

.mono-footnote {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 26px;
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	color: #777;
}

.mono-pulse { width: 6px; height: 6px; background: #f5f5f5; border-radius: 50%; box-shadow: 0 0 10px #fff; }
.mono-divider { color: #444; }

/* Abstract dimensional tear ? monochrome linework, no character art */
.mono-art {
	position: relative;
	min-width: 0;
	aspect-ratio: 0.94 / 1;
	max-height: 565px;
	display: grid;
	place-items: center;
	isolation: isolate;
}

.mono-art::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 72%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #eee;
	filter: blur(105px);
	opacity: .1;
}

.mono-tear {
	width: min(100%, 550px);
	height: 100%;
	overflow: visible;
	animation: mono-drift 12s ease-in-out infinite;
}

@keyframes mono-drift {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-8px) rotate(1deg); }
}

.mono-art-label {
	position: absolute;
	left: 2%;
	right: 2%;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .12em;
	color: #8b8b8b;
}

.mono-art-label-top { top: 6%; }
.mono-art-label-bottom { bottom: 7%; color: #c5c5c5; }
.mono-art-label span:last-child { text-align: right; }

.mono-bottom {
	display: grid;
	grid-template-columns: 1fr 1.08fr auto;
	align-items: center;
	gap: 30px;
	padding-top: 17px;
	border-top: 1px solid #303030;
}

.mono-statement-number,
.mono-console-head,
.mono-identity span:first-child {
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .13em;
	color: #888;
}

.mono-statement p {
	margin: 8px 0 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .025em;
	color: #858585;
}

.mono-statement strong { color: #f5f5f5; }

.mono-console { min-width: 0; }
.mono-console-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mono-console-head span:last-child { color: #c9c9c9; }

.mono-console-line {
	padding: 12px 14px;
	border: 1px solid #303030;
	background: #0b0b0b;
	color: #ddd;
	font-family: var(--font-mono);
	font-size: 10px;
	white-space: nowrap;
	overflow-x: auto;
}

.mono-prompt { color: #fff; margin-right: 9px; }
.mono-identity { display: flex; flex-direction: column; gap: 7px; text-align: right; }
.mono-identity span:first-child { color: #f5f5f5; }
.mono-identity span:last-child { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: #777; white-space: nowrap; }

body:has(.mono-home) .page-footer {
	background: #050505 !important;
	border-top: 1px solid #242424 !important;
	color: #666 !important;
}
body:has(.mono-home) .page-footer a { color: #aaa !important; }

@media (max-width: 900px) {
	.mono-layout { width: min(700px, calc(100% - 44px)); }
	.mono-hero { grid-template-columns: 1fr; gap: 0; padding: 48px 0 24px; }
	.mono-art { max-height: 440px; width: min(100%, 510px); margin: -10px auto 0; }
	.mono-bottom { grid-template-columns: 1fr 1.2fr; }
	.mono-identity { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; text-align: left; padding-top: 14px; border-top: 1px solid #242424; }
}

@media (max-width: 600px) {
	.mono-layout { width: calc(100% - 32px); padding-top: 22px; }
	.mono-topline { gap: 10px; font-size: 8px; }
	.mono-index { display: none; }
	.mono-hero { padding-top: 40px; }
	.mono-title { font-size: clamp(43px, 13vw, 72px) !important; }
	.mono-description br { display: none; }
	.mono-actions { align-items: stretch; flex-direction: column; }
	.mono-button { justify-content: space-between; }
	.mono-footnote { flex-wrap: wrap; font-size: 8px; }
	.mono-art { width: 100%; max-height: 360px; }
	.mono-art-label { font-size: 7px; }
	.mono-bottom { grid-template-columns: 1fr; gap: 20px; }
	.mono-console-line { font-size: 9px; }
	.mono-identity { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.mono-tear { animation: none; }
	.mono-button { transition: none; }
}


/* MEET THE MAKER ? focused portfolio front page */
body:has(.maker-home) #navbar .navbar-left > a[href$="/explore/repos"],
body:has(.maker-home) #navbar .navbar-left > a[href*="forgejo.org/docs"],
body:has(.maker-home) #navbar .leas-nav-profile-pill { display: none !important; }

.maker-stage {
	min-height: calc(100vh - 60px);
	background:
		radial-gradient(ellipse at 74% 42%, #171717 0%, #0b0b0b 26%, transparent 56%),
		#050505;
}

.maker-layout { width: min(1200px, calc(100% - 80px)); }
.maker-hero {
	grid-template-columns: 1fr .86fr;
	gap: clamp(32px, 7vw, 100px);
	min-height: min(610px, calc(100vh - 205px));
}

.maker-title { font-size: clamp(60px, 8vw, 108px) !important; }
.maker-role {
	margin: 18px 0 0 !important;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .15em;
	color: #e5e5e5;
}
.maker-role span { color: #666; padding: 0 5px; }
.maker-description { max-width: 480px; margin: 20px 0 25px !important; }
.maker-principle {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 13px 0 15px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: .08em;
	color: #999;
}
.maker-principle strong { color: #f5f5f5; }
.maker-index { color: #666; font-family: var(--font-mono); font-size: 10px; padding-top: 2px; }
.maker-details {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding-top: 18px;
}
.maker-details div { display: flex; flex-direction: column; gap: 6px; }
.maker-details span {
	font-family: var(--font-mono);
	font-size: 8px;
	letter-spacing: .13em;
	color: #666;
}
.maker-details strong { font-size: 11px; font-weight: 500; color: #d4d4d4; }

.maker-portrait {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 500px;
	justify-self: end;
}
.maker-portrait-frame {
	position: relative;
	padding: 10px;
	border: 1px solid #484848;
	background: #090909;
	box-shadow: 18px 18px 0 #111;
}
.maker-portrait-frame::before,
.maker-portrait-frame::after {
	content: "";
	position: absolute;
	z-index: 2;
	pointer-events: none;
}
.maker-portrait-frame::before {
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 30%, transparent 70%, rgba(255,255,255,.08));
	mix-blend-mode: screen;
}
.maker-portrait-frame::after {
	left: 50%; top: 10px; bottom: 10px;
	border-left: 1px solid rgba(255,255,255,.16);
}
.maker-portrait-image {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	filter: grayscale(1) contrast(1.08);
}
.maker-corner {
	position: absolute;
	z-index: 3;
	width: 17px;
	height: 17px;
	border-color: #fff;
	border-style: solid;
}
.maker-corner-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.maker-corner-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.maker-corner-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.maker-corner-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.maker-portrait figcaption {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 13px;
	font-family: var(--font-mono);
	font-size: 8px;
	letter-spacing: .1em;
	color: #858585;
}
.maker-portrait-index {
	position: absolute;
	top: -32px;
	right: -20px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -.08em;
	color: #f5f5f5;
	mix-blend-mode: difference;
}

.maker-bottom {
	display: grid;
	grid-template-columns: .8fr 1.2fr auto;
	align-items: center;
	gap: 28px;
	padding-top: 18px;
	border-top: 1px solid #303030;
}
.maker-section-label {
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .13em;
	color: #777;
}
.maker-statement p {
	margin: 8px 0 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .04em;
	color: #999;
}
.maker-statement strong { color: #f5f5f5; }
.maker-signoff { display: flex; flex-direction: column; gap: 7px; text-align: right; }
.maker-signoff span:first-child { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; color: #f5f5f5; }
.maker-signoff span:last-child { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: #777; white-space: nowrap; }

@media (max-width: 900px) {
	.maker-layout { width: min(700px, calc(100% - 44px)); }
	.maker-hero { grid-template-columns: 1fr; gap: 36px; padding: 46px 0 32px; }
	.maker-copy { max-width: 620px; }
	.maker-portrait { width: min(100%, 500px); justify-self: center; }
	.maker-bottom { grid-template-columns: 1fr 1.2fr; }
	.maker-signoff { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; text-align: left; padding-top: 14px; border-top: 1px solid #242424; }
}
@media (max-width: 600px) {
	.maker-layout { width: calc(100% - 32px); }
	.maker-hero { padding-top: 38px; }
	.maker-title { font-size: clamp(54px, 16vw, 80px) !important; }
	.maker-details { grid-template-columns: 1fr; gap: 12px; }
	.maker-portrait { width: calc(100% - 14px); margin-right: 14px; }
	.maker-portrait-index { right: -14px; font-size: 52px; }
	.maker-portrait figcaption { font-size: 7px; }
	.maker-bottom { grid-template-columns: 1fr; gap: 18px; }
	.maker-signoff { grid-column: auto; }
}


/* Professional code-forge landing + persistent Maker link */
#navbar .navbar-left > a[href$="/explore/repos"],
#navbar .navbar-left > a[href*="forgejo.org/docs"] { display:none !important; }
#navbar .leas-nav-maker {
	margin-left: 4px !important;
	padding: 7px 11px !important;
	border: 1px solid #3a3a3a !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #d4d4d4 !important;
}
#navbar .leas-nav-maker:hover { color: #fff !important; border-color: #888 !important; background: #151515 !important; }
body:has(.pro-home) #navbar .leas-nav-maker { color:#ddd !important; }

.pro-stage {
	min-height: calc(100vh - 60px);
	background: radial-gradient(ellipse at 75% 45%, #151515 0%, #090909 27%, transparent 58%), #050505;
}
.pro-layout { width: min(1200px, calc(100% - 80px)); }
.pro-masthead {
	display:flex; justify-content:space-between; align-items:center;
	padding:18px 0; border-bottom:1px solid #292929;
	font:600 9px var(--font-mono); letter-spacing:.13em; color:#888;
}
.pro-masthead-note i { font-style:normal; color:#555; padding:0 6px; }
.pro-masthead-loc { color:#aaa; }
.pro-hero {
	display:grid; grid-template-columns:1fr .9fr; align-items:center; gap:clamp(36px,7vw,100px);
	min-height:min(620px,calc(100vh - 210px)); padding:28px 0;
}
.pro-kicker {
	display:flex; align-items:center; gap:10px; margin:0 0 22px;
	font:600 9px var(--font-mono); letter-spacing:.16em; color:#999;
}
.pro-kicker span { width:24px; height:1px; background:#ddd; }
.pro-copy h1 {
	margin:0 !important; font:600 clamp(42px,5.4vw,72px)/.99 "Space Grotesk",var(--font-sans) !important;
	letter-spacing:-.065em !important; color:#f3f3f3 !important;
}
.pro-copy h1 em { font-style:normal; color:#8a8a8a; }
.pro-intro {
	max-width:470px; margin:22px 0 28px !important; color:#a3a3a3;
	font-size:15px; line-height:1.7; letter-spacing:-.015em;
}
.pro-links { display:flex; align-items:center; flex-wrap:wrap; gap:22px; }
.pro-link-main {
	display:inline-flex; align-items:center; gap:12px; padding:13px 15px;
	background:#f3f3f3; border:1px solid #f3f3f3; color:#080808 !important;
	font:700 9px var(--font-mono); letter-spacing:.08em; transition:.16s ease;
}
.pro-link-main:hover { background:#ccc; border-color:#ccc; color:#000 !important; transform:translateY(-1px); }
.pro-link-maker { color:#ccc !important; font-size:12px; border-bottom:1px solid #555; padding:8px 0; }
.pro-link-maker:hover { color:#fff !important; border-color:#fff; }
.pro-link-maker span { margin-left:5px; }
.pro-detail-line {
	display:flex; align-items:center; gap:11px; max-width:410px; margin-top:34px;
	font:500 8px var(--font-mono); letter-spacing:.12em; color:#777;
}
.pro-detail-line > span:first-child { color:#ddd; }
.pro-detail-rule { height:1px; flex:1; background:#303030; }
.pro-art { position:relative; display:grid; place-items:center; min-width:0; }
.pro-art:before {
	content:""; position:absolute; width:65%; aspect-ratio:1; border-radius:50%;
	background:#fff; filter:blur(95px); opacity:.055;
}
.pro-art svg { position:relative; width:min(100%,510px); height:auto; }
.pro-art-meta {
	position:absolute; left:2%; right:2%; display:flex; justify-content:space-between;
	font:500 8px var(--font-mono); letter-spacing:.12em; color:#777;
}
.pro-meta-top { top:3%; }
.pro-meta-bottom { bottom:3%; color:#aaa; }
.pro-footer {
	display:flex; justify-content:space-between; gap:16px; padding:16px 0 18px;
	border-top:1px solid #292929; font:500 8px var(--font-mono); letter-spacing:.1em; color:#777;
}
.pro-footer i { font-style:normal; color:#555; padding:0 5px; }
.pro-footer span:last-child { color:#aaa; }
@media(max-width:850px) {
	.pro-layout { width:min(700px,calc(100% - 44px)); }
	.pro-hero { grid-template-columns:1fr; gap:6px; padding:48px 0 32px; }
	.pro-art { width:min(100%,500px); justify-self:center; }
}
@media(max-width:600px) {
	.pro-layout { width:calc(100% - 32px); }
	.pro-masthead { font-size:8px; }
	.pro-copy h1 { font-size:clamp(40px,11vw,58px) !important; }
	.pro-intro { font-size:14px; }
	.pro-links { align-items:flex-start; gap:12px; flex-direction:column; }
	.pro-footer { flex-wrap:wrap; font-size:7px; }
}


/* ==========================================================================
   SIGNED-IN FORGE UI ? cool daylight, GitHub-like hierarchy and surfaces
   The public professional landing and standalone Maker page stay dark.
   ========================================================================== */
:root,
:root:not([data-theme$="light"]),
:root[data-theme$="light"],
html[data-theme] {
	--color-primary: #2563eb;
	--color-primary-contrast: #ffffff;
	--color-primary-dark-1: #1d4ed8;
	--color-primary-dark-2: #1e40af;
	--color-primary-dark-3: #1e3a8a;
	--color-primary-dark-4: #172554;
	--color-primary-dark-5: #172554;
	--color-primary-dark-6: #0f172a;
	--color-primary-dark-7: #0f172a;
	--color-primary-light-1: #3b82f6;
	--color-primary-light-2: #60a5fa;
	--color-primary-light-3: #93c5fd;
	--color-primary-light-4: #bfdbfe;
	--color-primary-light-5: #dbeafe;
	--color-primary-light-6: #eff6ff;
	--color-primary-light-7: #f8fbff;
	--color-primary-hover: #1d4ed8;
	--color-primary-active: #1e40af;
	--color-body: #f6f8fa;
	--color-box-header: #f6f8fa;
	--color-box-body: #ffffff;
	--color-box-body-highlight: #f6f8fa;
	--color-text-dark: #1f2328;
	--color-text: #24292f;
	--color-text-light: #57606a;
	--color-text-light-1: #6e7781;
	--color-text-light-2: #8c959f;
	--color-text-light-3: #afb8c1;
	--color-footer: #ffffff;
	--color-input-border: #d0d7de;
	--color-input-border-hover: #8c959f;
	--color-header-wrapper: #ffffff;
	--color-light-border: #d8dee4;
	--color-hover: #f3f4f6;
	--color-active: #eaeef2;
	--color-menu: #ffffff;
	--color-card: #ffffff;
	--color-button: #ffffff;
	--color-code-bg: #f6f8fa;
	--color-markup-code-block: #f6f8fa;
	--color-secondary-bg: #f6f8fa;
	--color-secondary: #d8dee4;
	--color-secondary-dark-1: #d0d7de;
	--color-secondary-dark-2: #afb8c1;
	--color-secondary-light-1: #eaeef2;
	--color-secondary-light-2: #f3f4f6;
	--color-secondary-light-3: #f6f8fa;
	--color-secondary-light-4: #ffffff;
	--color-secondary-hover: #f3f4f6;
	--color-nav-bg: rgba(255,255,255,.94);
	--color-nav-hover-bg: #f3f4f6;
	--color-nav-text: #1f2328;
	--color-secondary-nav-bg: #ffffff;
	--color-label-bg: #eff2f5;
	--color-label-hover-bg: #eaeef2;
	--color-label-active-bg: #d8dee4;
	--color-placeholder-text: #8c959f;
	--color-shadow: rgba(31,35,40,.06);
	--leas-ring: rgba(9,105,218,.18);
}

/* Bright, legible navigation outside the dark marketing front page */
body:not(:has(.pro-home)) #navbar {
	background: rgba(255,255,255,.94) !important;
	border-bottom: 1px solid #d8dee4 !important;
	box-shadow: 0 1px 2px rgba(31,35,40,.04) !important;
}
body:not(:has(.pro-home)) #navbar::after { display:none; }
body:not(:has(.pro-home)) #navbar .item { color:#24292f !important; }
body:not(:has(.pro-home)) #navbar .item:hover { background:#f3f4f6 !important; color:#0969da !important; }
body:not(:has(.pro-home)) #navbar .item.active { color:#0969da !important; background:#eff6ff !important; }
body:not(:has(.pro-home)) #navbar-logo::after { color:#1f2328; }
body:not(:has(.pro-home)) #navbar .leas-nav-maker {
	color:#24292f !important;
	background:#fff !important;
	border-color:#d0d7de !important;
}
body:not(:has(.pro-home)) #navbar .leas-nav-maker:hover {
	color:#0969da !important;
	background:#f6f8fa !important;
	border-color:#afb8c1 !important;
}
body:not(:has(.pro-home)) #navbar .navbar-right > a.item[href*="/user/login"] {
	color:#fff !important;
	background:#1f2328 !important;
	border-color:#1f2328 !important;
}

/* Overall app rhythm and text rendering */
body:not(:has(.pro-home)) {
	background:#f6f8fa !important;
	color:#24292f !important;
	font-family:var(--font-sans) !important;
}
body:not(:has(.pro-home)) .page-content { color:#24292f; }
body:not(:has(.pro-home)) h1,
body:not(:has(.pro-home)) h2,
body:not(:has(.pro-home)) h3,
body:not(:has(.pro-home)) h4 { color:#1f2328; letter-spacing:-.025em; }
body:not(:has(.pro-home)) a:not(.ui.button) { color:#0969da; }
body:not(:has(.pro-home)) a:not(.ui.button):hover { color:#0550ae; }

/* Signed-in dashboard: airy two-column workspace, clear feed cards */
.page-content.dashboard .ui.container.flex-container {
	align-items:flex-start;
	gap:24px;
	padding-top:22px;
}
.page-content.dashboard .flex-container-main { min-width:0; }
.page-content.dashboard .flex-container-sidebar { flex:0 0 310px; }
.page-content.dashboard .secondary-nav {
	background:#fff !important;
	border-bottom:1px solid #d8dee4 !important;
	box-shadow:0 1px 2px rgba(31,35,40,.03);
}
.page-content.dashboard .secondary-nav .ui.menu { max-width:1280px; margin:0 auto; }
.page-content.dashboard .secondary-nav .item { color:#57606a; font-weight:600; }
.page-content.dashboard .secondary-nav .item.active {
	color:#1f2328 !important;
	background:transparent !important;
	border-bottom:2px solid #0969da !important;
}
.page-content.dashboard #user-heatmap,
.page-content.dashboard #activity-feed,
.page-content.dashboard #dashboard-repo-list {
	background:#fff;
	border:1px solid #d8dee4;
	border-radius:12px;
	box-shadow:0 1px 3px rgba(31,35,40,.04),0 6px 18px rgba(31,35,40,.035);
}
.page-content.dashboard #user-heatmap { padding:16px; margin:0 0 18px; }
.page-content.dashboard #activity-feed { padding:6px 16px; }
.page-content.dashboard #activity-feed > .flex-item {
	padding:14px 2px !important;
	border-bottom:1px solid #eaeef2;
}
.page-content.dashboard #activity-feed > .flex-item:last-child { border-bottom:0; }
.page-content.dashboard #activity-feed > .flex-item:hover { background:#f6f8fa !important; }
.page-content.dashboard #dashboard-repo-list {
	padding:16px;
	position:sticky;
	top:82px;
}
.page-content.dashboard .flex-list > .flex-item { border-bottom:1px solid #eaeef2; }
.page-content.dashboard .ui.divider { border-top-color:#eaeef2 !important; }

/* Forgejo secondary navigation, tabs, search filters */
body:not(:has(.pro-home)) .secondary-nav {
	background:#fff !important;
	border-bottom:1px solid #d8dee4 !important;
}
body:not(:has(.pro-home)) overflow-menu .overflow-menu-items .item {
	color:#57606a !important;
	border-radius:7px 7px 0 0;
	font-weight:600;
}
body:not(:has(.pro-home)) overflow-menu .overflow-menu-items .item:hover {
	color:#1f2328 !important;
	background:#f6f8fa !important;
}
body:not(:has(.pro-home)) overflow-menu .overflow-menu-items .item.active {
	color:#1f2328 !important;
	background:transparent !important;
	border-bottom:2px solid #0969da !important;
}
body:not(:has(.pro-home)) .ui.secondary.filter.menu { gap:8px; }
body:not(:has(.pro-home)) .ui.dropdown .menu {
	border:1px solid #d8dee4 !important;
	border-radius:10px !important;
	box-shadow:0 8px 24px rgba(31,35,40,.12) !important;
}

/* Repository and profile surfaces */
body:not(:has(.pro-home)) .repo-header {
	padding:18px 20px !important;
	border:1px solid #d8dee4;
	border-radius:12px 12px 0 0;
	background:#fff;
}
body:not(:has(.pro-home)) .repo-header .flex-item-title a { color:#0969da !important; font-weight:600; }
body:not(:has(.pro-home)) #repo-files-table {
	border:1px solid #d8dee4 !important;
	border-radius:0 0 12px 12px !important;
	box-shadow:0 1px 3px rgba(31,35,40,.04) !important;
	overflow:hidden;
}
body:not(:has(.pro-home)) #repo-files-table thead th {
	background:#f6f8fa !important;
	color:#57606a !important;
	border-bottom:1px solid #d8dee4 !important;
}
body:not(:has(.pro-home)) #repo-files-table tbody tr.entry:hover { background:#f6f8fa !important; }
body:not(:has(.pro-home)) #repo-files-table tbody .svg.octicon-file-directory-fill { color:#54aeff !important; }
body:not(:has(.pro-home)) #repo-files-table tr.entry td.name a.muted { color:#0969da !important; }
body:not(:has(.pro-home)) .ui.segment,
body:not(:has(.pro-home)) .ui.segments,
body:not(:has(.pro-home)) .ui.card,
body:not(:has(.pro-home)) .ui.cards > .card {
	border-color:#d8dee4 !important;
	border-radius:12px !important;
	box-shadow:0 1px 3px rgba(31,35,40,.04),0 6px 18px rgba(31,35,40,.035) !important;
}
body:not(:has(.pro-home)) .ui.top.attached.segment { background:#f6f8fa !important; }

/* Buttons, forms, code presentation and focus */
body:not(:has(.pro-home)) .ui.button {
	border-radius:8px !important;
	border-color:#d0d7de !important;
	font-weight:600 !important;
	box-shadow:0 1px 0 rgba(31,35,40,.04) !important;
}
body:not(:has(.pro-home)) .ui.primary.button,
body:not(:has(.pro-home)) .ui.primary.buttons .button {
	background:#2563eb !important;
	border-color:#1d4ed8 !important;
	color:#fff !important;
}
body:not(:has(.pro-home)) .ui.primary.button:hover { background:#1d4ed8 !important; }
body:not(:has(.pro-home)) .ui.input > input,
body:not(:has(.pro-home)) .ui.form input:not([type="checkbox"]):not([type="radio"]),
body:not(:has(.pro-home)) .ui.form textarea,
body:not(:has(.pro-home)) .ui.form select {
	border-radius:8px !important;
	border-color:#d0d7de !important;
	box-shadow:0 1px 2px rgba(31,35,40,.04) !important;
}
body:not(:has(.pro-home)) .ui.input > input:focus,
body:not(:has(.pro-home)) .ui.form input:focus,
body:not(:has(.pro-home)) .ui.form textarea:focus {
	border-color:#0969da !important;
	box-shadow:0 0 0 3px rgba(9,105,218,.16) !important;
}
body:not(:has(.pro-home)) .chroma { background:#f6f8fa !important; border-radius:9px; }
body:not(:has(.pro-home)) .page-footer { background:#fff !important; border-top:1px solid #d8dee4 !important; color:#6e7781 !important; }
body:not(:has(.pro-home)) .page-footer a { color:#57606a !important; }

@media (max-width: 900px) {
	.page-content.dashboard .ui.container.flex-container { display:block; }
	.page-content.dashboard .flex-container-sidebar { width:100%; margin-top:20px; }
	.page-content.dashboard #dashboard-repo-list { position:static; }
}
