/* ============================================================================
   CY1991 后台 · PC 端统一设计系统（2026-09-06 第一阶段）
   ----------------------------------------------------------------------------
   只在 ≥1181px 的桌面浏览器生效；390px / 平板规则一律不碰。
   目标：企业级、克制、清晰。层级靠排版、对齐、留白和一个主色，不靠渐变、光晕、虚线框。
   原则：
   - 不删任何 DOM id、不改业务逻辑；这里只有样式与布局。
   - 令牌只有一套：普通按钮 40 / 紧凑 32 / 图标 36 / 输入 40 / 导航项 52；圆角 10（控件）、12（内嵌卡）、16（面板）。
   - 每个面板至多一个主按钮（蓝底白字），其余是次级（白底描边）或文字。
   - 状态是标签，不是按钮：低矮、无阴影、只在真实语义上着色。
   - 首个样板：AI 销冠列表页 + 分身详情页。其他页面先只吃到全局令牌，逐页迁移。
   选择器都写成 html[data-theme] body … 以稳定压过主样式里 html[data-theme="light"] … 的覆盖链，
   不用 !important（[hidden] 除外，它必须永远赢）。
   ============================================================================ */
@media (min-width:1181px){
  html[data-theme] body{
    --pc-h:40px;--pc-h-compact:32px;--pc-icon:36px;--pc-nav-h:52px;
    --pc-r:10px;--pc-r-card:12px;--pc-r-panel:16px;--pc-r-badge:6px;
    --pc-sidebar:240px;--pc-content:1280px;--pc-pad:32px;--pc-gap:24px;
    --pc-primary:#2563eb;--pc-primary-hover:#1d4ed8;--pc-primary-ink:#ffffff;--pc-primary-soft:rgba(37,99,235,.10);
    --pc-hover:rgba(15,23,42,.045);--pc-line:rgba(15,23,42,.10);--pc-line-strong:rgba(15,23,42,.16);
    --pc-shadow:0 1px 2px rgba(15,23,42,.05);
    --pc-badge-bg:rgba(15,23,42,.06);--pc-badge-ink:#475569;
    --pc-ok-bg:rgba(5,150,105,.10);--pc-ok-ink:#047857;--pc-warn-bg:rgba(217,119,6,.12);--pc-warn-ink:#b45309;--pc-danger:#dc2626;
  }
  html[data-theme="dark"] body{
    --pc-primary:#3b82f6;--pc-primary-hover:#2563eb;--pc-primary-soft:rgba(59,130,246,.16);
    --pc-hover:rgba(255,255,255,.06);--pc-line:rgba(148,163,184,.18);--pc-line-strong:rgba(148,163,184,.30);
    --pc-shadow:0 1px 2px rgba(0,0,0,.30);
    --pc-badge-bg:rgba(255,255,255,.08);--pc-badge-ink:#b9c7d6;
    --pc-ok-bg:rgba(52,211,153,.14);--pc-ok-ink:#6ee7b7;--pc-warn-bg:rgba(251,191,36,.14);--pc-warn-ink:#fcd34d;--pc-danger:#f87171;
  }

  /* ---- 画布：平底，不要网格纹与彩色光斑 ---- */
  html[data-theme] body{background:var(--bg)}
  html[data-theme="light"] body{--bg:#f5f7fb}
  html[data-theme] body::before{display:none}
  html[data-theme] body .app{grid-template-columns:var(--pc-sidebar) minmax(0,1fr)}
  html[data-theme] body .main{max-width:calc(var(--pc-content) + var(--pc-pad) * 2);padding:24px var(--pc-pad) 48px}

  /* ---- 左侧栏：一个高度、一个圆角、一个选中态 ---- */
  html[data-theme] body .sidebar{padding:20px 16px;background:var(--panel);border-right:1px solid var(--pc-line);box-shadow:none;backdrop-filter:none}
  html[data-theme] body .brand{gap:10px;margin-bottom:20px;padding:0 4px}
  html[data-theme] body .logo{width:36px;height:36px;border-radius:10px;box-shadow:none;background:var(--pc-primary);color:#fff;font-size:16px}
  html[data-theme] body .brand b{font-size:15px}
  html[data-theme] body .nav{gap:2px}
  html[data-theme] body .nav > button,html[data-theme] body .nav .nav-section > button{
    min-height:var(--pc-nav-h);padding:0 12px;gap:12px;border-radius:var(--pc-r);border:1px solid transparent;
    background:transparent;color:var(--soft);transform:none;box-shadow:none;transition:background .12s ease
  }
  html[data-theme] body .nav > button:hover,html[data-theme] body .nav .nav-section > button:hover{background:var(--pc-hover);transform:none}
  html[data-theme] body .nav > button.active{background:var(--pc-primary-soft);border-color:transparent;color:var(--ink);box-shadow:none}
  html[data-theme] body .nav .ico,html[data-theme] body .nav .nav-ico{
    width:32px;height:32px;border-radius:8px;box-shadow:none;transform:none;
    background:var(--pc-badge-bg);font-size:13px
  }
  html[data-theme] body .nav .nav-ico:after{display:none}   /* 每个图标右上角那颗黄点：装饰噪声 */
  html[data-theme] body .nav-label{gap:1px}
  html[data-theme] body .nav-label strong{font-size:14px;font-weight:650;letter-spacing:0}
  html[data-theme] body .nav-label small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html[data-theme] body .nav-section-label{padding:14px 12px 6px;font-size:11px;letter-spacing:.06em;color:var(--muted)}
  html[data-theme] body .side-card{border-radius:var(--pc-r-card);box-shadow:none;background:var(--panel2);border:1px solid var(--pc-line)}
  html[data-theme] body .theme-switch{box-shadow:none;background:transparent}

  /* ---- 页头：标题为主，眉标与说明退到次要 ---- */
  html[data-theme] body .top{align-items:center;gap:16px;margin-bottom:var(--pc-gap)}
  html[data-theme] body .eyebrow{font-size:12px;letter-spacing:.02em;text-transform:none;color:var(--muted)}
  html[data-theme] body .title{font-size:26px;line-height:1.2;letter-spacing:-.02em;margin:2px 0 4px;font-weight:700}
  html[data-theme] body .desc{font-size:13px;line-height:1.6;max-width:64em}
  html[data-theme] body .top-actions{gap:8px}

  /* ---- 面板：一层轻阴影，嵌套卡片不再投影，不再套渐变 ---- */
  html[data-theme] body .panel,html[data-theme] body .metric{
    border-radius:var(--pc-r-panel);padding:24px;background:var(--panel);border:1px solid var(--pc-line);box-shadow:var(--pc-shadow)
  }
  html[data-theme] body .panel .panel,html[data-theme] body .panel .module,html[data-theme] body .module{
    border-radius:var(--pc-r-card);box-shadow:none;background:var(--panel2);border:1px solid var(--pc-line)
  }
  html[data-theme] body .panel.section{margin-bottom:var(--pc-gap)}
  html[data-theme] body .module-head{align-items:center;gap:16px}
  html[data-theme] body .h2{font-size:17px;font-weight:700;letter-spacing:-.01em;margin:0 0 4px}
  html[data-theme] body .sub{font-size:13px;line-height:1.55}

  /* ---- 控件：三种高度，一种圆角 ---- */
  html[data-theme] body .btn{
    min-width:0;height:var(--pc-h);min-height:var(--pc-h);padding:0 16px;border-radius:var(--pc-r);
    background:var(--pc-primary);color:var(--pc-primary-ink);font-size:13px;font-weight:650;letter-spacing:0;
    border:1px solid transparent;box-shadow:none;transform:none;overflow:visible;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1
  }
  html[data-theme] body .btn:hover{background:var(--pc-primary-hover);transform:none;filter:none;box-shadow:none}
  html[data-theme] body .btn:disabled{opacity:.5;transform:none;box-shadow:none}
  html[data-theme] body .btn.secondary{background:var(--panel);border-color:var(--pc-line-strong);color:var(--ink);box-shadow:none}
  html[data-theme] body .btn.secondary:hover{background:var(--pc-hover);border-color:var(--pc-line-strong)}
  html[data-theme] body .btn.sales-agent-delete-btn{background:transparent;border-color:transparent;color:var(--pc-danger)}
  html[data-theme] body .btn.sales-agent-delete-btn:hover{background:rgba(220,38,38,.08)}
  html[data-theme] body .mini-btn{
    height:var(--pc-h-compact);min-height:var(--pc-h-compact);padding:0 12px;border-radius:8px;
    background:transparent;border:1px solid var(--pc-line-strong);color:var(--soft);font-size:12px;font-weight:600;
    box-shadow:none;display:inline-flex;align-items:center;justify-content:center;line-height:1
  }
  html[data-theme] body .mini-btn:hover{background:var(--pc-hover);color:var(--ink)}
  html[data-theme] body .input,html[data-theme] body .select{height:var(--pc-h);min-height:var(--pc-h);padding:0 12px;border-radius:var(--pc-r);border:1px solid var(--pc-line-strong);background:var(--panel);color:var(--ink);box-shadow:none;font-size:13px}
  html[data-theme] body .textarea{border-radius:var(--pc-r);border:1px solid var(--pc-line-strong);background:var(--panel);color:var(--ink);box-shadow:none;font-size:13px;padding:10px 12px}
  html[data-theme] body .input:focus,html[data-theme] body .select:focus,html[data-theme] body .textarea:focus{outline:none;border-color:var(--pc-primary);box-shadow:0 0 0 3px var(--pc-primary-soft)}

  /* ---- 状态：标签，不是按钮 ---- */
  html[data-theme] body .pill{
    display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:var(--pc-r-badge);
    background:var(--pc-badge-bg);border:0;color:var(--pc-badge-ink);font-size:12px;font-weight:600;line-height:1;box-shadow:none;white-space:nowrap
  }
  html[data-theme] body .pill[data-sales-state="running"]{background:var(--pc-ok-bg);color:var(--pc-ok-ink)}
  html[data-theme] body .pill[data-sales-state="paused"]{background:var(--pc-warn-bg);color:var(--pc-warn-ink)}
  html[data-theme] body .tag{border-radius:var(--pc-r-badge);padding:0 8px;height:22px;align-items:center;font-size:11px;font-weight:600}

  /* ==========================================================================
     AI 销冠 · 列表页
     - AI 助手排到页面末尾（order），首屏留给分身列表与客户池；
     - 唯一主按钮「＋ 新建销冠分身」放到列表标题行右侧；
     - 列表从"一张张卡片"改成"一张表"；行内动作是紧凑次级按钮。
     ========================================================================== */
  html[data-theme] body #page-sales.active{display:flex;flex-direction:column;gap:var(--pc-gap)}
  html[data-theme] body #page-sales > [hidden]{display:none!important}
  html[data-theme] body #page-sales .top{margin-bottom:0}
  html[data-theme] body #page-sales .panel.section{margin-bottom:0}
  html[data-theme] body #salesAgentListHeader .eyebrow,html[data-theme] body #salesAgentListHeader .desc{display:none}

  /* 助手：收成一个安静的辅助区，排在最后 */
  html[data-theme] body #salesGuideAssistant{order:90;padding:20px 24px;background:var(--panel);border-color:var(--pc-line);box-shadow:var(--pc-shadow)}
  html[data-theme] body #salesGuideAssistant .sales-guide-head{gap:12px}
  html[data-theme] body #salesGuideAssistant .goat-avatar{width:36px;height:36px;transform:none;box-shadow:none}
  html[data-theme] body #salesGuideAssistant .goat-avatar:before,html[data-theme] body #salesGuideAssistant .goat-avatar:after{width:14px;height:14px;top:-5px}
  html[data-theme] body #salesGuideAssistant .eyebrow{display:none}
  html[data-theme] body #salesGuideAssistant .h2{font-size:15px}
  html[data-theme] body #salesGuideAssistant .sub{display:none}
  html[data-theme] body #salesGuideAssistant .module-guide-boundary{margin-top:10px;padding:0;background:transparent;border:0;color:var(--muted);font-size:12px;box-shadow:none}
  html[data-theme] body #salesGuideAssistant .sales-guide-messages{min-height:0;max-height:220px;margin-top:12px;padding:12px;border-radius:var(--pc-r-card);background:var(--panel2);border-color:var(--pc-line)}
  html[data-theme] body #salesGuideAssistant .sales-guide-quick button{height:var(--pc-h-compact);padding:0 12px;border-radius:8px;background:transparent;border:1px solid var(--pc-line-strong);color:var(--soft);font-size:12px;font-weight:600;box-shadow:none}
  html[data-theme] body #salesGuideAssistant .sales-guide-quick button:hover{background:var(--pc-hover);color:var(--ink)}
  html[data-theme] body #salesGuideAssistant .module-guide-upload{margin-top:10px}
  html[data-theme] body #salesGuideAssistant .sales-guide-form{margin-top:10px}
  html[data-theme] body #salesGuideAssistant .sales-guide-form .textarea{min-height:var(--pc-h)}

  /* 分身列表面板：标题行 + 主按钮 | 列表 | 客户池 */
  html[data-theme] body #salesAgentListView{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px var(--pc-gap);align-items:center}
  html[data-theme] body #salesAgentListView > .module-head{grid-column:1;grid-row:1;margin:0}
  html[data-theme] body #salesAgentListView > .module-head .sub{display:none}
  html[data-theme] body #salesAgentListView .sales-agent-manager-body{display:contents}
  html[data-theme] body #salesAgentCreateField{
    grid-column:2;grid-row:1;justify-self:end;display:flex;align-items:center;gap:8px;
    width:auto;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;overflow:visible;cursor:default
  }
  html[data-theme] body #salesAgentCreateField > [hidden]{display:none!important}
  html[data-theme] body #salesAgentCreateTrigger{
    width:auto;height:var(--pc-h);min-height:var(--pc-h);padding:0 16px;border-radius:var(--pc-r);
    background:var(--pc-primary);color:var(--pc-primary-ink);font-size:13px;font-weight:650;white-space:nowrap
  }
  html[data-theme] body #salesAgentCreateTrigger:hover{background:var(--pc-primary-hover)}
  html[data-theme] body #salesAgentCreateField .sales-tenant-field{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:var(--muted);white-space:nowrap}
  html[data-theme] body #salesAgentCreateField .sales-tenant-field .input{width:180px}
  html[data-theme] body #salesAgentCreateNameInput{width:240px}
  html[data-theme] body #salesAgentCreateConfirmBtn{height:var(--pc-h)}
  html[data-theme] body #salesAgentList{grid-column:1/-1;grid-row:2;gap:0;max-height:none;padding:0;overflow:visible;border:1px solid var(--pc-line);border-radius:var(--pc-r-card)}
  html[data-theme] body #salesAgentList .sales-agent-empty{border:0;border-radius:0;padding:28px;color:var(--muted)}
  html[data-theme] body #salesAgentList .sales-agent-item{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;
    min-height:52px;padding:0 12px 0 0;border:0;border-bottom:1px solid var(--pc-line);border-radius:0;background:transparent;box-shadow:none
  }
  html[data-theme] body #salesAgentList .sales-agent-item:last-child{border-bottom:0}
  html[data-theme] body #salesAgentList .sales-agent-item:hover{background:var(--pc-hover)}
  html[data-theme] body #salesAgentList .sales-agent-item.active{background:var(--pc-primary-soft);border-color:var(--pc-line);box-shadow:none}
  html[data-theme] body #salesAgentList .sales-agent-open{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 16px;background:transparent;border:0;color:var(--ink)}
  html[data-theme] body #salesAgentList .sales-agent-open span{display:flex;align-items:baseline;gap:12px;min-width:0}
  html[data-theme] body #salesAgentList .sales-agent-open b{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html[data-theme] body #salesAgentList .sales-agent-open small{font-size:12px;color:var(--muted)}
  html[data-theme] body #salesAgentList .sales-agent-open i{color:var(--muted);font-style:normal}
  html[data-theme] body #salesAgentList .sales-agent-item-actions{display:flex;gap:6px;margin:0}

  /* 客户池：同一面板里的第二段，标题行 + 两个紧凑次级动作 */
  html[data-theme] body #salesCustomerPoolsPanel{grid-column:1/-1;grid-row:3;margin-top:8px;padding-top:var(--pc-gap);border-top:1px solid var(--pc-line)}
  html[data-theme] body #salesCustomerPoolsPanel .module-head .sub{display:none}
  html[data-theme] body #salesCustomerPoolsPanel .crm-profile-refresh-hint{margin:4px 0 0;font-size:12px;color:var(--muted)}
  html[data-theme] body #salesCustomerPoolsPanel .top-actions .btn{height:var(--pc-h-compact);min-height:var(--pc-h-compact);padding:0 12px;font-size:12px}
  html[data-theme] body .sales-inline-create{
    display:flex;align-items:center;justify-content:flex-start;gap:8px;width:auto;min-height:0;margin:12px 0 0;padding:0;
    border:0;border-radius:0;background:none;cursor:default;overflow:visible
  }
  html[data-theme] body .sales-inline-create > [hidden]{display:none!important}
  html[data-theme] body .sales-inline-create-trigger{
    width:auto;height:var(--pc-h);min-height:var(--pc-h);padding:0 16px;border-radius:var(--pc-r);
    background:var(--panel);border:1px solid var(--pc-line-strong);color:var(--ink);font-size:13px;font-weight:650;white-space:nowrap
  }
  html[data-theme] body .sales-inline-create-trigger:hover{background:var(--pc-hover)}

  /* ==========================================================================
     AI 销冠 · 分身详情页
     顶部网格：
       ← 销冠分身列表                （第一行：返回，文字链接）
       分身名称  [状态标签]            （第二行：标题 + 紧贴的状态）
     右侧不放任何按钮：这一页没有全局主动作，不为对称硬塞。
     ========================================================================== */
  html[data-theme] body .sales-agent-detail-header{
    display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;gap:6px 12px;align-items:center;margin-bottom:var(--pc-gap)
  }
  html[data-theme] body .sales-agent-detail-header > div:first-child{grid-column:1;grid-row:2;min-width:0}
  html[data-theme] body .sales-agent-detail-header .eyebrow{display:none}
  html[data-theme] body .sales-agent-detail-header .title{margin:0}
  html[data-theme] body .sales-agent-detail-header .top-actions{display:contents}
  html[data-theme] body #salesAgentBackBtn{
    grid-column:1/-1;grid-row:1;justify-self:start;height:auto;min-height:0;min-width:0;padding:0;
    background:none;border:0;box-shadow:none;color:var(--muted);font-size:13px;font-weight:600
  }
  html[data-theme] body #salesAgentBackBtn:hover{background:none;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
  html[data-theme] body #salesStatusPill{grid-column:2;grid-row:2;justify-self:start}
  html[data-theme] body .sales-delivery-strategy{padding:12px 16px;background:transparent;box-shadow:none;border:1px dashed var(--pc-line-strong)}
  html[data-theme] body .sales-delivery-strategy > summary{font-size:13px}
  html[data-theme] body #salesAgentDetailView .panel.section{margin-bottom:var(--pc-gap)}

  /* ---- 补丁：压过主样式里几条更高特异度的旧规则 ---- */
  html[data-theme] body .top-actions > .btn{height:var(--pc-h);min-height:var(--pc-h)}
  html[data-theme] body .top-actions > .pill,html[data-theme] body .top-actions > .tag{height:26px;min-height:26px;width:auto;grid-column:auto}
  html[data-theme] body .top-actions > .select{height:var(--pc-h);min-height:var(--pc-h);width:auto}
  html[data-theme] body #page-sales > .top #salesStatusPill{height:26px;min-height:26px;width:auto;padding:0 10px;border:0;border-radius:var(--pc-r-badge);background:var(--pc-badge-bg);color:var(--pc-badge-ink)}
  html[data-theme] body #page-sales > .top #salesStatusPill[data-sales-state="running"]{background:var(--pc-ok-bg);color:var(--pc-ok-ink)}
  html[data-theme] body #page-sales > .top #salesStatusPill[data-sales-state="paused"]{background:var(--pc-warn-bg);color:var(--pc-warn-ink)}
  html[data-theme] body #salesAgentCreateField{flex-wrap:nowrap}
  html[data-theme] body #salesTenantField{order:-1}
  html[data-theme] body .sales-agent-item-actions .mini-btn{width:auto;min-width:0;height:var(--pc-h-compact);min-height:var(--pc-h-compact);padding:0 12px}
  html[data-theme] body .sales-add-action{
    display:inline-flex;align-items:center;justify-content:center;width:auto;height:var(--pc-h);min-height:var(--pc-h);margin-top:12px;padding:0 16px;
    border:1px solid var(--pc-line-strong);border-radius:var(--pc-r);background:var(--panel);color:var(--ink);font-size:13px;font-weight:650;transform:none;box-shadow:none
  }
  html[data-theme] body .sales-add-action:hover,html[data-theme] body .sales-add-action:focus-visible{background:var(--pc-hover);border-color:var(--pc-line-strong);transform:none}
  html[data-theme] body .nav > button em,html[data-theme] body .nav .nav-section > button em{
    margin-left:auto;padding:0 6px;height:18px;display:inline-flex;align-items:center;border-radius:var(--pc-r-badge);
    background:var(--pc-badge-bg);color:var(--muted);font-style:normal;font-size:10px;font-weight:600;white-space:nowrap;flex:0 0 auto
  }
  /* 全局 AI 入口：闭合时收进桌面侧栏品牌区，不遮业务工作区。 */
  html[data-theme] body .tutor-widget{left:176px;right:auto;top:20px;bottom:auto;align-items:flex-start}
  html[data-theme] body .tutor-launch{
    width:48px;height:48px;min-width:48px;padding:4px;display:grid;place-items:center;gap:0;
    background:var(--pc-primary);color:#fff;box-shadow:0 6px 20px rgba(37,99,235,.24);
    border-radius:16px;transform:none;filter:none;animation:none
  }
  html[data-theme] body .tutor-launch:hover{transform:none;filter:none;box-shadow:0 8px 24px rgba(37,99,235,.36)}
  html[data-theme] body .tutor-launch .goat-avatar{width:40px;height:40px;border-radius:14px}
  html[data-theme] body .tutor-launch .launch-copy,html[data-theme] body .tutor-launch .launch-badge{display:none}
  html[data-theme] body .tutor-launch .spark{background:rgba(255,255,255,.22)}

  html[data-theme] body .sales-agent-item-actions [data-sales-agent-edit-open]{color:var(--soft);border-color:var(--pc-line-strong);background:transparent}
  html[data-theme] body .sales-agent-item-actions [data-sales-agent-edit-open]:hover{background:var(--pc-hover);color:var(--ink)}
  html[data-theme] body #salesAgentDetailView .sales-actions-panel{max-width:none;margin:0 0 var(--pc-gap)}

  /* ==========================================================================
     第二阶段（2026-09-06）：全后台逐页精修
     原则不变：只在 PC 生效；不删 id、不改逻辑；每页一个标题、一个主动作；
     状态是标签；空态安静；不再有渐变、光斑、虚线大框。
     ========================================================================== */

  /* ---- 侧栏：13 个导航项 + 主题开关在 900px 高的窗口里放不下，之前底部被切掉且不能滚动 ---- */
  html[data-theme] body .sidebar{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--pc-line-strong) transparent;padding:16px 12px 12px}
  html[data-theme] body .sidebar::-webkit-scrollbar{width:6px}
  html[data-theme] body .sidebar::-webkit-scrollbar-thumb{background:var(--pc-line-strong);border-radius:3px}
  html[data-theme] body .brand{margin-bottom:12px}
  html[data-theme] body .nav-section-label{padding:10px 12px 4px}
  html[data-theme] body .side-card{margin-top:auto;padding:8px 10px}
  html[data-theme] body .theme-switch{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 8px;margin:0;padding:0;border:0}
  html[data-theme] body .theme-switch-head{display:flex;align-items:center;gap:6px;min-width:0}
  html[data-theme] body .theme-switch-head b{display:none}
  html[data-theme] body .theme-switch select{min-width:0;width:auto;height:var(--pc-h-compact);padding:0 8px;border-radius:8px;font-size:12px;background:var(--panel);color:var(--ink)}
  html[data-theme] body .theme-switch > span{display:none}

  /* ---- 页头：标题 + 一行说明 | 右侧动作区不再是一个带底色的盒子 ---- */
  html[data-theme] body .top{align-items:flex-start;margin-bottom:20px}
  html[data-theme] body .top > div:first-child{min-width:0}
  html[data-theme] body .top .eyebrow{display:none}
  html[data-theme] body .top .title{font-size:24px;margin:0 0 4px}
  html[data-theme] body .top .desc{margin:0;font-size:13px;color:var(--muted);max-width:60em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html[data-theme] body .top > .top-actions,html[data-theme] body .top > .top-actions:not(.emergency-stop-actions){
    display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:auto;max-width:60%;margin:4px 0 0;padding:0;
    background:none;background-image:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none
  }
  html[data-theme] body .top > .top-actions > [hidden]{display:none!important}
  /* 分身详情页头（第一阶段）：动作区仍是 display:contents，返回与状态各自落进网格，不受上面这条影响 */
  html[data-theme] body .top.sales-agent-detail-header > .top-actions:not(.emergency-stop-actions){display:contents}
  html[data-theme] body .top-actions .btn.secondary{background:var(--panel)}
  html[data-theme] body .top.sentinel-hero{padding:0;background:none;background-image:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
  html[data-theme] body .top.sentinel-hero::before,html[data-theme] body .top.sentinel-hero::after{display:none}

  /* ---- 指标卡：去掉右上角的圆形光斑，数字小一号 ---- */
  html[data-theme] body .metric{padding:20px 22px;overflow:hidden}
  html[data-theme] body .metric:before,html[data-theme] body .metric:after{display:none}
  html[data-theme] body .metric label{font-size:12px;color:var(--muted)}
  html[data-theme] body .metric .num{font-size:28px;letter-spacing:-.02em}
  html[data-theme] body .metric p{font-size:12px;color:var(--muted);margin-top:6px}
  html[data-theme] body .grid4{gap:16px}
  html[data-theme] body .value-card{padding:14px 16px;border-radius:var(--pc-r-card);border:1px solid var(--pc-line);background:var(--panel2);min-height:0;gap:4px}
  html[data-theme] body .value-card strong{font-size:16px}
  html[data-theme] body .value-card span{font-size:12px;color:var(--muted)}

  /* ---- 虚线大框 → 普通的实线区块 ---- */
  html[data-theme] body .ai-community-empty,html[data-theme] body .sentinel-empty,html[data-theme] body .seeding-upload,html[data-theme] body .module-guide-upload,
  html[data-theme] body .material-file-picker,html[data-theme] body .material-chat-upload,html[data-theme] body .account-empty,html[data-theme] body .sales-audience-empty,
  html[data-theme] body .sales-customer-pool-loading,html[data-theme] body .tenant-material-intake.empty,html[data-theme] body .tenant-material-intake.unavailable,
  html[data-theme] body .sales-delivery-strategy,html[data-theme] body .qr-box,html[data-theme] body .recharge-qr-frame,html[data-theme] body .preview-image-preview{
    border-style:solid;border-color:var(--pc-line);border-radius:var(--pc-r-card);background:var(--panel2);box-shadow:none
  }
  html[data-theme] body .ai-community-empty,html[data-theme] body .sentinel-empty,html[data-theme] body .account-empty,html[data-theme] body .sales-audience-empty{padding:16px 18px;color:var(--muted);font-size:13px}
  html[data-theme] body .ai-community-empty b,html[data-theme] body .sentinel-empty b{color:var(--ink);font-size:13px}

  /* ---- 空态与提示：一句话，灰字，不做成卡片里的卡片 ---- */
  html[data-theme] body .module > p:only-child,html[data-theme] body .note,html[data-theme] body .trigger{font-size:13px;color:var(--muted);line-height:1.6}
  html[data-theme] body .trigger{padding:12px 14px;border:1px solid var(--pc-line);border-radius:var(--pc-r-card);background:var(--panel2);box-shadow:none}
  html[data-theme] body .trigger b{color:var(--ink);font-size:13px}
  html[data-theme] body .crm-profile-refresh-hint{font-size:12px;color:var(--muted)}

  /* ---- 选项卡：下划线，不是一排凸起的按钮 ---- */
  html[data-theme] body .ai-ops-touchpoint-tabs,html[data-theme] body .ai-ops-broadcast-mode-tabs{display:flex;gap:20px;margin:0 0 16px;padding:0;border:0;border-bottom:1px solid var(--pc-line);background:none;border-radius:0;box-shadow:none}
  html[data-theme] body .ai-ops-touchpoint-tabs button,html[data-theme] body .ai-ops-broadcast-mode-tabs button{
    height:36px;min-height:36px;margin:0 0 -1px;padding:0 2px;border:0;border-bottom:2px solid transparent;border-radius:0;
    background:none;color:var(--muted);font-size:13px;font-weight:600;box-shadow:none;transform:none;width:auto
  }
  html[data-theme] body .ai-ops-touchpoint-tabs button:hover,html[data-theme] body .ai-ops-broadcast-mode-tabs button:hover{background:none;color:var(--ink)}
  html[data-theme] body .ai-ops-touchpoint-tabs button.active,html[data-theme] body .ai-ops-broadcast-mode-tabs button.active{color:var(--pc-primary);border-bottom-color:var(--pc-primary);background:none}
  html[data-theme] body .ai-ops-touchpoint-tabs{margin-top:var(--pc-gap)}

  /* ---- 零散的老尺寸 ---- */
  /* 退出登录保留 44px：ops/e2e/test_auth_account_switch.py 把它当触控合同守着，不为整齐破合同 */
  html[data-theme] body #page-home .dashboard-logout-btn{width:auto;grid-column:auto;margin:0}
  html[data-theme] body .test-cases .case-btn{height:var(--pc-h-compact);min-height:var(--pc-h-compact);padding:0 12px;border-radius:8px;font-size:12px;font-weight:600;box-shadow:none}
  html[data-theme] body .simulator-prompt-strip .case-btn{min-height:var(--pc-h-compact)!important;padding:0 12px!important;border-radius:8px!important}
  html[data-theme] body .module-guide-assistant .sales-guide-quick button{height:var(--pc-h-compact);min-height:var(--pc-h-compact);padding:0 12px;border-radius:8px;background:transparent;border:1px solid var(--pc-line-strong);color:var(--soft);font-size:12px;font-weight:600;box-shadow:none}
  html[data-theme] body .module-guide-assistant .sales-guide-quick button:hover{background:var(--pc-hover);color:var(--ink)}
  html[data-theme] body .module-guide-admin-entry{
    height:36px;min-height:36px;padding:0 10px;gap:8px;border-radius:8px;border:1px solid var(--pc-line-strong);background:transparent;box-shadow:none;transform:none
  }
  html[data-theme] body .module-guide-admin-entry:hover{background:var(--pc-hover);transform:none;box-shadow:none}
  html[data-theme] body .module-guide-prompt-icon{width:22px;height:22px;border-radius:6px;font-size:10px;background:var(--pc-primary-soft);color:var(--pc-primary);box-shadow:none}
  html[data-theme] body .module-guide-prompt-copy small{display:none}
  html[data-theme] body .module-guide-prompt-copy b{font-size:12px;font-weight:650}
  html[data-theme] body .module-guide-prompt-state{height:20px;padding:0 6px;border-radius:var(--pc-r-badge);font-size:11px}

  /* ---- 几处渐变底 → 平底 ---- */
  html[data-theme] body .managed-prompt-card,html[data-theme] body .material-library-head,html[data-theme] body .onboarding-guide,html[data-theme] body .workbench-messages,
  html[data-theme] body .seeding-touch,html[data-theme] body .sentinel-role-strip > div{background-image:none;box-shadow:none}
  html[data-theme] body .managed-prompt-card,html[data-theme] body .material-library-head{background:var(--panel2);border:1px solid var(--pc-line);border-radius:var(--pc-r-card)}
  html[data-theme] body .managed-prompt-card{grid-template-columns:168px minmax(0,1fr);gap:20px;padding:20px}
  html[data-theme] body .onboarding-guide{background:var(--panel)}
  html[data-theme] body .workbench-messages{background:var(--panel2)}
  html[data-theme] body .boss-one-line-mark{background:var(--pc-primary);background-image:none;box-shadow:none;border-radius:var(--pc-r-card)}

  /* ==========================================================================
     首页驾驶舱：指标 → 对比 → 账号 → 日报。头部只剩标题、日期标签、刷新、一个主按钮。
     ========================================================================== */
  html[data-theme] body #page-home .grid2,html[data-theme] body #page-home .grid3{gap:var(--pc-gap)}
  html[data-theme] body .dashboard-kpis .metric:nth-child(3),html[data-theme] body .dashboard-kpis .metric:nth-child(4){border-color:var(--pc-line);background:var(--panel);background-image:none}
  html[data-theme] body .dashboard-kpis .metric:nth-child(3) .num{color:var(--pc-ok-ink)}
  /* 账号运行状态：一行一个账号，状态用左侧 3px 色条 + 标签表达，不再整块染色 */
  html[data-theme] body .account-list .account-card,html[data-theme] body .account-list .account-card.status-online,html[data-theme] body .account-list .account-card.status-offline,
  html[data-theme] body .account-list .account-card.status-unknown,html[data-theme] body .account-list .account-card.status-restricted,
  html[data-theme] body .account-list .account-card.status-expired,html[data-theme] body .account-list .account-card.status-banned{
    padding:14px 16px 14px 20px;border-radius:var(--pc-r-card);border-width:1px 1px 1px 3px;border-style:solid;border-color:var(--pc-line);
    background-color:var(--panel2);background-image:none;box-shadow:none
  }
  /* 主样式里给状态小标签写的 .status-online{…!important} 也会命中整张账号卡，只能同样用 !important 压回去 */
  html[data-theme] body .account-list .account-card[class*="status-"]{background:var(--panel2)!important;border-color:var(--pc-line)!important;color:var(--ink)!important}
  html[data-theme] body .account-list .account-card.status-online{border-left-color:#10b981!important}
  html[data-theme] body .account-list .account-card.status-restricted,html[data-theme] body .account-list .account-card.status-expired{border-left-color:#f59e0b!important}
  html[data-theme] body .account-list .account-card.status-banned{border-left-color:var(--pc-danger)!important}
  html[data-theme] body .account-list .account-card.status-offline,html[data-theme] body .account-list .account-card.status-unknown{border-left-color:var(--pc-line-strong)!important}
  /* 客户侧未开通角色的「只读」角标：一个小标签，不换行 */
  html[data-theme] body .nav [data-required-role].entitlement-locked:after{
    flex:0 0 auto;margin-left:auto;height:18px;padding:0 6px;display:inline-flex;align-items:center;white-space:nowrap;
    border:0;border-radius:var(--pc-r-badge);background:var(--pc-warn-bg);color:var(--pc-warn-ink);font-size:10px;font-weight:600
  }

  /* ==========================================================================
     AI 顾问：页头右侧只剩「余额 · 刷新 · 充值 | 状态 · 一键停止」一行；
     助手排到最后；平台母提示词卡与知识库头去渐变。
     ========================================================================== */
  html[data-theme] body #page-consultant.active{display:flex;flex-direction:column;gap:var(--pc-gap)}
  html[data-theme] body #page-consultant > [hidden]{display:none!important}
  html[data-theme] body #page-consultant > .top,html[data-theme] body #page-consultant > .panel.section,html[data-theme] body #page-consultant > .section{margin-bottom:0}
  html[data-theme] body #page-consultant > .top > div:first-child{flex:1 1 300px}
  html[data-theme] body .consultant-top-tools{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 16px;margin-top:4px}
  html[data-theme] body .consultant-top-tools > [hidden]{display:none!important}
  html[data-theme] body .model-balance-card{
    display:flex;align-items:center;gap:8px;width:auto;min-width:0;margin:0;padding:0 12px 0 0;border:0;border-right:1px solid var(--pc-line);border-radius:0;
    background:none;background-image:none;box-shadow:none
  }
  html[data-theme] body .model-balance-card:before,html[data-theme] body .model-balance-card:after{display:none}
  html[data-theme] body .model-balance-card small{font-size:12px;color:var(--muted);white-space:nowrap}
  html[data-theme] body .model-balance-card strong{font-size:15px;font-weight:700;margin:0;white-space:nowrap}
  html[data-theme] body .model-balance-card > span{display:none}
  html[data-theme] body .model-balance-card .top-actions{display:flex;gap:6px;margin:0;padding:0;width:auto;background:none;border:0;box-shadow:none}
  html[data-theme] body .top-actions.emergency-stop-actions{display:flex;align-items:center;gap:8px;width:auto;margin:0;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
  html[data-theme] body .emergency-stop-pill{height:26px;min-height:26px;width:auto}
  html[data-theme] body .btn.emergency-stop-btn{background:var(--panel);border-color:rgba(220,38,38,.4);color:var(--pc-danger);box-shadow:none;height:var(--pc-h);min-height:var(--pc-h);width:auto}
  html[data-theme] body .btn.emergency-stop-btn:disabled{background:var(--panel);border-color:rgba(220,38,38,.4);color:var(--pc-danger)!important}
  html[data-theme] body .btn.emergency-stop-btn:hover{background:rgba(220,38,38,.06);border-color:var(--pc-danger)}
  html[data-theme] body #consultantGuideAssistant{order:90;padding:20px 24px;background:var(--panel);border-color:var(--pc-line);box-shadow:var(--pc-shadow)}
  html[data-theme] body #consultantGuideAssistant .sales-guide-head{gap:12px}
  html[data-theme] body #consultantGuideAssistant .goat-avatar{width:36px;height:36px;transform:none;box-shadow:none}
  html[data-theme] body #consultantGuideAssistant .goat-avatar:before,html[data-theme] body #consultantGuideAssistant .goat-avatar:after{width:14px;height:14px;top:-5px}
  html[data-theme] body #consultantGuideAssistant .eyebrow,html[data-theme] body #consultantGuideAssistant .sub{display:none}
  html[data-theme] body #consultantGuideAssistant .h2{font-size:15px}
  html[data-theme] body #consultantGuideAssistant .module-guide-boundary{margin-top:10px;padding:0;background:transparent;border:0;color:var(--muted);font-size:12px;box-shadow:none}
  html[data-theme] body #consultantGuideAssistant .sales-guide-messages{min-height:0;max-height:220px;margin-top:12px;padding:12px;border-radius:var(--pc-r-card);background:var(--panel2);border-color:var(--pc-line)}
  html[data-theme] body #consultantGuideAssistant .module-guide-upload,html[data-theme] body #consultantGuideAssistant .sales-guide-form{margin-top:10px}
  html[data-theme] body #consultantGuideAssistant .sales-guide-form .textarea{min-height:var(--pc-h)}

  /* ==========================================================================
     AI 私域哨兵：去掉头部的渐变横幅与圆形光晕；三段流程条收成一行低矮的分段。
     ========================================================================== */
  html[data-theme] body .sentinel-activation-runtime{padding:10px 14px;border-radius:var(--pc-r-card);background:var(--panel2);border:1px solid var(--pc-line);box-shadow:none}
  html[data-theme] body .sentinel-activation-runtime > span{height:22px;padding:0 8px;border-radius:var(--pc-r-badge);background:var(--pc-badge-bg);color:var(--pc-badge-ink);font-size:11px;font-weight:600}
  html[data-theme] body .sentinel-role-strip{gap:12px;margin:0 0 var(--pc-gap)}
  html[data-theme] body .sentinel-role-strip > div{padding:12px 16px;border:1px solid var(--pc-line);border-radius:var(--pc-r-card);background:var(--panel)}
  html[data-theme] body .sentinel-role-strip > div.active{background:var(--pc-primary-soft);border-color:transparent}
  html[data-theme] body .sentinel-role-strip small{font-size:11px;color:var(--muted)}
  html[data-theme] body .sentinel-role-strip b{font-size:14px}
  html[data-theme] body .sentinel-role-strip span{font-size:12px;color:var(--muted)}

  /* ==========================================================================
     AI 获客：动作按钮按内容宽度靠左排，主按钮只有一个；禁用态不再是一块灰蓝色。
     ========================================================================== */
  html[data-theme] body .acquisition-actions{display:flex;justify-content:flex-start;gap:8px;margin-top:16px;padding:0;background:none;border:0;box-shadow:none}
  html[data-theme] body .acquisition-actions .btn{width:auto}
  html[data-theme] body .acquisition-actions .btn:disabled{background:var(--pc-primary);color:var(--pc-primary-ink);opacity:.4}
  html[data-theme] body .acquisition-actions .btn.secondary:disabled{background:var(--panel);color:var(--ink)}
  html[data-theme] body .ai-ops-task-layers{display:grid;gap:4px;margin-top:8px}
  html[data-theme] body .ai-ops-layer-head{display:flex;align-items:baseline;gap:8px;margin:16px 0 8px}
  html[data-theme] body .ai-ops-layer-head b{font-size:14px;font-weight:700}
  html[data-theme] body .ai-ops-layer-head span{font-size:12px;color:var(--muted)}
  html[data-theme] body .ai-community-panel,html[data-theme] body .ai-community-radar{background:var(--panel);background-image:none;border-color:var(--pc-line)}
  html[data-theme] body .ai-community-rule-strip{gap:12px}
  html[data-theme] body .ai-community-rule-strip > div{padding:12px 16px;border:1px solid var(--pc-line);border-radius:var(--pc-r-card);background:var(--panel2);background-image:none;box-shadow:none}
  html[data-theme] body .ai-community-rule-strip b{font-size:15px;color:var(--ink)}
  html[data-theme] body .ai-community-rule-strip span{font-size:12px;color:var(--muted)}
  html[data-theme] body .ai-community-capability{height:22px;padding:0 8px;border-radius:var(--pc-r-badge);border:0;background:var(--pc-badge-bg);color:var(--pc-badge-ink);font-size:11px;font-weight:600;box-shadow:none}
  html[data-theme] body .ai-community-capability.pending{background:var(--pc-warn-bg);color:var(--pc-warn-ink)}
  html[data-theme] body .ai-community-group-icon{background:var(--pc-primary-soft);background-image:none;color:var(--pc-primary);border-radius:8px;box-shadow:none}

  /* ==========================================================================
     矩阵聊天：页头动作退成次级一排，一个主按钮；三栏面板标题小一号。
     ========================================================================== */
  /* 矩阵聊天的动作太多，页头改成两行：标题行 | 状态标签 + 次级动作 …… 唯一主按钮靠右 */
  html[data-theme] body #page-workbench > .top{flex-direction:column;align-items:stretch;gap:12px}
  html[data-theme] body #page-workbench > .top > .top-actions{width:100%;max-width:none;justify-content:flex-start;margin:0}
  html[data-theme] body #page-workbench > .top #workbenchResumeBtn{margin-left:auto}
  html[data-theme] body .workbench-review-count{margin-left:4px;height:18px;min-width:18px;padding:0 5px;border-radius:9px;background:var(--pc-primary);color:#fff;font-size:11px}
  html[data-theme] body .workbench-column .h2,html[data-theme] body .workbench-side .h2{font-size:16px}
  html[data-theme] body .workbench-list-head{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html[data-theme] body .workbench-list-head > .input{grid-column:1/-1}
  html[data-theme] body .workbench-list-head > .select{width:100%}

  /* ==========================================================================
     AI 私域种草官：这一页没有 .top，用 .seeding-head 充当页头，按同一规格排。
     ========================================================================== */
  html[data-theme] body .module-head.seeding-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 20px}
  html[data-theme] body .seeding-head .h2{font-size:24px;line-height:1.2;letter-spacing:-.02em;margin:0 0 4px}
  html[data-theme] body .seeding-head .sub{margin:0;font-size:13px;color:var(--muted)}
  html[data-theme] body .seeding-demo-link{flex:0 0 auto;flex-direction:row;height:var(--pc-h);min-height:var(--pc-h);padding:0 16px;margin-top:4px}
  html[data-theme] body .seeding-demo-link small{display:none}
  html[data-theme] body .seeding-upload{padding:14px 16px}
  html[data-theme] body .seeding-touch{border:1px solid var(--pc-line);border-radius:var(--pc-r-card);background:var(--panel2)}
  html[data-theme] body .seeding-touch:has(input:checked){border-color:var(--pc-primary);background:var(--pc-primary-soft)}

  /* ==========================================================================
     资料准备 / 合同中心 / 机构详情 / 审核：吃统一页头；进度条与文件选择框变成安静的实线块。
     ========================================================================== */
  html[data-theme] body .contract-progress{gap:8px;margin:0 0 var(--pc-gap)}
  html[data-theme] body .contract-progress span{min-height:36px;padding:0 10px;border-radius:8px;background:var(--panel);border:1px solid var(--pc-line);color:var(--muted);font-size:12px;font-weight:600}
  html[data-theme] body .contract-progress span.active{background:var(--pc-primary-soft);border-color:transparent;color:var(--pc-primary)}
  html[data-theme] body .material-intake-card.required:before{background:var(--pc-primary);background-image:none;width:3px}
  html[data-theme] body .material-intake-bound{display:flex;align-items:center;gap:14px;padding:16px 20px}
  html[data-theme] body .material-intake-bound-mark{width:36px;height:36px;border-radius:10px;background:var(--pc-primary-soft);color:var(--pc-primary);box-shadow:none;font-size:14px}
  html[data-theme] body .material-file-picker{padding:14px 16px}
  html[data-theme] body .material-file-picker em{height:var(--pc-h-compact);padding:0 12px;border-radius:8px;border:1px solid var(--pc-line-strong);background:var(--panel);color:var(--ink);font-size:12px;font-weight:600;font-style:normal;display:inline-flex;align-items:center;box-shadow:none}
  /* 审核页优惠券动作：主样式为移动触控保留 42/44px；PC 统一回 40px。 */
  html[data-theme] body #contractCouponCreateBtn,
  html[data-theme] body #contractCouponList .contract-coupon-actions .btn{height:var(--pc-h);min-height:var(--pc-h)}

  /* ==========================================================================
     AI 顾问页精修（Adam 2026-09-07 反馈）
     ========================================================================== */
  /* 页头：状态标签与「一键停止」同高同圆角，看起来是一对 */
  html[data-theme] body #page-consultant .emergency-stop-actions .pill,html[data-theme] body #page-consultant .emergency-stop-pill{height:var(--pc-h);min-height:var(--pc-h);padding:0 14px;border-radius:var(--pc-r)}
  /* 生产模型灰度：吃令牌；revision 与路由文本可换行 */
  html[data-theme] body #page-consultant .model-switch-panel .eyebrow{display:none}
  html[data-theme] body #page-consultant .model-switch-routes,html[data-theme] body #page-consultant #modelSwitchRoutes,html[data-theme] body #page-consultant #modelSwitchRevisionPill{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
  html[data-theme] body #page-consultant #modelSwitchRevisionPill{height:auto;min-height:26px;padding:4px 10px;line-height:1.3}
  html[data-theme] body #page-consultant .model-switch-panel .module-head{flex-wrap:wrap;gap:8px}
  /* 春阳手调版本：一个标题、一个框、一个保存，状态是标签 */
  html[data-theme] body #page-consultant .managed-prompt-card{display:block}
  html[data-theme] body #page-consultant .managed-prompt-copy .module-head p,html[data-theme] body #page-consultant .managed-prompt-meta,html[data-theme] body #page-consultant .managed-prompt-replacement > label{display:none}
  html[data-theme] body #page-consultant .managed-prompt-copy{margin-bottom:10px}
  html[data-theme] body #page-consultant #managedPromptReplacementState{display:inline-flex;align-items:center;width:auto;flex:0 0 auto;height:26px;padding:0 10px;border-radius:var(--pc-r-badge);background:var(--pc-badge-bg);color:var(--pc-badge-ink);font-size:12px;font-weight:600;line-height:1}
  /* AI 发图：只剩标题、表单、保存 */
  html[data-theme] body #page-consultant .material-count-chip,html[data-theme] body #page-consultant .material-library-icon{display:none}
  html[data-theme] body #page-consultant .material-library-head{padding:0 0 12px;background:none;border:0;border-radius:0}
  html[data-theme] body #page-consultant .material-library-title{display:block}
  html[data-theme] body #page-consultant .material-library-title h3{font-size:16px;font-weight:700;margin:0;white-space:nowrap}
  html[data-theme] body #page-consultant .module-guide-prompt-copy b,html[data-theme] body #page-consultant .module-guide-prompt-state{white-space:nowrap}
  html[data-theme] body #page-consultant .model-switch-key .field > span{font-size:13px;font-weight:600;color:var(--soft)}
  html[data-theme] body #page-consultant #modelSwitchScopeText{margin:4px 0 0;color:var(--muted)}
  /* AI playground：标题 + 场景按钮 + 对话，不解释 */
  html[data-theme] body #page-consultant .simulator-studio-status small,html[data-theme] body #page-consultant .simulator-prompt-label small,html[data-theme] body #page-consultant .simulator-studio-icon{display:none}
  /* 助手：母提示词入口内容垂直居中，去掉「AI」小方块；输入框与发送同高；常驻知识来源不再展示 */
  html[data-theme] body #page-consultant .module-guide-admin-entry{display:inline-flex;align-items:center;gap:8px;width:auto;min-width:0;line-height:1;grid-template-columns:none}
  html[data-theme] body #page-consultant .module-guide-prompt-copy{display:inline-flex;align-items:center;min-width:0;max-width:none}
  html[data-theme] body #page-consultant .module-guide-prompt-icon,html[data-theme] body #page-consultant .module-guide-knowledge{display:none}
  html[data-theme] body #page-consultant .module-guide-prompt-state,html[data-theme] body #page-consultant .module-guide-prompt-copy b{display:inline-flex;align-items:center}
  html[data-theme] body #page-consultant .sales-guide-form{align-items:center}
  html[data-theme] body #page-consultant .sales-guide-form .textarea{min-height:var(--pc-h);height:var(--pc-h);max-height:160px;padding:0 12px;line-height:calc(var(--pc-h) - 2px);resize:none}
  html[data-theme] body #page-consultant .sales-guide-form .btn{min-width:0}
  html[data-theme] body #page-consultant .consultant-pc-copy[hidden]{display:inline!important}
  html[data-theme] body #page-consultant .consultant-legacy-copy,
  html[data-theme] body #page-consultant .material-library-title .eyebrow,
  html[data-theme] body #page-consultant .material-library-title .sub,
  html[data-theme] body #page-consultant #aiOpsKnowledgeLibraryPanel .field-help,
  html[data-theme] body #page-consultant .simulator-studio-title .sub,
  html[data-theme] body #page-consultant .module-guide-prompt-copy small,
  html[data-theme] body #page-consultant #consultantResponseWindowPanel .field > label,
  html[data-theme] body #page-consultant #consultantResponseWindowPanel .field > .note{display:none}
}
