/* ===========================================================================
 * 创业教练 · 老板板块（独立样式表）
 * ---------------------------------------------------------------------------
 * 为什么单开一个文件：全站铁律 —— 不加进 style.css。
 *   style.css 有 80KB、多个会话并发在改，改它必然与别人互相覆盖。
 *   本文件在 index.html 里排在 style.css 与其它板块 css 之后加载，
 *   同名选择器后出现者胜出，用来做「老板」板块与创业教练对话页的全部样式。
 *
 * 配色沿用全站品牌色（--primary #f95901 等），只在「老板」板块的 hero 上
 * 用更深的琥珀渐变 —— 板块之间要有辨识度，但主色不许换（用户明确的底线）。
 *
 * ⚠️ 两处必须改成全局、不是本板块专属（原因都写在注释里）：
 *   ① .tabbar 的六个 tab 尺寸 —— 新增第 6 个板块后，原来的 40px 图标会挤爆 375px 屏
 *   ② #view-boss 的 hero 类名复用 .hero（沿用圆角/阴影/居中）
 * =========================================================================== */

/* ===================== ① 底部 TabBar：为 6 个板块收紧尺寸 =====================
 * 原来 5 个 tab：5 × (40px 图标 + 16px 内边距) = 280px，375px 屏下还剩 95px 分间隙，舒适。
 * 加「老板」后 6 个：6 × 56px = 336px，只剩 39px 分 6 份 = 每个间隙 6.5px，视觉上会黏在一起。
 * 收紧到 36px 图标 + 8px 内边距 = 每个 44px，6 个共 264px，间隙回到 18px，与原来观感一致。
 * 这是加板块的必然代价，不是可选项 —— 不收紧在 iPhone SE（375px）上会换行。 */
.tabbar .tab-item { padding: 4px 4px; }
.tabbar .tab-ico {
  width: 36px; height: 36px; border-radius: 12px; font-size: 19px;
}
.tabbar .tab-label { font-size: 11px; }

/* ===================== ② 老板板块首页 ===================== */
.hero-boss {
  background: linear-gradient(135deg, #3d2611 0%, #7a3a12 52%, #a8541a 100%);
  box-shadow: 0 10px 26px rgba(122, 58, 18, 0.3);
}
.hero-boss .hero-deco { opacity: .95; }

/* 创业教练 · 头牌大卡
   🔴 .boss-entry 是 relative 的 —— 里面有 .boss-entry-glow 这种 absolute 装饰，
      容器不加 position:relative 的话，overflow:hidden 裁不到它，
      装饰会按 right:-30% 撑宽 document，手机端整页缩成 77%（桌面看不出来）。 */
.boss-entry {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
  border: 1px solid #f5dcc6;
  border-radius: 20px;
  padding: 18px 18px;
  margin-bottom: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(122, 58, 18, 0.09);
  transition: transform .16s ease, box-shadow .16s ease;
}
.boss-entry:active { transform: scale(.985); }
@media (hover: hover) {
  .boss-entry:hover { box-shadow: 0 10px 26px rgba(122, 58, 18, 0.16); }
}
.boss-entry-glow {
  position: absolute; right: -30%; top: -60%;
  width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,89,1,.16) 0%, rgba(249,89,1,0) 70%);
  pointer-events: none;
}
.boss-entry-ico {
  position: relative; flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px;
  background: linear-gradient(135deg, #ff8845 0%, #f94400 100%);
  box-shadow: 0 6px 14px rgba(249, 89, 1, .32);
}
.boss-entry-body { position: relative; min-width: 0; flex: 1 1 auto; }
.boss-entry-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: #a8541a; background: #fff0e0;
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.boss-entry-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: .3px; }
.boss-entry-sub {
  font-size: 12.5px; color: var(--text2); line-height: 1.6; margin-top: 5px;
}
.boss-entry-flow {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin-top: 9px; font-size: 11.5px; color: #a8541a;
}
.boss-entry-flow span {
  background: #fff4ea; border: 1px solid #f7dfc9;
  padding: 2px 7px; border-radius: 7px; white-space: nowrap;
}
.boss-entry-flow i { color: #d9c0a8; font-style: normal; }

/* 板块底部说明 */
.boss-note {
  margin-top: 16px; padding: 14px 16px;
  background: #fffaf5; border: 1px dashed #f0d8c2; border-radius: 14px;
  font-size: 12.5px; color: var(--text2); line-height: 1.7;
}

/* ===================== ③ 创业教练 · 对话页 ===================== */
/* 教练身份条 */
.coach-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, #fff6ee 0%, #fffdfb 100%);
  border: 1px solid #f7e3d0; border-radius: 16px;
}
.coach-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  background: linear-gradient(135deg, #3d2611 0%, #7a3a12 100%);
  box-shadow: 0 5px 12px rgba(122, 58, 18, .26);
}
.coach-head-body { min-width: 0; flex: 1 1 auto; }
.coach-head-name { font-size: 15px; font-weight: 800; color: var(--text); }
.coach-head-desc { font-size: 12px; color: var(--text2); margin-top: 3px; line-height: 1.5; }
.coach-reset {
  flex: 0 0 auto; border: 1px solid #f0d8c2; background: #fff;
  color: #a8541a; font-size: 12px; font-weight: 700;
  padding: 6px 11px; border-radius: 10px; cursor: pointer; font-family: inherit;
}
.coach-reset:active { transform: scale(.96); }

/* 对话区 */
.coach-body { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }

.coach-msg { display: flex; gap: 9px; align-items: flex-start; }
.coach-msg-avatar {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: linear-gradient(135deg, #3d2611 0%, #7a3a12 100%);
}
.coach-bubble {
  max-width: calc(100% - 44px);
  padding: 12px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.75;
  word-break: break-word; overflow-wrap: anywhere;
}
.coach-msg.ai .coach-bubble {
  background: #fff; border: 1px solid #f2e6da;
  border-top-left-radius: 5px; color: var(--text);
  box-shadow: 0 2px 8px rgba(122, 58, 18, .05);
}
.coach-msg.me { flex-direction: row-reverse; }
.coach-msg.me .coach-bubble {
  background: linear-gradient(135deg, #ff8845 0%, #f94400 100%);
  color: #fff; border-top-right-radius: 5px;
  box-shadow: 0 4px 12px rgba(249, 89, 1, .22);
}

/* 气泡内 Markdown */
.coach-bubble p { margin: 0 0 10px; }
.coach-bubble p:last-child { margin-bottom: 0; }
.coach-bubble strong { font-weight: 800; }
.coach-msg.ai .coach-bubble strong { color: #b8420a; }
.coach-bubble h4 {
  font-size: 14px; font-weight: 800; margin: 14px 0 7px; color: #8a4212;
}
.coach-bubble h4:first-child { margin-top: 0; }
.coach-bubble ul, .coach-bubble ol { margin: 0 0 10px; padding-left: 20px; }
.coach-bubble li { margin: 5px 0; }
.coach-bubble code {
  background: #fdf1e6; color: #b8420a;
  padding: 1px 5px; border-radius: 5px; font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.coach-msg.me .coach-bubble code { background: rgba(255,255,255,.22); color: #fff; }
.coach-bubble hr { border: none; border-top: 1px solid #f2e6da; margin: 12px 0; }

/* 思考中 / 光标 */
.coach-dots { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.coach-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: #e0a87c;
  animation: coachDot 1.1s infinite ease-in-out;
}
.coach-dots i:nth-child(2) { animation-delay: .16s; }
.coach-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes coachDot {
  0%, 80%, 100% { transform: scale(.6); opacity: .45; }
  40% { transform: scale(1); opacity: 1; }
}
.coach-caret {
  display: inline-block; width: 7px; height: 15px;
  background: var(--primary); vertical-align: -2px; margin-left: 2px;
  animation: coachBlink .9s step-end infinite;
}
@keyframes coachBlink { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }

/* 空态：欢迎语 + 快捷问题 */
.coach-welcome { font-size: 14px; line-height: 1.8; }
.coach-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.coach-chip {
  border: 1px solid #f5dcc6; background: #fff; color: #a8541a;
  font-size: 12.5px; padding: 7px 12px; border-radius: 999px;
  cursor: pointer; font-family: inherit; line-height: 1.4;
  transition: background .14s ease;
}
.coach-chip:active { background: #fff1e5; }
@media (hover: hover) {
  .coach-chip:hover { background: #fff1e5; }
}

/* 错误提示 */
.coach-err {
  margin-top: 10px; padding: 10px 13px; border-radius: 12px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  font-size: 12.5px; line-height: 1.6;
}

/* ===================== ④ 输入区 ===================== */
/* 粘在底部、压在 TabBar 上方：手机上边打字边看回复，不用先滑到底再滑回来。
   74px = TabBar 实测高度（8px 上内边距 + 36px 图标 + 4px 间距 + 17px 文字 + 6px 下内边距 + 3px 边框） */
.coach-composer {
  position: sticky; bottom: 74px; z-index: 40;
  margin: 14px -16px 0; padding: 10px 16px;
  background: rgba(255, 251, 247, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid #f5e2d0;
}
@media (min-width: 1024px) {
  /* PC 端底栏隐藏，输入区直接贴底 */
  .coach-composer { bottom: 0; margin-left: 0; margin-right: 0; border-radius: 14px; border: 1px solid #f5e2d0; }
}
.coach-composer-row { display: flex; gap: 9px; align-items: flex-end; }
.coach-input {
  flex: 1 1 auto; min-width: 0;
  border: 1px solid #e8d5c3; border-radius: 14px; background: #fff;
  padding: 11px 13px; font-size: 14px; line-height: 1.6;
  font-family: inherit; color: var(--text);
  resize: none; max-height: 132px; overflow-y: auto;
  outline: none; transition: border-color .15s ease;
}
.coach-input:focus { border-color: #f0a868; }
.coach-input::placeholder { color: #c3ac97; }
.coach-send {
  flex: 0 0 auto; width: 52px; height: 44px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, #ff8845 0%, #f94400 100%);
  color: #fff; font-size: 13px; font-weight: 800; font-family: inherit;
  cursor: pointer; box-shadow: 0 5px 13px rgba(249, 89, 1, .3);
}
.coach-send:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.coach-send:active:not(:disabled) { transform: scale(.96); }
.coach-tip {
  margin-top: 7px; font-size: 11px; color: #bda894; text-align: center;
}

/* ========================== ⑤ 首屏点选 / 快照 / 可点选项 ==========================
 * 2026-09-17 新增。用户反馈「要填一堆东西，很枯燥，我不想填」→ 首屏改成点选。
 * 全部是新增选择器，**没有覆盖上面任何既有规则**，所以不影响老气泡样式。 */

/* ---- 首屏点选卡 ---- */
.coach-pick {
  background: #fff; border: 1px solid #f2e6da; border-radius: 16px;
  padding: 16px 14px 14px;
  box-shadow: 0 4px 14px rgba(122, 58, 18, .06);
}
.coach-pick-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.coach-pick-no { font-size: 11.5px; font-weight: 700; color: #a8541a; letter-spacing: .3px; }
.coach-pick-dots { display: flex; gap: 4px; }
.coach-pick-dots i {
  width: 16px; height: 4px; border-radius: 2px; background: #f0e2d4;
  transition: background .2s ease;
}
.coach-pick-dots i.on { background: #f95901; }
.coach-pick-dots i.done { background: #f5b183; }

/* 进度条：--p 由 JS 按步骤写（写在 inline style 上，这里只负责外观） */
.coach-pick-bar {
  height: 3px; border-radius: 2px; background: #f6ece2; overflow: hidden; margin-bottom: 14px;
}
.coach-pick-bar::after {
  content: ''; display: block; height: 100%; width: var(--p, 33%);
  background: linear-gradient(90deg, #ff8845, #f94400);
  transition: width .25s ease;
}

.coach-pick-q {
  font-size: 16.5px; font-weight: 800; color: var(--text);
  line-height: 1.45; margin-bottom: 13px;
}
.coach-pick-opts { display: flex; flex-direction: column; gap: 9px; }
.coach-opt {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: #fffaf6; border: 1px solid #f2e0cd; border-radius: 13px;
  padding: 12px 12px; cursor: pointer; font-family: inherit; text-align: left;
  transition: border-color .14s ease, background .14s ease, transform .1s ease;
}
.coach-opt:active { transform: scale(.985); }
@media (hover: hover) {
  .coach-opt:hover { border-color: #f0b483; background: #fff5ec; }
}
/* 点下去到切屏之间有 160ms —— 没有这个高亮，用户会觉得"没点上" */
.coach-opt.picked { border-color: #f95901; background: #fff1e6; }
.coach-opt-ico {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  background: #fff2e6; border: 1px solid #f7e2ce;
}
.coach-opt-t {
  flex: 1 1 auto; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.4;
}
.coach-opt i { color: #d9bfa6; font-style: normal; font-size: 16px; }

.coach-pick-back {
  margin-top: 12px; background: none; border: none; color: #a8896f;
  font-size: 12.5px; font-family: inherit; cursor: pointer; padding: 4px 2px;
}

/* ---- 第 4 屏：回显 + 可选补充 + 开始 ---- */
.coach-pick-chips { display: flex; flex-direction: column; gap: 8px; }
.coach-pick-chip {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: #fffaf6; border: 1px dashed #e8d3bd; border-radius: 12px;
  padding: 10px 12px; font-family: inherit; font-size: 13.5px; color: var(--text);
  cursor: pointer; text-align: left;
}
.coach-pick-chip span { color: #a8896f; font-size: 11.5px; flex: 0 0 46px; }
.coach-pick-chip i {
  margin-left: auto; font-style: normal; font-size: 11px; color: #c9a98d;
  border: 1px solid #eddac6; border-radius: 999px; padding: 1px 7px;
}
.coach-pick-note { font-size: 12px; color: #a8896f; margin: 14px 0 7px; }
.coach-extra {
  width: 100%; box-sizing: border-box;
  border: 1px solid #e8d5c3; border-radius: 12px; background: #fff;
  padding: 10px 12px; font-size: 13.5px; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .15s ease;
}
.coach-extra:focus { border-color: #f0a868; }
.coach-extra::placeholder { color: #c9b5a1; }
.coach-start {
  width: 100%; margin-top: 11px; border: none; border-radius: 13px;
  background: linear-gradient(135deg, #ff8845 0%, #f94400 100%);
  color: #fff; font-size: 15px; font-weight: 800; font-family: inherit;
  padding: 13px 0; cursor: pointer; box-shadow: 0 6px 16px rgba(249, 89, 1, .3);
}
.coach-start:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.coach-start:active:not(:disabled) { transform: scale(.985); }
.coach-pick-hint { margin-top: 8px; font-size: 11px; color: #bda894; text-align: center; }

/* ---- 生意快照卡片（用户那条"被读懂了"的凭证） ---- */
.coach-snap {
  align-self: flex-end; max-width: calc(100% - 24px);
  background: linear-gradient(135deg, #fff6ee 0%, #fffdfb 100%);
  border: 1px solid #f2ddc6; border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(122, 58, 18, .07);
}
.coach-snap-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px;
}
.coach-snap-t { font-size: 12.5px; font-weight: 800; color: #a8541a; }
.coach-snap-again {
  border: 1px solid #f0d8c2; background: #fff; color: #a8541a;
  font-size: 11px; font-family: inherit; padding: 3px 9px; border-radius: 999px; cursor: pointer;
}
.coach-snap-row { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.8; }
.coach-snap-row span { flex: 0 0 56px; color: #a8896f; font-size: 12.5px; }
.coach-snap-row b { font-weight: 700; color: var(--text); }
.coach-snap-extra {
  margin-top: 7px; padding-top: 7px; border-top: 1px dashed #f0dcc8;
  font-size: 12.5px; color: var(--text2); line-height: 1.6;
}

/* ---- 模型给的「点选」按钮（后续几轮少打字的关键） ---- */
.coach-opts { margin-top: 11px; padding-top: 11px; border-top: 1px dashed #f0dcc8; }
.coach-opts-hint { font-size: 11px; color: #bda894; margin-bottom: 7px; }
.coach-opts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.coach-optbtn {
  border: 1px solid #f7c9a4; background: #fff7f0; color: #b8420a;
  font-size: 13px; font-weight: 600; font-family: inherit;
  padding: 8px 13px; border-radius: 999px; cursor: pointer; line-height: 1.35;
  transition: background .14s ease, border-color .14s ease, transform .1s ease;
}
.coach-optbtn:active { transform: scale(.97); background: #ffeddd; }
@media (hover: hover) {
  .coach-optbtn:hover { background: #ffeddd; border-color: #f0a868; }
}
/* 流进行中：整组变灰不可点（否则用户以为还能点，点了会串话） */
.coach-opts { transition: opacity .15s ease; }

/* ---- 引用块：教练给「能张口就说的原句」时会用 > 引用 ---- */
.coach-bubble blockquote {
  margin: 9px 0; padding: 9px 12px;
  background: #fff8f2; border-left: 3px solid #f5a35c; border-radius: 0 10px 10px 0;
  font-size: 13.5px; font-weight: 600; color: #8a4212;
}
.coach-msg.me .coach-bubble blockquote {
  background: rgba(255, 255, 255, .18); border-left-color: #fff; color: #fff;
}

/* ---- 🔴 底部输入区遮挡修正（2026-09-17 实测发现） ----
 * .coach-composer 是 sticky 压在底部的（手机上还叠着 74px 的 TabBar）。
 * 原来的滚动逻辑用 scrollIntoView({block:'end'}) 对齐最后一条消息的底边
 * → 教练刚吐完的【点选】按钮正好落在输入区后面，用户以为"没有按钮"，
 *   这个功能最值钱的一环（少打字）就白做了。
 * 修法：给对话区留出与"输入区 + TabBar"等高的下边距，滚动改为滚到文档最底，
 *       最后一行内容自然停在输入区上方。
 * 182px ≈ TabBar 74 + 输入区 ~92 + 余量；PC 端没有 TabBar，所以小得多。 */
.coach-body { padding-bottom: 182px; }
@media (min-width: 1024px) { .coach-body { padding-bottom: 104px; } }

/* ===================== ⑥ 生意诊断书（2026-09-17 新增） =====================
 * 为什么单独一节：报告是**交付物**，必须看起来像一份文件 ——
 * 结论像结论、算账像账单、清单能打勾。这个"像不像专业东西"的差别，
 * 正是用户判定「有用 / 没用」的地方（改版前的失败就在于只有一段聊天）。
 * 配色仍走品牌橘（#f95901 / #ffad64），只做层次与质感，不换主色。 */

/* ---- 首屏价值预告（先说清能拿到什么，再让他动手） ---- */
.coach-hero { position: relative; padding: 2px 2px 14px; }
.coach-hero-sub {
  font-size: 14.5px; font-weight: 700; color: #2b1d14; line-height: 1.55;
  margin-bottom: 12px;
}
.coach-hero-gains { display: flex; flex-direction: column; gap: 9px; }
.coach-gain {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 13px; border-radius: 14px;
  background: linear-gradient(135deg, #fffdfb, #fff6ee);
  border: 1px solid #ffe7d3;
  box-shadow: 0 3px 10px rgba(249, 89, 1, .05);
}
.coach-gain-ico { font-size: 19px; line-height: 1.3; flex: none; }
.coach-gain-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.coach-gain-tx b { font-size: 13.5px; color: #2b1d14; font-weight: 700; }
.coach-gain-tx i { font-style: normal; font-size: 12px; color: #9a8578; line-height: 1.5; }

/* ---- 报告卡 ---- */
.coach-rpt {
  margin: 6px 0 14px; border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid #ffe2cc;
  box-shadow: 0 6px 22px rgba(249, 89, 1, .09);
}
.coach-rpt-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff6ee, #fff0e0);
  border-bottom: 1px solid #ffe7d3;
}
.coach-rpt-t { font-size: 14px; font-weight: 800; color: #b4470a; letter-spacing: .2px; }
.coach-rpt-copy {
  flex: none; border: 0; cursor: pointer; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #b4470a; background: #fff;
  box-shadow: 0 2px 8px rgba(249, 89, 1, .12); transition: transform .12s;
}
.coach-rpt-copy:active { transform: scale(.95); }
.coach-rpt-copy.ok { background: #16a34a; color: #fff; }
.coach-rpt-body { padding: 4px 14px 14px; }

/* 每一节 */
.coach-rpt-sec { padding: 13px 0; border-bottom: 1px dashed #f3e3d6; }
.coach-rpt-sec:last-child { border-bottom: 0; padding-bottom: 4px; }
.coach-rpt-h {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: #2b1d14;
}
.coach-rpt-h::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #ffad64, #f95901); flex: none;
}
.coach-rpt-b { font-size: 13.5px; line-height: 1.72; color: #4a3b31; }
.coach-rpt-b p { margin: 0 0 8px; }
.coach-rpt-b p:last-child { margin-bottom: 0; }
.coach-rpt-b ol, .coach-rpt-b ul { margin: 6px 0; padding-left: 20px; }
.coach-rpt-b li { margin: 5px 0; }
.coach-rpt-b code {
  background: #fff3e8; border-radius: 5px; padding: 1px 5px;
  font-size: 12.5px; color: #b4470a;
}

/* ① 一句话判断 —— 全篇最重的一块，做成"结论卡" */
.coach-rpt-sec.is-verdict {
  margin: 0 -14px 4px; padding: 14px 14px 15px;
  background: linear-gradient(135deg, #fff9f4, #fff3e7);
  border-bottom: 1px solid #ffe7d3;
}
.coach-rpt-sec.is-verdict .coach-rpt-h { color: #b4470a; font-size: 14px; }
.coach-rpt-sec.is-verdict .coach-rpt-b { font-size: 14.5px; font-weight: 600; color: #33251c; }

/* ② 你的钱是怎么漏掉的 —— 算账区，数字要能对着看 */
.coach-rpt-sec.is-money .coach-rpt-b { font-variant-numeric: tabular-nums; }

/* ③ 这周就能改的三件事 —— 编号要显眼 */
.coach-rpt-sec.is-todo .coach-rpt-b ol { padding-left: 0; list-style: none; counter-reset: t; }
.coach-rpt-sec.is-todo .coach-rpt-b li {
  counter-increment: t; position: relative; padding-left: 27px; margin: 8px 0;
}
.coach-rpt-sec.is-todo .coach-rpt-b li::before {
  content: counter(t); position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 7px; line-height: 19px;
  background: linear-gradient(135deg, #ffad64, #f95901); color: #fff;
  font-size: 11.5px; font-weight: 800; text-align: center;
}

/* ④ 30 天路线图 —— 唯一"能打勾"的一节（进度存本地，下次进来还在） */
.coach-rpt-sec.is-plan .coach-rpt-b ol { padding-left: 0; list-style: none; }
.coach-plan-bar { display: flex; align-items: center; gap: 9px; margin: 2px 0 10px; }
.coach-plan-pg {
  flex: 1; height: 6px; border-radius: 999px; background: #f5e8dd; overflow: hidden;
}
.coach-plan-pg i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #ffad64, #f95901); transition: width .25s;
}
.coach-plan-bar b { flex: none; font-size: 11.5px; color: #a1866f; font-weight: 700; }
.coach-plan-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 11px; margin: 6px 0; border-radius: 12px;
  background: #fffcf9; border: 1px solid #f6e7db;
  transition: background .15s, opacity .15s;
}
.coach-plan-item.done { background: #f6fbf7; border-color: #d8efdf; opacity: .72; }
.coach-plan-item.done > span, .coach-plan-item.done > p { text-decoration: line-through; }
.coach-plan-cb {
  flex: none; width: 19px; height: 19px; margin-top: 1px; cursor: pointer; padding: 0;
  border: 1.6px solid #e0cbb9; border-radius: 7px; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.coach-plan-cb i {
  display: block; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform .15s;
}
.coach-plan-item.done .coach-plan-cb { background: #16a34a; border-color: #16a34a; }
.coach-plan-item.done .coach-plan-cb i { transform: rotate(-45deg) scale(1); }

/* ⑤ 什么情况我会改判 —— 次要，但保留可读 */
.coach-rpt-sec.is-flip .coach-rpt-b { color: #7a6a5d; font-size: 13px; }
.coach-rpt-sec.is-flip .coach-rpt-h::before { background: #d9c7b5; }

/* ⑥ 你的「足够」是多少 —— 三个填空，做成独立小格 */
.coach-rpt-sec.is-enough {
  margin-top: 2px; padding: 13px 14px 14px; border-bottom: 0;
  background: linear-gradient(135deg, #faf7ff, #f3f0fb); border-radius: 14px;
}
.coach-rpt-sec.is-enough .coach-rpt-h::before { background: linear-gradient(180deg, #b79cf0, #7c5cd6); }
.coach-rpt-sec.is-enough .coach-rpt-b { color: #4a4260; }

/* 表格：模型算账时会输出 | 项目 | 金额 | —— 不认表格会显示成一堆竖线 */
.coach-tb {
  width: 100%; margin: 8px 0; border-collapse: collapse;
  font-size: 12.5px; font-variant-numeric: tabular-nums;
  border-radius: 10px; overflow: hidden;
}
.coach-tb th, .coach-tb td { padding: 7px 9px; text-align: left; border-bottom: 1px solid #f3e7dc; }
.coach-tb th { background: #fff6ee; color: #b4470a; font-weight: 700; }
.coach-tb tr:last-child td { border-bottom: 0; }

/* ---- 报告之后：接着问（用户不知道能问什么时最容易流失） ---- */
.coach-more { margin: 4px 0 16px; }
.coach-more-h { font-size: 12px; font-weight: 700; color: #a1866f; margin-bottom: 8px; }
.coach-more-row { display: flex; flex-wrap: wrap; gap: 8px; }
.coach-quick {
  flex: 0 1 auto; max-width: 100%; padding: 9px 13px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid #ffe0c8;
  font-size: 12.5px; color: #8a5a33; font-weight: 600;
  box-shadow: 0 2px 8px rgba(249, 89, 1, .06); transition: transform .12s;
}
.coach-quick:active { transform: scale(.96); }

/* ---- 生成诊断书时的等待卡（长报告几十秒，必须有进度感） ---- */
.coach-wait { min-width: 210px; }
.coach-wait-t { font-size: 13.5px; font-weight: 700; color: #2b1d14; margin-bottom: 9px; }
.coach-wait-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.coach-wait-steps span {
  font-size: 11px; color: #a1866f; background: #fff6ee;
  padding: 3px 8px; border-radius: 999px;
}
.coach-wait-bar { height: 4px; border-radius: 999px; background: #f5e8dd; overflow: hidden; }
.coach-wait-bar i {
  display: block; height: 100%; width: 12%; border-radius: 999px;
  background: linear-gradient(90deg, #ffad64, #f95901);
  animation: coachWait 9s cubic-bezier(.15, .7, .3, 1) forwards;
}
/* ⚠️ 渐近进度，**不报百分比** —— 报百分比是造假（我们不知道上游要多久）。
   9 秒爬到 88% 停住，等真内容到达时被整块替换。 */
@keyframes coachWait {
  0%   { width: 8%; }
  30%  { width: 42%; }
  60%  { width: 68%; }
  100% { width: 88%; }
}
