/* ==========================================================
   用户端 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%, #E6F0EC 0%, rgba(230, 240, 236, 0) 62%),
    radial-gradient(680px 420px at 92% 4%, #F7EFE4 0%, rgba(247, 239, 228, 0) 60%),
    radial-gradient(900px 600px at 50% 110%, #EDF1F6 0%, rgba(237, 241, 246, 0) 65%),
    var(--bg);
}
.app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(21, 23, 27, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  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, 107, 94, .6);
}
.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(255, 255, 255, .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, 107, 94, .12); }
.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);
}

/* 特性三卡 */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
.feature {
  background: rgba(255, 255, 255, .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(6, 1fr); gap: 10px;
}
.dim-pv {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  transition: transform .2s var(--ease);
}
.dim-pv:hover { transform: translateY(-3px); }
.dim-pv .dp-n { font-size: 13px; font-weight: 700; }
.dim-pv .dp-c { font-size: 10.5px; color: var(--ink-4); margin-top: 3px; letter-spacing: .08em; }

/* ---------- 通用小页（未授权 / 特殊登录 / 绑定手机） ---------- */
.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, 107, 94, .1); }
.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, #22483F 0%, #2E6B5E 46%, #35786A 100%);
  border-radius: var(--r-xl);
  padding: 34px 34px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px -22px rgba(34, 72, 63, .6);
}
.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: 300px 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(--brand-600); border-color: #D6E7E2; }
.hc-mid { background: var(--brand-50); color: var(--brand); border-color: #E0EBE8; }
.hc-warn { background: var(--warn-100); color: var(--warn); border-color: #F2E4C4; }
.hc-risk { background: var(--danger-100); color: var(--danger); border-color: #F3D9D5; }

.tag-hero {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-50), #FBF7F0);
  border: 1px solid var(--brand-100);
}
.tag-hero .th-name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-600); }
.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(3, 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; }
  .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(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 60;
}
@media (max-width: 640px) {
  .mobile-bar { display: block; }
}

/* ---------- 打印（导出 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: #2E6B5E !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    box-shadow: none;
  }
  .rep-sec { box-shadow: none; break-inside: avoid; page-break-inside: avoid; }
  .heat-cell, .chip, .tag-hero, .dim-bar .db-fill {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .report-wrap { max-width: none; }
}
