/* ============================================================
   站点主题系统（theme.css）
   由后台「站点模板」设置切换，head.php 输出 html[data-theme]。
   深色沉稳（dark，无覆盖规则）不在此定义。

   原理：各处 CSS 都用 :root 定义变量（特异性 0,1,0），
   这里用 html[data-theme="x"]（0,1,1 + 属性 = 0,2,0）覆盖，
   无论加载顺序如何都能赢，且 html 级定义可被整页继承。

   设计参照：品牌色板取自 awesome-design-md 技能，但明暗关系与
   文字层级都按「本站在该底色上的可读性」重新校准过 —— 直接照搬
   品牌原始 hex 会在小字号上糊成一片。
     light      ← Vercel     纯白画布 + 近黑墨 + 系统蓝
     editorial  ← Claude     奶油画布 + 陶土珊瑚 + 衬线标题
     midnight   ← Linear     近黑画布 + 淡紫蓝 #5e6ad2
     luxe       ← Bugatti    纯黑画布 + 纯白 + 极少色彩
     sand       ← Starbucks  暖沙色 + 星巴克深绿
     paper      ← ElevenLabs 近白画布 + 暖黑墨（印刷品气质）
   ============================================================ */

/* ------------------------------------------------------------
   浅色主题通用：CTA 上的文字转为白色
   深底主题的 accent 是亮色（琥珀/紫/白），上面配深墨；
   浅底主题的 accent 是饱和色（蓝/珊瑚/绿/黑），上面配白字。
   ------------------------------------------------------------ */
html[data-theme="light"],
html[data-theme="editorial"],
html[data-theme="sand"],
html[data-theme="paper"] {
  --on-accent: #ffffff;
  --tb-on-accent: #ffffff;
  --c-on-accent: #ffffff;
}

/* ============================================================
   0. 温馨风（原有主题，保留）
   奶油米色 + 陶土珊瑚，柔和不刺眼。
   ============================================================ */
html[data-theme="warm"] {
  /* site.css / me 变量组 */
  --bg: #faf5ee;
  --bg-2: #f5ecdf;
  --surface: #fffdf8;
  --surface-2: #f7efe2;
  --ink: #4a3a2c;
  --ink-2: #3a2c20;
  --muted: #a18d76;
  --line: #e9dcc6;
  --accent: #e07b54;
  --accent-soft: rgba(224, 123, 84, 0.13);
  --head-grad: linear-gradient(90deg, #d96a44, #b98a5e);

  /* topbar 变量组 */
  --tb-bg: rgba(250, 245, 238, 0.88);
  --tb-line: #e9dcc6;
  --tb-ink: #4a3a2c;
  --tb-muted: #a18d76;
  --tb-accent: #e07b54;

  /* notes / media / console 模块变量组 */
  --panel: #fffdf8;
  --panel-2: #f5ecdf;
  --text: #4a3a2c;
  --text-2: #3a2c20;
  --danger: #d9534f;
  --ok: #6aa884;
  --side: #f1e7d6;

  /* 后台 */
  --c-bg: #f6efe3;
  --c-side: #f1e7d6;
  --c-card: #fffdf8;
  --c-input: #f7f0e2;
  --c-line: rgba(150, 115, 70, .14);
  --c-line-2: rgba(150, 115, 70, .22);
  --c-line-strong: #dcc9a8;
  --c-soft: rgba(150, 115, 70, .05);
  --c-hover: rgba(150, 115, 70, .09);
  --c-topbar: rgba(250, 245, 238, .88);
  --c-text: #4a3a2c;
  --c-muted: #a18d76;
  --c-faint: #bda98d;
  --c-accent: #e07b54;
  color-scheme: light;
}

html[data-theme="warm"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="warm"] .card:hover,
html[data-theme="warm"] .stat-card:hover { box-shadow: 0 12px 36px rgba(224, 123, 84, 0.14); }
html[data-theme="warm"] .panel,
html[data-theme="warm"] .card { box-shadow: 0 2px 14px rgba(148, 120, 80, 0.07); }
html[data-theme="warm"] .card-icon,
html[data-theme="warm"] .badge.todo,
html[data-theme="warm"] .me-avatar { background: var(--accent-soft); color: var(--accent); }
html[data-theme="warm"] .f-item.on,
html[data-theme="warm"] .note-item.on,
html[data-theme="warm"] .toolbar button.active,
html[data-theme="warm"] .mod-item.on,
html[data-theme="warm"] .tb-link.on { background: var(--accent-soft); color: var(--accent); }
html[data-theme="warm"] .note-item.on { border-left-color: var(--accent); }
html[data-theme="warm"] .btn-new,
html[data-theme="warm"] .btn-save,
html[data-theme="warm"] .btn,
html[data-theme="warm"] .btn-batch,
html[data-theme="warm"] .chart-bar { background: var(--accent); }
html[data-theme="warm"] .status.saving,
html[data-theme="warm"] .theme-cur { color: var(--accent); }
html[data-theme="warm"] .theme-cur { border-color: rgba(224, 123, 84, .4); }

/* ============================================================
   1. 白色简约 —— 参照 Vercel
   黑白骨架，唯一彩色是链接/强调用的系统蓝（#2563eb）。
   ============================================================ */
html[data-theme="light"] {
  /* site.css / me 变量组 */
  --bg: #ffffff;
  --bg-2: #fafafa;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --ink: #1e2836;
  --ink-2: #171717;
  --muted: #6d7a8c;
  --line: #ebebeb;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --head-grad: linear-gradient(90deg, #171717, #6d6d6d);

  /* topbar 变量组 */
  --tb-bg: rgba(255, 255, 255, 0.86);
  --tb-line: #ebebeb;
  --tb-ink: #1e2836;
  --tb-muted: #6d7a8c;
  --tb-accent: #2563eb;

  /* notes / media / graph / data 模块变量组 */
  --panel: #ffffff;
  --panel-2: #f0f3f7;
  --text: #1e2836;
  --text-2: #171717;
  --danger: #dc2626;
  --ok: #16a34a;
  --side: #fafafa;

  /* 后台 */
  --c-bg: #f5f7fa;
  --c-side: #ffffff;
  --c-card: #ffffff;
  --c-input: #f0f3f7;
  --c-line: rgba(30, 40, 54, .09);
  --c-line-2: rgba(30, 40, 54, .15);
  --c-line-strong: #c9d3e0;
  --c-soft: rgba(30, 40, 54, .035);
  --c-hover: rgba(30, 40, 54, .06);
  --c-topbar: rgba(255, 255, 255, .9);
  --c-text: #1e2836;
  --c-muted: #6d7a8c;
  --c-faint: #98a4b3;
  --c-accent: #2563eb;
  color-scheme: light;
}

html[data-theme="light"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="light"] .card:hover,
html[data-theme="light"] .stat-card:hover { box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12); }
html[data-theme="light"] .panel,
html[data-theme="light"] .card { box-shadow: 0 1px 10px rgba(30, 40, 54, 0.07); }

/* 浅色主题：修正各模块残留的琥珀色高亮 */
html[data-theme="light"] .f-item.on,
html[data-theme="light"] .note-item.on,
html[data-theme="light"] .toolbar button.active,
html[data-theme="light"] .mod-item.on { background: rgba(37, 99, 235, 0.10); color: var(--accent); }
html[data-theme="light"] .note-item.on { border-left-color: var(--accent); }
html[data-theme="light"] .badge.todo,
html[data-theme="light"] .me-avatar,
html[data-theme="light"] .theme-card.on { background: rgba(37, 99, 235, 0.08); color: var(--accent); }
html[data-theme="light"] .status.saving { color: var(--accent); }
html[data-theme="light"] .tb-link.on { background: rgba(37, 99, 235, 0.10); }
html[data-theme="light"] .btn-new,
html[data-theme="light"] .btn-save { background: var(--accent); }
html[data-theme="light"] .theme-cur { color: var(--accent); border-color: rgba(37, 99, 235, 0.4); }
html[data-theme="light"] .chart-bar { background: var(--c-accent); }
html[data-theme="light"] .btn,
html[data-theme="light"] .btn-batch { background: var(--c-accent); }

/* ============================================================
   2. 温暖编辑 —— 参照 Claude
   奶油画布 #faf9f5 + 陶土珊瑚 #cc785c，近黑正文 #141413。
   衬线标题是这套风格的灵魂，只切标题不切正文。
   ============================================================ */
html[data-theme="editorial"] {
  --bg: #faf9f5;
  --bg-2: #f5f0e8;
  --surface: #ffffff;
  --surface-2: #efe9de;
  --ink: #3d3d3a;
  --ink-2: #141413;
  --muted: #6c6a64;
  --line: #e6dfd8;
  --accent: #cc785c;
  --accent-soft: rgba(204, 120, 92, 0.12);
  --head-grad: linear-gradient(90deg, #141413, #a9583e);

  --tb-bg: rgba(250, 249, 245, 0.9);
  --tb-line: #e6dfd8;
  --tb-ink: #141413;
  --tb-muted: #6c6a64;
  --tb-accent: #cc785c;

  --panel: #ffffff;
  --panel-2: #f5f0e8;
  --text: #3d3d3a;
  --text-2: #141413;
  --danger: #c64545;
  --ok: #5db872;
  --side: #f5f0e8;

  --c-bg: #f7f3ec;
  --c-side: #f5f0e8;
  --c-card: #fffdf9;
  --c-input: #f1ece2;
  --c-line: rgba(120, 95, 70, .13);
  --c-line-2: rgba(120, 95, 70, .2);
  --c-line-strong: #ddd2c2;
  --c-soft: rgba(120, 95, 70, .045);
  --c-hover: rgba(120, 95, 70, .08);
  --c-topbar: rgba(250, 249, 245, .9);
  --c-text: #3d3d3a;
  --c-muted: #6c6a64;
  --c-faint: #a29c92;
  --c-accent: #cc785c;
  color-scheme: light;
}

html[data-theme="editorial"] .heading-1,
html[data-theme="editorial"] .heading-2,
html[data-theme="editorial"] .heading-3,
html[data-theme="editorial"] .hero-title,
html[data-theme="editorial"] .final-title,
html[data-theme="editorial"] .sec-head h2,
html[data-theme="editorial"] .c-card-head h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", "Source Han Serif SC", serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

html[data-theme="editorial"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="editorial"] .card,
html[data-theme="editorial"] .panel { box-shadow: 0 2px 14px rgba(90, 70, 50, 0.06); }
html[data-theme="editorial"] .card:hover,
html[data-theme="editorial"] .stat-card:hover { box-shadow: 0 12px 36px rgba(204, 120, 92, 0.15); }
html[data-theme="editorial"] .card-icon,
html[data-theme="editorial"] .badge.todo,
html[data-theme="editorial"] .me-avatar { background: var(--accent-soft); color: var(--accent); }
html[data-theme="editorial"] .f-item.on,
html[data-theme="editorial"] .note-item.on,
html[data-theme="editorial"] .toolbar button.active,
html[data-theme="editorial"] .mod-item.on,
html[data-theme="editorial"] .tb-link.on { background: var(--accent-soft); color: var(--accent); }
html[data-theme="editorial"] .note-item.on { border-left-color: var(--accent); }
html[data-theme="editorial"] .btn-new,
html[data-theme="editorial"] .btn-save,
html[data-theme="editorial"] .btn,
html[data-theme="editorial"] .btn-batch,
html[data-theme="editorial"] .chart-bar { background: var(--accent); }
html[data-theme="editorial"] .status.saving,
html[data-theme="editorial"] .theme-cur { color: var(--accent); }
html[data-theme="editorial"] .theme-cur { border-color: rgba(204, 120, 92, .4); }

/* ============================================================
   3. 午夜星图 —— 参照 Linear
   画布 #0b0c10（比纯黑柔一档），面板 #14161b，淡紫蓝 #5e6ad2。
   ============================================================ */
html[data-theme="midnight"] {
  --bg: #0b0c10;
  --bg-2: #101218;
  --surface: #14161b;
  --surface-2: #1a1d24;
  --ink: #e6e8ee;
  --ink-2: #f7f8f8;
  --muted: #8a8f98;
  --line: #23252a;
  --accent: #5e6ad2;
  --accent-soft: rgba(94, 106, 210, 0.16);
  --head-grad: linear-gradient(90deg, #f7f8f8, #7f8593);
  --on-accent: #ffffff;

  --tb-bg: rgba(11, 12, 16, 0.82);
  --tb-line: #23252a;
  --tb-ink: #e6e8ee;
  --tb-muted: #8a8f98;
  --tb-accent: #5e6ad2;
  --tb-on-accent: #ffffff;

  --panel: #14161b;
  --panel-2: #1a1d24;
  --text: #e6e8ee;
  --text-2: #f7f8f8;
  --danger: #f2555a;
  --ok: #27a644;
  --side: #101218;

  --c-bg: #0b0c10;
  --c-side: #0e1015;
  --c-card: #14161b;
  --c-input: #101218;
  --c-line: rgba(255, 255, 255, .06);
  --c-line-2: rgba(255, 255, 255, .1);
  --c-line-strong: #2c2f38;
  --c-soft: rgba(255, 255, 255, .028);
  --c-hover: rgba(255, 255, 255, .05);
  --c-topbar: rgba(11, 12, 16, .85);
  --c-text: #e6e8ee;
  --c-muted: #8a8f98;
  --c-faint: #62666d;
  --c-accent: #5e6ad2;
  --c-on-accent: #ffffff;
  color-scheme: dark;
}

html[data-theme="midnight"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="midnight"] .card:hover,
html[data-theme="midnight"] .stat-card:hover { box-shadow: 0 12px 36px rgba(94, 106, 210, 0.22); }
html[data-theme="midnight"] .card-icon { background: var(--accent-soft); color: #828fff; }
html[data-theme="midnight"] .card-go,
html[data-theme="midnight"] .step-no { color: #fff; }
html[data-theme="midnight"] .chart-bar { background: var(--c-accent); }

/* ============================================================
   4. 纯黑极简 —— 参照 Bugatti
   纯黑 #000 + 纯白字 + 几乎不用彩色，靠留白与字距撑气场。
   accent 取白，CTA 是「白底黑字」的反相按钮。
   ============================================================ */
html[data-theme="luxe"] {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --ink: #ededed;
  --ink-2: #ffffff;
  --muted: #999999;
  --line: #262626;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --head-grad: linear-gradient(90deg, #ffffff, #7a7a7a);
  --on-accent: #000000;

  --tb-bg: rgba(0, 0, 0, 0.8);
  --tb-line: #262626;
  --tb-ink: #ededed;
  --tb-muted: #999999;
  --tb-accent: #ffffff;
  --tb-on-accent: #000000;

  --panel: #0d0d0d;
  --panel-2: #141414;
  --text: #ededed;
  --text-2: #ffffff;
  --danger: #e05555;
  --ok: #4fae7c;
  --side: #0a0a0a;

  --c-bg: #000000;
  --c-side: #070707;
  --c-card: #0d0d0d;
  --c-input: #0a0a0a;
  --c-line: rgba(255, 255, 255, .07);
  --c-line-2: rgba(255, 255, 255, .12);
  --c-line-strong: #2e2e2e;
  --c-soft: rgba(255, 255, 255, .03);
  --c-hover: rgba(255, 255, 255, .06);
  --c-topbar: rgba(0, 0, 0, .85);
  --c-text: #ededed;
  --c-muted: #999999;
  --c-faint: #666666;
  --c-accent: #ffffff;
  --c-on-accent: #000000;
  color-scheme: dark;
}

html[data-theme="luxe"] .heading-1,
html[data-theme="luxe"] .hero-title { letter-spacing: -0.02em; }
html[data-theme="luxe"] .caption-4,
html[data-theme="luxe"] .hero-proof,
html[data-theme="luxe"] .card-path { letter-spacing: 0.14em; text-transform: uppercase; }
html[data-theme="luxe"] ::selection { background: #fff; color: #000; }
html[data-theme="luxe"] .card-icon { background: transparent; border: 1px solid var(--line); color: #fff; }
html[data-theme="luxe"] .card:hover { border-color: #4d4d4d; box-shadow: none; }
html[data-theme="luxe"] .step-no { color: #000; }
html[data-theme="luxe"] .chart-bar { background: #ffffff; }

/* ============================================================
   5. 暖沙 —— 参照 Starbucks
   暖水泥沙 #f2f0eb + 白色卡片 + 星巴克深绿 #006241。
   ============================================================ */
html[data-theme="sand"] {
  --bg: #f2f0eb;
  --bg-2: #edebe9;
  --surface: #ffffff;
  --surface-2: #e8e4dc;
  --ink: #2b2b2b;
  --ink-2: #1e3932;
  --muted: #6b6b64;
  --line: #ddd9d1;
  --accent: #006241;
  --accent-soft: rgba(0, 98, 65, 0.09);
  --head-grad: linear-gradient(90deg, #006241, #3f7a5e);

  --tb-bg: rgba(242, 240, 235, 0.9);
  --tb-line: #ddd9d1;
  --tb-ink: #1e3932;
  --tb-muted: #6b6b64;
  --tb-accent: #006241;

  --panel: #ffffff;
  --panel-2: #edebe9;
  --text: #2b2b2b;
  --text-2: #1e3932;
  --danger: #c82014;
  --ok: #00754a;
  --side: #edebe9;

  --c-bg: #f2f0eb;
  --c-side: #edeae4;
  --c-card: #ffffff;
  --c-input: #f4f2ee;
  --c-line: rgba(60, 60, 50, .1);
  --c-line-2: rgba(60, 60, 50, .16);
  --c-line-strong: #d3cec4;
  --c-soft: rgba(60, 60, 50, .035);
  --c-hover: rgba(60, 60, 50, .07);
  --c-topbar: rgba(242, 240, 235, .9);
  --c-text: #2b2b2b;
  --c-muted: #6b6b64;
  --c-faint: #9a958a;
  --c-accent: #006241;
  color-scheme: light;
}

html[data-theme="sand"] ::selection { background: var(--accent); color: #fff; }
html[data-theme="sand"] .card,
html[data-theme="sand"] .panel { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 10px rgba(0, 0, 0, .04); }
html[data-theme="sand"] .card:hover,
html[data-theme="sand"] .stat-card:hover { box-shadow: 0 10px 28px rgba(0, 98, 65, 0.14); }
html[data-theme="sand"] .card-icon,
html[data-theme="sand"] .badge.todo,
html[data-theme="sand"] .me-avatar { background: var(--accent-soft); color: var(--accent); }
html[data-theme="sand"] .f-item.on,
html[data-theme="sand"] .note-item.on,
html[data-theme="sand"] .toolbar button.active,
html[data-theme="sand"] .mod-item.on,
html[data-theme="sand"] .tb-link.on { background: var(--accent-soft); color: var(--accent); }
html[data-theme="sand"] .note-item.on { border-left-color: var(--accent); }
html[data-theme="sand"] .btn-new,
html[data-theme="sand"] .btn-save,
html[data-theme="sand"] .btn,
html[data-theme="sand"] .btn-batch,
html[data-theme="sand"] .chart-bar { background: var(--accent); }
html[data-theme="sand"] .status.saving,
html[data-theme="sand"] .theme-cur { color: var(--accent); }
html[data-theme="sand"] .theme-cur { border-color: rgba(0, 98, 65, .4); }

/* ============================================================
   6. 奶油纸 —— 参照 ElevenLabs
   近白 #f5f5f4 画布 + 暖黑 #0c0a09 墨，几乎无彩色。
   比 editorial 更冷、更像印刷品，没有珊瑚色的情绪。
   ============================================================ */
html[data-theme="paper"] {
  --bg: #f5f5f4;
  --bg-2: #faf9f7;
  --surface: #ffffff;
  --surface-2: #eeede9;
  --ink: #292524;
  --ink-2: #0c0a09;
  --muted: #777169;
  --line: #e7e5e4;
  --accent: #292524;
  --accent-soft: rgba(41, 37, 36, 0.07);
  --head-grad: linear-gradient(90deg, #0c0a09, #6b6560);

  --tb-bg: rgba(245, 245, 244, 0.88);
  --tb-line: #e7e5e4;
  --tb-ink: #0c0a09;
  --tb-muted: #777169;
  --tb-accent: #292524;

  --panel: #ffffff;
  --panel-2: #f0efec;
  --text: #292524;
  --text-2: #0c0a09;
  --danger: #b91c1c;
  --ok: #15803d;
  --side: #f0efec;

  --c-bg: #f5f5f4;
  --c-side: #ffffff;
  --c-card: #ffffff;
  --c-input: #f2f1ef;
  --c-line: rgba(41, 37, 36, .09);
  --c-line-2: rgba(41, 37, 36, .15);
  --c-line-strong: #d6d3d1;
  --c-soft: rgba(41, 37, 36, .03);
  --c-hover: rgba(41, 37, 36, .06);
  --c-topbar: rgba(245, 245, 244, .9);
  --c-text: #292524;
  --c-muted: #777169;
  --c-faint: #a8a29e;
  --c-accent: #292524;
  color-scheme: light;
}

html[data-theme="paper"] .heading-1,
html[data-theme="paper"] .heading-2,
html[data-theme="paper"] .hero-title { letter-spacing: -0.03em; }
html[data-theme="paper"] .caption-4,
html[data-theme="paper"] .hero-proof { letter-spacing: 0.08em; text-transform: uppercase; }
html[data-theme="paper"] ::selection { background: #0c0a09; color: #fff; }
html[data-theme="paper"] .card,
html[data-theme="paper"] .panel { box-shadow: 0 1px 2px rgba(41, 37, 36, .05); }
html[data-theme="paper"] .card:hover,
html[data-theme="paper"] .stat-card:hover { box-shadow: 0 10px 30px rgba(41, 37, 36, .1); }
html[data-theme="paper"] .card-icon { background: var(--accent-soft); color: var(--accent); }
html[data-theme="paper"] .f-item.on,
html[data-theme="paper"] .note-item.on,
html[data-theme="paper"] .toolbar button.active,
html[data-theme="paper"] .mod-item.on,
html[data-theme="paper"] .tb-link.on { background: var(--accent-soft); color: var(--accent); }
html[data-theme="paper"] .note-item.on { border-left-color: var(--accent); }
html[data-theme="paper"] .btn-new,
html[data-theme="paper"] .btn-save,
html[data-theme="paper"] .btn,
html[data-theme="paper"] .btn-batch,
html[data-theme="paper"] .chart-bar { background: var(--accent); }
html[data-theme="paper"] .status.saving,
html[data-theme="paper"] .theme-cur { color: var(--accent); }
html[data-theme="paper"] .theme-cur { border-color: rgba(41, 37, 36, .35); }

/* ============================================================
   跨主题通用修正
   ============================================================ */

/* 浅色主题：隐藏深色主题的帆船画布背景装饰 */
html[data-theme="warm"] body::before,
html[data-theme="light"] body::before,
html[data-theme="editorial"] body::before,
html[data-theme="sand"] body::before,
html[data-theme="paper"] body::before { display: none; }

/* 深色主题里 select/option 的下拉层要跟随底色，否则是刺眼的白 */
html[data-theme="midnight"] select,
html[data-theme="luxe"] select,
html[data-theme="midnight"] .g-select option,
html[data-theme="luxe"] .g-select option,
html[data-theme="midnight"] .infer-pick option,
html[data-theme="luxe"] .infer-pick option { background: var(--panel-2); color: var(--text); }

/* 后台样式表在 theme.css 之后加载，用两组属性选择器把特异性抬到 (0,3,0) */
html[data-theme="midnight"] body.c-body .c-select option,
html[data-theme="luxe"] body.c-body .c-select option { background: var(--c-card); color: var(--c-text); }

/* 模块内残留的深底硬编码：浅色主题统一改用主题 muted */
html[data-theme="warm"] .m-tip,
html[data-theme="warm"] .m-empty,
html[data-theme="warm"] .v-facts .unk,
html[data-theme="warm"] .job-remain,
html[data-theme="light"] .m-tip,
html[data-theme="light"] .m-empty,
html[data-theme="light"] .v-facts .unk,
html[data-theme="light"] .job-remain,
html[data-theme="editorial"] .m-tip,
html[data-theme="editorial"] .m-empty,
html[data-theme="editorial"] .v-facts .unk,
html[data-theme="editorial"] .job-remain,
html[data-theme="sand"] .m-tip,
html[data-theme="sand"] .m-empty,
html[data-theme="sand"] .v-facts .unk,
html[data-theme="sand"] .job-remain,
html[data-theme="paper"] .m-tip,
html[data-theme="paper"] .m-empty,
html[data-theme="paper"] .v-facts .unk,
html[data-theme="paper"] .job-remain { color: var(--muted); }

html[data-theme="warm"] .note-item time,
html[data-theme="warm"] .empty-s,
html[data-theme="light"] .note-item time,
html[data-theme="light"] .empty-s,
html[data-theme="editorial"] .note-item time,
html[data-theme="editorial"] .empty-s,
html[data-theme="sand"] .note-item time,
html[data-theme="sand"] .empty-s,
html[data-theme="paper"] .note-item time,
html[data-theme="paper"] .empty-s { color: var(--muted); }

/* graph 画布内的深色文字（chip 选中态）在浅底上要转白 */
html[data-theme="warm"] .kind-chip.on,
html[data-theme="light"] .kind-chip.on,
html[data-theme="editorial"] .kind-chip.on,
html[data-theme="sand"] .kind-chip.on,
html[data-theme="paper"] .kind-chip.on { color: #fff; }
