/* ===========================================================================
 * 股权专家 · 老板板块（独立样式表）
 * ---------------------------------------------------------------------------
 * 为什么单开一个文件：全站铁律 —— 不加进 style.css。
 *   style.css 有 80KB 且多个会话并发在改，动它必然互相覆盖。
 *   本文件在 index.html 里排在 style.css / coach.css / finance.css **之后**加载，
 *   同名选择器后出现者胜出。
 *
 * 配色：老板板块内部用「藏青 + 铜金」做辨识度，与创业教练的「棕琥珀」、
 *   财务顾问的「墨绿」并列。藏青取的是"章程 / 股权 / 契约"的心理联想，
 *   铜金呼应"股份"本身。
 *   🔴 品牌橙（--primary #f95901）**没有换**，仍只用在主行动按钮上 ——
 *      用户明确的底线：板块可以有性格，主色不许动。
 *
 * 🔴 三条踩过坑的约束（改版时不要破坏）：
 *   ① 任何含 absolute 装饰物的卡片，容器必须自带 position: relative ——
 *      否则它按 right:-40% 撑宽 document，**手机端整页缩成 77%**（桌面看不出来）。
 *   ② `hidden` 属性会被 display:flex/grid 盖掉 → 本文件所有用 hidden 控制的元素
 *      都补了 [hidden]{display:none!important}。
 *   ③ 数字用等宽（tabular-nums），否则持股比例列对不齐，一眼显得业余。
 * =========================================================================== */

:root {
  --eq-navy: #1E3A5F;
  --eq-navy-2: #2C5079;
  --eq-gold: #B8860B;
  --eq-gold-lt: #E8C87A;
  --eq-ink: #241E18;
  --eq-sub: #7A6A58;
  --eq-line: #EAE0D4;
  --eq-bg: #FDFBF8;
  --eq-soft: #F7F2EA;
}

/* 所有用 hidden 控制的节点都强制生效（②） */
#sub-equity [hidden] { display: none !important; }

#sub-equity { padding-bottom: 28px; }

/* ===================== ① 老板板块：第 7 张图标入口卡 ===================== */
/* 全部功能表里的图标底色 —— 藏青系，与子页身份条一致。
   🔴 不复用 style.css 已有的 f-*（那些是别人的板块身份色）。
   ⚠️ 必须定义：不定义的话图标会是"淡灰底"，跟旁边 6 张的饱和渐变明显不是一套
      （第一版就漏了这个类，截图里一眼能看出是张"没做完"的卡）。 */
.f-navy { background: linear-gradient(135deg, #2C5079, #16304F); }

/* ===================== ② 身份条 ===================== */
.eq-head {
  position: relative;              /* ① 有 absolute 装饰物 */
  display: flex; align-items: center; gap: 12px;
  margin: 12px 14px 14px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1E3A5F 0%, #16293F 100%);
  box-shadow: 0 6px 18px rgba(30,58,95,.18);
  overflow: hidden;
}
.eq-head::after {
  content: ''; position: absolute; right: -34px; top: -34px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,200,122,.28), rgba(232,200,122,0) 70%);
  pointer-events: none;
}
.eq-avatar {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; border-radius: 13px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(232,200,122,.45);
}
.eq-head-body { flex: 1; min-width: 0; }
.eq-head-name { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.eq-head-desc { color: #C7D3E0; font-size: 12px; margin-top: 3px; line-height: 1.4; }
.eq-reset {
  flex: none; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #E8EFF6;
  font-size: 12px; padding: 7px 12px; border-radius: 9px; cursor: pointer;
}
.eq-reset:active { background: rgba(255,255,255,.2); }

/* ===================== ② 说明条 ===================== */
.eq-intro {
  margin: 0 14px 14px; padding: 14px 15px;
  border-radius: 14px; background: var(--eq-soft);
  border: 1px solid var(--eq-line);
}
.eq-intro-t { font-size: 15px; font-weight: 700; color: var(--eq-navy); }
.eq-intro-s { font-size: 12.5px; color: var(--eq-sub); line-height: 1.65; margin-top: 6px; }
.eq-intro-s b { color: var(--eq-ink); }

/* ===================== ③ 问卷 ===================== */
.eq-group { margin: 0 14px 15px; }
.eq-group-t {
  font-size: 12px; font-weight: 700; color: var(--eq-navy);
  letter-spacing: .6px; margin-bottom: 9px;
  padding-left: 9px; border-left: 3px solid var(--eq-gold-lt);
}
.eq-q {
  background: #fff; border: 1px solid var(--eq-line);
  border-radius: 13px; padding: 13px 13px 11px; margin-bottom: 10px;
}
.eq-q-t { font-size: 14px; font-weight: 600; color: var(--eq-ink); line-height: 1.45; }
.eq-q-multi {
  display: inline-block; margin-left: 7px; padding: 1px 7px;
  font-size: 10.5px; font-weight: 500; color: var(--eq-gold);
  background: #FCF6E6; border: 1px solid #EEDCB2; border-radius: 20px;
  vertical-align: 1px;
}
.eq-q-h { font-size: 11.5px; color: var(--eq-sub); margin-top: 5px; line-height: 1.5; }
.eq-opts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.eq-opt {
  flex: 1 1 auto; min-width: calc(50% - 4px);
  text-align: left; cursor: pointer;
  padding: 9px 11px; border-radius: 10px;
  border: 1px solid var(--eq-line); background: #FCFAF7;
  color: #4A3B2E; font-size: 12.5px; line-height: 1.4;
  transition: all .14s ease;
}
.eq-opt:active { transform: scale(.985); }
.eq-opt.on {
  border-color: var(--eq-navy);
  background: #EEF3F9;
  color: var(--eq-navy);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--eq-navy);
}
.eq-note {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--eq-line); border-radius: 12px;
  padding: 11px 12px; font-size: 13px; line-height: 1.6;
  color: var(--eq-ink); background: #fff; resize: vertical;
  font-family: inherit;
}
.eq-note:focus { outline: none; border-color: var(--eq-navy-2); }
.eq-submit { margin: 4px 14px 20px; text-align: center; }
.eq-go {
  width: 100%; padding: 14px; border: none; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary, #f95901), #d94a00);
  color: #fff; font-size: 15.5px; font-weight: 700; letter-spacing: .5px;
  cursor: pointer; box-shadow: 0 6px 16px rgba(249,89,1,.26);
}
.eq-go:active { transform: translateY(1px); }
.eq-go-tip { display: block; margin-top: 9px; font-size: 11.5px; color: var(--eq-sub); }

/* ===================== ④ 等待（渐近进度条，不报假百分比） ===================== */
.eq-wait {
  margin: 0 14px 16px; padding: 20px 16px; text-align: center;
  background: #fff; border: 1px solid var(--eq-line); border-radius: 16px;
}
.eq-wait-t { font-size: 15px; font-weight: 700; color: var(--eq-navy); }
.eq-wait-s { font-size: 12px; color: var(--eq-sub); line-height: 1.6; margin-top: 7px; }
.eq-bar {
  height: 6px; border-radius: 6px; background: #EFE7DC;
  margin: 16px auto 10px; max-width: 320px; overflow: hidden;
}
.eq-bar > i {
  display: block; height: 100%; width: 5%;
  background: linear-gradient(90deg, var(--eq-gold-lt), var(--eq-gold));
  border-radius: 6px; transition: width .45s ease;
}
.eq-wait-step { font-size: 11.5px; color: var(--eq-sub); min-height: 16px; }

/* ===================== ⑤ 结果卡 ===================== */
.eq-card {
  position: relative;                  /* ① */
  margin: 0 14px 16px; background: #fff;
  border: 1px solid var(--eq-line); border-radius: 16px;
  overflow: hidden;
}
.eq-card-bd { padding: 4px 15px 16px; }

/* 章节色条块 —— 报告骨架固定，做成视觉锚点后用户扫一眼就抓住结构 */
.eq-sec {
  display: flex; align-items: center; gap: 9px;
  margin: 20px 0 11px; padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #EEF3F9, #FBF8F3);
  border-left: 4px solid var(--eq-navy);
}
.eq-sec > i {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--eq-gold);
}
.eq-sec > span { font-size: 14.5px; font-weight: 700; color: var(--eq-navy); }

.eq-card-bd p { font-size: 13.5px; line-height: 1.78; color: #3D3128; margin: 9px 0; }
.eq-card-bd h4 { font-size: 14px; color: var(--eq-ink); margin: 15px 0 7px; }
.eq-card-bd ul, .eq-card-bd ol { margin: 8px 0; padding-left: 20px; }
.eq-card-bd li { font-size: 13.5px; line-height: 1.75; color: #3D3128; margin: 5px 0; }
.eq-card-bd hr { border: none; border-top: 1px dashed var(--eq-line); margin: 16px 0; }
.eq-card-bd b { color: #1F1710; }
.eq-card-bd code {
  font-size: 12.5px; background: var(--eq-soft);
  padding: 1px 5px; border-radius: 5px; color: #8A5A12;
}

/* 风险三档（与财务顾问同一套风险语义） */
.eq-risk {
  padding: 9px 11px 9px 12px; border-radius: 9px; margin: 8px 0 !important;
  font-size: 13px !important; line-height: 1.7 !important;
  border-left: 4px solid; background: #FBF9F6;
}
.eq-risk.lv3 { border-color: #D2402E; background: #FDF3F1; color: #7A2A1D; }
.eq-risk.lv2 { border-color: #D99A22; background: #FDF8EE; color: #7A5716; }
.eq-risk.lv1 { border-color: #6E8AA8; background: #F3F6F9; color: #40566C; }

/* 表格 —— 手机上**保留最小宽度**（6 列表格硬压会变成"股 东"这样一个字一行，更难看），
   代价是要横向滑动 → 所以用 sticky 的 ::before 常驻提示"左右滑动"（纯 CSS，不动 DOM）。
   桌面端列宽够，直接 nowrap 对齐。 */
.eq-tablewrap { overflow-x: auto; margin: 11px 0; -webkit-overflow-scrolling: touch; }
.eq-tablewrap table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 12.5px; }
.eq-tablewrap th {
  background: var(--eq-navy); color: #fff; font-weight: 600;
  padding: 8px 10px; text-align: left;
}
.eq-tablewrap td {
  padding: 8px 10px; border-bottom: 1px solid var(--eq-line);
  color: #3D3128; font-variant-numeric: tabular-nums;   /* ③ */
}
.eq-tablewrap tr:nth-child(even) td { background: #FCFAF7; }

.eq-caret {
  display: inline-block; width: 7px; height: 15px; margin-left: 2px;
  background: var(--eq-gold); vertical-align: -2px;
  animation: eq-blink 1s steps(2, start) infinite;
}
@keyframes eq-blink { to { opacity: 0; } }

/* ===================== ⑥ 架构图 ===================== */
.eq-chart { margin: 0 0 14px; padding: 0 15px 10px; }
.eq-chart-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 15px 8px;
}
.eq-chart-hd .eq-chart-ico {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #FCF6E6; border: 1px solid #EEDCB2; font-size: 14px;
}
.eq-chart-title { font-size: 14.5px; font-weight: 700; color: var(--eq-navy); }
.eq-chart-note { font-size: 11.5px; color: var(--eq-sub); padding: 0 15px 8px; line-height: 1.6; }
.eq-chart-canvas {
  margin: 2px 15px 8px; border: 1px solid var(--eq-line);
  border-radius: 12px; overflow: hidden; background: #fff;
}
.eq-chart-canvas canvas { display: block; width: 100%; height: auto; }
.eq-chart-act { display: flex; gap: 8px; padding: 6px 15px 4px; flex-wrap: wrap; }
.eq-act {
  flex: 1 1 auto; padding: 10px 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--eq-line); background: #FCFAF7;
  color: var(--eq-navy); font-size: 12.5px; font-weight: 600;
}
.eq-act.primary { background: var(--eq-navy); color: #fff; border-color: var(--eq-navy); }
.eq-act:active { transform: scale(.99); }
.eq-holders { margin: 8px 15px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.eq-holders table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 12px; }
.eq-holders th { background: var(--eq-soft); color: var(--eq-navy); font-weight: 600; padding: 7px 9px; text-align: left; }
.eq-holders td { padding: 7px 9px; border-bottom: 1px solid var(--eq-line); font-variant-numeric: tabular-nums; }

/* 横向滚动提示：position:sticky + left:0 让它**不跟着滑走**（纯 CSS，不需要改 DOM 结构） */
@media (max-width: 559px) {
  .eq-tablewrap::before,
  .eq-holders::before {
    content: '← 左右滑动看全部 →';
    position: sticky; left: 0; display: block; width: 100%;
    font-size: 11px; color: #A8998A; padding: 4px 2px 6px;
  }
}

/* ===================== ⑦ 追问 ===================== */
.eq-ask { margin: 0 14px 12px; }
.eq-ask-hd {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--eq-navy);
  padding: 6px 2px 10px;
}
.eq-ask-line { flex: 1; height: 1px; background: var(--eq-line); }
.eq-quick { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.eq-quick-b {
  padding: 8px 11px; border-radius: 20px; cursor: pointer;
  border: 1px solid #E3D6C2; background: #fff;
  color: #5A4A38; font-size: 12px; line-height: 1.3;
}
.eq-quick-b:active { background: var(--eq-soft); }
.eq-msg { margin-bottom: 12px; display: flex; }
.eq-msg.me { justify-content: flex-end; }
.eq-bubble {
  max-width: 88%; padding: 11px 13px; border-radius: 13px;
  font-size: 13.5px; line-height: 1.72;
}
.eq-msg.me .eq-bubble {
  background: var(--eq-navy); color: #fff;
  border-bottom-right-radius: 5px;
}
.eq-msg.ai .eq-bubble {
  background: #fff; border: 1px solid var(--eq-line);
  color: #3D3128; border-bottom-left-radius: 5px;
}
.eq-msg.ai .eq-bubble p { margin: 6px 0; font-size: 13.5px; }
.eq-msg.ai .eq-bubble ul, .eq-msg.ai .eq-bubble ol { margin: 6px 0; padding-left: 18px; }
.eq-msg.ai .eq-bubble li { font-size: 13.5px; line-height: 1.7; }
.eq-msg.ai .eq-bubble h4 { font-size: 13.5px; margin: 10px 0 5px; color: var(--eq-navy); }
.eq-msg.ai .eq-bubble .eq-sec { margin: 10px 0 7px; padding: 6px 9px; }
.eq-msg.ai .eq-bubble .eq-sec > span { font-size: 13px; }
.eq-inline-err { color: #C0392B; font-size: 12.5px; margin-top: 6px; }

.eq-composer {
  position: sticky; bottom: 0; z-index: 5;
  margin: 0 14px 14px; padding: 10px 0 0;
  background: linear-gradient(180deg, rgba(253,251,248,0), var(--eq-bg) 34%);
}
.eq-composer-row { display: flex; gap: 8px; align-items: flex-end; }
.eq-input {
  flex: 1; box-sizing: border-box; resize: none;
  border: 1px solid var(--eq-line); border-radius: 12px;
  padding: 11px 12px; font-size: 13.5px; line-height: 1.5;
  font-family: inherit; color: var(--eq-ink); background: #fff;
  max-height: 120px;
}
.eq-input:focus { outline: none; border-color: var(--eq-navy-2); }
.eq-send {
  flex: none; padding: 11px 18px; border: none; border-radius: 12px;
  background: var(--eq-navy); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.eq-send:disabled { opacity: .5; }
.eq-tip { font-size: 11px; color: #A8998A; margin-top: 7px; text-align: center; }

/* ===================== ⑧ 免责 / 错误 / toast ===================== */
.eq-disc { margin: 4px 14px 14px; padding: 12px 13px; border-radius: 12px; background: var(--eq-soft); }
.eq-disc-line {
  display: flex; gap: 8px; font-size: 11.5px; color: var(--eq-sub);
  line-height: 1.65; margin: 4px 0;
}
.eq-disc-line b { color: #5A4A38; }
.eq-err {
  display: none; margin: 0 14px 14px; padding: 11px 13px;
  border-radius: 11px; background: #FDF3F1; border: 1px solid #F1C9C1;
  color: #A5342A; font-size: 13px; line-height: 1.6;
}
.eq-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 10px);
  background: rgba(36,30,24,.93); color: #fff;
  padding: 10px 18px; border-radius: 22px; font-size: 13px;
  opacity: 0; transition: all .22s ease; pointer-events: none; z-index: 60;
  max-width: 80vw; text-align: center;
}
.eq-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 长按保存浮层（iOS 用） */
.eq-shot {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(20,16,12,.9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 20px;
}
.eq-shot img {
  max-width: 100%; max-height: 72vh; border-radius: 10px;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.eq-shot-tip { color: #F0E7DA; font-size: 13.5px; text-align: center; line-height: 1.6; }
.eq-shot-tip b { color: var(--eq-gold-lt); }
.eq-shot-close {
  margin-top: 4px; padding: 10px 26px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,.4); background: transparent;
  color: #fff; font-size: 14px; cursor: pointer;
}

/* ===================== ⑨ 平板 / 桌面 ===================== */
@media (min-width: 768px) {
  .eq-head, .eq-intro, .eq-group, .eq-submit, .eq-wait, .eq-card,
  .eq-ask, .eq-composer, .eq-disc, .eq-err { max-width: 680px; margin-left: auto; margin-right: auto; }
  .eq-opt { min-width: calc(33.333% - 5px); }
  .eq-bubble { max-width: 76%; }
}

/* 宽屏才锁表格最小宽度（手机上锁 → 只能看到半截表，用户不知道右边还有列） */
@media (min-width: 560px) {
  .eq-tablewrap table { min-width: 420px; }
  .eq-tablewrap th { white-space: nowrap; }
  .eq-holders table { min-width: 460px; }
  .eq-holders th { white-space: nowrap; }
}

/* ===========================================================================
 * V2 工具箱（2026-09-17 · 重做）
 * ---------------------------------------------------------------------------
 * 为什么重做：旧版只有「8 道题 → 长报告 + 架构图」一条路，老板打开就没兴趣。
 *   调研把病根钉死了：① 0 雇员公司占比已达 52.7%，而旧版第一句就是"跟人合伙怎么分"
 *   → 在门口筛掉一半以上用户；② 问的是"打算怎么分"，而痛点是"已经分了出事了"；
 *   ③ 全篇没有一个数字。
 *   → V2 首屏 = 6 个入口（5 个不需要有合伙人），点进去填几个数**立刻出金额**。
 *
 * 本节样式守三条（见文件头的既有约束，一并适用）：
 *   ① 含 absolute 装饰的容器自带 position: relative；
 *   ② 用 hidden 控制的元素补 [hidden]{display:none!important}（文件头已有全局兜底）；
 *   ③ 数字等宽 tabular-nums，否则大数字与百分比列会显得业余。
 * 🔴 品牌橙仍是主行动按钮的专用色，本节的藏青/铜金只做板块性格。
 * =========================================================================== */

/* 手机端底部必须给固定 TabBar 让位（实测 74px 高；旧版 28px 会被压住） */
#sub-equity { padding-bottom: 96px; }

/* ---------- 首屏：说明 + 状态卡 ---------- */
.eqv-hero {
  margin: 2px 0 14px; padding: 16px 16px 15px;
  background: linear-gradient(160deg, #F4F7FB 0%, #FBF9F5 100%);
  border: 1px solid #E4EAF2; border-radius: 16px;
  position: relative; overflow: hidden;
}
.eqv-hero::after {
  content: ''; position: absolute; right: -46px; top: -52px; width: 132px; height: 132px;
  border-radius: 50%; background: radial-gradient(circle, rgba(184,134,11,.14), rgba(184,134,11,0) 70%);
  pointer-events: none;
}
.eqv-hero-t { font-size: 15px; font-weight: 700; color: var(--eq-navy); letter-spacing: .2px; }
.eqv-hero-s { margin-top: 7px; font-size: 12.5px; line-height: 1.75; color: var(--eq-sub); }
.eqv-hero-s b { color: var(--eq-navy); }

/* 存档状态卡：用户"回来"的理由 */
.eqv-last {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 12px; padding: 11px 13px; cursor: pointer;
  background: #FFFDF7; border: 1px solid #EEDCB2; border-radius: 13px;
  transition: transform .14s, box-shadow .14s;
}
.eqv-last:active { transform: scale(.985); }
.eqv-last-ico { font-size: 19px; line-height: 1; }
.eqv-last-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eqv-last-body b { font-size: 13px; font-weight: 600; color: var(--eq-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eqv-last-body em { font-size: 11.5px; font-style: normal; color: var(--eq-gold); }
.eqv-last-go { color: #C8B79C; font-size: 17px; }

/* ---------- 主卡：覆盖全量老板的那件事 ---------- */
.eqv-main {
  position: relative; overflow: hidden; cursor: pointer;
  margin: 0 0 14px; padding: 17px 16px 16px;
  border-radius: 17px; color: #fff;
  background: linear-gradient(155deg, #24446E 0%, #1B3355 100%);
  box-shadow: 0 6px 18px rgba(30,58,95,.20);
  transition: transform .14s;
}
.eqv-main:active { transform: scale(.985); }
.eqv-main::after {
  content: ''; position: absolute; right: -34px; bottom: -44px; width: 148px; height: 148px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,200,122,.26), rgba(232,200,122,0) 70%);
  pointer-events: none;
}
.eqv-main-tag {
  display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10.5px;
  background: rgba(232,200,122,.20); color: var(--eq-gold-lt); border: 1px solid rgba(232,200,122,.38);
}
.eqv-main-t { margin-top: 9px; font-size: 18px; font-weight: 700; line-height: 1.42; letter-spacing: .2px; }
.eqv-main-s { margin-top: 8px; font-size: 12.5px; line-height: 1.72; color: rgba(255,255,255,.80); }
.eqv-main-s b { color: #fff; font-weight: 600; }
.eqv-main-go {
  display: inline-block; margin-top: 13px; padding: 8px 17px; border-radius: 20px;
  background: var(--primary, #f95901); color: #fff; font-size: 13px; font-weight: 600;
}
/* ⚠️ 主按钮用品牌橙：板块要有性格，主色不许动 */

/* ---------- 工具网格 ---------- */
.eqv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eqv-card {
  position: relative; cursor: pointer; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
  padding: 13px 12px 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--eq-line);
  box-shadow: 0 1px 3px rgba(58,42,26,.045);
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.eqv-card:active { transform: scale(.975); border-color: #DCCDB6; }
.eqv-card-ico { font-size: 20px; line-height: 1.1; }
.eqv-card-n { font-size: 13.5px; font-weight: 650; color: var(--eq-ink); line-height: 1.35; }
.eqv-card-s { font-size: 11.5px; color: var(--eq-sub); line-height: 1.45; }

/* 深入选项：原功能的完整方案 */
.eqv-deep {
  display: flex; flex-direction: column; gap: 3px; cursor: pointer;
  margin-top: 14px; padding: 15px 15px 14px; border-radius: 15px;
  background: linear-gradient(165deg, #FCFAF6, #F6F1E9);
  border: 1px dashed #DCCDB6;
  transition: transform .14s;
}
.eqv-deep:active { transform: scale(.985); }
.eqv-deep-t { font-size: 14px; font-weight: 650; color: var(--eq-navy); }
.eqv-deep-s { font-size: 12px; line-height: 1.68; color: var(--eq-sub); }
.eqv-deep-go { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--eq-gold); }

/* ---------- 工具页 / 结果页的返回 ---------- */
.eqv-back {
  display: inline-block; cursor: pointer; user-select: none;
  margin: 0 0 12px; padding: 4px 2px; font-size: 13px; color: var(--eq-sub);
}
.eqv-back:active { color: var(--eq-navy); }

.eqv-thd { margin-bottom: 15px; }
.eqv-thd-ico { font-size: 25px; line-height: 1.1; }
.eqv-thd-t { margin-top: 6px; font-size: 19px; font-weight: 700; color: var(--eq-navy); line-height: 1.4; }
.eqv-thd-s { margin-top: 8px; font-size: 12.5px; line-height: 1.78; color: var(--eq-sub); }

/* ---------- 表单 ---------- */
.eqv-form { display: flex; flex-direction: column; gap: 15px; }
.eqv-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eqv-fl { font-size: 13px; font-weight: 600; color: var(--eq-ink); line-height: 1.4; }
.eqv-fopt {
  margin-left: 6px; padding: 1px 6px; border-radius: 8px; font-size: 10.5px; font-weight: 500;
  color: var(--eq-sub); background: var(--eq-soft); border: 1px solid var(--eq-line);
}
.eqv-fh { font-size: 11.5px; line-height: 1.6; color: #A8998A; }
.eqv-inwrap { position: relative; display: flex; align-items: center; }
.eqv-in {
  width: 100%; box-sizing: border-box; min-width: 0;
  padding: 11px 13px; font-size: 14.5px; color: var(--eq-ink);
  background: #fff; border: 1px solid #E3D8C8; border-radius: 11px;
  font-variant-numeric: tabular-nums;   /* ③ */
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.eqv-in:focus {
  outline: none; border-color: var(--eq-navy-2);
  box-shadow: 0 0 0 3px rgba(44,80,121,.10);
}
.eqv-in::placeholder { color: #C4B7A6; }
.eqv-inwrap .eqv-in { padding-right: 52px; }
.eqv-unit {
  position: absolute; right: 13px; font-size: 12px; color: #A8998A; pointer-events: none;
}
.eqv-sel {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A8998A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}

/* 动态名单（合伙人 / 股东） */
.eqv-people { display: flex; flex-direction: column; gap: 8px; }
.eqv-prow {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.25fr) 30px;
  gap: 6px; align-items: center;
  padding: 8px; border-radius: 12px; background: var(--eq-soft); border: 1px solid var(--eq-line);
}
.eqv-pc {
  width: 100%; box-sizing: border-box; min-width: 0;
  padding: 8px 9px; font-size: 13px; color: var(--eq-ink);
  background: #fff; border: 1px solid #E3D8C8; border-radius: 9px;
  font-variant-numeric: tabular-nums;
  -webkit-appearance: none; appearance: none;
}
.eqv-pc:focus { outline: none; border-color: var(--eq-navy-2); box-shadow: 0 0 0 3px rgba(44,80,121,.10); }
.eqv-pdel {
  width: 30px; height: 30px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--eq-line); background: #fff; color: #A8998A;
  font-size: 12px; line-height: 1; padding: 0;
}
.eqv-pdel:active { background: #FDF3F1; color: #C0392B; }
.eqv-add {
  align-self: flex-start; cursor: pointer; padding: 7px 13px; border-radius: 10px;
  border: 1px dashed #D6C6AC; background: #fff; color: var(--eq-gold);
  font-size: 12.5px; font-weight: 600;
}
.eqv-add:active { background: #FDF8EE; }

/* 主行动 */
.eqv-actions { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 18px; }
.eqv-go {
  width: 100%; cursor: pointer; padding: 14px 18px; border: none; border-radius: 13px;
  background: var(--primary, #f95901); color: #fff; font-size: 15.5px; font-weight: 700;
  letter-spacing: .3px; box-shadow: 0 4px 14px rgba(249,89,1,.24);
  transition: transform .12s, opacity .2s;
}
.eqv-go:active { transform: scale(.985); }
.eqv-go:disabled { opacity: .62; box-shadow: none; cursor: default; }
.eqv-go-tip { font-size: 11.5px; color: #A8998A; }
.eqv-ghost {
  cursor: pointer; padding: 10px 18px; border-radius: 11px;
  border: 1px solid var(--eq-line); background: #fff;
  color: var(--eq-sub); font-size: 13px;
}
.eqv-ghost:active { background: var(--eq-soft); }

.eqv-err, .eqv-errbox {
  margin: 13px 0; padding: 12px 14px; border-radius: 12px;
  background: #FDF3F1; border: 1px solid #F3D6CF; color: #B03A2E;
  font-size: 12.5px; line-height: 1.65;
}
.eqv-tip-line { margin-top: 15px; font-size: 11.5px; line-height: 1.7; color: #A8998A; }

/* ---------- 结果页 ---------- */
.eqv-res-hd {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; font-size: 15px; font-weight: 650; color: var(--eq-navy);
}
.eqv-res { display: flex; flex-direction: column; gap: 13px; }

/* 大数字：本页的视觉主角（老板只想知道那个数） */
.eqv-num {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 22px 16px 19px; border-radius: 17px; text-align: center;
  background: linear-gradient(158deg, #24446E 0%, #1B3355 100%);
  box-shadow: 0 7px 20px rgba(30,58,95,.20);
}
.eqv-num::after {
  content: ''; position: absolute; left: -40px; top: -50px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,200,122,.22), rgba(232,200,122,0) 70%);
  pointer-events: none;
}
.eqv-num-l { font-size: 12px; color: rgba(255,255,255,.74); letter-spacing: .3px; }
.eqv-num-v {
  font-size: 30px; font-weight: 800; color: #fff; line-height: 1.22;
  letter-spacing: -.4px; font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.eqv-num-s { font-size: 12.5px; line-height: 1.68; color: rgba(255,255,255,.80); }
.eqv-num-s b { color: var(--eq-gold-lt); }

/* 算式 / 依据 */
.eqv-steps {
  padding: 13px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--eq-line);
}
.eqv-steps-t {
  font-size: 12.5px; font-weight: 650; color: var(--eq-navy);
  margin-bottom: 9px; padding-left: 9px; border-left: 3px solid var(--eq-gold);
  line-height: 1.3;
}
.eqv-steps ul { margin: 0; padding-left: 18px; }
.eqv-steps li { font-size: 12.5px; line-height: 1.8; color: #3D3128; font-variant-numeric: tabular-nums; }
.eqv-steps li b { color: var(--eq-navy); }
.eqv-steprow { padding: 9px 0; border-top: 1px dashed var(--eq-line); }
.eqv-steprow:first-child { border-top: none; padding-top: 0; }
.eqv-steprow > b { font-size: 12.5px; color: var(--eq-ink); }
.eqv-note { margin-top: 6px; font-size: 11.5px; line-height: 1.65; color: #A8998A; }

/* 提醒：红 / 琥珀 / 中性三档，首屏红色最多 3 条 */
.eqv-warns { display: flex; flex-direction: column; gap: 9px; }
.eqv-warn {
  padding: 12px 14px; border-radius: 13px;
  background: #FFFCF3; border: 1px solid #F0E2BE; border-left: 3px solid var(--eq-gold);
  font-size: 12.5px; line-height: 1.78; color: #4A3E2E;
}
.eqv-warn b { color: var(--eq-navy); }
.eqv-warn:first-child {
  background: #FDF5F3; border-color: #F2D9D2; border-left-color: #C0392B;
}

/* AI 解释区 */
.eqv-explain {
  margin-top: 15px; border-radius: 15px; overflow: hidden;
  border: 1px solid #E4EAF2; background: #fff;
}
.eqv-explain-hd {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; font-size: 13px; font-weight: 650; color: var(--eq-navy);
  background: linear-gradient(120deg, #F4F7FB, #FBF9F5);
  border-bottom: 1px solid #EDF1F7;
}
.eqv-explain-bd { padding: 13px 14px 15px; font-size: 13.5px; line-height: 1.86; color: #3D3128; }
.eqv-explain-bd h4 { margin: 13px 0 7px; font-size: 14px; font-weight: 650; color: var(--eq-navy); }
.eqv-explain-bd h4:first-child { margin-top: 0; }
.eqv-explain-bd ul, .eqv-explain-bd ol { margin: 7px 0; padding-left: 20px; }
.eqv-explain-bd li { margin: 3px 0; }
.eqv-explain-bd p { margin: 7px 0; }
.eqv-explain-bd b { color: var(--eq-navy); }
.eqv-inline-err {
  margin-top: 8px; padding: 8px 11px; border-radius: 9px;
  background: #FDF3F1; border: 1px solid #F3D6CF; color: #B03A2E; font-size: 12px;
}

/* 加载点（顾问正在看你的情况） */
.eq-dots { display: inline-flex; gap: 4px; align-items: center; }
.eq-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--eq-navy-2);
  animation: eqvDot 1.1s infinite ease-in-out;
}
.eq-dots i:nth-child(2) { animation-delay: .16s; }
.eq-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes eqvDot {
  0%, 80%, 100% { transform: scale(.6); opacity: .45; }
  40% { transform: scale(1); opacity: 1; }
}

/* ---------- 375px 窄屏：名单行改成两行，避免挤成一条缝 ---------- */
@media (max-width: 420px) {
  .eqv-prow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px; }
  .eqv-prow .eqv-pc:nth-child(3) { grid-column: 1 / 3; }
  .eqv-prow .eqv-pdel { grid-column: 3; grid-row: 1; }
  .eqv-grid { gap: 9px; }
  .eqv-num-v { font-size: 27px; }
  .eqv-main-t { font-size: 17px; }
}

/* ---------- 来源校验黄条（2026-09-17 补）----------
 * 用户质问过"我没填过比例，这比例哪来的"。提示词里已写死"不许编比例"，
 * 但模型不可靠 → 流完之后再扫一遍：凡是既非程序算出、也非用户填写、
 * 也非法定阈值/税率的百分比，一律在这里明示为"通用示例"。
 * 🔴 这是兜底，不是装饰：没有它，用户会把编出来的比例当真。 */
.eqv-src-warn {
  margin: 0 0 13px; padding: 13px 14px; border-radius: 14px;
  background: #FFFBF2; border: 1px solid #F0DDB4; border-left: 4px solid #D99A00;
  font-size: 12.5px; line-height: 1.78; color: #5A4A2E;
}
.eqv-src-warn b { color: #A86A00; }
.eqv-src-list {
  margin: 7px 0 8px; font-size: 14px; font-weight: 700; color: #B03A2E;
  font-variant-numeric: tabular-nums; letter-spacing: .3px;
}
.eqv-src-act { margin-top: 10px; }
.eqv-src-btn {
  cursor: pointer; padding: 9px 15px; border-radius: 11px;
  border: 1px solid #E0C68C; background: #fff; color: #A86A00;
  font-size: 12.5px; font-weight: 600;
}
.eqv-src-btn:active { background: #FFF6E4; }
