/*! v7工作室AI版 · [R34] 全站统一「V7 官方控制页」视觉皮肤（纯外观层）
 * ---------------------------------------------------------------------------
 * 爹的指令：「C:\Users\Administrator\Desktop\渗透V7新版\01_前端源码 设备控制的风格所有页面按他这样做」
 * 参考基线：原版墨影V7 控制页 whh6666.com/devices/<id>/control（01_前端源码\index-DhRZsjf9.css 的设计令牌）
 *
 * V7 视觉语言（照抄原版）：
 *   · 近白底 #f8f9fb + 纯白卡 #fff + 1px 发丝线 #e7ebf0（无渐变、无玻璃、无厚阴影）
 *   · 墨蓝文字 #263247 / 次级 #6f7c8e / 三级 #a0aab8
 *   · 单一藏蓝强调 #3e5aa8（选中态=文字蓝 + 细线，不做彩色渐变块）
 *   · 语义色只用于「文字/小圆点」：绿 #17856c 红 #bd6570 橙 #a9783a 紫 #ad91ec
 *   · 小圆角 7~10px、大量留白、分组标题是小灰字（不是彩色 chip）
 *
 * 作用域：html[data-theme="light"] body 下的所有面板页（/panel/devices 设备列表、/panel/device 设备控制、
 *         /panel/users 用户管理、/panel/ai、注入页、构建页 iframe、tracker…）
 * 纯皮肤层：删掉 index.html 里 mk-r34-v7skin.css 那一行即完全回退到 R33 版观感。
 * ========================================================================== */

/* ==========================================================================
 * 0) 设计令牌：V7 官方（覆盖 mk-skin.css 的浅蓝玻璃令牌）
 * ========================================================================== */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body .app,
html[data-theme="light"] body .ctrl-page{
  --bg:#f8f9fb; --bg2:#ffffff; --bg3:#f6f8fb; --bg4:#eef2f6;
  --device-screen:#ffffff;
  --border:#e7ebf0; --border2:#dbe2ea;
  --text:#263247; --text2:#6f7c8e; --text3:#a0aab8;
  --accent:#3e5aa8; --accent2:#5a74bc; --accent-light:#eef2fb; --accent-soft:#eef1f4;
  --green:#17856c; --green-light:#eaf5f1;
  --red:#bd6570; --red-light:#fbf0f1;
  --orange:#a9783a; --orange-light:#faf3e9;
  --purple:#ad91ec; --purple-light:#f4f0fd;
  --violet:#ad91ec;
  --radius:10px; --radius-sm:7px; --radius-lg:12px;
  --shadow:0 8px 30px rgba(24,36,28,.03);
  --shadow-sm:0 1px 2px rgba(31,48,74,.03);
  --shadow-md:0 2px 8px rgba(31,48,74,.05);
  --shadow-lg:0 6px 20px rgba(31,48,74,.07);
  --shadow-xl:0 12px 34px rgba(31,48,74,.09);
  --sidebar:#f7f7f8;

  /* V7 官方自己的 jy-* 令牌名（兼容以后直接抄原版片段） */
  --jy-bg:#f8f9fb; --jy-card:#ffffff; --jy-border:#e7ebf0;
  --jy-text:#263247; --jy-text2:#6f7c8e; --jy-blue:#3e5aa8;

  /* 控制页/浮窗里被硬编码的「蓝/墨」色阶，统一换成 V7 值 */
  --r34-ink:#263247; --r34-ink2:#6f7c8e; --r34-ink3:#a0aab8;
  --r34-line:#e7ebf0; --r34-line2:#dbe2ea;
  --r34-blue:#3e5aa8; --r34-blue-soft:rgba(62,90,168,.08);
  --r34-fill:#f6f8fb;
}

/* ==========================================================================
 * 1) 基础：背景 / 字体 / 滚动条 / 关掉动态粒子底（V7 官方是静态近白底）
 * ========================================================================== */
html[data-theme="light"],
html[data-theme="light"] body{ background:#f8f9fb !important; }
html[data-theme="light"] body{ color:#263247 !important;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Segoe UI",sans-serif !important; }
html[data-theme="light"] body .app,
html[data-theme="light"] body .main,
html[data-theme="light"] body .ctrl-page{ background:#f8f9fb !important; }
/* 粒子画布：V7 官方没有这层装饰，且它是每帧重绘的性能开销 */
html[data-theme="light"] body .mk-particle-bg{ display:none !important; }
/* 底色区（auth 登录页也统一成近白） */
html[data-theme="light"] body .auth-page > .mk-particle-bg{ display:none !important; }
html[data-theme="light"] body .auth-page{ background:#f8f9fb !important; }

html[data-theme="light"] body *{ scrollbar-width:thin; scrollbar-color:#dfe3ea transparent; }
html[data-theme="light"] body *::-webkit-scrollbar{ width:8px; height:8px; }
html[data-theme="light"] body *::-webkit-scrollbar-thumb{ background:#dfe3ea; border-radius:8px; }
html[data-theme="light"] body *::-webkit-scrollbar-thumb:hover{ background:#c8d0da; }
html[data-theme="light"] body *::-webkit-scrollbar-track{ background:transparent; }

/* ==========================================================================
 * 2) 通用「三去」：去玻璃(backdrop-filter) / 去渐变 / 去厚阴影
 * ========================================================================== */
html[data-theme="light"] body *{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
/* 按钮类：一律纯色（V7 官方按钮没有渐变） */
html[data-theme="light"] body button,
html[data-theme="light"] body .btn,
html[data-theme="light"] body .ctrl-back,
html[data-theme="light"] body .ctrl-topbar-btn,
html[data-theme="light"] body .ctrl-fetch-btn,
html[data-theme="light"] body .ctrl-note-save,
html[data-theme="light"] body .ctrl-side-btn,
html[data-theme="light"] body .ctrl-nav-item,
html[data-theme="light"] body .mkdi-btn,
html[data-theme="light"] body .mku-btn,
html[data-theme="light"] body .mku-fchip,
html[data-theme="light"] body .mkac-btn,
html[data-theme="light"] body .mk-ctl-brand,
html[data-theme="light"] body .theme-switch,
html[data-theme="light"] body thead tr,
html[data-theme="light"] body th{
  background-image:none !important;
}
html[data-theme="light"] body .ctrl-topbar,
html[data-theme="light"] body .mkac-head,
html[data-theme="light"] body .mkac-body,
html[data-theme="light"] body .mkdi-card,
html[data-theme="light"] body .mku-hero,
html[data-theme="light"] body .fgp-panel,
html[data-theme="light"] body .account-card,
html[data-theme="light"] body .search-box,
html[data-theme="light"] body .c2-float-panel,
html[data-theme="light"] body .mk-float-panel,
html[data-theme="light"] body .mk-r141-keylog,
html[data-theme="light"] body .sidebar,
html[data-theme="light"] body .modal-head,
html[data-theme="light"] body .dialog-head,
html[data-theme="light"] body .section-card,
html[data-theme="light"] body .card,
html[data-theme="light"] body .mkdi-sec,
html[data-theme="light"] body .ctrl-side-group{
  background-image:none !important;
}
/* 全局阴影降级 */
html[data-theme="light"] body .card,
html[data-theme="light"] body .section-card,
html[data-theme="light"] body .table-area table,
html[data-theme="light"] body .mkdi-card,
html[data-theme="light"] body .ctrl-side-group,
html[data-theme="light"] body .mku-tablewrap,
html[data-theme="light"] body .mku-kpi{
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}

/* ==========================================================================
 * 3) 顶栏 / 顶部导航（React 外壳页：设备列表、用户管理、注入、设置…）
 * ========================================================================== */
html[data-theme="light"] body .header{
  background:#fff !important;
  border-bottom:1px solid #e7ebf0 !important;
  box-shadow:none !important;
}
html[data-theme="light"] body .header .mk-clockchip,
html[data-theme="light"] body .header .mk-top-tz,
html[data-theme="light"] body .header .mk-top-clock,
html[data-theme="light"] body .header .header-speed{
  background:#f6f8fb !important; border:1px solid #e7ebf0 !important;
  color:#6f7c8e !important; border-radius:7px !important; height:28px !important;
  box-shadow:none !important;
}
html[data-theme="light"] body .header .mk-top-avatar{ box-shadow:none !important; }

/* 顶部 tabs：无底色药丸，选中 = 藏蓝文字 + 2px 底线 */
html[data-theme="light"] body .mk-topnav{ background:transparent !important; border:0 !important; box-shadow:none !important; }
html[data-theme="light"] body .mk-topnav a,
html[data-theme="light"] body .mk-topnav button,
html[data-theme="light"] body .mk-topnav .mk-topnav-item{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  color:#6f7c8e !important; border-radius:0 !important; font-size:13px !important;
}
html[data-theme="light"] body .mk-topnav a:hover,
html[data-theme="light"] body .mk-topnav button:hover{ color:#263247 !important; }
html[data-theme="light"] body .mk-topnav a.active,
html[data-theme="light"] body .mk-topnav button.active,
html[data-theme="light"] body .mk-topnav .mk-topnav-item.active{
  color:#3e5aa8 !important;
  box-shadow:inset 0 -2px 0 0 #3e5aa8 !important;
}
html[data-theme="light"] body .mk-topnav a.active .mk-topnav-ico,
html[data-theme="light"] body .mk-topnav button.active svg{ color:#3e5aa8 !important; }

/* 侧栏（React 外壳页） */
html[data-theme="light"] body .sidebar{
  background:#f7f7f8 !important; border-right:1px solid #e7ebf0 !important;
  box-shadow:none !important;
}
html[data-theme="light"] body .sidebar .nav-item,
html[data-theme="light"] body .sidebar .nav-btn{
  background:transparent !important; border:0 !important; color:#6f7c8e !important;
  border-radius:7px !important; box-shadow:none !important; font-size:13px !important;
}
html[data-theme="light"] body .sidebar .nav-item:hover,
html[data-theme="light"] body .sidebar .nav-btn:hover{ background:#f0f2f5 !important; color:#263247 !important; }
html[data-theme="light"] body .sidebar .nav-item.active,
html[data-theme="light"] body .sidebar .nav-btn.active,
html[data-theme="light"] body .sidebar .nav-item.is-active{
  background:#eef2fb !important; color:#3e5aa8 !important; box-shadow:none !important;
}
html[data-theme="light"] body .sidebar .nav-sep{ background:#e7ebf0 !important; background-image:none !important; }
html[data-theme="light"] body .sidebar .nav-badge{ background-image:none !important; background:#eef2fb !important; color:#3e5aa8 !important; border:1px solid #dbe2ea !important; }

/* ==========================================================================
 * 4) 通用容器 / 表格 / 表单（设备列表、用户管理、注入页…）
 * ========================================================================== */
html[data-theme="light"] body .main{ background:transparent !important; }
html[data-theme="light"] body .main > .search-box,
html[data-theme="light"] body .main .search-box,
html[data-theme="light"] body .account-card{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .table-area table{
  background:#fff !important; border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .table-area table thead th,
html[data-theme="light"] body .table-area table th{
  background:#f6f8fb !important; color:#6f7c8e !important;
  border-bottom:1px solid #e7ebf0 !important; font-size:12px !important; font-weight:500 !important;
}
html[data-theme="light"] body .table-area table tbody td{
  border-bottom:1px solid #eef1f5 !important; color:#263247 !important; font-size:12.5px !important;
}
html[data-theme="light"] body .table-area table tbody tr:hover,
html[data-theme="light"] body .table-area table tbody tr:hover td{ background:#f9fafc !important; }
html[data-theme="light"] body .table-area table tbody tr.selected,
html[data-theme="light"] body .table-area table tbody tr.selected td{ background:#eef2fb !important; }

/* 表单控件 */
html[data-theme="light"] body input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] body select,
html[data-theme="light"] body textarea{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:7px !important; color:#263247 !important; box-shadow:none !important;
}
html[data-theme="light"] body input::placeholder,
html[data-theme="light"] body textarea::placeholder{ color:#a0aab8 !important; }
html[data-theme="light"] body input:focus, html[data-theme="light"] body select:focus, html[data-theme="light"] body textarea:focus{
  border-color:#3e5aa8 !important; box-shadow:0 0 0 3px rgba(62,90,168,.10) !important;
}
html[data-theme="light"] body ::selection{ background:rgba(62,90,168,.16); }

/* 通用按钮：白底细线 / 主按钮藏蓝实心 */
html[data-theme="light"] body .btn{
  background:#fff !important; border:1px solid #dbe2ea !important; color:#263247 !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .btn:hover{ background:#f6f8fb !important; border-color:#cdd6e0 !important; }
html[data-theme="light"] body .btn.primary,
html[data-theme="light"] body .btn-action.primary{
  background:#3e5aa8 !important; border-color:#3e5aa8 !important; color:#fff !important;
}
html[data-theme="light"] body .btn.primary:hover{ background:#35509a !important; }

/* ==========================================================================
 * 5) 设备控制页：顶栏
 * ========================================================================== */
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar{
  background:#fff !important; background-image:none !important;
  border-bottom:1px solid #e7ebf0 !important; box-shadow:none !important;
  padding:8px 14px 10px !important; row-gap:8px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .mk-ctl-brand{
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#263247 !important;
  border-radius:7px !important; height:28px !important; box-shadow:none !important;
  font-size:12.5px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .mk-ctl-brand > i{
  background:#17856c !important; background-image:none !important; box-shadow:none !important;
}
/* 状态芯片（在线/电量/WIFI/无障碍/APP内） */
html[data-theme="light"] body .ctrl-page .ctrl-tag,
html[data-theme="light"] body .ctrl-page .ctrl-dev-meta,
html[data-theme="light"] body .ctrl-page .ctrl-device-id,
html[data-theme="light"] body .ctrl-page .ctrl-dev-meta *{
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#6f7c8e !important;
  border-radius:7px !important; box-shadow:none !important; font-size:11.5px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-tag.green{ color:#17856c !important; }
html[data-theme="light"] body .ctrl-page .ctrl-tag.blue{ color:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-tag.gray{ color:#6f7c8e !important; }
html[data-theme="light"] body .ctrl-page .ctrl-tag.mk-tag-ico{ background:#f6f8fb !important; }
/* 顶栏按钮：白底细线，语义色只染色文字 */
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn,
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.ghost,
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.danger{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#263247 !important;
  border-radius:7px !important; box-shadow:none !important; font-size:12px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn:hover{ background:#f6f8fb !important; border-color:#dbe2ea !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.danger{ color:#bd6570 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.danger:hover{ background:#fbf0f1 !important; border-color:#eed3d6 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.is-on,
html[data-theme="light"] body .ctrl-page .ctrl-topbar-btn.active{ background:#eef2fb !important; color:#3e5aa8 !important; border-color:#cfd9ee !important; }
html[data-theme="light"] body .ctrl-page .ctrl-back{
  background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important;
  color:#263247 !important; border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-note-save{
  background:#3e5aa8 !important; background-image:none !important; color:#fff !important;
  border:1px solid #3e5aa8 !important; border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-note-box{ background:#f6f8fb !important; border:1px solid #e7ebf0 !important; border-radius:7px !important; }
html[data-theme="light"] body .ctrl-page .ctrl-fetch-btn{ background:#fff !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important; border-radius:7px !important; box-shadow:none !important; }
html[data-theme="light"] body .ctrl-page .ctrl-ai-cb{ background:#f6f8fb !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important; border-radius:7px !important; }
html[data-theme="light"] body .ctrl-page .mk-switch{ background:#e9ecf1 !important; box-shadow:none !important; }
html[data-theme="light"] body .ctrl-page .mk-switch.is-on{ background:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .theme-switch{ background:#f6f8fb !important; border:1px solid #e7ebf0 !important; border-radius:7px !important; box-shadow:none !important; }

/* ==========================================================================
 * 6) 设备控制页：三栏容器 / 左中右面板
 * ========================================================================== */
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-sidebar,
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-sidebar.mk-ctl-tabs{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:10px !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-content > *,
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel > .ctrl-side-group{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:10px !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
/* 「设备信息」标签按钮列 */
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-sidebar > .ctrl-nav-item{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  color:#6f7c8e !important; border-radius:7px !important; box-shadow:none !important;
  font-size:12px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-sidebar > .ctrl-nav-item:hover{
  background:#f6f8fb !important; color:#263247 !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-sidebar > .ctrl-nav-item.active.active{
  background:#eef2fb !important; background-image:none !important;
  border-color:#cfd9ee !important; color:#3e5aa8 !important; box-shadow:none !important;
}
/* 右侧「设备工具」分组 + 按钮（画面与远程 / 黑屏控制 / 设备策略 / 状态与维护） */
html[data-theme="light"] body .ctrl-page .ctrl-side-group-title{
  color:#a0aab8 !important; font-size:11.5px !important; letter-spacing:.02em !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel .ctrl-side-group-title::before{
  background:#dbe2ea !important; background-image:none !important; width:3px !important; border-radius:2px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-side-btn{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#263247 !important;
  border-radius:7px !important; box-shadow:none !important; font-size:12px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-side-btn:hover{ background:#f6f8fb !important; border-color:#dbe2ea !important; }
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel .ctrl-side-btn.is-primary{ color:#3e5aa8 !important; background:#fff !important; border-color:#dbe2ea !important; }
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel .ctrl-side-btn.is-success{ color:#17856c !important; background:#fff !important; border-color:#dbe2ea !important; }
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel .ctrl-side-btn.is-danger{ color:#bd6570 !important; background:#fff !important; border-color:#dbe2ea !important; }
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.is-on,
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.mk-ctl-pwd.is-on{ background:#f4f0fd !important; border-color:#ded2f8 !important; color:#7c5cf0 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.is-neutral{ background:#fff !important; color:#6f7c8e !important; }
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.is-dark{ background:#fff !important; color:#263247 !important; }
/* 假手机框（截屏/投屏/无障碍阅读器）——V7 官方是纯白画布 + 细边框 */
html[data-theme="light"] body .ctrl-page .mk-frame{
  background:#fff !important; border:1px solid #e7ebf0 !important; border-radius:12px !important;
  box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .mk-frame-head{ background:#fff !important; border-bottom:1px solid #e7ebf0 !important; color:#263247 !important; }
html[data-theme="light"] body .ctrl-page .mk-frame-empty{ background:#fafbfc !important; color:#a0aab8 !important; backdrop-filter:none !important; }
/* 底部手机控制键（返回/主页/最近任务…）：V7 官方 = 白底细线方块 */
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys .mk-navkey,
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys > *{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#6f7c8e !important;
  border-radius:10px !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys .mk-navkey:hover,
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys > *:hover{ background:#f6f8fb !important; color:#263247 !important; }
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys .mk-navkey.is-on,
html[data-theme="light"] body .ctrl-page .mk-ctl-navkeys > *.is-on{ background:#eef2fb !important; border-color:#cfd9ee !important; color:#3e5aa8 !important; }
/* 键盘监听日志 */
html[data-theme="light"] body .ctrl-page .mk-r141-keylog{ background:#fff !important; border:1px solid #e7ebf0 !important; border-radius:10px !important; box-shadow:none !important; }
html[data-theme="light"] body .ctrl-page .ctrl-kl-filters{ background:#fff !important; border-bottom:1px solid #e7ebf0 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-kl-t{
  background:#f6f8fb !important; background-image:none !important; border:1px solid #e7ebf0 !important;
  border-radius:5px !important; font-size:11px !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-kl-t.pi{ color:#6f7c8e !important; }
html[data-theme="light"] body .ctrl-page .ctrl-kl-t.kl{ color:#17856c !important; }
html[data-theme="light"] body .ctrl-page .ctrl-kl-t.ap{ color:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-kl-t.pa{ color:#ad91ec !important; }

/* ==========================================================================
 * 7) 「设备信息」内嵌卡（mk-devinfo / R195 排版不动，只换色）
 * ========================================================================== */
html[data-theme="light"] body .ctrl-page .mkdi-card,
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-content > .mk-pin-info .mkdi-card{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .ctrl-page .mkdi-card::before{ background:none !important; }
html[data-theme="light"] body .ctrl-page .mkdi-sec{
  background:#fbfcfd !important; border:1px solid #eef1f5 !important; border-radius:8px !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .mkdi-sec-h{
  background:#f6f8fb !important; background-image:none !important;
  border-bottom:1px solid #eef1f5 !important; color:#6f7c8e !important; border-radius:8px 8px 0 0 !important;
}
html[data-theme="light"] body .ctrl-page .mkdi-sec-ic,
html[data-theme="light"] body .ctrl-page .mkdi-chip,
html[data-theme="light"] body .ctrl-page .mkdi-btn{
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#3e5aa8 !important;
  border-radius:6px !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .mkdi-logo{ background:#3e5aa8 !important; background-image:none !important; border-radius:8px !important; }
html[data-theme="light"] body .ctrl-page .mkdi-k{ color:#a0aab8 !important; }
html[data-theme="light"] body .ctrl-page .mkdi-v{ color:#263247 !important; }

/* 「设备信息」顶部的信息条（barmix 去重行）——保持隐藏，只改壳色 */
html[data-theme="light"] body .ctrl-page .mk-barmix,
html[data-theme="light"] body .ctrl-page .mk-barmix-row{ background:#fff !important; border-color:#e7ebf0 !important; }

/* ==========================================================================
 * 8) AI / 密码 / 注入 浮窗：从紫蓝玻璃 → V7 白卡
 * ========================================================================== */
html[data-theme="light"] body .mkac-panel,
html[data-theme="light"] body .mkac-panel *{ }
html[data-theme="light"] body .mkac-head{
  background:#fff !important; border-bottom:1px solid #e7ebf0 !important; color:#263247 !important;
}
html[data-theme="light"] body .mkac-body{ background:#fff !important; background-image:none !important; }
html[data-theme="light"] body .mkac-btn{
  background:#fff !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .mkac-btn:hover{ background:#f6f8fb !important; color:#263247 !important; }
html[data-theme="light"] body .mkac-btn.mkac-zone.active,
html[data-theme="light"] body .mkac-btn.active{
  background:#3e5aa8 !important; background-image:none !important;
  border-color:#3e5aa8 !important; color:#fff !important; box-shadow:none !important;
}
html[data-theme="light"] body .mkac-msg,
html[data-theme="light"] body .mkac-bubble{ background:#f6f8fb !important; border:1px solid #e7ebf0 !important; color:#263247 !important; border-radius:8px !important; }
html[data-theme="light"] body .mkac-input{ background:#fff !important; border:1px solid #e7ebf0 !important; border-radius:7px !important; }
html[data-theme="light"] body .c2-float-panel,
html[data-theme="light"] body .mk-float-panel,
html[data-theme="light"] body .mk-float-album,
html[data-theme="light"] body .mk-float-inject,
html[data-theme="light"] body .mk-float-pwd{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 8px 26px rgba(31,48,74,.08) !important;
}
html[data-theme="light"] body .c2-float-panel .c2-pwd-btn,
html[data-theme="light"] body .c2-float-panel button{
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .c2-pwd-btn.secondary{ background:#fff !important; background-image:none !important; border:1px solid #dbe2ea !important; color:#263247 !important; }

/* ==========================================================================
 * 9) 用户管理页（mk-users.css 的 mku-* 令牌与卡片）
 * ========================================================================== */
html[data-theme="light"] body.mku-on{
  --mku-ink:#263247; --mku-ink2:#6f7c8e; --mku-ink3:#a0aab8;
  --mku-bd:#e7ebf0; --mku-card:#ffffff; --mku-soft:#f6f8fb;
  --mku-blue:#3e5aa8;
}
html[data-theme="light"] body.mku-on .mku-hero{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body.mku-on .mku-hero-ico{ border-radius:9px !important; box-shadow:none !important; }
html[data-theme="light"] body.mku-on .mku-btn{
  background:#fff !important; background-image:none !important;
  border:1px solid #dbe2ea !important; color:#263247 !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body.mku-on .mku-btn.mku-btn-add{
  background:#3e5aa8 !important; background-image:none !important; border-color:#3e5aa8 !important; color:#fff !important;
}
html[data-theme="light"] body.mku-on .mku-fchip{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#6f7c8e !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body.mku-on .mku-fchip.is-on{
  background:#eef2fb !important; background-image:none !important;
  border-color:#cfd9ee !important; color:#3e5aa8 !important;
}
html[data-theme="light"] body.mku-on .mku-kpi{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body.mku-on .mku-tablewrap{
  background:#fff !important; border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body.mku-on .mku-tablewrap thead th{
  background:#f6f8fb !important; background-image:none !important;
  color:#6f7c8e !important; border-bottom:1px solid #e7ebf0 !important; font-weight:500 !important;
}
html[data-theme="light"] body.mku-on .mku-tablewrap tbody td{ border-bottom:1px solid #eef1f5 !important; color:#263247 !important; }
html[data-theme="light"] body.mku-on .mku-tablewrap tbody tr:hover td{ background:#f9fafc !important; background-image:none !important; }
html[data-theme="light"] body.mku-on .mku-tablewrap tbody tr.mku-row-admin td{
  background:#fbfcfd !important; background-image:none !important;
}
html[data-theme="light"] body.mku-on .mku-tablewrap tbody tr.mku-row-admin:hover td{
  background:#f6f8fb !important; background-image:none !important;
}
html[data-theme="light"] body.mku-on .mku-count{ background:#f6f8fb !important; background-image:none !important; border:1px solid #e7ebf0 !important; color:#3e5aa8 !important; }

/* ==========================================================================
 * 10) 弹窗 / 遮罩
 * ========================================================================== */
html[data-theme="light"] body .modal,
html[data-theme="light"] body .dialog,
html[data-theme="light"] body .mkkv-box,
html[data-theme="light"] body .mkhd-box{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:10px !important; box-shadow:0 12px 34px rgba(31,48,74,.10) !important;
}
html[data-theme="light"] body .modal-head,
html[data-theme="light"] body .dialog-head{
  background:#fff !important; background-image:none !important;
  border-bottom:1px solid #e7ebf0 !important; color:#263247 !important;
}
html[data-theme="light"] body .mkkv-modal,
html[data-theme="light"] body .mkhd-modal{ background:rgba(38,50,71,.28) !important; backdrop-filter:none !important; }

/* ==========================================================================
 * 11) 分组信息条 / 设备分组横条（fgp）
 * ========================================================================== */
html[data-theme="light"] body .fgp-root,
html[data-theme="light"] body .fgp-panel{
  background:#fff !important; border:1px solid #e7ebf0 !important;
  border-radius:10px !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .fgp-item{
  background:transparent !important; background-image:none !important;
  border:1px solid transparent !important; color:#6f7c8e !important; border-radius:7px !important;
}
html[data-theme="light"] body .fgp-item:hover{ background:#f6f8fb !important; color:#263247 !important; }
html[data-theme="light"] body .fgp-item.is-active{ background:#eef2fb !important; border-color:#cfd9ee !important; color:#3e5aa8 !important; }
html[data-theme="light"] body .fgp-count{ background:#f6f8fb !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important; }
html[data-theme="light"] body .battery.high{ background:#eaf5f1 !important; color:#17856c !important; }
html[data-theme="light"] body .battery.mid{ background:#faf3e9 !important; color:#a9783a !important; }
html[data-theme="light"] body .battery.low{ background:#fbf0f1 !important; color:#bd6570 !important; }
html[data-theme="light"] body .mk-top-online{ background:#eaf5f1 !important; color:#17856c !important; border:1px solid #d5e9e2 !important; }

/* ==========================================================================
 * 12) 内嵌页（构建工作台 iframe / AI 页 / tracker）—— 统一底色与卡片
 * ========================================================================== */
html[data-theme="light"] body .mk-build-embed,
html[data-theme="light"] body iframe.mk-build-frame{ background:#f8f9fb !important; }
html[data-theme="light"] body .settings-content{ background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important; border-radius:10px !important; }

/* ==========================================================================
 * 13) 动效收敛：V7 官方几乎没有动效，去掉发光/呼吸类装饰
 * ========================================================================== */
html[data-theme="light"] body .nav-item.active .nav-icon-wrap::before,
html[data-theme="light"] body .progress-fill::after,
html[data-theme="light"] body .progress-fill:after{ background:none !important; background-image:none !important; }
html[data-theme="light"] body .scan-beam,
html[data-theme="light"] body .loading-bar{ background-image:none !important; }

/* ==========================================================================
 * 14) 硬覆盖层（HARD OVERRIDE）
 *   目的：把 mk-light.css / mk-phone.css / mk-ai-ctl.css 等文件里带 !important
 *   且特异性更高的历史规则压下去。做法：① 重复同一个属性选择器拉高特异性
 *   （匹配范围不变，仍然只作用于浅色主题）② 逐条复刻原选择器链再加一级。
 * ========================================================================== */
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] body,
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] body *{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
html[data-theme="light"] body .header.header{
  background:#fff !important; background-image:none !important; box-shadow:none !important;
}
html[data-theme="light"] body .main > .sidebar,
html[data-theme="light"] body .main > .sidebar.mk-dark{
  background:#f7f7f8 !important; background-image:none !important; box-shadow:none !important;
}
html[data-theme="light"] body .main .search-box,
html[data-theme="light"] body .main .account-card,
html[data-theme="light"] body .fgp-panel,
html[data-theme="light"] body .fgp-root{
  background:#fff !important; background-image:none !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .table-area .panel,
html[data-theme="light"] body .table-area > div > div > .panel,
html[data-theme="light"] body .mk-statwrap .stat-card,
html[data-theme="light"] body .mk-statwrap .overview-card{
  background:#fff !important; background-image:none !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar{
  background:#fff !important; background-image:none !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar .ctrl-note-save{
  background:#3e5aa8 !important; background-image:none !important; border:1px solid #3e5aa8 !important; color:#fff !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar .ctrl-back{
  background:#fff !important; background-image:none !important;
}
html[data-theme="light"] body .c2-float-panel{
  background:#fff !important; background-image:none !important; box-shadow:0 8px 26px rgba(31,48,74,.08) !important;
}
html[data-theme="light"] body .mk-float-album > div:first-child{
  background:#f6f8fb !important; background-image:none !important; color:#263247 !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout.ctrl-layout.ctrl-layout > .ctrl-content > .mk-pin-info .mkdi-card.mkdi-card{
  background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout.ctrl-layout.ctrl-layout > .ctrl-content > .mk-pin-info .mkdi-card.mkdi-card::before{
  background:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-layout .mk-ctl-left > .mk-ctl-readers.mk-ctl-readers > .mk-frame.mk-frame:not(.mk-has-dock) > .mk-frame-screen.mk-frame-screen > .mk-frame-empty{
  background:#fafbfc !important; background-image:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important;
  border:1px solid #eef1f5 !important; color:#a0aab8 !important; box-shadow:none !important; text-shadow:none !important;
}
html[data-theme="light"] body #mkAiCtlHost .mkac-head{
  background:#fff !important; background-image:none !important; border-bottom:1px solid #e7ebf0 !important;
}
html[data-theme="light"] body #mkAiCtlHost .mkac-body{
  background:#fff !important; background-image:none !important;
}
html[data-theme="light"] body #mkAiCtlHost .mkac-btn{
  background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important;
  color:#6f7c8e !important; border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body #mkAiCtlHost .mkac-btn.mkac-zone.active,
html[data-theme="light"] body #mkAiCtlHost .mkac-btn.active{
  background:#3e5aa8 !important; background-image:none !important;
  border-color:#3e5aa8 !important; color:#fff !important; box-shadow:none !important;
}
html[data-theme="light"] body #mkAiCtlHost .mkac-panel,
html[data-theme="light"] body #mkAiCtlHost .mkac-shell{
  background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important;
}
html[data-theme="light"] body #mkAiNavBtn.active,
html[data-theme="light"] body .ctrl-layout > .ctrl-sidebar > .ctrl-nav-item.mk-ai-ctltab.active,
html[data-theme="light"] body .ctrl-layout > .ctrl-sidebar > .ctrl-nav-item.mk-perm-tab.active{
  background:#eef2fb !important; background-image:none !important;
  border-color:#cfd9ee !important; color:#3e5aa8 !important; box-shadow:none !important;
}

/* ==========================================================================
 * 15) 精确压制层（针对 sc>500 的历史选择器链，逐条复刻并加一级）
 *     —— 依据 _r34_diag.js 的实测「获胜规则」清单写成
 * ========================================================================== */
/* ① 顶栏状态芯片组：绿/蓝/灰 → 中性底 + 语义色文字（V7 官方就是这样） */
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag,
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.ctrl-tag{
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; box-shadow:none !important; color:#6f7c8e !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.green{ color:#17856c !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.blue{ color:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.gray{ color:#6f7c8e !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag svg{ color:inherit !important; }

/* ② 顶栏「AI助理」开关 / 危险按钮 / 普通按钮 / 时钟芯片 */
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-ai-cb.ctrl-ai-cb,
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-ai-cb.ctrl-ai-cb:has(> input:checked){
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#6f7c8e !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-ai-cb.ctrl-ai-cb:has(> input:checked){ color:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-topbar-btn.ctrl-topbar-btn{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#263247 !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-topbar-btn.ctrl-topbar-btn:hover{ background:#f6f8fb !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-topbar-btn.ctrl-topbar-btn.danger{
  color:#bd6570 !important; border-color:#e7ebf0 !important; background:#fff !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-topbar-btn.ctrl-topbar-btn.danger:hover{
  background:#fbf0f1 !important; border-color:#eed3d6 !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .mk-ctl-clock.mk-ctl-clock{
  background:#f6f8fb !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important; box-shadow:none !important;
}

/* ③ 键盘监听的表头（原来带浅蓝渐变） */
html[data-theme="light"] body .mk-r141-keylog .ctrl-kl-tbl thead th,
html[data-theme="light"] body .ctrl-page .ctrl-kl-tbl thead th{
  background:#f6f8fb !important; background-image:none !important;
  color:#6f7c8e !important; border-bottom:1px solid #e7ebf0 !important; box-shadow:none !important;
}
html[data-theme="light"] body .mk-r141-keylog .ctrl-kl-tbl tbody td{ border-bottom:1px solid #eef1f5 !important; }

/* ④ 「设备信息」内嵌卡内部（mk-barmix/mk-devinfo 的链很长，用超高特异性前缀压）
 *    12 个 [data-theme="light"] 只是把特异性抬到 (0,14,x)，匹配范围仍是「浅色主题」。 */
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-sec{
  background:#fbfcfd !important; background-image:none !important;
  border:1px solid #eef1f5 !important; box-shadow:none !important; border-radius:8px !important;
}
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-sec-h{
  background:#f6f8fb !important; background-image:none !important;
  border-bottom:1px solid #eef1f5 !important; color:#6f7c8e !important; box-shadow:none !important;
}
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-sec-ic,
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-chip{
  background:#f6f8fb !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; color:#3e5aa8 !important; box-shadow:none !important;
}
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-card .mkdi-k{ color:#a0aab8 !important; }
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mkdi-card .mkdi-v{ color:#263247 !important; }
/* 假手机框上的开关（R31 线条风已改中性，这里只把「开」态统一成藏蓝） */
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mk-switch.is-on,
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mk-switch:has(input:checked){
  background:#3e5aa8 !important; background-image:none !important; border-color:#3e5aa8 !important;
}
html[data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"][data-theme="light"] .ctrl-page .mk-frame .mk-switch{
  background:#f1f3f6 !important; border:1px solid #e7ebf0 !important; box-shadow:none !important;
}

/* 16) 收尾小修：语义色优先于通用灰、is-dark 归零 */
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.green.mk-tag-ico{ color:#17856c !important; }
html[data-theme="light"] body .ctrl-page .ctrl-topbar.ctrl-topbar > .ctrl-tags > .ctrl-tag.blue.mk-tag-ico{ color:#3e5aa8 !important; }
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.is-dark.is-dark,
html[data-theme="light"] body .ctrl-page .ctrl-layout > .ctrl-action-panel .ctrl-side-btn.is-dark.is-dark{
  background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important;
  color:#263247 !important; box-shadow:none !important;
}
html[data-theme="light"] body .ctrl-page .ctrl-side-btn.is-neutral.is-neutral{
  background:#fff !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important;
}

/* ==========================================================================
 * 17) 其余页面残留渐变（注入页 / 翻译页 / 推送页 / 拉黑页）—— 参照 _r34_gprobe.js
 * ========================================================================== */
html[data-theme="light"] body .refresh-btn{
  background:#3e5aa8 !important; background-image:none !important;
  border:1px solid #3e5aa8 !important; color:#fff !important;
  border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .refresh-btn:hover{ background:#35509a !important; }
html[data-theme="light"] body .mk-inj-head{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important;
  box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .mk-inj-step,
html[data-theme="light"] body .mk-inj-step.mk-dark{
  background:#fbfcfd !important; background-image:none !important;
  border:1px solid #eef1f5 !important; border-radius:9px !important; box-shadow:none !important;
}
html[data-theme="light"] body .country-card.mk-inj-card.is-on{
  background:#eef2fb !important; background-image:none !important;
  border-color:#cfd9ee !important; box-shadow:none !important;
}
html[data-theme="light"] body .country-card.mk-inj-card{ background:#fff !important; background-image:none !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important; }
html[data-theme="light"] body .mk-inj-sec.mk-dark,
html[data-theme="light"] body .mk-inj-flow.mk-dark{ background:transparent !important; background-image:none !important; }
/* 翻译页的绿色「推荐」提示卡：保语义、去渐变 */
html[data-theme="light"] body .table-area > div > .mk-dark,
html[data-theme="light"] body .table-area .mk-dark{
  background:#f4faf7 !important; background-image:none !important;
  border:1px solid #dcece4 !important; border-radius:9px !important;
}

/* ==========================================================================
 * 18) AI 页（mk-ai-model / mkaim-*）：紫罗兰主题 → V7 藏蓝 + 中性灰标签
 * ========================================================================== */
html[data-theme="light"] body .mkaim-lb,
html[data-theme="light"] body .mkaim-lb *{ color:#6f7c8e !important; }
html[data-theme="light"] body .mkaim-lb{ letter-spacing:.02em !important; font-weight:500 !important; }
html[data-theme="light"] body .mkaim-tag{
  color:#3e5aa8 !important; background:#eef2fb !important; background-image:none !important;
  border:1px solid #cfd9ee !important; border-radius:6px !important;
}
html[data-theme="light"] body .mkaim-buy{ color:#3e5aa8 !important; background:none !important; }
html[data-theme="light"] body .mkaim-btn.mkaim-vio,
html[data-theme="light"] body .mkaim-btn.primary{
  background:#3e5aa8 !important; background-image:none !important;
  border:1px solid #3e5aa8 !important; color:#fff !important; border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .mkaim-btn{
  background:#fff !important; background-image:none !important;
  border:1px solid #dbe2ea !important; color:#263247 !important; border-radius:7px !important; box-shadow:none !important;
}
html[data-theme="light"] body .mkaim-card,
html[data-theme="light"] body .mkaim-sec{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body .mkaim-head{ background:#fff !important; background-image:none !important; border-bottom:1px solid #e7ebf0 !important; }
html[data-theme="light"] body .stat-num{ color:#263247 !important; }
html[data-theme="light"] body .mkaim-note{ background:#f6f8fb !important; background-image:none !important; border:1px solid #e7ebf0 !important; }

/* 19) 加载态点阵（登录/首屏 loader）：点色从品牌蓝换成 V7 中性墨 */
html[data-theme="light"] body .v7-loader-grid{
  background-image:radial-gradient(circle, rgba(38,50,71,.16) 1px, transparent 1px) !important;
}
html[data-theme="light"] body .v7-loader-glow,
html[data-theme="light"] body .v7-loader-aura{ background-image:none !important; }

/* ==========================================================================
 * 20) AI 模型配置面板（#mkAiModelPanel，mk-ai-model.css）—— 紫罗兰 → V7 藏蓝
 *     实测赢家： #mkAiModelPanel .mkaim-lb { color: var(--mk-accent,#7c5cf0) !important } (1,1,0)
 *     最省事的解法：在这个作用域里把 --mk-accent 直接换掉，再对个别项兜底。
 * ========================================================================== */
html[data-theme="light"] body #mkAiModelPanel{
  --mk-accent:#3e5aa8;
  --mk-accent-2:#5a74bc;
  --mk-grad-accent:linear-gradient(0deg,#3e5aa8,#3e5aa8);
}
html[data-theme="light"] body #mkAiModelPanel .mkaim-lb,
html[data-theme="light"] body #mkAiModelPanel .mkaim-lb *{ color:#6f7c8e !important; }
html[data-theme="light"] body #mkAiModelPanel .mkaim-title{ color:#263247 !important; }
html[data-theme="light"] body #mkAiModelPanel .mkaim-tag{
  color:#3e5aa8 !important; background:#eef2fb !important; background-image:none !important;
  border:1px solid #cfd9ee !important; border-radius:6px !important;
}
html[data-theme="light"] body #mkAiModelPanel .mkaim-buy{ color:#3e5aa8 !important; }
html[data-theme="light"] body #mkAiModelPanel .mkaim-btn{
  background:#fff !important; background-image:none !important;
  border:1px solid #dbe2ea !important; color:#263247 !important; box-shadow:none !important;
}
html[data-theme="light"] body #mkAiModelPanel .mkaim-btn.mkaim-vio,
html[data-theme="light"] body #mkAiModelPanel .mkaim-btn.primary{
  background:#3e5aa8 !important; background-image:none !important;
  border-color:#3e5aa8 !important; color:#fff !important;
}
html[data-theme="light"] body #mkAiModelPanel .mkaim-card{
  background:#fff !important; background-image:none !important;
  border:1px solid #e7ebf0 !important; border-radius:10px !important; box-shadow:0 1px 2px rgba(31,48,74,.03) !important;
}
html[data-theme="light"] body #mkAiModelPanel .mkaim-banner.is-ok{
  background:#f2faf7 !important; background-image:none !important;
  border:1px solid #dcece4 !important; color:#17856c !important;
}

html[data-theme="light"] body #mkAiModelPanel svg,
html[data-theme="light"] body #mkAiModelPanel .mkaim-head svg{ color:#3e5aa8 !important; }
html[data-theme="light"] body #mkAiModelPanel .mkaim-banner.is-ok svg{ color:#17856c !important; }

/* 21) 侧栏导航图标：旧品牌紫 #7c5cf0 → V7 中性灰 / 选中藏蓝 */
html[data-theme="light"] body .sidebar .nav-btn svg,
html[data-theme="light"] body .sidebar .nav-item svg,
html[data-theme="light"] body .sidenav .nav-btn svg,
html[data-theme="light"] body .sidenav .nav-item svg{ color:#6f7c8e !important; }
html[data-theme="light"] body .sidebar .nav-btn.active svg,
html[data-theme="light"] body .sidebar .nav-item.active svg,
html[data-theme="light"] body .sidenav .nav-btn.active svg,
html[data-theme="light"] body .sidenav .nav-item.active svg{ color:#3e5aa8 !important; }

/* 22) mk-ui.css 的暗色系令牌在浅色主题下仍被引用（--mk-accent:#7c5cf0 品牌紫）
 *     → 统一换成 V7 藏蓝，一次性收掉散落各处的紫色（侧栏图标 / 徽标 / 进度…） */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] .app{
  --mk-accent:#3e5aa8;
  --mk-accent-2:#5a74bc;
  --mk-accent-soft:rgba(62,90,168,.10);
  --mk-grad-accent:linear-gradient(0deg,#3e5aa8,#3e5aa8);
  --mk-grad-blue:linear-gradient(0deg,#3e5aa8,#3e5aa8);
}

/* 23) 顶栏导航图标颜色（.nav-btn svg 被多条等价规则争抢，这里一次性定死） */
html[data-theme="light"] body .header .mk-topnav a.nav-btn svg,
html[data-theme="light"] body .header .mk-topnav button.nav-btn svg,
html[data-theme="light"] body .header .mk-topnav .nav-btn svg{
  color:#6f7c8e !important; stroke:currentColor !important;
}
html[data-theme="light"] body .header .mk-topnav a.nav-btn.active svg,
html[data-theme="light"] body .header .mk-topnav .nav-btn.active svg,
html[data-theme="light"] body .header .mk-topnav a.nav-btn:hover svg{
  color:#3e5aa8 !important;
}

/* 24) AI 侧栏按钮 #mkAiNavBtn（mk-ai-nav.css 用 id 级 !important 写死品牌紫 (1,1,1)）
 *     → 用 id 级 + 两层 body 压过去（(1,2,2)） */
html[data-theme="light"] body #mkAiNavBtn svg,
html[data-theme="light"] body #mkAiNavBtn i{ color:#6f7c8e !important; stroke:currentColor !important; }
html[data-theme="light"] body #mkAiNavBtn{ background:#fff !important; background-image:none !important; border:1px solid #e7ebf0 !important; color:#6f7c8e !important; }
html[data-theme="light"] body #mkAiNavBtn:hover{ background:#f6f8fb !important; color:#263247 !important; }
html[data-theme="light"] body #mkAiNavBtn.active{ background:#eef2fb !important; background-image:none !important; border-color:#cfd9ee !important; color:#3e5aa8 !important; }
html[data-theme="light"] body #mkAiNavBtn.active svg,
html[data-theme="light"] body #mkAiNavBtn.active i{ color:#3e5aa8 !important; }
