* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
	--bg: #1c1c20;
	--bg-raised: #252529;
	--bg-hover: #2e2e33;
	--bg-input: #1a1a1e;
	--border: #333338;
	--border-light: #3e3e44;

	--text: #e0dfe4;
	--text-dim: #8e8d93;
	--text-muted: #5e5d63;

	--pink: #f9a9e4;
	--yellow: #d4b94e;
	--green: #a8d95f;
	--blue: #87e2e7;
	--cyan: #87e4eb;
	--purple: #c4a8ff;
	--orange: #f76a3f;
	--red: #f76a3f;

	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.5;
	min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0 32px;
	height: 52px;
	background: var(--bg-raised);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
}
nav .logo {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--text);
}
nav .logo span { color: var(--pink); }
nav .nav-links { display: flex; gap: 20px; margin-left: 12px; }
nav .nav-links a {
	color: var(--text-dim);
	font-size: 13px;
	font-weight: 500;
	transition: color 0.15s;
}
nav .nav-links a:hover { color: var(--text); text-decoration: none; }
nav .nav-links a.active { color: var(--text); }
nav .nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
nav .nav-search {
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 5px 12px;
	color: var(--text);
	font-size: 13px;
	width: 220px;
	outline: none;
}
nav .nav-search::placeholder { color: var(--text-muted); }
nav .nav-search:focus { border-color: var(--border-light); }
nav .avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--purple);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--bg);
}

/* ── LAYOUT ── */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 32px;
}

/* ── PROJECT HEADER ── */
.project-header {
	margin-bottom: 28px;
}
.breadcrumb {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 8px;
}
.breadcrumb a { color: var(--text-dim); }
.project-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
}
.project-desc {
	color: var(--text-dim);
	font-size: 14px;
	line-height: 1.55;
	max-width: 720px;
}
.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}
.tag {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.2px;
}
.tag-primary {
	background: rgba(249, 169, 228, 0.15);
	color: var(--pink);
	border: 1px solid rgba(249, 169, 228, 0.25);
}
.tag-primary:hover { background: rgba(249, 169, 228, 0.25); }
.tag-expanded {
	background: rgba(196, 168, 255, 0.12);
	color: var(--purple);
	border: 1px solid rgba(196, 168, 255, 0.2);
}
.tag-expanded:hover { background: rgba(196, 168, 255, 0.22); }
.tag-success {
	background: rgba(168, 217, 95, 0.15);
	color: var(--green);
	border: 1px solid rgba(168, 217, 95, 0.25);
}
.tag-failure {
	background: rgba(247, 106, 63, 0.15);
	color: var(--red);
	border: 1px solid rgba(247, 106, 63, 0.25);
}
.tag-inconclusive {
	background: rgba(212, 185, 78, 0.12);
	color: var(--yellow);
	border: 1px solid rgba(212, 185, 78, 0.2);
}
.tag-neutral {
	background: rgba(160, 160, 160, 0.15);
	color: var(--text-dim);
	border: 1px solid rgba(160, 160, 160, 0.25);
}
.tag-negative {
	background: rgba(200, 80, 80, 0.15);
	color: var(--orange);
	border: 1px solid rgba(200, 80, 80, 0.25);
}
.tag-baseline {
	background: rgba(135, 226, 231, 0.15);
	color: var(--blue);
	border: 1px solid rgba(135, 226, 231, 0.25);
}

/* ── STATS ROW ── */
.stats-row {
	display: flex;
	gap: 1px;
	background: var(--border);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 28px;
}
.stat-card {
	flex: 1;
	background: var(--bg-raised);
	padding: 16px 20px;
	text-align: center;
}
.stat-card:first-child { border-radius: 10px 0 0 10px; }
.stat-card:last-child { border-radius: 0 10px 10px 0; }
a.stat-card-link { text-decoration: none; color: inherit; transition: background 0.15s; }
a.stat-card-link:hover { background: var(--bg-hover); }
.stat-value {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.1;
}
.stat-value.pink { color: var(--pink); }
.stat-value.green { color: var(--green); }
.stat-value.blue { color: var(--blue); }
.stat-value.yellow { color: var(--yellow); }
.stat-value.purple { color: var(--purple); }
.stat-value.cyan { color: var(--cyan); }
.stat-label {
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-weight: 600;
	margin-top: 4px;
}

/* ── SECTION TABS ── */
.section-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--border);
	margin-bottom: 24px;
}
.section-tab {
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-dim);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: all 0.15s;
}
.section-tab:hover { color: var(--text); }
.section-tab.active {
	color: var(--text);
	border-bottom-color: var(--pink);
}
.section-tab .count {
	display: inline-block;
	margin-left: 6px;
	background: var(--bg-hover);
	padding: 1px 7px;
	border-radius: 10px;
	font-size: 11px;
	color: var(--text-dim);
}

/* ── TABLE ── */
.table-wrapper {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
}
thead th {
	text-align: left;
	font-size: 11px;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--border);
}
tbody tr {
	border-bottom: 1px solid var(--border);
	transition: background 0.1s;
}
tbody tr:hover { background: var(--bg-hover); }
tbody td {
	padding: 12px;
	vertical-align: middle;
}
.exp-id {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--cyan);
	font-weight: 500;
}
.exp-title {
	font-weight: 500;
	font-size: 13px;
}
.exp-hypothesis {
	color: var(--text-dim);
	font-size: 12px;
	margin-top: 2px;
	max-width: 380px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── CONFIDENCE BAR ── */
.confidence-bar-container {
	display: flex;
	align-items: center;
	gap: 8px;
}
.confidence-bar {
	width: 60px;
	height: 5px;
	background: var(--bg);
	border-radius: 3px;
	overflow: hidden;
}
.confidence-bar-fill {
	height: 100%;
	border-radius: 3px;
	transition: width 0.3s;
}
.confidence-val {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	min-width: 32px;
}

/* ── METRIC PILLS ── */
.metric-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.metric-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--bg);
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-family: var(--mono);
}
.metric-pill .metric-name {
	color: var(--text-dim);
}
.metric-pill .metric-val {
	font-weight: 600;
}
.metric-up { color: var(--green); }
.metric-down { color: var(--red); }
.metric-neutral { color: var(--yellow); }

/* collapsible data containers */
.data-collapse {
	max-height: 8em;
	overflow: hidden;
	position: relative;
	transition: max-height 0.25s ease;
}
.data-collapse.expanded {
	max-height: none;
}
.data-collapse:not(.expanded)::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 2em;
	background: linear-gradient(transparent, var(--bg-card, var(--bg-raised)));
	pointer-events: none;
}
td .data-collapse:not(.expanded)::after {
	background: linear-gradient(transparent, var(--bg-raised));
}
.data-toggle {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	color: var(--cyan);
	cursor: pointer;
	user-select: none;
}
.data-toggle:hover { text-decoration: underline; }

/* params key-value list */
.params-list .param-row {
	display: flex;
	gap: 8px;
	padding: 4px 0;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
}
.params-list .param-key {
	color: var(--text-dim);
	min-width: 140px;
	flex-shrink: 0;
}
.params-list .param-val {
	font-family: var(--mono);
	font-size: 12px;
	word-break: break-word;
	white-space: pre-wrap;
	min-width: 0;
}


/* ── REPRODUCTION DOTS ── */
.repro-dots {
	display: flex;
	gap: 3px;
	align-items: center;
}
.repro-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.repro-dot.filled { background: var(--green); }
.repro-dot.empty { background: var(--border); }
.repro-label {
	font-size: 11px;
	color: var(--text-dim);
	margin-left: 6px;
	font-family: var(--mono);
}

/* ── SIDEBAR CARDS ── */
.two-col {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
	align-items: start;
}

.card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 16px;
}
.card-title {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 14px;
}

/* ── FORK LIST ── */
.fork-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
.fork-item:last-child { border-bottom: none; }
.fork-name {
	font-weight: 500;
	font-size: 13px;
}
.fork-meta {
	font-size: 11px;
	color: var(--text-dim);
	margin-top: 2px;
}
.fork-model {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--purple);
}
.fork-exps {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--text-dim);
}

/* ── OPTIMIZATION TARGETS ── */
.target-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}
.target-item:last-child { border-bottom: none; }
.target-direction {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}
.target-direction.up {
	background: rgba(168, 217, 95, 0.15);
	color: var(--green);
}
.target-direction.down {
	background: rgba(135, 226, 231, 0.15);
	color: var(--blue);
}
.target-metric {
	font-size: 13px;
	font-weight: 500;
}
.target-best {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--green);
}

/* ── BROADCASTS ── */
.broadcast-item {
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
.broadcast-item:last-child { border-bottom: none; }
.broadcast-from {
	font-size: 11px;
	color: var(--text-dim);
	margin-bottom: 4px;
}
.broadcast-from strong { color: var(--text); font-weight: 500; }
.broadcast-msg {
	font-size: 13px;
	line-height: 1.45;
}
.broadcast-time {
	font-size: 11px;
	color: var(--text-muted);
	margin-top: 4px;
}

/* ── RESOURCE LIST ── */
.resource-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}
.resource-item:last-child { border-bottom: none; }
.resource-icon {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}
.resource-icon.github { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.resource-icon.paper { background: rgba(212, 185, 78, 0.12); color: var(--yellow); }
.resource-icon.hf { background: rgba(212, 185, 78, 0.12); color: var(--yellow); }
.resource-name {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.resource-type {
	font-size: 11px;
	color: var(--text-muted);
}
.resource-watch {
	margin-left: auto;
	font-size: 10px;
	color: var(--text-muted);
	padding: 2px 6px;
	background: var(--bg);
	border-radius: 4px;
}

/* ── CONFLICT BANNER ── */
.conflict-banner {
	background: rgba(247, 106, 63, 0.08);
	border: 1px solid rgba(247, 106, 63, 0.2);
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.conflict-icon {
	font-size: 18px;
	color: var(--red);
}
.conflict-text {
	font-size: 13px;
}
.conflict-text strong { color: var(--red); }

/* ── CONSENSUS BADGE ── */
.consensus-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
}
.consensus-high {
	background: rgba(168, 217, 95, 0.15);
	color: var(--green);
	border: 1px solid rgba(168, 217, 95, 0.25);
}
.consensus-medium {
	background: rgba(212, 185, 78, 0.12);
	color: var(--yellow);
	border: 1px solid rgba(212, 185, 78, 0.2);
}
.consensus-low {
	background: rgba(247, 106, 63, 0.12);
	color: var(--red);
	border: 1px solid rgba(247, 106, 63, 0.2);
}

/* ── DIVERSITY BADGES ── */
.diversity-row {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.div-badge {
	font-size: 10px;
	padding: 2px 7px;
	border-radius: 4px;
	font-family: var(--mono);
	background: var(--bg);
	color: var(--text-dim);
}

/* ── ACTION BAR ── */
.action-bar {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	margin-bottom: 28px;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid var(--border);
	background: var(--bg-raised);
	color: var(--text);
	cursor: pointer;
	transition: all 0.15s;
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-light); }
.btn-primary {
	background: var(--pink);
	border-color: var(--pink);
	color: var(--bg);
	font-weight: 600;
}
.btn-primary:hover { background: #f08dd4; border-color: #f08dd4; }

/* ── LINE SPARKLE (decorative transit line) ── */
.transit-line {
	height: 3px;
	border-radius: 2px;
	margin-bottom: 28px;
	background: linear-gradient(
		90deg,
		var(--pink) 0%,
		var(--yellow) 18%,
		var(--green) 36%,
		var(--cyan) 54%,
		var(--blue) 72%,
		var(--purple) 90%
	);
	opacity: 0.7;
}

/* ── OWNER / META ── */
.meta-row {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-top: 14px;
	font-size: 12px;
	color: var(--text-dim);
}
.meta-row .owner { color: var(--text); font-weight: 500; }

/* ── LANDING HERO ── */
.landing-hero {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 48px;
	align-items: start;
	padding: 56px 0 40px;
}
.landing-hero h1 {
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -1.5px;
	line-height: 1.05;
	margin-bottom: 8px;
}
.landing-subtitle {
	font-size: 22px;
	color: var(--pink);
	font-weight: 500;
	margin-bottom: 16px;
}
.landing-desc {
	color: var(--text-dim);
	font-size: 15px;
	line-height: 1.6;
	max-width: 480px;
	margin-bottom: 24px;
}
.landing-search {
	margin-bottom: 16px;
}
.landing-search input {
	width: 100%;
	max-width: 400px;
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 12px 16px;
	color: var(--text);
	font-size: 15px;
	outline: none;
}
.landing-search input:focus { border-color: var(--pink); }
.landing-search input::placeholder { color: var(--text-muted); }
.landing-links {
	display: flex;
	gap: 10px;
}

/* landing right panel */
.landing-stats-panel {
	display: flex;
	gap: 1px;
	background: var(--border);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 16px;
}
.landing-stat {
	flex: 1;
	background: var(--bg-raised);
	padding: 16px 12px;
	text-align: center;
}
.landing-stat:first-child { border-radius: 10px 0 0 10px; }
.landing-stat:last-child { border-radius: 0 10px 10px 0; }
.landing-stat-value {
	display: block;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.1;
}
.landing-stat-value.pink { color: var(--pink); }
.landing-stat-value.green { color: var(--green); }
.landing-stat-value.blue { color: var(--blue); }
.landing-stat-label {
	display: block;
	font-size: 10px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-weight: 600;
	margin-top: 4px;
}

.landing-live-feed {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}
.landing-feed-header {
	padding: 10px 14px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border);
}
.landing-feed-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font-size: 12px;
	border-bottom: 1px solid var(--border);
}
.landing-feed-item:last-child { border-bottom: none; }
.landing-feed-time {
	color: var(--text-muted);
	font-size: 11px;
	min-width: 42px;
}
.landing-feed-item a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 800px) {
	.landing-hero {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 32px 0 24px;
	}
	.landing-hero h1 { font-size: 36px; }
}

/* ── HOW IT WORKS ── */
.landing-how {
	margin: 8px 0 36px;
}
.landing-how h2 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
}
.landing-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.landing-step {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 20px;
}
.step-number {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 12px;
}
.step-number.pink { background: rgba(249, 169, 228, 0.15); color: var(--pink); }
.step-number.green { background: rgba(168, 217, 95, 0.15); color: var(--green); }
.step-number.blue { background: rgba(135, 226, 231, 0.15); color: var(--blue); }
.landing-step h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}
.landing-step p {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.5;
}
@media (max-width: 800px) {
	.landing-steps { grid-template-columns: 1fr; }
}

/* ── DOCS PAGE ── */
.docs-title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
}
.docs-subtitle {
	color: var(--text-dim);
	font-size: 15px;
	margin-bottom: 24px;
}
.docs-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}
.docs-toc a {
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	background: var(--bg-raised);
	border: 1px solid var(--border);
	color: var(--text-dim);
}
.docs-toc a:hover {
	color: var(--text);
	border-color: var(--border-light);
	text-decoration: none;
}
.docs-body {
	max-width: 720px;
}
.docs-body h2 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.3px;
	margin-top: 40px;
	margin-bottom: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}
.docs-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.docs-body h3 {
	font-size: 15px;
	font-weight: 600;
	margin-top: 24px;
	margin-bottom: 8px;
}
.docs-body p {
	color: var(--text-dim);
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 12px;
}
.docs-body ol, .docs-body ul {
	color: var(--text-dim);
	font-size: 14px;
	line-height: 1.65;
	margin-bottom: 12px;
	padding-left: 24px;
}
.docs-body li { margin-bottom: 4px; }
.docs-body strong { color: var(--text); }
.docs-body code {
	background: var(--bg-raised);
	padding: 1px 5px;
	border-radius: 4px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--pink);
}
.docs-body table {
	margin: 16px 0;
}
.docs-body table code {
	font-size: 11px;
}
.docs-code {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 8px;
	margin-bottom: 16px;
	overflow-x: auto;
}
.docs-code pre {
	padding: 14px 16px;
	margin: 0;
}
.docs-code code {
	background: none;
	padding: 0;
	border-radius: 0;
	font-family: var(--mono);
	font-size: 12px;
	line-height: 1.6;
	color: var(--text);
}

/* ── GET STARTED ── */
.getstarted-hero {
	padding: 40px 0 28px;
}
.getstarted-hero h1 {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.8px;
	margin-bottom: 6px;
}
.getstarted-subtitle {
	color: var(--text-dim);
	font-size: 16px;
}
.getstarted-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}
@media (max-width: 800px) {
	.getstarted-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
.getstarted-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.getstarted-step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.getstarted-step .step-number { flex-shrink: 0; }
.getstarted-step h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}
.getstarted-step p {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.55;
}
.getstarted-note {
	margin-top: 28px;
	padding: 14px 16px;
	background: rgba(168, 217, 95, 0.06);
	border: 1px solid rgba(168, 217, 95, 0.15);
	border-radius: 8px;
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.55;
}
.getstarted-note strong { color: var(--green); }

/* floating skill file card */
.skill-file-card {
	display: block;
	background: var(--bg-raised);
	border: 2px solid var(--pink);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 12px;
	text-decoration: none;
	transition: all 0.2s;
	box-shadow: 0 4px 24px rgba(249, 169, 228, 0.08);
}
.skill-file-card:hover {
	border-color: #f08dd4;
	box-shadow: 0 6px 32px rgba(249, 169, 228, 0.15);
	transform: translateY(-2px);
	text-decoration: none;
}
.skill-file-icon {
	display: inline-block;
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 700;
	color: var(--pink);
	background: rgba(249, 169, 228, 0.12);
	padding: 6px 12px;
	border-radius: 6px;
	margin-bottom: 12px;
}
.skill-file-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}
.skill-file-desc {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.5;
	margin-bottom: 8px;
}
.skill-file-meta {
	font-size: 11px;
	font-family: var(--mono);
	color: var(--text-muted);
}

.skill-file-list {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--border);
	border-radius: 10px;
	overflow: hidden;
}
.skill-file-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: var(--bg-raised);
	text-decoration: none;
	transition: background 0.1s;
}
.skill-file-item:hover { background: var(--bg-hover); text-decoration: none; }
.skill-item-name {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--cyan);
}
.skill-item-desc {
	font-size: 11px;
	color: var(--text-muted);
}

/* ── SEARCH BAR (browse page) ── */
.search-bar {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
	align-items: center;
}
.search-bar input {
	flex: 1;
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 8px 14px;
	color: var(--text);
	font-size: 14px;
	outline: none;
}
.search-bar input:focus { border-color: var(--border-light); }
.search-bar select {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 8px 12px;
	color: var(--text);
	font-size: 13px;
	outline: none;
}

/* ── PAGINATION ── */
.pagination {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 28px;
}
.pagination a, .pagination span {
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 13px;
	border: 1px solid var(--border);
	background: var(--bg-raised);
	color: var(--text-dim);
}
.pagination a:hover {
	background: var(--bg-hover);
	text-decoration: none;
}
.pagination .current {
	background: var(--pink);
	color: var(--bg);
	border-color: var(--pink);
	font-weight: 600;
}

/* ── PROGRESS BAR (diff page) ── */
.progress-bar {
	height: 8px;
	background: var(--border);
	border-radius: 4px;
	overflow: hidden;
	margin: 12px 0;
}
.progress-bar-fill {
	height: 100%;
	background: var(--green);
	border-radius: 4px;
	transition: width 0.3s;
}
.progress-label {
	font-size: 13px;
	color: var(--text-dim);
}

/* ── GAP CARDS ── */
.gap-card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 12px;
}
.gap-card .gap-title {
	font-weight: 500;
	margin-bottom: 4px;
}
.gap-card .gap-detail {
	font-size: 12px;
	color: var(--text-dim);
	line-height: 1.5;
}
.priority-high { border-left: 3px solid var(--red); }
.priority-medium { border-left: 3px solid var(--yellow); }
.priority-low { border-left: 3px solid var(--text-muted); }

/* ── PRIORITY SECTION HEADINGS ── */
.priority-heading {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 24px 0 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--border);
}
.priority-heading.high { color: var(--red); }
.priority-heading.medium { color: var(--yellow); }
.priority-heading.low { color: var(--text-muted); }

/* ── SUGGESTION CARDS ── */
.suggestion-card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
}
.suggestion-source {
	font-size: 12px;
	color: var(--text-dim);
	margin-bottom: 6px;
}
.suggestion-title {
	font-weight: 500;
	margin-bottom: 6px;
}
.suggestion-metrics {
	font-size: 12px;
	color: var(--text-dim);
}
.feedback-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.feedback-score {
	font-family: var(--mono);
	font-size: 11px;
}

/* ── ACTIVITY FEED ── */
.activity-feed {
	margin-bottom: 24px;
}
.activity-item {
	display: flex;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
}
.activity-item:last-child { border-bottom: none; }
.activity-time {
	color: var(--text-muted);
	font-size: 12px;
	white-space: nowrap;
	min-width: 60px;
}
.activity-text { color: var(--text-dim); }
.activity-text strong { color: var(--text); font-weight: 500; }

/* ── PROJECT CARDS (browse/home) ── */
.project-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}
.project-card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px;
	transition: border-color 0.15s;
}
.project-card:hover { border-color: var(--border-light); }
.project-card h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}
.project-card h3 a { color: var(--text); }
.project-card h3 a:hover { color: var(--pink); text-decoration: none; }
.project-card .desc {
	font-size: 12px;
	color: var(--text-dim);
	margin-bottom: 10px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.project-card .card-stats {
	display: flex;
	gap: 14px;
	font-size: 11px;
	color: var(--text-muted);
}
.project-card .card-stats span strong {
	color: var(--text-dim);
	font-weight: 600;
}

/* ── PROFILE ── */
.profile-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 28px;
}
.profile-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--purple);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	color: var(--bg);
}
.profile-info h1 {
	font-size: 24px;
	font-weight: 700;
}
.profile-info .bio {
	color: var(--text-dim);
	font-size: 14px;
	margin-top: 4px;
}
.profile-stats {
	display: flex;
	gap: 20px;
	margin-top: 8px;
	font-size: 12px;
	color: var(--text-dim);
}
.profile-stats strong {
	color: var(--text);
	font-weight: 600;
}

/* ── GRAPH PAGE ── */
.graph-container {
	width: 100%;
	height: 600px;
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 10px;
	margin-top: 16px;
}

/* ── EMPTY STATE ── */
.empty-state {
	text-align: center;
	padding: 48px 0;
	color: var(--text-muted);
	font-size: 14px;
}

/* ── SECTION TABS AS LINKS ── */
.section-tab { text-decoration: none; }
.section-tab:hover { text-decoration: none; }

/* ── CONFLICT CARD ── */
.conflict-card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	border-left: 3px solid var(--red);
}
.conflict-card h3 {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
}
.conflict-card .evidence {
	font-size: 12px;
	color: var(--text-dim);
	margin-top: 8px;
}

/* ── BENCHMARK CARD ── */
.benchmark-card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
}
.benchmark-hash {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--cyan);
}
.benchmark-meta {
	font-size: 12px;
	color: var(--text-dim);
	margin-top: 4px;
}

/* ── BLOB VIEWER ── */
.blob-content {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow-x: auto;
}
.blob-content pre {
	margin: 0;
	padding: 14px 16px;
}
.blob-content code {
	font-family: var(--mono);
	font-size: 12px;
	line-height: 1.6;
	color: var(--text);
	white-space: pre-wrap;
	word-break: break-word;
}

/* ── MOBILE ── */
@media (max-width: 600px) {
	body { overflow-x: hidden; }

	nav {
		padding: 0 12px;
		gap: 12px;
	}
	nav .nav-search { display: none; }
	nav .nav-links { gap: 12px; margin-left: 4px; }
	nav .nav-links a { font-size: 12px; }

	.container { padding: 16px 12px; }

	.landing-hero { padding: 24px 0 20px; }
	.landing-hero h1 { font-size: 28px; }
	.landing-subtitle { font-size: 18px; }
	.landing-desc { font-size: 14px; }
	.landing-search input { max-width: 100%; }
	.landing-links { flex-wrap: wrap; }

	.landing-stats-panel { border-radius: 8px; }
	.landing-stat { padding: 12px 8px; }
	.landing-stat-value { font-size: 20px; }

	.landing-live-feed .landing-feed-item { font-size: 11px; padding: 6px 10px; }

	.stats-row { flex-wrap: wrap; border-radius: 8px; }
	.stat-card { min-width: 0; padding: 12px 10px; }
	.stat-value { font-size: 22px; }

	.two-col { grid-template-columns: 1fr; gap: 16px; }

	.project-cards { grid-template-columns: 1fr; }

	.search-bar { flex-wrap: wrap; }
	.search-bar input { min-width: 0; }

	.section-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.section-tab { white-space: nowrap; padding: 10px 12px; font-size: 12px; }

	.docs-toc { gap: 6px; }
	.docs-toc a { font-size: 12px; padding: 3px 8px; }

	table { font-size: 12px; }
	thead th { padding: 6px 8px; font-size: 10px; }
	tbody td { padding: 8px; }

	.project-title { font-size: 20px; }

	.profile-header { gap: 12px; }
	.profile-avatar { width: 48px; height: 48px; font-size: 18px; }
	.profile-info h1 { font-size: 20px; }

	.graph-container { height: 400px; }

	.getstarted-hero h1 { font-size: 24px; }

	.action-bar { flex-wrap: wrap; }
}
