/* ==========================================================
   用户端 H5 / PC 页面样式
   ========================================================== */

.app {
  min-height: 100%;
  position: relative;
  isolation: isolate;
}

/* 背景氛围：深海星空 */
.app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 460px at 12% -8%, #142C4A 0%, rgba(20, 44, 74, 0) 62%),
    radial-gradient(680px 420px at 92% 4%, #1A3358 0%, rgba(26, 51, 88, 0) 60%),
    radial-gradient(900px 600px at 50% 110%, #0E2038 0%, rgba(14, 32, 56, 0) 65%),
    var(--bg);
}
.app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(rgba(185, 203, 221, .5) 1px, transparent 1.4px),
    radial-gradient(rgba(140, 163, 188, .35) 1px, transparent 1.2px);
  background-size: 130px 130px, 90px 90px;
  background-position: 0 0, 45px 65px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- 顶栏 ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brandmark { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-600));
  color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 4px 14px -4px rgba(46, 123, 166, .65);
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.brand-sub { font-size: 11.5px; color: var(--ink-4); letter-spacing: .06em; }

/* ---------- 布局 ---------- */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 72px;
}
.stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- 首页 ---------- */
.hero-wrap { padding-top: 26px; }
.hero-head { text-align: center; margin-bottom: 30px; }
.hero-title {
  font-size: clamp(28px, 5.2vw, 42px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 14px 0 0;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}
.hero-desc {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.8;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 22px;
  padding: 7px 8px;
  background: rgba(18, 38, 64, .78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-1);
  backdrop-filter: blur(6px);
}
.hero-meta span {
  padding: 0 16px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  position: relative;
}
.hero-meta span + span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--line-strong);
}
.hero-meta span b { color: var(--brand); font-weight: 700; }

.unlock-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.unlock-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand), var(--accent));
}
.uc-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.uc-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.order-input-wrap { position: relative; margin-top: 16px; }
.order-input {
  height: 54px;
  font-size: 15px;
  letter-spacing: .06em;
  padding-left: 44px;
  border-radius: var(--r-md);
}
.order-input.is-valid { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(46, 123, 166, .16); }
.order-input-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--ink-4); font-size: 16px; pointer-events: none;
}
.order-ok {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 15px; display: none;
}
.order-input.is-valid ~ .order-ok { display: block; }

.uc-actions { display: flex; gap: 8px; margin-top: 10px; }

.uc-note {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 7px;
  padding: 13px 14px;
  background: var(--surface-3);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--ink-3);
}
.uc-note div { display: flex; gap: 8px; }
.uc-note i { font-style: normal; color: var(--brand); }

/* 分隔线：或 */
.uc-split {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 10px;
  font-size: 12.5px; color: var(--ink-4);
}
.uc-split::before, .uc-split::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* 可选绑定提示条 */
.bind-bar {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 12px 14px;
  background: var(--brand-50);
  border: 1px dashed var(--brand-100);
  border-radius: var(--r-md);
  font-size: 12.5px; color: var(--ink-3);
}
.bind-bar .bb-t { flex: 1; line-height: 1.55; }
.bind-bar .bb-t b { color: var(--ink); }
.bind-bar .btn { flex: none; }

.demo-tip {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-4);
}
.demo-tip button {
  background: none; border: none; padding: 0;
  color: var(--brand); font-weight: 600; font-size: 12.5px;
  border-bottom: 1px dashed var(--brand-400);
}

/* 首页雷达扫描动效 */
.radar-scan { position: relative; width: 170px; height: 170px; margin: 6px auto 20px; }
.radar-scan .rs-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(79, 168, 216, .22); }
.radar-scan .rs-ring.r2 { inset: 24px; }
.radar-scan .rs-ring.r3 { inset: 48px; }
.radar-scan .rs-cross { position: absolute; inset: 0; }
.radar-scan .rs-cross::before, .radar-scan .rs-cross::after {
  content: ""; position: absolute; background: rgba(79, 168, 216, .16);
}
.radar-scan .rs-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-scan .rs-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-scan .rs-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(79, 168, 216, .30), rgba(79, 168, 216, 0) 62%);
  animation: rsSpin 3.8s linear infinite;
}
.radar-scan .rs-blip {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px rgba(240, 168, 104, .9);
  animation: rsBlip 3.8s ease-in-out infinite;
}
.radar-scan .rs-blip.b1 { left: 38%; top: 30%; animation-delay: .6s; }
.radar-scan .rs-blip.b2 { left: 60%; top: 56%; animation-delay: 1.8s; background: #6FC2E8; box-shadow: 0 0 10px rgba(111, 194, 232, .9); }
.radar-scan .rs-core {
  position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px;
  border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 14px rgba(79, 168, 216, .95);
}
@keyframes rsSpin { to { transform: rotate(360deg); } }
@keyframes rsBlip { 0%, 100% { opacity: .15; transform: scale(.7); } 12%, 30% { opacity: 1; transform: scale(1); } }

/* 特性三卡 */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
.feature {
  background: rgba(18, 38, 64, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(6px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature .f-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
  font-size: 18px; margin-bottom: 12px;
}
.feature .f-t { font-size: 14.5px; font-weight: 700; }
.feature .f-d { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; line-height: 1.7; }

/* 七角色预览 */
.dim-preview {
  max-width: 900px; margin: 16px auto 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
}
.dim-pv {
  background: rgba(18, 38, 64, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 8px;
  text-align: center;
  transition: transform .2s var(--ease);
}
.dim-pv:hover { transform: translateY(-3px); }
.dim-pv .dp-i { font-size: 21px; line-height: 1.2; }
.dim-pv .dp-n { font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.dim-pv .dp-c { font-size: 10px; color: var(--ink-4); margin-top: 3px; letter-spacing: .06em; }

/* ---------- 通用小页（未授权 / 特殊登录 / 绑定手机） ---------- */
.mini-wrap { max-width: 480px; margin: 40px auto 0; }
.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 30px 28px;
  text-align: center;
}
.mini-ico {
  width: 62px; height: 62px; border-radius: 20px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 28px;
  background: var(--warn-100); color: var(--warn);
}
.mini-ico.ok { background: var(--brand-50); color: var(--brand); }
.mini-ico.err { background: var(--danger-100); color: var(--danger); }
.mini-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mini-desc { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.8; }
.mini-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

.qrbox {
  margin-top: 18px; padding: 16px;
  background: var(--surface-3); border-radius: var(--r-md);
  text-align: center;
}
.qrbox img { width: 168px; height: 168px; border-radius: 10px; background: #fff; }
.qr-fallback {
  width: 168px; height: 168px; margin: 0 auto;
  border: 1px dashed var(--line-strong); border-radius: 10px;
  display: grid; place-items: center; padding: 14px;
  font-size: 11.5px; color: var(--ink-4); line-height: 1.6; word-break: break-all;
}

/* ---------- 测评引导 ---------- */
.intro-wrap { max-width: 680px; margin: 26px auto 0; }
.intro-card { padding: 32px; }
.intro-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface-3); border-radius: var(--r-md);
  font-size: 13.5px; color: var(--ink-2); line-height: 1.7;
}
.check-list .ci {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--brand-100); color: var(--brand);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  margin-top: 1px;
}
.scale-preview { display: flex; gap: 8px; margin-top: 18px; }
.scale-pv {
  flex: 1; text-align: center; padding: 10px 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 11.5px; color: var(--ink-3);
}
.scale-pv b { display: block; font-size: 15px; color: var(--ink); }

/* ---------- 答题页 ---------- */
.quiz-wrap { max-width: 680px; margin: 0 auto; }
.quiz-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.quiz-back {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); display: grid; place-items: center;
  transition: .16s;
}
.quiz-back:hover { background: var(--surface-3); }
.quiz-progress { flex: 1; }
.qp-line { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.qp-num { font-size: 13px; font-weight: 700; }
.qp-num em { font-style: normal; font-size: 19px; color: var(--brand); }
.qp-num span { color: var(--ink-4); font-weight: 500; }
.qp-dim { font-size: 12px; color: var(--ink-3); }

.segbar { display: flex; gap: 3px; margin-top: 8px; }
.segbar i {
  height: 4px; flex: 1; border-radius: 999px; background: var(--line-2);
  transition: background .3s var(--ease);
}
.segbar i.done { background: var(--brand-400); }
.segbar i.cur { background: var(--brand); }

.q-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 32px 30px 26px;
  position: relative;
  overflow: hidden;
}
.q-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand));
  transform-origin: left;
}
.q-index {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--brand);
  letter-spacing: .06em;
}
.q-index .q-no {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; font-size: 12px;
}
.q-stem {
  margin: 16px 0 26px;
  font-size: clamp(18px, 2.6vw, 21px);
  line-height: 1.72;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.q-tagline { font-size: 12px; color: var(--ink-4); margin-top: -18px; margin-bottom: 22px; }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
  transition: border-color .18s var(--ease), background .18s var(--ease),
    transform .14s var(--ease), box-shadow .18s var(--ease);
}
.opt:hover { border-color: var(--brand-400); background: var(--brand-50); }
.opt:active { transform: scale(.995); }
.opt .o-key {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink-3);
  background: var(--surface-2);
  transition: .18s var(--ease);
}
.opt .o-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.opt .o-desc { font-size: 11.5px; color: var(--ink-4); margin-top: 1px; }
.opt .o-mid { flex: 1; }
.opt .o-check {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  color: transparent; font-size: 11px; font-weight: 700;
  transition: .18s var(--ease);
}
.opt.sel { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(46, 123, 166, .14); }
.opt.sel .o-key { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt.sel .o-label { color: var(--brand-600); }
.opt.sel .o-check { background: var(--brand); border-color: var(--brand); color: #fff; }

.q-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.q-tip { margin-top: 14px; text-align: center; font-size: 12px; color: var(--ink-4); }
kbd {
  display: inline-block; padding: 1px 6px; border-radius: 5px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  font-family: var(--font); font-size: 11px; color: var(--ink-3);
}

/* 生成中 */
.gen-card { text-align: center; padding: 54px 30px; }
.gen-ring {
  width: 78px; height: 78px; margin: 0 auto 22px;
  border-radius: 50%;
  border: 3px solid var(--brand-100);
  border-top-color: var(--brand);
  animation: spin 1s linear infinite;
}
.gen-title { font-size: 18px; font-weight: 700; }
.gen-step { font-size: 13px; color: var(--ink-3); margin-top: 10px; min-height: 20px; }

/* ---------- 报告页 ---------- */
.report-wrap { max-width: 860px; margin: 0 auto; }

/* 历史报告列表 */
.hist-list { display: flex; flex-direction: column; gap: 8px; }
.hist-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); transition: all .18s var(--ease);
}
.hist-item:hover { border-color: var(--brand-100); background: var(--brand-50); transform: translateX(2px); }
.hi-l { flex: 1; }
.hi-t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hi-s { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.hi-r { display: flex; align-items: center; gap: 10px; flex: none; }
.hi-n { font-size: 18px; font-weight: 700; color: var(--brand-600); letter-spacing: -.02em; }

/* 报告归档提示（一单一测） */
.rep-notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 15px; margin-bottom: 18px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
}
.rep-notice i { font-style: normal; color: var(--brand); flex: none; }
.rep-notice b { color: var(--brand-600); }

.rep-cover {
  background: linear-gradient(150deg, #123152 0%, #1B4A73 46%, #22629B 100%);
  border-radius: var(--r-xl);
  padding: 34px 34px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px -22px rgba(10, 30, 55, .75);
}
.rep-cover::after {
  content: "";
  position: absolute; right: -60px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 68%);
}
.rep-cover .rc-eyebrow {
  font-size: 11px; letter-spacing: .2em; opacity: .72; font-weight: 600;
}
.rep-cover .rc-title { font-size: 25px; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; }
.rep-cover .rc-sub { font-size: 13px; opacity: .78; margin-top: 6px; }

.rc-body { display: flex; align-items: center; gap: 28px; margin-top: 24px; position: relative; z-index: 1; }
.rc-gauge { flex: none; }
.rc-info { flex: 1; min-width: 0; }
.rc-level {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 13.5px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.rc-desc { font-size: 13px; opacity: .84; margin-top: 12px; line-height: 1.75; }
.rc-meta { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.rc-meta div { font-size: 11.5px; opacity: .74; }
.rc-meta b { display: block; font-size: 14px; opacity: 1; font-weight: 700; margin-top: 2px; }

/* 报告区块 */
.rep-sec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: 26px;
  margin-top: 16px;
}
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sec-no {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700;
}
.sec-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.sec-sub { font-size: 12px; color: var(--ink-4); margin-left: auto; }

.chart-grid { display: grid; grid-template-columns: 412px 1fr; gap: 24px; align-items: center; }
.radar-box { display: grid; place-items: center; }
.dim-bars { display: flex; flex-direction: column; gap: 13px; }
.dim-bar { display: grid; grid-template-columns: 76px 1fr 58px; gap: 12px; align-items: center; }
.dim-bar .db-n { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dim-bar .db-track { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.dim-bar .db-fill { height: 100%; border-radius: 999px; width: 0; transition: width .9s var(--ease); }
.dim-bar .db-v { text-align: right; font-size: 13px; font-weight: 700; }

.heat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 4px; }
.heat-cell {
  border-radius: var(--r-sm); padding: 12px 8px; text-align: center;
  border: 1px solid transparent;
}
.heat-cell .hc-n { font-size: 12px; font-weight: 600; }
.heat-cell .hc-v { font-size: 16px; font-weight: 700; margin-top: 2px; }
.heat-cell .hc-t { font-size: 10.5px; margin-top: 2px; opacity: .85; }
.hc-ok { background: var(--ok-100); color: var(--ok); border-color: rgba(111, 194, 160, .3); }
.hc-mid { background: var(--brand-50); color: var(--brand-400); border-color: var(--brand-100); }
.hc-warn { background: var(--warn-100); color: var(--warn); border-color: rgba(232, 176, 76, .3); }
.hc-risk { background: var(--danger-100); color: var(--danger); border-color: rgba(224, 122, 107, .3); }

.tag-hero {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(46, 123, 166, .14), rgba(232, 144, 60, .10));
  border: 1px solid var(--brand-100);
}
.tag-hero .th-name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-400); }
.tag-hero .th-code { font-size: 11.5px; color: var(--ink-4); letter-spacing: .1em; margin-top: 3px; }
.tag-more { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.prose { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.prose p { margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

.advice-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: a; }
.advice-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 17px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  font-size: 14px; line-height: 1.8; color: var(--ink-2);
  transition: .18s var(--ease);
}
.advice-list li:hover { background: var(--brand-50); border-color: var(--brand-100); }
.advice-list .a-no {
  width: 24px; height: 24px; border-radius: 8px; flex: none;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.advice-list .a-t b { color: var(--ink); }

.disclaimer {
  padding: 16px 18px;
  background: var(--surface-3);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.8;
}

.rep-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* 报告底部签名 */
.rep-sign {
  text-align: center; margin-top: 26px;
  font-size: 11.5px; color: var(--ink-4); line-height: 1.9;
}

/* ---------- 页脚 ---------- */
.foot {
  max-width: 1120px; margin: 0 auto;
  padding: 22px 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-4);
  border-top: 1px solid var(--line-2);
}
.foot-links { display: flex; gap: 16px; }
.foot-links a:hover { color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .dim-preview { grid-template-columns: repeat(4, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
  .heat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .topbar { padding: 14px 16px; }
  .page { padding: 4px 16px 96px; }
  .hero-wrap { padding-top: 12px; }
  .hero-desc { font-size: 14px; }
  .unlock-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .intro-card { padding: 24px 20px; }
  .q-card { padding: 24px 20px 20px; border-radius: var(--r-lg); }
  .q-stem { font-size: 18px; }
  .rep-cover { padding: 26px 22px; }
  .rc-body { flex-direction: column; text-align: center; gap: 18px; }
  .rc-info { text-align: center; }
  .rc-meta { justify-content: center; }
  .rep-sec { padding: 20px 18px; }
  .rep-actions .btn { flex: 1; min-width: 140px; }
  .dim-bar { grid-template-columns: 66px 1fr 48px; gap: 8px; }
  .dim-preview { grid-template-columns: repeat(3, 1fr); }
  .foot { padding: 18px 16px 32px; justify-content: center; text-align: center; }
}

/* 手机端底部固定操作条 */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 27, 46, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 60;
}
@media (max-width: 640px) {
  .mobile-bar { display: block; }
}

/* ==========================================================
   内在小队 · 组件样式（角色卡 / 四指数 / 训练计划 / 极性标识）
   ========================================================== */

/* 极性圆点（低频 = 深海蓝 / 高频 = 暖阳橙） */
.pole-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.pole-dot.low, .pole-dot.intro { background: #2E7BA6; }
.pole-dot.high, .pole-dot.extro { background: #E8903C; }

/* 五指数卡 */
.idx-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.idx-card {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 14px; background: var(--surface);
}
.idx-card .ix-t { font-size: 12px; color: var(--ink-4); font-weight: 600; }
.idx-card .ix-v { font-size: 25px; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; }
.idx-card .ix-d { font-size: 11.5px; color: var(--ink-3); margin-top: 7px; line-height: 1.7; }

/* 小队角色卡 */
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.role-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; background: var(--surface);
}
.rc-top { display: flex; align-items: center; gap: 12px; }
.rc-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 24px;
}
.rc-id { flex: 1; min-width: 0; }
.rc-nm { font-size: 15px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.rc-nm .rc-en { font-size: 10px; color: var(--ink-4); font-weight: 600; letter-spacing: .07em; }
.rc-dv { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.pole-row { margin-top: 12px; }
.pole-row + .pole-row { margin-top: 9px; }
.pole-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--ink-2); }
.pole-h b { font-size: 14px; font-weight: 700; }
.pole-track { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-top: 5px; }
.pole-fill { height: 100%; border-radius: 999px; width: 0; transition: width .9s var(--ease); }
.rc-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--ink-3);
}
.rc-integ b { color: var(--ink); font-weight: 700; }
.rc-slogan { color: var(--ink-4); }
.rc-scene { font-size: 11px; color: var(--ink-4); margin-top: 9px; line-height: 1.6; }

/* 21 天小队训练 */
.train-picks {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 14px; font-size: 12.5px; color: var(--ink-2);
}
.train-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.train-day {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 13px; background: var(--bg-soft);
}
.train-day .td-no { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .05em; }
.train-day .td-t { font-size: 12px; color: var(--ink-2); line-height: 1.65; margin-top: 5px; }
.train-day.review { background: var(--brand-50); border-color: var(--brand-100); }
.train-day.review .td-no { color: var(--brand-600); }

/* 热力网格（14 维 = 7 列） */
.heat-grid.g7 { grid-template-columns: repeat(7, 1fr); }

@media (max-width: 900px) {
  .idx-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: 1fr; }
  .train-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .heat-grid.g7 { grid-template-columns: repeat(4, 1fr); }
  .train-grid { grid-template-columns: 1fr; }
}

/* ---------- 打印（导出 PDF） ---------- */
.print-root { display: none; }
@media print {
  body { background: #fff; }
  .app::before, .app::after { display: none; }
  .topbar, .foot, .mobile-bar, .rep-actions, .no-print { display: none !important; }
  .page { padding: 0; max-width: none; }
  .rep-cover {
    background: #1B4A73 !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    box-shadow: none;
  }
  .rep-sec, .role-card, .train-day, .idx-card {
    background: #fff !important;
    border-color: #D8E2EC !important;
    box-shadow: none;
    break-inside: avoid; page-break-inside: avoid;
  }
  .rep-sec, .role-card, .train-day, .idx-card, .prose, .rc-desc, .rc-meta, .dim-bar .db-n, .pole-h, .rc-foot, .td-t, .ix-d, .sec-sub, .hint, .muted {
    color: #1B2530 !important;
  }
  .sec-no, .train-day .td-no { color: #1B4A73 !important; }
  .radar-legend { color: #3A4A5A !important; }
  .heat-cell, .chip, .tag-hero, .dim-bar .db-fill, .role-card, .train-day, .idx-card, .pole-fill {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .report-wrap { max-width: none; }
}

/* 雷达图图例 */
.radar-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3); margin-bottom: 12px;
}

/* 角色卡奇数张时最后一张跨两列，保持网格平衡 */
.role-grid > .role-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
