/**
 * JHY Battery 设计变量（由 Manus 前端 index.css 转换，色值已转为 HEX 便于 Elementor 使用）
 * 建议在 WordPress：外观 → 自定义 → 额外 CSS 之前加载，或由子主题 enqueue。
 */
:root {
	/* 品牌主色 */
	--jhy-primary: #1d4ed8;
	--jhy-primary-foreground: #eff6ff;
	--jhy-primary-dark: #1e40af;
	--jhy-primary-light: #2563eb;
	--jhy-brand: #0066cc;

	/* 中性色 / 背景 */
	--jhy-background: #ffffff;
	--jhy-foreground: #3d3a34;
	--jhy-card: #ffffff;
	--jhy-card-foreground: #3d3a34;
	--jhy-muted: #f4f4f5;
	--jhy-muted-foreground: #71717a;
	--jhy-secondary: #fafafa;
	--jhy-secondary-foreground: #52525b;
	--jhy-accent: #f4f4f5;
	--jhy-accent-foreground: #18181b;
	--jhy-border: #e4e4e7;
	--jhy-input: #e4e4e7;
	--jhy-ring: #3b82f6;

	/* 功能色 */
	--jhy-destructive: #ef4444;
	--jhy-destructive-foreground: #fafafa;

	/* Slate / Blue 常用（页面里大量用到） */
	--jhy-slate-50: #f8fafc;
	--jhy-slate-100: #f1f5f9;
	--jhy-slate-200: #e2e8f0;
	--jhy-slate-300: #cbd5e1;
	--jhy-slate-500: #64748b;
	--jhy-slate-600: #475569;
	--jhy-slate-700: #334155;
	--jhy-slate-900: #0f172a;
	--jhy-blue-50: #eff6ff;
	--jhy-blue-100: #dbeafe;
	--jhy-blue-200: #bfdbfe;
	--jhy-blue-400: #60a5fa;
	--jhy-blue-600: #2563eb;
	--jhy-blue-700: #1d4ed8;
	--jhy-blue-800: #1e40af;

	/* 圆角 */
	--jhy-radius: 0.65rem;
	--jhy-radius-sm: calc(0.65rem - 4px);
	--jhy-radius-md: calc(0.65rem - 2px);
	--jhy-radius-lg: 0.65rem;
	--jhy-radius-xl: calc(0.65rem + 4px);

	/* 兼容 shadcn/tailwind 语义变量名 */
	--background: var(--jhy-background);
	--foreground: var(--jhy-foreground);
	--primary: var(--jhy-primary);
	--primary-foreground: var(--jhy-primary-foreground);
	--card: var(--jhy-card);
	--card-foreground: var(--jhy-card-foreground);
	--muted: var(--jhy-muted);
	--muted-foreground: var(--jhy-muted-foreground);
	--secondary: var(--jhy-secondary);
	--secondary-foreground: var(--jhy-secondary-foreground);
	--accent: var(--jhy-accent);
	--accent-foreground: var(--jhy-accent-foreground);
	--destructive: var(--jhy-destructive);
	--destructive-foreground: var(--jhy-destructive-foreground);
	--border: var(--jhy-border);
	--input: var(--jhy-input);
	--ring: var(--jhy-ring);
	--radius: var(--jhy-radius);
}
