/* ============ 儿推有方 · 界面样式（品牌色：宝蓝 + 青柠绿，手机优先） ============ */
:root {
  /* 品牌 */
  --brand: #1f5fbf;
  --brand-deep: #164a99;
  --brand-ink: #0f3570;
  --brand-soft: #ebf2fc;
  --brand-tint: #d5e3f8;
  --lime: #93c23a;
  --lime-deep: #4f7d10;
  --lime-soft: #eff6df;
  /* 中性 */
  --bg: #f3f6fa;
  --card: #ffffff;
  --inset: #f6f8fb;
  --ink: #1b2a3d;
  --ink-2: #4a5a6e;
  --muted: #8392a5;
  --line: #e4eaf2;
  --line-2: #d5deea;
  /* 语义 */
  --green: #4f7d10;
  --green-soft: #eef6e1;
  --danger: #c0392f;
  --danger-deep: #9f2b23;
  --danger-soft: #fdeceb;
  --amber: #8f5f06;
  --amber-soft: #fff6df;
  --amber-line: #f1dfac;
  --hot: #b5452a;  --hot-soft: #fdebe4;
  --cold: #1f5fa8; --cold-soft: #e6effa;
  --mix: #66489a;  --mix-soft: #efe9f8;
  /* 形状 */
  --r-card: 18px;
  --r-ctl: 12px;
  --shadow: 0 1px 2px rgba(20, 45, 80, .04), 0 6px 18px rgba(20, 45, 80, .06);
  --shadow-lift: 0 10px 30px rgba(20, 60, 120, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #e9eef5;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.phone {
  max-width: 480px; min-height: 100vh; margin: 0 auto;
  background: var(--bg);
  display: flex; flex-direction: column; position: relative;
  box-shadow: 0 0 0 1px rgba(20, 45, 80, .05), 0 20px 60px rgba(20, 45, 80, .10);
}
main { flex: 1; padding: 16px 16px 104px; }
b, strong { font-weight: 600; }

/* ---------- 图标 ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.tile {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.tile .ic { width: 17px; height: 17px; }
.spin {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 头部 ---------- */
.app-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 58px;
}
.app-header:empty { display: none; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 2px 6px rgba(31, 95, 191, .25); }
.brand .bn { display: flex; flex-direction: column; line-height: 1.2; }
.brand .bn b { font-size: 16.5px; font-weight: 700; color: var(--brand-ink); letter-spacing: 1px; }
.brand .bn small { font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.header-user { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); text-align: right; }
.header-user .who { display: flex; flex-direction: column; line-height: 1.25; }
.header-user .who small { color: var(--muted); font-size: 11px; }
.header-user a {
  color: var(--brand); text-decoration: none; font-weight: 600; font-size: 12px;
  padding: 5px 10px; border-radius: 99px; background: var(--brand-soft);
}
.back-btn {
  border: none; background: none; color: var(--brand); font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 6px 8px 6px 0; display: inline-flex; align-items: center; gap: 2px; font-family: inherit;
}

/* ---------- 卡片 / 按钮 ---------- */
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; border: 1px solid rgba(20, 45, 80, .03); }
.card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.card-head h3 { margin-bottom: 0; }
.sec-no { color: var(--muted); font-weight: 500; font-size: 12.5px; margin-right: -4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: var(--r-ctl); cursor: pointer; font-size: 15px; font-weight: 600; font-family: inherit;
  padding: 12px 18px; transition: transform .06s ease, opacity .15s, background .15s;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(31, 95, 191, .25); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--brand-tint); }
.btn-outline:hover { border-color: var(--brand); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.row { display: flex; gap: 10px; }
.row > .btn { flex: 1; }
.muted { color: var(--muted); font-size: 13px; }
.section-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 4px 10px; letter-spacing: .5px; }

/* ---------- 徽章 ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.badge .ic { width: 13px; height: 13px; }
.badge.regular { background: #eef1f5; color: #677587; }
.badge.silver { background: #e9edf3; color: #4f5f76; }
.badge.gold { background: #fbefcf; color: #7a5410; }
.badge.diamond { background: #e3ebfb; color: #2b4f9a; }
.badge.ok { background: var(--green-soft); color: var(--green); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }

/* ---------- 登录页 ---------- */
.login-hero { text-align: center; padding: 34px 0 22px; }
.login-hero .logo-big { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 26px; display: block; box-shadow: 0 12px 30px rgba(31, 95, 191, .30); }
.login-hero h1 { font-size: 23px; font-weight: 700; color: var(--brand-ink); letter-spacing: 3px; margin-bottom: 4px; }
.login-hero .en { font-size: 11px; color: var(--muted); letter-spacing: 3px; margin-bottom: 8px; }
.founder-hero {
  position: relative; overflow: hidden;
  background: var(--brand); color: #fff; border-radius: 20px; padding: 20px 18px 18px;
  margin-bottom: 20px; cursor: pointer; box-shadow: var(--shadow-lift);
}
.founder-hero::after {
  content: ''; position: absolute; right: -62px; top: -70px; width: 160px; height: 160px; border-radius: 50%;
  border: 18px solid rgba(147, 194, 58, .28);
}
.founder-hero .t1 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; position: relative; }
.founder-hero .t2 { font-size: 13.5px; opacity: .88; margin-top: 6px; position: relative; max-width: 280px; }
.founder-hero .go {
  position: relative; display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  background: var(--lime); color: #1f3a05; border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 14px;
}
.account-group { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.account-group .gh { font-size: 12.5px; color: var(--muted); padding: 10px 16px 4px; font-weight: 600; }
.account-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; cursor: pointer; border-top: 1px solid var(--line);
}
.account-group .gh + .account-card { border-top: none; }
.account-card:hover { background: var(--inset); }
.account-card .who { display: flex; align-items: center; gap: 10px; }
.account-card .av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.account-card .name { font-weight: 600; font-size: 15px; }
.account-card .role { font-size: 12px; color: var(--muted); }

/* ---------- 工作台 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 22px; font-weight: 700; color: var(--brand-ink); letter-spacing: -.3px; }
.stat .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.quick { display: flex; gap: 10px; margin-bottom: 14px; }
.quick .btn { flex: 1; padding: 14px; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.list-row:last-child { border-bottom: none; }
.list-row .main { flex: 1; min-width: 0; }
.list-row .t1 { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.list-row .t2 { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.list-row .side { text-align: right; font-size: 12.5px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.empty { text-align: center; color: var(--muted); padding: 28px 10px; font-size: 13.5px; }

/* ---------- 搜索 / 表单 ---------- */
.search-box { position: relative; margin-bottom: 12px; }
.search-box input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-ctl); border: 1.5px solid var(--line);
  background: #fff; font-size: 15px; outline: none; font-family: inherit;
}
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: var(--r-ctl); border: 1.5px solid var(--line);
  font-size: 15px; background: #fff; outline: none; font-family: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 72px; resize: vertical; line-height: 1.6; }
::placeholder { color: #a9b5c4; }
.seg { display: inline-flex; background: #edf1f6; border-radius: 11px; padding: 3px; }
.seg span { padding: 7px 18px; border-radius: 9px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg span.on { background: #fff; color: var(--brand); font-weight: 700; box-shadow: 0 1px 4px rgba(20, 45, 80, .10); }

/* ---------- 体征选择 chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 13px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff;
  font-size: 13.5px; cursor: pointer; user-select: none; color: var(--ink-2); transition: all .12s;
}
.chip:hover { border-color: var(--brand-tint); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.mini-chips .gl { font-size: 12.5px; color: var(--ink-2); font-weight: 600; width: 100%; margin-top: 2px; }
.mini-chips .gl .hint { color: var(--muted); font-weight: 400; }
.mini-chips .chip { padding: 5px 12px; font-size: 13px; }
.temp-row { align-items: center; }
.temp-row .gl { width: auto; margin: 0 8px 0 0; }
.temp-row input { width: 100px; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-family: inherit; outline: none; }
.temp-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- 门店辨证向导 ---------- */
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.step-dot { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.step-dot .bar { height: 4px; border-radius: 4px; background: var(--line-2); margin-bottom: 6px; }
.step-dot.on .bar { background: var(--brand); }
.step-dot.on { color: var(--brand); font-weight: 600; }
.result-syndrome { font-size: 22px; font-weight: 700; color: var(--brand-ink); line-height: 1.35; }
.amber-box { background: var(--amber-soft); border: 1px solid var(--amber-line); border-radius: var(--r-ctl); padding: 12px 14px; font-size: 13.5px; color: var(--amber); }

/* ---------- 客户详情 ---------- */
.profile-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.balance-strip { display: flex; gap: 10px; margin-top: 14px; }
.balance-strip .b-item { flex: 1; background: var(--inset); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.balance-strip .b-item .v { font-weight: 700; font-size: 17px; color: var(--brand-ink); }
.balance-strip .b-item .k { font-size: 11.5px; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 13.5px; }
.info-grid .k { color: var(--muted); font-size: 12px; }
.allergy-warn { grid-column: 1 / -1; background: var(--danger-soft); color: var(--danger); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.rpt-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; }
.rpt-meta .k { color: var(--muted); }
.rpt-title { text-align: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.rpt-title .tt { font-size: 18px; font-weight: 700; color: var(--brand-ink); letter-spacing: 1px; }
.disclaim { font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; margin: 6px 4px 0; line-height: 1.7; }

/* ---------- 总部驾驶舱 ---------- */
.stats.admin { grid-template-columns: repeat(2, 1fr); }
.bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 13px; }
.bar-row .bar-label { flex: none; text-align: right; color: var(--ink-2); }
.bar-row .bar-track { flex: 1; background: var(--inset); border-radius: 99px; height: 12px; overflow: hidden; }
.bar-row .bar-fill { height: 100%; background: var(--brand); border-radius: 99px; }
.bar-row .bar-num { width: 26px; font-weight: 700; color: var(--brand-ink); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th, .mini-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; }
.mini-table th { color: var(--muted); font-weight: 600; font-size: 11.5px; }

/* ---------- 底部导航 ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 30;
  display: flex; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav:empty { display: none; }
.nav-item {
  flex: 1; text-align: center; font-size: 11.5px; color: var(--muted);
  cursor: pointer; text-decoration: none; padding: 4px 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.nav-item .ico { width: 44px; height: 28px; border-radius: 99px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.nav-item .ico .ic { width: 22px; height: 22px; }
.nav-item.on { color: var(--brand); font-weight: 700; }
.nav-item.on .ico { background: var(--brand-soft); }
.nav-item.center .ico {
  width: 50px; height: 50px; margin: -22px auto 0; border-radius: 50%;
  background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(31, 95, 191, .4); border: 3px solid #fff;
}
.nav-item.center .ico .ic { width: 24px; height: 24px; }

/* ---------- 弹窗 / Toast ---------- */
#modal-root .mask {
  position: fixed; inset: 0; background: rgba(15, 30, 55, .42); z-index: 50;
  display: flex; align-items: flex-end; justify-content: center;
}
#modal-root .sheet {
  background: var(--bg); width: 100%; max-width: 480px;
  border-radius: 22px 22px 0 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
  max-height: 86vh; overflow-y: auto;
}
#modal-root .sheet h3 { margin-bottom: 14px; font-size: 17px; font-weight: 700; }
#toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: rgba(15, 35, 65, .92); color: #fff; padding: 10px 20px; border-radius: 99px;
  font-size: 14px; z-index: 99; transition: transform .25s ease; max-width: 86vw; text-align: center;
}
#toast.show { transform: translateX(-50%) translateY(0); }
.amount-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.amount-chips .chip { font-size: 15px; padding: 9px 16px; font-weight: 600; }

/* ============ 辨证报告 ============ */
.fb-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px;
  border-radius: 99px; padding: 3px 10px; cursor: pointer; white-space: nowrap; font-family: inherit; flex: none;
}
.fb-btn:hover { color: var(--brand); border-color: var(--brand-tint); }
.safe-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--green-soft); color: var(--green);
  border: 1px solid #d6e9b8; border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 10px;
}
.safe-banner .ic { width: 18px; height: 18px; }
.safe-banner .sub { font-weight: 400; font-size: 12px; }
.note-list { margin-bottom: 12px; display: grid; gap: 8px; }
.note-item { display: flex; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow); }
.note-item .ic { color: var(--muted); margin-top: 2px; }
.note-item.strong { background: var(--amber-soft); color: #6d4805; box-shadow: none; border: 1px solid var(--amber-line); }
.note-item.strong .ic { color: var(--amber); }
.hero { padding: 18px 16px 16px; border-top: 4px solid var(--brand); }
.hero .eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.hero .concl { font-size: 22px; font-weight: 700; color: var(--brand-ink); line-height: 1.35; margin: 6px 0 12px; }
.hero .chips-line { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tagc { font-size: 12.5px; padding: 3px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.tagc.hot { background: var(--hot-soft); color: var(--hot); }
.tagc.cold { background: var(--cold-soft); color: var(--cold); }
.tagc.mix { background: var(--mix-soft); color: var(--mix); }
.tagc.plain { background: #eef1f5; color: var(--ink-2); font-weight: 500; }
.tagc.lime { background: var(--lime-soft); color: var(--lime-deep); }
.hero .why { font-size: 13.5px; color: var(--ink-2); background: var(--inset); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.hero .why b { color: var(--ink); }
.hero .heb { font-size: 13px; color: var(--muted); margin-top: 10px; }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; }
.hero-actions .btn { flex: 1; }
.tf-name { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.tf-basis { font-size: 12.5px; color: var(--muted); margin: 2px 0 6px; }
.tf-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lime-deep); background: var(--lime-soft); border-radius: 99px; padding: 3px 12px; margin-bottom: 10px; font-weight: 600; }
.tf-group { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px dashed var(--line); }
.tf-group .gl { width: 72px; flex: none; font-size: 12px; color: var(--muted); padding-top: 4px; }
.tf-group .pts { display: flex; flex-wrap: wrap; gap: 6px; }
.pt { font-size: 14px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); border-radius: 8px; padding: 3px 11px; }
.pt.opt { background: #fff; color: var(--ink-2); border: 1.5px dashed var(--line-2); font-weight: 500; }
.pt.emph { background: var(--brand); color: #fff; }
.small-list { padding-left: 18px; font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.small-list li { margin-bottom: 4px; }
.small-list li::marker { color: var(--brand-tint); }
.disc-line { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; }
.adv { font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.adv::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-tint); flex: none; margin-top: 8px; }
.adv:last-child { border-bottom: none; }
.adv.strong { font-weight: 600; color: var(--ink); }
.adv.strong::before { background: var(--brand); }
.adv.danger { color: var(--danger); font-weight: 600; background: var(--danger-soft); border-radius: 10px; padding: 9px 10px; margin: 4px 0; border-bottom: none; }
.adv.danger::before { background: var(--danger); }
.sup-item { display: flex; gap: 10px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sup-item:last-child { border-bottom: none; }
.sup-item .dot { width: 20px; height: 20px; border-radius: 6px; background: var(--lime-soft); color: var(--lime-deep); flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.sup-item .dot .ic { width: 13px; height: 13px; }
.sup-item .w { color: var(--muted); font-size: 12px; }
.kv2 { display: grid; grid-template-columns: 76px 1fr; gap: 8px 10px; font-size: 13.5px; }
.kv2 .k { color: var(--muted); font-size: 12.5px; }
details.fold { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); margin-bottom: 14px; }
details.fold > summary {
  list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary .grow { flex: 1; }
details.fold > summary .meta { font-size: 12px; color: var(--muted); font-weight: 400; }
details.fold > summary::after {
  content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s;
}
details.fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.fold .fold-body { padding: 0 16px 16px; }
.step { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.step:last-child { border-bottom: none; }
.step .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.parsed { display: flex; flex-wrap: wrap; gap: 6px; }
.parsed span { font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.parsed span.neg { background: #f0f2f5; color: #98a3b2; text-decoration: line-through; }
.red-big { background: var(--danger); color: #fff; border-radius: 20px; padding: 20px 18px; margin-bottom: 14px; box-shadow: 0 10px 26px rgba(192, 57, 47, .28); }
.red-big h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.red-big h2 .ic { width: 26px; height: 26px; }
.red-big .hit { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 12px; margin-top: 8px; font-size: 14px; }
.red-big .hit b { font-size: 15px; }
.red-big .none { margin-top: 12px; font-weight: 700; font-size: 15px; }
.script { background: var(--danger-soft); border-radius: 12px; padding: 13px 14px; font-size: 14.5px; line-height: 1.75; color: #5b1f1a; }
.amber-card { background: var(--amber-soft); border: 1px solid var(--amber-line); color: #6d4805; border-radius: var(--r-card); padding: 16px; margin-bottom: 14px; }
.amber-card h2 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; color: #6d4805; display: flex; align-items: center; gap: 8px; }
.amber-card.alert { background: var(--danger-soft); border-color: #f2c8c3; color: #7a241d; }
.amber-card.alert h2 { color: var(--danger); }
.amber-card .todo { margin-top: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
.ex-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px 14px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.ex-row::-webkit-scrollbar { display: none; }
.ex-chip { flex: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px; cursor: pointer; text-align: left; font-family: inherit; box-shadow: var(--shadow); }
.ex-chip:hover { border-color: var(--brand-tint); }
.ex-chip .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.ex-chip .s { font-size: 11.5px; color: var(--muted); }
.eng-intro { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.eng-intro b { color: var(--brand-ink); }
.eng-intro .tile { margin-top: 1px; }
.fb-quote { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); margin: 6px 0 14px; max-height: 130px; overflow: auto; }

/* ---------- 打印 ---------- */
@media print {
  body { background: #fff; }
  .phone { box-shadow: none; max-width: 100%; }
  .app-header, .bottom-nav, .no-print, #toast, .fb-btn, .hero-actions { display: none !important; }
  main { padding: 0; }
  .card, details.fold { box-shadow: none; border: 1px solid var(--line); }
  details.fold > summary::after { display: none; }
}
