/* ============================================================
   网格工作台 V4 · 多分局门户升级（测试版专用样式）
   仅测试版 test-v4 加载；正式版上线合并后再决定是否并入主样式
   ============================================================ */

/* 门户模式：隐藏分局工作台的四 Tab 栏与 PC 侧栏 */
body.v4-portal .tabbar,
body.v4-portal .desk-side { display: none !important; }

/* 顶栏“返回门户”按钮 */
.tb-back {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12);
  color: #fff; border-radius: 20px; padding: 4px 12px 4px 8px;
  font-size: 13px; line-height: 1.4; cursor: pointer; margin-right: 8px;
  white-space: nowrap;
}
.tb-back:active { background: rgba(255,255,255,.25); }
.tb-back-ico { font-size: 16px; line-height: 1; }

/* ---- V4 门户视图 ---- */
.v4-view { padding-bottom: 26px; }

.v4-hero {
  background: linear-gradient(120deg, #00457f 0%, #0067b8 55%, #0086d9 100%);
  border-radius: 0 0 18px 18px; margin: -4px -2px 0; padding: 30px 20px 22px;
  color: #fff; text-align: center;
}
.v4-hero-chip {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-size: 11px; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
  letter-spacing: .5px;
}
.v4-hero h1 { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.v4-hero p  { font-size: 13px; opacity: .92; margin-top: 6px; }

/* 两大菜单卡 */
.v4-menu { padding: 16px 14px 4px; display: flex; flex-direction: column; gap: 12px; }
.v4-menu-card {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: #fff; border: 1px solid #e4eaf2; border-radius: 14px;
  padding: 16px 14px; box-shadow: 0 2px 10px rgba(9,30,66,.06);
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.v4-menu-card:active { transform: scale(.985); box-shadow: 0 1px 4px rgba(9,30,66,.1); }
.vmc-ico {
  width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; background: #e6f4ff;
}
.v4-menu-card:nth-child(2) .vmc-ico { background: #fff3e6; }
.vmc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vmc-txt b { font-size: 17px; color: #172b4d; }
.vmc-txt em { font-style: normal; font-size: 12px; color: #7a869a; }
.vmc-arrow { color: #c1c9d4; font-size: 22px; }

.v4-portal-user {
  margin: 12px 14px 0; padding: 10px 14px; background: #e6f4ff;
  border-radius: 10px; font-size: 13px; color: #005bac; text-align: center;
}
.v4-portal-tip {
  margin: 10px 14px 0; padding: 10px 12px; background: #fff7ed;
  border: 1px solid #ffd8b0; border-radius: 10px; font-size: 12px;
  color: #92400e; line-height: 1.7;
}

/* ---- 网格登入（四分局选择） ---- */
.v4-branch-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 6px 14px 20px;
}
.v4-branch-card {
  background: #fff; border: 1px solid #e4eaf2; border-radius: 14px;
  padding: 16px 12px 12px; text-align: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(9,30,66,.05); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform .12s ease;
}
.v4-branch-card:active { transform: scale(.97); }
.v4-branch-card .bb-live { position:absolute; top:8px; right:8px; background:#0e7a52; color:#fff; font-size:10px; border-radius:10px; padding:1px 7px; }
.v4-branch-card .bb-demo { position:absolute; top:8px; right:8px; background:#f0f4f8; color:#7a869a; font-size:10px; border-radius:10px; padding:1px 7px; }
.v4-branch-card .bb-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#0070c0,#00a0e9); color:#fff; font-size: 22px;
}
.v4-branch-card b { font-size: 16px; color: #172b4d; }
.v4-branch-card .bb-leader { font-size: 11px; color: #5e6c84; }
.v4-branch-card .bb-note { font-size: 11px; color: #7a869a; margin-top: 2px; }

/* ---- 分局骨架提示条（都城/连滩/千官） ---- */
.v4-skel-note {
  margin: 10px 12px 0; padding: 9px 12px; background: #fff7ed;
  border: 1px solid #ffd8b0; color: #92400e; border-radius: 10px;
  font-size: 12px; line-height: 1.65;
}

/* 桌面适配 */
@media (min-width: 768px) {
  .v4-hero { border-radius: 0 0 18px 18px; padding: 42px 20px 30px; }
  .v4-hero h1 { font-size: 26px; }
  .v4-menu { flex-direction: row; justify-content: center; gap: 20px; padding: 28px 20px 6px; }
  .v4-menu-card { max-width: 340px; }
  .v4-branch-grid { grid-template-columns: repeat(4, 1fr); padding: 16px 20px 30px; }
  .v4-portal-user, .v4-portal-tip { max-width: 720px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
 * 晨会工作填报（V4 · 按金山文档模板）
 * ============================================================ */
.mr-card { padding: 18px 16px 22px; }
.mr-form-title { text-align: center; font-size: 20px; font-weight: 700; color: #1a1a1a; padding: 6px 0 14px; }
.mr-group { background: #f7fafd; border: 1px solid #e3edf6; border-radius: 12px; padding: 14px 12px 6px; margin-bottom: 14px; }
.mr-group-title { font-size: 15px; font-weight: 700; color: #0070c0; margin: 0 0 10px 2px; }
.mr-group-sub { font-size: 12px; font-weight: 400; color: #8a97a5; }
.mr-field { margin-bottom: 14px; }
.mr-label { display: block; font-size: 14px; color: #333; font-weight: 600; margin-bottom: 6px; line-height: 1.5; }
.mr-req { color: #e34d59; }
.mr-hint { font-size: 12px; color: #9aa6b2; margin: -3px 0 6px; line-height: 1.5; }
.mr-select, .mr-input {
  width: 100%; box-sizing: border-box; padding: 11px 12px; font-size: 15px; color: #333;
  background: #fff; border: 1px solid #d6dfe8; border-radius: 8px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.mr-select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2399a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.mr-select:focus, .mr-input:focus { border-color: #0070c0; box-shadow: 0 0 0 2px rgba(0,112,192,.12); }
.mr-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 42px; padding: 6px; background: #fff; border: 1px solid #d6dfe8; border-radius: 8px; }
.mr-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font-size: 13px;
  color: #455; background: #eef3f8; border: 1px solid #d6dfe8; border-radius: 16px; cursor: pointer;
  user-select: none; -webkit-user-select: none; transition: all .15s;
}
.mr-chip:active { transform: scale(.96); }
.mr-chip.on { color: #fff; background: #0070c0; border-color: #0070c0; }
.mr-chip.on::after { content: "✕"; font-size: 11px; opacity: .85; }
.mr-chip-empty { font-size: 12px; color: #9aa6b2; align-self: center; padding-left: 6px; }
.mr-num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; padding-bottom: 8px; }
.mr-num-item .mr-label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.mr-num-item .mr-hint { margin: -1px 0 4px; font-size: 11px; }
.mr-num-item .mr-input { padding: 9px 10px; font-size: 15px; text-align: left; }
.mr-submit { width: 100%; margin-top: 4px; background: #009489; border-color: #009489; }
.mr-foot-hint { font-size: 12px; color: #9aa6b2; text-align: center; margin-top: 10px; line-height: 1.6; }
@media (min-width: 768px) {
  .mr-card { max-width: 720px; margin: 0 auto; }
  .mr-num-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
 * V4 导航重构（2026-09-08：取消门户 · 晨会看板入侧栏 · 四分局分组）
 * ============================================================ */

/* ---- PC 侧栏：晨会看板与分局区之间的分隔线 ---- */
.side-nav .v4-side-divider {
  height: 1px;
  background: rgba(255,255,255,.14);
  margin: 10px 6px;
  flex: 0 0 auto;
}

/* ---- 侧栏四分局分组 ---- */
.v4-group { margin: 1px 0; }
.v4-group-head {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 14px;
  border: none; background: transparent;
  color: rgba(255,255,255,.85); font-size: 14px;
  border-radius: 10px; cursor: pointer; text-align: left;
}
.v4-group-head:hover { background: rgba(255,255,255,.08); color: #fff; }
.v4-group.open .v4-group-head { color: #fff; font-weight: 600; background: rgba(255,255,255,.06); }
.v4-arrow {
  margin-left: auto; font-size: 12px; color: rgba(255,255,255,.5);
  transition: transform .15s; flex: 0 0 auto;
}
.v4-group.open .v4-arrow { transform: rotate(90deg); color: rgba(255,255,255,.9); }
.v4-sub-wrap { display: none; padding: 2px 0 4px; }
.v4-group.open .v4-sub-wrap { display: block; }
.v4-sub {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 14px 9px 42px;
  border: none; background: transparent;
  color: rgba(255,255,255,.72); font-size: 13px;
  border-radius: 8px; cursor: pointer; text-align: left;
}
.v4-sub:hover { background: rgba(255,255,255,.08); color: #fff; }
.v4-sub.active { background: rgba(255,255,255,.94); color: #0a4d8c; font-weight: 600; }

/* ---- 手机端：分局切换条（PC 隐藏） ---- */
.v4-branch-chips { display: none; }

/* ---- 晨会看板 iframe 容器 ---- */
.v4-cap-frame {
  background: #f5f8fb;
  border: 1px solid #e3edf6;
  border-radius: 12px;
  overflow: hidden;
}
.v4-cap-frame iframe { display: block; width: 100%; height: calc(100vh - 230px); min-height: 480px; }

@media (max-width: 767.98px) {
  .v4-branch-chips {
    display: flex; gap: 6px;
    padding: 8px 12px 2px;
    background: #f2f7fc;
  }
  .v4-branch-chips button {
    flex: 1; padding: 9px 2px;
    border: 1px solid #d6dfe8; border-radius: 10px;
    background: #fff; color: #4a5a6a;
    font-size: 12.5px; font-weight: 600; line-height: 1.2;
    cursor: pointer; white-space: nowrap;
  }
  .v4-branch-chips button .ch-ico { font-size: 12px; }
  .v4-branch-chips button.active { background: #0070c0; border-color: #0070c0; color: #fff; }
  .v4-cap-frame iframe { height: calc(100vh - 300px); min-height: 420px; }
}

/* ============================================================
 * V4 手机端导航 v2（2026-09-08 聪哥拍板方案A：
 * 底部Tab含晨会看板 + 顶栏分局胶囊 + 弹层切换；PC 侧栏不变）
 * ============================================================ */
.v4-branch-pill { display: none; }
.v4-branch-pill .v4-pill-caret { font-size: 12px; opacity: .9; margin-left: 1px; }

/* ---- 分局切换底部弹层 ---- */
.v4-sheet-mask {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(10, 20, 32, .45);
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.v4-sheet-mask.open { opacity: 1; pointer-events: auto; }
.v4-sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 601;
  width: 100%; max-width: 480px;
  transform: translate(-50%, 105%); transition: transform .22s ease-out;
  background: transparent; pointer-events: none;
}
.v4-sheet.open { transform: translate(-50%, 0); pointer-events: auto; }
.v4-sheet-inner {
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom, 0px));
}
.v4-sheet-handle { width: 34px; height: 4px; border-radius: 2px; background: #d6dde4; margin: 4px auto 2px; }
.v4-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 8px; }
.v4-sheet-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.v4-sheet-close {
  width: 28px; height: 28px; border: none; background: #f1f4f7; color: #5f6b78;
  font-size: 15px; border-radius: 50%; line-height: 1; cursor: pointer;
}
.v4-sheet-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 12px; margin-bottom: 8px;
  background: #fff; border: 1px solid #e3e8ee; border-radius: 12px;
  cursor: pointer; text-align: left; transition: all .12s;
}
.v4-sheet-row:active { transform: scale(.985); }
.v4-sheet-row.cur { background: #e6f1fb; border-color: #0070c0; }
.v4-sheet-row .rs-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  background: #eef3f8; color: #0070c0; display: flex; align-items: center; justify-content: center;
}
.v4-sheet-row.cur .rs-ico { background: #0070c0; color: #fff; }
.v4-sheet-row .rs-txt { flex: 1; min-width: 0; }
.v4-sheet-row .rs-name { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.v4-sheet-row .rs-leader { font-size: 12px; color: #7a8794; margin-top: 2px; }
.v4-sheet-row .rs-side { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.v4-sheet-row .rs-tag {
  font-size: 11px; color: #8a5a08; background: #faedda;
  padding: 2px 8px; border-radius: 9px; font-weight: 600;
}
.v4-sheet-row.cur .rs-ok {
  width: 20px; height: 20px; border-radius: 50%; background: #0070c0; color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.v4-sheet-row .rs-go { color: #b6c2cd; font-size: 16px; }

@media (min-width: 768px) {
  .v4-branch-pill, .v4-sheet, .v4-sheet-mask { display: none !important; }
}
@media (max-width: 767.98px) {
  /* 窄屏顶栏防挤压（2026-09-16：部分手机标题截断/分局名折行/手机号显示不全） */
  .topbar { gap: 6px; flex-wrap: nowrap; }
  .topbar-left { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .topbar-right { flex: none; gap: 6px; }
  .v4-branch-pill {
    display: inline-flex; align-items: center;
    height: 26px; padding: 0 10px; margin-left: 8px;
    background: #0070c0; color: #fff;
    border: 1.5px solid #e6772e; border-radius: 13px;  /* 2026-09-16 聪哥拍板：外框橙色，与看板选中态统一 */
    font-size: 12px; font-weight: 600; cursor: pointer;
    white-space: nowrap; flex: none;
  }
  .topbar-left .brand-text { min-width: 0; flex: 0 1 auto; }
  .topbar-left .brand-name { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-user { min-width: 0; }
  .tu-phone { max-width: none; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .v4-cap-frame iframe { height: calc(100vh - 256px); }
}
/* 更窄屏（<390px）：进一步压缩，保证分局名/手机号完整呈现 */
@media (max-width: 389.98px) {
  .topbar { padding-left: 10px; padding-right: 10px; }
  .topbar-left { gap: 6px; }
  .cmcc-logo { height: 26px; min-width: 24px; }
  .topbar-left .brand-name { max-width: 96px; font-size: 12px; }
  .v4-branch-pill { padding: 0 8px; font-size: 11px; height: 24px; }
  .tu-phone { font-size: 10.5px; }
  .tu-logout { padding: 3px 8px; font-size: 11px; }
}

/* ============================================================
 * V4 看板合并二级菜单条（2026-09-08 拍板；2026-09-14 PC 端也统一显示）
 * 「看板」与工作台/填报/导出并列；看板内含 晨会看板/工作过程类看板 二级
 * ============================================================ */
.v4-board-switch {
  display: flex; gap: 8px;
  padding: 0 0 14px;
}
.v4-board-switch .v4-bs-btn {
  padding: 9px 18px;
  border: 1px solid #d6dfe8; border-radius: 10px;
  background: #fff; color: #4a5a6a;
  font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.v4-board-switch .v4-bs-btn:hover { border-color: #0070c0; color: #0070c0; }
.v4-board-switch .v4-bs-btn.active {
  background: #e6772e; border-color: #e6772e; color: #fff;  /* 2026-09-16 聪哥拍板：选中填充蓝→橙 */
}

/* 侧栏分局分组顶部分组提示（PC：原「晨会看板」单列已并入分局「看板」） */
.v4-side-hint {
  padding: 4px 14px 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
}

@media (max-width: 767.98px) {
  .v4-board-switch { padding: 10px 12px 0; }
  .v4-board-switch .v4-bs-btn { flex: 1; padding: 9px 4px; }
  .v4-side-hint { display: none; }
}

/* ============================================================
 * 晨会看板外链入口（2026-09-14 聪哥拍板：自建内嵌 → 点击跳转）
 * ============================================================ */
.v4-ext-mark {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  opacity: .55;
  vertical-align: 1px;
}
.side-tab .v4-ext-mark { opacity: .5; }

/* ============================================================
 * V4 PC 底部导航改四分局入口（2026-09-14 聪哥拍板）
 * PC（≥768px）：底部栏 = 都城/连滩/建城/千官 四分局入口，点击切分局；
 *              看板/工作台/填报/导出 走左侧分局分组菜单。
 * 手机端（<768px）：保持四 Tab 主导航不变，切分局走顶栏胶囊。
 * ============================================================ */
.v4-pc-branches { display: none; }

@media (min-width: 768px) {
  .tabbar .tab { display: none !important; }
  .v4-pc-branches {
    display: flex;
    width: 100%;
  }
  .v4-pcbr {
    flex: 1;
    border: none; background: none;
    padding: 6px 0 4px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    cursor: pointer;
    color: var(--text-3, #8a97a6);
    transition: color .15s;
  }
  .v4-pcbr .tab-ico { font-size: 21px; line-height: 1; transition: transform .15s; }
  .v4-pcbr .tab-label { font-size: 12px; font-weight: 600; }
  .v4-pcbr:hover { color: #0070c0; }
  .v4-pcbr.active { color: #0070c0; }
  .v4-pcbr.active .tab-label { font-weight: 800; }
  .v4-pcbr.active .tab-ico { transform: scale(1.1); }
}

/* ============================================================
 * 晨会看板数据板块（2026-09-14 新增 · 云端同步快照只读展示）
 * 数据来自集合 capboard_snapshot，由云函数 capboard-sync 定时抓取写入
 * ============================================================ */
.cap-sync-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; line-height: 1.5;
  padding: 8px 10px; border-radius: 8px;
  background: #f2f7fc; color: #4a5a6a;
  margin-bottom: 10px;
}
.cap-sync-status.bad { background: #fdecea; color: #b02a1f; }
.cap-sync-status.wait { background: #fff7ed; color: #92400e; }
.cap-sync-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #7a869a; }
.cap-sync-dot.ok { background: #0e7a52; }
.cap-sync-dot.wait { background: #ba7517; }
.cap-sync-dot.bad { background: #b02a1f; }

.cap-sync-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cap-sync-tools-lab { font-size: 12px; color: #5e6c84; }
.cap-sync-tools select {
  border: 1px solid #d6dfe8; border-radius: 8px;
  padding: 6px 10px; font-size: 13px; color: #172b4d;
  background: #fff; max-width: 190px;
}
.cap-sync-legend { font-size: 12px; color: #7a869a; }

.cap-sync-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cap-sync-card {
  background: #fff; border: 1px solid #e4eaf2; border-radius: 10px;
  padding: 10px 12px 12px;
}
.cap-sync-card-name { font-size: 12px; font-weight: 600; color: #5e6c84; }
.cap-sync-card-yest { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 8px; }
.cap-sync-card-yest b { font-size: 24px; font-weight: 700; color: #0070c0; line-height: 1.1; }
.cap-sync-card-yest span { font-size: 12px; color: #7a869a; }
.cap-sync-card-rows { display: flex; flex-direction: column; gap: 3px; }
.cap-sync-card-rows > div { display: flex; justify-content: space-between; font-size: 12px; color: #5e6c84; }
.cap-sync-card-rows b { color: #172b4d; font-weight: 600; }
.cap-sync-bar { height: 5px; border-radius: 3px; background: #eef2f7; margin: 9px 0 4px; overflow: hidden; }
.cap-sync-bar i { display: block; height: 100%; border-radius: 3px; }
.cap-sync-bar i.ok { background: #0e7a52; }
.cap-sync-bar i.mid { background: #0070c0; }
.cap-sync-bar i.low { background: #e8590c; }
.cap-sync-card-pct { font-size: 12px; color: #7a869a; }
.cap-sync-card-pct b.ok { color: #0e7a52; }
.cap-sync-card-pct b.mid { color: #0070c0; }
.cap-sync-card-pct b.low { color: #e8590c; }
.cap-sync-card-pct.muted { color: #a6b0bd; }
.cap-sync-foot { margin-top: 10px; font-size: 12px; color: #7a869a; }

/* ===== 昨日回顾 · 分层数据通报（2026-09-15 聪哥拍板新结构） =====
   结构：📌总结 → 一、商机登记（(一)登记数量 /(二)异网数据）→ 二、邀约概况（(一)邀约情况 /(二)邀约类型） */
#dashOpsAnalysis .ops-conclusion {
  margin-bottom: 10px; padding: 9px 12px;
  background: linear-gradient(90deg, #e8f3fc 0%, rgba(232,243,252,0) 100%);
  border-left: 3px solid #0070c0; border-radius: 6px;
}
#dashOpsAnalysis .ops-conclusion-lbl { color: #0070c0; font-weight: 700; font-size: 14px; }
.ops-rev { font-size: 13px; line-height: 1.85; color: #172b4d; }
.ops-rev-h1 {
  font-size: 14px; font-weight: 800; color: #0070c0;
  margin: 16px 0 8px; padding-left: 9px;
  border-left: 4px solid #0070c0; line-height: 1.3;
}
.ops-rev-h1:first-child { margin-top: 6px; }
.ops-rev-h2 {
  font-size: 13px; font-weight: 700; color: #172b4d;
  margin: 10px 0 6px; padding-left: 5px;
}
.ops-rev-item {
  padding: 5px 0 5px 10px; margin-left: 3px;
  border-left: 2px solid #e4eaf2;
  font-size: 12.5px; line-height: 1.8; color: #42526e;
}
.ops-rev-item b { color: #0070c0; font-weight: 700; }

@media (max-width: 767px) {
  .ops-rev { font-size: 12.5px; line-height: 1.8; }
  .ops-rev-h1 { font-size: 13.5px; margin: 14px 0 7px; padding-left: 8px; border-left-width: 3px; }
  .ops-rev-h2 { font-size: 12.5px; margin: 9px 0 5px; }
  .ops-rev-item { font-size: 12px; padding: 4px 0 4px 8px; line-height: 1.75; }
}

/* ===== 昨日回顾 · 界面 × 人员 统计矩阵（2026-10-15 聪哥拍板：总结下方、具体到人） =====
   横向 = 昨日(商机登记 / 邀约) + 本周(商机登记 / 邀约)；纵向 = 行销界面 / 营业厅界面 逐人列示 */
.ops-ifmx { margin: 0 0 12px; font-size: 12.5px; color: #42526e; }
.ops-ifmx-hd { font-size: 11.5px; color: #7a869a; margin: 0 0 6px; padding-left: 2px; line-height: 1.6; }
.ops-ifmx-tb { width: 100%; border-collapse: collapse; table-layout: fixed;
  border: 1px solid #e4eaf2; border-radius: 8px; overflow: hidden; }
.ops-ifmx-tb th, .ops-ifmx-tb td { padding: 6px 3px; text-align: center;
  border-bottom: 1px solid #f0f3f8; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ops-ifmx-tb thead th { background: #f2f7fc; color: #172b4d; font-weight: 700; font-size: 11px; border-bottom: 1px solid #e4eaf2; }
.ops-ifmx-tb th.grp { background: #e8f3fc; color: #005a9c; font-size: 12px; }
.ops-ifmx-tb th.g2  { background: #e6f6ef; color: #0a7a4f; }
.ops-ifmx-tb th.c2  { background: #f0faf5; }
.ops-ifmx-tb td { color: #42526e; font-weight: 600; }
.ops-ifmx-tb td.c2 { background: rgba(230,246,239,.4); }
.ops-ifmx-tb td.c-if { background: #f7fbff; color: #172b4d; font-weight: 800; vertical-align: middle; font-size: 11.5px; }
.ops-ifmx-tb td.c-if .sub { display: block; font-size: 10px; color: #7a869a; font-weight: 500; margin-top: 2px; }
.ops-ifmx-tb td.c-n { text-align: left; padding-left: 9px; font-weight: 600; color: #172b4d; }
.ops-ifmx-tb tr.st td { background: #f7fbff; font-weight: 700; color: #172b4d; }
.ops-ifmx-tb tbody tr:last-child td { border-bottom: none; }
.ops-ifmx-tb tfoot td { background: #eef6fd; font-weight: 800; color: #172b4d;
  border-top: 1px solid #e4eaf2; font-size: 12.5px; }
.ops-ifmx-tb .dash { color: #a6b0bd; font-weight: 500; }
.ops-ifmx-tb .z    { color: #e8590c; }
.ops-ifmx-tb .tag  { font-size: 10px; color: #7a869a; font-weight: 500; margin-left: 4px; }
/* 邀约格：主数字 = 次数，副文字 = 平均通话时长 */
.ops-ifmx-tb td.iv { padding-top: 5px; padding-bottom: 5px; line-height: 1.25; }
.ops-ifmx-tb td .n   { display: block; font-size: 13.5px; font-weight: 700; color: #172b4d; }
.ops-ifmx-tb td .sub { display: block; font-size: 10px; color: #7a869a; font-weight: 500; margin-top: 1px; }
.ops-ifmx-tb th .th-sub { display: block; font-size: 9.5px; font-weight: 500; opacity: .75; margin-top: 1px; }
.ops-ifmx-note { margin: 5px 0 0; padding-left: 2px; font-size: 11px; color: #7a869a; line-height: 1.6; }

/* ===== 界面×人员矩阵 · 手机端适配（2026-10-16 聪哥拍板：仅手机端生效，PC 端不动）=====
   痛点：姓名与界面标签挤行换行、邀约「次数/均时长」竖排错位、表头三行折行。
   策略：整体缩字号减内边距；姓名不换行、标签缩到名字下方；均时长小字 nowrap 一行放下 */
@media (max-width: 767px) {
  .ops-ifmx { font-size: 11.5px; }
  .ops-ifmx-hd { font-size: 10.5px; }
  .ops-ifmx-tb th, .ops-ifmx-tb td { padding: 5px 1px; }
  .ops-ifmx-tb thead th { font-size: 10px; line-height: 1.35; }
  .ops-ifmx-tb th.grp { font-size: 11px; }
  .ops-ifmx-tb th .th-sub { font-size: 8.5px; line-height: 1.3; }
  /* 界面合并列：收窄字号，避免「行销界面/行销人员」顶格 */
  .ops-ifmx-tb td.c-if { font-size: 10.5px; }
  .ops-ifmx-tb td.c-if .sub { font-size: 9px; }
  /* 人员列：名字一行放下不换行，界面小标签移到名字正下方 */
  .ops-ifmx-tb td.c-n { padding-left: 4px; font-size: 11.5px; white-space: nowrap; }
  .ops-ifmx-tb td.c-n .tag { display: block; margin: 1px 0 0; font-size: 9px; }
  /* 数字列：主数字紧凑，副文字（均时长）强制一行 */
  .ops-ifmx-tb td .n { font-size: 12px; }
  .ops-ifmx-tb td .sub { font-size: 8.5px; white-space: nowrap; }
  .ops-ifmx-tb td.iv { padding-top: 4px; padding-bottom: 4px; }
  .ops-ifmx-note { font-size: 10.5px; }
}
/* 可下钻格子：数值 > 0 才可点，悬停变蓝 + 右上角小箭头提示 */
.ops-ifmx-tb td.mx-click { cursor: pointer; position: relative; transition: background .15s; }
.ops-ifmx-tb td.mx-click:hover { background: #e8f3fc; }
.ops-ifmx-tb td.mx-click:active { background: #d3e8f8; }
.ops-ifmx-tb td.mx-click:hover .n,
.ops-ifmx-tb td.mx-click:hover { color: #005a9c; }
.ops-ifmx-tb td.mx-click::after { content: "›"; position: absolute; top: 1px; right: 2px;
  font-size: 12px; font-weight: 700; color: #378add; opacity: 0; transition: opacity .15s; }
.ops-ifmx-tb td.mx-click:hover::after { opacity: 1; }
/* 邀约下钻：录音播放按钮 */
.mx-play { flex: 0 0 auto; border: none; background: #e8f3fc; color: #0070c0; cursor: pointer;
  font-size: 13px; line-height: 1; padding: 3px 7px; border-radius: 6px; margin-left: 4px; vertical-align: middle; }
.mx-play:hover { background: #d3e8f8; }
.mx-play:active { background: #bfe0f5; }
.mx-rec-none { font-size: 10.5px; color: #a6b0bd; font-weight: 500; margin-left: 4px; }

/* ===== 三、商机跟踪调度（2026-09-20 聪哥拍板：闭环流程 + 每天各账号调度） =====
   第（二）段各账号调度表 / 第（三）段今日重点调度清单 */
.ops-disp { margin: 6px 0 0; background: #fff; border: 1px solid #e4eaf2; border-radius: 8px; overflow: hidden; }
.ops-disp-head,
.ops-disp-row {
  display: grid;
  /* 2026-10-16 末列新增「成功开单」（跟进反馈累计数） */
  grid-template-columns: minmax(0,1fr) 42px 46px 52px 44px 44px 52px;
  align-items: center; gap: 4px; padding: 8px 10px;
}
.ops-disp-head {
  background: #f2f7fc; border-bottom: 1px solid #e4eaf2;
  font-size: 11.5px; font-weight: 700; color: #5a6b7d;
}
.ops-disp-row { border-bottom: 1px solid #eef3f8; font-size: 12.5px; color: #172b4d; }
.ops-disp-row:last-child { border-bottom: 0; }
.ops-disp-row .od-n, .ops-disp-head .od-n { text-align: right; font-variant-numeric: tabular-nums; }
/* 表头窄列内两字一折（如「成功开单」→ 成功/开单），保持行高整齐 */
.ops-disp-head .od-n { line-height: 1.25; }
.od-name { font-weight: 700; color: #172b4d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-iface {
  display: inline-block; margin-left: 5px; padding: 0 5px;
  font-size: 10.5px; font-style: normal; font-weight: 500;
  color: #0070c0; background: #e8f3fc; border-radius: 3px;
}
.od-strong { color: #0070c0; font-weight: 700; }
.od-good { color: #0f8b4c; font-weight: 700; }
.od-warn { color: #d98200; font-weight: 700; }
.od-bad  { color: #d9342b; font-weight: 700; }
.od-mute { color: #98a6b8; }
.ops-disp-note { margin: 5px 0 0; font-size: 11px; color: #8c9bab; line-height: 1.6; }
.ops-disp-item { padding: 9px 10px; border-bottom: 1px solid #eef3f8; }
.ops-disp-item:last-child { border-bottom: 0; }
.od-tit { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; font-size: 13px; }
.od-tit b { color: #172b4d; }
.od-sub { font-size: 11.5px; color: #7a869a; }
.od-meta { margin-top: 4px; font-size: 11.5px; color: #7a869a; line-height: 1.6; }
.od-act { margin-top: 4px; font-size: 12px; font-weight: 600; color: #0070c0; line-height: 1.6; }
/* 「今日重点调度」卡片下钻（2026-10-15 聪哥拍板：点卡片看商机详情） */
.ops-disp-item.od-click { cursor: pointer; transition: background .15s; }
.ops-disp-item.od-click:hover { background: #f2f8fd; }
.ops-disp-item.od-click:active { background: #e3f0fa; }
.od-more { margin-top: 5px; font-size: 11.5px; font-weight: 600; color: #0070c0; text-align: right; }
/* 「各账号调度」表格数字下钻（2026-10-15 聪哥拍板：点数字看对应明细） */
.od-n.od-click { cursor: pointer; border-radius: 4px; }
.od-n.od-click:hover { color: #005a9c; background: #e8f3fc; text-decoration: underline; }
.od-n.od-click:active { background: #d3e8f8; }
/* PC 端适配（2026-10-16 聪哥拍板）：调度表/重点清单限宽，避免账号列被拉宽、中部大片留白 */
@media (min-width: 768px) {
  .ops-disp { max-width: 720px; }
  .ops-disp-note { max-width: 720px; }
}
/* 手机端适配：7 列（含成功开单）收窄固定列，小屏不挤压 */
@media (max-width: 767px) {
  .ops-disp-head, .ops-disp-row {
    grid-template-columns: minmax(0,1fr) 34px 40px 46px 36px 36px 46px;
    gap: 2px; padding: 8px 5px;
  }
  .ops-disp-head { font-size: 10.5px; }
  .ops-disp-row { font-size: 12px; }
}
.od-badge {
  margin-left: auto; padding: 1px 7px; border-radius: 10px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.od-b-pending   { color: #5a6b7d; background: #eef2f6; }
.od-b-contacted { color: #0070c0; background: #e8f3fc; }
.od-b-intent    { color: #d98200; background: #fff5e6; }
.od-b-accepted  { color: #0f8b4c; background: #e8f7ef; }
.od-b-converted { color: #fff;    background: #0f8b4c; }
.od-b-invalid   { color: #7a869a; background: #eef2f6; text-decoration: line-through; }
.od-b-onhold    { color: #7a5cd6; background: #f0ecfd; }

/* ===== 商机闭环状态条（商机详情弹窗顶部，人工一键确认入口） ===== */
.lead-bar { margin-bottom: 12px; padding: 10px 12px; background: #f7fafd; border: 1px solid #dbe7f3; border-radius: 8px; }
.lead-bar-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lead-badge { padding: 2px 10px; border-radius: 11px; font-size: 12px; font-weight: 700; color: #fff; background: #8c9bab; }
.lead-b-pending   { background: #8c9bab; }
.lead-b-contacted { background: #0070c0; }
.lead-b-intent    { background: #e08a00; }
.lead-b-accepted  { background: #0f8b4c; }
.lead-b-converted { background: #0a7b4a; }
.lead-b-invalid   { background: #9aa4b0; }
.lead-b-onhold    { background: #b08a4a; }
.lead-bar-src { font-size: 11.5px; color: #7a869a; }
.lead-bar-meta { margin-top: 6px; font-size: 12px; color: #42526e; line-height: 1.65; }
.lead-bar-act { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #0070c0; line-height: 1.6; }
.lead-bar-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.lead-btn {
  padding: 5px 11px; font-size: 12px; font-weight: 600; color: #42526e;
  background: #fff; border: 1px solid #d3dee9; border-radius: 14px;
  cursor: pointer; transition: all .15s;
}
.lead-btn:hover { border-color: #0070c0; color: #0070c0; }
.lead-btn.on { color: #fff !important; background: #0070c0 !important; border-color: #0070c0 !important; }
.lead-btn-converted.on { background: #0f8b4c !important; border-color: #0f8b4c !important; }
.lead-btn-invalid.on   { background: #8c9bab !important; border-color: #8c9bab !important; }
.lead-btn-onhold.on    { background: #b08a4a !important; border-color: #b08a4a !important; }
.lead-btn-reset { color: #8c9bab; border-style: dashed; }
.lead-bar-tip { margin-top: 7px; font-size: 11px; color: #8c9bab; line-height: 1.6; }

/* ===== 跟进情况反馈（2026-10-16 聪哥拍板：四选项结构化反馈，替换原一键状态按钮） ===== */
.lead-fb { margin-top: 10px; }
.lead-fb-tt { font-size: 13px; font-weight: 700; color: #172b4d; }
.lead-fb-opt {
  display: block; width: 100%; box-sizing: border-box; text-align: left; margin-top: 7px;
  padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: #42526e; line-height: 1.55;
  background: #fff; border: 1px solid #d3dee9; border-radius: 10px; cursor: pointer; transition: all .15s;
}
.lead-fb-opt:active { background: #f2f8fd; }
.lead-fb-opt.on { border-color: #0070c0; background: #e8f3fc; color: #0070c0; }
.lead-fb-panel {
  margin-top: 8px; padding: 10px; background: #f7fafd;
  border: 1px dashed #b9cfe4; border-radius: 10px;
}
.lead-fb-row { margin-bottom: 9px; }
.lead-fb-row label { display: block; font-size: 12px; font-weight: 600; color: #42526e; margin-bottom: 4px; }
.lead-fb-in {
  width: 100%; box-sizing: border-box; padding: 8px 9px; font-size: 13.5px;
  border: 1px solid #d3dee9; border-radius: 8px; background: #fff; color: #172b4d;
}
.lead-fb-in:focus { outline: none; border-color: #0070c0; }
/* 必填标记 + 未填红框（2026-10-16 聪哥拍板：必填项带 *，未填不允提交） */
.lead-fb-req { font-style: normal; color: #d9342b; font-weight: 700; margin-right: 2px; }
.lead-fb-in.err { border-color: #d9342b; background: #fff6f5; }
.lead-fb-note { margin: -2px 0 9px; font-size: 11px; color: #8c9bab; line-height: 1.5; }
.lead-fb-submit {
  width: 100%; padding: 9px; font-size: 13.5px; font-weight: 700; color: #fff;
  background: #0070c0; border: none; border-radius: 9px; cursor: pointer;
}
.lead-fb-submit:active { background: #0060a8; }
.lead-fb-foot { margin-top: 8px; text-align: right; }
.lead-bar-fb { margin-top: 6px; font-size: 12px; color: #42526e; line-height: 1.65;
  background: #fff7e8; border: 1px solid #ffe1a8; border-radius: 8px; padding: 6px 8px; }

/* 超管工作台 · 密码重置（2026-10-16 聪哥拍板新增） */
.super-pwd-form { display: flex; gap: 6px; align-items: center; padding: 4px 0 8px; }
.super-pwd-form .config-input { flex: 1; min-width: 0; }

@media (max-width: 400px) {
  /* 2026-10-16 修复：原规则仍是旧 6 列轨道，会把新增「成功开单」列挤到下一行，改为 7 列 */
  .ops-disp-head, .ops-disp-row {
    grid-template-columns: minmax(0,1fr) 32px 38px 44px 34px 34px 44px;
    gap: 3px; padding: 7px 8px;
  }
  .ops-disp-head { font-size: 10.5px; }
  .ops-disp-row { font-size: 11.5px; }
  .od-iface { display: none; }
  .lead-btn { padding: 5px 9px; font-size: 11.5px; }
}

/* ===== 晨会看板 · 应用内全屏层（2026-09-15 聪哥：进入后要有「返回网格工作台」按钮） ===== */
#v4CapboardLayer {
  position: fixed; inset: 0; z-index: 9999;
  display: none; flex-direction: column;
  background: #f2f5fa;
}
#v4CapboardLayer.on { display: flex; }
#v4CapboardLayer .v4cb-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: linear-gradient(135deg, #0070c0, #005a9e);
  color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}
#v4CapboardLayer .v4cb-back {
  appearance: none; -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 14px; line-height: 1;
  padding: 8px 14px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
#v4CapboardLayer .v4cb-back:active { background: rgba(255, 255, 255, 0.3); }
#v4CapboardLayer .v4cb-title {
  flex: 1; text-align: center;
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#v4CapboardLayer .v4cb-ext {
  color: rgba(255, 255, 255, 0.85); font-size: 12px;
  text-decoration: none; white-space: nowrap;
}
#v4CapboardLayer .v4cb-frame {
  flex: 1 1 auto; width: 100%; border: 0; background: #fff;
}
html.v4cb-lock, html.v4cb-lock body { overflow: hidden !important; }
@media (max-width: 480px) {
  #v4CapboardLayer .v4cb-bar { padding-left: 10px; padding-right: 10px; gap: 8px; }
  #v4CapboardLayer .v4cb-back { font-size: 13px; padding: 7px 11px; }
  #v4CapboardLayer .v4cb-title { font-size: 14px; }
  #v4CapboardLayer .v4cb-ext { display: none; }
}

/* ===== 管理员登录后手选分局（2026-09-15 晚 拍板④）===== */
#v4BranchPickLayer {
  display: none;
  position: fixed; inset: 0; z-index: 3000;
  background: linear-gradient(160deg, #eaf3fc 0%, #d8e9fa 100%);
  align-items: center; justify-content: center;
  padding: 20px;
}
#v4BranchPickLayer.on { display: flex; }
#v4BranchPickLayer .v4bp-box {
  width: 100%; max-width: 420px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 60, 120, 0.18);
  padding: 22px 18px 18px;
}
#v4BranchPickLayer .v4bp-title {
  text-align: center; font-size: 18px; font-weight: 700; color: #1a2b45;
}
#v4BranchPickLayer .v4bp-sub {
  text-align: center; font-size: 12px; color: #7d8ea6; margin: 6px 0 16px;
}
#v4BranchPickLayer .v4bp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
#v4BranchPickLayer .v4bp-cell {
  appearance: none; -webkit-appearance: none;
  border: 1px solid #d4e3f5; border-radius: 12px;
  background: #f7fbff; cursor: pointer;
  padding: 18px 8px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform 0.08s ease, background 0.12s ease, border-color 0.12s ease;
  font-family: inherit;
}
#v4BranchPickLayer .v4bp-cell:active {
  transform: scale(0.97); background: #e8f3fd; border-color: #0070c0;
}
#v4BranchPickLayer .v4bp-ico { font-size: 26px; line-height: 1; }
#v4BranchPickLayer .v4bp-name { font-size: 16px; font-weight: 700; color: #14508c; }
#v4BranchPickLayer .v4bp-leader { font-size: 11px; color: #8a9bb0; }

/* 昨日回顾 · 总结段分局标签（2026-09-15 拍板②） */
.ops-rev-branch { color: #0070c0; font-weight: 700; margin-left: 2px; }

/* 情报收集概况（2026-09-16 聪哥拍板：昨日回顾下方本局竞对情报汇总） */
.intel-sum {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; margin: 2px 0;
  background: linear-gradient(135deg, #eef5fc 0%, #f7fbff 100%);
  border: 1px solid #d4e4f5; border-radius: 10px;
  font-size: 14px; line-height: 1.7; color: #2c3e50;
}
.intel-sum-ico { font-size: 18px; flex-shrink: 0; }
.intel-sum-branch { color: #0070c0; margin: 0 2px; }
.intel-sum-num { color: #d4380d; font-size: 17px; padding: 0 3px; }

/* ════════ 数据加载失败显式提示（2026-09-20 聪哥拍板：禁止把「读取失败」显示成 0） ════════ */
.data-err-banner {
  margin: 8px 0 10px; padding: 11px 13px;
  background: #fff7e6; border: 1px solid #ffc069; border-left: 4px solid #fa8c16;
  border-radius: 8px; font-size: 13.5px; line-height: 1.65; color: #873800;
}
.data-err-banner b { color: #d4380d; }
.data-err-detail {
  margin-top: 5px; padding-top: 5px; border-top: 1px dashed #ffd591;
  font-size: 12px; color: #ad6800; word-break: break-all;
}

/* ════════ 竞对情报收集（2026-09-15 晚 聪哥拍板：原「工作任务」改为竞对情报收集） ════════ */
.intel-card { padding: 14px 14px 16px; }
.intel-form-title {
  font-size: 15px; font-weight: 700; color: #14508c;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px dashed #d4e3f5;
}
.intel-frow { margin-bottom: 14px; }
.intel-frow:last-of-type { margin-bottom: 12px; }
.intel-lab { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 7px; }
.intel-req { color: #e64340; font-style: normal; font-weight: 700; }
.intel-opt { color: #999; font-weight: 400; font-size: 12px; }
.intel-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.intel-chip {
  appearance: none; -webkit-appearance: none; font-family: inherit;
  display: inline-flex; align-items: center;
  padding: 7px 13px; background: #f7fbff;
  border: 1px solid #d4e3f5; border-radius: 18px;
  font-size: 13px; color: #333; cursor: pointer; user-select: none;
  transition: all 0.15s ease; line-height: 1.25;
}
.intel-chip:active { transform: scale(0.96); }
.intel-chip.active {
  background: #0070c0; border-color: #0070c0; color: #fff; font-weight: 600;
}
.intel-hint {
  font-size: 12px; color: #c07f00; background: #fff8e8;
  border: 1px solid #f5deb0; border-radius: 8px;
  padding: 7px 10px; margin-bottom: 8px; line-height: 1.5;
}
.intel-upload-btn { margin-bottom: 8px; }
.intel-inp {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid #d4e3f5; border-radius: 8px; background: #fafcff;
  color: #333; margin-top: 8px; outline: none;
}
.intel-inp:focus { border-color: #0070c0; background: #fff; }
.intel-prev { display: flex; flex-wrap: wrap; gap: 8px; }
.intel-thumb {
  position: relative; width: 76px; height: 76px;
  border-radius: 8px; overflow: hidden; border: 1px solid #d4e3f5;
}
.intel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intel-thumb-del {
  position: absolute; top: 0; right: 0;
  width: 20px; height: 20px; border: none; border-radius: 0 0 0 8px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 11px; line-height: 20px; text-align: center; cursor: pointer; padding: 0;
}
.intel-submit { margin-top: 4px; }

/* 提交记录条目 */
.intel-item .intel-row { font-size: 13px; color: #444; margin-top: 6px; line-height: 1.5; }
.intel-item-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.intel-thumb-img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 6px; border: 1px solid #e5e7eb; background: #f2f5f9; cursor: pointer;
}
@media (max-width: 480px) {
  .intel-card { padding: 12px 12px 14px; }
  .intel-thumb { width: 68px; height: 68px; }
  .intel-thumb-img { width: 58px; height: 58px; }
}

/* 情报收集概况 · 下钻明细（2026-09-16 聪哥拍板） */
.intel-drill-item {
  padding: 12px 14px; margin-bottom: 10px;
  background: #fff; border: 1px solid #e2eaf3; border-radius: 10px;
}
.intel-drill-item .tk-head { display: flex; align-items: center; }
.intel-drill-item .tk-title { font-size: 14px; font-weight: 700; color: #1f2d3d; }
.intel-drill-item .intel-row { font-size: 13px; color: #444; margin-top: 6px; line-height: 1.5; }
.intel-drill-item .tk-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #8a9bb0; }
.intel-drill-item .intel-item-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.intel-drill-item .intel-thumb-img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 6px; border: 1px solid #e5e7eb; background: #f2f5f9; cursor: pointer;
}

/* ===== 导出板块重排（V3.5：四类数据各一张卡片，PC 2×2 网格） ===== */
.export-buttons { display: block !important; }
.export-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.export-group {
  display: flex; flex-direction: column; gap: 9px;
  background: #f8fafc;
  border: 1px solid #e5eaf1; border-radius: 14px;
  padding: 14px;
}
.export-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.export-group-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, #eaf4fd, #d7e9fb);
  border: 1px solid #d3e5f7;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.export-group-tt b { display: block; font-size: 15px; font-weight: 800; color: #0b3a66; line-height: 1.3; }
.export-group-tt span { display: block; font-size: 12px; color: #8a9bb0; margin-top: 2px; }
.export-group .btn { margin: 0; }
.export-group .btn-submit { box-shadow: 0 3px 8px rgba(0,112,192,.22); }
@media (min-width: 768px) {
  .export-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .export-group { padding: 18px; }
  .export-group .btn { padding-top: 13px; padding-bottom: 13px; }
}

/* ===== 注册页分局下拉（V3.5） ===== */
select.form-input {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230070c0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-input option { color: #1a2b4a; }
select.form-input[data-empty="1"] { color: #9aa7b8; }

/* ============================================================
   超级管理员工作台（2026-09-16 聪哥拍板新增 · 仅超管可见）
   浅色主题：白底卡片 + 移动蓝主色，四分局用四色区分。
   ============================================================ */
.home-card-super { border-left: 4px solid #0070c0; }
.home-card-super .hc-ico { background: rgba(0,112,192,.10); }

.super-panel { margin-bottom: 8px; }
.super-back, .super-refresh { margin-bottom: 10px; }
.super-refresh { margin-top: 6px; }

/* 合计卡 */
.super-kpi {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #0070c0, #00a0e9);
  border-radius: 14px; padding: 18px 16px; margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(0,112,192,.22);
}
.super-kpi .sk-ico { font-size: 30px; line-height: 1; }
.super-kpi .sk-body { display: flex; flex-direction: column; }
.super-kpi .sk-num { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
.super-kpi .sk-lab { font-size: 13px; color: rgba(255,255,255,.92); margin-top: 2px; }
.super-kpi .sk-sub { font-size: 12px; color: rgba(255,255,255,.84); margin-top: 3px; }

/* 卡片 */
.super-card {
  background: #fff; border: 1px solid #e3ebf5; border-radius: 14px;
  padding: 14px 14px 12px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(11,58,102,.05);
}
.super-card-tt { font-size: 15px; font-weight: 800; color: #0b3a66; margin-bottom: 10px; }

/* 横向对比条 */
.sb-row { display: flex; align-items: center; gap: 8px; margin: 7px 0; }
.sb-lab { flex: 0 0 78px; font-size: 13px; color: #405672; font-weight: 600; }
.sb-track { flex: 1 1 auto; height: 14px; background: #eef4fb; border-radius: 8px; overflow: hidden; }
.sb-fill { display: block; height: 100%; border-radius: 8px; transition: width .35s ease; }
.sb-val { flex: 0 0 62px; text-align: right; font-size: 14px; font-weight: 800; color: #0b3a66; }

/* 横向对比表 */
.super-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.super-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.super-table th, .super-table td {
  padding: 9px 8px; font-size: 13px; text-align: center;
  border-bottom: 1px solid #eef2f8; color: #2a3b52; white-space: nowrap;
}
.super-table thead th { background: #f4f8fd; color: #0b3a66; font-weight: 800; font-size: 12.5px; }
.super-table .st-lab { text-align: left; font-weight: 700; color: #0b3a66; position: sticky; left: 0; background: #fff; }
.super-table thead .st-lab, .super-table thead .st-total-col { background: #f4f8fd; }
.super-table .st-total-col { background: #f9fcff; font-weight: 800; color: #0070c0; }
.super-table tbody tr:last-child td { border-bottom: none; }

/* 口径说明 */
.super-note {
  font-size: 12px; color: #7b8ca3; line-height: 1.65;
  background: #f7fafd; border-left: 3px solid #cfe1f4;
  border-radius: 8px; padding: 10px 12px; margin: 4px 0 14px;
}
.super-note b { color: #0b3a66; }

/* 导出范围切换 */
.super-scope { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.super-scope-btn {
  flex: 1 1 calc(50% - 4px);
  padding: 11px 8px; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: 1.5px solid #d5e3f2; background: #fff; color: #0b3a66; cursor: pointer;
}
.super-scope-btn.on {
  border-color: #0070c0; background: #eaf4ff; color: #0070c0;
  box-shadow: 0 3px 10px rgba(0,112,192,.14);
}
.super-exp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.super-exp-card {
  background: #fff; border: 1px solid #e3ebf5; border-radius: 14px;
  padding: 14px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 2px 8px rgba(11,58,102,.05);
}
.super-exp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.super-exp-ico {
  flex: 0 0 36px; height: 36px; border-radius: 10px; background: #eaf4ff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.super-exp-tt b { display: block; font-size: 15px; font-weight: 800; color: #0b3a66; }
.super-exp-tt span { display: block; font-size: 12px; color: #8a9bb0; margin-top: 2px; }
.super-exp-card .btn { margin: 0; }

@media (min-width: 768px) {
  .super-exp-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .super-scope-btn { flex: 1 1 auto; }
  .super-kpi .sk-num { font-size: 34px; }
}


/* ===================== 指引（商机数据工作指引，2026-10-06 新增） ===================== */
.gd-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 10px; }
.gd-kpi {
  background: #fff; border: 1px solid var(--line, #e3e9f1); border-radius: 10px;
  padding: 10px 6px; text-align: center; box-shadow: 0 1px 4px rgba(11,58,102,.05);
}
.gd-kpi b { display: block; font-size: 20px; font-weight: 800; color: #0070c0; }
.gd-kpi span { display: block; font-size: 11px; color: #8a9bb0; margin-top: 2px; }
.gd-kpi b.gd-red { color: #d93026; } .gd-kpi b.gd-org { color: #e8651a; } .gd-kpi b.gd-grn { color: #00954c; }
.gd-red { color: #d93026; } .gd-org { color: #e8651a; } .gd-grn { color: #00954c; }

.gd-card {
  background: #fff; border: 1px solid var(--line, #e3e9f1); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 5px rgba(11,58,102,.05);
}
.gd-tt { font-size: 14px; font-weight: 800; color: #005a99; margin-bottom: 8px; }
.gd-body-txt { font-size: 13px; line-height: 1.75; color: #33414f; }
.gd-note { font-size: 11.5px; color: #93a0af; margin-top: 6px; line-height: 1.6; }
.gd-foot { font-size: 11px; color: #a5b0bf; text-align: center; padding: 8px 0 2px; }

.gd-tbl-wrap { overflow-x: auto; }
.gd-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.gd-tbl th, .gd-tbl td { padding: 6px 8px; border-bottom: 1px solid #eef2f7; text-align: left; white-space: nowrap; }
.gd-tbl th { background: #f0f5fb; color: #005a99; font-weight: 700; font-size: 12px; }
.gd-tbl tr:nth-child(even) td { background: #fafcfe; }
.gd-vn { font-weight: 600; }
.gd-mono { font-family: Consolas, monospace; }

.gd-bar-wrap { position: relative; background: #eef3f9; border-radius: 5px; height: 20px; overflow: hidden; min-width: 90px; }
.gd-bar { position: absolute; left: 0; top: 0; height: 100%; background: #0070c0; border-radius: 5px; opacity: .88; }
.gd-bar-txt { position: relative; z-index: 2; font-size: 11px; padding-left: 6px; line-height: 20px; color: #1f2933; white-space: nowrap; }

.gd-op-row { display: flex; align-items: center; gap: 10px; margin: 4px 0; }
.gd-op-row .gd-bar-wrap { flex: 1; height: 24px; }
.gd-op-row .gd-bar-txt { line-height: 24px; }
.gd-op-name { width: 58px; font-weight: 600; font-size: 12.5px; flex: 0 0 auto; }

.gd-chip-urg {
  display: inline-block; background: #fde8e6; color: #c0341a;
  font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 9px;
}

.gd-grid2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 768px) { .gd-grid2 { grid-template-columns: 1fr 1fr; } }

.gd-mt { display: flex; align-items: flex-end; gap: 14px; height: 130px; padding: 4px 2px 0; }
.gd-mt-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.gd-mt-bar { width: 70%; max-width: 42px; background: #0070c0; border-radius: 5px 5px 0 0; opacity: .9; }
.gd-mt-val { font-size: 12px; font-weight: 700; color: #0070c0; margin-top: 4px; }
.gd-mt-lb { font-size: 11px; color: #8a9bb0; margin-top: 1px; }

.gd-guide { background: #f0f7ee; border-color: #cbe3c4; }
.gd-guide ol { margin: 0 0 0 18px; }
.gd-guide li { margin: 8px 0; line-height: 1.7; font-size: 13px; color: #2c4a33; }
.gd-guide li b { color: #2e7d32; }

@media (max-width: 480px) {
  .gd-kpis { grid-template-columns: repeat(3, 1fr); }
  .gd-kpi b { font-size: 17px; }
}




/* PWA 安装引导横幅样式已于 2026-10-15 随功能删除（聪哥拍板：教程已线下发给大家，不再弹提示） */

/* ===== 分局选择四宫格：普通账号「当前归属」徽标（2026-10-13）===== */
.v4bp-mine { display: inline-block; margin-top: 5px; font-size: 10px; font-weight: 700;
  color: #0a8a4a; background: #e9f7ef; border: 1px solid #bfe6cd;
  border-radius: 6px; padding: 2px 8px; }
.v4bp-cell[data-branch] .v4bp-mine[hidden] { display: none; }

/* ============================================================
   全局搜索 GS（2026-10-18 聪哥拍板）
   入口：顶栏 🔍 + 工作台置顶搜索条；三类数据（商机/邀约/情报）一起搜
   ============================================================ */
.tp-search{
  background:rgba(255,255,255,.18);border:0;color:#fff;font-size:15px;line-height:1;
  width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  cursor:pointer;flex:0 0 auto;
}
.tp-search:active{background:rgba(255,255,255,.42);}

/* 工作台置顶搜索条 */
.gs-entry{
  display:flex;align-items:center;gap:10px;margin:10px 12px 12px;padding:13px 14px;
  background:#fff;border:1.5px solid var(--blue-light,#e8f3fb);border-radius:16px;
  box-shadow:0 1px 3px rgba(0,80,160,.06);cursor:pointer;
}
.gs-entry:active{background:#f2f8fd;}
.gs-entry-ico{font-size:17px;}
.gs-entry-txt{flex:1;font-size:13.5px;color:#8888a0;}
.gs-entry-go{font-size:12.5px;font-weight:700;color:#0070c0;}
/* 搜索条下细字备注（2026-10-21 聪哥拍板：提示可下载我登记的商机明细清单） */
.gs-entry-tip{margin:-4px 14px 10px;font-size:11px;color:#9aa0a6;line-height:1.7;}

/* 搜索全屏层（z-index 400：高于 Tab，低于详情弹窗 500） */
.gs-overlay{position:fixed;inset:0;z-index:400;background:var(--bg,#f4f6fa);display:flex;flex-direction:column;}
.gs-overlay[hidden]{display:none;}
.gs-panel{display:flex;flex-direction:column;height:100%;width:100%;max-width:640px;margin:0 auto;background:var(--bg,#f4f6fa);}
.gs-head{display:flex;align-items:center;gap:8px;padding:10px 12px 8px;background:#0070c0;}
.gs-box{flex:1;display:flex;align-items:center;gap:7px;background:#fff;border-radius:22px;padding:8px 12px;}
.gs-ico{font-size:14px;color:#8888a0;}
.gs-input{flex:1;border:0;outline:0;font-size:14.5px;background:transparent;color:#1a1a2e;min-width:0;}
.gs-clear{border:0;background:#eef1f5;color:#8888a0;width:20px;height:20px;border-radius:50%;font-size:12px;line-height:1;cursor:pointer;flex:0 0 auto;}
.gs-cancel{border:0;background:transparent;color:#fff;font-size:13.5px;font-weight:600;cursor:pointer;flex:0 0 auto;padding:4px 2px;}
.gs-meta{display:flex;align-items:center;justify-content:space-between;padding:9px 14px 4px;font-size:11.5px;color:#8888a0;}
.gs-scope{background:#fff;border:1px solid var(--line,#e8ecf1);border-radius:12px;padding:3px 10px;}
.gs-scope-tap{cursor:pointer;color:#0070c0;border-color:#bcdcf5;}
.gs-scope-sw{font-weight:700;}
.gs-count b{color:#0070c0;font-size:12.5px;}
.gs-tabs{display:flex;gap:7px;padding:6px 12px 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.gs-tab{flex:0 0 auto;border:1px solid var(--line,#e8ecf1);background:#fff;border-radius:16px;padding:6px 13px;
  font-size:12.5px;color:#4a4a5a;cursor:pointer;white-space:nowrap;}
.gs-tab b{color:#8888a0;font-weight:600;margin-left:2px;}
.gs-tab.on{background:#0070c0;border-color:#0070c0;color:#fff;font-weight:700;}
.gs-tab.on b{color:#cfe6f8;}
.gs-list{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 0 16px;}
.gs-loading{text-align:center;padding:44px 20px;color:#8888a0;font-size:13px;}
.gs-more{text-align:center;padding:12px;color:#8888a0;font-size:12px;}

/* 引导提示 */
.gs-hint{margin:4px 12px 0;background:#fff;border-radius:14px;padding:14px 15px;box-shadow:0 1px 3px rgba(0,80,160,.06);}
.gs-hint-t{font-size:13.5px;font-weight:700;margin-bottom:9px;}
.gs-hint-l{font-size:12.5px;color:#4a4a5a;line-height:2;}
.gs-hint-l b{color:#0070c0;}
.gs-hint-n{margin-top:10px;padding-top:9px;border-top:1px dashed var(--line,#e8ecf1);font-size:11.5px;color:#8888a0;}

/* 结果卡片 */
.gs-card{background:#fff;border-radius:14px;margin:0 12px 9px;padding:12px 13px;
  box-shadow:0 1px 3px rgba(0,80,160,.06);cursor:pointer;}
.gs-card:active{background:#f2f8fd;}
.gs-c-top{display:flex;align-items:center;gap:6px;}
.gs-c-kind{font-size:11px;color:#8888a0;}
.gs-badge{margin-left:auto;font-size:10.5px;font-weight:700;border-radius:5px;padding:2px 7px;}
.gs-b-pending{background:#eef1f5;color:#6b7280;}
.gs-b-contacted{background:#e8f3fb;color:#0070c0;}
.gs-b-intent{background:#fff3e6;color:#e6772e;}
.gs-b-accepted{background:#e6f0ff;color:#005a9e;}
.gs-b-converted{background:#e6f7ef;color:#2ba471;}
.gs-b-invalid{background:#f1f1f3;color:#9aa0a6;}
.gs-b-call{background:#e8f3fb;color:#0070c0;}
.gs-b-intel{background:#f3ecfb;color:#8e44ad;}
.gs-c-title{font-size:15.5px;font-weight:700;margin-top:5px;word-break:break-all;}
.gs-c-sub{font-size:12.5px;color:#4a4a5a;margin-top:4px;word-break:break-all;}
.gs-dot{color:#d8dee6;margin:0 2px;}
.gs-c-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px;font-size:11px;color:#8888a0;}
.gs-urg{margin-left:auto;background:#fdecec;color:#e23b3b;font-weight:700;border-radius:5px;padding:2px 6px;}
.gs-op{background:#f2f5f9;color:#6b7280;border-radius:5px;padding:2px 6px;}
.gs-c-act{display:flex;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line,#e8ecf1);}
.gs-btn{flex:1;border:0;background:#0070c0;color:#fff;border-radius:10px;padding:8px 6px;font-size:12.5px;font-weight:700;cursor:pointer;}
.gs-btn.ghost{background:#e8f3fb;color:#0070c0;}
.gs-card mark{background:#ffe9a8;color:inherit;border-radius:2px;padding:0 1px;}

/* 空态 */
.gs-empty{text-align:center;padding:46px 26px;color:#8888a0;}
.gs-e1{font-size:38px;margin-bottom:10px;}
.gs-e2{font-size:14px;color:#4a4a5a;margin-bottom:5px;}
.gs-e3{font-size:12px;line-height:1.8;}

/* PC 端：居中卡片，留白更舒服 */
@media (min-width:768px){
  .gs-overlay{padding:26px 0;}
  .gs-panel{border-radius:16px;box-shadow:0 10px 40px rgba(0,40,100,.18);height:100%;max-height:calc(100vh - 52px);}
  .gs-head{padding-top:12px;}
}

/* ===== 搜索面板 · 导出菜单（2026-10-21 聪哥拍板） =====
   行销本人也可导出：范围跟随搜索身份（我登记的 / 本分局 / 四局全量） */
.gs-panel{position:relative;}
.gs-meta-r{display:flex;align-items:center;gap:8px;}
.gs-exp-btn{border:1px solid #bcdcf5;background:#e8f3fb;color:#0070c0;font-size:11.5px;font-weight:700;
  border-radius:12px;padding:3px 10px;cursor:pointer;line-height:1.5;}
.gs-exp-btn:active{background:#cfe4f6;}
.gs-exp-mask{position:absolute;inset:0;background:rgba(12,24,42,.34);z-index:20;}
.gs-exp-mask[hidden]{display:none;}
.gs-exp-menu{position:absolute;left:12px;right:12px;top:92px;z-index:21;background:#fff;border-radius:14px;
  box-shadow:0 10px 30px rgba(0,40,90,.20);padding:8px;animation:gsExpIn .16s ease-out;}
.gs-exp-menu[hidden]{display:none;}
@keyframes gsExpIn{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:none;}}
.gs-exp-title{font-size:12px;color:#8888a0;padding:6px 8px 0;}
.gs-exp-title b{color:#0070c0;}
.gs-exp-desc{font-size:11px;color:#9aa0a6;line-height:1.7;padding:3px 8px 8px;border-bottom:1px dashed var(--line,#e8ecf1);margin-bottom:5px;}
.gs-exp-item{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;
  font-size:14px;font-weight:600;color:#1a1a2e;padding:11px 10px;border-radius:10px;cursor:pointer;text-align:left;}
.gs-exp-item:active{background:#f2f8fd;}
.gs-exp-item b{margin-left:auto;color:#0070c0;font-size:12.5px;}
.gs-exp-ico{font-size:15px;}
.gs-exp-item.gs-exp-kw{color:#8e44ad;}
.gs-exp-item.gs-exp-kw b{color:#8e44ad;}
.gs-exp-item.gs-exp-kw[hidden]{display:none;}
.gs-exp-foot{font-size:11px;color:#8888a0;padding:8px 10px 3px;border-top:1px dashed var(--line,#e8ecf1);margin-top:5px;}

/* ===== 走访登记 · 客户类型（2026-10-23 聪哥拍板新增） =====
   一级：临街商户 / 家庭住户 两个大按钮；二级：下钻 chips 网格 */
.ct-main-group{display:flex;gap:10px;}
.ct-main-chip{
  flex:1;display:flex;align-items:center;justify-content:center;gap:6px;
  padding:12px 8px;border-radius:12px;border:1.5px solid #dbe4ee;background:#f8fafc;
  font-size:15px;font-weight:600;color:#3a4a5f;cursor:pointer;
  transition:border-color .15s,background .15s,color .15s;
}
.ct-main-chip.active{border-color:#0070c0;background:#e8f3fb;color:#0070c0;}
.ct-main-chip:active{transform:scale(.98);}
.ct-sub-group{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;
  padding:10px;border-radius:12px;background:#f4f8fc;border:1px dashed #c3d8ec;
}
.ct-sub-group[hidden]{display:none;}
.ct-sub-chip{
  padding:7px 12px;border-radius:999px;border:1.5px solid #d5e2ef;background:#fff;
  font-size:13px;font-weight:500;color:#3a4a5f;cursor:pointer;line-height:1.4;
  transition:border-color .15s,background .15s,color .15s;
}
.ct-sub-chip.active{border-color:#0070c0;background:#0070c0;color:#fff;font-weight:600;}
.ct-sub-chip:active{transform:scale(.97);}

/* ===== 拍照按钮 WebView 兼容修复（2026-10-23） =====
   hidden 的 file input 在手机微信/浏览器里被 JS click() 静默吞掉；
   改为透明 input 覆盖在按钮上，用户直接点原生控件 */
.photo-trigger-wrap,.wcb-trigger-wrap{position:relative;display:block;}
.photo-dual-row{display:flex;gap:8px;}
.photo-dual-row .photo-trigger-wrap{flex:1;}
.photo-dual-row .photo-trigger{width:100%;padding-left:6px;padding-right:6px;font-size:14px;}
.file-overlay{
  position:absolute;left:0;top:0;width:100%;height:100%;
  /* 2026-10-23 v3：opacity 0.01 + 微弱背景色——小米/MIUI 内核会把"全透明且无绘制"的元素
     从点击命中中剔除；非零 alpha 背景确保被判定为可命中 */
  opacity:0.01;font-size:100px;background:rgba(255,255,255,0.01);
  cursor:pointer;z-index:2;border:0;padding:0;
}
.file-overlay[hidden],.file-overlay:disabled{pointer-events:none;}
