/**
 * 内页深色：在 workbench-prototype.css 之后加载，html[data-theme="dark"] 时生效。
 * 变量 + 全站 chrome；变体工作区见 wb-variant-workspace-page.css；各步页见 wb-*-page.css。
 */
@import url('wb-shell-chrome-dark.css');

html[data-theme='dark'] {
  --bg: #0f1419;
  --surface: #161b22;
  --surface-2: #0d1117;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --success: #3fb950;
  --warning: #d29922;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
  /* 悬停：相对底色小幅提亮，避免浅灰块 + muted 字导致发糊 */
  --wb-hover-soft: #1c2128;
  --wb-hover-medium: #232930;
  --wb-hover-on-elevated: #2a313b;
  /* 与浅色同源变量名；深色下仍对齐 #a5b4fc / indigo 体系 */
  --wb-brand: #818cf8;
  --wb-brand-hover: #a5b4fc;
  --wb-brand-ink: #c4b5fd;
  --wb-brand-rgb: 129, 140, 248;
  --wb-brand-soft: rgba(165, 180, 252, 0.28);
  --wb-brand-muted-bg: rgba(99, 102, 241, 0.18);
  --wb-brand-border: #a5b4fc;
  --wb-token-bg: rgba(129, 140, 248, 0.22);
  --wb-token-fg: #c4b5fd;
}
