/* TF助手 · 移动优先深色主题
   设计前提：B 机（合伙人执行机）单手竖屏作业，一通电话 10-30 分钟，
   屏幕要够亮、字要够大、拇指要够得着，录音绝不能因为切页而中断。 */

:root {
  --bg: #0a0e13;
  --surface: #141a22;
  --surface2: #1c242e;
  --surface3: #232d3a;
  --line: #2a3441;
  --line2: #39465580;

  --text: #e8eef6;
  --dim: #93a2b4;
  --dim2: #63748a;

  --accent: #f0a33c;
  --accent-d: #b8781d;
  --accent-soft: #f0a33c1f;

  --ok: #3cba90;
  --ok-soft: #3cba901a;
  --warn: #e8a33d;
  --danger: #e2503f;
  --danger-soft: #e2503f1f;
  --info: #4a9eda;

  --r: 12px;
  --r-lg: 18px;
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }

button { font-family: inherit; font-size: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

/* ================= 登录 ================= */
.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; padding: 24px 20px calc(24px + var(--sb));
  background: radial-gradient(120% 80% at 50% 0%, #16202b 0%, #0a0e13 62%);
  overflow-y: auto;
}
.login-wrap { width: 100%; max-width: 380px; }
.login-brand { text-align: center; margin-bottom: 26px; }
.login-logo {
  width: 62px; height: 62px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  /* 单字「T」结构简单，字号回到 30px 才与方块配平 */
  font-size: 30px; font-weight: 800; letter-spacing: 0;
  color: #1a1204;
  background: linear-gradient(150deg, #ffc76b, var(--accent) 55%, #c8811f);
  border-radius: 18px;
  box-shadow: 0 10px 28px -10px #f0a33c80;
}
.login-brand h1 { font-size: 21px; font-weight: 650; letter-spacing: 0.5px; }
.login-sub { margin-top: 6px; font-size: 12.5px; color: var(--dim2); }
.login-card {
  padding: 22px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 7px; font-size: 12.5px; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-d); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim2); }
.login-err {
  margin-bottom: 12px; padding: 9px 12px;
  background: var(--danger-soft); border: 1px solid #e2503f55;
  border-radius: 9px; color: #ffa396; font-size: 13px;
}
.btn-primary {
  width: 100%; padding: 13px; border-radius: 11px;
  background: linear-gradient(160deg, #ffc76b, var(--accent) 60%, #d68f2a);
  color: #1a1204; font-size: 16px; font-weight: 650; letter-spacing: 0.5px;
}
.btn-primary:disabled { opacity: .55; }
.login-tip { margin-top: 13px; text-align: center; font-size: 12px; color: var(--dim2); }
.login-foot { margin-top: 18px; text-align: center; font-size: 11.5px; color: #4a5666; }
/* 底部的「录音说明」是个链接，但默认链接蓝在深色底上很跳，
   压低成和旁边文字同色，只在悬停时提亮，保持整页安静。 */
.login-foot a { color: #5d6b7d; text-decoration: none; border-bottom: 1px solid #3a4654; }
.login-foot a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ================= 顶栏 ================= */
.topbar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: calc(var(--st) + 9px) 14px 9px;
  background: #0d131acc;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: relative; z-index: 20;
}
.tb-left { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.tb-left h1 {
  font-size: 16.5px; font-weight: 620; letter-spacing: .3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-btn {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px; font-size: 17px; color: var(--dim);
  background: var(--surface2);
}
.icon-btn:active { background: var(--surface3); }
.tb-right { display: flex; align-items: center; gap: 8px; }
.tb-user { font-size: 11.5px; color: var(--dim2); max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= 视图容器 ================= */
#views { flex: 1 1 auto; position: relative; overflow: hidden; }
/* 非激活视图必须彻底不渲染（display:none），不能用 opacity:0 藏。
   opacity 藏法有两个真问题：
   1) 过渡被打断时两个视图会叠在半透明中间态——实测抓到 view-detail 0.46
      叠在 view-call 0.54 上，详情页的文字变成「幽灵文字」浮在话术卡上；
   2) opacity:0 的元素仍在渲染树里，长列表照旧参与布局与合成，移动端白耗电。
   切视图是即时动作，0.16s 淡入没有信息价值，不值得为它承担上面两个代价。 */
.view {
  display: none;
  position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 12px 14px calc(20px + var(--sb));
}
.view.active { display: block; }
.view.no-pad { padding: 0; }

/* ================= 通用块 ================= */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px;
}
.sec-title {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 2px 9px; font-size: 12.5px; font-weight: 600;
  color: var(--dim); letter-spacing: .5px;
}
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-title:first-child { margin-top: 4px; }

.empty { padding: 54px 20px; text-align: center; color: var(--dim2); font-size: 13.5px; line-height: 2; }
.empty b { display: block; color: var(--dim); font-size: 15px; margin-bottom: 6px; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 16px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 550; color: var(--text);
}
.btn:active { background: var(--surface3); }
.btn.block { display: flex; width: 100%; }
.btn.accent { background: var(--accent-soft); border-color: #f0a33c55; color: #ffc76b; }
.btn.danger { background: var(--danger-soft); border-color: #e2503f55; color: #ff9c8c; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 7px 11px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .45; }

/* ================= 统计条 ================= */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.stat {
  padding: 10px 8px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
}
.stat b { display: block; font-size: 17px; font-weight: 680; letter-spacing: -.3px; }
.stat span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--dim2); }
.stat.hot b { color: var(--accent); }
.stat.good b { color: var(--ok); }

/* ================= 搜索 / 筛选 ================= */
.filter-bar { display: flex; gap: 8px; margin-bottom: 10px; }
.search-box {
  flex: 1; display: flex; align-items: center; gap: 7px;
  padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.search-box input { flex: 1; padding: 10px 0; background: none; border: 0; outline: none; }
.search-box span { color: var(--dim2); font-size: 14px; }
.chip-row { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; margin-bottom: 11px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--dim); white-space: nowrap;
}
.chip.on { background: var(--accent-soft); border-color: #f0a33c66; color: #ffc76b; font-weight: 600; }

/* 回收站条：只在有归档客户时出现（js 控制 hidden），平时不占地方 */
.trash-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 11px; padding: 8px 8px 8px 13px;
  background: var(--surface); border: 1px dashed var(--line); border-radius: 10px;
  font-size: 12.5px; color: var(--dim);
}
.trash-bar b { color: var(--accent); }
.trash-bar .btn { margin-left: auto; }

/* ================= 客户列表 ================= */
.cust-list { display: flex; flex-direction: column; gap: 9px; }
.cust-card {
  padding: 12px 13px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 13px;
  transition: border-color .15s, transform .1s;
}
.cust-card:active { transform: scale(.988); border-color: var(--line2); }
.cc-head { display: flex; align-items: baseline; gap: 7px; }
.cc-name { font-size: 16px; font-weight: 640; letter-spacing: .2px; }
.cc-bank {
  padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600;
  background: var(--surface3); color: var(--dim);
}
.cc-tail { font-size: 11.5px; color: var(--dim2); font-variant-numeric: tabular-nums; }
/* 一人多卡：每张卡一行小条，点哪张进哪张 */
.cc-cards { margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line); }
.cc-card-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px; margin: 0 -6px; border-radius: 8px;
  font-size: 12px; color: var(--dim2);
}
.cc-card-row:active { background: var(--surface3); }
.cc-card-row .spacer { flex: 1; }
.cc-card-row .badge { font-size: 10.5px; }
.cc-right { margin-left: auto; font-size: 12px; color: var(--dim2); text-align: right; }
.cc-row2 { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cc-row2 .spacer { flex: 1; }
.cc-note {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--dim2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 徽标 */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1.6;
  background: var(--surface3); color: var(--dim);
  white-space: nowrap;
}
.badge.s0 { background: #ffffff12; color: #a9b7c8; }
.badge.s1 { background: #4a9eda1f; color: #7cc0ec; }
.badge.s2 { background: #f0a33c1f; color: #ffc76b; }
.badge.s3 { background: #a97ee01f; color: #c3a2f5; }
.badge.s4 { background: #3cba901f; color: #63d6ae; }
.badge.s5 { background: #3cba9030; color: #4fe0b0; }
.badge.s6 { background: #ffffff0d; color: #5d6c7e; }
.badge.r-bad { background: var(--danger-soft); color: #ff9c8c; }
.badge.r-ok { background: var(--ok-soft); color: #63d6ae; }

/* ================= 客户详情 ================= */
.det-head {
  padding: 14px; margin-bottom: 12px;
  background: linear-gradient(165deg, #1d2733 0%, var(--surface) 60%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.det-name { font-size: 19px; font-weight: 680; letter-spacing: .3px; }
.det-sub { margin-top: 5px; font-size: 12.5px; color: var(--dim); }
.det-money {
  display: flex; align-items: flex-end; gap: 14px; margin-top: 13px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.det-money > div { flex: 1; }
.det-money b {
  display: block; font-size: 20px; font-weight: 700; letter-spacing: -.4px;
  font-variant-numeric: tabular-nums;
}
.det-money span { display: block; margin-top: 1px; font-size: 11px; color: var(--dim2); }
.det-money .accent b { color: var(--accent); }

.kv { display: flex; flex-direction: column; }
.kv-row {
  display: flex; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-row > span:first-child { flex: 0 0 84px; color: var(--dim2); font-size: 12.5px; }
.kv-row > span:last-child { flex: 1; word-break: break-all; }
/* 同一人的其他卡：可点跳转，左侧留一道竖线表示「同一个人」 */
.sib-head > span:last-child { flex: 0 0 auto; color: var(--dim2); font-size: 12px; text-align: right; }
.sib-row {
  padding-left: 9px; margin-left: -9px;
  border-left: 2px solid var(--line2); border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.sib-row:active { background: var(--surface3); }
.sib-bank { flex: 0 0 auto !important; color: var(--text) !important; white-space: nowrap; }
.sib-tail {
  flex: 0 0 62px; color: var(--dim2);
  font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sib-meta { flex: 1; text-align: right; color: var(--dim2); font-size: 12px; }
/* 「给这人加一张卡」：跟在其他卡后面，视觉上是同一组的一部分，
   所以不做成醒目的实心按钮，只用一条虚线把它和上面的卡分开。 */
.sib-add { padding-top: 11px; border-bottom: 0; }
.sib-add .btn { width: 100%; border-style: dashed; color: var(--dim2); }

/* 通话时间线 */
.call-item {
  display: flex; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.call-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-dot {
  flex: 0 0 8px; width: 8px; height: 8px; margin-top: 7px;
  border-radius: 50%; background: var(--surface3);
}
.ci-dot.done { background: var(--ok); box-shadow: 0 0 0 3px #3cba9020; }
.ci-dot.pend { background: var(--warn); }
.ci-main { flex: 1; min-width: 0; }
.ci-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ci-time { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ci-sub { margin-top: 4px; font-size: 12px; color: var(--dim2); line-height: 1.5; }
.ci-act { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }

/* ================= 通话页（全屏作业台）================= */
/* 结构：顶栏(录音状态) / 话术板(可翻页) / 底部操作区
   设计：录音绝不能因切页中断，故整页不卸载 DOM，只切 class。 */
/* id 选择器优先级高于 .view，必须带 .active 限定，
   否则 display:flex 会把 .view 的 display:none 顶掉，通话页会一直显示在别的页面上。 */
#view-call { padding: 0; }
#view-call.active { display: flex; flex-direction: column; }

/* 录音控件不再单独占一条横条（原来 46px）。
   那个位置是整页最贵的一块：横屏总高 390px，念稿区本来就只剩 213px，
   一条 46px 的横条吃掉五分之一。现在并进工具条：
   竖屏换行成第二行，横屏挤到工具条右端 —— 就是「右上角点开始录音」。 */
.sb-rec {
  display: flex; align-items: center; gap: 7px;
  margin-left: 10px; flex: 0 0 auto;
}
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #5d6c7e; flex: 0 0 9px;
}
.rec-dot.on { background: var(--danger); animation: recpulse 1.6s ease-in-out infinite; }
.rec-dot.pause { background: var(--warn); }
@keyframes recpulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 #e2503f66; }
  50% { opacity: .55; box-shadow: 0 0 0 5px #e2503f00; }
}
.rec-time {
  font-size: 15px; font-weight: 700; letter-spacing: .3px;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.rec-state {
  font-size: 11.5px; color: var(--dim2);
  max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rec-btn {
  display: flex; align-items: center; gap: 5px; flex: 0 0 auto;
  padding: 6px 12px; border-radius: 9px;
  font-size: 12.5px; font-weight: 700;
  background: var(--surface2); border: 1px solid var(--line);
}
.rec-btn.rec { background: var(--danger-soft); border-color: #e2503f66; color: #ff9c8c; }
.rec-btn.stop { background: #e2503f; border-color: #e2503f; color: #fff; }
.rec-btn:disabled { opacity: .4; }

/* 工具条：竖屏允许换行，录音控件落到第二行；横屏强制单行，录音挤到右端 */
.sb-wrap {
  --fs-speak: 30px;      /* 念稿字号，A−/A＋ 改这个值 */
  --sb-red: #ff3b30;
  --sb-ink: #08090b;
  flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0;
  background: var(--sb-ink);
}
.sb-toolbar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 7px 12px; background: var(--sb-ink);
  border-bottom: 1px solid #23262d;
}
/* 横屏专用返回键：横屏会把整条顶栏藏掉，不给这颗就没有回列表的路
   （原来顶栏那颗在通话页是 hidden 的，只能靠 APK 硬件返回，网页端出不去） */
.sb-ibtn {
  flex: 0 0 auto; width: 30px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1; color: #aeb4bd;
  background: #14171d; border: 1px solid #23262d;
}
.sb-only-land { display: none; }

/* ================= 话术板（左大纲 + 右大字）=================
   版式来自「退费话术提示板」：黑底、强调红、左侧固定目录、右侧一屏一卡大字。
   为什么不再用横滑轮播：44 张卡要来回滑，滑到第 30 张想回第 3 张得推十几次；
   目录点一下就到位，通话中根本来不及滑。 */
.sb-dir {
  flex: 0 0 auto; width: 30px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--sb-red);
  background: #14171d; border: 1px solid #23262d;
}
.sb-dir:active { background: #1b1e24; }
.sb-group-name {
  font-size: 12px; font-weight: 700; color: #aeb4bd; letter-spacing: .4px;
  max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sb-progress {
  margin-left: auto; font-size: 12px; color: #7d8590;
  font-variant-numeric: tabular-nums;
}
.sb-mode {
  padding: 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700;
  background: #14171d; border: 1px solid #23262d; color: #aeb4bd;
}
.sb-mode.on { background: #2a0f0d; border-color: #ff3b3066; color: #ff8a80; }
.sb-fs { display: flex; gap: 4px; margin-left: auto; }
.sb-fs button {
  min-width: 34px; height: 28px; padding: 0 7px; border-radius: 8px;
  font-size: 12px; font-weight: 700; color: #aeb4bd;
  background: #14171d; border: 1px solid #23262d;
}
.sb-fs button:active { background: #1b1e24; color: #fff; }
.sb-fs + .sb-progress { margin-left: 6px; }

/* 两栏容器 */
.sb-main { flex: 1 1 auto; display: flex; min-height: 0; position: relative; }

/* 左侧目录：竖屏时是抽屉（默认收起），横屏时固定在左边 250px */
.sb-side {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 30;
  width: 252px; flex: 0 0 252px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #0e1014; border-right: 1px solid #23262d;
  padding: 10px 8px 40px;
  transform: translateX(-100%); transition: transform .18s ease;
  scrollbar-width: thin;
}
.sb-side.open { transform: translateX(0); }
.sb-side::-webkit-scrollbar { width: 4px; }
.sb-side::-webkit-scrollbar-thumb { background: #2a2e36; border-radius: 2px; }
.sb-side h4 {
  margin: 0; padding: 4px 6px 8px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 1px; color: var(--sb-red);
}
.sb-side .grp {
  padding: 10px 8px 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .6px; color: #7d8590;
}
.sb-item {
  display: flex; gap: 7px; align-items: flex-start; width: 100%;
  padding: 8px 8px; border-radius: 7px; text-align: left;
  font-size: 13px; line-height: 1.42; color: #aeb4bd;
  border-left: 3px solid transparent;
}
.sb-item .n {
  flex: 0 0 20px; font-size: 11px; color: #5f6672;
  font-variant-numeric: tabular-nums; padding-top: 1px;
}
.sb-item .t { flex: 1; min-width: 0; }
.sb-item.on { background: #1b1e24; color: #fff; border-left-color: var(--sb-red); }
.sb-item.on .n { color: var(--sb-red); }
.sb-item.done .t::after {
  content: "✓"; margin-left: 5px; font-size: 11px; color: #3cba90;
}
.sb-item.internal .t { color: #8a7a5c; }
.sb-item:active { background: #22262e; }

.sb-mask {
  position: absolute; inset: 0; z-index: 20; background: #000000a8;
}

/* 右侧念稿区 */
.sb-stage {
  flex: 1 1 auto; position: relative; min-height: 0;
  overflow: hidden;
}
/* 横屏卡片常常比可视区高（长话术 + 提示），滚到底会露出半截提示条，
   看着像界面破损。底部加一道与底色同色的渐隐，正文滚到边上自然淡出，
   同时暗示「下面还有」。竖屏高度够，不需要，放在横屏媒体查询里。 */
.sb-track {
  position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; touch-action: pan-y;
}
.sb-track::-webkit-scrollbar { display: none; }

/* 单卡铺满：垂直居中但内容过高时从顶部开始，否则长卡会被裁掉上半截 */
.sb-slide {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 16px 24px 14px;
}
.sb-slide.internal { background: repeating-linear-gradient(135deg, #1a1215 0 12px, #170f12 12px 24px); }
.sb-card { display: flex; flex-direction: column; width: 100%; }
.sb-kicker {
  display: flex; align-items: center; gap: 7px; margin-bottom: 8px; flex-wrap: wrap;
}
.sb-kicker .badge { font-size: 10.5px; }
.sb-title {
  font-size: 21px; font-weight: 900; letter-spacing: .2px; line-height: 1.35;
  margin-bottom: 14px; color: var(--sb-red);
}
/* 念稿正文：这是整页唯一要「照着读」的内容，字号与字重拉到最大 */
.sb-body {
  font-size: var(--fs-speak, 30px); line-height: 1.62; font-weight: 800;
  letter-spacing: .3px; color: #fff;
  white-space: pre-wrap; word-break: break-word;
  flex: 0 0 auto;
}
.sb-body em { font-style: normal; color: #ffd0cc; }
.sb-body .num { color: #ff6b60; font-weight: 900; font-variant-numeric: tabular-nums; }

/* 提示（备注）：与主话术明确分层，字号更小、颜色更淡、带左边线。
   混在一起会导致「念的话」和「别做的事」分不清。
   必须紧跟主话术（不能 flex:1 把它顶到卡片底部）——
   中间空一大块会让提示看起来跟这句话无关，念的时候容易跳过。 */
.sb-note {
  flex: 0 0 auto; margin-top: 18px; padding: 10px 14px;
  border-left: 3px solid var(--sb-red); border-radius: 0 8px 8px 0;
  background: #14171d;
  font-size: 14px; line-height: 1.66; color: #8a9099;
  white-space: pre-wrap; word-break: break-word;
}
.sb-note-k {
  display: inline-block; margin-right: 8px; padding: 1px 6px;
  border-radius: 4px; background: #ff3b3022; color: #ff8a80;
  font-size: 10.5px; font-weight: 800; vertical-align: 1px;
}
.sb-note .num { color: #ff8a80; font-weight: 700; font-variant-numeric: tabular-nums; }

.sb-foot {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
  margin-top: 22px; padding-top: 12px; border-top: 1px dashed #23262d;
}
.sb-foot .hint { font-size: 11.5px; color: #5f6672; }
.sb-arrow {
  width: 44px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #14171d; border: 1px solid #23262d;
  font-size: 19px; color: #aeb4bd; flex: 0 0 44px;
}
.sb-arrow:active { background: #1b1e24; color: #fff; }
.sb-arrow:disabled { opacity: .25; }
.sb-mark {
  flex: 1 1 auto; padding: 11px 15px; border-radius: 10px;
  font-size: 14px; font-weight: 800;
  background: var(--sb-red); color: #fff; border: 1px solid var(--sb-red);
}
.sb-mark.on { background: #14231d; border-color: #3cba9066; color: #4fe0b0; }

/* 内部卡：显眼警示，防止举给客户看 */
.sb-internal-flag {
  margin-bottom: 12px; padding: 8px 12px;
  background: #2a0f0d; border: 1px solid #ff3b3066; border-radius: 9px;
  font-size: 12.5px; font-weight: 800; color: #ff8a80;
}

/* 底部工具区（客户信息 + 结果录入）
   默认只留 tab 一条，点了才展开——通话中 90% 的时间眼睛在念稿上，
   底部卡片一直摊开会把念稿区压到只剩半屏。 */
.sb-dock {
  flex: 0 0 auto; background: var(--surface);
  border-top: 1px solid var(--line);
  max-height: 46%; display: flex; flex-direction: column;
  transition: max-height .16s ease;
}
.sb-dock.collapsed { max-height: 41px; }
.sb-dock.collapsed .dock-body { display: none; }
.dock-tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.dock-caret {
  flex: 0 0 34px; text-align: center; font-size: 12px; color: var(--dim2);
  transition: transform .16s ease;
}
.sb-dock.collapsed .dock-caret { transform: rotate(180deg); }
.dock-tab {
  flex: 1; padding: 11px 4px; font-size: 13px; font-weight: 580; color: var(--dim2);
  border-bottom: 2px solid transparent;
}
.dock-tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.dock-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 14px calc(12px + var(--sb)); }

/* ================= 横屏专用：整屏作业台 =================
   目标版式 = 上午那块「退费话术提示板」：左目录常驻、右大字念稿、右上角一颗录音键。
   纵向空间账（844×390 手机横屏）：
     原方案 顶栏 53 + 录音条 46 + 工具条 37 + 底栏 41 = 177 → 念稿区仅 213px
     新方案 工具条 34 + 底栏 41（默认折叠）           = 75  → 念稿区 315px
   多出来的 102px 全部给正文，26px 字号下从 5 行变 8 行 —— 这才是「一眼看到整句」。 */
@media (orientation: landscape) and (min-height: 320px) {
  .sb-wrap { --fs-speak: 26px; }

  /* 顶栏整条撤掉。横屏作业时左右都是横向空间，标题「通话作业」没有信息价值，
     而它占的 53px 是纯浪费。返回改由工具条最左那颗 sb-only-land 负责。 */
  body.in-call-land .topbar { display: none; }
  .sb-only-land { display: flex; }

  /* 目录常驻左侧，宽度按「一眼看清标题」给到 226px（原来是 210，两行标题会被截） */
  .sb-side {
    position: static; transform: none; width: 226px; flex: 0 0 226px;
    display: block;
  }
  .sb-mask { display: none !important; }
  .sb-dir { display: none; }

  /* 工具条单行不换行，录音控件被 margin-left:auto 顶到最右 —— 就是右上角那颗 */
  .sb-toolbar { padding: 3px 10px; flex-wrap: nowrap; gap: 7px; }
  .sb-rec { margin-left: auto; gap: 6px; }
  /* 录音状态文字在横屏天生长（「录音中 · 免提外放效果最好」），
     它会挤掉右边的按钮，这里压窄并允许省略号 */
  .rec-state { max-width: 118px; font-size: 11px; }
  .rec-time { font-size: 14px; }
  .rec-btn { padding: 5px 11px; font-size: 12px; }
  .sb-group-name { max-width: 150px; }

  /* 卡片内部留白全压到最小：横屏每一行都金贵 */
  .sb-slide { padding: 6px 18px 14px; justify-content: center; }
  .sb-kicker { margin-bottom: 5px; }
  .sb-title { font-size: 19px; margin-bottom: 6px; }
  .sb-body { line-height: 1.44; }
  .sb-note { margin-top: 8px; font-size: 12.5px; line-height: 1.5; padding: 6px 11px; }
  /* 底部渐隐：横屏卡片常超出可视区，滚到底会露出半截提示条 */
  .sb-stage::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
    background: linear-gradient(180deg, #08090b00, #08090b);
    pointer-events: none;
  }
  /* 横屏把「标记已念」提到工具条，卡片底部那条操作栏整个撤掉。
     黏底方案试过，红色按钮会压住正文最后一行——横屏念稿区的第一原则是
     零遮挡，宁可把操作挪走也不能盖住要念的话。目录已能点着跳，箭头也不需要。 */
  .sb-foot { display: none; }
  .sb-mk-top {
    flex: 0 0 auto; padding: 5px 11px; border-radius: 7px;
    font-size: 12.5px; font-weight: 800; color: #fff;
    background: var(--sb-red); border: 1px solid var(--sb-red);
  }
  .sb-mk-top.on { background: #2a3a33; border-color: #3cba90; color: #7fe0b8; }
  .sb-foot .hint { display: none; }        /* 横屏横向空间宝贵，hint 让给按钮 */
  .sb-arrow { width: 32px; height: 30px; flex: 0 0 32px; font-size: 16px; }
  .sb-mark { padding: 7px 12px; font-size: 13px; }
  .sb-item { padding: 6px 7px; font-size: 12.5px; }
  .sb-dock { max-height: 52%; }

  /* 竖屏引导：让用户把手机转过来。只在「横屏规则生效但实际是竖着拿」时出现，
     浏览器无法强制锁方向（screen.orientation.lock 只在全屏/PWA 下可用），
     所以这里不做强制，只做提示 —— 转一下就好，比一片挤压变形的界面强。 */
}
/* 竖屏时的「请横屏使用」提示条（仅作业台内），横屏下自动消失 */
.sb-rotate-tip {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  padding: 7px 12px; background: #1a1206; color: #f0c479;
  border-bottom: 1px solid #3a2c10; font-size: 12px; font-weight: 600;
}
@media (orientation: portrait) {
  .sb-rotate-tip { display: flex; }
  .sb-rotate-tip .rt-x { margin-left: auto; color: #8a7a5c; font-size: 15px; padding: 0 4px; }
}
/* 用户点过「知道了」就不再出现（横屏下本来也不显示，这一条只压竖屏） */
.sb-rotate-tip.off { display: none !important; }

/* 客户资料双列：六项只占三行，把高度让给话术卡 */
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.kv-grid .kv-row { padding: 7px 0; }
.kv-grid .kv-row > span:first-child { flex: 0 0 40px; }
.kv-note {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.6; color: var(--dim2);
  white-space: pre-wrap; word-break: break-word;
}

/* ================= 语音回填标记 ================= */
/* AI 填进去的值必须一眼能认出来：这几个数字后面要拿去跟银行对账，
   混在手填值里看不出来就等于没标。黄色 = 「这是机器填的，你还没核」，
   人一改动就摘掉（见 call.js 的 input 监听——只要不是 applyFill 写的就清标）。 */
.ai-filled,
.field input.ai-filled,
.field textarea.ai-filled,
.field select.ai-filled {
  border-color: var(--warn) !important;
  background: #e8a33d18 !important;
  color: #ffd79a !important;
  box-shadow: inset 0 0 0 1px #e8a33d33;
}

.ai-fill-note {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; padding: 7px 11px;
  border-radius: 9px; border: 1px solid #6b4c16;
  background: #2a1e08; color: #f0c479;
  font-size: 12px; line-height: 1.5;
}
.ai-fill-note b { color: #ffd79a; font-weight: 800; }
.ai-fill-note[hidden] { display: none !important; }

.ai-fill-undo {
  flex: 0 0 auto; margin-left: auto;
  padding: 4px 10px; border-radius: 7px;
  font-size: 11.5px; font-weight: 700;
  color: #d7b98a; background: #3a2c10; border: 1px solid #6b4c16;
}
.ai-fill-undo:active { background: #4a3814; }

/* ================= 团队看板 ================= */
/* 卡单警示条：整块可点，因为管理者看到这个数的第一反应是「哪几个」 */
.tm-warn {
  display: flex; flex-direction: column; gap: 3px;
  margin-bottom: 12px; padding: 11px 13px;
  border-radius: 12px; border: 1px solid #e2503f55;
  background: var(--danger-soft); color: #ff9c8c;
  cursor: pointer;
}
.tm-warn:active { background: #e2503f28; }
.tm-warn b { font-size: 14px; font-weight: 700; }
.tm-warn span { font-size: 12px; color: #d98a7e; line-height: 1.5; }

.tm-ok {
  margin-bottom: 12px; padding: 10px 13px;
  border-radius: 12px; border: 1px solid #3cba9040;
  background: var(--ok-soft); color: #63d6ae;
  font-size: 12.5px;
}

/* 口径说明：只用来解释数字怎么算的，别再当指标卡片用 */
.tm-note {
  margin: -6px 2px 12px; padding: 7px 11px;
  border-radius: 9px; background: #ffffff08; border: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.6; color: var(--dim2);
}

/* 活跃度灯：绿=今日有通话，黄=7天内，灰=近7天没有 */
.tm-dot {
  flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%;
  background: #4a5866;
}
.tm-dot.on { background: var(--ok); box-shadow: 0 0 0 3px #3cba9022; }
.tm-dot.mid { background: var(--warn); box-shadow: 0 0 0 3px #e8a33d22; }
.tm-dot.off { background: #4a5866; }

/* 14 天柱状图 */
.tm-chart {
  display: flex; align-items: flex-end; gap: 3px;
  height: 72px; padding: 10px 12px 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
}
.tm-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tm-bar {
  width: 100%; max-width: 18px; border-radius: 3px 3px 1px 1px;
  background: var(--accent);
}
.tm-bar.zero { background: #2f3b48; }
.tm-cd {
  font-size: 9px; color: var(--dim2);
  font-variant-numeric: tabular-nums; transform: scale(.92);
}

.tm-foot {
  margin: 14px 2px 4px; padding: 9px 11px;
  border-radius: 9px; background: #ffffff08; border: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.65; color: var(--dim2);
}

/* ================= 银行话术库 ================= */
.bl-hard { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.bl-hard-l { font-size: 12.5px; color: var(--dim2); flex: 0 0 auto; }
.bl-hard-n { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.bl-bars { display: flex; gap: 4px; flex: 1; }
.bl-bars i { flex: 1; height: 7px; border-radius: 3px; background: #2f3b48; }
.bl-bars i.on { background: linear-gradient(90deg, #e8a33d, #e2503f); }

.bl-summary {
  margin-bottom: 8px; padding: 11px 12px;
  border-radius: 11px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.7;
}

/* 每条结论：左边一条竖线区分「挡法」与「让步」 */
.bl-item {
  padding: 9px 0 9px 10px; border-left: 2px solid #e2503f66;
  border-bottom: 1px solid var(--line);
}
.bl-item:last-child { border-bottom: 0; padding-bottom: 0; }
.bl-item.good { border-left-color: #3cba9088; }
.bl-item.bad { border-left-color: #e2503f88; }

.bl-name { font-size: 13.5px; font-weight: 620; margin-bottom: 4px; }
.bl-quote {
  padding: 6px 9px; margin: 4px 0;
  border-radius: 7px; background: #0f151c; border: 1px solid var(--line);
  font-size: 12px; line-height: 1.6; color: #a9b7c8;
}
.bl-advice { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--dim2); }
.bl-say { font-size: 13px; font-weight: 600; line-height: 1.6; }
.bl-excerpt {
  margin-top: 5px; padding: 6px 8px;
  border-left: 2px solid var(--line); border-radius: 3px;
  font-size: 11.5px; line-height: 1.6; color: var(--dim2);
}

/* ================= 复盘 / 表单 ================= */
.ta {
  width: 100%; min-height: 110px; padding: 11px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  outline: none; resize: vertical; line-height: 1.6; font-size: 14px;
}
.ta:focus { border-color: var(--accent-d); }
.ta.tall { min-height: 220px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* 多卡录入：一张卡一行「银行 + 卡尾 + 删」，行数不定 */
.field-label {
  display: block; margin: 12px 0 6px;
  font-size: 12px; font-weight: 600; color: var(--dim);
}
.cardlist { display: flex; flex-direction: column; gap: 8px; }
.cardrow { display: flex; align-items: center; gap: 7px; }
.cardrow-no {
  flex: 0 0 14px; text-align: right;
  font-size: 11.5px; color: var(--dim2); font-variant-numeric: tabular-nums;
}
.cardrow select {
  flex: 1 1 auto; min-width: 0;
  height: 40px; padding: 0 9px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: 14px; outline: none;
}
.cardrow select:focus { border-color: var(--accent-d); }
/* 未选银行时下拉显示「请选择银行」，用暗色区分「这是个占位，不是已选的值」 */
.cardrow select.ph { color: var(--dim2); }
.cardrow-tail {
  flex: 0 0 96px; width: 96px;
  height: 40px; padding: 0 9px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: 14px; outline: none;
  font-variant-numeric: tabular-nums;
}
.cardrow-tail:focus { border-color: var(--accent-d); }
.cardrow-del {
  flex: 0 0 30px; height: 40px;
  background: transparent; border: 0; border-radius: 9px;
  color: var(--dim2); font-size: 19px; line-height: 1;
}
.cardrow-del:active { background: var(--surface3); color: #e2503f; }
.cardrow-del.ph { visibility: hidden; }
.cardlist-add { margin: 9px 0 10px; width: 100%; }

/* 复盘报告 */
.rev-grade {
  display: flex; align-items: center; gap: 13px;
  padding: 14px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.rev-grade .g {
  flex: 0 0 58px; width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 780; letter-spacing: -1px;
}
.rev-grade .g.A { background: #3cba9024; color: #4fe0b0; }
.rev-grade .g.B { background: #4a9eda24; color: #7cc0ec; }
.rev-grade .g.C { background: #f0a33c24; color: #ffc76b; }
.rev-grade .g.D { background: #e2503f24; color: #ff9c8c; }
.rev-grade .sum { flex: 1; font-size: 13px; line-height: 1.6; color: var(--dim); }
.rev-grade .sum b { color: var(--text); }

/* 录音回放：MediaRecorder 流式写出的 WebM 头部没有 Duration，
   浏览器算不出总长，播放器会显示 0:00 / 0:00，进度条也拖不动——
   复盘时想跳回某一句是高频动作，这属于真实可用性缺陷。
   服务端会用 ffmpeg 无损重封装补时长；若那一步不可用，就在播放器下方
   兜一行库里存的真实时长（拿到元数据后前端会撤掉，避免两处数字打架）。 */
.rv-audio { display: block; width: 100%; height: 38px; margin-bottom: 9px; }
.au-wrap { margin-bottom: 9px; }
.au-wrap .rv-audio { margin-bottom: 3px; }
.au-dur {
  padding-left: 2px; font-size: 11.5px; line-height: 1.5;
  color: var(--dim2); font-variant-numeric: tabular-nums;
}

.cp-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: 11px; overflow: hidden; }
.cp {
  display: flex; gap: 9px; padding: 9px 12px; background: var(--surface); font-size: 13px;
}
.cp .mk {
  flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  background: var(--danger-soft); color: #ff9c8c;
}
.cp.hit .mk { background: var(--ok-soft); color: #63d6ae; }
.cp .txt { flex: 1; min-width: 0; }
.cp .ev { margin-top: 3px; font-size: 11.5px; color: var(--dim2); line-height: 1.5;
  padding-left: 8px; border-left: 2px solid var(--line); }
.cp.miss { background: #171c24; }
.cp.miss .txt { color: var(--dim2); }
/* 未评估：中性灰，不能跟「没做到」混为一谈 */
.cp.na .mk { background: var(--surface2); color: var(--dim2); }
.cp.na .txt { color: var(--dim2); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 9px; border-radius: 7px; font-size: 12px;
  background: var(--surface2); border: 1px solid var(--line); color: var(--dim);
}

/* 上传/加载 */
.loading {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 40px 20px; color: var(--dim2); font-size: 13px;
}
.spin {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
/* 提示条位置：不能压录音栏（顶部控件）、不能压话术卡（主视觉）、不能压 dock 表单。
   唯一可牺牲的是顶栏标题区——被盖 2 秒无影响。所以贴在顶栏上沿。 */
#toast-host {
  position: fixed; left: 0; right: 0; top: calc(7px + var(--st));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none; z-index: 950;
}
.toast {
  max-width: 88%; padding: 9px 15px; border-radius: 10px;
  background: #1e2833f7; border: 1px solid var(--line2);
  font-size: 13px; color: var(--text);
  box-shadow: 0 8px 24px -8px #000c;
  animation: toastin .18s ease;
}
.toast.err { background: #3a1a18f2; border-color: #e2503f66; color: #ffb3a8; }
.toast.ok { background: #12291fF2; border-color: #3cba9066; color: #7fe0bb; }
@keyframes toastin { from { opacity: 0; transform: translateY(-8px); } }

/* 底部弹层 */
.sheet-mask {
  position: fixed; inset: 0; background: #000a; z-index: 800;
  display: flex; align-items: flex-end;
  animation: fadein .16s ease;
}
@keyframes fadein { from { opacity: 0; } }

/* ================= 录音告知 ================= */
/* 双机免提场景下，合伙人一手举着 A 机、一手点 B 机，
   弹层里每多一行字就多一分被跳过。所以「照着念」框的字要够大、够醒目。 */
.consent-say {
  background: var(--accent-soft); border: 1px solid #f0a35e55;
  border-radius: 12px; padding: 12px 13px;
}
.consent-say-k {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  color: var(--accent); margin-bottom: 7px;
}
.consent-say-t {
  font-size: 14.5px; line-height: 1.62; color: var(--text);
  font-weight: 550;
}
.consent-checks { margin-top: 15px; }
.consent-chk {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 0; font-size: 13px; line-height: 1.55;
  color: var(--dim); cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.consent-chk:last-child { border-bottom: none; }
.consent-chk input {
  width: 19px; height: 19px; margin: 0; flex: 0 0 auto;
  accent-color: var(--accent); cursor: pointer;
}
.consent-chk span { padding-top: 1px; }

/* 录音前的告知状态条：已告知 / 未告知，一眼能看出这次录得合不合规 */
.rec-consent {
  font-size: 11px; padding: 2px 7px; border-radius: 5px;
  border: 1px solid var(--line2); color: var(--dim2); white-space: nowrap;
}
.rec-consent.on { color: var(--good, #45c07d); border-color: #45c07d55; background: #45c07d14; }

/* ================= 隐私政策页 ================= */
.pv-page {
  max-width: 640px; margin: 0 auto; padding: 22px 18px calc(34px + var(--sb));
}
.pv-page h1 { font-size: 19px; font-weight: 680; margin-bottom: 5px; }
.pv-meta { font-size: 11.5px; color: var(--dim2); margin-bottom: 20px; }
.pv-page h2 {
  font-size: 14px; font-weight: 650; margin: 22px 0 8px;
  padding-left: 9px; border-left: 3px solid var(--accent);
}
.pv-page p, .pv-page li {
  font-size: 13px; line-height: 1.78; color: var(--dim);
}
.pv-page p { margin-bottom: 9px; }
.pv-page ul { padding-left: 19px; margin-bottom: 9px; }
.pv-page li { margin-bottom: 5px; }
.pv-page strong { color: var(--text); font-weight: 600; }
.pv-box {
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 11px; padding: 13px 14px; margin: 11px 0;
}
.pv-box p:last-child { margin-bottom: 0; }
.pv-back { margin-top: 28px; }

/* 「存 / 不存」对照表：左右两栏比纯文字列表好扫，
   这一节是最容易被客户或合伙人拿手机放大了看的，所以字号给到 12.5px 不再压。 */
.pv-table {
  width: 100%; border-collapse: collapse; margin: 11px 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  overflow: hidden;
}
.pv-table th {
  font-size: 11.5px; font-weight: 600; color: var(--dim2); text-align: left;
  padding: 8px 11px; background: var(--surface2); border-bottom: 1px solid var(--line);
}
.pv-table th + th { border-left: 1px solid var(--line); }
.pv-table td {
  font-size: 12.5px; line-height: 1.85; color: var(--dim);
  padding: 10px 11px; vertical-align: top; width: 50%;
}
.pv-table td + td { border-left: 1px solid var(--line); }

/* 表单里的说明小字：只在「简称」下面出现一次，用来挡住「要不要填真名」这个念头 */
.form-tip {
  font-size: 11px; line-height: 1.55; color: var(--dim2);
  margin: -4px 0 11px 2px;
}
.sheet {
  width: 100%; max-height: 88dvh; overflow-y: auto;
  background: var(--surface); border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--line2);
  padding: 8px 16px calc(18px + var(--sb));
  animation: sheetup .2s ease;
}
@keyframes sheetup { from { transform: translateY(100%); } }
.sheet-bar {
  width: 38px; height: 4px; border-radius: 2px; background: var(--line2);
  margin: 4px auto 14px;
}
.sheet h3 { font-size: 16px; font-weight: 650; margin-bottom: 14px; }
