/* 销售辅助工具 — 手机优先样式 */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #f0f0ec;
  --ink: #16181a;
  --ink-2: #5a5e63;
  --ink-3: #94999f;
  --line: #e2e2dc;
  --primary: #256abf;
  --primary-dark: #1c5cab;
  --primary-soft: #e7f0fb;
  --orange: #eb6834;
  --orange-soft: #fdeee6;
  --aqua: #1baf7a;
  --aqua-soft: #e2f6ee;
  --yellow: #eda100;
  --yellow-soft: #fdf3dd;
  --red: #d03b3b;
  --red-soft: #fbe7e7;
  --green: #008300;
  --violet: #4a3aa7;
  --violet-soft: #e9e7f8;
  --magenta: #e87ba4;
  --magenta-soft: #fcecf2;
  --shadow: 0 1px 3px rgba(15, 23, 32, 0.08), 0 1px 2px rgba(15, 23, 32, 0.05);
  --shadow-pop: 0 6px 24px rgba(15, 23, 32, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 56px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
#app { max-width: 720px; margin: 0 auto; min-height: 100vh; }
button { font-family: inherit; font-size: 1rem; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
a { color: var(--primary); text-decoration: none; }

/* ---------- 页面头 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: calc(var(--safe-top) + 10px) 16px 10px;
  background: rgba(246, 246, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 1.05rem; font-weight: 650; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sub { font-size: 0.78rem; color: var(--ink-3); font-weight: 400; margin-top: 1px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--ink); flex: none;
}
.icon-btn:active { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.btn-back { font-size: 1.3rem; line-height: 1; padding-bottom: 2px; }
.menu-icon { width: 24px; height: 24px; }
.menu-icon circle { fill: var(--ink); }
.menu-icon line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ---------- 登录页 ---------- */
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 28px; }
.login-logo { text-align: center; }
.login-logo .badge { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.login-logo .name { font-size: 1.05rem; color: var(--ink-2); margin-top: 6px; }
.demo-members { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.demo-member {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); width: 100%; text-align: left;
}
.demo-member:active { transform: scale(0.985); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #fff;
}
.role-chip {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 999px; font-weight: 500; flex: none;
}
.role-chip.super_admin { background: var(--violet-soft); color: var(--violet); }
.role-chip.admin { background: var(--primary-soft); color: var(--primary); }
.role-chip.sales { background: var(--aqua-soft); color: var(--aqua); }
.role-chip.admin-sales { background: var(--orange-soft); color: var(--orange); }
.wecom-btn {
  background: var(--primary); color: #fff; width: 100%; max-width: 420px;
  padding: 13px; border-radius: 10px; font-weight: 600; text-align: center;
}
.wecom-btn:active { background: var(--primary-dark); }
.login-hint { font-size: 0.78rem; color: var(--ink-3); text-align: center; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 720px; z-index: 40;
  display: flex; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-bottom);
  height: calc(var(--nav-h) + var(--safe-bottom));
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-3); font-size: 0.7rem; }
.tab-item svg { width: 23px; height: 23px; }
.tab-item.active { color: var(--primary); }
.tab-item.active svg { stroke: var(--primary); fill: var(--primary); }
.tab-item.extra svg { stroke: none; }
.tab-bar-toolbar { height: calc(var(--nav-h) + var(--safe-bottom)); }

/* ---------- 页面容器 ---------- */
.page { padding: 14px 14px 24px; animation: fadein 0.18s ease; }
@keyframes fadein { from { opacity: 0.5; } }
.page-full { padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 24px); }

/* ---------- 卡片 ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.card-pad { padding: 14px; }
.card-title { font-size: 0.86rem; font-weight: 650; color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-title .more { margin-left: auto; font-size: 0.78rem; color: var(--primary); }

/* ---------- 指标卡片 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 11px 12px; text-align: left;
}
.stat .value { font-size: 1.32rem; font-weight: 750; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stat .label { font-size: 0.74rem; color: var(--ink-3); margin-top: 2px; }
.stat .value small { font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.stat:active { transform: scale(0.98); }

/* ---------- 筛选条 ---------- */
.filter-row { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none; font-size: 0.82rem; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap;
}
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 550; }

/* ---------- 搜索 ---------- */
.search-box { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.search-box svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.search-box input { border: none; outline: none; background: none; flex: 1; min-width: 0; }

/* ---------- 客户列表 ---------- */
.cust-item { display: block; padding: 12px 14px; }
.cust-item + .cust-item { border-top: 1px solid var(--line); }
.cust-item .row { display: flex; align-items: center; gap: 8px; }
.cust-item .name { font-weight: 650; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust-item .time { font-size: 0.75rem; color: var(--ink-3); margin-left: auto; flex: none; white-space: nowrap; }
.cust-item .req { font-size: 0.84rem; color: var(--ink-2); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust-item .meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.cust-item .meta .tag { font-size: 0.72rem; color: var(--ink-3); background: var(--surface-2); padding: 2px 7px; border-radius: 6px; }
.cust-item .meta .src { font-size: 0.72rem; color: var(--ink-2); }
.act-btn {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem;
  padding: 5px 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.act-btn:active { background: var(--surface-2); }
.act-btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.act-btn.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.act-btn.success { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.act-btn.danger { background: var(--red-soft); border-color: #f1c9c9; color: var(--red); }
.act-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- 状态标签 ---------- */
.st-badge { font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; flex: none; }
.st-新客户 { background: var(--ink); color: #fff; }
.st-跟进中 { background: var(--primary-soft); color: var(--primary); }
.st-已添加微信 { background: var(--aqua-soft); color: var(--aqua); }
.st-已成交 { background: var(--yellow-soft); color: #a06c00; }
.st-无效 { background: var(--surface-2); color: var(--ink-3); }
.st-流失 { background: var(--red-soft); color: var(--red); }
.src-manual { background: var(--primary-soft); color: var(--primary); }
.src-grab { background: var(--orange-soft); color: var(--orange); }
.fuzzy-tag { color: var(--red); font-weight: 600; font-size: 0.72rem; }

/* ---------- 详情页 ---------- */
.detail-section { padding: 14px; }
.detail-section + .detail-section { border-top: 1px solid var(--line); }
.detail-title { font-size: 0.8rem; font-weight: 650; color: var(--ink-2); margin-bottom: 10px; }
.info-grid { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; font-size: 0.9rem; }
.info-grid dt { color: var(--ink-3); }
.info-grid dd { overflow-wrap: anywhere; }
.big-name { font-size: 1.25rem; font-weight: 750; }
.phone-line { font-size: 1.1rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.action-grid .act-btn { justify-content: center; padding: 11px 6px; border-radius: 10px; font-size: 0.88rem; }
.deal-card { background: var(--yellow-soft); border: 1px solid #f0dcae; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.deal-card .deal-amount { font-size: 1.25rem; font-weight: 800; color: #a06c00; font-variant-numeric: tabular-nums; }
.deal-card .deal-row { font-size: 0.85rem; color: #7a5c14; margin-top: 4px; }
.deal-card .deal-row span { margin-right: 12px; }

/* ---------- 跟进时间线 ---------- */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 16px; }
.tl-item::before {
  content: ''; position: absolute; left: -17px; top: 5px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--primary);
}
.tl-item.is-deal::before { border-color: var(--yellow); }
.tl-item:last-child { padding-bottom: 0; }
.tl-head { display: flex; align-items: baseline; gap: 8px; }
.tl-name { font-size: 0.82rem; font-weight: 600; }
.tl-time { font-size: 0.74rem; color: var(--ink-3); margin-left: auto; flex: none; }
.tl-content { font-size: 0.9rem; color: var(--ink); margin-top: 3px; white-space: pre-wrap; }
.tl-tags { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; }
.tl-tags .tag { font-size: 0.72rem; color: var(--ink-2); background: var(--surface-2); padding: 1px 7px; border-radius: 6px; }

/* ---------- 自然语言录入 ---------- */
.nl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.nl-input { width: 100%; border: none; outline: none; resize: vertical; padding: 14px; font-size: 1rem; min-height: 76px; line-height: 1.6; }
.nl-footer { display: flex; align-items: center; gap: 10px; padding: 8px 12px 12px; border-top: 1px solid var(--line); }
.nl-footer .btn { flex: 1; padding: 11px; border-radius: 10px; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:disabled { opacity: 0.5; }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-success { background: var(--aqua); color: #fff; }
.btn-danger-soft { background: var(--red-soft); color: var(--red); }
.example-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 12px; }
.example-chip { flex: none; font-size: 0.78rem; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.example-chip:active { background: var(--primary-soft); color: var(--primary); }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 12px; padding: 14px; }
.form-row { display: grid; gap: 5px; }
.form-row label { font-size: 0.8rem; color: var(--ink-2); font-weight: 550; }
.form-row input, .form-row textarea, .form-row select {
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; outline: none; background: var(--surface);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 106, 191, 0.12); }
.form-row .hint { font-size: 0.75rem; color: var(--ink-3); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fuzzy-warn { color: var(--red); font-size: 0.78rem; margin-top: 3px; }

/* ---------- 解析确认卡片 ---------- */
.confirm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.confirm-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.confirm-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); flex: none; }
.confirm-head .txt { font-size: 0.85rem; font-weight: 650; flex: 1; }
.confirm-fields { padding: 8px 14px; }
.cf-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.cf-row:last-child { border-bottom: none; }
.cf-label { width: 72px; flex: none; font-size: 0.8rem; color: var(--ink-3); }
.cf-value { flex: 1; font-size: 0.9rem; font-weight: 550; overflow-wrap: anywhere; }
.cf-edit {
  flex: 1; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px;
  font-size: 0.88rem; outline: none; background: var(--surface);
}
.cf-edit:focus { border-color: var(--primary); }
.cf-btn { flex: none; font-size: 0.76rem; color: var(--primary); padding: 4px 8px; }
.missing-hint { font-size: 0.74rem; color: var(--red); }
.confirm-foot { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.confirm-foot .btn { flex: 1; padding: 11px; border-radius: 10px; font-weight: 600; }

/* ---------- 抢单池 ---------- */
.pool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.pool-body { padding: 12px 14px 14px; }
.pool-top { display: flex; align-items: center; gap: 8px; }
.pool-top .name { font-weight: 650; font-size: 1rem; flex: 1; }
.pool-info { font-size: 0.78rem; color: var(--ink-3); margin-top: 4px; }
.pool-act { display: flex; gap: 8px; margin-top: 10px; }
.pool-act .grab-btn { flex: 1; padding: 10px; border-radius: 9px; font-weight: 600; background: var(--orange); color: #fff; }
.grab-btn:disabled { background: var(--line); color: var(--ink-3); }
.pool-head-warn {
  display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--orange);
  background: var(--orange-soft); border: 1px solid #f7dcbf; border-radius: 10px;
  padding: 9px 12px; margin-bottom: 12px;
}

/* ---------- 排行 ---------- */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.rank-row + .rank-row { border-top: 1px dashed var(--line); }
.rank-no { width: 22px; height: 22px; border-radius: 50%; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.rank-no.t1 { background: #ffd977; color: #7a5400; }
.rank-no.t2 { background: #e4e6e8; color: #52575c; }
.rank-no.t3 { background: #e8b98a; color: #7a4a17; }
.rank-name { font-weight: 600; flex: 1; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-nums { font-size: 0.78rem; color: var(--ink-3); flex: none; text-align: right; }
.rank-nums b { color: var(--ink); font-weight: 650; }

/* ---------- 成员管理 ---------- */
.member-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.member-row + .member-row { border-top: 1px solid var(--line); }
.member-info { flex: 1; min-width: 0; }
.member-name { font-weight: 600; font-size: 0.95rem; }
.member-dep { font-size: 0.74rem; color: var(--ink-3); }
.member-actions { display: flex; gap: 6px; }
.seg { display: flex; background: var(--surface-2); border-radius: 9px; overflow: hidden; }
.seg button { font-size: 0.78rem; padding: 6px 10px; }
.seg button.active { background: var(--primary); color: #fff; font-weight: 600; }

/* ---------- 开关 ---------- */
.switch { position: relative; width: 46px; height: 27px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: 0.2s; cursor: pointer; }
.slider::before { content: ''; position: absolute; width: 21px; height: 21px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::before { transform: translateX(19px); }

/* ---------- 设置 ---------- */
.setting-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.setting-row + .setting-row { border-top: 1px solid var(--line); }
.setting-label { flex: 1; }
.setting-label .t { font-size: 0.92rem; font-weight: 550; }
.setting-label .d { font-size: 0.76rem; color: var(--ink-3); margin-top: 2px; }
.setting-select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: var(--surface); font-size: 0.86rem; }

/* ---------- 导入 ---------- */
.drop-zone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 34px 20px;
  text-align: center; color: var(--ink-2); background: var(--surface); cursor: pointer; margin-bottom: 12px;
}
.drop-zone.active { border-color: var(--primary); background: var(--primary-soft); }
.drop-zone .big { font-size: 1rem; font-weight: 600; }
.drop-zone .small { font-size: 0.78rem; color: var(--ink-3); margin-top: 6px; }
.strategy-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.imp-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.imp-table th, .imp-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.imp-table th { color: var(--ink-3); font-weight: 550; white-space: nowrap; }
.dup-mark { color: var(--orange); font-size: 0.72rem; }
.bad-row { color: var(--red); }

/* ---------- 日志 ---------- */
.log-item { padding: 9px 14px; font-size: 0.82rem; }
.log-item + .log-item { border-top: 1px solid var(--line); }
.log-item .who { font-weight: 600; color: var(--ink-2); }
.log-item .when { font-size: 0.72rem; color: var(--ink-3); float: right; }

/* ---------- 弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 32, 0.45);
  display: flex; align-items: flex-end; justify-content: center; animation: fadein 0.15s;
}
.modal {
  background: var(--surface); width: 100%; max-width: 720px; max-height: 88vh;
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column;
  padding-bottom: var(--safe-bottom);
}
.modal-head { display: flex; align-items: center; padding: 15px 16px 10px; }
.modal-head h3 { font-size: 1rem; font-weight: 650; flex: 1; }
.modal-body { overflow-y: auto; padding: 4px 16px 12px; }
.modal-foot { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.modal-foot .btn { flex: 1; padding: 12px; border-radius: 10px; font-weight: 600; }

/* ---------- 成交卡 ---------- */
.deal-form { display: grid; gap: 12px; }
.deal-amount-input { font-size: 1.35rem; font-weight: 750; text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px);
  transform: translateX(-50%) translateY(20px); z-index: 200;
  background: rgba(22, 24, 26, 0.92); color: #fff; font-size: 0.85rem;
  padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 空态 & 加载 ---------- */
.empty { text-align: center; color: var(--ink-3); font-size: 0.86rem; padding: 48px 20px; }
.loading { text-align: center; color: var(--ink-3); font-size: 0.85rem; padding: 40px 20px; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 趋势图 ---------- */
.trend-wrap { padding: 6px 8px 10px; }
.chart-tooltip {
  position: fixed; z-index: 120; pointer-events: none;
  background: rgba(22, 24, 26, 0.94); color: #fff; border-radius: 9px;
  padding: 8px 11px; font-size: 0.78rem; max-width: 220px;
  box-shadow: var(--shadow-pop); opacity: 0; transition: opacity 0.12s;
}
.chart-tooltip .v { font-weight: 700; font-size: 0.9rem; }
.chart-tooltip .k { color: #c9ccd1; }

/* ---------- 桌面适配 ---------- */
@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(5, 1fr); }
  .action-grid { grid-template-columns: repeat(3, 1fr); }
  .login-logo .badge { font-size: 2.4rem; }
}
