/* 外部药企客户面（viewer）：HYW 医药高定红临床画报美学
 * 宣纸白 #F7F7F5 · 药典红 #C8102E（唯一稀缺强调） · 亮黄 #FFDA37（编号点缀） · 暖石表头 #F2F0EB（零全粉污染） */
body.theme-client {
  --bg-page: #F7F7F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F2F0EB;
  --bg-hover: #FAF9F6;
  --bg-inset: #ECE9E2;

  --border-subtle: #EFECE6;
  --border-color: #E7E5E0;
  --border-strong: #D4CFC7;

  /* 炭墨暖中性文字阶梯（对比度 ≥6.3:1） */
  --text-primary: #141416;
  --text-secondary: #3D3A36;
  --text-muted: #5C5750;
  --text-faint: #8C857B;

  /* 唯一药典红强调色 */
  --accent: #C8102E;
  --accent-hover: #A40C25;
  --accent-strong: #880A1E;
  --accent-soft: #FBEBED;
  --accent-border: #F2C5CD;

  --highlight: #FFDA37;
  --highlight-ink: #3D2E00;

  --chart-1: #C8102E;
  --chart-2: #2C2A29;
  --chart-3: #8C857B;
  --chart-grid: #EFECE6;

  /* 轻盈象牙白杂志侧栏（彻底消灭重黑侧栏与 3px 粗红条） */
  --sb-bg: #FDFCFA;
  --sb-border: #E7E5E0;
  --sb-text: #4A4640;
  --sb-text-active: #C8102E;
  --sb-item-hover: #F2F0EB;
  --sb-item-active: #FBEBED;

  --shadow-card: 0 1px 2px rgba(20, 20, 22, 0.03);
  --shadow-popover: 0 16px 40px rgba(20, 20, 22, 0.10), 0 2px 8px rgba(20, 20, 22, 0.04);
}

/* 期刊刊头唯一特征：视口极顶 2px 药典红发丝线 */
body.theme-client .topbar {
  border-top: 2px solid #C8102E;
  border-bottom: 1px solid #E7E5E0;
  background: #FFFFFF;
}

body.theme-client .sb-logo {
  background: #C8102E;
  color: #FFDA37;
}

body.theme-client .sb-title {
  color: #141416;
}

body.theme-client .user-avatar {
  background: #C8102E;
  color: #FFDA37;
}

body.theme-client .user-name {
  color: #141416;
}

body.theme-client .sidebar .btn-ghost {
  background: #FFFFFF;
  color: #3D3A36;
  border-color: #E7E5E0;
}

body.theme-client .sidebar .btn-ghost:hover {
  background: #F2F0EB;
  color: #141416;
  border-color: #D4CFC7;
}

body.theme-client .badge-pill {
  background: #FBEBED;
  color: #C8102E;
  border-color: #F2C5CD;
}
