/* theme-name: Codex 清白 */
/* theme-name-en: Codex Pure */
/* theme-group: classic */
:root {
	color-scheme: light;
	--bg: #ffffff;
	--bg-elev: #f7f7f8;
	--bg-elev2: #f0f0f2;
	--border: #e5e5e5;
	--border-soft: #ececf1;
	--text: #0d0d0d;
	--text-dim: #5d5d5d;
	--text-faint: #6b6b7b;
	--accent: #10a37f;
	--accent-soft: rgba(16, 163, 127, 0.12);
	--green: #10a37f;
	--green-soft: rgba(16, 163, 127, 0.12);
	--red: #ef4444;
	--red-soft: rgba(239, 68, 68, 0.1);
	--amber: #f59e0b;
	--blue: #3b82f6;
	--blue-soft: rgba(59, 130, 246, 0.12);
	--term-bg: #f9f9fb;
	--term-fg: #0d0d0d;
	--term-cursor: #10a37f;
	--term-cursor-accent: #ffffff;
	--term-selection: rgba(16, 163, 127, 0.22);
	--term-black: #0d0d0d;
	--term-red: #ef4444;
	--term-green: #10a37f;
	--term-yellow: #f59e0b;
	--term-blue: #2563eb;
	--term-magenta: #8b5cf6;
	--term-cyan: #06b6d4;
	--term-white: #f7f7f8;
	--term-bright-black: #5d5d5d;
	--term-bright-red: #dc2626;
	--term-bright-green: #059669;
	--term-bright-yellow: #d97706;
	--term-bright-blue: #1d4ed8;
	--term-bright-magenta: #7c3aed;
	--term-bright-cyan: #0891b2;
	--term-bright-white: #ffffff;
	--mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--mermaid-font-size: 12px;
	--tooltip-bg: #ffffff;
	--code-bg: #f4f4f5;
	--code-text: #18181b;
	--code-border: var(--border-soft);
	--code-pad: 8px 10px;
	--card-body-pad: 4px 14px 12px;
	--err-text: #ef4444;
	--red-text: #ef4444;
	--amber-text: #d97706;
	--info-blue: #2563eb;
	--link: #10a37f;
	--link-hover: #0e8c6d;
	--link-soft: #10a37f;
	--md-strong: #000000;
	--skill-blue: #10a37f;
	--plugin-purple: #b58cff;
	--auth-green: #10a37f;
	--scroll-thumb: #d4d4d8;
	--scroll-thumb-hover: #a1a1aa;
	--notice-err-bg: #401d23;
	--notice-warn-bg: #38251f;
	--notice-info-bg: #1b2544;
	--notice-err-border: #ef4444;
	--notice-warn-border: #f59e0b;
	--notice-info-border: #3b82f6;
	--send-blue: #10a37f;
	--send-blue-hover: #0e8c6d;
	--stop-red: #ef4444;
	--stop-red-hover: #dc2626;
	--brand-grad-a: #10a37f;
	--brand-grad-b: #1a7f64;
	--on-amber: #1a1a1a;
	--search-active-fg: #1a1d26;
	--switch-knob: #ffffff;
	--bg-elev3: rgba(255, 255, 255, 0.06);
	--sunken-bg: rgba(0, 0, 0, 0.15);
	--glow-015: rgba(255, 255, 255, 0.015);
	--glow-025: rgba(255, 255, 255, 0.025);
	--glow-03: rgba(255, 255, 255, 0.03);
	--glow-04: rgba(255, 255, 255, 0.04);
	--glow-05: rgba(255, 255, 255, 0.05);
	--glow-12: rgba(255, 255, 255, 0.12);
	--glow-18: rgba(255, 255, 255, 0.18);
	--glow-22: rgba(255, 255, 255, 0.22);
	--glow-38: rgba(255, 255, 255, 0.38);
	--control-fg: #52525b;
	--control-bg: #f4f4f5;
	--control-border: #e4e4e7;
	--bg-image: none;
	--bg-image-dim: 0.78;
	--bg-image-blur: 0px;
	--wallpaper-panel-alpha: 100%;
	--topbar-bg: #ffffff;
	--statusbar-bg: #f7f7f8;
	--panel-bg: #ffffff;
	--card-bg: #ffffff;
	--chip-bg: #f4f4f5;
	--msgs-bg: #ffffff;
	--inputbox-bg: #f4f4f5;
	--menu-bg: var(--bg-elev2);
}

/* ---- syntax highlighting (Codex Light) ---- */
.hljs {
	color: #18181b;
	background: #f4f4f5;
}
.hljs-keyword,
.hljs-meta .hljs-keyword {
	color: #cf222e;
	font-weight: 600;
}
.hljs-title,
.hljs-title.function_ {
	color: #8250df;
}
.hljs-number,
.hljs-literal {
	color: #0550ae;
}
.hljs-string {
	color: #0a3069;
}
.hljs-built_in,
.hljs-type {
	color: #953800;
}
.hljs-comment {
	color: #6e7781;
	font-style: italic;
}
