/* ===== 浅色主题覆盖（2026-10-19）=====
   面板原本是 GitHub 深色系，这里用属性选择器把深色 class 映射成浅色，
   不改任何 JSX / Tailwind 配置，出问题删掉这一行 link 即可恢复深色。 */

:root {
  --background: #f6f8fa;
  --foreground: #1f2328;
}

html, body, #root { background-color: #f6f8fa !important; color: #1f2328 !important; }

/* 背景 */
[class*="bg-[#0d1117]"]      { background-color: #f6f8fa !important; }
[class*="bg-[#0d1117]/80"]   { background-color: rgba(246,248,250,.85) !important; }
[class*="bg-[#161b22]"]      { background-color: #ffffff !important; }
[class*="bg-[#1c2128]"]      { background-color: #f2f5f8 !important; }
[class*="bg-[#21262d]"]      { background-color: #eef1f4 !important; }
[class*="bg-[#30363d]"]      { background-color: #d8dee4 !important; }
[class*="bg-[#484f58]"]      { background-color: #c9d1d9 !important; }

/* 边框 */
[class*="border-[#30363d]"]  { border-color: #d0d7de !important; }
[class*="border-[#21262d]"]  { border-color: #e1e6ea !important; }
[class*="border-[#8b949e]"]  { border-color: #afb8c1 !important; }
[class*="border-[#484f58]"]  { border-color: #b6bec6 !important; }

/* 文字 */
[class*="text-[#e6edf3]"]    { color: #1f2328 !important; }
[class*="text-[#c9d1d9]"]    { color: #24292f !important; }
[class*="text-[#8b949e]"]    { color: #57606a !important; }
[class*="text-[#6e7681]"]    { color: #6e7781 !important; }
[class*="text-[#30363d]"]    { color: #8c959f !important; }
[class*="text-[#484f58]"]    { color: #909aa4 !important; }

/* 输入框 / 下拉 / 表格 / 卡片 */
input, textarea, select {
  background-color: #ffffff !important;
  color: #1f2328 !important;
  border-color: #d0d7de !important;
}
input::placeholder, textarea::placeholder { color: #8c959f !important; }
table, thead, tbody, tr, td, th { background-color: transparent !important; }
thead tr { background-color: #eef1f4 !important; }
tr:hover { background-color: #f2f5f8 !important; }

/* 侧边栏 / 顶栏 保持白色 */
aside, nav, header { background-color: #ffffff !important; border-color: #d0d7de !important; }

/* 保留彩色语义色（成功/危险/警告/主色）不变 */
[class*="text-green-"], [class*="text-red-"], [class*="text-yellow-"],
[class*="text-blue-"], [class*="text-cyan-"], [class*="text-orange-"],
[class*="bg-green-"], [class*="bg-red-"], [class*="bg-yellow-"],
[class*="bg-blue-"], [class*="bg-cyan-"], [class*="bg-orange-"] { /* 保持原样 */ }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0f3f6; }
::-webkit-scrollbar-thumb { background: #c9d1d9; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #afb8c1; }

/* 补齐遗漏的深色变体 */
[class*="bg-[#2d333b]"]      { background-color: #eef1f4 !important; }
[class*="bg-[#262c36]"]      { background-color: #f0f3f6 !important; }
[class*="bg-[#0f141a]"]      { background-color: #f6f8fa !important; }
[class*="from-[#0d1117]"]    { --tw-gradient-from: #f6f8fa !important; }
[class*="to-[#0d1117]"]      { --tw-gradient-to: #f6f8fa !important; }
[class*="via-[#0d1117]"]     { --tw-gradient-via: #f6f8fa !important; }
[class*="from-[#161b22]"]    { --tw-gradient-from: #ffffff !important; }
[class*="to-[#161b22]"]      { --tw-gradient-to: #ffffff !important; }
[class*="hover:bg-[#21262d]"]:hover { background-color: #e6ebf0 !important; }
[class*="hover:bg-[#1c2128]"]:hover { background-color: #eef1f4 !important; }
[class*="hover:text-[#e6edf3]"]:hover { color: #0d1117 !important; }
[class*="focus:border"] { border-color: #0969da !important; }
/* 次要文字再压深一点，白底上更清楚 */
[class*="text-[#8b949e]"] { color: #57606a !important; }

/* ===== 侧边栏（shadcn sidebar 变量 + 工具类）===== */
:root{
  --sidebar: 210 20% 98%;
  --sidebar-background: 210 20% 98%;
  --sidebar-foreground: 215 25% 12%;
  --sidebar-accent: 210 16% 93%;
  --sidebar-accent-foreground: 215 25% 12%;
  --sidebar-primary: 354 70% 54%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-border: #e6e8eb;
  --sidebar-ring: 354 70% 54%;
}
.bg-sidebar{ background-color:#ffffff !important; }
.text-sidebar-foreground{ color:#1f2328 !important; }
.bg-sidebar-accent{ background-color:#eef1f4 !important; }
.text-sidebar-accent-foreground{ color:#1f2328 !important; }
.border-sidebar-border{ border-color:#d0d7de !important; }
[data-slot="sidebar"]{ background-color:#ffffff !important; border-color:#d0d7de !important; }
[data-slot="sidebar-inset"]{ background-color:#f6f8fa !important; }
aside a, aside button, aside span, aside div{ color:#1f2328; }
aside [class*="text-white"]{ color:#1f2328 !important; }

/* ===== 浅底上的白字（登录框/输入框等）===== */
input[class*="text-white"], textarea[class*="text-white"], select[class*="text-white"]{
  color:#1f2328 !important; background-color:#ffffff !important;
}
[class*="bg-[#161b22]"][class*="text-white"]{ color:#1f2328 !important; }
[class*="bg-[#0d1117]"][class*="text-white"]{ color:#1f2328 !important; }
[class*="bg-[#21262d]"][class*="text-white"]{ color:#1f2328 !important; }

/* 代码块 / 等宽字体区域 */
pre, code { background-color:#f6f8fa !important; color:#1f2328 !important; }

/* ===== 侧边栏边框（浅色/去掉深色描边）===== */
[data-slot="sidebar"],
[data-slot="sidebar-container"],
[data-slot="sidebar-inner"],
[data-slot="sidebar-wrapper"],
.bg-sidebar {
  border-color: #e6e8eb !important;
}
.border-sidebar-border,
[class*="border-sidebar-border"] {
  border-color: #e6e8eb !important;
}
/* 右侧那条深色竖线去掉，改用极浅阴影分隔 */
[data-slot="sidebar-container"] {
  border-right: none !important;
  box-shadow: 1px 0 0 #eef1f4 !important;
}
/* 侧边栏内部的分隔线也调浅 */
aside [class*="border-[#30363d]"] { border-color: #eef1f4 !important; }
aside hr { border-color: #eef1f4 !important; }

/* ===== 登录页：改成居中卡片，隐藏左侧大图 ===== */
.login-split {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  max-width: none !important;
  padding: 24px !important;
  grid-template-columns: none !important;
}
.login-split > div:first-child { display: none !important; }
.login-split > div:nth-child(2) {
  background: #ffffff !important;
  border: 1px solid #e6e8eb !important;
  border-radius: 16px !important;
  padding: 36px 32px !important;
  box-shadow: 0 12px 40px rgba(16,24,40,.08) !important;
  width: 100% !important;
  max-width: 420px !important;
}
.login-split h1 { color: #111827 !important; }
.login-split p, .login-split label, .login-split span { color: #4b5563 !important; }
.login-split input { background: #ffffff !important; border-color: #d0d7de !important; color: #111827 !important; }
.login-split input::placeholder { color: #9aa4ae !important; }
.login-split button[type="submit"] {
  background: linear-gradient(90deg,#ef4444,#f97316) !important;
  color: #fff !important; border: none !important;
}
.login-split button[type="submit"]:hover { filter: brightness(1.05); }
.login-split a, .login-split button:not([type="submit"]) { color: #57606a !important; }

/* ===== shadcn 变量换成浅色（修复头像下拉菜单等）===== */
:root{
  --popover: #ffffff;
  --popover-foreground: #1f2328;
  --card: #ffffff;
  --card-foreground: #1f2328;
  --muted: #eef1f4;
  --muted-foreground: #57606a;
  --accent: #eef1f4;
  --accent-foreground: #1f2328;
  --border: #e6e8eb;
  --input: #e6e8eb;
  --secondary: #eef1f4;
  --secondary-foreground: #1f2328;
}
[role="menu"], [data-slot="dropdown-menu-content"], [data-slot="popover-content"],
[data-radix-popper-content-wrapper] > div {
  background: #ffffff !important;
  border-color: #e6e8eb !important;
  color: #1f2328 !important;
  box-shadow: 0 8px 24px rgba(16,24,40,.10) !important;
}
[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"] {
  color: #1f2328 !important;
}
[role="menuitem"]:hover, [role="menuitem"][data-highlighted],
[role="menuitemcheckbox"]:hover, [role="menuitemradio"]:hover {
  background: #f2f5f8 !important; color: #111827 !important;
}
[role="separator"], [data-slot="dropdown-menu-separator"] { background: #eef1f4 !important; }
.tabular-nums, [class*="text-[#8b949e]"] { color: #57606a !important; }

/* ===== 登录页 · 白色简约（覆盖前面的红橙风格）===== */
.login-split { background: #ffffff !important; }
.login-split > div:nth-child(2) {
  background: #ffffff !important;
  border: 1px solid #eceef1 !important;
  border-radius: 14px !important;
  padding: 40px 36px !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.06) !important;
  max-width: 400px !important;
}
.login-split h1 {
  font-size: 22px !important; font-weight: 600 !important;
  color: #111827 !important; letter-spacing: -.01em !important;
}
.login-split p { color: #6b7280 !important; font-size: 13px !important; }
.login-split label { color: #374151 !important; font-size: 13px !important; font-weight: 500 !important; }
.login-split form > * + * { margin-top: 16px !important; }
.login-split input[type="text"], .login-split input:not([type="checkbox"]) {
  height: 44px !important; padding: 0 12px !important;
  border: 1px solid #e5e7eb !important; border-radius: 10px !important;
  background: #ffffff !important; color: #111827 !important; font-size: 14px !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
.login-split input:focus {
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17,24,39,.06) !important;
  outline: none !important;
}
.login-split input::placeholder { color: #9ca3af !important; }
.login-split input[type="checkbox"] {
  width: 16px !important; height: 16px !important;
  border: 1px solid #d1d5db !important; border-radius: 4px !important;
  background: #fff !important; accent-color: #111827 !important;
}
.login-split button[type="submit"] {
  background: #ffffff !important; color: #111827 !important;
  border: 1px solid #d1d5db !important; border-radius: 10px !important;
  height: 44px !important; font-size: 14px !important; font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
  transition: background .15s ease, border-color .15s ease !important;
}
.login-split button[type="submit"]:hover:not(:disabled) { background: #f9fafb !important; border-color: #9ca3af !important; }
.login-split button[type="submit"]:disabled { opacity: .55 !important; cursor: not-allowed !important; }
/* 两步验证：验证码输入框 */
.login-split input[placeholder="输入验证码"] {
  height: 54px !important; font-size: 20px !important; letter-spacing: .35em !important;
  text-align: center !important; border-radius: 10px !important; padding-left: .35em !important;
}
/* 两步验证上方的红色图标改中性色 */
.login-split [class*="text-red-500"] { color: #111827 !important; }
/* 登录页错误提示（由 login-ux.js 插入）*/
.login-error-box {
  margin: 0 0 4px; padding: 10px 12px; border-radius: 8px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  font-size: 13px; line-height: 1.45; display: none;
}
.login-error-box.show { display: block; animation: loginErrIn .15s ease; }
@keyframes loginErrIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }

/* 修正：卡片内表单宽度溢出（原组件内层固定 sm:w-[380px]） */
.login-split > div:nth-child(2) { max-width: 420px !important; padding: 36px 32px !important; }
.login-split > div:nth-child(2) > div { width: 100% !important; max-width: none !important; }
.login-split form { width: 100% !important; }
.login-split input { width: 100% !important; box-sizing: border-box !important; }

/* 登录页细节打磨：焦点环更柔和、次要文字加深 */
.login-split input:focus {
  border-color: #9ca3af !important;
  box-shadow: 0 0 0 3px rgba(17,24,39,.06) !important;
}
.login-split span { color: #4b5563 !important; }
.login-split label { color: #374151 !important; }
.login-split button[type="submit"] svg { color: #374151 !important; }
.login-split input[type="checkbox"]:checked { background: #111827 !important; border-color: #111827 !important; }

/* ===== 登录按钮：白色简约风（2026-10-19 按爸爸要求改回）===== */
.login-split button[type="submit"] {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  height: 44px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
  transition: background .15s ease, border-color .15s ease !important;
}
.login-split button[type="submit"] svg { color: #374151 !important; }
.login-split button[type="submit"]:hover:not(:disabled) { background: #f9fafb !important; border-color: #9ca3af !important; }
.login-split button[type="submit"]:disabled { opacity: .55 !important; cursor: not-allowed !important; }


/* ===== 侧边栏品牌文字：新 logo 配套的中性色（不再用旧的红色渐变）===== */
.bg-sidebar span[class*="bg-clip-text"],
aside span[class*="bg-clip-text"],
[data-slot="sidebar"] span[class*="bg-clip-text"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #111827 !important;
  color: #111827 !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
}
/* 侧边栏 logo 圆角与尺寸微调 */
.bg-sidebar img[src*="eagle-logo"],
[data-slot="sidebar"] img[src*="eagle-logo"] {
  border-radius: 8px !important;
  object-fit: cover !important;
}

/* ===== 设备操作页等页面的深色面补齐（2026-10-19）=====
   这几个色值之前漏掉，设备/投屏/工具类页面会残留深色块 */
.bg-\[\#1c1c1c\] { background-color: #f6f8fa !important; }
.bg-\[\#1c2333\] { background-color: #eef2f7 !important; }
.border-\[\#3a4250\] { border-color: #e2e6ea !important; }
.border-\[\#666\] { border-color: #d0d7de !important; }
.text-\[\#9aa0a6\] { color: #6b7280 !important; }
/* 深色背景块内的输入/文本兜底 */
.bg-\[\#1c1c1c\] input, .bg-\[\#1c2333\] input,
.bg-\[\#1c1c1c\] textarea, .bg-\[\#1c2333\] textarea {
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}
/* 投屏/画布区域：黑底保留（视频必须黑底），仅描边转浅 */
.bg-\[\#000\] { border-color: #e5e7eb !important; }

/* ===== 全局输入框/下拉浅色兜底（设备页备注、发送框、设置项等）===== */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea, select {
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}
input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus, select:focus {
  border-color: #9ca3af !important;
  box-shadow: 0 0 0 3px rgba(17,24,39,.06) !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder { color: #9ca3af !important; }

/* ===== 白色文字在浅底上看不清 → 统一转深色（2026-10-19）=====
   带彩色背景的按钮/标签保持原样，黑底/视频区仍保留白字 */
.text-white:not([class*="bg-red"]):not([class*="bg-green"]):not([class*="bg-blue"]):not([class*="bg-emerald"]):not([class*="bg-rose"]):not([class*="bg-amber"]):not([class*="bg-primary"]):not([class*="bg-destructive"]) {
  color: #111827 !important;
}
.text-gray-100, .text-gray-200, .text-gray-300, .text-slate-100, .text-slate-200, .text-slate-300, .text-zinc-100, .text-zinc-200 {
  color: #374151 !important;
}
/* 黑底、半透明黑遮罩、投屏画布内部恢复白色 */
.bg-black .text-white, .bg-black.text-white,
[class*="bg-[#000"] .text-white,
[class*="bg-[#0a0a0a"] .text-white,
[style*="#000"] .text-white, [style*="#000"].text-white,
[style*="rgb(0, 0, 0)"] .text-white, [style*="rgb(0, 0, 0)"].text-white {
  color: #ffffff !important;
}
.bg-black .text-gray-300, [style*="#000"] .text-gray-300 { color: #d1d5db !important; }

/* ===== 浅色底上的浅色文字（*-400 系列）统一加深（2026-10-19）=====
   设备卡片上的 WiFi / 无障碍 / 亮屏 / 管理员 / 电量 这些徽标就是这族颜色 */
.text-blue-400    { color: #1d4ed8 !important; }
.text-sky-400     { color: #0369a1 !important; }
.text-cyan-400    { color: #0e7490 !important; }
.text-teal-400    { color: #0f766e !important; }
.text-emerald-400 { color: #047857 !important; }
.text-green-400   { color: #15803d !important; }
.text-lime-400    { color: #4d7c0f !important; }
.text-yellow-400  { color: #a16207 !important; }
.text-amber-400   { color: #b45309 !important; }
.text-orange-400  { color: #c2410c !important; }
.text-red-400     { color: #b91c1c !important; }
.text-rose-400    { color: #be123c !important; }
.text-pink-400    { color: #be185d !important; }
.text-fuchsia-400 { color: #a21caf !important; }
.text-purple-400  { color: #7e22ce !important; }
.text-violet-400  { color: #6d28d9 !important; }
.text-indigo-400  { color: #4338ca !important; }
.text-gray-400    { color: #4b5563 !important; }
.text-slate-400   { color: #475569 !important; }
.text-zinc-400    { color: #52525b !important; }
.text-neutral-400 { color: #525252 !important; }

/* 徽标底色也调浅一点，避免浅字压浅底 */
[class*="bg-blue-500/10"]   { background-color: #eff6ff !important; }
[class*="bg-green-500/10"]  { background-color: #f0fdf4 !important; }
[class*="bg-green-500/15"]  { background-color: #f0fdf4 !important; }
[class*="bg-orange-500/10"] { background-color: #fff7ed !important; }
[class*="bg-purple-500/10"] { background-color: #faf5ff !important; }
[class*="bg-cyan-500/10"]   { background-color: #ecfeff !important; }
[class*="bg-red-500/10"]    { background-color: #fef2f2 !important; }

/* 「亮屏」这类用 bg-white/15 + text-white 的徽标：白底白字 → 浅灰底深字 */
[class*="bg-white/15"] { background-color: #eef2f7 !important; }
[class*="bg-white/15"][class*="text-white"] { color: #111827 !important; border-color: #d0d7de !important; }
[class*="bg-white/10"] { background-color: #f1f4f8 !important; }

/* ===== 白色层次统一（2026-10-19）=====
   页面底：#f2f4f7（比卡片深一档，卡片才浮起来）
   卡片：#ffffff + 轻阴影
   工具条小按钮/徽标：#f7f9fb（不再和页面底撞白）*/
html, body, #root { background-color: #f2f4f7 !important; }
[class*="bg-[#0d1117]"] { background-color: #f2f4f7 !important; }
[class*="bg-[#0d1117]/80"] { background-color: rgba(242,244,247,.9) !important; }
[class*="bg-[#161b22]"] { background-color: #ffffff !important; }

/* 卡片类容器加一点阴影，和底色分开 */
[class*="bg-[#161b22]"]:not(button):not(a) {
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.03);
}

/* 工具条上的按钮（批量操作、筛选、分页）用浅灰底，明确是控件不是卡片 */
button[class*="bg-[#161b22]"],
a[class*="bg-[#161b22]"] {
  background-color: #f7f9fb !important;
  border-color: #e3e8ee !important;
  box-shadow: none !important;
}
button[class*="bg-[#161b22]"]:hover,
a[class*="bg-[#161b22]"]:hover {
  background-color: #eef2f6 !important;
  border-color: #cfd8e3 !important;
}

/* 输入框与页面底区分 */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea, select { background-color: #ffffff !important; }

/* 侧边栏底色再浅一层，与主区域形成边界 */
[data-slot="sidebar"], .bg-sidebar { background-color: #ffffff !important; }

/* ===== 纯白统一（2026-10-19 最终版）=====
   头部栏 / 设备卡片 / 分页按钮 / 工具条按钮 → 全部 #ffffff
   层次只靠统一的 1px 边框（#e6e8eb），不再靠不同深浅的白 */
html, body, #root { background-color: #ffffff !important; }
[class*="bg-[#0d1117]"] { background-color: #ffffff !important; }
[class*="bg-[#0d1117]/80"] { background-color: rgba(255,255,255,.92) !important; }
[class*="bg-[#161b22]"] { background-color: #ffffff !important; }
[class*="bg-[#1c2128]"] { background-color: #ffffff !important; }
[class*="bg-[#1c1c1c]"] { background-color: #ffffff !important; }
[class*="bg-[#1c2333]"] { background-color: #ffffff !important; }
[class*="bg-[#0a0d12]"] { background-color: #ffffff !important; }
[class*="bg-[#0b0f14]"] { background-color: #ffffff !important; }

/* 次级块（表头、hover、选中）用极浅灰，保留一点点层次 */
[class*="bg-[#21262d]"] { background-color: #f8fafb !important; }

/* 去掉卡片阴影，统一成纯白＋细边 */
[class*="bg-[#161b22]"]:not(button):not(a) { box-shadow: none !important; }

/* 工具条按钮 / 分页按钮：白底 + 统一边框，hover 极浅灰 */
button[class*="bg-[#161b22]"], a[class*="bg-[#161b22]"] {
  background-color: #ffffff !important;
  border-color: #e6e8eb !important;
  box-shadow: none !important;
}
button[class*="bg-[#161b22]"]:hover, a[class*="bg-[#161b22]"]:hover {
  background-color: #f7f9fb !important;
  border-color: #d7dee7 !important;
}

/* 所有深色边框统一成 #e6e8eb */
[class*="border-[#30363d]"], [class*="border-[#21262d]"],
[class*="border-[#3a4250]"], [class*="border-[#1c2128]"] {
  border-color: #e6e8eb !important;
}

/* 头部栏：白底 + 底部一条淡分隔线 */
header, [class*="sticky"][class*="bg-[#161b22]"], [class*="sticky"][class*="bg-[#0d1117]"] {
  background-color: #ffffff !important;
  border-bottom: 1px solid #eef1f4 !important;
}

/* react-admin 分页按钮（每页行数 / 页码 / 前后页）统一白底细边 */
.RaPagination-root, .RaPagination-root * { box-shadow: none !important; }
.RaPagination-root button, .RaPagination-root .MuiButtonBase-root,
.MuiTablePagination-root button, .MuiTablePagination-root .MuiButtonBase-root {
  background-color: #ffffff !important;
  border: 1px solid #e6e8eb !important;
  border-radius: 8px !important;
  color: #374151 !important;
  min-width: 32px !important;
  height: 32px !important;
}
.RaPagination-root button:hover, .MuiTablePagination-root button:hover { background-color: #f7f9fb !important; }
.RaPagination-root .Mui-selected, .MuiTablePagination-root .Mui-selected {
  background-color: #111827 !important; color: #ffffff !important; border-color: #111827 !important;
}

/* ===== 强调色文字加深（设备控制界面顶栏那些徽标/延时）===== */
[class*="text-[#22c55e]"], [class*="text-[#00e676]"] { color: #15803d !important; }
[class*="text-[#58a6ff]"] { color: #1d4ed8 !important; }
[class*="text-[#ff1744]"] { color: #b91c1c !important; }
[class*="text-[#9aa0a6]"] { color: #4b5563 !important; }
[class*="text-[#484f58]"] { color: #6b7280 !important; }
[class*="text-[#6e7681]"] { color: #57606a !important; }

/* 徽标底色补齐 /20 /25 变体（控制界面用的就是 /20）*/
[class*="bg-blue-500/20"]   { background-color: #eff6ff !important; }
[class*="bg-blue-500/15"]   { background-color: #eff6ff !important; }
[class*="bg-green-500/20"]  { background-color: #f0fdf4 !important; }
[class*="bg-emerald-500/10"], [class*="bg-emerald-500/15"], [class*="bg-emerald-500/20"] { background-color: #ecfdf5 !important; }
[class*="bg-orange-500/15"], [class*="bg-orange-500/20"] { background-color: #fff7ed !important; }
[class*="bg-amber-500/10"], [class*="bg-amber-500/15"], [class*="bg-amber-500/20"] { background-color: #fffbeb !important; }
[class*="bg-yellow-500/10"], [class*="bg-yellow-500/15"], [class*="bg-yellow-500/20"] { background-color: #fefce8 !important; }
[class*="bg-purple-500/15"], [class*="bg-purple-500/20"] { background-color: #faf5ff !important; }
[class*="bg-cyan-500/15"], [class*="bg-cyan-500/20"] { background-color: #ecfeff !important; }
[class*="bg-red-500/15"], [class*="bg-red-500/20"] { background-color: #fef2f2 !important; }
[class*="bg-rose-500/10"], [class*="bg-rose-500/15"], [class*="bg-rose-500/20"] { background-color: #fff1f2 !important; }
[class*="bg-pink-500/10"], [class*="bg-pink-500/15"], [class*="bg-pink-500/20"] { background-color: #fdf2f8 !important; }
[class*="bg-indigo-500/10"], [class*="bg-indigo-500/15"], [class*="bg-indigo-500/20"] { background-color: #eef2ff !important; }
[class*="bg-teal-500/10"], [class*="bg-teal-500/15"], [class*="bg-teal-500/20"] { background-color: #f0fdfa !important; }
[class*="bg-sky-500/10"], [class*="bg-sky-500/15"], [class*="bg-sky-500/20"] { background-color: #f0f9ff !important; }

/* 徽标内的小圆点/图标也加深，避免浅色点看不清 */
[class*="bg-[#22c55e]"], [class*="bg-[#00e676]"] { background-color: #16a34a !important; }
[class*="bg-[#58a6ff]"] { background-color: #2563eb !important; }
[class*="bg-[#ff1744]"] { background-color: #dc2626 !important; }
