/* ============================================================
   企业AI增长机会测评 · 样式表
   浅色专业风 · 移动端优先（老板多在手机上填写）
   ============================================================ */
:root {
  --navy: #12325A;
  --navy-2: #1B4578;
  --navy-soft: #EAF0F8;
  --orange: #F26B21;
  --orange-2: #FF8A4C;
  --orange-soft: #FFF3EA;
  --bg: #F4F6F9;
  --card: #FFFFFF;
  --text: #16202B;
  --text-2: #3C4C5D;
  --muted: #6B7B8C;
  --line: #E4E9F0;
  --line-2: #F0F3F7;
  --green: #16A34A;
  --blue: #2563EB;
  --grey: #64748B;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 50, 90, .04), 0 8px 24px rgba(18, 50, 90, .06);
  --shadow-lg: 0 2px 4px rgba(18, 50, 90, .05), 0 18px 48px rgba(18, 50, 90, .1);
}

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

html, body {
  margin: 0; padding: 0;
  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: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 18px 80px; }
.hidden { display: none !important; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 880px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy); letter-spacing: .2px; white-space: nowrap; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--orange) 100%);
  box-shadow: 0 2px 6px rgba(18, 50, 90, .22);
}
.topbar-spacer { flex: 1; }
.topbar a.link { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.topbar a.link:hover { color: var(--navy); background: var(--navy-soft); }

/* ---------- 通用 ---------- */
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 10px; line-height: 1.35; }
p { margin: 0 0 12px; color: var(--text-2); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.btn {
  appearance: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 12px 22px; border-radius: 11px; transition: .16s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(18, 50, 90, .22); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(242, 107, 33, .28); }
.btn-orange:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: #C9D6E5; background: #FBFCFE; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 9px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--navy-soft); color: var(--navy);
  font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
}
.chip.orange { background: var(--orange-soft); color: #C2530F; }
.chip.green { background: #E9F7EF; color: #11753A; }
.chip.grey { background: #F1F4F8; color: var(--grey); }

/* ---------- 封面 ---------- */
.hero { padding: 42px 0 10px; text-align: center; }
.hero .kicker { margin-bottom: 14px; }
.hero h1 { font-size: 30px; letter-spacing: -.4px; margin-bottom: 12px; }
.hero h1 .hl { color: var(--orange); }
.hero .sub { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto 24px; }
.hero-facts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; min-width: 108px; box-shadow: var(--shadow);
}
.fact b { display: block; font-size: 21px; color: var(--navy); line-height: 1.3; }
.fact span { font-size: 12.5px; color: var(--muted); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* 输出物清单 */
.outputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 8px; text-align: left; }
.output-item {
  display: flex; gap: 11px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
}
.output-item .oi-n {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: var(--navy-soft); color: var(--navy);
  font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.output-item b { display: block; font-size: 14.5px; color: var(--text); }
.output-item span { font-size: 13px; color: var(--muted); }

/* ---------- 答题 ---------- */
.quiz-top { padding: 26px 0 0; }
.quiz-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.quiz-meta .qn { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 7px; background: #E7ECF3; border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 60%, var(--orange) 100%); transition: width .35s cubic-bezier(.4, 0, .2, 1); }

.qcard { margin-top: 22px; }
.qtitle { font-size: 21px; margin-bottom: 8px; }
.qhint { font-size: 14px; color: var(--muted); background: #F7F9FC; border-left: 3px solid var(--line); padding: 9px 13px; border-radius: 0 8px 8px 0; margin-bottom: 18px; }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 15px 17px; cursor: pointer; font-family: inherit; font-size: 16px;
  color: var(--text); transition: .14s; line-height: 1.5;
}
.opt:hover { border-color: #B9CADE; background: #FCFDFF; }
.opt .key {
  flex: none; width: 27px; height: 27px; border-radius: 8px;
  background: #F1F4F8; color: var(--muted);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: .14s;
}
.opt .lb { flex: 1; }
.opt .tick { flex: none; opacity: 0; color: #fff; font-size: 14px; transition: .14s; }
.opt.sel { border-color: var(--navy); background: var(--navy-soft); }
.opt.sel .key { background: var(--navy); color: #fff; }
.opt.sel .tick { opacity: 1; }
.opt.multi.sel { border-color: var(--orange); background: var(--orange-soft); }
.opt.multi.sel .key { background: var(--orange); color: #fff; }

.qnav { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-bottom: 30px; }
.qnav .btn { min-width: 106px; }
.autohint { margin-left: auto; font-size: 12.5px; color: #9AA9B8; }

/* ---------- 解锁 / 留资 ---------- */
.unlock-hero { text-align: center; padding: 34px 0 4px; }
.score-peek { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 6px 0 6px; }
.score-peek b { font-size: 68px; color: var(--navy); line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.score-peek span { font-size: 17px; color: var(--muted); font-weight: 600; }
.peek-band { font-size: 18px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }

.locked {
  position: relative; margin: 24px 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.locked-inner { filter: blur(5px); opacity: .5; padding: 20px; pointer-events: none; user-select: none; }
.locked-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.92) 55%, #fff 100%);
  text-align: center; padding: 20px;
}
.locked-mask .lock-ico { font-size: 22px; }
.locked-mask b { color: var(--navy); font-size: 15.5px; }
.locked-mask span { font-size: 13px; color: var(--muted); max-width: 340px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--orange); }
.field input, .field select {
  font-family: inherit; font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
  transition: .14s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 50, 90, .08); }
.field .err { font-size: 12.5px; color: #DC2626; display: none; }
.field.bad input { border-color: #EFC2C2; background: #FFFBFB; }
.field.bad .err { display: block; }
.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); grid-column: 1 / -1; }
.agree input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--navy); }
.demo-skip { text-align: center; margin-top: 14px; }
.demo-skip a { color: #9AA9B8; font-size: 12.5px; text-decoration: none; border-bottom: 1px dashed #C9D6E5; }

/* ---------- 报告 ---------- */
.rp-head { padding: 30px 0 6px; text-align: center; }
.rp-brand { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.rp-head h1 { font-size: 25px; margin-bottom: 4px; }
.rp-date { font-size: 12.5px; color: #9AA9B8; margin-bottom: 20px; }

.rp-hero {
  background: linear-gradient(160deg, #14375F 0%, #0E2949 60%, #17324F 100%);
  border-radius: 18px; padding: 28px 24px; color: #fff; text-align: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.rp-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,107,33,.42) 0%, rgba(242,107,33,0) 70%);
}
.rp-hero .lbl { font-size: 13px; letter-spacing: 1.2px; opacity: .72; margin-bottom: 2px; }
.rp-hero .big { display: flex; align-items: baseline; justify-content: center; gap: 7px; }
.rp-hero .big b { font-size: 74px; line-height: 1; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
.rp-hero .big span { font-size: 18px; opacity: .82; font-weight: 600; }
.rp-hero .band { display: inline-block; margin-top: 10px; padding: 5px 16px; border-radius: 999px; background: rgba(242,107,33,.95); font-size: 15px; font-weight: 700; }
.rp-hero .note { color: rgba(255,255,255,.78); font-size: 14px; margin: 14px auto 0; max-width: 480px; }

.sec { margin-top: 18px; }
.sec > h3 { font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.sec > h3::before { content: ''; width: 4px; height: 17px; border-radius: 2px; background: var(--orange); flex: none; }
.sec .sec-sub { font-size: 13.5px; color: var(--muted); margin: -8px 0 14px; }

.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dual-item { border: 1px solid var(--line); border-radius: 13px; padding: 16px; background: #FCFDFF; }
.dual-item .di-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.dual-item .di-name { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.dual-item .di-val { font-size: 27px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dual-item .di-band { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.mini-bar { height: 6px; border-radius: 999px; background: #E7ECF3; overflow: hidden; margin-bottom: 10px; }
.mini-bar > i { display: block; height: 100%; border-radius: 999px; }
.dual-item .di-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.dual-note { margin-top: 14px; font-size: 13.5px; color: var(--text-2); background: var(--navy-soft); border-radius: 10px; padding: 12px 15px; line-height: 1.65; }

.type-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: center; }
.type-name { font-size: 25px; font-weight: 800; color: var(--navy); margin-bottom: 3px; letter-spacing: -.3px; }
.type-code { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.type-block { margin-bottom: 12px; }
.type-block b { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 2px; }
.type-block p { font-size: 14px; margin: 0; }
.type-foot { font-size: 13.5px; background: var(--orange-soft); border-radius: 10px; padding: 10px 14px; color: #8A3C09; }
.type-foot b { color: #C2530F; }

.radar-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 20px; align-items: center; }
.legend { display: flex; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; }
.legend span { font-size: 13px; color: var(--muted); }

.dimlist { display: flex; flex-direction: column; gap: 12px; }
.dimrow { border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.dimrow:last-child { border-bottom: none; padding-bottom: 0; }
.dimrow-top { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.dimrow-top b { font-size: 14.5px; color: var(--text); }
.dimrow-top .w { font-size: 12px; color: var(--muted); background: #F1F4F8; padding: 1px 7px; border-radius: 6px; }
.dimrow-top .vals { margin-left: auto; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dimrow-top .vals em { font-style: normal; font-weight: 700; }
.dim-bars { display: flex; flex-direction: column; gap: 5px; margin-bottom: 7px; }
.dim-bar { display: flex; align-items: center; gap: 8px; }
.dim-bar .tag2 { font-size: 11.5px; color: var(--muted); width: 32px; flex: none; }
.dim-bar .track { flex: 1; height: 5px; border-radius: 999px; background: #EFF3F8; overflow: hidden; }
.dim-bar .track > i { display: block; height: 100%; border-radius: 999px; }
.dimrow p { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.6; }

.opps { display: flex; flex-direction: column; gap: 14px; }
.opp { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; position: relative; overflow: hidden; }
.opp.rank1 { border-color: #F5C9A9; background: linear-gradient(180deg, #FFFCF9 0%, #FFFFFF 40%); }
.opp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.opp-rank {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.opp.rank1 .opp-rank { background: var(--orange); }
.opp-title { flex: 1; }
.opp-title b { font-size: 17px; color: var(--navy); display: block; line-height: 1.3; }
.opp-title span { font-size: 12.5px; color: var(--muted); }
.opp-idx { text-align: right; flex: none; }
.opp-idx b { font-size: 24px; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1.1; }
.opp-idx span { display: block; font-size: 11.5px; color: var(--muted); }
.opp-advice {
  font-size: 14px; background: var(--navy-soft); border-radius: 10px; padding: 12px 14px;
  color: #1B3557; line-height: 1.65; margin-bottom: 11px;
}
/* 落地路径：第一步 / 接着——把建议从“方向”变成“可执行动作” */
.opp-step, .opp-next {
  display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.6;
  margin-bottom: 7px;
}
.opp-step b, .opp-next b {
  flex: none; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
  margin-top: 2px; letter-spacing: .3px;
}
.opp-step b { background: var(--orange); color: #fff; }
.opp-next b { background: #EEF2F7; color: var(--navy); }
.opp-step span { color: #1B3557; font-weight: 600; }
.opp-next span { color: var(--text-2); }
.opp-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.opp-actions span { font-size: 12.5px; background: #F4F7FB; color: var(--text-2); padding: 4px 10px; border-radius: 7px; }
.opp-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--line); }

/* 分数解读卡：报告首屏，先给认知框架再看数字，防止低分客户第一眼劝退 */
.frame-card {
  background: linear-gradient(135deg, #F8FBFF, #EEF4FB);
  border: 1px solid #D9E6F5; border-left: 4px solid var(--navy);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 16px;
}
.frame-card.tone-positive { background: linear-gradient(135deg, #F3FCF6, #E8F8EE); border-color: #C6EBD4; border-left-color: #16A34A; }
.frame-card.tone-advance  { background: linear-gradient(135deg, #FFF9F2, #FEF2E6); border-color: #F6DFC4; border-left-color: var(--orange); }
.frame-card.tone-start    { background: linear-gradient(135deg, #F7F9FC, #EEF2F8); border-color: #DCE4EF; border-left-color: #64748B; }
.frame-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 7px; }
.frame-card p { font-size: 13.5px; line-height: 1.72; color: #33465E; margin: 0; }
.frame-card .frame-insight {
  font-size: 13px; color: var(--text-2); margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(18,50,90,.13); line-height: 1.68;
}
.frame-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 6px; background: var(--navy); color: #fff; margin-bottom: 9px;
}
.stars { color: var(--orange); letter-spacing: 1px; font-size: 13px; }
.stars .off { color: #DCE3EC; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th {
  text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600;
  padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line-2); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td.num { font-variant-numeric: tabular-nums; }
table.tbl td b { color: var(--navy); }

.phases { display: flex; flex-direction: column; gap: 0; }
.phase { display: flex; gap: 15px; padding-bottom: 20px; position: relative; }
.phase:last-child { padding-bottom: 0; }
.phase::before {
  content: ''; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--line);
}
.phase:last-child::before { display: none; }
.phase-dot {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.phase:first-child .phase-dot { background: var(--orange); }
.phase-body { flex: 1; padding-top: 2px; }
.phase-body .pr { font-size: 12.5px; color: var(--muted); }
.phase-body b { display: block; font-size: 16px; color: var(--navy); margin-bottom: 3px; }
.phase-body p { font-size: 13.5px; margin: 0; color: var(--text-2); }

.note-card { background: #FFFBEB; border-color: #FDE9AE; }
.note-card h3::before { background: #F59E0B; }
.note-card p { color: #7A5410; }

.rp-cta {
  margin-top: 20px; border-radius: 16px; padding: 26px;
  background: linear-gradient(150deg, #14375F 0%, #0E2949 70%); color: #fff;
  text-align: center; box-shadow: var(--shadow-lg);
}
.rp-cta h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.rp-cta p { color: rgba(255,255,255,.8); font-size: 14.5px; max-width: 520px; margin: 0 auto 8px; }
.rp-cta .fgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; max-width: 660px; margin: 18px auto 0; text-align: left; }
.rp-cta .field label { color: rgba(255,255,255,.85); }
.rp-cta .field label .req { color: #FFB27A; }
.rp-cta .field input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); color: #fff; }
.rp-cta .field input::placeholder { color: rgba(255,255,255,.42); }
.rp-cta .field input:focus { outline: none; border-color: #FFB27A; box-shadow: 0 0 0 3px rgba(255,178,122,.18); }
.rp-cta .field .err { font-size: 12.5px; color: #FFB4A8; display: none; }
.rp-cta .field.bad input { border-color: #F87171; background: rgba(248,113,113,.12); }
.rp-cta .field.bad .err { display: block; }
.rp-cta .fsmall { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 12px; }
.rp-cta .fsmall b { color: #FFB27A; }
.rp-cta .done { padding: 6px 0 2px; }
.rp-cta .done h3 { margin-bottom: 10px; }
@media (max-width: 720px) { .rp-cta .fgrid { grid-template-columns: 1fr; } }

.rp-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

details.internal { margin-top: 22px; border: 1px dashed #CBD5E1; border-radius: 12px; background: #FAFBFD; }
.dev-badge { margin-left: 10px; font-size: 11.5px; color: #B45309; background: #FEF3C7; border: 1px solid #FCD34D; border-radius: 6px; padding: 2px 7px; font-weight: 600; }
details.internal > summary { cursor: pointer; padding: 13px 16px; font-size: 13.5px; color: var(--grey); font-weight: 600; list-style: none; }
details.internal > summary::-webkit-details-marker { display: none; }
details.internal > summary::before { content: '▸ '; }
details.internal[open] > summary::before { content: '▾ '; }
.internal-body { padding: 0 16px 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: 12.5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; color: var(--text-2); }
.tag b { color: var(--navy); }

footer.foot { text-align: center; padding: 30px 18px 10px; font-size: 12.5px; color: #9AA9B8; }
footer.foot a { color: #9AA9B8; margin: 0 8px; }

/* ---------- 管理台 ---------- */
.admin-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 26px 0 16px; }
.admin-head h1 { font-size: 22px; margin: 0; }
.admin-head input { font-family: inherit; font-size: 14px; padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 9px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 24px; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); }
.tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: auto; box-shadow: var(--shadow); }
.tbl-wrap table.tbl { min-width: 980px; }
.tbl-wrap table.tbl th, .tbl-wrap table.tbl td { white-space: nowrap; vertical-align: top; }
.tbl-wrap table.tbl td.wrap-cell { white-space: normal; min-width: 200px; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); font-size: 14px; }

/* ---------- 方法说明 ---------- */
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc h3 { font-size: 16px; margin-top: 20px; color: var(--navy-2); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; color: var(--text-2); font-size: 14.5px; }
.formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px;
  background: #F7F9FC; border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: 0 8px 8px 0; padding: 12px 15px; margin: 12px 0; color: #1B3557;
  overflow-x: auto; white-space: pre-wrap; line-height: 1.7;
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .topbar-in { padding: 10px 12px; gap: 6px; }
  .logo { font-size: 14px; gap: 7px; }
  .topbar a.link { font-size: 12.5px; padding: 5px 4px; }
  .wrap { padding: 0 15px 60px; }
  .hero { padding: 28px 0 6px; }
  .hero h1 { font-size: 24px; }
  .hero .sub { font-size: 15.5px; }
  .outputs { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .type-wrap { grid-template-columns: 1fr; }
  .type-matrix { justify-self: center; }
  .radar-wrap { grid-template-columns: 1fr; }
  .radar-wrap svg { max-width: 100%; height: auto; }
  .rp-hero .big b { font-size: 60px; }
  .score-peek b { font-size: 56px; }
  .qtitle { font-size: 18.5px; }
  .opt { padding: 14px 15px; font-size: 15.5px; }
  .qnav .btn { flex: 1; min-width: 0; }
  .autohint { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .opp-idx b { font-size: 21px; }
  table.tbl { font-size: 13px; }
  table.tbl th, table.tbl td { padding: 8px 7px; }
}

/* ---------- 打印 / 导出 PDF ---------- */
@media print {
  body { background: #fff; font-size: 12.5px; }
  .topbar, .rp-actions, .demo-skip, .qnav, footer.foot, .no-print { display: none !important; }
  .wrap { max-width: 100%; padding: 0; }
  .card, .opp, .rp-hero, .rp-cta, .dual-item { box-shadow: none !important; break-inside: avoid; }
  .rp-hero, .rp-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sec { break-inside: avoid; }
  .opp { break-inside: avoid; }
  details.internal { display: none; }
  @page { margin: 14mm; }
}

/* 管理台删除按钮 */
.del-btn{font-size:12px;color:#DC2626;background:transparent;border:1px solid transparent;border-radius:7px;padding:4px 10px;cursor:pointer;transition:.15s;white-space:nowrap}
.del-btn:hover{background:#FEE2E2;border-color:#FCA5A5}
.del-btn:disabled{color:#94A3B8;cursor:wait}

/* 微信二维码 · 免费解读卡 */
.wechat-qr-card{margin-top:20px;background:linear-gradient(135deg,#FFF9F4,#FFF3EA);border:1px solid #F5DCC8;border-radius:16px;padding:22px 26px;display:flex;align-items:center;gap:26px}
.wq-body{flex:1}
.wq-title{font-size:18.5px;font-weight:800;color:#16202B;line-height:1.5}
.wq-title span{color:#C2530F}
.wq-sub{font-size:13.5px;color:#6B7B8C;margin-top:8px;line-height:1.75}
.wq-img{width:158px;height:201px;object-fit:cover;border-radius:12px;flex:none;box-shadow:0 6px 18px rgba(18,50,90,.18);background:#fff}
@media(max-width:640px){.wechat-qr-card{flex-direction:column;text-align:center;padding:22px 18px}.wq-img{width:180px;height:229px}}
@media print{.wechat-qr-card{background:#FFF9F4;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* ---------- 查报告（凭手机号找回） ---------- */
.hero-lookup { margin-top: 16px; font-size: 14px; }
.hero-lookup a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.lookup-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; margin: 18px 0; }
.lookup-title { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.lookup-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.lookup-form { display: grid; gap: 12px; }
.lookup-err { margin-top: 12px; font-size: 13.5px; color: #C2530F; background: #FFF6EF; border: 1px solid #F6DFC4; border-radius: 9px; padding: 10px 13px; }
.lookup-tip { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.lookup-list { display: grid; gap: 10px; }
.lookup-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  cursor: pointer; font: inherit;
}
.lookup-item:hover { border-color: var(--navy); background: #FAFCFF; }
.li-main { flex: 1; min-width: 0; }
.li-main b { display: block; font-size: 15px; color: var(--navy); }
.li-main span { font-size: 12px; color: var(--muted); }
.li-score { flex: none; text-align: right; }
.li-score b { font-size: 22px; color: var(--orange); font-variant-numeric: tabular-nums; }
.li-score span { font-size: 11.5px; color: var(--muted); margin-left: 1px; }
.li-type { flex: none; font-size: 12px; color: var(--navy); background: var(--navy-soft); padding: 4px 10px; border-radius: 7px; }
.stored-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.stored-row:last-child { border-bottom: none; }
.stored-row span { color: var(--muted); }
.stored-row b { color: var(--navy); text-align: right; }

/* ==================== 场景建议板块（报告页） ==================== */
.adv-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.adv-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.adv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.adv-name { font-size: 16px; color: var(--navy); }
.adv-stage { background: var(--navy-soft); color: var(--navy-2); font-size: 12px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.adv-scene { color: var(--muted); font-size: 12.5px; }
.adv-line { display: flex; gap: 10px; margin: 5px 0; font-size: 13.5px; line-height: 1.6; }
.adv-k { flex: 0 0 66px; color: var(--muted); }
.adv-v { flex: 1; color: #2A3B4D; }
.adv-metrics { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 8px; }
.adv-m { font-size: 12.5px; padding: 3px 10px; border-radius: 6px; font-weight: 600; }
.adv-m.down { background: #E8F7EE; color: #16794A; }
.adv-m.up { background: var(--orange-soft); color: var(--orange); }
.adv-m.tier { background: #EEF2F8; color: var(--navy-2); font-weight: 500; }
.adv-cost { font-size: 12.5px; color: #526478; background: var(--line-2); border-radius: 8px; padding: 8px 11px; line-height: 1.7; }
.adv-service { font-size: 13px; margin-top: 8px; color: var(--navy); }
.adv-price { color: var(--orange); font-weight: 700; }

/* ==================== 后台标签 + 场景管理 ==================== */
.adm-tabs { display: flex; gap: 6px; padding: 16px 0 0; border-bottom: 1px solid var(--line); }
.adm-tab { background: none; border: none; padding: 10px 16px; font-size: 15px; color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent; font-weight: 600; }
.adm-tab.on { color: var(--navy); border-bottom-color: var(--orange); }
.scen-stage { margin-top: 22px; }
.scen-stage-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.scen-stage-head b { font-size: 16px; color: var(--navy); }
.scen-tbl td { vertical-align: top; }
.scen-edit { border: 2px solid var(--orange); margin: 16px 0; padding: 18px; }
.scen-edit select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }

/* 表头小字注解（如"越高越该先做"） */
.tbl th .th-sub { display: block; font-size: 11px; font-weight: 400; color: #8C9AAB; margin-top: 2px; }

/* ============================================================
   后台：客户线索 → 展开的「AI场景匹配建议」（内部工具）
   ============================================================ */
.adm-ops { white-space: nowrap; }
.adm-ops .btn { margin-right: 6px; }
tr.mm-row > td { background: #F7F9FC; padding: 0 !important; border-top: 0; }
.mm-head { font-size: 13px; color: #3C4C5D; padding: 14px 16px 4px; line-height: 1.7; }
.mm-empty { padding: 16px; font-size: 13px; color: #8C9AAB; }
.mm-list { padding: 8px 16px 16px; display: grid; gap: 10px; }
.mm-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: 10px; padding: 12px 14px; }
.mm-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.mm-no { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mm-name { font-size: 14.5px; }
.mm-score { font-size: 11.5px; color: #fff; background: #16A34A; border-radius: 20px; padding: 1px 8px; font-weight: 600; }
.mm-scene { font-size: 12px; color: #8C9AAB; }
.mm-line { display: flex; gap: 8px; font-size: 13px; line-height: 1.65; margin-bottom: 3px; }
.mm-k { flex: none; width: 62px; color: #8C9AAB; }
.mm-v { color: #3C4C5D; }
.mm-todo { color: #D97706; }

/* ============================================================
   内部模式密码闸门
   ============================================================ */
.dev-gate { max-width: 420px; margin: 8vh auto 0; text-align: center; padding: 30px 26px; }
.dev-gate .dg-ico { font-size: 34px; margin-bottom: 6px; }
.dev-gate h2 { margin: 0 0 6px; font-size: 19px; }
.dev-gate .field { margin: 18px 0 12px; }
.dev-gate input { text-align: center; letter-spacing: 2px; font-size: 15px; }
.dev-gate .btn-block { width: 100%; }
.dg-err { color: #DC2626; font-size: 12.5px; margin-bottom: 10px; }
