/* Vikunja Theme A — "Graphite Steel" 石墨钢 v2
   深炭底 + 钢青强调 + 硬朗直角。需保持账号 Color Scheme = Dark。
   v2: 覆盖 Vikunja 真实变量体系(--site-background 等) + !important 兜底 */
.dark, :root.dark {
  /* Vikunja 真实变量（tailwind 灰阶） */
  --grey-900: #0d0f12;
  --grey-800: #14171c;
  --grey-750: #1a1e24;
  --grey-700: #21262e;
  --grey-600: #2c333d;
  --grey-500: #3d4550;
  --grey-400: #8a919c;
  --grey-300: #a8aeb8;
  --grey-200: #c6cad1;
  --grey-100: #e8eaed;
  --primary: #4f8fdd;
  --primary-dark: #3a6fae;
  --site-background: #0d0f12 !important;
  --card-background: #1a1e24;
  --border-color: #262b33;
}
html.dark {
  --site-background: #0d0f12 !important;
}
html.dark body, body {
  background: #0d0f12 !important;
  background-color: #0d0f12 !important;
}
/* 侧栏 */
.dark aside, .dark .menu-container, [class*="sidebar"] {
  background: #14171c !important;
  border-right: 1px solid #262b33 !important;
}
/* 任务条/卡片 */
.dark .task-item, .dark .card, .dark [class*="bucket"] [class*="task"] {
  background: #1a1e24 !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 0 #000 !important;
}
.dark .task-item:hover {
  background: #21262e !important;
}
/* 主色按钮 */
.dark .button-primary, .dark button[class*="primary"] {
  background: #4f8fdd !important;
  border-radius: 4px !important;
}
/* 顶部 */
.dark header, .dark [class*="navbar"] {
  background: #14171c !important;
  border-bottom: 1px solid #262b33 !important;
}
/* 紧凑密度 */
.dark .task-item {
  padding-top: .35rem !important;
  padding-bottom: .35rem !important;
}
/* 模态/下拉 */
.dark [class*="modal"] [class*="content"], .dark [class*="dropdown"] {
  border-radius: 4px !important;
  background: #1a1e24 !important;
}
/* 优先级徽章 */
.dark [class*="priority"] { font-weight: 600; letter-spacing: .02em; }
