/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* 设计变量统一在 /shared/design-tokens.css（三期·design-tokens 统一） */
html, body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; }
a { text-decoration: none; color: var(--primary); }

/* ========== 页面容器 ========== */
#page-container { min-height: 100vh; padding-bottom: 0; }
.page { min-height: 100vh; }
.page-with-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

/* 可滚动内容区域（用于表单等长页面） */
.scroll-page { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.scroll-content { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 20px; }

/* ========== 顶部导航 ========== */
.navbar {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .nav-title { font-size: 18px; font-weight: 600; }
.navbar .nav-back { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.navbar .nav-right { cursor: pointer; }
/* v3.144.0 记录页右上角「导出名单」按钮 */
.navbar .nav-right .nav-btn { font-size: 13px; color: var(--primary); font-weight: 600; padding: 4px 2px; }

/* ========== 搜索栏 ========== */
.search-bar {
  background: var(--card-bg);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  position: sticky;
  top: 48px;
  z-index: 99;
}
.search-input {
  flex: 1;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--border);
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  white-space: nowrap;
}

/* ========== 筛选标签 ========== */
.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card-bg);
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.filter-tab {
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab.active {
  background: var(--primary);
  color: var(--white);
}

/* ========== 客户公海 ========== */
.scope-tabs {
  display: flex;
  padding: 0 16px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.scope-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.scope-tab.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
.cust-pool-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.pool-radio-row {
  display: flex;
  gap: 16px;
}
.pool-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.pool-radio input[type="radio"] { accent-color: var(--primary); }

/* ========== 卡片 ========== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  margin: 8px 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }

/* ========== 企业列表项 ========== */
.enterprise-item {
  background: var(--card-bg);
  margin: 8px 16px;
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s;
}
.enterprise-item:active { transform: scale(0.98); }
.enterprise-item .ent-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.enterprise-item .ent-info { font-size: 13px; color: var(--text-secondary); display: flex; flex-wrap: wrap; gap: 12px; }
.enterprise-item .ent-info span { display: flex; align-items: center; gap: 3px; }
.enterprise-item .ent-tags { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ========== 标签 ========== */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}
/* 标签样式统一在 /shared/design-tokens.css（含深色模式适配） */

/* ========== 意向等级 ========== */
.intention-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
}
.intention-high { background: var(--danger-soft); color: var(--danger); }
.intention-medium { background: var(--warning-soft); color: var(--warning-ink); }
.intention-none { background: var(--surface-3); color: var(--text-secondary); }
.intention-unknown { background: var(--primary-soft); color: var(--primary); }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: var(--btn-h);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 500;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:active { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 13px; }

/* ========== 表单 ========== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  font-size: 14px;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); }
.form-textarea { resize: vertical; min-height: 80px; }

/* ========== 底部Tab ========== */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  color: var(--text-light);
  cursor: pointer;
  font-size: 12px;
  gap: 2px;
}
.tab-item.active { color: var(--primary); }
.tab-item svg { width: 24px; height: 24px; }

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state .empty-icon { font-size: 36px; margin-bottom: 12px; }

/* ========== 统计卡片 ========== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card .stat-num { font-size: 28px; font-weight: 600; color: var(--primary); }
.stat-card .stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ========== 客户列表项 ========== */
.customer-item {
  background: var(--card-bg);
  margin: 8px 16px;
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
/* 四十三期 TT2：批量选择模式下横向排布（复选框 + 内容） */
.customer-item:has(> label) { display: flex; align-items: center; }
.customer-item:has(> label) { cursor: default; }
.customer-item .cust-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.customer-item .cust-name { font-size: 14px; font-weight: 600; }
.customer-item .cust-company { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.customer-item .cust-bottom { display: flex; justify-content: space-between; align-items: center; }
.customer-item .cust-phone { font-size: 13px; color: var(--text-secondary); }

/* ========== 详情页 ========== */
.detail-section { background: var(--card-bg); margin: 8px 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-section .section-header { padding: 12px 16px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border); }
.detail-row { display: flex; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-row .detail-label { width: 92px; color: var(--text-secondary); font-size: 13px; flex-shrink: 0; }
.detail-row .detail-value { flex: 1; font-size: 13px; }

/* ========== 弹窗 ========== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
/* v3.127.0 详情内评价弹窗（居中卡片） */
.mk-review-modal-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.18);
  z-index: 1001;
  animation: slideUp 0.25s ease;
}
.mk-review-modal-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.mk-review-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.mk-review-ta { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-size: 13px; background: var(--card-bg); color: var(--text); resize: none; margin-top: 6px; }
.mk-review-entry { margin-top: 8px; }
.mk-review-done-entry { font-size: 12px; color: #16a34a; font-weight: 600; }
/* v3.128.0 卖家回复评价 */
.mk-review-reply { margin-top: 6px; padding: 6px 8px; background: #f0fdf4; border-left: 3px solid #16a34a; border-radius: 6px; font-size: 12px; color: var(--text); }
.mk-review-reply-btn { margin-top: 6px; }
.mk-reply-tip { font-size: 11px; color: var(--muted); margin: 2px 0 4px; }
/* v3.130.0 供需待办聚合卡 */
.market-todo-card { background: linear-gradient(135deg, #eef2ff, #f5f3ff); border: 1px solid rgba(99,102,241,0.2); border-radius: 12px; padding: 10px 12px; }
.market-todo-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #4f46e5; margin-bottom: 8px; }
.market-todo-notify { margin-left: auto; font-size: 11px; font-weight: 600; color: #dc2626; background: rgba(220,38,38,0.1); border-radius: 10px; padding: 2px 8px; }
.market-todo-notify.mt-fw-notify { color: #1d4ed8; background: #dbeafe; }
.market-todo-head.mt-heat-head { margin-top: 8px; font-size: 12px; color: #e8590c; }
.market-todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.market-todo-item { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(255,255,255,0.75); border-radius: 10px; padding: 8px 4px; cursor: pointer; border: 1px solid rgba(99,102,241,0.12); }
.market-todo-num { font-size: 18px; font-weight: 800; line-height: 1.1; }
.market-todo-item.mt-qt .market-todo-num { color: #f59e0b; }
.market-todo-item.mt-rv .market-todo-num { color: #3b82f6; }
.market-todo-item.mt-rp .market-todo-num { color: #10b981; }
.market-todo-item.mt-fw .market-todo-num { color: #7c3aed; }
.market-todo-t { font-size: 11px; color: var(--muted); }
/* v3.192.0 我的回访任务（工作台） */
.mt-ft-head { margin-top: 8px; font-size: 12px; color: #4f46e5; }
.mt-ft-row { display: flex; align-items: center; gap: 8px; font-size: 12px; background: rgba(255,255,255,0.75); border-radius: 8px; padding: 5px 8px; margin-top: 5px; border: 1px solid rgba(99,102,241,0.12); }
.mt-ft-row.mt-ft-overdue { border-color: rgba(220,38,38,0.35); background: rgba(220,38,38,0.05); }
.mt-ft-name { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ft-lv { font-size: 11px; color: var(--muted); }
.mt-ft-due { font-size: 11px; color: var(--muted); }
.mt-ft-due.mt-ft-overdue-txt { color: #dc2626; font-weight: 700; }
.mt-ft-btn { background: #10b981; color: #fff; border: none; border-radius: 6px; width: 24px; height: 24px; line-height: 1; font-size: 13px; cursor: pointer; }
.mt-ft-more { font-size: 11px; color: var(--muted); margin-top: 6px; }
.mt-ft-all { margin-left: auto; font-size: 11px; color: #4f46e5; font-weight: 600; cursor: pointer; }
/* v3.209.0 我的催单 SLA（工作台） */
.mt-sla-head { margin-top: 8px; font-size: 12px; color: #7c3aed; }
.mt-sla-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.mt-sla-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(255,255,255,0.75); border: 1px solid rgba(124,58,237,0.15); border-radius: 8px; padding: 6px 2px; }
.mt-sla-num { font-size: 15px; font-weight: 800; color: #1f2937; line-height: 1.15; }
.mt-sla-num.mt-sla-good { color: #047857; }
.mt-sla-num.mt-sla-mid { color: #1d4ed8; }
.mt-sla-num.mt-sla-bad { color: #b45309; }
.mt-sla-t { font-size: 10px; color: var(--muted); }
/* v3.193.0 我的回访任务页 */
.mft-wrap { padding: 10px 12px; }
.mft-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.mft-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border: 1px solid rgba(99,102,241,0.2); border-radius: 12px; padding: 10px 4px; }
.mft-stat-num { font-size: 20px; font-weight: 800; color: #4f46e5; line-height: 1.1; }
.mft-stat-num.mft-stat-overdue { color: #dc2626; }
.mft-stat-t { font-size: 11px; color: var(--muted); }
.mft-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.8); border: 1px solid rgba(99,102,241,0.15); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.mft-row.mft-overdue { border-color: rgba(220,38,38,0.4); background: rgba(220,38,38,0.05); }
.mft-row-main { flex: 1; min-width: 0; }
.mft-row-top { display: flex; align-items: center; gap: 6px; }
.mft-name { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mft-lv { font-size: 11px; font-weight: 600; }
.mft-lv-red { color: #dc2626; } .mft-lv-orange { color: #ea580c; } .mft-lv-yellow { color: #ca8a04; }
.mft-row-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 11px; color: var(--muted); }
.mft-overdue-txt { color: #dc2626; font-weight: 700; }
.mft-due.mft-due-od { color: #dc2626; font-weight: 700; }
.mft-btn { background: #10b981; color: #fff; border: none; border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.mft-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.mft-empty-ico { font-size: 34px; margin-bottom: 8px; }
.mft-empty-sub { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.mft-load-err { text-align: center; color: #dc2626; font-size: 12px; padding: 24px 0; }
/* v3.195.0 回访动作闭环：素材/档案按钮 + 素材弹窗 + 档案标签 */
.mft-row-acts { display: flex; gap: 6px; margin-top: 6px; }
.mft-btn-ghost { background: #fff; color: #4f46e5; border: 1px solid rgba(99,102,241,0.35); }
.mft-btn-xs { padding: 4px 8px; font-size: 11px; border-radius: 6px; }
.mft-mat { white-space: pre-wrap; font-size: 13px; line-height: 1.6; color: #0f172a; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; }
.mft-mat-actions { display: flex; gap: 8px; margin-top: 10px; }
.mft-pr-row { display: flex; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.mft-pr-label { color: #94a3b8; flex-shrink: 0; width: 56px; }
.mft-pr-chip { display: inline-block; background: #eef2ff; color: #4f46e5; border-radius: 6px; padding: 2px 8px; margin: 0 4px 4px 0; font-size: 12px; }
/* v3.130.0 待回复评价页 */
.mk-rp-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.mk-rp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-rp-title { font-size: 14px; font-weight: 600; color: var(--text); }
.mk-rp-stars { font-size: 13px; color: #f59e0b; white-space: nowrap; }
.mk-rp-review { font-size: 13px; color: var(--text); margin: 6px 0; background: #f8fafc; border-radius: 6px; padding: 6px 8px; }
.mk-rp-foot { display: flex; align-items: center; justify-content: space-between; }
.mk-rp-date { font-size: 11px; color: var(--muted); }
/* v3.131.0 报价自助管理 */
.mk-quote-acts { display: flex; gap: 8px; margin-top: 4px; }
.mk-quote-act { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 12px; cursor: pointer; }
.mk-quote-accept { color: #fff; background: #10b981; }
.mk-quote-reject { color: #b45309; background: #fef3c7; }
.mk-quote-edit { color: #1d4ed8; background: #dbeafe; }
.mk-quote-cancel { color: #991b1b; background: #fee2e2; }
.mk-quote-chat { color: #0ea5e9; background: #e0f2fe; }
.mk-quote-view { color: #7c3aed; background: #ede9fe; }
.mk-overdue-bar { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
.mk-q-overdue { display: inline-block; margin-left: 6px; font-size: 11px; color: #b45309; background: #fef3c7; border-radius: 10px; padding: 1px 8px; vertical-align: middle; }
.mk-q-cancelled { color: #9ca3af; }
.mk-quote-input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin-bottom: 6px; background: #fff; color: var(--text); }
/* v3.132.0 我的发布管理 */
.mk-mine-tabs { display: flex; gap: 8px; padding: 10px 14px 4px; }
.mk-mine-tab { font-size: 13px; padding: 4px 14px; border-radius: 14px; background: var(--bg-light, #f2f4f7); color: var(--text-light); cursor: pointer; }
.mk-mine-tab.active { background: var(--primary, #2563eb); color: #fff; }
.mk-mine-row { margin: 8px 14px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.mk-mine-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-mine-title { font-size: 14px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-mine-st { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #eef2ff; color: #2563eb; flex-shrink: 0; }
.mk-mine-st.mk-st-dealt { background: #d1fae5; color: #047857; }
.mk-mine-st.mk-st-taken { background: #f3f4f6; color: #6b7280; }
.mk-mine-meta { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.mk-mine-acts { display: flex; gap: 8px; margin-top: 6px; }
.mk-mine-act { font-size: 12px; padding: 2px 12px; border-radius: 12px; cursor: pointer; }
.mk-mine-edit { color: #1d4ed8; background: #dbeafe; }
.mk-mine-off { color: #991b1b; background: #fee2e2; }
.mk-mine-del { color: #991b1b; background: #fee2e2; }
.mk-mine-time { font-size: 11px; color: var(--muted); margin-top: 4px; }
/* v3.133.0 报价弹层状态徽标 + 待处理报价入口 */
.mk-qb { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 10px; }
.mk-qb-none { background: #f3f4f6; color: #6b7280; }
.mk-qb-pending { background: #eef2ff; color: #2563eb; }
.mk-qb-dealt { background: #d1fae5; color: #047857; }
.mk-qb-cancel { background: #f3f4f6; color: #9ca3af; }
.mk-quote-tip { font-size: 11px; color: var(--muted); margin: 4px 0 8px; }
.mk-act-quotes { color: #92400e; background: #fef3c7; }
.modal-content {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1001;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.modal-header .modal-title { font-size: 16px; font-weight: 600; }
.modal-header .modal-close { font-size: 18px; color: var(--text-light); cursor: pointer; padding: 0 4px; }
.modal-body { padding: 16px; }
.modal-footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

/* ========== Toast ========== */
.toast {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  z-index: 2000;
  max-width: 80%;
  text-align: center;
}

/* ========== 任务项 ========== */
.task-item {
  background: var(--card-bg);
  margin: 8px 16px;
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.task-item.priority-urgent { border-left-color: var(--danger); }
.task-item.priority-high { border-left-color: var(--warning); }
.task-item.priority-normal { border-left-color: var(--primary); }
.task-item.priority-low { border-left-color: var(--text-light); }
.task-item .task-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.task-item .task-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.task-item .task-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-light); }

/* ========== 登录页 ========== */
.login-page {
  background: var(--primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-logo {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin-bottom: 16px;
}
.login-title { color: var(--white); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.login-subtitle { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 32px; }
.login-form { width: 100%; max-width: 340px; background: var(--card-bg); border-radius: var(--radius-lg); padding: 24px; }
.login-form .form-group { margin-bottom: 16px; }
.login-form .form-input { background: var(--surface-2); }
.login-btn { width: 100%; padding: 12px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; }
.login-hint { text-align: center; color: var(--text-light); font-size: 12px; margin-top: 16px; }

/* ========== 个人中心 ========== */
.profile-header {
  background: var(--primary);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.profile-name { font-size: 18px; font-weight: 600; }
.profile-role { font-size: 13px; color: rgba(255,255,255,0.8); }
.profile-menu { background: var(--card-bg); margin: 12px 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile-menu-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item .menu-label { font-size: 14px; }
.profile-menu-item .menu-arrow { color: var(--text-light); }

/* ========== 跟进记录 ========== */
.followup-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.followup-item:last-child { border-bottom: none; }
.followup-item .fu-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.followup-item .fu-type { font-size: 13px; color: var(--primary); font-weight: 500; }
.followup-item .fu-time { font-size: 12px; color: var(--text-light); }
.followup-item .fu-content { font-size: 13px; color: var(--text-secondary); }

/* ========== 拨号按钮 ========== */
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}

/* ========== 加载 ========== */
.loading { text-align: center; padding: 20px; color: var(--text-light); }
.loading-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin: 0 3px; animation: bounce 1.4s infinite; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }

/* ========== 通用 ========== */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.w-full { width: 100%; }

/* ========== v2.0 新增样式 ========== */

/* 企业注册 */
.form-container { padding: 16px; }
.register-info-box { background: var(--warning-soft); border: 1px solid var(--warning-soft); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 16px; }
.register-info-box p { font-size: 13px; color: var(--warning-ink); line-height: 1.8; }
.submit-btn { width: 100%; padding: 16px; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 12px; }
.submit-btn:active { background: var(--primary-dark); }
.login-links { text-align: center; margin-top: 12px; }
.login-link { color: var(--primary); font-size: 14px; text-decoration: none; }

/* 上传区域 */
.upload-area { width: 100%; min-height: 120px; border: 2px dashed var(--surface-3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--surface-2); }
.upload-area:active { border-color: var(--primary); background: var(--primary-soft); }
.upload-placeholder { font-size: 14px; color: var(--text-secondary); text-align: center; }

/* 图片上传槽 */
.image-upload-row { display: flex; gap: 8px; }
.img-upload-slot { width: 80px; height: 80px; border: 2px dashed var(--surface-3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--surface-2); overflow: hidden; position: relative; }
.upload-placeholder-small { font-size: 22px; color: var(--surface-3); }

/* 信息反馈 */
.info-box { background: var(--info-soft); border: 1px solid var(--info-soft); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 16px; }
.info-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.info-value { font-size: 16px; font-weight: 600; color: var(--text); }
.feedback-note { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 12px; line-height: 1.6; }
.form-textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; resize: vertical; min-height: 80px; }

/* 号码池 */
.number-pool-stats { display: flex; background: var(--card-bg); padding: 12px 8px; border-bottom: 1px solid var(--border); }
.stat-item { flex: 1; text-align: center; }
.stat-num { display: block; font-size: 22px; font-weight: 600; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--text-secondary); }
.number-list { padding: 8px; }
.number-card { background: var(--card-bg); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.number-phone { font-size: 16px; font-weight: 600; color: var(--text); }
.number-remark { font-size: 13px; color: var(--text-secondary); margin-left: 8px; flex: 1; }
.btn-dial { padding: 8px 20px; background: var(--success); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-dial:active { background: var(--success); }
.btn-secondary { padding: 12px 24px; background: var(--card-bg); color: var(--text-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: var(--text-base); cursor: pointer; }

/* 拨号页 */
.dial-container { padding: 16px; }
.dial-phone-box { background: var(--card-bg); border-radius: var(--radius-md); padding: 24px; text-align: center; margin-bottom: 16px; }
.dial-phone-label { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.dial-phone-number { font-size: 28px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.dial-remark { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.btn-call-now { display: inline-block; padding: 12px 32px; background: var(--success); color: var(--white); text-decoration: none; border-radius: var(--radius-sm); font-size: 18px; font-weight: 600; }
.dial-form { background: var(--card-bg); border-radius: var(--radius-md); padding: 16px; }
.intention-selector { display: flex; gap: 8px; }
.intention-option { flex: 1; padding: 12px; border: 2px solid var(--divider); border-radius: var(--radius-sm); text-align: center; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; }
.intention-option.high { color: var(--danger); }
.intention-option.high:has(input:checked) { border-color: var(--danger); background: var(--danger-soft); }
.intention-option.medium { color: var(--warning-ink); }
.intention-option.medium:has(input:checked) { border-color: var(--warning-ink); background: var(--warning-soft); }
.intention-option.low { color: var(--text-secondary); }
.intention-option.low:has(input:checked) { border-color: var(--text-secondary); background: var(--surface-3); }
.intention-option input { width: 16px; height: 16px; }

/* 通讯录增强 - 手机号2和图片 */
.contact-phone2 { font-size: 14px; color: var(--primary); margin-top: 4px; }
.contact-images { display: flex; gap: 4px; margin-top: 8px; }
.contact-images img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }

/* ========== v3.0 首页小蓝本风格 ========== */
.home-page { background: var(--surface-2); }
.home-header {
  background: var(--primary);
  padding: 12px 16px 20px;
  color: var(--white);
  position: relative;
  z-index: 10;
}
.home-user-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.home-user-name { font-size: 16px; font-weight: 600; }
.home-user-tag { font-size: 12px; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: var(--radius-md); }
.home-tabs { display: flex; justify-content: center; gap: 32px; margin-bottom: 16px; }
.home-tab { font-size: 16px; opacity: 0.7; padding-bottom: 4px; border-bottom: 2px solid transparent; cursor: pointer; }
.home-tab.active { opacity: 1; border-bottom-color: var(--white); font-weight: 600; }
.home-search-box {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 8px;
  position: relative;
}
.home-search-icon { font-size: 16px; }
.home-search-input { flex: 1; border: none; background: transparent; font-size: 14px; outline: none; min-width: 0; }
.home-search-scan { font-size: 18px; cursor: pointer; padding: 0 2px; }
.home-search-clear { font-size: 16px; cursor: pointer; padding: 0 4px; color: var(--text-light); display: none; align-items: center; }
.home-search-clear:active { color: var(--text-secondary); }
.home-search-btn {
  background: var(--primary, var(--primary));
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-search-btn:active { opacity: 0.85; }

/* 搜索联想/结果浮层：覆盖首页内容区 */
.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  right: -16px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 100;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.search-suggest-list { padding: 4px 0; }
.search-suggest-item { padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.search-suggest-item:active { background: var(--surface-3); }
.search-suggest-item:last-child { border-bottom: none; }
.search-suggest-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.search-suggest-name mark { background: var(--warning-soft); color: inherit; border-radius: var(--radius-sm); padding: 0 1px; }
.search-suggest-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.search-suggest-person { color: var(--text-secondary); }
.search-suggest-addr { font-size: 12px; color: var(--text-light); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-empty { padding: 20px 16px; text-align: center; color: var(--text-secondary); font-size: 14px; }
.search-suggest-more {
  padding: 12px 16px;
  text-align: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid var(--border);
}
.search-suggest-more:active { background: var(--surface-3); }

/* 五十四期：关键词联想（热词 + 高频行业短语）*/
.search-history-block { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.search-history-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.search-history-clear { color: var(--primary); cursor: pointer; }
.search-history-list { display: flex; flex-wrap: wrap; gap: 8px; }
.search-history-item { display: flex; align-items: center; gap: 4px; background: var(--surface-3); border-radius: 14px; padding: 4px 6px 4px 10px; font-size: 13px; color: var(--text); max-width: 100%; }
.search-history-text { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-history-del { cursor: pointer; color: var(--text-light); font-size: 12px; padding: 0 2px; flex: none; }
.search-history-del:active { color: var(--text-secondary); }
.search-phrase-block { padding: 12px 16px 12px; border-bottom: 1px solid var(--border); }
.search-phrase-title { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.search-phrase-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-phrase-chip {
  border: 1px solid var(--border);
  background: var(--surface-2, var(--surface-2));
  color: var(--text);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-phrase-chip:active { background: var(--surface-3); border-color: var(--primary); color: var(--primary); }
.search-hot-loading { padding: 16px 16px; text-align: center; color: var(--text-light); font-size: 13px; }

/* 五十四期：首页提醒聚合卡片 */
.home-reminder-card {
  margin: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hrc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hrc-title { font-size: 14px; font-weight: 600; color: var(--text); }
.hrc-date { font-size: 12px; color: var(--text-light); }
.hrc-body { padding: 4px 0; }
.hrc-section { padding: 8px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.hrc-section:last-child { border-bottom: none; }
.hrc-sec-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text); padding: 4px 0 8px; }
.hrc-sec-count { font-size: 12px; font-weight: 400; color: var(--text-light); }
.hrc-item { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; }
.hrc-item-tag { flex: none; font-size: 12px; padding: 1px 8px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text-secondary); }
.hrc-item-tag.hrc-tag-heat { background: #fff3e0; color: #e8590c; font-weight: 600; }
.hrc-item-tag.hrc-tag-today { background: var(--success-soft); color: var(--success-ink); }
.hrc-item-tag.hrc-tag-bday { background: var(--danger-soft); color: var(--danger-ink); }
.hrc-item-tag.hrc-tag-personal { background: var(--primary-soft); color: var(--primary-dark); }
.hrc-item-overdue .hrc-item-tag { background: var(--danger-soft); color: var(--danger-ink); }
/* v3.96.0 首页未读聚合条（v3.99.0 支持 4 条换行布局） */
.hrc-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.hrc-strip-item { flex: 1 1 calc(50% - 8px); min-width: 0; display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13px; color: var(--text); cursor: pointer; }
.hrc-strip-item:active { transform: scale(0.98); }
.hrc-strip-ic { font-size: 14px; }
.hrc-strip-num { color: var(--danger); font-weight: 700; }
.hrc-strip-intent { background: linear-gradient(135deg, #fff7ed, #fffbeb); border-color: #fcd34d; }
.hrc-strip-intent .hrc-strip-num { color: #d97706; }
/* v3.362.0：首页限流告警条样式 hrc-strip-alert 随 APP 运营页下线清理（防回归见 verify-home-alert） */
/* v3.98.0 转化漏斗 */
.ops-fn-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.ops-fn-k { width: 56px; flex-shrink: 0; color: var(--text-secondary); }
.ops-fn-bar { flex: 1; height: 18px; background: #eef0f6; border-radius: 9px; overflow: hidden; }
.ops-fn-bar i { display: block; height: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 9px; transition: width 0.4s ease; }
.ops-fn-n { width: 34px; text-align: right; font-weight: 700; flex-shrink: 0; }
.ops-fn-tail { width: 120px; flex-shrink: 0; color: var(--text-light); }
/* v3.101.0 供需详情升级：担保说明卡 + 发布人画像统计 */
.mk-guarantee { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid #a7f3d0; font-size: 12px; color: #15803d; }
.mk-guarantee-ic { font-size: 18px; }
.mk-guarantee-tx b { display: block; font-size: 13px; color: #166534; }
.mk-pub-stats { display: flex; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.mk-deals { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.mk-deals-h { font-size: 13px; font-weight: 700; color: #16a34a; margin-bottom: 8px; }
.mk-deal { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.mk-deal:last-child { border-bottom: none; }
.mk-deal-t { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-deal-p { color: #dc2626; font-weight: 700; white-space: nowrap; }
.mk-deal-d { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ops-alert-form { padding: 4px 0 8px; }
.ops-alert-label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.ops-alert-row { display: flex; align-items: center; gap: 8px; }
.ops-alert-input { flex: 1; max-width: 140px; }
.ops-alert-list { display: flex; flex-direction: column; gap: 8px; }
.ops-alert-item { padding: 10px 12px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--border); }
.ops-alert-t { font-size: 13px; font-weight: 600; color: var(--text); }
.ops-alert-c { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.5; }
.ops-alert-meta { font-size: 11px; color: var(--muted); margin-top: 6px; }
.mk-deals-more { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); font-size: 13px; font-weight: 600; color: #2563eb; cursor: pointer; }
.mk-pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 4px; }
.mk-pager-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; cursor: pointer; background: var(--card-bg); color: var(--text); }
.mk-pager-info { font-size: 12px; color: var(--muted); }
/* v3.107.0 成交互评：成交对象选择器 / 买家评价区块 / 我的评价页 */
.mk-buyer-pick { margin-top: 6px; }
.mk-buyer-name { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 8px; background: #eff6ff; color: #2563eb; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.mk-buyer-row { display: flex; gap: 8px; align-items: center; }
.mk-buyer-list { margin-top: 6px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mk-buyer-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; font-size: 13px; border-bottom: 1px solid var(--border); }
.mk-buyer-item:last-child { border-bottom: none; }
.mk-buyer-item:hover { background: var(--hover-bg); }
.mk-buyer-item-n { font-weight: 600; }
.mk-buyer-item-u { color: var(--muted); font-size: 12px; }
.mk-buyer-tip { padding: 8px 12px; color: var(--muted); font-size: 12px; }
.mk-pub-stat-rating b { color: #d97706; }
.mk-reviews { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--border); }
.mk-reviews-sub { font-size: 12px; color: var(--muted); font-weight: 400; }
.mk-review { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.mk-review:last-child { border-bottom: none; }
.mk-review-top { display: flex; align-items: center; justify-content: space-between; }
.mk-review-who { font-size: 13px; font-weight: 600; }
.mk-review-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.mk-review-tx { font-size: 13px; color: var(--text); margin-top: 4px; }
.mk-review-d { font-size: 11px; color: var(--muted); margin-top: 4px; }
/* v3.137.0 浏览足迹：时间戳小字（列表卡 foot 区） */
.mk-view-at { font-size: 11px; color: var(--muted); }
/* v3.138.0 信用分徽章（详情页）+ 信用档案卡 */
.mk-credit { cursor: pointer; }
.mk-credit-high { background: linear-gradient(135deg, #16a34a, #4ade80); color: #fff; }
.mk-credit-mid { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; }
.mk-credit-low { background: linear-gradient(135deg, #64748b, #94a3b8); color: #fff; }
.mk-credit-card { border-radius: 16px; padding: 20px 16px; color: #fff; margin-bottom: 12px; text-align: center; }
.mk-credit-card.mk-credit-high { background: linear-gradient(135deg, #059669, #34d399); }
.mk-credit-card.mk-credit-mid { background: linear-gradient(135deg, #d97706, #fbbf24); }
.mk-credit-card.mk-credit-low { background: linear-gradient(135deg, #475569, #94a3b8); }
.mk-credit-score { font-size: 44px; font-weight: 800; line-height: 1; }
.mk-credit-level { font-size: 14px; margin-top: 4px; opacity: .95; }
.mk-credit-dual { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 12px; opacity: .95; }
.mk-credit-tip { font-size: 11px; margin-top: 10px; opacity: .8; }
.mk-credit-conf { font-size: 12px; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(37, 99, 235, .08); color: #2563eb; line-height: 1.5; }
.mk-credit-row { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.mk-credit-row-t { font-size: 13px; font-weight: 600; }
.mk-credit-row-s { font-size: 12px; color: #f59e0b; margin-top: 2px; }
.mk-credit-row-m { font-size: 11px; color: var(--muted); margin-top: 2px; }
/* v3.136.0 卖家评价买家（成交互评双向口碑——紫色区分于买家评价区） */
.mk-review-seller { margin-top: 8px; padding: 8px 10px; background: linear-gradient(135deg, #f3e8ff, #ede9fe); border-left: 3px solid #8b5cf6; border-radius: 8px; }
.mk-review-seller-t { font-size: 12px; font-weight: 600; color: #7c3aed; }
.mk-review-seller-tx { font-size: 12px; color: var(--text); margin-top: 3px; }
.mk-review-seller-d { font-size: 11px; color: var(--muted); margin-top: 3px; }
.mk-review-item { padding: 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: var(--card-bg); }
/* v3.153.0 评价中心双 tab（我买到的 / 我卖出的） */
.mk-review-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
/* v3.161.0 口碑概览卡 */
.mk-review-ov { background: linear-gradient(135deg, #2563eb, #7c3aed); border-radius: 14px; padding: 14px; margin-bottom: 14px; color: #fff; }
.mk-review-ov-h { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.mk-review-ov-tip { font-size: 10px; font-weight: 400; opacity: .8; }
.mk-review-ov-grid { display: flex; gap: 10px; }
.mk-review-ov-cell { flex: 1; background: rgba(255,255,255,.14); border-radius: 10px; padding: 10px; cursor: pointer; }
.mk-review-ov-num { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mk-review-ov-grade { font-size: 10px; padding: 1px 6px; border-radius: 999px; font-weight: 600; }
.mk-review-ov-grade.g-great { background: #22c55e; color: #fff; }
.mk-review-ov-grade.g-good { background: #eab308; color: #333; }
.mk-review-ov-grade.g-warn { background: #f97316; color: #fff; }
.mk-review-ov-grade.g-none { background: rgba(255,255,255,.35); color: #fff; }
.mk-review-ov-t { font-size: 11px; opacity: .95; margin-top: 4px; }
.mk-review-ov-sub { font-size: 10px; opacity: .8; margin-top: 2px; }
.mk-review-go { margin-top: 10px; }
.mk-review-tab { flex: 1; text-align: center; padding: 9px 0; border-radius: 999px; font-size: 13px; color: var(--text-light); background: var(--bg-muted, #f1f5f9); cursor: pointer; }
.mk-review-tab.active { color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); font-weight: 600; }
.mk-review-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mk-review-item-t { font-size: 14px; font-weight: 600; }
.mk-review-item-d { font-size: 11px; color: var(--muted); }
.mk-review-starpick { display: flex; gap: 4px; margin: 6px 0; }
.mk-star { font-size: 22px; color: #d1d5db; cursor: pointer; line-height: 1; }
.mk-star.on { color: #f59e0b; }
.mk-review-submit { margin-top: 8px; text-align: right; }
.mk-review-done { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.mk-review-done:last-child { border-bottom: none; }
.mk-review-done-t { font-size: 13px; font-weight: 600; }
.mk-review-done-s { font-size: 12px; color: #d97706; margin-top: 2px; }
.mk-review-done-d { font-size: 11px; color: var(--muted); margin-top: 2px; }
/* v3.108.0 列表口碑徽章（信任杠杆前置） */
.mk-tag-rating { background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #d97706; border: 1px solid #fcd34d; }.mk-pub-stat { flex: 1; text-align: center; }
.mk-pub-stat b { display: block; font-size: 16px; color: var(--primary); }
.mk-pub-stat span { font-size: 11px; color: var(--text-light); }
.hrc-item-name { font-weight: 600; color: var(--text); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrc-item-meta { color: var(--text-light); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 个人提醒管理页 */
.rmd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rmd-row:last-child { border-bottom: none; }
.rmd-row-title { font-size: 14px; font-weight: 600; color: var(--text); }
.rmd-row-title.rmd-done { text-decoration: line-through; color: var(--text-light); }
.rmd-row-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.rmd-row-acts { display: flex; gap: 8px; flex: none; }

/* ========== v3.85.0 超级提醒器（sr- 前缀，与 rmd-/mg- 隔离） ========== */
.sr-sec-title { font-size: 15px; font-weight: 700; color: var(--text); margin: 4px 0 10px; display: flex; align-items: baseline; gap: 8px; }
.sr-sec-sub { font-size: 11px; font-weight: 400; color: var(--text-light); }
.sr-today-card { background: linear-gradient(135deg, #7c5cbf, #a86bd8); border-radius: 16px; padding: 14px 16px; color: #fff; margin-bottom: 14px; }
.sr-today-term { display: flex; align-items: center; gap: 12px; }
.sr-today-icon { font-size: 34px; line-height: 1; }
.sr-today-name { font-size: 16px; font-weight: 700; }
.sr-today-desc { font-size: 12px; opacity: .88; margin-top: 2px; }
.sr-today-meta { font-size: 12px; opacity: .92; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .25); }
.sr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white, #fff); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(31, 122, 255, .06); }
.sr-row.sr-soon { border: 1px solid #ff9a56; background: #FFF7ED; }
.sr-row-main { flex: 1; min-width: 0; }
.sr-row-title { font-size: 14px; font-weight: 600; color: var(--text); }
.sr-row-meta { font-size: 12px; color: var(--text-light); margin-top: 3px; }
.sr-row-side { flex: none; text-align: right; }
.sr-days { font-size: 15px; font-weight: 700; color: var(--primary); }
.sr-days-hot { color: #ea580c; }
.sr-row-acts { display: flex; gap: 6px; margin-top: 6px; justify-content: flex-end; }
.sr-empty { font-size: 13px; color: var(--text-light); padding: 14px 0; text-align: center; }
.sr-form-row { display: flex; gap: 8px; margin-bottom: 10px; }
.sr-form-row .form-input { flex: 1; min-width: 0; }
.sr-form-tip { font-size: 11px; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.sr-hide { display: none !important; }
.sr-cust-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sr-cust-row:last-child { border-bottom: none; }
.sr-cust-name { font-size: 14px; font-weight: 600; color: var(--text); }
.sr-cust-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.sr-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .45); display: none; align-items: center; justify-content: center; z-index: 1200; padding: 20px; }
.sr-mask.on { display: flex; }
.sr-dialog { width: 100%; max-width: 380px; box-sizing: border-box; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 16px; }
.sr-dialog-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sr-dialog-acts { display: flex; gap: 10px; margin-top: 12px; }
.sr-dialog-acts .btn { flex: 1; }
.sr-poster-meta { font-size: 11px; color: var(--text-light); margin-top: 10px; line-height: 1.6; }

/* ========== v3.86.0 身份认证（ida- 前缀，与 sr-/mg-/rc- 隔离） ========== */
.ida-wrap { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.ida-card { background: var(--white, #fff); border-radius: 14px; padding: 14px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.ida-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ida-card-desc { font-size: 12px; color: var(--text-light); margin-bottom: 10px; line-height: 1.6; }
.ida-status { display: flex; align-items: center; justify-content: space-between; }
.ida-status-label { font-size: 12px; color: var(--text-light); }
.ida-status-value { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 2px; }
.ida-st { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.ida-st-none { background: #f1f5f9; color: #64748b; }
.ida-st-pending { background: #fff7ed; color: #c2410c; }
.ida-st-approved { background: #ecfdf5; color: #047857; }
.ida-st-rejected { background: #fef2f2; color: #b42318; }
.ida-badge {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fcd34d;
}
.ida-badge-icon { font-size: 22px; }
.ida-badge-text { font-size: 15px; font-weight: 800; color: #92400e; letter-spacing: .5px; }
.ida-reject { background: #fef2f2; border: 1px solid #fecaca; border-radius: 14px; padding: 12px 14px; }
.ida-reject-title { font-size: 13px; font-weight: 700; color: #b42318; }
.ida-reject-text { font-size: 13px; color: #7f1d1d; margin-top: 6px; line-height: 1.6; }
.ida-reject-hint { font-size: 11px; color: #b42318; margin-top: 6px; opacity: .85; }
.ida-idcard {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px;
  border: 1.5px solid var(--border, #e2e8f0); margin-bottom: 10px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.ida-idcard.ida-active { border-color: var(--primary, #6366f1); background: #eef2ff; }
.ida-idcard-radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.ida-idcard.ida-active .ida-idcard-radio { border-color: var(--primary, #6366f1); }
.ida-idcard.ida-active .ida-idcard-radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--primary, #6366f1); }
.ida-idcard-title { font-size: 14px; font-weight: 700; color: var(--text); }
.ida-idcard-desc { font-size: 11px; color: var(--text-light); margin-top: 3px; line-height: 1.5; }
.ida-subs { margin-bottom: 4px; }
.ida-subs-label { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.ida-subs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ida-chip {
  font-size: 12px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border, #e2e8f0);
  background: var(--white, #fff); color: var(--text); cursor: pointer;
}
.ida-chip.ida-active { border-color: var(--primary, #6366f1); background: #eef2ff; color: var(--primary, #6366f1); font-weight: 600; }
.ida-upload-tip { font-size: 12px; color: var(--text-light); padding: 10px 0; }
.ida-upload-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border, #e2e8f0);
}
.ida-upload-row.ida-reserved { opacity: .55; }
.ida-upload-label { font-size: 13px; font-weight: 600; color: var(--text); }
.ida-upload-hint { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.ida-reserved-tag {
  font-size: 10px; color: #92400e; background: #fef3c7; border-radius: 4px;
  padding: 1px 5px; margin-left: 6px; font-weight: 600;
}
.ida-upload-btn {
  flex: none; font-size: 12px; font-weight: 600; color: var(--primary, #6366f1);
  border: 1px solid var(--primary, #6366f1); border-radius: 8px; padding: 6px 14px; cursor: pointer;
}
.ida-upload-btn.ida-disabled { color: #94a3b8; border-color: #cbd5e1; cursor: not-allowed; }
.ida-mat-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ida-mat-empty { font-size: 12px; color: var(--text-light); width: 100%; padding: 8px 0; }
.ida-mat-item { position: relative; width: 96px; }
.ida-mat-img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border, #e2e8f0); display: block; }
.ida-mat-pdf {
  width: 96px; height: 72px; border-radius: 8px; border: 1px solid var(--border, #e2e8f0);
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: #475569;
  text-align: center; padding: 4px; box-sizing: border-box; overflow: hidden; background: #f8fafc;
}
.ida-mat-name { font-size: 10px; color: var(--text-light); margin-top: 4px; text-align: center; }
.ida-mat-del {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%;
  border: none; background: #ef4444; color: #fff; font-size: 12px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ida-submit {
  width: 100%; margin-top: 14px; padding: 12px; border: none; border-radius: 12px;
  background: var(--primary, #6366f1); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.ida-submit.ida-disabled { background: #cbd5e1; cursor: not-allowed; }
.ida-disclaimer {
  font-size: 11px; color: var(--text-light); line-height: 1.7; padding: 4px 6px 16px;
}
.search-back-suggest {
  font-size: 12px;
  color: var(--primary);
  font-weight: 400;
  margin-left: 8px;
  cursor: pointer;
  text-decoration: underline;
}

/* 扫码页 */
.scan-page { background: #000; min-height: 100vh; }
.scan-page .navbar { background: var(--gray-900); color: var(--white); }
.scan-page .nav-back { color: var(--white); }
.scan-page .nav-title { color: var(--white); }
.scan-container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.scan-video { width: 100%; max-height: 60vh; object-fit: cover; }
.scan-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border: 3px solid rgba(102, 126, 234, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 4000px rgba(0,0,0,0.4);
  overflow: hidden;
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  animation: scanMove 2s ease-in-out infinite;
}
@keyframes scanMove {
  0% { top: 0; }
  50% { top: calc(100% - 3px); }
  100% { top: 0; }
}
.scan-tip { color: var(--white); font-size: 14px; text-align: center; padding: 16px; line-height: 1.6; }
.scan-actions { display: flex; justify-content: center; gap: 12px; padding: 8px 16px 24px; }
.scan-actions .btn { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }

/* 今日待办聚合卡片 (v3.2) */
.todo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.todo-item {
  text-align: center; padding: 12px 4px; border-radius: var(--radius-md);
  background: var(--bg); cursor: pointer; min-height: 44px;
}
.todo-num { font-size: 18px; font-weight: 600; line-height: 1.2; }
.todo-label { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* 跟进时间线 (v3.2) */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 16px; }
.timeline-dot {
  position: absolute; left: -22px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--card-bg);
}
.timeline-time { font-size: 12px; color: var(--text-secondary); }
.timeline-type { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: var(--radius-md); background: var(--bg); color: var(--text-secondary); margin-left: 8px; }
.timeline-content { font-size: 14px; margin-top: 4px; word-break: break-word; }

.quick-group { margin: 0 12px 12px; background: var(--card-bg); border-radius: var(--radius); padding-bottom: 4px; }
.quick-group-title {
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 12px 16px 4px; display: flex; align-items: center; gap: 8px;
}
.quick-group-title::before {
  content: ''; width: 3px; height: 12px; border-radius: var(--radius-sm); background: var(--primary);
}
.quick-group .quick-grid { margin: 0; padding: 8px 16px 12px; border-radius: 0; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--card-bg);
  margin: 12px;
  border-radius: var(--radius);
}
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.quick-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.icon-map { background: var(--primary-soft); }
.icon-prospect { background: var(--success-soft); }
.icon-bid { background: var(--warning-soft); }
.icon-relation { background: var(--primary-soft); }
.icon-judicial { background: var(--danger-soft); }
.icon-batch { background: var(--primary-soft); }
.icon-job { background: var(--accent-soft); }
.icon-cockpit { background: linear-gradient(135deg, #1A233A, #3867D6); color: #fff; }
/* v3.73 获客驾驶舱入口：跨两列横向大卡（避免 5 项在 4 列网格中换行孤项）
   布局：图标 + 文字块（主标题/副标题纵向堆叠）横向排列，文字块占满剩余宽度 */
.quick-item-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(26,35,58,.06), rgba(56,103,214,.10));
  border-radius: var(--radius-md);
  padding: 10px 12px;
  min-width: 0;
}
.quick-item-wide .quick-icon { flex-shrink: 0; }
.quick-item-wide .quick-text-col {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; flex: 1 1 auto;
}
.quick-item-wide .quick-name { font-weight: 600; white-space: nowrap; }
.quick-item-wide .quick-wide-sub {
  font-size: 11px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-more { background: var(--surface-3); }
.quick-name { font-size: 12px; color: var(--text); position: relative; }
.quick-badge { display: inline-block; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; margin-left: 4px; border-radius: var(--radius-sm); background: var(--danger); color: var(--white); font-size: 12px; font-weight: 600; vertical-align: middle; }

.home-banner {
  background: var(--primary);
  margin: 0 12px 12px;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.banner-title { font-size: 16px; font-weight: 600; }
.banner-desc { font-size: 12px; opacity: 0.9; margin-top: 4px; }
.banner-btn { background: var(--card-bg); color: var(--primary); border: none; border-radius: var(--radius-lg); padding: 8px 16px; font-size: 13px; font-weight: 600; }

.news-section { background: var(--card-bg); margin: 0 12px; border-radius: var(--radius); padding: 16px; }
.news-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.news-tabs { display: flex; gap: 16px; }
.news-tab { font-size: 16px; color: var(--text-secondary); cursor: pointer; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.news-tab.active { color: var(--text); border-bottom-color: var(--primary); font-weight: 600; }
.news-more { font-size: 13px; color: var(--text-secondary); }
.news-item { padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.news-item:last-child { border-bottom: none; }
.news-date { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.news-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.news-summary { font-size: 13px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-page-list { padding: 0 12px; }
.news-page-item { background: var(--card-bg); margin: 8px 0; padding: 16px; border-radius: var(--radius); }
.news-page-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.news-page-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.news-page-summary { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.news-page-source { font-size: 12px; color: var(--text-light); }

/* 地图拓客 */
.map-container { position: relative; height: calc(100vh - 48px); background: var(--divider); }
.map-view { height: 55%; position: relative; }
.map-placeholder {
  height: 100%; background: var(--surface-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-title { font-size: 18px; font-weight: 600; color: var(--primary); }
.map-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.map-markers { position: absolute; inset: 0; }
.map-marker { position: absolute; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.map-marker-pin { font-size: 22px; }
.map-marker-name { font-size: 12px; background: rgba(255,255,255,0.85); padding: 1px 4px; border-radius: var(--radius-sm); }
.map-note { position: absolute; bottom: 8px; font-size: 12px; color: var(--text-light); }
.map-overlay { position: absolute; top: 8px; left: 12px; right: 12px; z-index: 10; }
.map-search-row { display: flex; gap: 8px; }
.map-select { flex: 1; padding: 8px 12px; border-radius: var(--radius-sm); border: none; font-size: 13px; }
.map-search-btn { background: var(--primary); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 8px 16px; font-size: 13px; }
.map-tip { background: rgba(255,255,255,0.95); margin-top: 8px; padding: 8px; border-radius: var(--radius-sm); font-size: 12px; color: var(--text-secondary); }
.map-list { height: 45%; overflow-y: auto; background: var(--card-bg); padding: 8px 12px; }
.map-list-item { padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.map-list-name { font-size: 14px; font-weight: 600; }
.map-list-info { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* 潜客筛选 */
.filter-panel { background: var(--card-bg); padding: 16px; margin: 12px; border-radius: var(--radius); }
.filter-group { margin-bottom: 16px; }
.filter-label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.filter-row { display: flex; gap: 12px; }
.filter-row .form-input { flex: 1; }

/* 查关系 */
.relation-search-box { padding: 12px 16px; background: var(--card-bg); display: flex; gap: 8px; align-items: center; }
.relation-input { flex: 1; min-width: 0; background: var(--bg); border-radius: var(--radius-sm); padding: 12px 12px; border: 1px solid var(--border); font-size: 14px; }
.judicial-select { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 8px; border: 1px solid var(--border); font-size: 13px; max-width: 112px; flex-shrink: 0; }
.relation-btn { background: var(--primary); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 12px 20px; font-size: 14px; flex-shrink: 0; white-space: nowrap; }
.relation-section-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); padding: 12px 16px 8px; }
.relation-enterprise-item { background: var(--card-bg); margin: 8px 16px; padding: 16px; border-radius: var(--radius); cursor: pointer; }
.relation-ent-name { font-size: 14px; font-weight: 600; }
.relation-ent-info { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.relation-chain-item { background: var(--card-bg); margin: 8px 16px; padding: 16px; border-radius: var(--radius); display: flex; align-items: center; gap: 8px; }
.relation-node { flex: 1; font-size: 14px; text-align: center; background: var(--bg); padding: 12px; border-radius: var(--radius-sm); }
.relation-arrow { font-size: 12px; color: var(--primary); white-space: nowrap; text-align: center; }
.relation-person { background: var(--card-bg); margin: 8px 16px; padding: 16px; border-radius: var(--radius); }
.relation-person-name { font-size: 14px; font-weight: 600; }
.relation-person-role { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.relation-network-item { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.relation-network-source, .relation-network-target { flex: 1; font-size: 13px; }
.relation-network-type { font-size: 12px; color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: var(--radius-sm); }

/* 查司法 */
.judicial-item { background: var(--card-bg); margin: 8px 16px; padding: 16px; border-radius: var(--radius); }
.judicial-title { font-size: 14px; font-weight: 600; }
.judicial-case { font-size: 13px; color: var(--primary); margin-top: 4px; }
.judicial-info { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.judicial-result { font-size: 13px; color: var(--danger); margin-top: 4px; }

/* 智能名片 */
.business-card-preview {
  background: var(--primary);
  margin: 12px 16px; border-radius: var(--radius); padding: 16px; color: var(--white); cursor: pointer;
}
.card-preview-header { display: flex; gap: 12px; align-items: center; }
.card-preview-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
.card-preview-name { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-default-tag { font-size: 12px; background: rgba(255,255,255,0.25); padding: 2px 8px; border-radius: var(--radius-sm); }
.card-preview-title { font-size: 13px; opacity: 0.9; margin-top: 4px; }
.card-preview-contact { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 13px; }
.business-card-detail {
  margin: 16px; border-radius: var(--radius); padding: 28px 20px; color: var(--white); text-align: center;
}
.card-detail-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.25); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; }
.card-detail-name { font-size: 22px; font-weight: 600; }
.card-detail-title { font-size: 14px; margin-top: 8px; opacity: 0.95; }
.card-detail-company { font-size: 14px; margin-top: 4px; opacity: 0.9; }
.card-detail-divider { height: 1px; background: rgba(255,255,255,0.25); margin: 16px 0; }
.card-detail-row { font-size: 14px; margin: 8px 0; }
.card-detail-tags { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.card-detail-tag { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: var(--radius-md); font-size: 12px; }
.card-detail-actions { padding: 0 16px; }
.card-detail-stats { display: flex; justify-content: center; gap: 40px; margin-top: 20px; }
.card-stat { text-align: center; }
.card-stat-num { display: block; font-size: 18px; font-weight: 600; color: var(--text); }
.card-stat-label { font-size: 12px; color: var(--text-secondary); }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.form-check input { width: 20px; height: 20px; }

/* 我的关注 */
.follows-list { padding: 0 12px; }
.follow-item { background: var(--card-bg); margin: 8px 0; padding: 16px; border-radius: var(--radius); cursor: pointer; }
.follow-name { font-size: 14px; font-weight: 600; }
.follow-info { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.follow-status { display: inline-block; margin-top: 8px; font-size: 12px; background: var(--success-soft); color: var(--success-ink); padding: 2px 8px; border-radius: var(--radius-sm); }

/* ========== 首页搜索结果（实时搜索） ========== */
.search-results-header {
  background: var(--bg);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}
.search-result-card {
  background: var(--card-bg);
  margin: 8px 12px;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.search-result-card:active {
  transform: scale(0.99);
  background: var(--bg);
}
.search-result-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.search-result-name mark {
  background: var(--warning-soft);
  color: var(--text);
  padding: 0 2px;
  border-radius: var(--radius-sm);
}
.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.search-result-tag, .search-result-type, .search-result-status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;   /* v3.72 Pill 化 */
}
.search-result-tag.tag-claimed { background: var(--success-soft); color: var(--success-ink); }
.search-result-tag.tag-unclaimed { background: var(--surface-3); color: var(--text-secondary); }
.search-result-type { background: var(--primary-soft); color: var(--primary); }
.search-result-status { background: var(--warning-soft); color: var(--warning-ink); }
.search-result-info { font-size: 13px; }
.search-result-row {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  color: var(--text-secondary);
}
.search-result-row .info-label {
  color: var(--text-light);
  min-width: 64px;
  flex-shrink: 0;
}
.search-result-row mark {
  background: var(--warning-soft);
  color: var(--text-secondary);
  padding: 0 2px;
}
.search-results-tip {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 16px;
}
.search-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-secondary);
}
.search-empty .empty-icon { font-size: 36px; margin-bottom: 8px; }
.search-empty-tip { font-size: 12px; color: var(--text-light); margin-top: 8px; }

/* ========== 司法详情页 ========== */
.judicial-detail-card { background: var(--card-bg); margin: 12px 16px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.jd-section { padding: 16px; border-bottom: 1px solid var(--border); }
.jd-section:last-child { border-bottom: none; }
.jd-enterprise-name { font-size: 18px; font-weight: 600; color: var(--text); }
.jd-enterprise-type { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }
.jd-row { display: flex; padding: 8px 0; align-items: flex-start; }
.jd-label { min-width: 80px; color: var(--text-light); font-size: 13px; flex-shrink: 0; }
.jd-value { flex: 1; font-size: 14px; color: var(--text); word-break: break-all; }
.jd-status { color: var(--danger); font-weight: 600; }
.jd-section-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.jd-detail-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; white-space: pre-wrap; }
.jd-actions { padding: 16px; }
.judicial-click-hint { text-align: right; font-size: 12px; color: var(--primary); margin-top: 8px; }

/* ========== 地图拓客 - 新版 ========== */
.map-canvas { position: relative; width: 100%; height: 100%; background: linear-gradient(180deg, #e8f0fe 0%, #d4e4f7 100%); overflow: hidden; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(30,58,95,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(30,58,95,0.08) 1px, transparent 1px); background-size: 30px 30px; }
.map-center-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 20; cursor: move; user-select: none; touch-action: none; }
.map-pin-icon { font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.map-pin-label { font-size: 12px; background: var(--primary); color: var(--white); padding: 2px 8px; border-radius: var(--radius-sm); text-align: center; margin-top: -2px; white-space: nowrap; }
.map-radius-circle { position: absolute; left: 50%; top: 50%; border: 2px dashed rgba(30, 58, 95, 0.4); background: rgba(30, 58, 95, 0.06); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 5; }
.map-controls { background: rgba(255,255,255,0.98); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow); }
.map-control-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.map-control-label { font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.map-coord-input { width: 80px; padding: 8px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 12px; }
.map-search-btn-full { width: 100%; background: var(--primary); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 12px; font-size: 14px; margin-top: 4px; }

/* ========== 地图拓客 · 优化增强 ========== */
.map-radius-badge { position: absolute; right: 8px; bottom: 8px; z-index: 15; background: rgba(30,58,95,0.7); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 10px; pointer-events: none; }
.map-history { display: none; margin-bottom: 12px; }
.map-history-title { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.map-history-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.map-history-chip { background: #eef2ff; color: var(--primary); border: 1px solid #dfe6ff; border-radius: 16px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.map-marker.active { z-index: 30; }
.map-marker.active .map-marker-pin { transform: scale(1.35); filter: drop-shadow(0 4px 8px rgba(30,58,95,0.5)); }
.map-marker.active .map-marker-name { background: var(--primary); color: #fff; }
.map-list-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(30,58,95,0.06); cursor: pointer; }
.map-list-item.active { outline: 2px solid var(--primary); background: #f5f8ff; }
.map-locate-btn { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--border); background: #f5f8ff; border-radius: 8px; font-size: 16px; cursor: pointer; }
.map-list-body { flex: 1; min-width: 0; }
.map-list-name { font-weight: 600; font-size: 14px; color: var(--text); }
.map-list-info { font-size: 12px; color: var(--text-secondary); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-save-btn { flex: 0 0 auto; background: var(--primary); color: #fff; border: none; border-radius: 8px; padding: 7px 10px; font-size: 12px; cursor: pointer; max-width: 92px; white-space: nowrap; }
.map-save-btn.disabled, .map-save-btn[disabled] { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }
.map-save-btn.saved { background: #16a34a; }
.map-list-more { text-align: center; font-size: 12px; color: var(--text-secondary); padding: 10px; }

/* ========== 头像选择器 ========== */
.profile-avatar-clickable { position: relative; cursor: pointer; }
.profile-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar-badge { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; border: 2px solid var(--white); }
.avatar-picker-section { padding: 4px 0; }
.avatar-picker-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.avatar-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.avatar-grid-item { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 22px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; }
.avatar-grid-item:active { background: var(--bg); }
.avatar-grid-item.active { border-color: var(--primary); background: var(--primary-soft); }
.avatar-picker-divider { height: 1px; background: var(--border); margin: 16px 0; }
.avatar-upload-btn { background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius); padding: 16px; text-align: center; font-size: 14px; color: var(--primary); cursor: pointer; }
.avatar-upload-btn:active { background: var(--primary-soft); }

/* v2.7 通话登记结果 chips */
.call-chip { cursor: pointer; user-select: none; }
.call-chip.chip-active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* v3.0 通知中心 */
.notify-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--danger); color: var(--white);
  border-radius: var(--radius-sm); font-size: 12px; font-weight: 600;
  align-items: center; justify-content: center; line-height: 16px;
  box-shadow: 0 0 0 2px var(--white);
}
/* v3.66：tabbar「我的」项未读角标（消息/提醒红点，任何 tab 下可见） */
.tab-item { position: relative; }
.tab-notify-badge {
  position: absolute; top: 2px; right: 50%; margin-right: -26px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--danger); color: var(--white);
  border-radius: 8px; font-size: 10px; font-weight: 600;
  display: none; align-items: center; justify-content: center; line-height: 16px;
  box-shadow: 0 0 0 2px var(--card-bg);
  pointer-events: none; z-index: 5;
}
/* v3.144.0 「我的」页 AI 智能匹配菜单角标（新匹配红点，inline 相对定位，不继承 tab 绝对定位） */
.profile-menu-item .tab-notify-badge {
  position: static; vertical-align: middle; margin-left: 6px;
  display: none; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px; background: var(--danger); color: var(--white);
  border-radius: 8px; font-size: 10px; font-weight: 600; line-height: 16px;
  box-shadow: none; pointer-events: none;
}
.notify-item:active { background: var(--surface-2); }


/* ============================================================
   三期 · 列表行内操作按钮热区 ≥44px
   ============================================================ */
.customer-item .btn, .enterprise-item .btn, .task-item .btn,
.number-item .btn, .followup-item .btn, .notify-item .btn,
.cust-bottom .btn, .list-actions .btn, .search-result-card .btn {
  min-height: var(--tap-min);
  min-width: var(--tap-min);
}
.tap-target { min-width: var(--tap-min); min-height: var(--tap-min); display: inline-flex; align-items: center; justify-content: center; }

/* ============================================================
   三期 · 骨架屏容器留白
   ============================================================ */
#customer-list > .skeleton-card,
.customer-list > .skeleton-card { margin: 12px 16px; }
#customer-list > .skeleton-card:first-child { margin-top: 12px; }

/* ============================================================
   三期 · 深色模式适配
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .navbar { background: var(--primary); }
  .tabbar { background: var(--card-bg); border-top-color: var(--border); }
  .search-bar { background: var(--card-bg); }
  .search-input { background: var(--bg); color: var(--text); }

  .intention-high { background: rgba(248, 113, 113, 0.18); color: var(--danger-soft); }
  .intention-medium { background: rgba(251, 191, 36, 0.18); color: var(--warning-soft); }
  .intention-none { background: rgba(148, 163, 184, 0.18); color: var(--sidebar-text); }
  .intention-unknown { background: rgba(129, 140, 248, 0.2); color: var(--primary-soft); }

  .profile-avatar-badge { border-color: var(--card-bg); }
  .modal-content { background: var(--card-bg); color: var(--text); }
  .toast { background: rgba(15, 23, 42, 0.95); color: var(--surface-2); }
  .search-result-tag.tag-claimed { background: rgba(34, 197, 94, 0.2); color: var(--success-soft); }
  .search-result-tag.tag-unclaimed { background: rgba(148, 163, 184, 0.2); color: var(--sidebar-text); }
}

/* ============================================================
   二十九期 EE2 · APP 端质感升级（纯叠加，不改写既有规则）
   ============================================================ */

/* ---------- 顶栏：渐变加深 + 底部柔和投影 ---------- */
.navbar {
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.18);
}

/* ---------- 触控反馈：卡片/按钮/菜单 按压缩放 ---------- */
.card, .profile-menu-item, .stat-card {
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card:active, .profile-menu-item:active, .stat-card:active {
  transform: scale(0.985);
}

/* ---------- 按钮：过渡 + 按压 + 主按钮渐变 ---------- */
.btn { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur-fast), opacity var(--dur-fast); }
.btn:active { transform: scale(0.96); }
.btn-primary, .search-btn {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}
.btn-primary:active, .search-btn:active { box-shadow: 0 1px 4px rgba(30, 58, 95, 0.2); }

/* ---------- 卡片：桌面悬浮微抬升（触屏无影响） ---------- */
@media (hover: hover) {
  .card:hover, .stat-card:hover { box-shadow: var(--shadow-lg); transform: var(--lift-sm); }
}

/* ---------- 底部 Tab 栏：图标弹性选中反馈 ---------- */
.tab-item { transition: transform var(--dur) var(--ease-spring), color var(--dur-fast); }
.tab-item:active { transform: scale(0.92); }

/* ---------- 空状态：柔和入场 ---------- */
.empty-state { animation: ee-fade-up var(--dur-slow) var(--ease-out) both; }
@keyframes ee-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 筛选标签：选中态渐变胶囊 ---------- */
.filter-tab.active, .filter-tab[aria-selected="true"] {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.25);
}

/* ---------- 输入聚焦：柔和外发光 ---------- */
.search-input:focus, .form-input:focus, .login-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ---------- 滚动条（桌面预览友好，触屏无影响） ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.45); border-radius: var(--radius-sm); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 四十四期 UU：跟进话术推荐卡 ---------- */
.script-badge { font-size:12px;padding:1px 8px;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--primary);border:1px solid var(--primary-soft); }
.script-reason { font-size:12px;padding:1px 8px;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-secondary);border:1px solid var(--border); }
.script-content { font-size:12px;line-height:1.6;color:var(--text-secondary);margin:8px 0 8px;white-space:pre-wrap;word-break:break-word;
  background:var(--surface-2);border-left:3px solid var(--primary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:8px 12px; }

/* ---------- 全局丝滑动效增强 ---------- */
.page { animation: pageFadeIn 0.25s ease-out; }
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
button, .card, .list-item {
  transition: all 0.15s ease-out;
}
button:active {
  transform: scale(0.96);
}
.card {
  transition: all 0.2s ease-out;
}
.card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ========== 消息中心：聚焦高亮（点击通知跳转后定位该条） ========== */
@keyframes notifyPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 92, 191, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(124, 92, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 92, 191, 0); }
}
.notify-focus {
  animation: notifyPulse 1.3s ease-out 2;
  border-color: #7c5cbf !important;
}

/* ========== P6 人脉广场 ========== */
.net-hero {
  margin: 14px 16px;
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f2c52 0%, #145a7a 55%, #0ea5b7 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 183, 0.25);
}
.net-hero-title { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.net-hero-sub { font-size: 12.5px; opacity: .85; margin-top: 6px; }
.net-hero-stats { display: flex; margin-top: 16px; }
.net-hero-stat { flex: 1; text-align: center; position: relative; }
.net-hero-stat + .net-hero-stat::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(255,255,255,.2);
}
.net-hero-num { font-size: 22px; font-weight: 800; }
.net-hero-lbl { font-size: 11px; opacity: .8; margin-top: 2px; }

.net-module-card {
  display: flex; align-items: center; gap: 12px;
  margin: 0 16px 12px; padding: 14px 14px;
  background: #fff; border-radius: 14px; border: 1px solid #eef2f7;
  box-shadow: 0 2px 8px rgba(15, 44, 82, 0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.net-module-card:active { transform: scale(.985); box-shadow: 0 4px 14px rgba(15,44,82,.1); }
.net-module-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, #e0f7fa, #c2f0f5);
}
.icon-contacts { background: linear-gradient(135deg, #e0f2ff, #bfe3ff); }
.icon-radar { background: linear-gradient(135deg, #e8f5e9, #c8efd0); }
.icon-friends { background: linear-gradient(135deg, #fff0e6, #ffd9bf); }
.net-module-main { flex: 1; min-width: 0; }
.net-module-name { font-size: 15px; font-weight: 700; color: #0f2c52; }
.net-module-desc { font-size: 12px; color: #7c8aa0; margin-top: 3px; line-height: 1.45; }
.net-module-go { font-size: 22px; color: #b8c2d0; }

.net-tip { font-size: 12px; color: #7c8aa0; line-height: 1.55; margin: 10px 0; }

/* 通讯录匹配 */
.net-chip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 14px; }
.net-chip-stat { text-align: center; padding: 12px 4px; border-radius: 12px; background: #f5f8fb; }
.net-chip-num { font-size: 20px; font-weight: 800; }
.net-chip-lbl { font-size: 11px; color: #7c8aa0; margin-top: 2px; }
.tag-linked .net-chip-num, .tag-linked { color: #16a34a; }
.tag-enterprise .net-chip-num, .tag-enterprise { color: #0ea5b7; }
.tag-user .net-chip-num, .tag-user { color: #7c5cbf; }
.tag-new .net-chip-num, .tag-new { color: #94a3b8; }

.net-match-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #f1f5f9; }
.net-match-avatar, .net-visitor-avatar, .net-friend-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #145a7a, #0ea5b7);
}
.net-match-main { flex: 1; min-width: 0; }
.net-match-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.net-match-sub { font-size: 12px; color: #7c8aa0; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.net-tag { font-size: 11px; padding: 3px 8px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.net-tag.tag-linked { background: #dcfce7; color: #16a34a; }
.net-tag.tag-enterprise { background: #cffafe; color: #0e7490; }
.net-tag.tag-user { background: #ede9fe; color: #6d28d9; }
.net-tag.tag-new { background: #f1f5f9; color: #64748b; }

/* 访客雷达 */
.net-radar-hero {
  margin: 14px 16px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0e7490 100%);
  color: #fff;
}
.net-radar-title { font-size: 17px; font-weight: 800; }
.net-radar-sub { font-size: 12px; opacity: .85; margin-top: 4px; }
.net-radar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
.net-radar-stat {
  background: #fff; border-radius: 14px; padding: 14px; text-align: center;
  border: 1px solid #eef2f7; box-shadow: 0 2px 8px rgba(15,44,82,.04);
}
.net-radar-num { font-size: 24px; font-weight: 800; color: #0e7490; }
.net-radar-lbl { font-size: 11.5px; color: #7c8aa0; margin-top: 3px; }
.net-visitor-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #f1f5f9; }
.net-visitor-main { flex: 1; min-width: 0; }
.net-visitor-actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.net-visitor-act { font-size: 11.5px; line-height: 1; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--primary); background: #fff; color: var(--primary); white-space: nowrap; cursor: pointer; }
.net-visitor-act:disabled { opacity: .6; cursor: default; }
.net-visitor-cust { border-color: #0ea5b7; color: #0e7490; }
.net-visitor-card { border-color: #cbd5e1; color: #64748b; }
.net-radar-filter { display: flex; gap: 8px; padding: 4px 0 12px; flex-wrap: wrap; }
.net-radar-fbtn { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid #e2e8f0; background: #f8fafc; color: #475569; cursor: pointer; }
.net-radar-fbtn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.net-match-actions { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; margin-left: 8px; }
.net-match-act { font-size: 11.5px; line-height: 1; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--primary); background: #fff; color: var(--primary); white-space: nowrap; cursor: pointer; }
.net-match-act:disabled { opacity: .6; cursor: default; }
.net-match-cust { border-color: #0ea5b7; color: #0e7490; }
.net-match-ent { border-color: #cbd5e1; color: #64748b; }
.net-friend-groups { display: flex; gap: 8px; flex-wrap: wrap; }
.net-group-btn { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid #e2e8f0; background: #f8fafc; color: #475569; cursor: pointer; }
.net-group-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.net-friend-ops { display: flex; gap: 6px; align-items: center; }
.tag-group { background: #eef2ff; color: #4f46e5; border: 1px solid #c7d2fe; }
.tag-act { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.modal-card { background: #fff; border-radius: 14px; padding: 18px; max-width: 320px; margin: 0 auto; box-shadow: 0 10px 40px rgba(15,23,42,.18); }
.modal-msg { font-size: 14px; color: #1e293b; margin-bottom: 12px; }
.modal-ops { display: flex; gap: 10px; justify-content: flex-end; }
.net-g-node { cursor: pointer; }
.net-g-node:active circle { opacity: .8; }
.net-graph-svg { width: 100%; max-width: 320px; height: auto; margin: 0 auto; display: block; }
.net-graph-legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; margin: 8px 0; color: #64748b; }
.net-graph-legend .lg-me { color: #0ea5b7; }
.net-graph-legend .lg-friend { color: #0e7490; }
.net-graph-legend .lg-2nd { color: #94a3b8; }
.net-qr-box { display: flex; justify-content: center; padding: 8px; }
.net-qr-box svg { background: #fff; border-radius: 12px; padding: 8px; }
.net-visitor-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.net-visitor-sub { font-size: 12px; color: #7c8aa0; margin-top: 2px; }

/* 我的人脉 / 好友 */
.net-tabs { display: flex; gap: 6px; padding: 12px 16px 4px; }
.net-tab {
  font-size: 13px; padding: 7px 12px; border-radius: 10px; color: #64748b;
  background: #f1f5f9; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.net-tab.active { background: #0e7490; color: #fff; font-weight: 600; }
.net-tab-badge {
  font-size: 10px; min-width: 16px; height: 16px; line-height: 16px; text-align: center;
  border-radius: 8px; background: rgba(255,255,255,.25); padding: 0 4px;
}
.net-tab:not(.active) .net-tab-badge { background: #cbd5e1; color: #475569; }
.net-friend-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #f1f5f9; }
.net-friend-main { flex: 1; min-width: 0; }
.net-friend-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.net-friend-sub { font-size: 12px; color: #7c8aa0; margin-top: 2px; }
.net-friend-act { white-space: nowrap; }

/* ========== P7 我的名片（个人中心可编辑名片卡） ========== */
.me-card {
  margin: 12px; padding: 14px 16px; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 4px rgba(15,23,42,.06); border: 1px solid #eef2f7;
  cursor: pointer; position: relative; user-select: none;
}
.me-card:active { transform: scale(.992); }
.me-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.me-card-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #1e293b; }
.me-card-title .icon { width: 18px; height: 18px; color: #0ea5e9; }
.me-card-share {
  display: flex; align-items: center; gap: 4px; font-size: 12px; color: #0ea5e9;
  background: #e0f2fe; padding: 5px 11px; border-radius: 20px; cursor: pointer;
}
.me-card-share:active { background: #bae6fd; }
.me-card-share .icon { width: 14px; height: 14px; }
.me-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.me-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.me-label { font-size: 11px; color: #94a3b8; }
.me-val { font-size: 13px; color: #334155; word-break: break-all; }
.me-val.me-empty { color: #cbd5e1; }
.me-card-grid > .me-item:last-child { grid-column: 1 / -1; }
.me-card-hint { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; color: #94a3b8; }
.me-card-hint .icon { width: 13px; height: 13px; }

/* ========== P10 S级线索额外金币奖励 · 高级感样式 ========== */
/* 金币余额芯片（获客页头部） */
.coin-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #f4e3a1, #e8c45a);
  color: #6b5210; font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(201,162,39,.28);
  cursor: pointer; white-space: nowrap;
}
.coin-chip .coin-num { font-variant-numeric: tabular-nums; }
.coin-chip .icon { width: 15px; height: 15px; }

/* S级特权说明卡（金边高级感） */
.sl-hero {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid rgba(201,162,39,.45);
  border-radius: 16px; padding: 16px; margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(201,162,39,.14);
}
.sl-hero::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,196,90,.22), transparent 70%);
}
.sl-hero-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #6b5210; }
.sl-hero-badge {
  font-size: 11px; font-weight: 800; color: #fff; background: #c9a227;
  padding: 2px 9px; border-radius: 10px; letter-spacing: .5px;
}
.sl-hero-desc { font-size: 12px; color: #64748b; margin-top: 8px; line-height: 1.6; }
.sl-hero-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.sl-hero-pill {
  flex: 1; min-width: 64px; text-align: center;
  background: #fbf6e8; border-radius: 10px; padding: 8px 4px;
}
.sl-hero-pill .lv { font-size: 13px; font-weight: 800; color: #c9a227; }
.sl-hero-pill .ct { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.sl-hero-pill.s { background: linear-gradient(135deg,#f4e3a1,#e8c45a); }
.sl-hero-pill.s .lv { color: #6b5210; }

/* 转化暴击庆祝层 */
.sl-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,22,48,.58); backdrop-filter: blur(6px);
  animation: slFade .25s ease both;
}
@keyframes slFade { from { opacity: 0; } to { opacity: 1; } }
.sl-card {
  position: relative; width: 82%; max-width: 320px;
  background: #fff; border-radius: 22px; padding: 26px 22px 20px;
  text-align: center; box-shadow: 0 20px 60px rgba(28,22,48,.4);
  border: 1px solid rgba(201,162,39,.5);
  animation: slPop .32s cubic-bezier(.2,.9,.3,1.3) both;
}
@keyframes slPop { from { transform: scale(.82); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sl-medal {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: #fff;
  background: radial-gradient(circle at 35% 30%, #f5d87a, #c9a227 70%);
  box-shadow: 0 8px 22px rgba(201,162,39,.45);
}
.sl-medal.s { background: radial-gradient(circle at 35% 30%, #ffe9a8, #c9a227 65%, #a8841a); box-shadow: 0 10px 26px rgba(201,162,39,.6); }
.sl-title { font-size: 17px; font-weight: 800; color: #1e293b; }
.sl-title.s { color: #b5891a; }
.sl-sub { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.sl-amount {
  font-size: 44px; font-weight: 900; color: #c9a227; margin: 12px 0 2px;
  font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.sl-amount .plus { font-size: 26px; vertical-align: super; margin-right: 2px; }
.sl-breakdown {
  display: inline-flex; align-items: center; gap: 6px; margin: 4px auto 0;
  font-size: 12px; color: #64748b; background: #fbf6e8;
  border-radius: 12px; padding: 6px 12px;
}
.sl-breakdown b { color: #c9a227; }
.sl-breakdown .plus { color: #cbd5e1; }
.sl-balance { font-size: 12px; color: #94a3b8; margin-top: 12px; }
.sl-balance b { color: #334155; font-size: 14px; }
.sl-actions { display: flex; gap: 10px; margin-top: 18px; }
.sl-btn {
  flex: 1; border: none; border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.sl-btn.primary { background: #7c5cbf; color: #fff; box-shadow: 0 4px 14px rgba(124,92,191,.3); }
.sl-btn.ghost { background: #f1f5f9; color: #475569; }
.sl-btn:active { transform: scale(.97); }

/* 金币迸发动画 */
.sl-coins { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 22px; }
.sl-coin {
  position: absolute; top: 40%; left: 50%; font-size: 20px;
  animation: slBurst .9s ease-out forwards;
}
@keyframes slBurst {
  0% { transform: translate(-50%,-50%) scale(.4); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}

/* S级特权卡 · 商城入口 */
.sl-hero-shop {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding: 9px 12px;
  background: linear-gradient(135deg, #f4e3a1, #e8c45a);
  border-radius: 10px; font-size: 13px; font-weight: 700; color: #6b5210;
  cursor: pointer;
}
.sl-hero-shop .arr { font-size: 16px; line-height: 1; }
.sl-hero-shop:active { transform: scale(.98); }

/* ==================== P11 金币商城 ==================== */
.cs-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1c2540, #3a3f6d);
  border-radius: 18px; padding: 18px 16px; color: #fff;
  box-shadow: 0 8px 24px rgba(28, 37, 64, .3);
}
.cs-banner::after {
  content: '🪙'; position: absolute; right: 10px; top: -6px;
  font-size: 72px; opacity: .12; transform: rotate(12deg);
}
.cs-banner-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.cs-banner-sub { font-size: 12px; opacity: .78; margin-top: 5px; line-height: 1.6; }
.cs-banner-actions { display: flex; gap: 8px; margin-top: 12px; }
.cs-mini-btn {
  border: none; border-radius: 20px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, #f4e3a1, #e8c45a); color: #6b5210;
}
.cs-mini-btn.ghost { background: rgba(255,255,255,.14); color: #fff; }
.cs-mini-btn:active { transform: scale(.96); }

.cs-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid rgba(201,162,39,.22);
  border-radius: 16px; padding: 14px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(201,162,39,.08);
}
.cs-card.cs-soldout { opacity: .55; }
.cs-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: #fbf6e8;
}
.cs-info { flex: 1; min-width: 0; }
.cs-name { font-size: 14px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cs-type { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.cs-desc {
  font-size: 12px; color: #64748b; margin-top: 3px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-meta { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.cs-buy { text-align: center; flex-shrink: 0; }
.cs-cost { font-size: 15px; font-weight: 900; color: #c9a227; font-variant-numeric: tabular-nums; }
.cs-btn {
  margin-top: 6px; border: none; border-radius: 18px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
  background: linear-gradient(135deg, #f4e3a1, #e8c45a); color: #6b5210;
  box-shadow: 0 3px 10px rgba(201,162,39,.3);
}
.cs-btn.disabled { background: #f1f5f9; color: #94a3b8; box-shadow: none; cursor: not-allowed; }
.cs-btn:active { transform: scale(.95); }
.cs-loading, .cs-empty { text-align: center; color: #94a3b8; font-size: 13px; padding: 40px 0; }


/* ============ 第 1 期 · 搜索联想增强（可解释匹配 + 键盘导航） ============ */
/* 键盘高亮项：与 hover 同级视觉，用左侧强调条标识当前选中 */
.search-suggest-item.active {
  background: var(--surface-3, #f1f5f9);
  box-shadow: inset 3px 0 0 var(--accent, #2EC4B6);
}
/* 匹配分数：极简数字权重，弱化处理不抢视线 */
.search-match-score {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 11px; font-weight: 500; line-height: 1.5;
  color: var(--accent, #0F6E56); background: rgba(46, 196, 182, .12);
  border-radius: 999px; font-variant-numeric: tabular-nums;
}
/* 匹配原因：让用户知道"为什么命中它"，提升信任（文档风险控制第 4 条） */
.search-match-reason {
  display: inline-block; margin-right: 6px; padding: 1px 6px;
  font-size: 11px; line-height: 1.5; color: #185FA5;
  background: rgba(24, 95, 165, .10); border-radius: 4px;
}
/* 来源标记：第三方兜底结果明确标注，避免用户误以为是本地库数据 */
.search-src-tag {
  display: inline-block; margin-left: 6px; padding: 1px 5px;
  font-size: 10px; font-weight: 600; letter-spacing: .3px; line-height: 1.5;
  color: #854F0B; background: rgba(250, 199, 117, .28); border-radius: 4px;
}

/* ============ P20 我的权益（商城兑换后真实生效） ============ */
.ben-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(181,137,26,.10), rgba(201,162,39,.06));
  border: 1px solid rgba(181,137,26,.28);
}
.ben-title { font-size: 13px; font-weight: 700; color: #8a6a1f; }
.ben-quota { font-size: 12px; color: #a8842c; font-variant-numeric: tabular-nums; }
.ben-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 8px; }
.ben-item {
  padding: 10px 12px; border-radius: 12px;
  background: var(--surface-2, #f7f9fb); border: 1px solid var(--surface-3, #e8edf3);
}
.ben-icon { font-size: 18px; }
.ben-name { font-size: 13px; font-weight: 600; color: var(--text, #1f2937); margin-top: 2px; }
.ben-val { font-size: 12px; color: #b5891a; font-weight: 700; margin-top: 1px; }
.ben-exp { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* 商品卡权益标签（P20）：告诉用户兑换后真实生效什么 */
.cs-ben {
  display: inline-block; margin-top: 5px; padding: 3px 8px;
  font-size: 11px; line-height: 1.5; border-radius: 6px;
  color: #8a6a1f; background: rgba(181,137,26,.14);
  border: 1px solid rgba(181,137,26,.26);
}

/* ========== v3.70 全域获客雷达动效 ========== */
.radar-sweep {
  transform-origin: 70px 70px;
  animation: radar-spin 3.6s linear infinite;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-node {
  transition: fill .4s ease;
}
.radar-hit {
  animation: radar-ping 1.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes radar-ping {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2.2); opacity: .25; }
  100% { transform: scale(1); opacity: 1; }
}

/* ========== v3.72 企业 UI 改版 · 设计令牌与组件（小蓝本风格） ========== */
:root {
  --ent-navy: #1A233A;      /* 主色调·深蓝 */
  --ent-blue: #3867D6;      /* 次色调·亮蓝 */
  --ent-orange: #FD9644;    /* 次色调·橙 */
  --ent-text: #2c3e50;      /* 标题字色 */
  --ent-muted: #8395a7;     /* 标签字色 */
}

/* --- Pill 胶囊标签：浅底深字圆角，替代下划线 tag --- */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.4; font-weight: 500;
  background: #f1f5f9; color: #334155; white-space: nowrap;
}
.pill-blue   { background: #e8f0fe; color: #3867D6; }
.pill-green  { background: #e6f7ef; color: #0f9d58; }
.pill-orange { background: #fff1e6; color: #fd7e14; }
.pill-purple { background: #f3ecfe; color: #7c5cbf; }
.pill-navy   { background: #e9edf5; color: #1A233A; }

/* --- 卡片规范：12px 圆角 / 16px 内距 / 轻阴影 --- */
.vcard {
  background: #fff; border-radius: 12px; padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}
.vcard-title {
  font-size: 16px; font-weight: 700; color: var(--ent-text);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}

/* --- 企业名片头部 --- */
.ent-hero {
  background: linear-gradient(135deg, var(--ent-navy) 0%, #243352 100%);
  border-radius: 12px; padding: 20px 16px; margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(26, 35, 58, 0.25);
  color: #fff;
}
.ent-hero-name { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.ent-hero-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ent-hero .pill { background: rgba(255,255,255,.14); color: #dbe4f3; }

/* --- 拨号电话卡 --- */
.phone-card {
  display: flex; align-items: center; gap: 12px;
  background: #e8f0fe; border-radius: 12px; padding: 14px 16px;
  margin-bottom: 16px; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.phone-card:active { transform: scale(.98); box-shadow: 0 1px 4px rgba(56,103,214,.25); }
.phone-card .phone-icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--ent-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.phone-card .phone-num { font-size: 18px; font-weight: 700; color: var(--ent-blue); letter-spacing: .5px; }
.phone-card .phone-hint { font-size: 12px; color: var(--ent-muted); margin-top: 2px; }

/* --- 按钮微交互：全圆角 + 按压反馈 --- */
.btn-round {
  border-radius: 999px !important;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn-round:active { transform: scale(.96); filter: brightness(.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* --- 骨架屏 shimmer（复用 skeletonList 场景） --- */
.v-skeleton {
  position: relative; overflow: hidden; background: #eef1f6; border-radius: 8px;
}
.v-skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: translateX(-100%);
  animation: v-shimmer 1.3s infinite;
}
@keyframes v-shimmer { to { transform: translateX(100%); } }

/* --- 仪表盘：大数字与图表容器 --- */
.dash-num { font-size: 28px; font-weight: 700; color: var(--ent-text); line-height: 1.1; }
.dash-label { font-size: 12px; color: var(--ent-muted); margin-top: 4px; }
.chart-box { width: 100%; height: 180px; }
.chart-funnel-bar {
  height: 34px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; margin-bottom: 8px; position: relative; overflow: hidden;
}
.chart-funnel-bar::after {
  content: '→'; position: absolute; right: 8px; opacity: .55; font-size: 14px;
}

/* ============================================================
   v3.74 小蓝本式企业详情页（一比一改版 · 独立前缀 xlb-，不污染既有样式）
   视觉依据：林老板提供的小蓝本真机截图
   ============================================================ */
.xlb-root {
  --xlb-primary: #1F7AFF;
  --xlb-primary-d: #1667E0;
  --xlb-primary-l: #EDF4FF;
  --xlb-bg: #F2F6FD;
  --xlb-text: #1D2129;
  --xlb-text2: #4E5969;
  --xlb-text3: #86909C;
  --xlb-line: #EDF0F5;
  --xlb-card: #F5F7FA;
  --xlb-green: #00B42A;
  --xlb-orange: #FF7D00;
  --xlb-purple: #7B5AF0;
  --xlb-red: #F53F3F;
  --xlb-wa: #07C160;
  background: var(--xlb-bg);
  min-height: 100vh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 顶部：白底 + 分段 Tab + 搜索/分享 ---------- */
.xlb-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #fff;
  border-bottom: 1px solid var(--xlb-line);
  position: sticky; top: 0; z-index: 20;
}
.xlb-back { display: flex; align-items: center; color: var(--xlb-text); cursor: pointer; flex: none; }
.xlb-back svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xlb-seg { display: flex; gap: 16px; flex: 1; min-width: 0; }
.xlb-seg-item {
  font-size: 15px; color: var(--xlb-text3); white-space: nowrap;
  cursor: pointer; padding: 2px 0; position: relative;
}
.xlb-seg-item.on { color: var(--xlb-primary); font-weight: 700; }
.xlb-seg-brand { color: var(--xlb-primary); font-weight: 700; font-size: 15px; white-space: nowrap; }
.xlb-topact { display: flex; align-items: center; gap: 12px; flex: none; }
.xlb-topact svg { width: 20px; height: 20px; stroke: var(--xlb-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; }

/* ---------- 企业名片 ---------- */
.xlb-corp { padding: 12px 12px 0; }
.xlb-corp-head { display: flex; gap: 10px; align-items: flex-start; }
.xlb-logo {
  width: 46px; height: 46px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #FF9A2E, #FF5B2E);
}
.xlb-corp-main { flex: 1; min-width: 0; }
.xlb-corp-name { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--xlb-text); word-break: break-word; }
.xlb-corp-sub { font-size: 11px; color: var(--xlb-text3); margin-top: 3px; }
.xlb-fav { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.xlb-fav svg { width: 20px; height: 20px; stroke: var(--xlb-text3); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.xlb-fav.on svg { stroke: var(--xlb-primary); fill: rgba(31,122,255,.14); }
.xlb-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; align-items: center; }
.xlb-tag { font-size: 10px; padding: 2px 7px; border-radius: 5px; line-height: 1.6; font-weight: 500; }
.xlb-t-green { background: #E8FFEA; color: #009A29; }
.xlb-t-blue { background: var(--xlb-primary-l); color: var(--xlb-primary-d); }
.xlb-t-gray { background: #F2F3F5; color: var(--xlb-text2); }
.xlb-t-purple { background: #F2EDFF; color: #5B3FD6; }
.xlb-t-orange { background: #FFF7E8; color: #D25F00; }
.xlb-tags-more { font-size: 10px; color: var(--xlb-primary); white-space: nowrap; }
.xlb-intro {
  font-size: 12px; color: var(--xlb-text2); line-height: 1.6; margin-top: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 指标三列（label 上 / value 下） ---------- */
.xlb-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.xlb-kpi { padding: 9px 4px 10px; text-align: center; position: relative; }
.xlb-kpi::after {
  content: ''; position: absolute; right: 0; top: 10px; bottom: 10px; width: 1px; background: var(--xlb-line);
}
.xlb-kpi:last-child::after { display: none; }
.xlb-kpi-l { font-size: 11px; color: var(--xlb-text3); line-height: 1.4; }
.xlb-kpi-v { font-size: 14px; font-weight: 700; color: var(--xlb-text); margin-top: 3px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xlb-kpi-v.link { color: var(--xlb-primary); }
.xlb-kpi-v.sm { font-size: 12.5px; }

/* ---------- 白色卡片 ---------- */
.xlb-card { background: #fff; border-radius: 12px; margin: 10px 12px 0; overflow: hidden; }
.xlb-card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 0;
}
.xlb-card-t { font-size: 14.5px; font-weight: 700; color: var(--xlb-text); display: flex; align-items: center; gap: 6px; }
.xlb-card-t::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--xlb-primary); }
.xlb-card-more { font-size: 11.5px; color: var(--xlb-text3); display: flex; align-items: center; gap: 2px; cursor: pointer; }
.xlb-card-more svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.xlb-card-bd { padding: 10px 14px 12px; }
.xlb-card-note { font-size: 11px; color: var(--xlb-text3); padding: 8px 14px 0; line-height: 1.6; }

/* ---------- 四宫格快捷入口 ---------- */
.xlb-quick { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 8px 16px; }
.xlb-qi { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.xlb-qi-box {
  width: 42px; height: 42px; border-radius: 12px; background: var(--xlb-primary-l);
  display: flex; align-items: center; justify-content: center;
}
.xlb-qi-box svg { width: 21px; height: 21px; stroke: var(--xlb-primary); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.xlb-qi-t { font-size: 11.5px; color: var(--xlb-text2); white-space: nowrap; }

/* ---------- 统计网格（基本信息/知识产权/经营信息/司法风险） ---------- */
.xlb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px 14px; }
.xlb-cell {
  background: var(--xlb-card); border-radius: 10px; padding: 12px 4px 10px;
  text-align: center; position: relative; cursor: pointer;
}
.xlb-cell-top { display: flex; align-items: center; justify-content: center; height: 22px; position: relative; }
.xlb-cell-top svg { width: 18px; height: 18px; stroke: var(--xlb-text2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xlb-cell-n { font-size: 13px; font-weight: 700; color: var(--xlb-text); margin-top: 5px; line-height: 1.2; }
.xlb-cell-l { font-size: 11px; color: var(--xlb-text3); margin-top: 3px; line-height: 1.3; }
.xlb-badge {
  position: absolute; top: -1px; right: 4px; font-size: 8.5px; font-weight: 700;
  padding: 1px 3px; border-radius: 3px; color: #fff; line-height: 1.4;
}
.xlb-badge.vip { background: linear-gradient(135deg, #FFB020, #FF7D00); }
.xlb-badge.gold { background: linear-gradient(135deg, #FFD666, #F5A623); color: #7A4A00; }
.xlb-badge.green { background: var(--xlb-green); }
.xlb-badge.blue { background: var(--xlb-primary); }

/* ---------- 人员/股东卡 ---------- */
.xlb-people { padding: 4px 14px 12px; }
.xlb-person {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  background: var(--xlb-card); border-radius: 10px; padding: 10px 12px; margin-top: 8px;
}
.xlb-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #7EA6FF, #1F7AFF); color: #fff;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.xlb-p-main { flex: 1; min-width: 0; }
.xlb-p-name { font-size: 14px; font-weight: 700; color: var(--xlb-text); display: flex; align-items: center; gap: 5px; }
.xlb-p-kp { font-size: 9px; background: var(--xlb-primary); color: #fff; padding: 1px 4px; border-radius: 3px; font-weight: 700; }
.xlb-p-role { font-size: 11.5px; color: var(--xlb-text3); margin-top: 3px; }
.xlb-p-phone { font-size: 12.5px; color: var(--xlb-primary); font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.xlb-p-phone svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xlb-wa { width: 16px; height: 16px; border-radius: 4px; background: var(--xlb-wa); display: inline-flex; align-items: center; justify-content: center; }
.xlb-wa svg { width: 10px; height: 10px; fill: #fff; stroke: none; }
.xlb-p-right { flex: none; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.xlb-call {
  height: 27px; padding: 0 11px; border-radius: 14px; background: var(--xlb-primary); color: #fff;
  font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; border: none; cursor: pointer;
}
.xlb-call svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 关系图谱 ---------- */
.xlb-graph-box { width: 100%; height: 290px; }
.xlb-graph-legend {
  display: flex; justify-content: center; gap: 14px; font-size: 11px;
  color: var(--xlb-text3); padding: 0 0 12px;
}
.xlb-graph-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.xlb-graph-legend i.lg-ent-self { background: #1F7AFF; }
.xlb-graph-legend i.lg-ent-person { background: #00B42A; }
.xlb-graph-legend i.lg-ent-company { background: #FF7D00; }

/* ---------- 列表行（工商信息） ---------- */
.xlb-rows { padding: 4px 14px 12px; }
.xlb-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 13px; line-height: 1.55; }
.xlb-row + .xlb-row { border-top: 1px solid var(--xlb-line); }
.xlb-row-l {
  flex: none; min-width: 76px; background: #F5F6F8; border-radius: 6px;
  padding: 3px 8px; font-size: 11.5px; color: var(--xlb-text2); text-align: center;
}
.xlb-row-v { flex: 1; color: var(--xlb-text); word-break: break-all; }
.xlb-row-v.link { color: var(--xlb-primary); font-weight: 600; }

/* ---------- 空态 ---------- */
.xlb-empty { padding: 24px 14px 28px; text-align: center; }
.xlb-empty-t { font-size: 12.5px; color: var(--xlb-text3); }

/* ---------- 底部固定操作栏 ---------- */
.xlb-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--xlb-line);
  display: flex; align-items: center; gap: 8px; padding: 0 12px env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 18px rgba(29,78,216,.07);
}
.xlb-dbtn {
  flex: 1; height: 40px; border-radius: 20px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 5px; border: none; cursor: pointer;
  background: #F2F3F5; color: var(--xlb-text2);
}
.xlb-dbtn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.xlb-dbtn.primary { background: var(--xlb-primary); color: #fff; }
.xlb-dbtn.green { background: var(--xlb-green); color: #fff; }
.xlb-dbtn.ghost { border: 1px solid var(--xlb-primary); color: var(--xlb-primary); background: #fff; }

/* ============================================================
   v3.76 天机情报中心 · 情报详情页（模块三-指令A · 独立前缀 intel-）
   CSP 合规：全部走 CSS 类，零原生 style="" 属性；动态样式走 data-style
   ============================================================ */
.intel-root {
  --intel-primary: #1F7AFF;
  --intel-primary-l: #EDF4FF;
  --intel-bg: #F2F6FD;
  --intel-card: #FFFFFF;
  --intel-text: #1D2129;
  --intel-text2: #4E5969;
  --intel-text3: #86909C;
  --intel-line: #EDF0F5;
  background: var(--intel-bg);
  min-height: 100vh;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 顶部栏 ---------- */
.intel-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 14px;
  background: var(--intel-card);
  border-bottom: 1px solid var(--intel-line);
}
.intel-back {
  flex: none; display: flex; align-items: center;
  color: var(--intel-text); cursor: pointer;
}
.intel-back svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.intel-title {
  flex: 1; font-size: 16px; font-weight: 700; color: var(--intel-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.intel-type {
  flex: none; font-size: 12px; color: var(--intel-text3);
  background: var(--intel-primary-l); color: var(--intel-primary);
  border-radius: 999px; padding: 3px 10px; font-weight: 600;
}

/* ---------- 主体 ---------- */
.intel-body { padding: 12px 14px 0; }

/* ---------- 头部信息卡 ---------- */
.intel-hero {
  background: var(--intel-card);
  border-radius: 14px;
  padding: 16px 15px 14px;
  box-shadow: 0 2px 12px rgba(29, 78, 216, .05);
  margin-bottom: 12px;
}
.intel-hero-name {
  font-size: 19px; font-weight: 700; line-height: 1.35;
  color: var(--intel-text); word-break: break-word;
}
.intel-hero-sub {
  font-size: 12px; color: var(--intel-text3); margin-top: 5px; word-break: break-all;
}
.intel-hero-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.intel-hero-tags .tag { font-size: 11.5px; }

/* ---------- 左右两栏 ---------- */
.intel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 720px) {
  .intel-grid { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- 通用卡片 ---------- */
.intel-card {
  background: var(--intel-card);
  border-radius: 14px;
  padding: 14px 15px 15px;
  box-shadow: 0 2px 12px rgba(29, 78, 216, .05);
  margin-bottom: 12px;
}
.intel-card-t {
  font-size: 14px; font-weight: 700; color: var(--intel-text);
  padding-left: 9px; margin-bottom: 11px;
  border-left: 3px solid var(--intel-primary);
  line-height: 1.2;
}

/* ---------- 左侧基础工商信息 ---------- */
.intel-rows { display: block; }
.intel-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; font-size: 13px; line-height: 1.55;
}
.intel-row + .intel-row { border-top: 1px solid var(--intel-line); }
.intel-row-l {
  flex: none; min-width: 76px;
  background: #F5F6F8; border-radius: 6px;
  padding: 3px 8px; font-size: 11.5px; color: var(--intel-text2);
  text-align: center;
}
.intel-row-v { flex: 1; color: var(--intel-text); word-break: break-all; }

/* ---------- 右侧股权穿透图 ---------- */
.intel-graph-wrap { width: 100%; }
.intel-graph {
  width: 100%;
  height: 300px;           /* 必须显式给高度：否则 ECharts 容器高 0，图不可见 */
  border-radius: 10px;
  background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
  border: 1px solid var(--intel-line);
}
.intel-graph-tip {
  margin-top: 8px; font-size: 11.5px; color: var(--intel-text3); text-align: center;
}

/* ---------- AI 报告（Markdown 渲染） ---------- */
.intel-report { margin-bottom: 12px; }
.intel-md { font-size: 13.5px; line-height: 1.75; color: var(--intel-text); }
.intel-md-h1 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; color: var(--intel-text); }
.intel-md-h2 { font-size: 15.5px; font-weight: 700; margin: 12px 0 7px; color: var(--intel-text); }
.intel-md-h3 { font-size: 14.5px; font-weight: 700; margin: 11px 0 6px; color: var(--intel-text); }
.intel-md-h4 { font-size: 13.8px; font-weight: 700; margin: 10px 0 6px; color: var(--intel-text2); }
.intel-md-h5 { font-size: 13.2px; font-weight: 700; margin: 9px 0 5px; color: var(--intel-text2); }
.intel-md-p { margin: 6px 0; }
.intel-md-ul { margin: 6px 0; padding-left: 20px; }
.intel-md-li { margin: 3px 0; }
.intel-md-quote {
  margin: 8px 0; padding: 8px 11px;
  background: var(--intel-primary-l);
  border-left: 3px solid var(--intel-primary);
  border-radius: 0 8px 8px 0;
  color: var(--intel-text2); font-size: 12.8px;
}
/* v3.274.0 天机 AI 洞察摘要（LLM 生成；未配置时字段缺失自然隐藏） */
.intel-ai-insight {
  margin: 10px 0; padding: 11px 13px;
  background: linear-gradient(135deg, #1E3A5F 0%, #2d5a8e 100%);
  border-radius: 10px; color: #fff;
  box-shadow: 0 3px 12px rgba(30, 58, 95, 0.22);
}
.intel-ai-insight-t { font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 4px; color: #fbbf24; }
.intel-ai-insight-b { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.94); }
.intel-md-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; background: #F2F3F5; color: #B54708;
  padding: 1px 5px; border-radius: 4px;
}
.intel-md-meta { font-size: 11.5px; color: var(--intel-text3); margin-bottom: 6px; }
.intel-md strong { font-weight: 700; color: var(--intel-text); }

/* ---------- 状态 ---------- */
.intel-loading {
  padding: 18px 0; text-align: center;
  font-size: 12.5px; color: var(--intel-text3);
}
.intel-empty {
  padding: 22px 12px 26px; text-align: center;
  font-size: 12.5px; color: var(--intel-text3);
}

/* ---------- 深色模式 ---------- */
@media (prefers-color-scheme: dark) {
  .intel-root {
    --intel-bg: #0F1216;
    --intel-card: #181C22;
    --intel-text: #E8EAED;
    --intel-text2: #A8B0BA;
    --intel-text3: #7A838F;
    --intel-line: #262B33;
    --intel-primary-l: rgba(31, 122, 255, .16);
  }
  .intel-row-l { background: rgba(148, 163, 184, .16); color: var(--intel-text2); }
  .intel-graph { background: linear-gradient(180deg, #141920 0%, #181C22 100%); border-color: var(--intel-line); }
  .intel-md-code { background: rgba(148, 163, 184, .18); color: #FDBA74; }
  .intel-type { color: #A8BFD8; }
}

/* ============================================================
   v3.77 天机获客雷达控制台（模块三-指令B · 独立前缀 rc-）
   CSP 合规：全部走 CSS 类，零原生 style="" 属性；动态样式走 data-style
   ============================================================ */
.rc-root {
  --rc-primary: #1F7AFF;
  --rc-primary-l: #EDF4FF;
  --rc-bg: #F2F6FD;
  --rc-card: #FFFFFF;
  --rc-text: #1D2129;
  --rc-text2: #4E5969;
  --rc-text3: #86909C;
  --rc-line: #EDF0F5;
  background: var(--rc-bg);
  min-height: 100vh;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 顶部栏 ---------- */
.rc-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 14px;
  background: var(--rc-card);
  border-bottom: 1px solid var(--rc-line);
}
.rc-back {
  flex: none; display: flex; align-items: center;
  color: var(--rc-text); cursor: pointer;
}
.rc-back svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-title {
  flex: 1; font-size: 16px; font-weight: 700; color: var(--rc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-refresh {
  flex: none; font-size: 13px; color: var(--rc-primary);
  cursor: pointer; padding: 4px 10px; border-radius: 999px;
  background: var(--rc-primary-l); font-weight: 600;
}

/* ---------- 主体 ---------- */
.rc-body { padding: 12px 14px 0; }

/* ---------- 通用卡片 ---------- */
.rc-card {
  background: var(--rc-card);
  border-radius: 14px;
  padding: 14px 15px 15px;
  box-shadow: 0 2px 12px rgba(29, 78, 216, .05);
  margin-bottom: 12px;
}
.rc-card-t {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--rc-text);
  padding-left: 9px; margin-bottom: 11px;
  border-left: 3px solid var(--rc-primary);
  line-height: 1.2;
}
.rc-card-t-sub { font-size: 11.5px; font-weight: 500; color: var(--rc-text3); }
.rc-card-t-sub b { color: var(--rc-primary); font-weight: 700; }

/* ---------- 雷达状态面板 ---------- */
.rc-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 11px;
}
.rc-stat {
  border-radius: 10px; padding: 10px 6px; text-align: center;
  background: #F5F6F8;
}
.rc-stat-n { font-size: 21px; font-weight: 800; line-height: 1.15; }
.rc-stat-l { font-size: 11.5px; color: var(--rc-text3); margin-top: 3px; }
.rc-stat-warn { background: #FFF7E8; }
.rc-stat-warn .rc-stat-n { color: #D25F00; }
.rc-stat-run { background: var(--rc-primary-l); }
.rc-stat-run .rc-stat-n { color: var(--rc-primary); }
.rc-stat-done { background: #E8FFEA; }
.rc-stat-done .rc-stat-n { color: #009A29; }

.rc-tasks { display: flex; flex-direction: column; gap: 7px; }
.rc-task {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px;
  background: #F7F8FA;
}
.rc-task-l { flex: 1; min-width: 0; }
.rc-task-kw {
  font-size: 13.5px; font-weight: 600; color: var(--rc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-task-meta { font-size: 11.5px; color: var(--rc-text3); margin-top: 2px; }
.rc-task .tag { flex: none; }

/* ---------- 平台选择器 ---------- */
.rc-plat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin-bottom: 12px;
}
@media (min-width: 560px) {
  .rc-plat-grid { grid-template-columns: repeat(4, 1fr); }
}
.rc-plat {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--rc-line); background: #FAFBFC;
  cursor: pointer; user-select: none;
}
.rc-plat.on { border-color: var(--rc-primary); background: var(--rc-primary-l); }
.rc-plat-row {
  display: flex; align-items: center; gap: 6px;
  width: 100%; min-width: 0;
}
.rc-plat-cb {
  position: absolute; opacity: 0; width: 0; height: 0;
  pointer-events: none;
}
.rc-plat-box {
  flex: none; width: 16px; height: 16px; border-radius: 5px;
  border: 1.5px solid #C9CDD4; background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.rc-plat.on .rc-plat-box { background: var(--rc-primary); border-color: var(--rc-primary); }
.rc-plat.on .rc-plat-box::after {
  content: ''; width: 8px; height: 4px;
  border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg) translate(1px, -1px);
}
.rc-plat-name {
  flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--rc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-plat-kind {
  flex: none; font-size: 10.5px; color: var(--rc-text3);
  background: #F0F1F3; border-radius: 5px; padding: 1px 5px;
}
.rc-plat-state { flex: none; font-size: 10px; align-self: flex-start; }

/* ---------- 表单 ---------- */
.rc-form { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.rc-field { display: flex; flex-direction: column; gap: 4px; }
.rc-label { font-size: 12px; color: var(--rc-text2); font-weight: 600; }
.rc-req {
  margin-left: 5px; font-size: 10.5px; font-weight: 600;
  color: #D25F00; background: #FFF7E8; border-radius: 4px; padding: 1px 5px;
}
.rc-input {
  width: 100%; box-sizing: border-box;
  padding: 9px 11px; font-size: 13.5px; color: var(--rc-text);
  border: 1px solid var(--rc-line); border-radius: 9px;
  background: #FFFFFF; outline: none;
}
.rc-input:focus { border-color: var(--rc-primary); }
.rc-input.err { border-color: #F53F3F; background: #FFFBFB; }

/* ---------- 按钮 ---------- */
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.rc-btn-block { display: flex; width: 100%; }
.rc-btn-primary { background: var(--rc-primary); color: #FFFFFF; }
.rc-btn-primary:disabled { opacity: .6; cursor: default; }
.rc-btn-ghost { background: #F2F3F5; color: var(--rc-text2); }
.rc-btn-mini {
  padding: 3px 11px; font-size: 11.5px; border-radius: 7px;
  background: var(--rc-primary); color: #FFFFFF; flex: none;
}

/* ---------- 线索列表 ---------- */
.rc-leads { display: flex; flex-direction: column; gap: 9px; }
.rc-lead {
  padding: 11px 12px; border-radius: 11px;
  background: #F7F8FA; border: 1px solid var(--rc-line);
}
.rc-lead-h { display: flex; align-items: center; gap: 8px; }
.rc-lead-n {
  flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--rc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-lead-lv { flex: none; font-size: 10px; }
.rc-lead-meta { font-size: 11.5px; color: var(--rc-text3); margin-top: 3px; }
.rc-lead-sum { font-size: 12.5px; color: var(--rc-text2); margin-top: 5px; line-height: 1.5; }
.rc-lead-f {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rc-line);
}
.rc-lead-p {
  flex: 1; font-size: 14px; font-weight: 700; color: var(--rc-text);
  letter-spacing: .4px; word-break: break-all;
}
.rc-lead-p.masked { color: var(--rc-text2); letter-spacing: 1px; }
.rc-lead-unlocked { flex: none; font-size: 11.5px; color: #009A29; font-weight: 600; }

/* ---------- 弹层 ---------- */
.rc-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .45);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.rc-mask.on { display: flex; }
.rc-dialog {
  width: 100%; max-width: 340px; box-sizing: border-box;
  background: #FFFFFF; border-radius: 15px; padding: 18px;
  box-shadow: 0 12px 44px rgba(15, 23, 42, .22);
}
.rc-dialog-t { font-size: 16px; font-weight: 700; color: var(--rc-text); margin-bottom: 12px; }
.rc-dialog-b { margin-bottom: 14px; }
.rc-dialog-ops { display: flex; gap: 9px; justify-content: flex-end; }
.rc-confirm-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 7px 0; font-size: 13px; line-height: 1.5;
}
.rc-confirm-row + .rc-confirm-row { border-top: 1px solid var(--rc-line); }
.rc-confirm-k { flex: none; width: 62px; color: var(--rc-text3); }
.rc-confirm-v { flex: 1; color: var(--rc-text); word-break: break-all; }
.rc-confirm-tip {
  margin-top: 11px; padding: 9px 11px; border-radius: 9px;
  background: var(--rc-primary-l); color: var(--rc-text2);
  font-size: 12px; line-height: 1.6;
}
.rc-unlock-coin {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 11px; background: #FFF7E8;
  margin-bottom: 11px;
}
.rc-unlock-coin-l { font-size: 12.5px; color: var(--rc-text2); }
.rc-unlock-coin-n { font-size: 24px; font-weight: 800; color: #D25F00; }
.rc-unlock-ops { display: flex; gap: 9px; margin-top: 11px; }
.rc-unlock-ops .rc-btn { flex: 1; }

/* ---------- 状态 ---------- */
.rc-loading { padding: 18px 0; text-align: center; font-size: 12.5px; color: var(--rc-text3); }
.rc-empty { padding: 22px 12px 26px; text-align: center; font-size: 12.5px; color: var(--rc-text3); line-height: 1.7; }

/* ---------- 深色模式 ---------- */
@media (prefers-color-scheme: dark) {
  .rc-root {
    --rc-bg: #0F1216;
    --rc-card: #181C22;
    --rc-text: #E8EAED;
    --rc-text2: #A8B0BA;
    --rc-text3: #7A838F;
    --rc-line: #262B33;
    --rc-primary-l: rgba(31, 122, 255, .16);
  }
  .rc-stat { background: rgba(148, 163, 184, .12); }
  .rc-stat-warn { background: rgba(210, 95, 0, .16); }
  .rc-stat-warn .rc-stat-n { color: #FDBA74; }
  .rc-stat-run { background: rgba(31, 122, 255, .16); }
  .rc-stat-done { background: rgba(0, 154, 41, .16); }
  .rc-stat-done .rc-stat-n { color: #86EFAC; }
  .rc-task { background: rgba(148, 163, 184, .10); }
  .rc-plat { background: rgba(148, 163, 184, .08); border-color: var(--rc-line); }
  .rc-plat.on { background: var(--rc-primary-l); border-color: var(--rc-primary); }
  .rc-plat-box { background: #181C22; border-color: #4A5159; }
  .rc-plat-kind { background: rgba(148, 163, 184, .18); color: var(--rc-text2); }
  .rc-input { background: #12161B; border-color: var(--rc-line); color: var(--rc-text); }
  .rc-btn-ghost { background: rgba(148, 163, 184, .16); color: var(--rc-text2); }
  .rc-lead { background: rgba(148, 163, 184, .08); border-color: var(--rc-line); }
  .rc-dialog { background: #181C22; }
  .rc-confirm-tip { background: var(--rc-primary-l); color: var(--rc-text2); }
  .rc-unlock-coin { background: rgba(210, 95, 0, .16); }
  .rc-unlock-coin-n { color: #FDBA74; }
}

/* ============================================================
   v3.78 天机 CRM 详情页扩展（模块三-指令C）
   CSP 合规：全部走 CSS 类，零原生 style="" 属性
   ============================================================ */

/* ---------- 天机入口按钮 ---------- */
.btn-tianji {
  background: #1F7AFF;
  color: #FFFFFF;
  border-color: #1F7AFF;
}
.btn-tianji-moment {
  background: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);
  color: #FFFFFF;
  border-color: transparent;
}
.btn-tianji .icon,
.btn-tianji-moment .icon { width: 16px; height: 16px; }

/* ---------- 私人信息区块 ---------- */
.personal-tags-section { margin-top: 8px; }
.personal-tags-box { padding: 12px 16px 14px; }
.personal-tags-box .ptag {
  display: inline-block;
  margin: 0 6px 6px 0;
}
.text-compliance {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #B42318;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(180, 35, 24, .07);
  border-left: 3px solid #B42318;
}

/* ---------- AI 营销素材弹层 ---------- */
.mg-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .45);
  display: none; align-items: center; justify-content: center;
  z-index: 1200; padding: 20px;
}
.mg-mask.on { display: flex; }
.mg-dialog {
  width: 100%; max-width: 380px; box-sizing: border-box;
  max-height: 86vh; overflow-y: auto;
  background: #FFFFFF; border-radius: 16px; padding: 16px;
  box-shadow: 0 14px 50px rgba(15, 23, 42, .26);
}
.mg-dlg-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid #EDF0F5;
}
.mg-dlg-title {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: #1D2129;
}
.mg-dlg-close {
  flex: none; cursor: pointer; color: #86909C;
  display: flex; align-items: center;
}
.mg-dlg-close .icon { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.mg-scene-icon {
  flex: none; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.mg-scene-icon .icon { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.mg-icon-fallback { font-size: 14px; line-height: 1; }

/* 场景配色 */
.mg-scene-birthday  { background: rgba(244, 63, 94, .12); color: #E11D48; }
.mg-scene-solar-term { background: rgba(234, 88, 12, .12); color: #EA580C; }
.mg-scene-festival  { background: rgba(31, 122, 255, .12); color: #1F7AFF; }
.mg-scene-horoscope { background: rgba(124, 58, 237, .12); color: #7C3AED; }

/* ---------- 场景切换标签 ---------- */
.mg-scene-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; padding: 12px 0;
}
.mg-scene-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 10px;
  border: 1px solid #EDF0F5; background: #FAFBFC;
  cursor: pointer; user-select: none;
}
.mg-scene-tab.on { border-color: #1F7AFF; background: #EDF4FF; }
.mg-scene-tab-icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
}
.mg-scene-tab-icon .icon { width: 13px; height: 13px; stroke: currentColor; fill: none; }
.mg-scene-tab-label { font-size: 11.5px; color: #4E5969; font-weight: 600; }
.mg-scene-tab.on .mg-scene-tab-label { color: #1F7AFF; }

/* ---------- 主体 ---------- */
.mg-body { padding-bottom: 4px; }
.mg-card {
  border-radius: 12px; padding: 13px 14px;
  background: #FAFBFC; border: 1px solid #EDF0F5;
}
.mg-card-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 9px; flex-wrap: wrap;
}
.mg-scene-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 9px;
  font-size: 11.5px; font-weight: 700;
}
.mg-scene-badge .icon { width: 12px; height: 12px; stroke: currentColor; fill: none; }
.mg-card-cust { font-size: 11.5px; color: #86909C; }
.mg-copy-text {
  font-size: 14px; line-height: 1.8; color: #1D2129;
  white-space: pre-wrap; word-break: break-word;
}
.mg-tip {
  margin-top: 9px; font-size: 11px; color: #86909C; line-height: 1.6;
}
.mg-empty {
  padding: 26px 12px; text-align: center;
  font-size: 12.5px; color: #86909C;
}
.mg-loading {
  padding: 26px 0; text-align: center;
}
.mg-loading .loading-dot { margin: 0 3px; }

/* ---------- 底部按钮 ---------- */
.mg-dlg-foot {
  display: flex; gap: 9px; margin-top: 14px;
  padding-top: 13px; border-top: 1px solid #EDF0F5;
}
.mg-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.mg-btn .icon { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.mg-btn-ghost { background: #F2F3F5; color: #4E5969; }
.mg-btn-primary { background: #1F7AFF; color: #FFFFFF; }
/* 复制成功反馈（类切换，非 style） */
.mg-btn-primary.btn-copy-success { background: #009A29; }

/* 复制兜底用隐藏 textarea（不可见但可聚焦选中） */
.mg-copy-helper {
  position: fixed; top: -1000px; left: -1000px;
  width: 1px; height: 1px; opacity: 0;
}

/* ---------- 深色模式 ---------- */
@media (prefers-color-scheme: dark) {
  .mg-dialog { background: #181C22; }
  .mg-dlg-head { border-color: #262B33; }
  .mg-dlg-title { color: #E8EAED; }
  .mg-scene-tab { background: rgba(148, 163, 184, .08); border-color: #262B33; }
  .mg-scene-tab.on { background: rgba(31, 122, 255, .16); border-color: #1F7AFF; }
  .mg-scene-tab-label { color: #A8B0BA; }
  .mg-scene-tab.on .mg-scene-tab-label { color: #A8BFD8; }
  .mg-card { background: rgba(148, 163, 184, .08); border-color: #262B33; }
  .mg-copy-text { color: #E8EAED; }
  .mg-btn-ghost { background: rgba(148, 163, 184, .16); color: #A8B0BA; }
  .text-compliance {
    color: #FCA5A5;
    background: rgba(180, 35, 24, .16);
    border-left-color: #FCA5A5;
  }
  .mg-scene-birthday  { background: rgba(244, 63, 94, .18); color: #FDA4AF; }
  .mg-scene-solar-term { background: rgba(234, 88, 12, .18); color: #FDBA74; }
  .mg-scene-festival  { background: rgba(31, 122, 255, .18); color: #A8BFD8; }
  .mg-scene-horoscope { background: rgba(124, 58, 237, .18); color: #C4B5FD; }
}

/* ============================================================
   v3.80 我的钱包（模块五）· 类前缀 mw-，与既有 rc-/mg-/intel- 隔离
   （纯 CSS 类，无内联 style；动态样式走 data-style）
   ============================================================ */
.mw-root { padding-bottom: var(--space-6); }
.mw-head { margin-bottom: var(--space-4); }
.mw-title { font-size: 20px; font-weight: 700; color: var(--text); }
.mw-title-en { font-size: 12px; font-weight: 500; color: var(--text-light); margin-left: 6px; letter-spacing: .04em; }
.mw-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ---------- 余额卡 ---------- */
.mw-balance-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
}
.mw-balance-l { font-size: 13px; color: rgba(255, 255, 255, .85); }
.mw-balance-n {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  color: #fff; margin: 6px 0 4px; font-variant-numeric: tabular-nums;
}
.mw-balance-tip { font-size: 12px; color: rgba(255, 255, 255, .8); }

/* ---------- 面板 ---------- */
.mw-panel {
  background: var(--card-bg);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
}
.mw-panel-h {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding: 14px 18px;
  border-bottom: 1px solid var(--surface-3);
}
.mw-panel-t { font-size: 15px; font-weight: 700; color: var(--text); }
.mw-panel-a { font-size: 12px; color: var(--text-light); }
.mw-panel-b { padding: 16px 18px; }

/* ---------- 充值档位 ---------- */
.mw-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
.mw-tier {
  text-align: center; cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  transition: all var(--dur-fast) var(--ease-out);
}
.mw-tier:hover { border-color: var(--primary); transform: translateY(-2px); }
.mw-tier:active { transform: translateY(0); }
.mw-tier-amount { font-size: 18px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.mw-tier-coins { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 3px; }
.mw-tier-bonus { font-size: 11px; color: var(--success-ink); margin-top: 2px; }
.mw-tier-bonus-none { color: var(--text-light); }
.mw-sandbox-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--warning-ink); background: var(--warning-soft);
  border-radius: var(--radius-full); padding: 2px 9px;
}
.mw-sandbox-note {
  margin-top: 14px; font-size: 12px; line-height: 1.75;
  color: var(--text-secondary);
  background: var(--surface-2);
  border-left: 3px solid var(--warning);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.mw-sandbox-note b { color: var(--warning-ink); }

/* ---------- 订单卡 ---------- */
.mw-order-panel { display: none; }
.mw-order-panel.on { display: block; }
.mw-order-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding: 8px 0;
  border-bottom: 1px dashed var(--surface-3);
}
.mw-order-row:last-of-type { border-bottom: none; }
.mw-order-k { font-size: 13px; color: var(--text-secondary); flex: none; }
.mw-order-v { font-size: 13px; color: var(--text); font-weight: 600; text-align: right; word-break: break-all; }
.mw-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.mw-order-status {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--warning-ink); background: var(--warning-soft);
  border-radius: var(--radius-full); padding: 2px 10px;
}
.mw-order-tip { margin-top: 12px; font-size: 12px; color: var(--text-light); line-height: 1.7; }

/* ---------- 流水列表 ---------- */
.mw-tx-list { display: flex; flex-direction: column; }
.mw-tx-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "left right" "time time";
  gap: 4px var(--space-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-3);
}
.mw-tx-item:last-child { border-bottom: none; }
.mw-tx-left { grid-area: left; min-width: 0; }
.mw-tx-right { grid-area: right; text-align: right; flex: none; }
.mw-tx-time { grid-area: time; font-size: 11px; color: var(--text-light); }
.mw-tx-name { font-size: 13px; font-weight: 700; }
.mw-tx-name.mw-tx-in { color: var(--success-ink); }
.mw-tx-name.mw-tx-out { color: var(--text-secondary); }
.mw-tx-reason {
  font-size: 12px; color: var(--text-secondary); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mw-tx-amount { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mw-tx-amount.mw-tx-in { color: var(--success-ink); }
.mw-tx-amount.mw-tx-out { color: var(--danger-ink); }
.mw-tx-balance { font-size: 11px; color: var(--text-light); font-variant-numeric: tabular-nums; }
.mw-tx-count { font-variant-numeric: tabular-nums; }

/* ---------- 空态 ---------- */
.mw-empty { text-align: center; padding: 36px 16px; }
.mw-empty-inline { padding: 20px 12px; }
.mw-empty-icon { font-size: 26px; color: var(--text-light); margin-bottom: 6px; }
.mw-empty-t { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.mw-empty-d { font-size: 12px; color: var(--text-light); margin-top: 5px; }

/* ---------- 分页 ---------- */
.mw-pager {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-4); gap: 10px; flex-wrap: wrap;
}
.mw-pager-info { font-size: 12px; color: var(--text-light); }
.mw-pager-btns { display: flex; gap: 8px; }
.mw-page-btn {
  font-size: 12px; padding: 6px 14px; cursor: pointer;
  background: var(--surface-2); color: var(--text-secondary);
  border: 1px solid var(--surface-3); border-radius: var(--radius-sm);
}
.mw-page-btn.disabled { opacity: .45; pointer-events: none; }

/* ---------- 雷达解锁交互补充 ---------- */
.rc-btn-done {
  opacity: .55; cursor: default;
  background: var(--surface-3) !important;
  color: var(--text-light) !important;
  border-color: var(--surface-3) !important;
}
.rc-unlock-short .rc-unlock-coin-n { color: var(--danger-ink); }
.rc-confirm-warn {
  color: var(--danger-ink);
  background: var(--danger-soft);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

/* ---------- 深色模式适配 ---------- */
@media (prefers-color-scheme: dark) {
  .mw-tier { background: rgba(148, 163, 184, .08); border-color: #262B33; }
  .mw-tier-amount { color: #E8EAED; }
  .mw-tier-coins { color: #A8BFD8; }
  .mw-sandbox-note { background: rgba(148, 163, 184, .08); }
  .mw-sandbox-tag { background: rgba(234, 179, 8, .18); color: #FDE68A; }
  .mw-order-status { background: rgba(234, 179, 8, .18); color: #FDE68A; }
  .mw-order-v { color: #E8EAED; }
  .mw-order-k { color: #A8B0BA; }
  .mw-tx-name.mw-tx-in, .mw-tx-amount.mw-tx-in { color: #6EE7B7; }
  .mw-tx-amount.mw-tx-out { color: #FCA5A5; }
  .mw-tx-name.mw-tx-out { color: #A8B0BA; }
  .mw-page-btn { background: rgba(148, 163, 184, .1); border-color: #262B33; color: #A8B0BA; }
  .mw-balance-n { color: #fff; }
  .rc-confirm-warn { background: rgba(180, 35, 24, .16); color: #FCA5A5; }
  .rc-unlock-short .rc-unlock-coin-n { color: #FCA5A5; }
}

/* ============================================================
   v3.81 模块六：销售团队权限隔离（APP 端）
   ------------------------------------------------------------
   · .tm-hidden        —— 角色显隐用（不用 inline style，符合 CSP）
   · .tm-*             —— 「我的团队」页
   · .rc-scope-tabs    —— 雷达线索数据域切换（公海/我认领的/全部）
   · .rc-lead-claimed  —— 认领按钮三态（可认领/已认领/已被他人认领）
   ============================================================ */

/* ---------- 角色显隐（前端体验优化，后端仍会二次校验） ---------- */
.tm-hidden { display: none !important; }

/* ---------- 我的团队页 ---------- */
.tm-page { min-height: 100vh; background: var(--bg); }
.tm-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.tm-back {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); background: var(--surface-2); cursor: pointer;
}
.tm-back svg { width: 18px; height: 18px; }
.tm-title { flex: 1; font-size: 16px; font-weight: 700; color: var(--text); }
.tm-refresh { font-size: 13px; color: var(--primary); cursor: pointer; }
.tm-body { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.tm-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
}
.tm-card-t {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.tm-card-t-sub { font-size: 12px; color: var(--text-light); font-weight: 400; }
.tm-scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tm-scope-cell {
  background: var(--surface-2); border: 1px solid var(--surface-3);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.tm-scope-k { font-size: 11.5px; color: var(--text-light); }
.tm-scope-v { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 3px; }
.tm-member {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--surface-3);
}
.tm-member:last-child { border-bottom: none; }
.tm-member-n { font-size: 13.5px; font-weight: 600; color: var(--text); }
.tm-member-m { font-size: 11.5px; color: var(--text-light); margin-top: 2px; }
.tm-role {
  flex: none; font-size: 11px; padding: 3px 9px; border-radius: 10px;
  font-weight: 600; border: 1px solid transparent;
}
.tm-role-admin { background: rgba(16, 185, 129, .12); color: #059669; border-color: rgba(16, 185, 129, .3); }
.tm-role-supervisor { background: rgba(37, 99, 235, .12); color: #2563eb; border-color: rgba(37, 99, 235, .3); }
.tm-role-sales { background: rgba(148, 163, 184, .14); color: #64748b; border-color: rgba(148, 163, 184, .3); }
.tm-empty { font-size: 12.5px; color: var(--text-light); text-align: center; padding: 18px 8px; }
.tm-loading { font-size: 12.5px; color: var(--text-light); text-align: center; padding: 14px 0; }
.tm-tip {
  font-size: 11.5px; color: var(--text-light); line-height: 1.6;
  background: var(--surface-2); border: 1px solid var(--surface-3);
  border-radius: var(--radius-sm); padding: 10px 12px;
}

/* ---------- 雷达：线索数据域切换 ---------- */
.rc-scope-tabs {
  display: flex; gap: 6px; margin-bottom: 10px;
  background: var(--surface-2); border-radius: var(--radius-sm); padding: 3px;
}
.rc-scope-tab {
  flex: 1; text-align: center; font-size: 12px; padding: 6px 4px;
  border-radius: 6px; color: var(--rc-text2); cursor: pointer;
  transition: background .15s, color .15s;
}
.rc-scope-tab.active {
  background: var(--rc-primary); color: #FFFFFF; font-weight: 600;
}

/* ---------- 雷达：认领按钮三态 ---------- */
.rc-btn-claim { background: var(--rc-primary); color: #FFFFFF; }
.rc-btn-claim:disabled { opacity: .6; cursor: default; }
.rc-lead-claimed {
  flex: none; font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 10px;
  border: 1px solid transparent; white-space: nowrap;
}
.rc-claim-mine { background: rgba(16, 185, 129, .12); color: #059669; border-color: rgba(16, 185, 129, .3); }
.rc-claim-taken { background: var(--surface-3); color: var(--rc-text3); border-color: var(--surface-3); }

/* ---------- 深色模式适配 ---------- */
@media (prefers-color-scheme: dark) {
  .tm-scope-cell { background: rgba(148, 163, 184, .08); border-color: #262B33; }
  .tm-role-admin { background: rgba(16, 185, 129, .18); color: #6EE7B7; border-color: rgba(16, 185, 129, .4); }
  .tm-role-supervisor { background: rgba(59, 130, 246, .18); color: #93C5FD; border-color: rgba(59, 130, 246, .4); }
  .tm-role-sales { background: rgba(148, 163, 184, .14); color: #A8B0BA; border-color: rgba(148, 163, 184, .32); }
  .rc-claim-mine { background: rgba(16, 185, 129, .18); color: #6EE7B7; border-color: rgba(16, 185, 129, .4); }
  .rc-claim-taken { background: rgba(148, 163, 184, .12); color: #A8B0BA; border-color: rgba(148, 163, 184, .28); }
}

/* ================= v3.87.0 AI 智能匹配 ================= */
.aim-wrap { padding: 16px; }
.aim-hero { text-align: center; padding: 18px 0 10px; }
.aim-spark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; margin-bottom: 10px; box-shadow: 0 8px 22px rgba(14,165,233,.30); }
.aim-spark .icon { width: 26px; height: 26px; }
.aim-title { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: .5px; }
.aim-sub { color: #64748b; font-size: 13px; line-height: 1.7; margin: 8px 0 16px; }
.aim-start-btn { display: inline-block; border: none; cursor: pointer; color: #fff; font-size: 16px; font-weight: 700; padding: 13px 38px; border-radius: 999px; background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 10px 26px rgba(14,165,233,.32); transition: transform .15s ease; }
.aim-start-btn:active { transform: scale(.97); }
.aim-start-btn:disabled { opacity: .6; cursor: default; }
.aim-hint { margin-top: 12px; font-size: 12px; color: #d97706; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 8px 10px; }
.aim-radar-wrap { position: relative; height: 320px; margin: 14px 0; border-radius: 18px; overflow: hidden; display: none; background: radial-gradient(circle at 50% 50%, #0b2540 0%, #071527 70%, #050d18 100%); }
.aim-radar-wrap.on { display: block; }
.aim-radar-wrap canvas { width: 100%; height: 100%; display: block; }
.aim-skip { position: absolute; right: 12px; bottom: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(7,21,39,.55); color: #e2e8f0; font-size: 13px; padding: 7px 16px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(4px); }
.aim-skip:active { transform: scale(.96); }
.aim-empty { text-align: center; padding: 30px 16px; color: #475569; }
.aim-empty-ico { color: #94a3b8; margin-bottom: 8px; }
.aim-empty-ico .icon { width: 40px; height: 40px; }
.aim-results { padding: 6px 0 30px; }
.aim-tier-title { font-size: 14px; font-weight: 700; color: #334155; margin: 16px 0 10px; padding-left: 2px; }
.aim-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; margin-bottom: 12px; opacity: 0; }
.aim-card.in { animation: aimFall .5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes aimFall { from { opacity: 0; transform: translateY(-26px) scale(.98); } to { opacity: 1; transform: none; } }
.aim-card.high { border-color: #f59e0b; box-shadow: 0 8px 22px rgba(245,158,11,.16); }
.aim-card.mid { border-color: #0ea5e9; box-shadow: 0 8px 22px rgba(14,165,233,.14); }
.aim-card.potential { border-color: #cbd5e1; }
.aim-card-head { display: flex; align-items: center; gap: 10px; }
.aim-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #38bdf8, #6366f1); color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aim-card-id { flex: 1; min-width: 0; }
.aim-name { font-size: 15px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.aim-cert { font-size: 11px; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.aim-meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.aim-score-box { text-align: right; flex-shrink: 0; }
.aim-score { font-size: 26px; font-weight: 800; line-height: 1; }
.aim-score-unit { font-size: 13px; font-weight: 600; margin-left: 1px; }
.aim-tier { font-size: 11px; font-weight: 700; margin-top: 2px; }
.aim-tier-biz { font-size: 10px; color: #64748b; margin-top: 3px; font-weight: 600; }
.aim-reason-label { font-size: 11px; font-weight: 700; color: #334155; margin-right: 4px; }
.aim-dims { display: flex; gap: 8px; margin: 12px 0 10px; }
.aim-dim { flex: 1; min-width: 0; }
.aim-dim-label { font-size: 11px; color: #64748b; margin-bottom: 3px; }
.aim-dim-bar { height: 6px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.aim-dim-bar > i { display: block; height: 100%; border-radius: 4px; }
.aim-dim-val { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.aim-card-reason { font-size: 12px; color: #475569; line-height: 1.6; background: #f8fafc; border-radius: 8px; padding: 8px 10px; }
.aim-card-shield { color: #b45309; background: #fffbeb; }
.aim-actions { display: flex; gap: 7px; margin-top: 12px; }
.aim-btn { flex: 1; font-size: 12px; padding: 9px 2px; border-radius: 9px; white-space: nowrap; }
.aim-tag-chip { display: inline-block; font-size: 12px; color: #0369a1; background: #e0f2fe; border: 1px solid #bae6fd; border-radius: 6px; padding: 2px 8px; margin: 2px 4px 2px 0; }
.aim-detail-row { margin-bottom: 10px; }
.aim-detail-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
/* v3.117.0 匹配结果分页条 */
.aim-pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0 4px; }
.aim-pager-info { font-size: 12px; color: #64748b; margin-right: 4px; }
.aim-pager-cur { font-size: 12px; color: #475569; min-width: 52px; text-align: center; }
.aim-pager-btn { font-size: 12px; padding: 6px 12px; border-radius: 8px; }

@media (prefers-color-scheme: dark) {
  .aim-title { color: #f1f5f9; }
  .aim-sub { color: #94a3b8; }
  .aim-card { background: #141a22; border-color: #2a323c; }
  .aim-card.potential { border-color: #2a323c; }
  .aim-name { color: #e2e8f0; }
  .aim-meta { color: #64748b; }
  .aim-tier-title { color: #cbd5e1; }
  .aim-dim-bar { background: #1f2630; }
  .aim-card-reason { color: #a8b0ba; background: #1a212b; }
  .aim-tier-biz { color: #94a3b8; }
  .aim-reason-label { color: #cbd5e1; }
  .aim-detail-label { color: #94a3b8; }
}

/* ========== v3.88.0 消息收件箱 + 单聊 ========== */
.msg-group-title { padding: 12px 16px 6px; font-size: 12px; color: var(--text-light); font-weight: 600; }
.msg-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card-bg); border-bottom: 1px solid var(--border); cursor: pointer; }
.msg-item:active { background: var(--surface-2); }
.msg-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; flex-shrink: 0; object-fit: cover; }
.msg-item-main { flex: 1; min-width: 0; }
.msg-item-top { display: flex; justify-content: space-between; align-items: baseline; }
.msg-item-name { font-size: 15px; font-weight: 600; color: var(--text); }
.msg-item-time { font-size: 11px; color: var(--text-light); flex-shrink: 0; margin-left: 8px; }
.msg-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; }
.msg-item-last { font-size: 13px; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.msg-unread { min-width: 18px; height: 18px; padding: 0 5px; background: var(--danger); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-left: 8px; flex-shrink: 0; }
/* v3.109.0 会话置顶 / 免打扰 */
.msg-item-flags { display: inline-flex; gap: 2px; margin-right: 6px; flex-shrink: 0; }
.msg-pin { font-size: 13px; }
.msg-mute { font-size: 13px; opacity: .85; }
.msg-item-ops { display: flex; justify-content: flex-end; gap: 6px; margin-top: 5px; }
.msg-op { font-size: 11px; color: var(--primary); border: 1px solid var(--border); border-radius: 10px; padding: 2px 9px; cursor: pointer; }
.msg-op:active { background: var(--surface-2); }
.msg-chat { display: flex; flex-direction: column; height: 100%; }
.msg-bubbles { flex: 1; overflow-y: auto; padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.msg-bubble-row { display: flex; }
.msg-bubble-row.mine { justify-content: flex-end; }
.msg-bubble-row.them { justify-content: flex-start; }
.msg-bubble { max-width: 74%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; word-break: break-word; }
.msg-bubble-row.mine .msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-bubble-row.them .msg-bubble { background: var(--card-bg); color: var(--text); border-bottom-left-radius: 4px; }
.msg-bubble-time { font-size: 10px; opacity: 0.6; margin-top: 3px; text-align: right; }
.msg-bubble-row.them .msg-bubble-time { text-align: left; }
/* v3.94.0 私聊已读回执 */
.msg-bubble-read { font-size: 10px; color: #94a3b8; font-weight: 600; margin-left: 4px; }
/* v3.147.0 快捷回复条（输入框上方横向滑动常用语） */
.msg-quick { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px 2px; background: var(--card-bg); -webkit-overflow-scrolling: touch; }
/* v3.154.0 私聊快捷跟进：会话页人脉档位条（只升不降，成交锁定） */
.msg-follow { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 7px 12px; background: var(--bg-muted, #f1f5f9); border-bottom: 1px solid var(--border); }
.msg-follow-hint { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.msg-follow-chip { flex-shrink: 0; padding: 5px 10px; border-radius: 999px; font-size: 12px; color: var(--text-light); background: var(--card-bg); border: 1px solid var(--border); cursor: pointer; }
.msg-follow-chip.on { color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); border-color: transparent; font-weight: 600; }
.msg-follow-chip.locked { opacity: 0.55; cursor: not-allowed; }
/* v3.155.0 收件箱跟进状态徽标（会话列表直显档位） */
.msg-follow-badge { flex-shrink: 0; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.msg-follow-intent { color: #1d4ed8; background: #dbeafe; }
.msg-follow-quote { color: #b45309; background: #fef3c7; }
.msg-follow-chat { color: #7c3aed; background: #ede9fe; }
.msg-follow-deal { color: #047857; background: #d1fae5; }
.msg-quick-chip { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--primary, #3b82f6); background: var(--primary-bg, #eef4ff); border: 1px solid var(--primary, #3b82f6); cursor: pointer; white-space: nowrap; }
.msg-input-bar { display: flex; gap: 8px; padding: 10px 12px; background: var(--card-bg); border-top: 1px solid var(--border); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.msg-input-bar .form-input { flex: 1; margin: 0; }
.msg-input-bar .btn { flex-shrink: 0; }
.msg-empty { text-align: center; color: var(--text-light); padding: 30px 20px; font-size: 13px; }

/* ============ v3.89.0 供需广场 ============ */
.mk-wrap { padding: 12px 14px 40px; max-width: 640px; margin: 0 auto; }
.mk-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; }
.mk-tab { flex-shrink: 0; padding: 7px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13px; cursor: pointer; }
.mk-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mk-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0 10px; }
/* v3.119.0 供需筛选增强：城市/价格区间筛选行 */
.mk-toolbar-fil { padding-top: 0; }
.mk-fil { flex: 1; min-width: 64px; border: 1px solid rgba(99,102,241,0.25); border-radius: 10px; padding: 7px 10px; font-size: 12px; background: rgba(255,255,255,0.92); color: #1e293b; outline: none; }
.mk-fil:focus { border-color: var(--primary); }
.mk-fil-price { min-width: 52px; max-width: 80px; text-align: center; }
.mk-price-sep { color: #94a3b8; font-size: 12px; }
.mk-fil-apply { color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; padding: 6px 2px; }
.mk-fil-clear { color: #94a3b8; font-size: 12px; cursor: pointer; padding: 6px 2px; }
.mk-select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; }
.mk-cert { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text); }
.mk-search { flex: 1; min-width: 120px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; }
.mk-search-btn { padding: 7px 14px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 13px; cursor: pointer; }
.mk-subnav { display: flex; gap: 6px; padding: 4px 0 10px; }
.mk-sub { padding: 6px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; color: var(--text-light); cursor: pointer; }
.mk-sub.active { color: var(--primary); border-color: var(--primary); background: var(--primary-bg, #eef4ff); }
.mk-pub-btn { color: var(--primary); font-size: 14px; font-weight: 600; padding: 4px 8px; cursor: pointer; }
.mk-list { display: flex; flex-direction: column; gap: 10px; }
/* v3.111.0 本周成交 TOP 发布人横滑条 */
.mk-top-sec { margin-bottom: 12px; }
.mk-top-title { font-size: 13px; font-weight: 700; color: var(--text); margin: 10px 2px 8px; }
.mk-top-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.mk-top-card { flex-shrink: 0; display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #fffbeb, #fff7ed); border: 1px solid #fcd34d; border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.mk-top-av { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; object-fit: cover; }
.mk-top-av-ph { background: linear-gradient(135deg, #f59e0b, #f97316); }
.mk-top-info { display: flex; flex-direction: column; min-width: 0; }
.mk-top-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.mk-top-v { color: #10b981; margin-left: 3px; font-size: 12px; }
.mk-top-meta { font-size: 11px; color: #b45309; margin-top: 1px; white-space: nowrap; }
.mk-top-rate { margin-left: 6px; color: #d97706; }
/* v3.112.0 人脉记录页 */
.mr-wrap { padding: 0 14px 24px; }
.mr-hero { margin: 10px 2px 12px; }
/* v3.150.0 人脉记录跟进状态筛选 tab */
.mr-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.mr-filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--text-light); background: var(--bg-muted, #f1f5f9); border: 1px solid var(--border); cursor: pointer; white-space: nowrap; }
.mr-filter-chip b { font-weight: 700; }
.mr-filter-active { color: #fff; background: var(--primary, #3b82f6); border-color: var(--primary, #3b82f6); }
.mr-hero-title { font-size: 16px; font-weight: 700; color: var(--text); }
.mr-hero-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.6; }
.mr-list { display: flex; flex-direction: column; gap: 10px; }
.mr-loading { text-align: center; color: var(--text-light); padding: 26px 10px; font-size: 13px; }
.mr-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.mr-top { display: flex; align-items: center; gap: 10px; }
.mr-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mr-av-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; font-size: 17px; font-weight: 600; }
.mr-meta { flex: 1; min-width: 0; }
.mr-name { font-size: 14px; font-weight: 600; color: var(--text); }
.mr-v { color: #10b981; font-size: 11px; margin-left: 4px; }
.mr-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.mr-tier { font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.mr-tier-high { background: #fef3c7; color: #b45309; }
.mr-tier-mid { background: #e0f2fe; color: #0369a1; }
.mr-tier-pot { background: #f1f5f9; color: #64748b; }
.mr-score { font-size: 11px; color: var(--text-light); }
.mr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mr-chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.mr-chip-deal { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.mr-chip-chat { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.mr-chip-quote { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.mr-chip-intent { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
/* v3.123.0 动作轨迹四档：已浏览（灰） */
.mr-chip-viewed { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.mr-chip-none { background: #f8fafc; color: #94a3b8; border: 1px dashed #e2e8f0; }
/* v3.168.0 冷线索徽章（≥14 天未跟进自动降级）：冰蓝警示 */
.mr-chip-cold { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
/* v3.179.0 不感兴趣徽章（忽略动作）：石板灰 */
.mr-chip-ignore { background: #f8fafc; color: #64748b; border: 1px solid #cbd5e1; }
/* v3.168.0 冷线索提醒条 */
.mr-cold-tip { margin: 10px 16px 0; }
.mr-cold-tip-inner { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #e0f2fe; color: #0369a1; font-size: 13px; line-height: 1.5; border: 1px solid #bae6fd; }
.mr-cold-tip-inner b { color: #0c4a6e; }
/* v3.143.0 人脉记录卡评分构成（复用 .aim-dim 条形） */
.mr-dims { margin-top: 10px; padding: 8px 10px; border: 1px dashed var(--border); border-radius: 10px; background: var(--surface, #f8fafc); }
.mr-dims-title { font-size: 11px; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; }
.mr-dims .aim-dim { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.mr-dims .aim-dim-label { width: 56px; font-size: 11px; color: var(--text-light); flex-shrink: 0; }
.mr-dims .aim-dim-bar { flex: 1; height: 6px; border-radius: 4px; background: var(--border); overflow: hidden; }
.mr-dims .aim-dim-bar i { display: block; height: 100%; border-radius: 4px; }
.mr-dims .aim-dim-val { width: 34px; text-align: right; font-size: 11px; font-weight: 600; color: var(--text-strong); }
.mr-actions { display: flex; gap: 8px; margin-top: 10px; }
.mr-btn { flex: 1; }
.mr-empty { text-align: center; color: var(--text-light); padding: 40px 10px; }
.mr-empty-ico { font-size: 34px; margin-bottom: 8px; }
.aim-records-entry { margin-top: 10px; font-size: 12px; color: var(--primary); cursor: pointer; text-align: center; padding: 6px; }
/* v3.118.0 我的匹配效果卡（人脉归因统计） */
.aim-summary { margin: 12px 14px 0; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.9); border: 1px solid rgba(99,102,241,0.16); box-shadow: 0 6px 20px rgba(30,60,140,0.06); }
/* v3.170.0 今日推荐（信用分+供需活跃加权） */
.aim-picks { margin: 12px 14px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(238,242,255,0.92), rgba(240,249,255,0.92)); border: 1px solid rgba(99,102,241,0.18); box-shadow: 0 6px 20px rgba(30,60,140,0.06); }
.aim-picks-head { font-size: 13px; font-weight: 700; color: #312e81; display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.aim-picks-sub { font-size: 10px; font-weight: 400; color: #64748b; }
.aim-picks-list { display: flex; flex-direction: column; gap: 8px; }
.aim-pick-card { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.92); border: 1px solid rgba(99,102,241,0.12); cursor: pointer; }
.aim-pick-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.aim-pick-name { font-size: 14px; font-weight: 700; color: #1e293b; }
/* v3.184.0 AI 获客雷达 */
.aim-radar { margin: 12px 14px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(238,242,255,0.92), rgba(245,243,255,0.92)); border: 1px solid rgba(99,102,241,0.18); box-shadow: 0 6px 20px rgba(30,60,140,0.06); }
.aim-radar-head { font-size: 13px; font-weight: 700; color: #312e81; display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.aim-radar-sec { font-size: 11px; font-weight: 700; color: #6d28d9; margin: 10px 0 6px; }
.aim-radar-list { display: flex; flex-direction: column; gap: 6px; }
.aim-radar-row { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,0.92); border: 1px solid rgba(99,102,241,0.12); cursor: pointer; }
.aim-radar-main { flex: 1; min-width: 0; }
.aim-radar-name { font-size: 13px; font-weight: 700; color: #1e293b; }
.aim-radar-tag { font-size: 10px; color: #16a34a; border: 1px solid #16a34a; border-radius: 8px; padding: 0 5px; margin-left: 6px; }
.aim-radar-city { font-size: 10px; color: #64748b; margin-left: 6px; }
.aim-radar-why { font-size: 10px; color: #64748b; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aim-radar-score { font-size: 12px; font-weight: 800; color: #7c3aed; flex-shrink: 0; }
/* v3.186.0 雷达卡片操作区（💬 私聊 / 🤝 意向） */
.aim-radar-ops { display: flex; gap: 6px; margin-top: 7px; }
.aim-radar-btn { font-size: 11px; font-weight: 600; color: #4f46e5; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.25); border-radius: 10px; padding: 4px 10px; cursor: pointer; }
.aim-radar-btn:hover { background: rgba(99,102,241,0.16); }
.aim-pick-cert { font-size: 10px; color: #16a34a; background: rgba(22,163,74,0.1); padding: 1px 7px; border-radius: 8px; }
.aim-pick-city { font-size: 10px; color: #64748b; }
.aim-pick-meta { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.aim-pick-cell { font-size: 11px; color: #475569; }
.aim-pick-cell b { font-size: 14px; font-weight: 700; margin-right: 2px; }
.aim-pick-why { margin-top: 6px; font-size: 10px; color: #8b5cf6; background: rgba(139,92,246,0.07); padding: 4px 8px; border-radius: 8px; display: inline-block; }
.aim-sum-head { font-size: 13px; font-weight: 600; color: #1e293b; display: flex; align-items: baseline; gap: 8px; }
.aim-sum-exp { margin-left: auto; padding: 5px 12px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); border: none; border-radius: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(37, 99, 235, .28); }
.aim-sum-exp:active { transform: scale(.97); }
.aim-sum-exp:disabled { opacity: .6; cursor: default; transform: none; }
/* v3.121.0 供需广场二期：发布人关注 */
.mk-follow { margin-left: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: #2563eb; background: #eff6ff; border-radius: 12px; cursor: pointer; }
.mk-follow.mk-follow-on { color: #94a3b8; background: #f1f5f9; }
.mk-follow-card .mk-follow-btn { padding: 4px 12px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); border-radius: 12px; cursor: pointer; }
.mk-follow-card .mk-follow-btn.mk-follow-on { color: #94a3b8; background: #f1f5f9; }
.mk-follow-item { padding: 8px 12px; margin: 4px 12px 10px; font-size: 13px; color: #334155; background: #f8fafc; border-radius: 10px; cursor: pointer; }
.mk-follow-item.mk-follow-none { color: #94a3b8; cursor: default; }
.mk-detail-follow { display: inline-block; margin-top: 10px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #2563eb; background: #eff6ff; border-radius: 14px; cursor: pointer; }
.mk-detail-follow.mk-follow-on { color: #94a3b8; background: #f1f5f9; }
.mk-chat-quote { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 4px 12px rgba(245, 158, 11, .3); }
.aim-sum-sub { font-size: 11px; font-weight: 400; color: #94a3b8; }
.aim-sum-grid { display: flex; gap: 8px; margin-top: 10px; }
.aim-sum-cell { flex: 1; text-align: center; padding: 8px 4px; border-radius: 12px; background: rgba(99,102,241,0.05); }
.aim-sum-num { font-size: 18px; font-weight: 700; color: #1e293b; }
.aim-sum-lab { font-size: 10px; color: #64748b; margin-top: 2px; }
.aim-sum-tier-wrap { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.aim-sum-tier { display: flex; align-items: center; gap: 8px; }
.aim-sum-tier-k { font-size: 11px; width: 52px; flex: none; }
.aim-sum-tier-bar { flex: 1; }
.aim-sum-tier-n { font-size: 10px; color: #64748b; flex: none; }
.aim-sum-foot { margin-top: 10px; font-size: 10px; color: #94a3b8; }
/* v3.114.0 消息会话搜索 */
.msg-search-bar { padding: 10px 14px 2px; }
.msg-search-bar .form-input { width: 100%; }
.mk-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.mk-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mk-pub { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mk-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface); flex-shrink: 0; }
.mk-avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-bg, #eef4ff); color: var(--primary); font-size: 15px; font-weight: 600; }
/* v3.145.0 发布人店铺页 */
.mk-pub { cursor: pointer; }
.mk-avatar-lg { width: 52px; height: 52px; font-size: 20px; }
.mk-seller-card { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 12px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; }
/* v3.169.0 店铺口碑战绩聚合条（信用分+好评率+成交笔数+在售数） */
.mk-seller-stats { display: flex; gap: 8px; margin-bottom: 12px; }
.mk-ss-item { flex: 1; padding: 10px 8px; border-radius: 12px; background: linear-gradient(180deg, #f0f9ff, #eff6ff); border: 1px solid #e0f2fe; text-align: center; }
.mk-ss-val { font-size: 15px; font-weight: 700; color: #0c4a6e; line-height: 1.4; }
.mk-ss-label { font-size: 10px; color: #64748b; margin-top: 3px; line-height: 1.4; }
.mk-seller-meta { flex: 1; min-width: 0; }
.mk-seller-name { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.mk-seller-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-seller-stat { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
/* v3.146.0 店铺页增强：关注按钮 + 成交记录 */
.mk-seller-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.mk-seller-follow { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: var(--primary, #3b82f6); cursor: pointer; }
.mk-seller-follow.mk-follow-on { color: var(--primary, #3b82f6); background: var(--primary-bg, #eef4ff); border: 1px solid var(--primary, #3b82f6); }
.mk-deals { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.mk-deals-title { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.mk-deal-row { padding: 8px 0; border-top: 1px solid var(--border); }
.mk-deal-row:first-of-type { border-top: none; }
.mk-deal-t { font-size: 13px; font-weight: 600; color: var(--text); }
.mk-deal-m { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.mk-deal-s { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.mk-pub-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-pub-meta { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.mk-pub-info { display: flex; flex-direction: column; min-width: 0; }
.mk-badge { display: inline-block; padding: 1px 6px; border-radius: 8px; font-size: 11px; }
.mk-badge-verified { background: #e6f7ec; color: #0a7c42; border: 1px solid #b7e6c9; }
.mk-type { font-size: 11px; color: var(--primary); background: var(--primary-bg, #eef4ff); padding: 2px 8px; border-radius: 10px; flex-shrink: 0; }
.mk-card-body { display: flex; gap: 10px; cursor: pointer; }
.mk-thumb { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--surface); }
.mk-card-main { flex: 1; min-width: 0; }
.mk-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.35; }
.mk-desc { font-size: 13px; color: var(--text-light); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-price { font-size: 14px; font-weight: 600; color: var(--danger); margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-tag { display: inline-block; padding: 1px 6px; border-radius: 8px; font-size: 11px; }
.mk-tag-guarantee { background: #fff7e6; color: #b76e00; border: 1px solid #f3d9a6; }
.mk-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.mk-stats { font-size: 12px; color: var(--text-light); }
.mk-fav { font-size: 12px; color: var(--primary); cursor: pointer; padding: 2px 8px; }
.mk-fav-on { color: var(--danger); font-weight: 600; }
.mk-loading { text-align: center; color: var(--text-light); padding: 26px 10px; font-size: 13px; }
.mk-empty { text-align: center; color: var(--text-light); padding: 30px 20px; font-size: 13px; }
.mk-more { text-align: center; color: var(--primary); padding: 12px; font-size: 13px; cursor: pointer; }
/* 详情 */
.mk-detail { padding: 14px 14px 40px; max-width: 640px; margin: 0 auto; }
.mk-detail-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
/* v3.148.0 详情页关联推荐：TA 也发布了 */
.mk-related { margin: 12px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 12px; }
.mk-related-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mk-related-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); cursor: pointer; }
.mk-related-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mk-related-main { flex: 1; min-width: 0; }
.mk-related-t { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-related-price { font-size: 12px; color: var(--price, #e11d48); margin-top: 2px; }
.mk-related-type { font-size: 11px; color: var(--muted, #94a3b8); flex-shrink: 0; }
.mk-detail-type { display: inline-block; font-size: 12px; color: var(--primary); background: var(--primary-bg, #eef4ff); padding: 3px 10px; border-radius: 12px; margin: 10px 0 6px; }
.mk-detail-title { font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.4; }
.mk-detail-price { font-size: 18px; font-weight: 700; color: var(--danger); margin-top: 8px; }
.mk-detail-imgs { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; }
.mk-detail-img { width: 140px; height: 140px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--surface); }
.mk-detail-desc { font-size: 14px; color: var(--text); line-height: 1.6; margin-top: 12px; white-space: pre-wrap; }
.mk-detail-row { display: flex; gap: 10px; margin-top: 8px; font-size: 13px; }
.mk-detail-row-k { color: var(--text-light); flex-shrink: 0; min-width: 64px; }
.mk-detail-row-v { color: var(--text); }
.mk-detail-meta { font-size: 12px; color: var(--text-light); margin-top: 14px; }
/* v3.152.0 详情热度可视化（浏览+收藏×3 加权，与最热排序同口径） */
.mk-heat { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.mk-heat-label { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.mk-heat-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--bg-muted, #f1f5f9); overflow: hidden; }
.mk-heat-bar i { display: block; height: 100%; border-radius: 999px; }
.mk-heat-val { font-size: 12px; font-weight: 700; color: #f59e0b; min-width: 28px; text-align: right; }
.mk-detail-actions { display: flex; gap: 10px; margin-top: 14px; }
.mk-act { font-size: 13px; color: var(--primary); padding: 6px 14px; border: 1px solid var(--border); border-radius: 18px; cursor: pointer; background: var(--surface); }
.mk-act-danger { color: var(--danger); }
.mk-detail-chat { margin-top: 16px; }
.mk-chat-btn { width: 100%; padding: 13px; border-radius: 24px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; border: none; cursor: pointer; }
/* v3.125.0 报价单：状态条 + 弹窗 + 列表 */
.mk-quote-state { width: 100%; padding: 12px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; box-sizing: border-box; }
.mk-quote-pending { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.mk-quote-accepted { background: #e7f7ec; color: #16a34a; border: 1px solid #b6e4c8; }
.mk-quote-rejected { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.mk-quote-modal { width: 86%; max-width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: 0 12px 40px rgba(2, 6, 23, 0.18); }
.mk-quote-modal-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.mk-quote-modal-item { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.mk-quote-field { margin-bottom: 10px; }
.mk-quote-label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.mk-quote-input, .mk-quote-area { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; background: var(--surface); color: var(--text); }
.mk-quote-area { min-height: 64px; resize: vertical; }
.mk-quote-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.mk-quote-row { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--surface); }
.mk-quote-row-title { font-size: 14px; font-weight: 600; }
.mk-quote-row-meta { font-size: 12px; color: var(--text-light); margin-top: 3px; }
.mk-quote-row-status { font-size: 12px; font-weight: 600; margin-top: 4px; }
.mk-q-pending { color: #b45309; }
.mk-q-accepted { color: #16a34a; }
.mk-q-rejected { color: #dc2626; }
.mk-quote-row-time { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.mk-quote-act { display: inline-block; margin-top: 6px; margin-right: 8px; padding: 5px 14px; border-radius: 16px; font-size: 12px; font-weight: 600; cursor: pointer; }
.mk-quote-accept { background: var(--primary); color: #fff; }
.mk-quote-reject { background: var(--border); color: var(--text); }
/* 发布弹窗 */
.mk-pub { display: flex; flex-direction: column; gap: 10px; max-height: 62vh; overflow-y: auto; }
.mk-pub-types { display: flex; gap: 8px; }
.mk-pub-type { flex: 1; text-align: center; padding: 8px 6px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; color: var(--text); cursor: pointer; background: var(--surface); }
.mk-pub-type.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mk-field { display: flex; flex-direction: column; gap: 6px; }
.mk-field-row { flex-direction: row; gap: 8px; }
.mk-field-check { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.mk-input { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 14px; }
.mk-check { cursor: pointer; user-select: none; }
.mk-check input { accent-color: #2563eb; }
.mk-input-sm { width: 96px; flex-shrink: 0; }
.mk-textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 14px; min-height: 84px; resize: vertical; }
.mk-pub-btns { display: flex; gap: 10px; padding-top: 4px; }
.mk-btn { flex: 1; padding: 12px; border-radius: 22px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; }
.mk-btn-main { background: var(--primary); color: #fff; }
.mk-btn-ghost { background: var(--surface); color: var(--text-light); border: 1px solid var(--border); }
.mk-pub-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
/* v3.164.0 发布分步向导 + 图片压缩上传 */
.mk-pub-steps { display: flex; gap: 6px; }
.mk-pub-step { flex: 1; text-align: center; padding: 6px 2px; border-radius: 8px; font-size: 12px; color: var(--text-light); background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.mk-pub-step.on { color: var(--primary); }
.mk-pub-step.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mk-pub-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-pub-img { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.mk-pub-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-pub-img-del { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; text-align: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; cursor: pointer; }
.mk-pub-img-add { width: 84px; height: 84px; border: 1px dashed var(--border); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-light); cursor: pointer; background: var(--surface); }
.mk-pub-img-add-plus { font-size: 22px; line-height: 1; }
.mk-pub-img-add-txt { font-size: 11px; margin-top: 4px; }
.mk-pub-img-tip { font-size: 12px; color: var(--text-light); }
.mk-btn-sm { flex: 0 0 auto; padding: 10px 16px; font-size: 13px; border-radius: 14px; }

/* v3.89-P1 身份标签徽章 */
.aim-cert-type { margin-left: 6px; background: #eef0ff; color: #5b5bd6; border: 1px solid #cdd0f5; }
/* v3.91.0 匹配卡「最近动作」徽章 */
.aim-badge-action { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }
.aim-badge-intent { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
.aim-badge-chat { color: #0369a1; background: #f0f9ff; border: 1px solid #bae6fd; }
/* v3.123.0 动作轨迹四档：已浏览（灰） */
.aim-badge-viewed { color: #475569; background: #f1f5f9; border: 1px solid #cbd5e1; }
/* v3.110.0 人脉动作轨迹：成交徽章 */
.aim-badge-deal { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; }
/* v3.199.0 六档统一：已报价 / 已加人脉 */
.aim-badge-quote { color: #7c3aed; background: #f5f3ff; border: 1px solid #ddd6fe; }
.aim-badge-friend { color: #0e7490; background: #ecfeff; border: 1px solid #a5f3fc; }
/* v3.93.0 匹配卡供需直达条 */
.aim-market-strip { margin-top: 8px; border-top: 1px dashed var(--border); padding-top: 8px; }
.aim-market-item { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--border); margin-bottom: 6px; cursor: pointer; font-size: 12px; }
.aim-market-item:hover { border-color: var(--primary); }
.aim-market-type { flex-shrink: 0; font-size: 10px; font-weight: 700; color: var(--primary); background: #eef0ff; padding: 1px 5px; border-radius: 4px; }
.aim-market-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.aim-market-price { flex-shrink: 0; color: #b45309; font-weight: 600; }
.mk-badge-type { margin-left: 6px; background: #eef0ff; color: #5b5bd6; border: 1px solid #cdd0f5; }

/* v3.89.0-P2 XFF 监控面板 */
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px; }
.ops-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.ops-num { font-size: 24px; font-weight: 700; color: var(--text); }
.ops-label { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.ops-table-wrap { overflow-x: auto; }
.ops-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ops-table th, .ops-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ops-table th { color: var(--text-light); font-weight: 600; }
.ops-ip { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; color: var(--primary); }
.ops-empty { text-align: center; color: var(--text-light); padding: 20px 0; }
/* v3.124.0 XFF 可视化面板：SVG 趋势 + IP 条形 */
.ops-trend-svg { width: 100%; height: auto; display: block; }
/* v3.211.0 我的 SLA 趋势页：SVG 趋势图 */
.sla-trend-svg { width: 100%; height: auto; display: block; }
/* v3.212.0 本周未回复人脉清单 */
.mt-sla-p-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.mt-sla-p-row:last-child { border-bottom: none; }
.mt-sla-p-name { font-size: 14px; font-weight: 600; color: var(--text-1, #0f172a); }
.mt-sla-p-co { font-size: 12px; color: var(--text-light, #94a3b8); margin-left: 6px; }
.mt-sla-p-meta { font-size: 12px; color: var(--text-light, #94a3b8); margin-top: 2px; }
/* v3.362.0：APP 端 ops 运营观测样式（ops-legend/ipwrap/iprow/thbar/ev/heat 等）随
   v3.309.0 H5 运营页下线已成死样式，整段清理；活的 XFF 面板在管理端用 admin.css。 */
/* v3.125.0 报价漏斗（ops-market 面板） */
.ops-quote-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ops-quote-cell { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 6px; text-align: center; }
.ops-quote-num { display: block; font-size: 18px; font-weight: 700; }
.ops-quote-label { display: block; font-size: 11px; color: var(--text-light); margin-top: 2px; }
/* v3.90.0 供需面板 + 成交闭环 */
.ops-bar-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.ops-bar-k { width: 64px; color: var(--text-light); flex-shrink: 0; }
.ops-bar { flex: 1; height: 10px; border-radius: 6px; background: var(--border); overflow: hidden; }
.ops-bar i { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.ops-bar-n { width: 28px; text-align: right; font-weight: 600; }
.mk-badge-dealt { background: #e7f7ec; color: #16a34a; border: 1px solid #b6e4c8; margin-left: 6px; }
.mk-badge-down { background: #f1f5f9; color: #94a3b8; border: 1px solid #e2e8f0; margin-left: 6px; }
.mk-act-deal { color: #16a34a; border-color: #b6e4c8; }
.mk-deal-block { margin-top: 12px; padding: 10px 12px; border: 1px solid #b6e4c8; border-radius: 10px; background: #f3faf5; }
.mk-deal-title { font-size: 14px; font-weight: 700; color: #16a34a; }
.mk-deal-price { font-size: 14px; font-weight: 700; color: #16a34a; margin-top: 6px; }
.mk-deal-buyer { font-size: 12px; color: var(--text); margin-top: 4px; }
.mk-deal-note { font-size: 13px; color: var(--text); margin-top: 6px; }
.mk-deal-time { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* v3.159.0 供需举报 */
.mk-report-link { margin-top: 10px; text-align: center; color: #94a3b8; font-size: 12px; cursor: pointer; padding: 8px 0; }
.mk-report-link:active { opacity: .6; }
.mk-report-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.mk-report-reason { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #dbe3ef; border-radius: 8px; font-size: 13px; cursor: pointer; }
.mk-report-reason input { accent-color: #2563eb; }

/* v3.160.0 供需广场筛选增强 */
.mk-fil-same { padding: 6px 10px; border-radius: 8px; background: #eef2ff; color: #4f46e5; font-size: 12px; cursor: pointer; white-space: nowrap; }
.mk-fil-same:active { opacity: .6; }
.mk-filchips { display: none; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.mk-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: 12px; cursor: pointer; }
.mk-chip b { font-weight: 700; }
.mk-chip:active { opacity: .6; }
.mk-count { padding: 6px 14px 0; font-size: 12px; color: #94a3b8; }

/* ========== v3.224.0 平板/大手机档（481-768px：供需列表两列 + 触控尺寸 + 输入防缩放） ========== */
@media (min-width: 481px) and (max-width: 768px) {
  .mk-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mk-card { padding: 14px; border-radius: 12px; }
  .mk-thumb { width: 96px; height: 96px; border-radius: 10px; }
  .mk-title { font-size: 17px; line-height: 1.35; }
  .mk-desc { font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .mk-fav, .mk-follow, .mk-act { padding: 9px 12px; font-size: 13px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 8px; }
  .mk-btn { min-height: 44px; padding: 10px 14px; font-size: 15px; border-radius: 8px; }
  .mk-btn-sm { min-height: 38px; padding: 8px 12px; font-size: 14px; }
  .mk-chat-btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .mk-detail-follow { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .mk-detail-chat { gap: 8px; }
  .mk-actions { flex-wrap: wrap; gap: 8px; }
  .mk-card-foot { flex-wrap: wrap; gap: 8px; }
  .mk-detail img { width: 100%; height: auto; border-radius: 10px; }
  #mk-quote-modal, #mk-quote-edit-modal { width: 94%; max-width: 460px; border-radius: 12px; }
  .mk-quote-field input.mk-quote-input, .mk-quote-field textarea.mk-quote-area { font-size: 16px; width: 100%; box-sizing: border-box; }
  #msg-inbox .msg-row { min-height: 56px; }
  #msg-bubbles .msg-bubble { max-width: 82%; }
  #msg-input { font-size: 16px; }
  #msg-send-btn { min-height: 40px; }
  .tabbar { padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tab-item { font-size: 10px; }
  .tab-item .tab-icon { font-size: 20px; }
  .nt-row, .msg-row { min-height: 52px; }
  input.filter-input, select.filter-input { font-size: 16px; }
  .page-pad { padding-left: 12px; padding-right: 12px; }
}

/* ========== v3.223.0 移动端用户工作台适配（≤480px：供需广场/详情/报价/消息/通知） ========== */
@media (max-width: 480px) {
  .mk-card { padding: 12px; border-radius: 10px; margin-bottom: 10px; }
  .mk-thumb { width: 84px; height: 84px; border-radius: 8px; }
  .mk-title { font-size: 16px; line-height: 1.35; }
  .mk-desc { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .mk-price { font-size: 15px; }
  .mk-stats { font-size: 12px; }
  .mk-pub { gap: 8px; }
  .mk-pub-name { font-size: 14px; }
  .mk-pub-meta { font-size: 12px; }
  .mk-fav, .mk-follow, .mk-act { padding: 8px 12px; font-size: 13px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 8px; }
  .mk-btn { min-height: 44px; padding: 10px 14px; font-size: 15px; border-radius: 8px; }
  .mk-btn-sm { min-height: 38px; padding: 8px 12px; font-size: 14px; }
  .mk-chat-btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .mk-detail-follow { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .mk-detail-chat { gap: 8px; }
  .mk-actions { flex-wrap: wrap; gap: 8px; }
  .mk-card-foot { flex-wrap: wrap; gap: 8px; }
  .mk-filchips { display: flex; overflow-x: auto; }
  .mk-detail img { width: 100%; height: auto; border-radius: 10px; }
  #mk-quote-modal, #mk-quote-edit-modal { width: 94%; max-width: 460px; border-radius: 12px; }
  .mk-quote-field input.mk-quote-input, .mk-quote-field textarea.mk-quote-area { font-size: 16px; width: 100%; box-sizing: border-box; }
  .mk-quote-row { padding: 10px 0; }
  .mk-overdue-bar { font-size: 13px; padding: 10px 12px; }
  #msg-inbox .msg-row { min-height: 56px; }
  #msg-bubbles .msg-bubble { max-width: 82%; }
  #msg-input { font-size: 16px; }
  #msg-send-btn { min-height: 40px; }
  .tabbar { padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tab-item { font-size: 10px; }
  .tab-item .tab-icon { font-size: 20px; }
  .nt-row, .msg-row { min-height: 52px; }
  input.filter-input, select.filter-input { font-size: 16px; }
  .page-pad { padding-left: 12px; padding-right: 12px; }
}

/* ========== v3.224.0 PWA 安装引导条 ========== */
#pwa-install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 999; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1E3A5F; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); font-size: 13px; }
#pwa-install-bar[hidden] { display: none; }
#pwa-install-text { flex: 1; line-height: 1.4; }
.pwa-install-btn { min-height: 36px; padding: 0 14px; border-radius: 8px; background: #fff; color: #1E3A5F; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.pwa-install-close { min-height: 36px; padding: 0 6px; background: transparent; color: rgba(255,255,255,.75); font-size: 15px; flex-shrink: 0; }
@media (max-width: 480px) {
  #pwa-install-bar { left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); padding: 9px 10px; }
}

/* ========== v3.226.0 宽屏自适应（≥769px：tabbar 转顶横排 + 内容限宽居中 + 供需多列） ========== */
@media (min-width: 769px) {
  /* 底部 tabbar → 顶部横向导航（≤768px 移动形态保留） */
  .tabbar {
    top: 0;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    max-width: 760px;
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
  }
  .tab-item { flex-direction: row; gap: 6px; padding: 10px 18px; font-size: 14px; }
  .tab-item .tab-icon { font-size: 18px; }
  .tab-notify-badge { top: 4px; right: 6px; margin-right: 0; }
  /* 主 Tab 页内容为顶部导航让位（原底部 padding 取消） */
  .page-with-tabbar { padding-bottom: 0; padding-top: 56px; }
  /* 全局内容限宽居中 */
  .page-pad { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
  .mk-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
}

/* 平板横屏/小桌面（769-1279px）：供需两列 */
@media (min-width: 769px) and (max-width: 1279px) {
  .mk-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mk-card { padding: 14px; border-radius: 12px; }
  .mk-thumb { width: 96px; height: 96px; border-radius: 10px; }
}

/* 桌面（≥1280px）：供需三列 + 消息/详情限宽居中 */
@media (min-width: 1280px) {
  .mk-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .mk-card { padding: 16px; border-radius: 14px; }
  .mk-thumb { width: 110px; height: 110px; border-radius: 12px; }
  .mk-title { font-size: 17px; }
  #msg-inbox { max-width: 960px; margin: 0 auto; }
  #msg-bubbles { max-width: 720px; margin: 0 auto; }
  #mk-detail { max-width: 960px; margin: 0 auto; }
}

/* ============ v3.227.0 回访批量操作 ============ */
.mft-batch-toggle { color: #4f46e5; }
.mft-batchbar { display: none; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 2px; padding: 8px 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
.mft-check { display: none; align-items: center; margin-right: 6px; }
.mft-batch-on .mft-check { display: inline-flex; }
.mft-checkbox { width: 18px; height: 18px; border: 2px solid #cbd5e1; border-radius: 5px; background: #fff; box-sizing: border-box; position: relative; }
.mft-check.mft-checked .mft-checkbox { background: #4f46e5; border-color: #4f46e5; }
.mft-check.mft-checked .mft-checkbox::after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mft-batch-on .mft-done-btn { display: none; }
.mft-btn-primary { background: #4f46e5; color: #fff; }
.mft-btn-primary:active { opacity: 0.85; }
.mft-confirm-txt { font-size: 14px; color: #0f172a; margin: 0 0 14px; }
.mft-confirm-acts { display: flex; gap: 10px; justify-content: flex-end; }
/* v3.228.0 批量顺延天数可配置 */
.mft-days-row { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.mft-days-label { font-size: 13px; color: #475569; flex: none; }
.mft-days-input { flex: 1; min-width: 0; box-sizing: border-box; height: 38px; padding: 0 12px; font-size: 15px; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; }
.mft-days-input:focus { border-color: #4f46e5; box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15); }
/* v3.230.0 超期任务自动置顶 + 超期天数红标 */
.mft-odays { display: inline-flex; align-items: center; margin: 0 0 0 6px; padding: 2px 8px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; }
.mft-row.mft-overdue { border-left: 3px solid #dc2626; background: #fef2f2; }
/* v3.231.0 批量已选数量徽标 */
.mft-selcount { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #4f46e5; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; flex: none; }

/* v3.233.0 超期二次提醒：超期聚焦横幅（首页 ⚠ 徽标直达时显示，超期一键顺延） */
.mft-odb { display: flex; align-items: center; gap: 8px; margin: 10px 14px 0; padding: 9px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; }
.mft-odb-t { flex: 1; font-size: 13px; color: #b91c1c; font-weight: 600; line-height: 1.4; }
.mft-odb-t b { font-size: 15px; }

/* v3.234.0 批量完成二次确认：含超期红字警示 */
.mft-warn-txt { margin: 0 0 8px; font-size: 13px; color: #b91c1c; font-weight: 600; line-height: 1.5; }

/* v3.236.0 超期任务红点消息中心：首页 tab 红点角标（无数字纯圆点，有超期回访任务时亮起） */
.tab-dot-badge {
  position: absolute; top: 3px; right: 50%; margin-right: -22px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 2px var(--card-bg);
  display: none; pointer-events: none; z-index: 5;
}

/* v3.236.0 消息中心超期任务聚合卡（消息页顶部，点击直达 my-follow-tasks 超期聚焦） */
.mft-od-card {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 14px 0; padding: 10px 12px;
  border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca;
  cursor: pointer;
}
.mft-od-card-t { flex: 1; font-size: 13px; color: #b91c1c; font-weight: 600; line-height: 1.4; }
.mft-od-card-t b { font-size: 15px; }
.mft-od-card-arrow { font-size: 14px; color: #b91c1c; font-weight: 600; flex: none; }

/* v3.237.0 批量催办：批量栏催办按钮（警示橙）+ 任务行「已催办N」徽标 */
.mft-btn-warn {
  background: #fff7ed; color: #ea580c; border: 1px solid #fdba74;
}
.mft-btn-warn:active { background: #ffedd5; }
.mft-remind-txt { margin-left: 6px; font-size: 11px; color: #ea580c; font-weight: 600; }

/* v3.238.0 消息中心聚合区升级：超期/未读/待办 三行纵向聚合（容器复用 .mft-od-card 红底外观） */
.mft-ops-card { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 12px; }
.mft-ops-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #fee2e2; cursor: pointer; }
.mft-ops-row:last-child { border-bottom: 0; }
.mft-desc-op-stale { opacity: 0.55; font-size: 12px; color: #9ca3af; }
.mft-ops-t { flex: 1; font-size: 13px; color: #b91c1c; font-weight: 600; line-height: 1.4; }
.mft-ops-t b { font-size: 15px; }
.mft-ops-arrow { font-size: 14px; color: #b91c1c; font-weight: 600; flex: none; }
/* v3.247.0 消息中心「已升级 N 条」聚合卡 + 回访任务已升级聚焦 */
.mft-edb { display: flex; align-items: center; gap: 8px; margin: 10px 14px 0; padding: 9px 12px; border-radius: 10px; background: #f5f3ff; border: 1px solid #ddd6fe; }
.mft-edb-t { flex: 1; font-size: 13px; color: #6d28d9; font-weight: 600; line-height: 1.4; }
.mft-edb-t b { font-size: 15px; }
.mft-esc-txt { margin-left: 6px; font-size: 11px; color: #6d28d9; font-weight: 600; }
.mft-stat-num.mft-stat-esc { color: #6d28d9; }
.mft-row.mft-esc { border-left: 3px solid #a78bfa; }
/* v3.247.0 已升级一键催办（已升级聚焦横幅按钮） */
.mft-edb-act { margin-left: 4px; color: #6d28d9; border-color: #c4b5fd; background: #fff; }
.mft-edb-act:active { background: #ede9fe; }
/* v3.247.0 已升级聚焦退出「查看全部」（消息中心聚合卡直达后恢复完整列表） */
.mft-edb-exit { margin-left: 4px; color: #0369a1; border-color: #7dd3fc; background: #fff; }
.mft-edb-exit:active { background: #e0f2fe; }

/* v3.247.0 已升级一键顺延全部（已升级聚焦横幅按钮，橙色系区分催办） */
.mft-edb-rsct { margin-left: 4px; color: #b45309; border-color: #fcd34d; background: #fff; }
.mft-edb-rsct:active { background: #fef3c7; }
/* v3.247.0 已升级一键完成全部（已升级聚焦横幅按钮，绿色系区分顺延/催办） */
.mft-edb-done { margin-left: 4px; color: #15803d; border-color: #86efac; background: #fff; }
.mft-edb-done:active { background: #dcfce7; }
/* v3.247.0 SLA 色带：任务列表按超期天数分级（1-3 天琥珀 / 4-7 天橙 / 8+ 天深红），纯 CSS 零端点 */
.mft-row.sla-s1 { border-left: 4px solid #f59e0b; }
.mft-row.sla-s2 { border-left: 4px solid #f97316; background: #fff7ed; }
.mft-row.sla-s3 { border-left: 4px solid #dc2626; background: #fef2f2; }
/* ===== v3.273.0 新人引导任务卡（首页嵌入式，非阻断；品牌色系 design-tokens） ===== */
.ob-card {
  background: linear-gradient(135deg, #1E3A5F 0%, #2d5a8e 60%, #4a6fa5 100%);
  border-radius: 14px; padding: 14px 14px 10px; color: #fff;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
}
.ob-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ob-title { font-size: 15px; font-weight: 700; letter-spacing: 0.3px; }
.ob-reward {
  font-size: 11px; font-weight: 600; color: #fbbf24;
  background: rgba(251, 191, 36, 0.15); border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 2px 8px; border-radius: 999px;
}
.ob-close { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.75); padding: 2px 6px; }
.ob-close:active { color: #fff; }
.ob-steps { display: flex; flex-direction: column; gap: 8px; }
.ob-step {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 10px 12px; backdrop-filter: blur(4px);
  transition: transform 0.12s ease, background 0.12s ease;
}
.ob-step:active { transform: scale(0.98); background: rgba(255,255,255,0.18); }
.ob-step-idx {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.22);
}
.ob-step-done .ob-step-idx { background: #22c55e; }
.ob-step-main { flex: 1; min-width: 0; }
.ob-step-t { font-size: 13.5px; font-weight: 600; }
.ob-step-done .ob-step-t { color: rgba(255,255,255,0.65); text-decoration: line-through; }
.ob-step-h { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 1px; }
.ob-step-r { flex: none; font-size: 12px; font-weight: 700; color: #fbbf24; }
.ob-step-done .ob-step-r { color: rgba(255,255,255,0.55); font-weight: 500; }
.ob-done { text-align: left; }
.ob-sub { font-size: 12.5px; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
/* 最小化迷你条 */
.ob-mini {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #1E3A5F, #3867D6);
  border-radius: 999px; padding: 8px 14px; color: #fff;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.25);
}
.ob-mini:active { opacity: 0.9; }
.ob-mini-ic { font-size: 15px; }
.ob-mini-t { flex: 1; font-size: 12.5px; font-weight: 600; }
.ob-mini-arrow { font-size: 11.5px; color: rgba(255,255,255,0.8); }

/* ===== v3.275.0 今日推荐人脉卡（daily-picks + AI 理由） ===== */
.dp-card {
  background: #fff; border: 1px solid rgba(30,58,95,0.10);
  border-radius: 14px; padding: 12px 12px 8px;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.08);
}
.dp-head { display: flex; align-items: center; margin-bottom: 8px; }
.dp-title { font-size: 14.5px; font-weight: 700; color: #1E3A5F; letter-spacing: 0.2px; }
.dp-close { margin-left: auto; font-size: 12px; color: #94a3b8; padding: 2px 6px; }
.dp-close:active { color: #475569; }
.dp-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 6px; border-top: 1px solid rgba(30,58,95,0.06);
  transition: background 0.12s ease;
}
.dp-row:first-of-type { border-top: none; }
.dp-row:active { background: rgba(30,58,95,0.05); }
.dp-avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E3A5F, #3867D6);
  color: #fff; font-size: 16px; font-weight: 700;
}
.dp-main { flex: 1; min-width: 0; }
.dp-t { font-size: 13.5px; font-weight: 600; color: #1E293B; display: flex; align-items: center; gap: 6px; }
.dp-badge {
  flex: none; font-size: 10px; font-weight: 600; color: #059669;
  background: rgba(5,150,105,0.10); border: 1px solid rgba(5,150,105,0.25);
  padding: 1px 6px; border-radius: 999px;
}
.dp-h { font-size: 11.5px; color: #64748b; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-why { font-size: 12px; color: #1E3A5F; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.dp-ai-tag {
  flex: none; font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #3867D6, #AFA9EC);
  padding: 1px 6px; border-radius: 999px; letter-spacing: 0.5px;
}
.dp-go { flex: none; font-size: 16px; color: #cbd5e1; }
/* v3.295.0 P1-6：无匹配 / 加载失败时的可见引导（不再整卡消失） */
.dp-empty { padding: 10px 4px 6px; font-size: 12px; color: #64748b; line-height: 1.7; }
.dp-empty-go { display: inline-block; margin-left: 8px; color: #3867D6; font-weight: 600; cursor: pointer; }

/* ========== v3.281.0 APP 素材库（pages-assets.js） ========== */
.as-wrap { padding: 12px 14px calc(24px + env(safe-area-inset-bottom, 0px)); }
.as-nav-refresh { font-size: 13px; color: #fff; opacity: 0.9; }

.as-hero {
  background: linear-gradient(135deg, var(--primary), #3867D6);
  border-radius: 18px; padding: 18px 16px; color: #fff;
  box-shadow: 0 8px 22px rgba(30, 58, 95, 0.22); margin-bottom: 14px;
}
.as-hero-title { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; }
.as-hero-sub { font-size: 12px; opacity: 0.88; margin-top: 4px; line-height: 1.6; }
.as-hero-stats { display: flex; gap: 8px; margin-top: 14px; }
.as-hero-cell {
  flex: 1; background: rgba(255, 255, 255, 0.14); border-radius: 12px;
  padding: 8px 6px; text-align: center;
}
.as-hero-cell b { display: block; font-size: 18px; font-weight: 700; line-height: 1.2; }
.as-hero-cell span { font-size: 10.5px; opacity: 0.85; }

/* v3.281.1 关键词搜索 */
.as-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: 12px; padding: 8px 10px; margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.as-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.as-search-ico { font-size: 13px; opacity: 0.55; line-height: 1; }
.as-search-input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 13.5px; color: var(--text); font-family: inherit;
  -webkit-appearance: none; appearance: none;
}
.as-search-input:focus, .as-search-input:focus-visible { outline: none; border: 0; box-shadow: none; }
.as-search-input::placeholder { color: var(--text-light); }
.as-search-input::-webkit-search-cancel-button { display: none; }
.as-search-clear {
  display: none; flex: none; width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 50%; font-size: 11px;
  color: var(--text-light); background: var(--surface-2);
}
.as-search-clear.on { display: block; }

.as-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.as-tabs::-webkit-scrollbar { display: none; }
.as-tab {
  flex: none; font-size: 12.5px; color: var(--text-secondary);
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: 999px; padding: 6px 12px; white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.as-tab.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
/* v3.282.2：「常用」筛选档（金色，和场景档一眼分开） */
.as-tab.as-tab-hot { color: #B45309; border-color: rgba(217, 119, 6, 0.32); }
.as-tab.as-tab-hot.on { background: linear-gradient(135deg, #F59E0B, #D97706); border-color: transparent; color: #fff; }
/* v3.282.8：排序档（分段控件）—— 场景管「看哪一类」，排序管「怎么排」，视觉上分两层 */
.as-sort { display: flex; align-items: center; gap: 8px; margin: -6px 0 12px; }
.as-sort-label { flex: none; font-size: 11.5px; color: var(--text-light); }
.as-sort-seg {
  display: flex; flex: none; padding: 2px;
  background: var(--surface-2); border: 1px solid var(--divider); border-radius: 999px;
}
.as-sort-btn {
  font-size: 11.5px; line-height: 1; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; color: var(--text-secondary);
}
.as-sort-btn.on {
  background: var(--card-bg); color: var(--text); font-weight: 600;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
}
.as-sort-tip { margin-left: auto; font-size: 11px; color: var(--text-light); white-space: nowrap; }
/* v3.282.9：常用置顶开关 —— 关着是灰色描边，开着是金色描边（与「常用」角标同色系，一眼知道它管的是常用） */
.as-pin {
  flex: none; margin-left: auto; white-space: nowrap;
  font-size: 11.5px; line-height: 1; padding: 6px 10px;
  border-radius: 999px; color: var(--text-secondary);
  border: 1px solid var(--divider); background: var(--surface-2);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.as-pin.on {
  color: #B45309; font-weight: 700;
  border-color: rgba(217, 119, 6, 0.42);
  background: rgba(245, 158, 11, 0.12);
}
/* v3.282.11：重置视图偏好 —— 只在偏离默认时出现；虚线描边弱化，不跟「常用置顶」抢注意力 */
.as-reset {
  flex: none; white-space: nowrap;
  font-size: 11.5px; line-height: 1; padding: 6px 10px;
  border-radius: 999px; color: var(--text-light);
  border: 1px dashed var(--divider); background: transparent;
  transition: color 0.16s, border-color 0.16s;
}
.as-reset:active { color: var(--text); border-color: var(--text-light); }
.as-tab-n { font-size: 10.5px; opacity: 0.75; }

.as-list { display: flex; flex-direction: column; gap: 12px; }
.as-card {
  background: var(--card-bg); border-radius: 16px; padding: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06); border: 1px solid var(--divider);
}
.as-card-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.as-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.as-b-all { background: var(--primary-soft); color: var(--primary); }
.as-b-mkt { background: rgba(46, 196, 182, 0.14); color: #0F8C82; }
.as-b-festival { background: var(--danger-soft); color: var(--danger-ink); }
.as-b-term { background: var(--success-soft); color: var(--success-ink); }
.as-b-birthday { background: var(--warning-soft); color: var(--warning-ink); }
.as-b-horoscope { background: var(--info-soft); color: var(--info-ink); }
.as-time { font-size: 11px; color: var(--text-light); }

.as-thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); margin-bottom: 10px; }
.as-img { display: block; width: 100%; max-height: 52vh; object-fit: cover; }
.as-thumb-tip {
  position: absolute; right: 8px; bottom: 8px;
  font-size: 10.5px; color: #fff; background: rgba(16, 24, 40, 0.55);
  padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(4px);
}

.as-text {
  font-size: 13.5px; color: var(--text); line-height: 1.75; white-space: pre-wrap;
  word-break: break-word; background: var(--surface-2); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 10px;
}

.as-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.as-btn {
  flex: 1 1 auto; font-size: 13px; font-weight: 600; padding: 9px 4px;
  border-radius: 10px; background: var(--surface-2); color: var(--text-secondary);
  border: 1px solid var(--divider); white-space: nowrap;
}
.as-btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.as-btn-primary:active { background: var(--primary-dark); }
.as-btn-danger { flex: none; padding-left: 14px; padding-right: 14px; color: var(--danger); border-color: rgba(240, 68, 56, 0.3); background: rgba(240, 68, 56, 0.06); }

.as-foot { margin-top: 14px; text-align: center; }
.as-more-btn {
  width: 100%; font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--card-bg); border: 1px dashed var(--border);
  border-radius: 12px; padding: 10px 0;
}
.as-foot-tip { font-size: 11.5px; color: var(--text-light); }

.as-loading { text-align: center; padding: 40px 0; }
.as-empty { text-align: center; padding: 44px 20px; }
.as-empty-icon { font-size: 26px; color: var(--surface-3); }
.as-empty-title { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-top: 8px; }
.as-empty-desc { font-size: 12px; color: var(--text-light); margin-top: 6px; line-height: 1.7; }
.as-empty .as-more-btn { margin-top: 14px; }

/* 大图预览：移动端长按保存到相册 */
.as-viewer {
  position: fixed; inset: 0; z-index: 9999; background: rgba(8, 12, 20, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 12px;
}
.as-viewer-img { max-width: 100%; max-height: 82vh; border-radius: 10px; object-fit: contain; }
.as-viewer-tip { color: rgba(255, 255, 255, 0.78); font-size: 12px; margin-top: 14px; text-align: center; }

/* 多尺寸选择：底部弹层（点遮罩关闭，点面板照常触发 data-call） */
.as-sheet-mask { position: fixed; inset: 0; z-index: 9998; display: flex; flex-direction: column; justify-content: flex-end; }
.as-sheet-bg { position: absolute; inset: 0; background: rgba(8, 12, 20, 0.5); }
.as-sheet {
  position: relative; background: var(--card-bg);
  border-radius: 18px 18px 0 0; padding: 6px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(16, 24, 40, 0.18);
  animation: as-sheet-up 0.18s ease-out;
}
@keyframes as-sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.as-sheet-hd {
  display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700;
  color: var(--text); padding: 10px 6px 8px;
}
.as-sheet-hd-tip { font-size: 11.5px; font-weight: 400; color: var(--text-light); }
.as-sheet-item {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 6px; border-top: 1px solid var(--divider);
}
.as-sheet-item:active { background: var(--surface-2); }
.as-sheet-name { font-size: 14px; font-weight: 600; color: var(--text); }
.as-sheet-desc { font-size: 11.5px; color: var(--text-light); }
.as-sheet-cancel {
  margin-top: 8px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); padding: 11px 0; border-radius: 12px;
  background: var(--surface-2);
}

/* 复制兜底用的离屏 textarea（CSP 不允许内联 style，故收类） */
.as-copy-sink { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* ===== v3.282.0 批量操作 / 搜索高亮 / 最近用过 ===== */

/* 导航右侧「管理 / 完成」 */
.as-nav-act {
  font-size: 13px; color: #fff; opacity: 0.92; margin-right: 12px;
  padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
}
.as-nav-act:active { background: rgba(255, 255, 255, 0.28); }

/* 卡片头部右侧：时间 + 勾选圈 */
.as-hd-right { display: flex; align-items: center; gap: 8px; }
/* v3.282.1：「常用」角标（取用 ≥3 次）—— 金色渐变，与场景徽章一眼区分 */
.as-hd-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.as-hot {
  flex: none; font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: 0.3px;
  padding: 3px 7px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.28);
}
/* v3.282.6：手标角标 —— 薄荷描边空心，与金色实心的「真王牌」一眼分开
   （销售看角标就知道这条是市场验证出来的，还是线下谈了先手动标上的） */
.as-hot.as-hot-manual {
  color: #0F8C82;
  background: rgba(46, 196, 182, 0.12);
  box-shadow: inset 0 0 0 1px rgba(15, 140, 130, 0.38);
}
/* v3.282.7：角标内的真实取用次数（3 次是门槛，27 次是王牌 —— 含金量看得见） */
.as-hot-n {
  font-style: normal; font-variant-numeric: tabular-nums;
  margin-left: 5px; padding-left: 5px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 9.5px; font-weight: 800; letter-spacing: 0;
}
.as-time.used { color: var(--primary); font-weight: 600; }
.as-chk {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--surface-3); background: var(--card-bg);
  position: relative; transition: background 0.15s, border-color 0.15s;
}
.as-chk.on { background: var(--primary); border-color: var(--primary); }
.as-chk.on::after {
  content: ''; position: absolute; left: 6px; top: 2.5px;
  width: 5px; height: 10px; border: 2px solid #fff; border-top: 0; border-left: 0;
  transform: rotate(42deg);
}
.as-card.sel { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }

/* 搜索命中高亮（长文案里一眼看到搜的词） */
.as-text .as-hl { background: rgba(250, 204, 21, 0.45); color: inherit; padding: 0 1px; border-radius: 2px; }

/* 底部批量操作条（进入管理模式才出现） */
.as-batch { display: none; }
.as-batch.on {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--card-bg); border-top: 1px solid var(--divider);
  box-shadow: 0 -6px 20px rgba(8, 12, 20, 0.12);
}
.as-batch-in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; row-gap: 8px; }
.as-batch-all {
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 0;
}
.as-batch-n { font-size: 12px; color: var(--text-light); margin-right: auto; }
.as-batch-btn {
  font-size: 12.5px; font-weight: 600; color: var(--text); background: var(--card-bg);
  border: 1px solid var(--surface-3); border-radius: 10px; padding: 8px 12px;
}
.as-batch-btn:active { background: var(--surface-2); }
.as-batch-del { color: var(--danger); border-color: rgba(240, 68, 56, 0.32); background: rgba(240, 68, 56, 0.06); }

/* 管理模式下给内容留出底栏高度，最后一张卡不被盖住（v3.282.4：按钮可能换行成两排） */
body.as-selmode .as-wrap { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }

/* ========== v3.288.0 APP 素材热度（pages-asset-heat.js，销售视角） ========== */
/* 素材库 hero 里的热度入口：贴在三格统计下方，与统计同色系但更轻 */
.as-hero-link {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.12); font-size: 11.5px; line-height: 1.4;
}
.as-hero-link span:first-child { flex: 1; min-width: 0; opacity: 0.95; }
.as-hero-link-go { flex: none; font-size: 14px; opacity: 0.9; }

.ah-wrap { padding: 12px 14px calc(24px + env(safe-area-inset-bottom, 0px)); }

/* 顶部指标卡：深蓝渐变 + 分段控件，与素材库 hero 同一视觉语言但更「数据感」 */
.ah-hero {
  background: linear-gradient(135deg, #1E3A5F, #3867D6);
  border-radius: 18px; padding: 18px 16px 14px; color: #fff;
  box-shadow: 0 8px 22px rgba(30, 58, 95, 0.22); margin-bottom: 14px;
}
.ah-hero-title { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; }
.ah-hero-sub { font-size: 11.5px; opacity: 0.86; margin-top: 5px; line-height: 1.6; }
.ah-hero-stats { display: flex; gap: 8px; margin-top: 14px; }
.ah-hero-cell {
  flex: 1; background: rgba(255, 255, 255, 0.14); border-radius: 12px;
  padding: 9px 6px; text-align: center;
}
.ah-hero-cell b { display: block; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: 0.2px; }
.ah-hero-cell span { font-size: 10.5px; opacity: 0.85; }
.ah-seg {
  display: flex; gap: 4px; margin-top: 12px; padding: 3px;
  background: rgba(255, 255, 255, 0.13); border-radius: 999px;
}
.ah-seg-btn {
  flex: 1; text-align: center; font-size: 11.5px; line-height: 1;
  padding: 7px 4px; border-radius: 999px; color: rgba(255, 255, 255, 0.82);
}
.ah-seg-btn.on { background: #fff; color: #1E3A5F; font-weight: 700; }

.ah-card {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: 16px; padding: 14px 14px 10px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}
.ah-card-warn { border-color: rgba(217, 119, 6, 0.28); }
.ah-card-hd { display: flex; align-items: baseline; gap: 8px; }
.ah-card-title { flex: 1; font-size: 14px; font-weight: 700; color: var(--text); }
.ah-card-n { flex: none; font-size: 11px; color: var(--text-light); }
.ah-card-n.ah-card-ok { color: #0E9F6E; font-weight: 700; }
.ah-card-tip { font-size: 11.5px; color: var(--text-light); line-height: 1.6; margin: 5px 0 8px; }
.ah-blank { font-size: 12px; color: var(--text-light); padding: 10px 0 4px; line-height: 1.6; }

/* 素材行：序号 → 文案 → 动作，一眼能扫完 */
.ah-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0; border-top: 1px solid var(--divider);
}
.ah-item:active { background: var(--surface-2); }
.ah-n {
  flex: none; width: 20px; height: 20px; line-height: 20px; text-align: center;
  font-size: 11px; font-weight: 700; color: var(--text-light);
  background: var(--surface-2); border-radius: 6px;
}
/* 第一条紧接说明文字，给个金标 —— 用相邻选择器，避免 first-of-type 被前面的说明 div 吃掉 */
.ah-card-tip + .ah-item .ah-n { color: #fff; background: linear-gradient(135deg, #F59E0B, #D97706); }
.ah-item-main { flex: 1; min-width: 0; }
.ah-txt {
  font-size: 12.5px; color: var(--text); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ah-txt-dim { color: var(--text-light); }
.ah-meta { font-size: 10.5px; color: var(--text-light); margin-top: 3px; }
.ah-dot { margin: 0 4px; opacity: 0.6; }
.ah-tag {
  display: inline-block; padding: 0 5px; border-radius: 4px;
  background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 600;
}
.ah-go {
  flex: none; font-size: 11.5px; font-weight: 600; color: var(--primary);
  padding: 5px 9px; border-radius: 999px; background: var(--primary-soft);
}

/* 近 8 周柱状：纯 CSS，不引图表库（移动端首屏别为了一张图多拉 300KB） */
.ah-bars { display: flex; align-items: flex-end; gap: 6px; height: 118px; padding: 6px 0 0; }
.ah-bar-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; height: 100%; }
.ah-bar-v { font-size: 9.5px; color: var(--text-light); line-height: 1.2; height: 12px; }
.ah-bar {
  width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #7AA2F7, #3867D6); min-height: 3px;
  margin-top: auto; transition: height 0.25s ease;
}
.ah-bar.on { background: linear-gradient(180deg, #34D3C4, #0E9F6E); }
.ah-bar-l { font-size: 9px; color: var(--text-light); margin-top: 4px; white-space: nowrap; }

/* 场景分布横条 */
.ah-mix-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.ah-mix-name { flex: none; width: 54px; font-size: 11.5px; color: var(--text-secondary); }
.ah-mix-bar { flex: 1; height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ah-mix-fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #34D3C4, #3867D6);
}
.ah-mix-n { flex: none; width: 28px; text-align: right; font-size: 11px; color: var(--text-light); }

/* 底部行动按钮 / 空态 */
.ah-cta {
  display: block; width: 100%; margin: 4px 0 8px; padding: 12px;
  border: 0; border-radius: 14px; font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--primary), #3867D6);
  box-shadow: 0 6px 16px rgba(56, 103, 214, 0.24);
}
.ah-cta:active { opacity: 0.9; }
.ah-empty { text-align: center; padding: 40px 20px; }
.ah-empty-icon { font-size: 30px; color: var(--text-light); opacity: 0.5; }
.ah-empty-title { font-size: 14.5px; font-weight: 700; color: var(--text); margin-top: 10px; }
.ah-empty-desc { font-size: 12px; color: var(--text-light); line-height: 1.7; margin: 6px 0 14px; }
.ah-loading { text-align: center; padding: 40px 0; }

/* ========== P1-3 首页聚合卡：统一骨架屏 + 失败轻提示 ========== */
.home-skeleton { padding: 12px 16px; }
.home-skeleton-block {
  height: 56px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 37%, #eef1f6 63%);
  background-size: 400% 100%;
  animation: home-skeleton-shine 1.4s ease infinite;
}
@keyframes home-skeleton-shine {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.home-partial-fail {
  margin: 0 16px 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a6700;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
}
.home-partial-fail:active { opacity: .8; }

/* ========== v3.358.0 首页聚合卡上限闸门 ========== */
/* 卡片加载器用 inline display 控制显隐，故折叠必须 !important 才能压过 inline；
   不改元素自身 style.display，避免误伤依赖该字段的真浏览器守卫。 */
#home-cards [data-home-collapsed] { display: none !important; }
.home-cards-more { padding: 0 16px 12px; }
.home-cards-more-btn {
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px dashed var(--border);
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
}
.home-cards-more-btn:active { opacity: .8; }

/* ========== v3.358.0 登录页忘记密码指引 ========== */
.login-help-link { color: var(--primary); cursor: pointer; }
.login-hint-sub { margin-top: 6px; opacity: .85; }
.fh-card { padding: 4px 2px; }
.fh-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.fh-step b {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}
.fh-account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0; font-size: 13px; }
.fh-account-label { color: var(--text-light); }
.fh-account-value { font-weight: 600; color: var(--text); }
.fh-copy { margin-left: auto; color: var(--primary); cursor: pointer; }

/* ========== Toast 类型色（P1-13 收尾 · data-kind 红/绿/黄/蓝区分，纯叠加不改形状/位置） ========== */
.toast[data-kind="success"] { box-shadow: inset 4px 0 0 #22c55e; background: rgba(20, 83, 45, 0.94); }
.toast[data-kind="error"]   { box-shadow: inset 4px 0 0 #ef4444; background: rgba(127, 29, 29, 0.94); }
.toast[data-kind="warn"]    { box-shadow: inset 4px 0 0 #f59e0b; background: rgba(120, 53, 15, 0.94); }
.toast[data-kind="info"]    { box-shadow: inset 4px 0 0 #3b82f6; background: rgba(30, 64, 124, 0.94); }

/* ========== v3.363.0 对外空间内部发布管理页（.sp- 前缀，复用 design-tokens） ========== */
.sp-page { padding-bottom: 24px; }
.sp-loading { padding: 40px 0; text-align: center; color: var(--text-light); font-size: 14px; }

.sp-share-card { margin-bottom: 14px; }
.sp-share-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sp-dot-on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
.sp-dot-off { background: #94a3b8; }
.sp-quota { margin-left: auto; font-size: 12px; color: var(--text-light); font-weight: 500; }
.sp-quota-full { color: #ef4444; font-weight: 700; }
.sp-link-row { display: flex; gap: 8px; margin: 12px 0; }
.sp-link-input { flex: 1; min-width: 0; font-size: 12px; color: var(--text-light); }
.sp-copy-btn { flex: none; }
.sp-desc { font-size: 12px; line-height: 1.6; color: var(--text-light); margin: 4px 0 12px; }
.sp-block-btn { width: 100%; }

.sp-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.sp-action-btn { flex: 1; }
.sp-action-btn:disabled, .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sp-tip { font-size: 12px; color: #b45309; background: #fef3c7; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; line-height: 1.5; }

.sp-section-title { font-size: 14px; font-weight: 700; color: var(--text); margin: 18px 2px 10px; }
.sp-mini-empty { padding: 24px 0; }
.sp-mini-empty p { font-size: 13px; color: var(--text-light); }

.sp-item { margin-bottom: 12px; }
.sp-item-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sp-del { margin-left: auto; font-size: 12px; color: #ef4444; cursor: pointer; flex: none; }
.sp-item-content {
  font-size: 13px; line-height: 1.6; color: var(--text);
  margin: 8px 0; white-space: pre-wrap; word-break: break-word;
}
.sp-thumb-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.sp-thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--surface-3); }
.sp-time { font-size: 11px; color: var(--text-light); margin-top: 6px; }

.sp-album-meta { font-size: 12px; color: var(--text-light); margin: 8px 0; }
.sp-photo-grid, .sp-thumb-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px;
}
.sp-photo-cell { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.sp-photo-cell img { width: 100%; height: 100%; object-fit: cover; }
.sp-photo-del {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(15, 23, 42, 0.62); color: #fff;
  font-size: 14px; line-height: 20px; text-align: center; cursor: pointer;
}
.sp-form-card { width: 100%; max-width: 340px; }
.sp-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

/* 留言审核（v3.364.0） */
.sp-comment-item { margin-bottom: 12px; padding: 13px 14px; }
.sp-cm-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sp-cm-status { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.sp-cm-status.pending { background: #fef3c7; color: #b45309; }
.sp-cm-status.approved { background: #dcfce7; color: #15803d; }
.sp-cm-status.rejected { background: #fee2e2; color: #b91c1c; }
.sp-cm-target {
  margin-left: auto; font-size: 11px; color: var(--text-light);
  background: var(--surface-3); border-radius: 6px; padding: 2px 8px;
}
.sp-cm-content { font-size: 13px; color: var(--text); line-height: 1.6; margin-top: 8px; word-break: break-word; }
.sp-cm-meta { font-size: 11px; color: var(--text-light); margin-top: 6px; }
.sp-cm-ops { display: flex; gap: 8px; margin-top: 10px; }
.sp-cm-btn { padding: 6px 16px; font-size: 13px; }

/* ========== v3.365.0 数据看板（.sp-stats，复用 design-tokens） ========== */
.sp-stats { padding: 14px; margin-bottom: 14px; }
.sp-stats-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.sp-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-stat-cell { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 4px; text-align: center; }
.sp-stat-num { font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.sp-stat-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.sp-stat-sub { font-size: 11px; color: var(--text-light); margin-top: 10px; line-height: 1.6; }

.sp-trend-head { font-size: 13px; font-weight: 700; color: var(--text); margin: 16px 0 8px; }
.sp-trend { display: flex; align-items: flex-end; gap: 6px; height: 128px; }
.sp-trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.sp-trend-val { font-size: 10px; color: var(--text-light); margin-bottom: 3px; }
.sp-trend-bar { width: 70%; max-width: 22px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--chart-bar); }
.sp-trend-day { font-size: 10px; color: var(--text-light); margin-top: 4px; }

.sp-visitors { display: flex; flex-direction: column; }
.sp-visitor-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--divider); }
.sp-visitor-row:last-child { border-bottom: none; }
.sp-visitor-badge { flex: none; font-size: 10px; font-weight: 700; border-radius: var(--radius-full); padding: 2px 7px; background: var(--surface-3); color: var(--text-light); }
.sp-visitor-badge.is-new { background: var(--accent-soft); color: var(--success-ink); }
.sp-visitor-ip { font-size: 12px; color: var(--text-secondary); }
.sp-visitor-time { margin-left: auto; font-size: 11px; color: var(--text-light); flex: none; }
.sp-visitors-empty { font-size: 12px; color: var(--text-light); padding: 4px 0 8px; }
