/* 纸上解药 — 工具页纸色覆盖层（公众号排版编辑器专用） */

html, body {
  background: #f3eedf !important;
  color: #211d13 !important;
}

/* 深色面板 → 纸面 */
[class*="bg-[#0e0e12]"],
[class*="bg-[#16161c]"],
[class*="bg-[#181820]"],
[class*="bg-[#1a1a22]"],
[class*="bg-[#141414]"],
[class*="bg-[#0f0f14]"],
[class*="bg-[#111116]"],
[class*="bg-[#17171e]"],
[class*="bg-[#101014]"],
[class*="bg-[#202027]"],
[class*="bg-[#1b1b22]"],
[class*="bg-[#16161c]"],
[class*="bg-ink-600"],
[class*="bg-ink-800"],
[class*="bg-ink-900"] {
  background-color: #fbf8ef !important;
}

/* 白色文字 → 墨色 */
[class*="text-white"] {
  color: #211d13 !important;
}

[class*="text-[#e8e8ea]"],
[class*="text-[#e8e8ea]"] {
  color: #211d13 !important;
}

/* 分隔线 → 铅线 */
[class*="border-white/"],
[class*="border-[#2A2A2A]"],
[class*="border-[#2a2a2a]"] {
  border-color: #c9c0a8 !important;
}

/* 微信绿 → 朱砂红 */
[class*="bg-[#07c160]"] {
  background-color: #a63128 !important;
}

[class*="text-[#07c160]"] {
  color: #a63128 !important;
}

[class*="border-[#07c160]"] {
  border-color: #a63128 !important;
}

[class*="accent-[#07c160]"] {
  accent-color: #a63128 !important;
}

[class*="ring-[#07c160]"] {
  --tw-ring-color: #a63128 !important;
}

/* AI 排版浮层 */
#aiFormatPanel {
  background: #fbf8ef !important;
  color: #211d13 !important;
  border-left: 1px solid #c9c0a8 !important;
  box-shadow: 3px 3px 0 rgba(33, 29, 19, .12) !important;
}

#aiFormatOpen {
  background: #a63128 !important;
  color: #faf7ec !important;
  border-color: #a63128 !important;
  box-shadow: 3px 3px 0 rgba(33, 29, 19, .15) !important;
}

#aiFormatOpen:hover {
  background: #84231c !important;
  border-color: #84231c !important;
}

.aif-head h2 { color: #211d13 !important; }
.aif-close { color: #8b8370 !important; }
.aif-label { color: #4c4635 !important; }

#aifText,
#aifStyle,
#aifMode,
#aifCode {
  background: #faf7ec !important;
  color: #211d13 !important;
  border-color: #c9c0a8 !important;
}

#aifCode { color: #84231c !important; }

.aif-btn {
  background: #f3eedf !important;
  color: #4c4635 !important;
  border-color: #c9c0a8 !important;
}

.aif-btn:hover { border-color: #a63128 !important; color: #a63128 !important; }

.aif-btn.primary {
  background: #a63128 !important;
  border-color: #a63128 !important;
  color: #faf7ec !important;
}

#aifStatus { color: #8b8370 !important; }

#aifPreview {
  box-shadow: 3px 3px 0 rgba(33, 29, 19, .12) !important;
}
