/* ===== 设计系统：按 1.0 搭建文案附录 E 示意图的浅蓝医用质感 ===== */
:root {
  --blue: #2F6BF2;
  --blue-deep: #1B3F9E;
  --blue-2: #59A7FB;
  --cyan: #33C4F0;
  --blue-3: #CFE4FF;
  --ink: #0B2742;
  --ink-2: #33506B;
  --ink-3: #7E93AA;
  --bg: #EFF6FF;
  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, .82);
  --line: #E3EFFC;
  --good: #2F9E6A;
  --warn: #E07B39;
  --bad: #C4552F;
  --r: 18px;
  --shadow: 0 12px 30px rgba(31, 86, 168, .09);
  --shadow-s: 0 6px 18px rgba(31, 86, 168, .07);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: #EFF6FF;
  color: var(--ink-2);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body {
  padding-bottom: calc(58px + env(safe-area-inset-bottom));
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(126, 189, 255, .40), transparent 62%),
    radial-gradient(900px 520px at 96% 6%, rgba(160, 214, 255, .34), transparent 60%),
    radial-gradient(700px 420px at 30% 100%, rgba(196, 226, 255, .36), transparent 65%),
    linear-gradient(180deg, #F9FCFF 0%, #EDF5FF 42%, #E7F0FE 100%);
  background-attachment: fixed;
}
/* 极细科技网格 + 星光点，呼应参考图的背景质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(120, 170, 235, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 235, .055) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25) 70%, transparent);
}

#app {
  max-width: 480px;
  margin: 0 auto;
  background: transparent;
  min-height: 100vh;
  position: relative;
}

a { color: var(--blue); text-decoration: none; }

.wrap { padding: 0 16px; }

/* ---------- 通用顶部（子页 / 孙页） ---------- */
.hero {
  position: relative;
  padding: 22px 20px 24px;
  color: var(--ink);
  border-radius: 0 0 26px 26px;
  overflow: hidden;
  background:
    radial-gradient(420px 200px at 88% -30%, rgba(255, 255, 255, .95), transparent 70%),
    linear-gradient(160deg, #FBFDFF 0%, #EEF6FF 52%, #E5EFFE 100%);
  border-bottom: 1px solid rgba(210, 230, 252, .9);
  box-shadow: 0 10px 26px rgba(31, 86, 168, .07);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(63, 132, 246, .10), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(96, 195, 245, .12), transparent 32%);
  pointer-events: none;
}
.hero .brand { position: relative; font-size: 12px; letter-spacing: 2px; color: var(--blue); opacity: .9; }
.hero h1 { position: relative; margin: 8px 0 4px; font-size: 20px; line-height: 1.32; font-weight: 800; color: #14306E; letter-spacing: .3px; background: linear-gradient(96deg, #17309A 0%, #2A5BD8 52%, #2F8BE8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub { position: relative; font-size: 13px; color: var(--ink-3); }
.hero .row { position: relative; }

/* 子页里内联写的“白字白底”按钮与标签，统一改回浅色玻璃 */
.hero .btn.ghost,
.hero [data-back] {
  background: rgba(255, 255, 255, .88) !important;
  color: var(--blue) !important;
  border: 1px solid #D8E7FB !important;
  box-shadow: 0 6px 16px rgba(47, 107, 242, .10) !important;
}
.hero .btn,
.hero .btn.soft { position: relative; }
.hero .chip {
  background: rgba(47, 107, 242, .10) !important;
  color: var(--blue) !important;
}

/* ---------- 首页标题板块 + 神经元 ---------- */
.heroHome {
  position: relative;
  padding: 6px 18px 6px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(300px 170px at 6% -2%, rgba(130, 190, 255, .42), transparent 68%),
    radial-gradient(420px 230px at 92% 2%, rgba(196, 226, 255, .5), transparent 72%),
    linear-gradient(170deg, #FBFDFF 0%, #EDF5FF 60%, #E6F0FE 100%);
}
.heroHome .topRow { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; }
.heroHome .brand { font-size: 12px; letter-spacing: 2px; color: var(--blue); opacity: .92; white-space: nowrap; }
.orbWrap { flex: none; width: 56px; height: 56px; margin-right: 8px; }
.orbWrap svg { width: 56px; height: 56px; display: block; }
.brandCol { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brandCol .en { font-size: 8.5px; letter-spacing: 1.4px; color: #8FAED2; }
.topRight { display: flex; align-items: center; gap: 8px; }
.statusPill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(210, 230, 252, .95);
  font-size: 11.5px; color: var(--blue); box-shadow: var(--shadow-s);
  white-space: nowrap;
}
.statusPill i { width: 6px; height: 6px; border-radius: 50%; background: #35C27E; box-shadow: 0 0 0 3px rgba(53, 194, 126, .16); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(208, 228, 252, .95);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  box-shadow: var(--shadow-s); flex: none;
}
.avatar svg { width: 21px; height: 21px; }

.homeTitle {
  position: relative;
  margin: 2px 0 2px;
  font-size: 29px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: .2px;
  word-break: keep-all;
  color: #16307F;
  background: linear-gradient(96deg, #17309A 0%, #2A5BD8 42%, #2F8BE8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.homeTitle small { display: block; font-size: 16px; font-weight: 600; letter-spacing: .6px; margin-top: 2px; }
.homeSub {
  position: relative;
  font-size: 14px;
  color: #2E62B8;
  letter-spacing: .6px;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.homeSub b { font-weight: 600; color: #2F8BE8; }
.homeSub .rule { flex: none; width: 74px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2F6BF2, rgba(47, 107, 242, 0)); opacity: .55; }
/* 标题下的手绘感弧线，呼应参考图 */
.titleUnder { display: block; width: 118px; height: 9px; margin: 2px 0 4px; opacity: .7; }
.titleUnder svg { width: 118px; height: 9px; display: block; }

/* 神经元插画：光晕 + 树突 + 轴突 */
.neuroLayer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.neuroLayer svg { position: absolute; filter: drop-shadow(0 0 5px rgba(60, 130, 245, .18)); }
.neuroA { width: 182px; height: 182px; left: -56px; top: -56px; animation: nPulse 5.5s ease-in-out infinite; }
.neuroB { width: 152px; height: 152px; right: -30px; top: 4px; animation: nPulse 7s ease-in-out infinite .8s; }
.neuroC { width: 116px; height: 116px; right: 26px; bottom: -20px; animation: nPulse 6.2s ease-in-out infinite 1.6s; }
@keyframes nPulse {
  0%, 100% { transform: scale(.98); opacity: .62; }
  50% { transform: scale(1.06); opacity: 1; }
}
/* 标题背后的大网状光晕：只做呼吸，不缩放，避免干扰文字 */
.neuroD { width: 340px; height: 340px; left: 50%; top: 20px; margin-left: -170px; animation: nBreatheSoft 10s ease-in-out infinite; }
@keyframes nBreatheSoft {
  0%, 100% { opacity: .045; }
  50% { opacity: .10; }
}

/* 首页主卡：开始评估 + 拍照 + 人体插图 */
.heroPanel {
  position: relative;
  margin: 10px 0 0;
  padding: 10px 0 8px 16px;
  min-height: 118px;
  border-radius: 26px;
  background:
    radial-gradient(240px 170px at 82% 74%, rgba(255, 255, 255, .98), transparent 72%),
    radial-gradient(300px 220px at 96% 6%, rgba(206, 232, 255, .85), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, .97) 0%, rgba(240, 248, 255, .94) 46%, rgba(214, 234, 255, .92) 100%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px rgba(31, 86, 168, .14), inset 0 1px 0 rgba(255, 255, 255, .95);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 4px;
}
.heroPanel::after {
  content: "";
  position: absolute; inset: auto -10% -42% 34%;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 242, .16), transparent 62%);
  pointer-events: none;
}
.ctaCol { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; flex: none; }
.ctaPill {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(100deg, #2C6BF6 0%, #2F8BF0 52%, #34C6F1 100%);
  box-shadow: 0 10px 22px rgba(47, 107, 242, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: pointer;
  white-space: nowrap;
}
.ctaPill:active { transform: scale(.98); }
.camBtn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(208, 228, 252, .95);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); box-shadow: 0 8px 18px rgba(47, 107, 242, .16);
  cursor: pointer; flex: none;
}
.camBtn svg { width: 22px; height: 22px; }
.figWrap {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 112px;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.figWrap svg.fig { height: 106px; width: auto; display: block; }
.figWrap picture { display: block; position: relative; z-index: 2; }
/* 参考图同款线描人体：透明 PNG，随容器高度自适应 */
.figImg {
  position: relative; z-index: 2;
  height: 118px; width: auto; display: block;
  margin-right: 4px;
  filter: drop-shadow(0 10px 22px rgba(47, 107, 242, .16));
  animation: figFloat 6.5s ease-in-out infinite;
}
@keyframes figFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.figHalo {
  position: absolute; right: -6%; top: 6%; width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 180, 250, .16), transparent 66%);
  animation: nBreatheSoft 8s ease-in-out infinite;
  pointer-events: none;
}
.figGlow {
  position: absolute; right: 6%; bottom: 8%;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 150, 245, .22), transparent 66%);
  animation: nPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.figRing {
  position: absolute; right: 2%; bottom: 0%;
  width: 200px; height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(74, 143, 235, .3);
  box-shadow: 0 0 24px rgba(74, 143, 235, .18) inset;
  pointer-events: none;
}
.figRing::before {
  content: ""; position: absolute; inset: 8px 22px;
  border-radius: 50%; border: 1px solid rgba(74, 143, 235, .22);
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 12px 30px rgba(31, 86, 168, .09), inset 0 1px 0 rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .92);
}
.card.flat { box-shadow: none; }
.card.tint { background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(236, 246, 255, .95)); }
/* 紧凑卡：当前客户 / 最近记录 */
.card.tight { padding: 0 13px; margin: 8px 0; border-radius: 14px; min-height: 46px; display: flex; flex-direction: column; justify-content: center; }
.card.tight .between { align-items: center; min-height: 46px; }
.clientCard, .recentCard { min-height: 46px; }
.recentCard.hasRows { padding-bottom: 7px; }
.clientCard .btn.mini, .recentCard .btn.mini { height: 25px; padding: 0 10px; font-size: 11.5px; border-radius: 9px; }
.recentCard .zoneRow { padding: 6px 0; }
.recentCard .zoneRow + .zoneRow { border-top: 1px solid rgba(226, 238, 252, .9); }

.h1 { font-size: 19px; color: var(--ink); font-weight: 700; margin: 0 0 6px; }
.h2 { font-size: 16px; color: var(--ink); font-weight: 700; margin: 0 0 6px; }
.h3 { font-size: 14px; color: var(--ink); font-weight: 600; margin: 0; }
.tiny { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.mute { color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.code { color: var(--ink-3); font-size: 11px; letter-spacing: .5px; }

.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row { display: flex; align-items: center; gap: 8px; }
.gap-s { gap: 6px; }
.gap-m { gap: 12px; }
.grow { flex: 1; min-width: 0; }
.mt { margin-top: 10px; }
.mt2 { margin-top: 18px; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.row > .btn { width: auto; flex: 1 1 0; min-width: 0; }
.between > .col { flex: 1 1 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(100deg, #2C6BF6, #33B9F2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(47, 107, 242, .26);
  cursor: pointer;
  transition: transform .12s ease, opacity .2s ease;
  width: 100%;
}
.btn:active { transform: scale(.98); }
.btn.ghost {
  background: rgba(255, 255, 255, .96);
  color: var(--blue);
  border: 1px solid #D8E7FB;
  box-shadow: 0 6px 16px rgba(47, 107, 242, .09);
}
.btn.soft {
  background: #EAF3FF;
  color: var(--blue);
  box-shadow: none;
}
.btn.mini { height: 36px; font-size: 13px; padding: 0 12px; border-radius: 11px; width: auto; white-space: nowrap; flex: none; }
.btn[disabled] { opacity: .5; filter: grayscale(.15); cursor: not-allowed; box-shadow: none; }
.btn.danger { background: #fff; color: var(--bad); border: 1px solid #F2C9BE; box-shadow: none; }

/* ---------- chip / 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #EAF3FF;
  color: var(--blue);
  white-space: nowrap;
}
.chip.good { background: #E8F6EE; color: var(--good); }
.chip.warn { background: #FFF1E8; color: var(--warn); }
.chip.bad { background: #FDECE7; color: var(--bad); }
.chip.gray { background: #EFF3F8; color: var(--ink-3); }

/* ---------- 进度条 ---------- */
.bar { position: relative; height: 8px; border-radius: 999px; background: #E8F0FA; overflow: hidden; }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #59A7FB, #2C6BF6); }
.bar.thin { height: 6px; }

/* ---------- 首页功能卡 ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.func {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  padding: 15px 13px;
  box-shadow: 0 10px 24px rgba(31, 86, 168, .09), inset 0 1px 0 rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .96);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  cursor: pointer;
  min-height: 80px;
}
.func .ico {
  grid-row: 1 / span 2;
  width: 44px; height: 44px; border-radius: 0;
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: #2E66E8;
}
.func .nm { font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.25; letter-spacing: .2px; }
.func .ds { font-size: 10.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.func .ico svg { width: 40px; height: 36px; filter: drop-shadow(0 3px 8px rgba(47, 107, 242, .18)); }

/* ---------- 首页·侧弯专线强调横幅 ---------- */
.scoliBanner {
  position: relative; overflow: hidden; margin-top: 14px;
  border-radius: 24px; padding: 17px 18px 16px;
  background: linear-gradient(135deg, #F2F8FF 0%, #E1EEFF 48%, #CFE4FF 100%);
  border: 1px solid rgba(255, 255, 255, .96);
  box-shadow: 0 12px 26px rgba(31, 86, 168, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
  cursor: pointer;
}
.scoliBanner::after {
  content: ''; position: absolute; right: -46px; top: -66px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 64%);
}
.scoliBanner .sbRow { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.scoliBanner .sbTag {
  font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #2E66E8;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(46, 102, 232, .08); border: 1px solid rgba(46, 102, 232, .18);
}
.scoliBanner .sbArrow {
  width: 34px; height: 34px; border-radius: 50%; font-size: 19px; color: #2E66E8;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(46, 102, 232, .16);
  box-shadow: 0 6px 14px rgba(31, 86, 168, .10);
}
.scoliBanner .sbTitle { position: relative; z-index: 1; margin-top: 10px; font-size: 22px; font-weight: 800; color: #12306E; letter-spacing: .02em; }
.scoliBanner .sbSub { position: relative; z-index: 1; margin-top: 6px; font-size: 12.5px; color: #4A6B8F; line-height: 1.7; }
.scoliBanner .sbPills { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scoliBanner .sbPills span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px; color: #2E66E8;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(46, 102, 232, .14);
}

/* ---------- 动态筛查·阳性转线提示 ---------- */
.scoliAlert {
  position: relative; overflow: hidden; margin-top: 12px;
  border-radius: 20px; padding: 15px 16px 14px;
  background: linear-gradient(135deg, #F4F9FF 0%, #E4F0FF 55%, #D5E7FF 100%);
  border: 1px solid rgba(255, 255, 255, .96);
  box-shadow: 0 10px 22px rgba(31, 86, 168, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
  cursor: pointer;
}
.scoliAlert::after {
  content: ''; position: absolute; right: -50px; top: -70px; width: 170px; height: 170px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 226, .9), transparent 66%);
}
.scoliAlert .saRow { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.scoliAlert .saTag {
  font-size: 11px; letter-spacing: .1em; font-weight: 700; color: #8A5A0B;
  padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #FFF0D6, #FFDFAE); border: 1px solid rgba(255, 255, 255, .7);
}
.scoliAlert .saArrow {
  width: 32px; height: 32px; border-radius: 50%; font-size: 18px; color: #2E66E8;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(46, 102, 232, .16);
}
.scoliAlert .saTitle { position: relative; z-index: 1; margin-top: 9px; font-size: 19px; font-weight: 800; color: #12306E; letter-spacing: .02em; }
.scoliAlert .saSub { position: relative; z-index: 1; margin-top: 5px; font-size: 12.5px; color: #4A6B8F; line-height: 1.7; }

/* ---------- 底部导航 ---------- */
#tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(219, 234, 252, .95);
  box-shadow: 0 -8px 26px rgba(31, 86, 168, .08);
  padding-bottom: env(safe-area-inset-bottom);
}
#tabbar .inner {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 48px;
}
#tabbar .tab {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  color: #9AAFC5;
  cursor: pointer;
}
#tabbar .tab::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5px; left: 50%;
  width: 46px; height: 30px;
  margin-left: -23px;
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(233, 243, 255, .95), rgba(214, 234, 255, .95));
  box-shadow: 0 4px 12px rgba(47, 107, 242, .16), inset 0 1px 0 rgba(255, 255, 255, .9);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .18s ease, transform .18s ease;
}
#tabbar .tab.on { color: var(--blue); font-weight: 700; }
#tabbar .tab.hot { color: var(--blue); font-weight: 700; }
#tabbar .tab.on::before { opacity: 1; transform: scale(1); }
#tabbar .tab svg { width: 21px; height: 21px; position: relative; z-index: 1; }
#tabbar .tab.on svg { filter: drop-shadow(0 4px 10px rgba(47, 107, 242, .3)); }

/* ---------- 拍摄 ---------- */
.cam {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #0B1A2B;
  border-radius: 20px;
  overflow: hidden;
}
.cam video, .cam canvas.still { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam video.mirror { transform: scaleX(-1); }
.overlay { position: absolute; inset: 0; pointer-events: none; }
.hintbar {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  background: rgba(6, 22, 40, .72);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}
.hintbar b { color: #9ED0FF; font-weight: 600; }
.count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.shutterRow { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.shutter {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid #CFE1F7;
  background: radial-gradient(circle at 50% 40%, #fff, #E6F1FF);
  box-shadow: 0 6px 16px rgba(46,123,224,.22);
  cursor: pointer;
  flex: none;
}
.shutter.rec { border-color: #F3B7A6; background: radial-gradient(circle at 50% 40%, #fff, #FFE9E2); }
.shutter.busy { opacity: .6; }
.steps { display: flex; gap: 6px; margin: 10px 0 0; }
.steps span { flex: 1; height: 3px; border-radius: 2px; background: #DCE9F9; }
.steps span.on { background: var(--blue); }

.slotGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.slot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #E8F0FA;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border: 2px solid transparent;
}
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.sel { border-color: var(--blue); }
.slot .nm { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .9); backdrop-filter: blur(4px); color: #14306E; font-size: 10.5px; font-weight: 600; text-align: center; padding: 3px 0; }
.slot .dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }

/* ---------- 表单 ---------- */
.field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F0F5FB; }
.field:last-child { border-bottom: none; }
.field .lb { font-size: 13.5px; color: var(--ink-2); }
.field .lb small { display: block; font-size: 11px; color: var(--ink-3); }
.input {
  width: 92px; height: 34px; border-radius: 10px; border: 1px solid #D6E6F8;
  text-align: center; font-size: 14px; color: var(--ink); background: #FBFDFF;
  font-variant-numeric: tabular-nums;
}
.input.wide { width: 130px; text-align: left; padding: 0 10px; }
.field.field-num { align-items: flex-start; padding: 12px 0; }
.field.field-num .lb { padding-top: 6px; max-width: 58%; }
.field.field-num .col { align-items: flex-end; flex: none; }
.input:focus { outline: 2px solid #BFDCFF; border-color: var(--blue-2); }
.input.area {
  width: 100%; height: auto; min-height: 104px; text-align: left; padding: 10px 12px;
  line-height: 1.62; font-family: inherit; font-size: 13.5px; resize: none;
}
.btn.disabled {
  background: #E7EEF7; color: #A6B7C9; box-shadow: none; pointer-events: auto; cursor: not-allowed;
}
.range { width: 130px; accent-color: var(--blue); }
.seg { display: inline-flex; border: 1px solid #D6E6F8; border-radius: 10px; overflow: hidden; background: #FBFDFF; }
.seg button {
  border: none; background: transparent; padding: 6px 10px; font-size: 12.5px; color: var(--ink-3); cursor: pointer;
}
.seg button.on { background: var(--blue); color: #fff; }
.gradePill {
  min-width: 62px; text-align: center; height: 26px; line-height: 26px;
  border-radius: 999px; font-size: 12px; background: #EFF3F8; color: var(--ink-3);
}

/* ---------- 报告 ---------- */
.ring { position: relative; width: 148px; height: 148px; margin: 6px auto 0; }
.ring .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .num b { font-size: 38px; color: var(--ink); line-height: 1; }
.ring .num span { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.zoneRow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F2F7FC; cursor: pointer; }
.zoneRow:last-child { border-bottom: none; }
.zoneRow .bar { flex: 1; }

/* ---------- 人形图 ---------- */
.bodyMap { position: relative; width: 100%; aspect-ratio: 3 / 5; }
.bodyMap svg { width: 100%; height: 100%; display: block; }
.zoneHit { fill: transparent; cursor: pointer; }
.zoneHit:hover, .zoneHit.on { fill: rgba(47, 107, 242, .18); }

/* ---------- 其他 ---------- */
.empty { padding: 26px 0; text-align: center; color: var(--ink-3); font-size: 13px; }
.tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: #EEF4FB; color: var(--ink-3); margin-right: 4px; }
.notice { background: linear-gradient(150deg, #FFFDF7, #FFF6E8); border: 1px solid #F7E0BE; color: #8A5A17; border-radius: 14px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; }
.disclaimer { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; padding: 18px 4px calc(18px + env(safe-area-inset-bottom)); }
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%);
  background: rgba(11, 39, 66, .92); color: #fff; padding: 10px 16px; border-radius: 12px;
  font-size: 13px; z-index: 40; opacity: 0; transition: opacity .2s ease;
}
.toast.show { opacity: 1; }
.sheetMask { position: fixed; inset: 0; background: rgba(8, 24, 42, .45); z-index: 30; display: flex; align-items: flex-end; }
.sheet {
  width: 100%; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 80vh; overflow: auto;
}
.pillRow { display: flex; flex-wrap: wrap; gap: 8px; }
.pillRow button {
  border: 1px solid #D6E6F8; background: #FBFDFF; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
}
.pillRow button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0; }
.thumb { width: 72px; height: 96px; border-radius: 10px; overflow: hidden; flex: none; background: #E8F0FA; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 选项 pill / 开关 ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 4px 14px;
  border: 1px solid #D6E6F8; background: #FBFDFF; border-radius: 999px;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  white-space: nowrap;
}
.pill.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.wrap-pills, .row.wrap { flex-wrap: wrap; }

.switch {
  position: relative; width: 46px; height: 26px; border-radius: 999px;
  background: #DDE7F3; flex: none; cursor: pointer; transition: background .18s ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(15, 44, 76, .18); transition: left .18s ease;
}
.switch.on { background: var(--blue); }
.switch.on::after { left: 23px; }

/* ---------- 客户卡 / 时间轴 / 照片对照 ---------- */
.ava {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #EAF3FF, #DCECFF); color: var(--blue); font-size: 15px; font-weight: 650;
}
.tl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #F2F7FC; cursor: pointer; }
.tl:last-child { border-bottom: none; }
.tl .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.phBox {
  margin-top: 4px; border-radius: 12px; overflow: hidden;
  background: #E8F0FA; aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6px;
}
.phBox img { width: 100%; height: 100%; object-fit: cover; }

.func .ico { font-size: 18px; line-height: 1; }
.func .ico svg * { vector-effect: non-scaling-stroke; }

/* 小屏微调 */
@media (max-width: 430px) {
  .homeTitle { font-size: 28px; }
  .heroHome .brand { font-size: 11px; letter-spacing: 1px; }
}
@media (max-width: 380px) {
  .orbWrap { width: 46px; height: 46px; margin-right: 6px; }
  .orbWrap svg { width: 46px; height: 46px; }
  .heroHome .brand { font-size: 11px; letter-spacing: .6px; white-space: nowrap; }
  .statusPill { display: none; }
  .avatar { width: 34px; height: 34px; }
  .homeSub { font-size: 12.8px; letter-spacing: 0; }
  .homeSub .rule { width: 48px; }
}
@media (max-width: 360px) {
  .homeTitle { font-size: 26px; }
  .heroPanel { min-height: 220px; padding-left: 14px; }
  .figWrap { height: 204px; }
  .figWrap svg.fig { height: 186px; }
  .figImg { height: 200px; }
  .ctaPill { height: 46px; padding: 0 20px; font-size: 15px; }
}

/* 授权访问门禁 */
.stepRow { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0F5FB; align-items: flex-start; }
.stepRow:last-child { border-bottom: none; }
.stepNo {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 2px;
  background: #E8F2FF; color: #2E7BE0; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.gateLock { min-height: 100vh; background: #EDF4FE; }

/* 追溯水印：小而淡，打印/导出时也保持隐约 */
@media print{#aptWm{opacity:.07 !important}}


/* ===== 报告 3.0：三按钮、问题排序、方案、趋势 ===== */
.repWrap{padding:12px 14px 96px;background:linear-gradient(180deg,#F3F9FF 0,#EAF3FF 300px,#F7FBFF 100%)}
.repHead{background:linear-gradient(135deg,#0E4C96 0%,#2E7BE0 62%,#5AA9F8 100%);border-radius:22px;padding:16px 16px 14px;color:#fff;box-shadow:0 16px 36px rgba(21,87,168,.22);margin-bottom:14px}
.repHead .btn.ghost.mini{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.34)}
.repHeadBadge{font-size:11px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.26);padding:5px 10px;border-radius:999px}
.repHeadTop{display:flex;justify-content:space-between;align-items:center;gap:8px}
.repSwitchRow{display:block}
.repEyebrow{font-size:11px;letter-spacing:.14em;opacity:.82;margin-top:14px}
.repTitle{font-size:25px;font-weight:800;letter-spacing:-.02em;margin-top:4px;line-height:1.2}
.repTitle span{font-size:12px;font-weight:500;opacity:.8;margin-left:8px}
.repSub{font-size:12px;line-height:1.65;opacity:.82;margin-top:6px;max-width:92%}
.repTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}
.repTab{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:9px 4px;text-align:center;cursor:pointer;transition:.2s}
.repTab b{display:block;font-size:13px;letter-spacing:.02em}
.repTab span{display:block;font-size:9px;opacity:.72;margin-top:2px}
.repPoseSwitch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.repPoseBtn{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.24);border-radius:13px;padding:8px 9px;cursor:pointer;transition:.2s}
.repPoseBtn b{display:block;font-size:13px;letter-spacing:.02em}
.repPoseBtn small{display:block;font-size:9px;opacity:.7;margin-top:2px}
.repPoseBtn.on{background:#fff;border-color:#fff;color:#175AA6;box-shadow:0 6px 16px rgba(8,47,105,.18)}
.repPoseBtn.on small{opacity:.65}
.sceneLocalOnly{margin-top:0}
.repTab.on{background:#fff;color:#1557A8;border-color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.repTab.on span{opacity:.62}
.repDemoNote{background:rgba(255,255,255,.16);border:1px dashed rgba(255,255,255,.4);border-radius:10px;padding:7px 9px;font-size:11px;line-height:1.5;margin-top:9px}
.repCard{background:#fff;border:1px solid #E4EFFB;border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 8px 22px rgba(34,91,160,.06)}
.repSecHead{display:flex;gap:10px;align-items:flex-start;margin-bottom:11px}
.repSecNo{width:28px;height:28px;border-radius:9px;background:linear-gradient(135deg,#2E7BE0,#5AA9F8);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.repSecTitle{font-size:15px;font-weight:800;color:#123A66;line-height:1.3}
.repSecSub{font-size:11px;color:#7C93AA;line-height:1.5;margin-top:2px}
.repHero{padding:16px 14px 14px;background:linear-gradient(160deg,#FFFFFF 0%,#F3F9FF 60%,#EAF4FF 100%)}
.repHeroTop{display:flex;gap:14px;align-items:center}
.repRing{position:relative;width:132px;height:132px;flex:none}
.repRing svg{width:132px;height:132px;display:block}
.repRingTxt{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px}
.repRingTxt b{font-size:35px;color:#123A66;letter-spacing:-.04em}
.repRingTxt span{font-size:10px;color:#8AA1B8;margin-top:10px}
.repHeroTxt{min-width:0;flex:1}
.repKicker{font-size:10px;color:#7C93AA;letter-spacing:.16em}
.repGrade{font-size:23px;font-weight:800;margin-top:2px}
.repOne{font-size:12px;color:#42617F;line-height:1.55;margin-top:4px}
.repTags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.repTag{font-size:10px;background:#EAF3FF;color:#2E6DB4;border:1px solid #D8E9FF;border-radius:999px;padding:4px 8px}
.repSummary{font-size:12.5px;line-height:1.8;color:#2C4A68;background:#F7FBFF;border-left:3px solid #5AA9F8;border-radius:0 10px 10px 0;padding:9px 11px;margin-top:13px}
.rankRow{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #EEF5FC}
.rankRow:last-child{border-bottom:0}
.rankNo{width:26px;font-size:15px;font-weight:800;color:#B5C8DB;flex:none;padding-top:1px}
.rankBody{flex:1;min-width:0}
.rankTop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.rankName{font-size:14px;font-weight:800;color:#143B66;line-height:1.35}
.rankRole{font-size:9px;font-weight:600;color:#7C93AA;background:#F0F6FD;border-radius:5px;padding:2px 5px;margin-left:3px;vertical-align:1px}
.rankRole.main{color:#B45A18;background:#FFF0E4}
.rankGrade{font-size:17px;font-weight:800;line-height:1;flex:none;text-align:right}
.rankGrade span{display:block;font-size:9px;font-weight:500;color:#8AA1B8;margin-top:3px}
.rankMeta{font-size:10.5px;color:#7C93AA;line-height:1.55;margin-top:3px}
.repBar{height:6px;background:#EDF5FE;border-radius:99px;overflow:hidden;margin-top:6px}
.repBar i{display:block;height:100%;border-radius:99px;transition:width .6s}
.rankLink{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.repChip{font-size:9.5px;background:#F2F8FF;color:#3D6E9E;border:1px solid #E2EFFD;border-radius:6px;padding:3px 6px}
.repDetails{margin-top:6px;border-top:1px dashed #E4EFFB;padding-top:6px}
.repDetails summary{font-size:11px;color:#2E7BE0;cursor:pointer;padding:5px 0}
.repTip{font-size:10.5px;line-height:1.65;color:#7C93AA;background:#F7FBFF;border-radius:9px;padding:8px 9px;margin-top:9px}
.repNote{font-size:11.5px;line-height:1.8;color:#4A6076;background:#FFF9F2;border:1px solid #FFE7CC;border-radius:10px;padding:10px 11px}
.repEmpty{font-size:12px;color:#7C93AA;line-height:1.7;padding:14px;background:#F7FBFF;border-radius:10px;text-align:center}
.bodyPanel{display:grid;grid-template-columns:145px 1fr;gap:10px;align-items:center}
.bodyFig{background:linear-gradient(180deg,#F7FBFF,#EBF5FF);border-radius:14px;padding:4px;border:1px solid #E2EFFD}
.bodyFig .bodyMap{width:100%;height:auto}
.bodyFig .bodyMap svg{width:100%;height:auto;display:block}
.bodyLegendTitle{font-size:12px;font-weight:800;color:#143B66;margin-bottom:6px}
.bodyLegendRow{display:flex;align-items:center;gap:6px;font-size:11px;color:#42617F;padding:3px 0}
.bodyLegendRow i{width:8px;height:8px;border-radius:3px;flex:none}
.bodyLegendRow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bodyLegendRow b{font-size:11px;color:#143B66}
.bodyLegendNote{font-size:9.5px;color:#8AA1B8;line-height:1.55;margin-top:7px}
.repTableWrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #E8F1FB;border-radius:12px}
.repTable{width:100%;border-collapse:collapse;min-width:600px;font-size:10.5px}
.repTable th{background:#F2F8FF;color:#2E6DB4;font-weight:700;text-align:left;padding:8px 9px;white-space:nowrap;border-bottom:1px solid #E2EFFD}
.repTable td{padding:8px 9px;border-bottom:1px solid #F0F6FD;color:#42617F;line-height:1.55;vertical-align:top}
.repTable tr:last-child td{border-bottom:0}
.codeTag{display:inline-block;font-size:9px;font-weight:700;color:#2E6DB4;background:#EAF3FF;border-radius:4px;padding:1px 4px;margin-right:2px}
.brainRow{display:flex;gap:8px;align-items:center;padding:5px 0}
.brainCode{width:32px;font-size:11px;font-weight:800;color:#2E7BE0;flex:none}
.brainBody{flex:1;min-width:0}
.brainBody .between{font-size:11px;color:#42617F;margin-bottom:3px}
.brainBody .between b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.brainBody .between span{font-weight:800;color:#143B66;margin-left:6px}
.brainRow.main .brainCode{color:#B45A18}
.brainRow.main .repBar i{background:#E07B39 !important}
.brainFlag{width:28px;font-size:9px;color:#B45A18;flex:none;text-align:right}
.bsIntro{display:flex;gap:8px;align-items:flex-start;background:#F2F8FF;border:1px solid #DCEBFF;border-radius:10px;padding:8px 9px;margin-bottom:8px}
.bsIntro b{font-size:10.5px;color:#2E6DB4;flex:none}
.bsIntro span{font-size:9.5px;color:#5B748C;line-height:1.55}
.bsRule{font-size:9.5px;color:#8A6A4A;line-height:1.55;background:#FFF9F0;border:1px solid #F8E2CF;border-radius:8px;padding:6px 8px;margin-bottom:7px}
.bsRule b{color:#B45A18;margin-right:4px}
.bsBtns{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px}
.bsBtns .targetBtn{grid-template-columns:23px 1fr auto;padding:7px 6px}
.bsBtns .targetBtn b{font-size:9px;color:#2E7BE0}
.bsBtns .targetBtn span{font-size:9px}
.bsDetails .bsCard{margin-top:0}
.bsCard{border:1px solid #E2EFFD;border-radius:12px;padding:9px;background:#fff;margin-top:8px}
.bsCard.main{border-color:#F2D3B8;background:linear-gradient(180deg,#FFFCF8,#FFF8F0)}
.bsTop{display:flex;gap:6px;align-items:flex-start;justify-content:space-between}
.bsTop>div{display:flex;gap:4px;align-items:baseline;min-width:0}
.bsTop b{font-size:11.5px;color:#143B66;line-height:1.45}
.bsTop em{font-size:12px;font-style:normal;font-weight:800;flex:none}
.bsPath{margin-top:6px;padding:6px 7px;background:#F7FBFF;border-radius:7px}
.bsPath label,.bsOps label{display:block;font-size:8.5px;font-weight:800;color:#2E6DB4;margin-bottom:2px}
.bsPath p,.bsSides p,.bsOps p{margin:0;font-size:9.5px;color:#4A6076;line-height:1.58;overflow-wrap:anywhere}
.bsSides{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.bsSides>div{background:#FFF7F1;border:1px solid #F8E2CF;border-radius:8px;padding:6px 7px}
.bsSides b{display:inline-block;font-size:9px;color:#B45A18;background:#FFE9D8;border-radius:4px;padding:0 4px;margin-bottom:2px}
.bsOps{display:grid;gap:5px;margin-top:6px}
.bsOps>div{background:#F8FBFF;border-radius:7px;padding:6px 7px}
.bsMeta{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.bsMeta span{font-size:9px;color:#5B748C;background:#F2F8FF;border:1px solid #E2EFFD;border-radius:999px;padding:2px 6px;line-height:1.45}
.bsMeta b{color:#2E6DB4;margin-right:3px}
.bsDose{margin-top:6px;font-size:9.5px;color:#4A6076;line-height:1.55;background:#F7FBFF;border-left:3px solid #2E7BE0;border-radius:0 7px 7px 0;padding:5px 7px}
.bsDose b{color:#2E6DB4;margin-right:4px}
.bsNote{margin-top:5px;font-size:9px;color:#8A6A4A;line-height:1.55;background:#FFF9F0;border-radius:7px;padding:5px 7px}
.planLR{border:1px solid #F2D3B8;background:#FFFCF8;border-radius:9px;padding:7px 8px;margin-top:6px}
.planLRHead{display:flex;gap:5px;align-items:baseline;justify-content:space-between}
.planLRHead b{font-size:9.5px;color:#B45A18;flex:none}
.planLRHead span{font-size:9px;color:#8A6A4A;text-align:right;line-height:1.45}
.planLRGrid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}
.planLRGrid>div{background:#fff;border:1px solid #F8E2CF;border-radius:6px;padding:5px 6px;min-width:0}
.planLRGrid b{display:block;font-size:8.5px;color:#B45A18;margin-bottom:2px}
.planLRGrid span{display:block;font-size:9px;color:#5B748C;line-height:1.5;overflow-wrap:anywhere}
.stageList{display:grid;gap:9px}
.stageCard{border:1px solid #E2EFFD;border-radius:14px;padding:11px;background:linear-gradient(180deg,#FBFDFF,#F4FAFF)}
.stageTop{display:flex;gap:9px;align-items:center}
.stageNo{width:30px;height:30px;border-radius:10px;background:#2E7BE0;color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;flex:none}
.stageWeek{font-size:9.5px;color:#7C93AA}
.stageTitle{font-size:13.5px;font-weight:800;color:#143B66}
.stageFocus{font-size:11px;color:#4A6076;line-height:1.55;margin-top:6px}
.stageTargets{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.stageTargets span{font-size:9.5px;background:#fff;border:1px solid #D8E9FF;color:#2E6DB4;border-radius:999px;padding:3px 6px}
.stageGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.stageGrid b{display:block;font-size:10px;color:#2E6DB4;margin-bottom:3px}
.stageGrid div div{font-size:10px;color:#5B748C;line-height:1.55}
.stageDose{font-size:10px;color:#7C93AA;background:#fff;border:1px dashed #D8E9FF;border-radius:8px;padding:6px 7px;margin-top:8px;line-height:1.5}
.planList{display:grid;gap:9px}
.planCard{border:1px solid #E2EFFD;border-radius:14px;padding:11px;background:#fff}
.planName{font-size:13px;font-weight:800;color:#143B66}
.planName span{font-size:10px;color:#B5C8DB;margin-right:5px}
.planGrade{font-size:16px;font-weight:800}
.planLine{font-size:10.5px;color:#4A6076;line-height:1.65;margin-top:4px}
.planLine b{color:#2E6DB4;margin-right:4px}
.planDose{display:grid;gap:3px;background:#F7FBFF;border-radius:8px;padding:7px 8px;margin-top:7px}
.planDose div{font-size:9.5px;color:#5B748C;line-height:1.5}
.planDose span{color:#2E6DB4;font-weight:700;margin-right:4px}
.flow{display:grid;gap:0}
.flowRow{display:flex;gap:10px;padding:8px 0;border-bottom:1px dashed #E4EFFB}
.flowRow:last-child{border-bottom:0}
.flowTime{width:62px;font-size:10px;font-weight:700;color:#2E7BE0;flex:none;padding-top:1px}
.flowBody b{display:block;font-size:11.5px;color:#143B66}
.flowBody span{display:block;font-size:10px;color:#6B8298;line-height:1.55;margin-top:2px}
.homeBox{display:grid;gap:7px}
.homeBox div{background:#F7FBFF;border-radius:9px;padding:8px 9px}
.homeBox b{display:block;font-size:11px;color:#2E6DB4;margin-bottom:3px}
.homeBox span{font-size:10.5px;color:#5B748C;line-height:1.6}
.trendScope{margin:0 0 7px;font-size:10px;line-height:1.55;color:#6B86A3}
.trendScopeGo{border:0;background:none;color:#2E7BE0;font:inherit;font-weight:800;padding:0 0 0 3px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.trendSummary{font-size:11.5px;line-height:1.65;color:#2C4A68;background:#F7FBFF;border-left:3px solid #2E7BE0;border-radius:0 9px 9px 0;padding:8px 9px}
.trendSummary b{color:#1D63B2}
.trendMore{margin-top:6px;font-size:9px;line-height:1.6;color:#6F859B}
.trendMore summary{cursor:pointer;color:#2E6DB4;font-weight:700;padding:2px 0}
.trendMore>div{margin-top:4px;padding:6px 7px;border-radius:7px;background:#FBFDFF;border:1px dashed #DCEBFA}
.chartRead{margin-top:5px;padding:4px 6px;border-radius:7px;background:#F1F8FF;border:1px dashed #CFE6FF;font-size:8.2px;line-height:1.5;color:#315B82}
.chartRead b{display:inline-block;margin-right:3px;padding:0 3px;border-radius:3px;background:#E3F0FF;color:#1F63D4;font-size:7.5px;font-weight:800}
.chartCard{background:linear-gradient(180deg,#FBFDFF,#F5FAFF);border:1px solid #E2EFFD;border-radius:14px;padding:10px}
.tripleCharts{display:grid;gap:8px;margin:10px 0 2px}
.tripleCharts .chartCard{padding:9px 10px}
.tripleCharts .chartTitle{font-size:11.5px}
.chartTitle{font-size:12px;font-weight:800;color:#143B66}
.chartSub{font-size:9.5px;color:#8AA1B8;margin-top:1px}
.repChart{width:100%;height:auto;display:block;margin-top:6px;overflow:visible}
.chartLegend{display:flex;flex-wrap:wrap;gap:9px;margin-top:7px}
.chartLegend span{font-size:9.5px;color:#5B748C;display:flex;align-items:center;gap:4px}
.chartLegend i{width:8px;height:8px;border-radius:3px}
.barLegend{display:flex;gap:12px;margin-top:8px}
.barLegend span{font-size:9.5px;color:#5B748C;display:flex;align-items:center;gap:4px}
.barLegend i{width:8px;height:8px;border-radius:2px}
.barLegend i.a{background:#B9D6F7}.barLegend i.b{background:#2E7BE0}
.barChart{display:grid;gap:7px;margin-top:8px}
.barRow{display:grid;grid-template-columns:70px 1fr;gap:6px;align-items:center}
.barName{font-size:9.5px;color:#5B748C;line-height:1.2}
.barTrack{display:grid;gap:2px}
.barA,.barB{height:9px;border-radius:3px;position:relative;min-width:6px}
.barA{background:#B9D6F7}.barB{background:#2E7BE0}
.barA span,.barB span{position:absolute;right:-24px;top:-3px;font-size:8px;color:#7C93AA}
.repFooter{text-align:center;font-size:9.5px;color:#9AAFC2;line-height:1.7;padding:8px 0 0}
@media (max-width:360px){
  .repHeroTop{gap:9px}.repRing,.repRing svg{width:112px;height:112px}.repRingTxt b{font-size:29px}
  .bodyPanel{grid-template-columns:120px 1fr}.repTitle{font-size:22px}
}

/* 问题—脑区—手法—训练：移动端卡片，避免横向表格被截断 */
.alignList{display:grid;gap:8px}
.alignItem{border:1px solid #E2EFFD;border-radius:12px;padding:9px 10px;background:linear-gradient(180deg,#FBFDFF,#F7FBFF)}
.alignTop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding-bottom:6px;border-bottom:1px dashed #E4EFFB}
.alignTop b{display:block;font-size:12.5px;color:#143B66}
.alignTop span{display:block;font-size:9.5px;color:#8AA1B8;margin-top:1px}
.alignTop em{font-style:normal;font-size:14px;font-weight:800;flex:none}
.alignRow{display:grid;grid-template-columns:30px 1fr;gap:5px;padding-top:5px}
.alignRow label{font-size:9.5px;font-weight:700;color:#2E6DB4}
.alignRow div{font-size:10px;color:#4A6076;line-height:1.65;min-width:0}
.alignRow .tiny{display:block;font-size:9px;color:#8AA1B8;margin-top:1px}

/* ===== 报告 4.0：站姿/坐姿、照片位、完整链、颅底映射 ===== */
.pathStrip{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.pathStep{background:linear-gradient(180deg,#F7FBFF,#EDF6FF);border:1px solid #E2EFFD;border-radius:12px;padding:8px 6px;min-width:0}
.pathStep b{display:block;font-size:9px;color:#2E7BE0;letter-spacing:.1em}
.pathStep span{display:block;font-size:11.5px;font-weight:800;color:#143B66;margin-top:2px}
.pathStep em{display:block;font-size:9px;color:#7C93AA;line-height:1.45;margin-top:3px;font-style:normal}
.sceneFilter{display:flex;gap:6px;margin-bottom:10px}
.sceneBtn{flex:1;text-align:center;font-size:11px;font-weight:700;color:#5B748C;background:#F2F8FF;border:1px solid #DFEDFC;border-radius:9px;padding:7px 0;cursor:pointer}
.sceneBtn.on{background:#2E7BE0;border-color:#2E7BE0;color:#fff;box-shadow:0 5px 12px rgba(46,123,224,.22)}
.photoGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.photoFrame{position:relative;height:150px;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,#F7FBFF,#EAF4FF);border:1px solid #DDEBFA}
.photoFrame img{width:100%;height:100%;object-fit:cover;display:block}
.photoFrame > span{position:absolute;left:6px;bottom:6px;font-size:9px;color:#fff;background:rgba(14,53,96,.62);border-radius:5px;padding:2px 5px}
.photoFrame .pLine{position:absolute;background:rgba(255,255,255,.6);pointer-events:none}
.photoFrame .pLine.v{left:50%;top:6%;bottom:6%;width:1px}
.photoFrame .pLine.h{top:24%;left:6%;right:6%;height:1px}
.photoFrame.empty .photoGhost{height:100%;display:flex;align-items:center;justify-content:center;color:#9DB4CA;font-size:11px}
.photoFrame.empty .photoGhost img{width:70%;height:94%;object-fit:contain;opacity:.8}
.photoFrame.empty .photoGhost span{border:1px dashed #C9DFF5;border-radius:8px;padding:8px 12px;background:#fff}
.photoFrame.simPhoto{background:linear-gradient(180deg,#FBFDFF,#EDF6FF)}
.photoFrame.simPhoto .photoGhost{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.96}
.photoFrame.simPhoto .photoGhost svg{width:92%;height:96%}
.photoFrame.simPhoto>span{background:rgba(20,66,112,.72)}
.photoFrame.simPhoto .pLine{background:rgba(95,147,204,.22)}
.chainCard{border:1px solid #DFEDFC;border-radius:14px;padding:10px;background:linear-gradient(180deg,#FCFEFF,#F7FBFF);margin-bottom:8px}
.chainCard.main{border-color:#B9D8FA;box-shadow:0 8px 20px rgba(46,123,224,.08)}
.chainTop{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;padding-bottom:7px;border-bottom:1px dashed #E1EEFC;margin-bottom:5px}
.chainTop>div:first-child{min-width:0}
.chainTop span{font-size:10px;color:#B5C8DB;font-weight:800;margin-right:4px}
.chainTop b{font-size:13.5px;color:#143B66}
.chainTop em{display:block;font-style:normal;font-size:9.5px;color:#7C93AA;margin-top:2px}
.chainGrade{font-size:10px;font-weight:700;flex:none;background:#fff;border:1px solid #E2EFFD;border-radius:999px;padding:3px 7px}
.chainRow{display:grid;grid-template-columns:62px 1fr;gap:6px;padding:4px 0;border-bottom:1px dashed #F0F6FD}
.chainRow:last-child{border-bottom:0}
.chainRow label{font-size:9px;font-weight:800;color:#2E6DB4;line-height:1.55;padding-top:1px}
.chainRow>div{font-size:10px;color:#4A6076;line-height:1.6;min-width:0}
.chainRow>div b{color:#143B66}
.chainRow .tiny{display:block;font-size:9px;color:#8AA1B8;margin-top:1px}
.softTag{display:inline-block;font-size:9px;color:#8A4B2A;background:#FFF3E8;border:1px solid #FFE0C8;border-radius:5px;padding:1px 4px;margin:1px 3px 1px 0}
.softTag.weak{color:#2E6DB4;background:#EFF7FF;border-color:#D6E9FF}
.detBrain{margin-bottom:3px}
.detBrain b{color:#2E6DB4;margin-right:3px}
.cranList{display:grid;gap:7px}
.cranRow{display:flex;gap:8px;border:1px solid #E2EFFD;border-radius:12px;padding:8px;background:#FBFDFF}
.cranCode{width:34px;flex:none;font-size:10px;font-weight:800;color:#2E7BE0;background:#EAF3FF;border-radius:7px;display:flex;align-items:center;justify-content:center;height:26px}
.cranBody{flex:1;min-width:0}
.cranBody>b{display:block;font-size:11.5px;color:#143B66;margin-bottom:3px}
.cranLine{display:grid;grid-template-columns:58px 1fr;gap:4px;font-size:9.5px;line-height:1.55;padding:1px 0}
.cranLine label{color:#2E6DB4;font-weight:700}
.cranLine span{color:#4A6076;min-width:0}
.refsBox{margin-top:10px;border-top:1px dashed #E1EEFC;padding-top:7px}
.refsBox summary{font-size:10.5px;color:#2E7BE0;cursor:pointer;padding:4px 0}
.refItem{font-size:9px;color:#6B8298;line-height:1.65;padding:3px 0;border-bottom:1px dotted #EEF5FC}
.refItem:last-of-type{border-bottom:0}
.refTip{font-size:9px;color:#9A6A38;background:#FFF9F2;border-radius:6px;padding:6px;margin-top:4px;line-height:1.55}
.orderPanel{display:grid;gap:5px}
.orderRow{display:grid;grid-template-columns:20px 1fr 120px;gap:7px;align-items:flex-start;background:#FBFDFF;border:1px solid #E6F1FC;border-radius:9px;padding:7px}
.orderRow>b{width:20px;height:20px;border-radius:50%;background:#2E7BE0;color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center}
.orderRow strong{display:block;font-size:11px;color:#143B66}
.orderRow span{display:block;font-size:9px;color:#7C93AA;line-height:1.45;margin-top:1px}
.orderRow em{font-style:normal;font-size:8.5px;color:#2E6DB4;line-height:1.45;text-align:right}
.cranManual{display:grid;gap:7px}
.cranManualRow{border:1px solid #E2EFFD;border-radius:11px;padding:8px;background:linear-gradient(180deg,#FCFEFF,#F7FBFF)}
.cranManualRow>div{display:flex;justify-content:space-between;gap:6px}
.cranManualRow b{font-size:11px;color:#143B66}
.cranManualRow span{font-size:9px;color:#2E7BE0;font-weight:700;flex:none}
.cranManualRow p{font-size:9.5px;color:#4A6076;line-height:1.6;margin:3px 0}
.cranManualRow em{font-style:normal;font-size:8.5px;color:#B06B3C;line-height:1.5;display:block;background:#FFF9F2;border-radius:5px;padding:4px 5px}
.breathBox{display:grid;gap:6px}
.breathStep{background:#F7FBFF;border:1px solid #E4F0FC;border-radius:9px;padding:7px 8px}
.breathStep b{display:block;font-size:10.5px;color:#2E6DB4;margin-bottom:2px}
.breathStep span{font-size:9.5px;color:#5B748C;line-height:1.6}
.trendTags{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.trendTags span{font-size:9px;border-radius:999px;padding:3px 7px;border:1px solid #DCEBFA;color:#42617F;background:#fff}
.trendTags span.good{color:#1F7A52;background:#EEF9F3;border-color:#C8EAD8}
.trendTags span.bad{color:#B04A2A;background:#FFF2EC;border-color:#FFD8C8}
.trendTags span.flat{color:#8A6A2A;background:#FFF9EA;border-color:#F1E1B8}
@media (max-width:360px){
  .pathStep em{display:none}
  .chainRow{grid-template-columns:56px 1fr}
  .orderRow{grid-template-columns:20px 1fr}
  .orderRow em{grid-column:2;text-align:left}
  .photoFrame{height:132px}
}

/* ===== 拍摄参数、准备清单、语音带拍 ===== */
.setupCard{background:linear-gradient(180deg,#FCFEFF,#F4FAFF);border:1px solid #DCEBFA}
.setupGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.setupGridOne{grid-template-columns:minmax(0,1fr)}
.setupGridOne .setupField .input{height:42px;font-size:18px}
.setupField{display:block;font-size:10px;color:#5B748C;font-weight:700;line-height:1.35}
.setupField .input{width:100%;margin-top:4px;height:34px;text-align:center;font-size:14px;font-weight:700;color:#143B66}
.autoMetrics{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:5px}
.autoMetric{display:flex;align-items:baseline;justify-content:space-between;gap:6px;background:#F7FBFF;border:1px solid #E2EFFD;border-radius:9px;padding:6px 8px}
.autoMetric span{font-size:9px;color:#6E87A0;font-weight:700;white-space:nowrap}
.autoMetric b{font-size:15px;line-height:1.1;color:#143B66;font-weight:800;white-space:nowrap}
.autoMetric small{font-size:8.5px;color:#7C93AA;font-weight:600;margin-left:1px}
.basisBox{margin-top:7px;border-top:1px dashed #E1EEFC;padding-top:7px}
.basisBox summary{font-size:10px;color:#2E6DB4;font-weight:700;cursor:pointer;list-style:none}
.basisBox summary::-webkit-details-marker{display:none}
.basisBox summary::after{content:"＋";float:right;font-weight:600;color:#7FA8D8}
.basisBox[open] summary::after{content:"－"}
.basisBox div{font-size:9px;color:#6E87A0;line-height:1.7;margin-top:4px}
.calcBox{margin-top:8px;background:#fff;border:1px solid #E2EFFD;border-radius:11px;padding:8px}
.calcLine{display:flex;gap:8px;align-items:flex-start;padding:3px 0;font-size:10px;line-height:1.5;color:#4A6076}
.calcLine b{flex:none;width:28px;color:#2E6DB4;font-size:10px}
.calcLine span{min-width:0}
.calcNote{font-size:9px;color:#7C93AA;line-height:1.55;border-top:1px dashed #E8F2FD;margin-top:4px;padding-top:4px}
.prepBox{border-top:1px dashed #E1EEFC;padding-top:8px}
.prepRow{display:grid;grid-template-columns:36px 1fr;gap:7px;padding:5px 0;border-bottom:1px dotted #EEF5FC}
.prepRow:last-child{border-bottom:0}
.prepRow b{font-size:9.5px;color:#2E6DB4;line-height:1.6}
.prepRow span{font-size:9.5px;color:#5B748C;line-height:1.6;min-width:0}
@media (max-width:360px){
  .setupGrid{gap:5px}
  .setupField{font-size:9px}
  .calcLine{font-size:9px}
  .prepRow{grid-template-columns:32px 1fr}
}

#liveQuality{flex:1;min-width:0;height:auto;min-height:24px;white-space:normal;text-align:center;font-size:9.5px;line-height:1.35;padding:4px 7px;justify-content:center}

/* ===== 标准中立位对照 ===== */
.alignWrap{padding-bottom:88px}
.alignHead{padding:4px 2px 10px}
.alignTitle{font-size:23px;line-height:1.25;font-weight:800;color:#0E2C4E;letter-spacing:-.3px;margin-top:4px}
.alignTitle i{font-style:normal;font-size:12px;color:#7C97B5;font-weight:600;padding:0 4px}
.alignSub{font-size:10.5px;line-height:1.65;color:#5C7691;margin-top:5px}
.alignTabs{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 9px}
.alignTabRow{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #DDEBFA;border-radius:11px;padding:4px}
.alignTabRow>span{font-size:9px;color:#8AA0B7;padding:0 3px;white-space:nowrap}
.alignTab{font-size:10px;color:#44617E;padding:6px 9px;border-radius:8px;line-height:1.2;white-space:nowrap;cursor:pointer}
.alignTab.on{background:#2F6BF2;color:#fff;font-weight:800;box-shadow:0 3px 8px rgba(47,107,242,.22)}
.alignCard{background:#fff;border:1px solid #DFECFA;border-radius:16px;padding:9px;box-shadow:0 8px 22px rgba(31,74,125,.06)}
.alignTop{display:grid;grid-template-columns:50% 50%;gap:8px;align-items:start}
.alignPanel{min-width:0}
.alignPanelTitle{font-size:9.5px;font-weight:800;color:#1D4A79;line-height:1.35;margin:0 0 5px;display:flex;justify-content:space-between;gap:4px}
.alignPanelTitle span{font-weight:500;color:#8AA0B7;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.alignNeutral{border:1px solid #E1EEFC;border-radius:11px;background:linear-gradient(180deg,#FBFDFF,#F2F8FF);aspect-ratio:3/4;overflow:hidden}
.alignNeutralSvg{display:block;width:100%;height:100%}
.alignStdPic{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.alignStdPic.mirror{transform:scaleX(-1)}
.alignGhost .alignStdPic{opacity:.38}
.alignStage{position:relative;border:1px solid #E1EEFC;border-radius:11px;background:#F2F7FD;aspect-ratio:3/4;overflow:hidden;touch-action:none}
.alignStage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s}
.alignStage>.alignSvg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.alignGhost{position:absolute;inset:0;opacity:.2;pointer-events:none}
.alignEmpty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;line-height:1.5;color:#7C93AA;text-align:center;z-index:1;background:rgba(250,253,255,.7)}
.alignEmpty span{display:inline-block;color:#2F6BF2;font-weight:700;border-bottom:1px solid #BBD5F6;padding-bottom:1px}
.alignPanelNote{font-size:8.5px;color:#8AA0B7;line-height:1.5;margin-top:4px;text-align:center}
.alignLegend{margin-top:10px;border-top:1px dashed #E1EEFC;padding-top:7px}
.alignLegendHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.alignLegendHead b{font-size:11px;color:#123E6A}
.alignLegendHead span{font-size:8.5px;color:#8AA0B7}
.alignNoteRow{display:grid;grid-template-columns:19px 1fr;gap:6px;padding:6px 0;border-bottom:1px dotted #EDF5FC}
.alignNoteRow:last-of-type{border-bottom:0}
.alignNoteRow>b{width:18px;height:18px;border-radius:50%;background:#EEF6FF;color:#2F6BF2;font-size:9px;display:flex;align-items:center;justify-content:center;font-weight:800;margin-top:1px}
.alignNoteRow>div{min-width:0}
.alignNoteRow strong{display:block;font-size:9.5px;line-height:1.5;color:#234666;font-weight:700}
.alignNoteRow span{display:block;font-size:8.5px;line-height:1.55;color:#6D859D;margin-top:2px}
.alignNoteRow em{display:block;font-style:normal;font-size:8px;line-height:1.5;color:#9AAFC3;margin-top:2px}
.alignNoteRow.mild>b{background:#FFF7E7;color:#D99420}
.alignNoteRow.warn>b{background:#FFF0E8;color:#E07A36}
.alignNoteRow.bad>b{background:#FDECEA;color:#D9534F}
.alignNoteRow.ok>b{background:#EDF9F2;color:#2F9E6A}
.alignLegendTip{font-size:8px;line-height:1.55;color:#93A8BF;border-top:1px dashed #EAF3FC;padding-top:5px;margin-top:3px}
.alignActions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.alignActions .btn{flex:1;min-width:70px}
.alignSource{background:#F7FBFF;border:1px solid #E3EFFB;border-radius:12px;padding:9px 10px;font-size:8.5px;line-height:1.65;color:#60788F}
.alignSource b{display:block;color:#2E6DB4;font-size:9.5px;margin-bottom:3px}
.alignSource span{display:block;margin-top:3px}
.alignSource span:last-child{color:#8FA3B8}
.alignReport{display:grid;gap:8px}
.alignReportTop{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch}
.alignMiniRow{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.alignMini{background:#F8FBFF;border:1px solid #E2EFFC;border-radius:10px;padding:4px 5px 2px;text-align:center}
.alignMini svg{display:block;width:100%;height:118px}
.alignMini b{display:block;font-size:8.5px;color:#5B748C;font-weight:600;margin-top:1px}
.alignReportSide{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.alignReportCount{font-size:10px;color:#5B748C;line-height:1.4}
.alignReportCount b{font-size:22px;color:#2F6BF2;line-height:1;margin-right:2px}
.alignReportSide .btn{align-self:flex-start;margin-top:2px}
.alignStatusGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.alignStatus{border:1px solid #E6F0FA;border-radius:7px;padding:4px 3px;text-align:center;font-size:8px;color:#7C93AA;line-height:1.35;background:#FCFEFF}
.alignStatus.on{background:#EEF7FF;border-color:#BFDCFA;color:#2E6DB4;font-weight:700}
.alignStatus em{display:block;font-style:normal;font-size:7px;color:#9AAFC3;font-weight:400}
.alignFindings{display:grid;gap:3px}
.alignFindRow{display:grid;grid-template-columns:17px 1fr;gap:5px;padding:4px 0;border-bottom:1px dotted #EDF5FC}
.alignFindRow>b{width:16px;height:16px;border-radius:50%;background:#FFF3E8;color:#D9772F;font-size:8px;display:flex;align-items:center;justify-content:center;font-weight:800}
.alignFindRow>div{min-width:0}
.alignFindRow strong{display:block;font-size:9px;line-height:1.45;color:#234666}
.alignFindRow span{display:block;font-size:8px;line-height:1.5;color:#6D859D;margin-top:1px}
.alignFindRow em{display:block;font-style:normal;font-size:7.5px;color:#9AAFC3;margin-top:1px}
.alignSvg line,.alignSvg polyline,.alignSvg path{vector-effect:non-scaling-stroke}
.alignSvg .aRef{stroke:#6C9BD2;stroke-width:1.3;stroke-dasharray:6 5;fill:none;opacity:.9}
.alignSvg .aSeat{stroke:#8CB6E8;stroke-width:1.1;stroke-dasharray:3 4;fill:none}
.alignSvg .aSpine{stroke:#E8833A;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.alignSvg .aBone{stroke:#E8A33D;stroke-width:1.6;fill:none;stroke-linecap:round}
.alignSvg .aLine{stroke:#E05A4E;stroke-width:2.4;fill:none;stroke-linecap:round}
.alignSvg .aLineD{stroke:#E8A33D;stroke-width:2;fill:none;stroke-linecap:round}
.alignSvg .aDev{stroke:#E05A4E;stroke-width:1.4;fill:none;stroke-dasharray:2 2}
.alignSvg .aJoint{fill:#fff;stroke:#E05A4E;stroke-width:1.4}
.alignSvg .alignHandle{fill:#fff;stroke:#E05A4E;stroke-width:1.8;cursor:grab}
.alignSvg .alignHit{fill:transparent;cursor:grab}
.alignSvg .alignNum circle{fill:#fff;stroke:currentColor;stroke-width:1.6;opacity:.96}
.alignSvg .alignNum text{font-size:36px;font-weight:800;fill:currentColor;font-family:inherit}
.alignSvg .alignNum.ok{color:#2F9E6A}
.alignSvg .alignNum.mild{color:#D99420}
.alignSvg .alignNum.warn{color:#E07A36}
.alignSvg .alignNum.bad{color:#D9534F}
.alignSvg .nRef{stroke:#6C9BD2;stroke-width:1;stroke-dasharray:5 5;fill:none;opacity:.75}
.alignSvg .nSeat{stroke:#8CB6E8;stroke-width:1;stroke-dasharray:3 4;fill:none}
.alignSvg .nBone{stroke:#3F82C8;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.alignSvg .nShoulder{stroke:#2F6BF2;stroke-width:1.8;fill:none}
.alignSvg .nPelvis{stroke:#2F9E6A;stroke-width:1.8;fill:none}
.alignSvg .nHead{fill:#EAF4FF;stroke:#3F82C8;stroke-width:1.5}
.alignSvg .nJoint{fill:#fff;stroke:#2F6BF2;stroke-width:1.2}
.alignSvg .nTxt,.alignSvg .nLbl{fill:#6C8EB8;font-size:18px;font-family:inherit}
.alignSvg .aCalloutBg{fill:#fff;opacity:.9;stroke:#E7B3A4;stroke-width:1}
.alignSvg .aCallout{font-size:25px;font-weight:800;font-family:inherit;paint-order:stroke;stroke:#fff;stroke-width:4;stroke-linejoin:round}
.alignSvg .aCallout.mild{fill:#B9791B}
.alignSvg .aCallout.warn{fill:#C4552F}
.alignSvg .aCallout.bad{fill:#B02A24}
.alignNeutralSvg .nBody{fill:#F4F9FF;stroke:#CFE3F8;stroke-width:2;fill-opacity:.72}
.alignNeutralSvg .nRef{stroke:#6C9BD2;stroke-width:1.2;stroke-dasharray:6 6;fill:none;opacity:.75}
.alignNeutralSvg .nSeat{stroke:#8CB6E8;stroke-width:1.2;stroke-dasharray:4 5;fill:none}
.alignNeutralSvg .nBone{stroke:#3F82C8;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.alignNeutralSvg .nShoulder{stroke:#2F6BF2;stroke-width:2.4;fill:none}
.alignNeutralSvg .nPelvis{stroke:#2F9E6A;stroke-width:2.4;fill:none}
.alignNeutralSvg .nHead{fill:#EAF4FF;stroke:#3F82C8;stroke-width:2}
.alignNeutralSvg .nJoint{fill:#fff;stroke:#2F6BF2;stroke-width:1.6}
.alignNeutralSvg .nTxt,.alignNeutralSvg .nLbl{fill:#6C8EB8;font-size:22px;font-family:inherit}

/* 3D 中立位人体：体积+阴影+参考线 */
.simSvg{display:block;width:100%;height:100%}
.alignNeutralSvg .figShadow,.simSvg .figShadow{fill:#D7E8F8;opacity:.72}
.alignNeutralSvg .figChair,.simSvg .figChair{fill:#E6F2FD;stroke:#B9D5EF;stroke-width:1.2}
.alignNeutralSvg .figChairLine,.simSvg .figChairLine{stroke:#B9D5EF;stroke-width:3;stroke-linecap:round}
.alignNeutralSvg .figTorso,.simSvg .figTorso{stroke:#7FAAD2;stroke-width:1.5;stroke-linejoin:round}
.alignNeutralSvg .figPelvis,.simSvg .figPelvis{fill:#C9E0F5;stroke:#7FAAD2;stroke-width:1.3}
.alignNeutralSvg .figPelvisPol,.simSvg .figPelvisPol{stroke:#7FAAD2;stroke-width:1.3}
.alignNeutralSvg .figBelly,.simSvg .figBelly{fill:#FFFFFF;opacity:.26;stroke:none}
.alignNeutralSvg .figNeck,.simSvg .figNeck{stroke:#7FAAD2;stroke-width:1.2}
.alignNeutralSvg .figHead,.simSvg .figHead{stroke:#7FAAD2;stroke-width:1.6}
.alignNeutralSvg .figHand,.simSvg .figHand{fill:#D2E6F7;stroke:#7FAAD2;stroke-width:1.2}
.alignNeutralSvg .figShoulder,.simSvg .figShoulder{fill:#D2E6F7;stroke:#7FAAD2;stroke-width:1.2}
.alignNeutralSvg .figScap,.simSvg .figScap{fill:#B7D4EF;stroke:#86AFD6;stroke-width:1;opacity:.48}
.alignNeutralSvg .figLimb,.simSvg .figLimb{stroke:#7FAAD2;stroke-width:1.2;stroke-linejoin:round}
.alignNeutralSvg .figFoot,.simSvg .figFoot{stroke:#7FAAD2;stroke-width:1.2;stroke-linejoin:round}
.alignNeutralSvg .figRef,.simSvg .figRef{stroke:#5F93CC;stroke-width:1.15;stroke-dasharray:6 5;fill:none;opacity:.72}
.alignNeutralSvg .figSeat,.simSvg .figSeat{stroke:#8CB6E8;stroke-width:1.2;stroke-dasharray:3 4;fill:none}
.alignNeutralSvg .figDot,.simSvg .figDot{fill:#fff;stroke:#2F6BF2;stroke-width:1.5}

/* 照片对线：模拟结果 */
.simWrap{display:grid;gap:8px}
.simHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.simHead b{display:block;font-size:12px;color:#123E6A;line-height:1.35}
.simHead span{display:block;font-size:8.5px;color:#7C93AA;line-height:1.45;margin-top:1px}
.simHead em{flex:none;font-style:normal;font-size:8px;color:#2E6DB4;background:#EEF7FF;border:1px solid #C9E2FA;border-radius:999px;padding:3px 6px}
.simRule{font-size:9px;line-height:1.55;color:#5B748C;background:#F7FBFF;border:1px solid #E3EFFB;border-radius:9px;padding:6px 8px}
.simRule b{color:#2E6DB4}
.simGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.simCard{border:1px solid #E1EEFC;border-radius:12px;background:linear-gradient(180deg,#FFFFFF,#F8FCFF);padding:5px;min-width:0}
.simFig{aspect-ratio:3/4;border-radius:9px;background:linear-gradient(180deg,#FBFDFF,#EEF7FF);overflow:hidden}
.simFig svg{display:block;width:100%;height:100%}
.simTitle{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:5px}
.simTitle b{font-size:9.5px;color:#234666;line-height:1.3}
.simTitle em{font-style:normal;font-size:7.5px;color:#2E6DB4;background:#EEF7FF;border-radius:4px;padding:1px 4px;flex:none}
.simKeys{display:grid;gap:2px;margin-top:4px}
.simKeys span{font-size:7.8px;line-height:1.35;color:#6D859D;display:flex;align-items:flex-start;gap:3px}
.simKeys i{width:4px;height:4px;border-radius:50%;background:#6C9BD2;flex:none;margin-top:3px}
.simLegend{display:flex;flex-wrap:wrap;gap:5px 8px;font-size:7.8px;color:#8AA0B7;line-height:1.4;padding:1px 2px}
.simLegend span{display:inline-flex;align-items:center;gap:3px}
.simLegend .ln{width:10px;height:0;border-top:1px dashed #5F93CC}
.simLegend .dot{width:5px;height:5px;border-radius:50%;background:#fff;border:1.2px solid #2F6BF2}
.simFoot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:8px;color:#8AA0B7;line-height:1.45}
.simFoot .btn{flex:none;padding:5px 7px;font-size:8.5px}

.ecCard{border:1px solid #E1EEFC;border-radius:12px;background:#fff;padding:7px}
.ecHead{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.ecHead b{display:block;font-size:10.5px;color:#123E6A}
.ecHead span{display:block;font-size:8px;color:#8AA0B7;line-height:1.4;margin-top:1px}
.ecHead em{flex:none;font-style:normal;font-size:7.5px;color:#B45A18;background:#FFF7E8;border:1px solid #F7D7A8;border-radius:999px;padding:2px 5px}
.ecGrid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.ecPane{position:relative;aspect-ratio:450/760;border:1px solid #E1EEFC;border-radius:9px;background:linear-gradient(180deg,#FBFDFF,#F0F8FF);overflow:hidden}
.ecFig{position:absolute;inset:0}
.ecFig svg{display:block;width:100%;height:100%}
.ecPhoto img{display:block;width:100%;height:100%;object-fit:cover}
.ecLines{position:absolute;inset:0;width:100%;height:100%}
.ecPane>b{position:absolute;left:5px;bottom:5px;font-size:8px;color:#fff;background:rgba(14,53,96,.62);border-radius:4px;padding:2px 5px;font-weight:700}
.ecRef{stroke:#5F93CC;stroke-width:1.3;stroke-dasharray:5 4;fill:none;vector-effect:non-scaling-stroke}
.ecRef.dim{stroke:#8DB6E0;stroke-width:1;opacity:.75}
.ecOff{stroke:#E07A36;stroke-width:1.7;fill:none;vector-effect:non-scaling-stroke}
.ecDot{fill:#fff;stroke:#E05A4E;stroke-width:1.8;vector-effect:non-scaling-stroke}
.ecLegend{display:flex;flex-wrap:wrap;gap:3px 7px;margin-top:5px;font-size:7.4px;color:#7C93AA;line-height:1.4}
.ecFindings{display:grid;gap:3px;margin-top:6px}
.ecFindRow{display:grid;grid-template-columns:16px 1fr;gap:5px;padding:3px 0;border-bottom:1px dotted #EDF5FC}
.ecFindRow:last-child{border-bottom:0}
.ecFindRow>b{width:15px;height:15px;border-radius:50%;background:#FFF3E8;color:#D9772F;font-size:8px;display:flex;align-items:center;justify-content:center;font-weight:800;margin-top:1px}
.ecFindRow strong{display:block;font-size:8.8px;color:#234666;line-height:1.4}
.ecFindRow span{display:block;font-size:7.8px;color:#6D859D;line-height:1.45;margin-top:1px}
.ecFindRow em{display:block;font-style:normal;font-size:7.5px;color:#9AAFC3;margin-top:1px}
.ecNote{font-size:7.5px;line-height:1.45;color:#9AAFC3;background:#F8FBFF;border-radius:6px;padding:4px 5px;margin-top:4px}
@media (max-width:380px){
  .alignTitle{font-size:20px}
  .alignSub{font-size:9.5px}
  .alignTab{font-size:9px;padding:5px 6px}
  .alignTabRow>span{font-size:8px}
  .alignCard{padding:7px}
  .alignTop{grid-template-columns:45% 55%;gap:6px}
  .alignPanelTitle{font-size:8.5px}
  .alignPanelTitle span{font-size:7.5px}
  .alignNoteRow{grid-template-columns:16px 1fr;gap:4px}
  .alignNoteRow>b{width:15px;height:15px;font-size:8px}
  .alignNoteRow strong{font-size:9px}
  .alignNoteRow span{font-size:8px}
  .alignNoteRow em{font-size:7.5px}
  .alignStatusGrid{grid-template-columns:repeat(2,1fr)}
}

/* ===== 报告功能按钮 / 二级按钮 ===== */
.fnSwitch{margin-top:10px}
.fnNote{margin:7px 2px 1px;font-size:9.2px;line-height:1.55;color:#64809C}
.fnNote b{color:#2E6DB4;margin-right:3px}
.fnNoteSub{display:block;margin-top:1px;color:#8AA0B5}
.fnBar{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#F6FAFF;border:1px solid #E0EDFB;border-radius:12px;padding:3px;box-shadow:0 3px 10px rgba(31,74,125,.04)}
.fnTop.fnFour .fnBar{grid-template-columns:repeat(4,1fr)}
.fnTop.fnFive .fnBar{grid-template-columns:repeat(5,1fr)}
.fnTop.fnFive .fnLabel{font-size:8.8px}
.fnTop.fnFive .fnBtn small{font-size:6.8px}
.fnTop.fnFive .fnIcon{width:13px;height:13px}
.fnBtn{position:relative;min-width:0;min-height:34px;border:1px solid transparent;border-radius:8px;background:transparent;color:#54708D;font-family:inherit;text-align:left;padding:3px 5px;cursor:pointer;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px;transition:background .16s,box-shadow .16s,color .16s,transform .16s}
.fnBtn:active{transform:scale(.98)}
.fnBtn.on{background:#fff;border-color:#BBD9FA;color:#1B5EAE;box-shadow:0 3px 9px rgba(46,123,224,.11)}
.fnIcon{display:block;width:15px;height:15px;color:#2E7BE0;margin:0;flex:none}
.fnIcon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.fnBtn.on .fnIcon{color:#1F63D4}
.fnTxt{display:flex;flex-direction:column;gap:0;min-width:0;flex:1;padding-right:9px}
.fnLabel{display:block;font-size:9.5px;line-height:1.15;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.fnBtn small{display:block;font-size:7.2px;line-height:1.15;color:#92A6BA;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.fnBtn.on small{color:#5F86AA}
.fnBtn em{position:absolute;right:2px;top:2px;min-width:13px;height:13px;border-radius:999px;background:#EAF3FF;color:#2E7BE0;font-size:7px;font-style:normal;line-height:13px;text-align:center;padding:0 2px;font-weight:800}
.fnStage{margin-top:6px;min-height:100px}
/* 扬达肌筋膜链 */
.jCard{border:1px solid #DDECFB;border-radius:13px;background:linear-gradient(180deg,#FBFDFF,#F5FAFF);padding:10px 11px;margin-top:8px}
.jCard:first-child{margin-top:0}
.jHead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px dashed #DDEBFA}
.jHead b{font-size:12px;color:#143B66}
.jHead span{font-size:8px;color:#2E7BE0;background:#EAF3FF;border-radius:999px;padding:3px 7px;white-space:nowrap}
.jPlane{font-size:9.5px;line-height:1.55;color:#3E5D7C;margin-top:6px}
.jPlane b{color:#1B5EAE}
.jGrid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.jGrid>div{background:#fff;border:1px solid #E6F1FC;border-radius:9px;padding:6px 7px;min-width:0}
.jGrid label,.jLine label{display:block;font-size:7.5px;font-weight:800;letter-spacing:.04em;color:#8AA0B6;margin-bottom:2px}
.jGrid p,.jLine p{font-size:8.6px;line-height:1.55;color:#35526E;margin:0}
.jMuscle{font-size:8.6px;line-height:1.5;color:#35526E}
.jMuscle b{font-weight:700;color:#173E68}
.jMuscle em{font-style:normal;color:#8AA0B6;font-size:7.8px}
.jLine{margin-top:5px;padding-top:5px;border-top:1px dashed #E4EFFB}
.jLine p{color:#2E4E6E}
.jCodes{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.jCodes span{display:inline-flex;align-items:center;gap:3px;background:#fff;border:1px solid #DCECFC;border-radius:999px;padding:3px 6px;font-size:7.8px;line-height:1.2;color:#35526E}
.jCodes b{font-size:7.2px;color:#2E7BE0}
.jSide{font-size:8px;color:#98652B;background:#FFF7E8;border:1px solid #F2E1BE;border-radius:8px;padding:4px 7px;margin-top:6px;line-height:1.45}
.jLocal{border:1px solid #DCEBFB;border-radius:11px;background:#F7FBFF;padding:8px 9px;margin-top:7px}
.jLocalHead{display:flex;align-items:center;justify-content:space-between;gap:6px}
.jLocalHead b{font-size:10.5px;color:#143B66}
.jLocalHead span{font-size:7.5px;color:#7E95AA}
.jLocal p{font-size:8.5px;line-height:1.5;color:#4A6783;margin:3px 0 0}
.jLadder{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:6px}
.jLadder>div{background:#fff;border:1px solid #E5F0FC;border-radius:9px;padding:6px;min-width:0}
.jLadder b{display:block;font-size:8px;color:#1B5EAE;margin-bottom:2px}
.jLadder span{display:block;font-size:7.5px;line-height:1.45;color:#58738C}
.fnPanel{display:none;background:#fff;border:1px solid #E2EFFC;border-radius:15px;padding:10px;box-shadow:0 7px 20px rgba(31,74,125,.045)}
.fnPanel.on{display:block;animation:fnIn .2s ease both}
@keyframes fnIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.fnPanelHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:0 1px 7px;border-bottom:1px dashed #E7F1FC;margin-bottom:8px}
.fnPanelHead b{font-size:12px;color:#143B66}
.fnPanelHead span{font-size:8.5px;color:#8FA3B8;line-height:1.45;text-align:right}

/* 二级按钮 */
.subSwitch{margin-top:0}
.subBar{display:flex;gap:6px;background:#F2F8FE;border:1px solid #DFECFA;border-radius:12px;padding:4px;margin-bottom:8px;box-shadow:inset 0 1px 2px rgba(31,86,168,.035)}
.subBtn{flex:1;min-width:0;border:0;border-radius:9px;background:transparent;color:#5B748C;font-family:inherit;font-size:9.6px;font-weight:700;line-height:1.25;padding:7px 4px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s,color .15s,box-shadow .15s}
.subBtn.on{background:#fff;color:#1F63D4;font-weight:800;box-shadow:0 2px 7px rgba(31,86,168,.10)}
.subPanel{display:none}
.subPanel.on{display:block;animation:fnIn .18s ease both}

/* 场景切换 */
.sceneLocal{display:flex;gap:5px;margin-bottom:7px}
.sceneLocal .subBtn{background:#F4F9FF;border:1px solid #E3EFFB;border-radius:8px;padding:5px 0;font-size:9px}
.sceneLocal .subBtn.on{background:#2E7BE0;border-color:#2E7BE0;color:#fff;box-shadow:0 4px 10px rgba(46,123,224,.2)}
.scenePane{display:none}
.scenePane.on{display:block;animation:fnIn .18s ease both}

/* 姿势图标按钮 */
.postureTop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:7px;align-items:start}
.postureGrid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.postureBtn{min-width:0;border:1px solid #E6F1FC;border-radius:8px;background:#FBFDFF;color:#4F6B86;font-family:inherit;padding:4px 3px;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:3px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.postureBtn.on{background:#fff;border-color:#AED2F8;box-shadow:0 4px 11px rgba(46,123,224,.11)}
.postureIco{width:21px;height:23px;display:block}
.postureIco svg{display:block;width:100%;height:100%;fill:none;stroke:#3F82C8;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.postureIco .piHi{fill:#E8833A;fill-opacity:.22;stroke:none}
.postureBtn>span:nth-child(2){font-size:9px;line-height:1.25;font-weight:700;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.postureBtn>em{font-style:normal;font-size:8.5px;font-weight:800}

/* 通用选择按钮 / 详情 */
.targetIntro{background:#F7FBFF;border:1px solid #E5F1FC;border-radius:9px;padding:7px 8px;margin-bottom:6px}
.targetIntro b{display:block;font-size:10px;color:#1E5C9B}
.targetIntro span{display:block;font-size:8.5px;color:#8AA0B7;line-height:1.5;margin-top:2px}
.targetGrid{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:7px}
.targetBtn{min-width:0;border:1px solid #E6F1FC;border-radius:8px;background:#FBFDFF;color:#4F6B86;font-family:inherit;padding:5px 6px;display:grid;grid-template-columns:19px 1fr auto;align-items:center;gap:4px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.targetBtn.on{background:#fff;border-color:#AED2F8;box-shadow:0 4px 11px rgba(46,123,224,.11)}
.targetBtn b{font-size:8px;color:#A9BED2;font-weight:800}
.targetBtn.on b{color:#2E7BE0}
.targetBtn span{font-size:9.5px;font-weight:700;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.targetBtn em{font-style:normal;font-size:9px;font-weight:800}
.choiceDetails{margin-top:6px}
.choicePanel{display:none}
.choicePanel.on{display:block;animation:fnIn .18s ease both}
.cpHead{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;padding-bottom:6px;border-bottom:1px dashed #E5F0FC;margin-bottom:6px}
.cpHead>div{min-width:0}
.cpHead b{display:block;font-size:12.5px;color:#143B66;line-height:1.35}
.cpHead span{display:block;font-size:8.5px;color:#8AA0B7;margin-top:2px}
.cpHead em{font-style:normal;font-size:9px;font-weight:800;white-space:nowrap;background:#FFF8F0;border-radius:999px;padding:3px 6px}
.cpGrid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.cpGrid>div{border:1px solid #E8F2FC;border-radius:8px;background:#FBFDFF;padding:6px;min-width:0}
.cpGrid label{display:block;font-size:8px;color:#2E6DB4;font-weight:800;margin-bottom:2px}
.cpGrid p{font-size:9.5px;color:#465E75;line-height:1.55;margin:0}
.cpGrid span{display:block;font-size:8px;color:#7C93AA;line-height:1.5;margin-top:2px}
.cpFoot{font-size:8px;color:#9AAFC3;line-height:1.5;margin-top:5px;border-top:1px dashed #EDF5FC;padding-top:4px}
.cpWhy{font-size:9px;color:#5B748C;line-height:1.6;background:#F7FBFF;border-radius:7px;padding:6px;margin-top:5px}
.targetRows{display:grid;gap:4px}
.targetRow{display:grid;grid-template-columns:78px 1fr;gap:5px;border-bottom:1px dashed #EDF5FC;padding:5px 0}
.targetRow:last-child{border-bottom:0}
.targetRow label{font-size:8.5px;color:#2E6DB4;font-weight:800;line-height:1.55}
.targetRow p{font-size:9.5px;color:#4A6076;line-height:1.6;margin:0}
.targetRow p b{color:#2E7BE0;font-size:9px;margin-right:1px}

/* 阶段 / 颅底按钮 */
.stageBtns{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:7px}
.stageBtn{min-width:0;border:1px solid #E6F1FC;border-radius:8px;background:#FBFDFF;padding:5px 4px;font-family:inherit;display:flex;flex-direction:column;align-items:flex-start;gap:1px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.stageBtn.on{background:#fff;border-color:#AED2F8;box-shadow:0 4px 11px rgba(46,123,224,.11)}
.stageBtn b{font-size:10px;color:#2E7BE0;line-height:1}
.stageBtn span{font-size:8px;color:#8AA0B7;line-height:1.25}
.stageBtn em{font-style:normal;font-size:8.5px;color:#4F6B86;font-weight:700;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cranBtns{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:7px}
.cranBtn{min-width:0;border:1px solid #E6F1FC;border-radius:8px;background:#FBFDFF;padding:6px;font-family:inherit;display:flex;align-items:center;gap:5px;cursor:pointer}
.cranBtn.on{background:#fff;border-color:#AED2F8;box-shadow:0 4px 11px rgba(46,123,224,.11)}
.cranBtn b{font-size:8px;color:#2E7BE0}
.cranBtn span{font-size:9px;color:#4F6B86;font-weight:700;line-height:1.3;text-align:left}

/* 矩形高度图 */
.colChart{background:linear-gradient(180deg,#FBFDFF,#F4FAFF);border:1px solid #E4F0FC;border-radius:10px;padding:7px 6px 5px;min-width:0}
.colHead{display:flex;justify-content:space-between;align-items:center;gap:3px;margin-bottom:3px}
.colHead b{font-size:8.5px;color:#2E6DB4}
.colHead span{font-size:7px;color:#9AAFC3}
.colBars{display:flex;align-items:flex-end;justify-content:center;gap:3px;max-width:460px;height:105px;margin:0 auto}
.colItem{flex:1;max-width:64px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.colItem>b{font-size:7.5px;color:#54708D;line-height:1;margin-bottom:2px;font-weight:800}
.colItem.main>b{color:#E07A36}
.colTrack{width:100%;height:78px;display:flex;align-items:flex-end;justify-content:center}
.colTrack i{display:block;width:72%;min-height:3px;border-radius:4px 4px 2px 2px;transition:height .25s}
.colItem>span{font-size:7px;color:#8AA0B7;line-height:1.25;text-align:center;margin-top:3px;height:17px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all}
.trendPair{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:7px;align-items:start}
.trendPair .chartCard{padding:7px}
.trendPair .colChart{padding:6px 5px 4px}
.trendPair .colBars{height:100px}
.trendPair .colTrack{height:72px}

@media (max-width:380px){
  .fnBar{gap:3px;padding:2px}
  .fnBtn{min-height:32px;padding:2px 3px;gap:3px}
  .fnLabel{font-size:9px}
  .fnBtn small{font-size:6.8px}
  .fnIcon{width:13px;height:13px}
  .fnTxt{padding-right:4px}
  .fnPanel{padding:8px}
  .jGrid{grid-template-columns:1fr}
  .jLadder{grid-template-columns:1fr 1fr}
  .postureTop{grid-template-columns:1fr}
  .postureGrid{grid-template-columns:repeat(3,1fr)}
  .postureBtn{grid-template-columns:20px 1fr;gap:2px}
  .postureBtn>em{display:none}
  .cpGrid{grid-template-columns:1fr}
  .targetRow{grid-template-columns:68px 1fr}
  .trendPair{grid-template-columns:1fr}
  .stageBtns{grid-template-columns:1fr 1fr}
  .colBars{height:96px}
  .colTrack{height:70px}
}

.repQuick{display:grid;grid-template-columns:42px 1fr auto;gap:7px;align-items:center;background:#fff;border:1px solid #DFECFA;border-radius:11px;padding:5px 8px;margin-top:6px;box-shadow:0 3px 10px rgba(31,74,125,.05)}
.qRing{position:relative;width:42px;height:42px}
.qRing svg{width:42px;height:42px;display:block}
.qRing b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;color:#143B66;font-weight:800}
.qMain{min-width:0}
.qLine{display:flex;align-items:baseline;gap:5px;min-width:0}
.qLine span{display:block;font-size:8px;color:#8AA0B7;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qLine strong{display:inline-block;font-size:14px;line-height:1.1;font-weight:800;flex:none}
.qMain em{display:block;font-style:normal;font-size:8px;color:#5B748C;line-height:1.3;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qPlain{margin:1px 0 0;font-size:8.5px;line-height:1.3;color:#2E6DB4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qPlain b{display:inline-block;margin-right:3px;padding:0 3px;border-radius:3px;background:#EAF3FF;font-size:7.5px;color:#1F63D4;font-weight:800}
.qTags{display:flex;flex-direction:column;gap:2px;align-items:flex-end}
.qTags span{font-size:7.5px;color:#2E6DB4;background:#F1F8FF;border:1px solid #DDEEFF;border-radius:999px;padding:1px 5px;white-space:nowrap}
.qAxes{display:flex;gap:4px;flex-wrap:wrap;margin:3px 2px 0}
.qAxes span{font-size:7.5px;color:#2E6DB4;background:#F1F8FF;border:1px solid #DDEEFF;border-radius:999px;padding:1px 6px;white-space:nowrap}
@media (max-width:380px){.repQuick{grid-template-columns:38px 1fr auto;gap:5px;padding:4px 6px}.qRing,.qRing svg{width:38px;height:38px}.qRing b{font-size:12px}.qLine strong{font-size:13px}.qTags span{font-size:7px}.qPlain{font-size:8px}}

.photoGrid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.photoGrid4 .photoFrame{height:118px}
.photoGrid4 .photoFrame .phLabel{font-size:7px;padding:2px 4px;left:4px;bottom:4px}
.photoGridSim{grid-template-columns:1fr 1fr;gap:7px}
.photoGridSim .photoFrame{height:260px}
.photoGridSim .photoFrame>span{font-size:8px;left:5px;bottom:5px}
@media (max-width:360px){.photoGrid4{grid-template-columns:repeat(3,minmax(0,1fr))}.photoGrid4 .photoFrame{height:108px}}

.fnBar{position:sticky;top:63px;z-index:30;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

.panelActions{display:flex;gap:8px;margin-top:12px;padding-top:9px;border-top:1px dashed #E7F1FC}
.panelAct{flex:1;height:34px;border-radius:9px;font-family:inherit;font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.panelAct span{font-size:14px;line-height:1;font-weight:700}
.panelAct.collapse{background:#F5FAFF;border:1px solid #DDEEFF;color:#2E6DB4}
.panelAct.back{background:#2E7BE0;border:1px solid #2E7BE0;color:#fff;box-shadow:0 4px 10px rgba(46,123,224,.18)}
.panelAct:active{transform:translateY(1px)}

/* 首页主功能快捷排 */
.homeRail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:8px 0 5px;position:relative;z-index:3}
.homeRailBtn{min-width:0;height:52px;border:1px solid rgba(255,255,255,.26);border-radius:10px;background:rgba(255,255,255,.13);color:#EAF4FF;font-family:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;transition:background .16s,border-color .16s,transform .12s;backdrop-filter:blur(4px)}
.homeRailBtn:active{transform:translateY(1px)}
.homeRailBtn.on{background:#fff;border-color:#fff;color:#2E66E8;box-shadow:0 4px 12px rgba(8,40,90,.16)}
.homeRailIco{width:20px;height:20px;display:block;flex:none}
.homeRailIco svg{display:block;width:100%;height:100%}
.homeRailBtn:not(.on) .homeRailIco svg{filter:brightness(0) invert(1);opacity:.94}
.homeRailBtn b{font-size:8.5px;line-height:1.1;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media (max-width:360px){.homeRail{gap:3px}.homeRailBtn{height:48px}.homeRailIco{width:18px;height:18px}.homeRailBtn b{font-size:8px}}
.homeRailTight{margin:9px 0 0}

/* 全局顶部快捷条：图标在左、文字在右，约原高度 1/3，所有页面常驻 */
#globalRail{position:sticky;top:0;z-index:90;padding:4px 8px;background:linear-gradient(180deg,rgba(247,251,255,.98),rgba(236,245,255,.94));border-bottom:1px solid rgba(46,102,232,.10);box-shadow:0 1px 8px rgba(20,66,112,.06);backdrop-filter:blur(16px)}
.gRailIn{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;max-width:600px;margin:0 auto}
#globalRail .homeRailBtn{height:54px;min-height:54px;flex-direction:row;gap:4px;border-radius:8px;padding:0 6px;background:rgba(255,255,255,.82);border:1px solid rgba(46,102,232,.10);color:#3E76B8;box-shadow:none;backdrop-filter:none;overflow:hidden}
#globalRail .homeRailIco{width:14px;height:14px}
#globalRail .homeRailBtn b{font-size:8.5px;line-height:1.1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none;flex:1;min-width:0;text-align:left;letter-spacing:-.1px}
#globalRail .homeRailBtn.on{background:linear-gradient(180deg,#3E8BF5,#2E66E8);border-color:#2E66E8;color:#fff;box-shadow:0 2px 6px rgba(46,102,232,.22)}
#globalRail .homeRailBtn:not(.on) .homeRailIco svg{filter:none;opacity:1}
#globalRail .homeRailBtn.on .homeRailIco svg{filter:brightness(0) invert(1);opacity:1}

/* 首页六大功能大按钮：与上方窄条同源，点哪都能进 */
.homeMainGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 4px}
.homeMainBtn{position:relative;min-width:0;min-height:92px;padding:10px 9px 9px;border:1px solid #D9E9FB;border-radius:16px;background:linear-gradient(160deg,#FFFFFF 0%,#F4FAFF 100%);box-shadow:0 8px 18px rgba(31,86,168,.07);font-family:inherit;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;overflow:hidden;cursor:pointer;transition:transform .12s,box-shadow .16s,background .16s}
.homeMainBtn:active{transform:translateY(1px);box-shadow:0 4px 10px rgba(31,86,168,.10)}
.homeMainBtn .homeMainIco{width:33px;height:29px;display:block;flex:none;margin-bottom:2px}
.homeMainBtn .homeMainIco svg{display:block;width:100%;height:100%}
.homeMainBtn b{font-size:14px;line-height:1.15;font-weight:800;color:#163B78;white-space:nowrap;letter-spacing:.1px}
.homeMainBtn small{font-size:9px;line-height:1.2;color:#7D97B5;white-space:nowrap}
.homeMainBtn.primary{background:linear-gradient(155deg,#3E8BF5 0%,#2E66E8 100%);border-color:#2E66E8;box-shadow:0 10px 22px rgba(46,102,232,.20)}
.homeMainBtn.primary b{color:#fff}
.homeMainBtn.primary small{color:rgba(255,255,255,.78)}
.homeMainBtn.primary .homeMainIco svg{filter:brightness(0) invert(1)}
@media (max-width:360px){.homeMainGrid{gap:6px}.homeMainBtn{min-height:86px;padding:9px 7px;border-radius:14px}.homeMainBtn b{font-size:13px}.homeMainBtn small{font-size:8.5px}.homeMainBtn .homeMainIco{width:30px;height:26px}}

.homeRailBtn{background:rgba(255,255,255,.78);border-color:rgba(46,102,232,.10);color:#3E76B8;box-shadow:0 3px 10px rgba(46,102,232,.05)}
.homeRailBtn.on{background:linear-gradient(180deg,#3E8BF5,#2E66E8);border-color:#2E66E8;color:#fff;box-shadow:0 5px 14px rgba(46,102,232,.22)}
.homeRailBtn:not(.on) .homeRailIco svg{filter:none;opacity:1}
.homeRailBtn.on .homeRailIco svg{filter:brightness(0) invert(1);opacity:1}

.homeRailBtn.on{background:#F2F8FF;border-color:#2E66E8;color:#2E66E8;box-shadow:0 0 0 1px rgba(46,102,232,.12),0 4px 12px rgba(46,102,232,.12)}
.homeRailBtn.on .homeRailIco svg{filter:none;opacity:1}
.pageRail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:0 0 8px}
.pageRailBtn{min-width:0;height:38px;border:1px solid #D6E6F8;border-radius:10px;background:#FBFDFF;color:#3E76B8;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pageRailBtn:active{background:#EAF3FF;border-color:#9CC6FF}
@media (max-width:360px){.pageRailBtn{font-size:10px;height:36px}}
.pageRail{position:sticky;top:0;z-index:6;background:linear-gradient(180deg,#F4F9FF 72%,rgba(244,249,255,.94));padding:4px 0}

/* 报告单板块导出 PDF */
.repExportBar{display:flex;justify-content:stretch;margin-top:7px}
.repExportThree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.repExportBtn{width:100%;min-height:44px;border:1px solid rgba(255,255,255,.30);border-radius:11px;background:rgba(255,255,255,.14);color:#fff;font-family:inherit;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;cursor:pointer;text-align:left;backdrop-filter:blur(4px)}
.repExportThree .repExportBtn{min-width:0;min-height:48px;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:6px 7px}
.repExportBtn:active{background:rgba(255,255,255,.22)}
.repExportBtn.on{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.24)}
.repExportBtn span{font-size:10.5px;font-weight:800;line-height:1.2}
.repExportThree .repExportBtn span{font-size:9.5px;white-space:nowrap}
.repExportBtn small{font-size:7.5px;line-height:1.3;color:rgba(255,255,255,.80);text-align:right}
.repExportThree .repExportBtn small{font-size:7px;text-align:left;white-space:nowrap}
.repExportHint{margin-top:4px;font-size:7.5px;line-height:1.3;color:rgba(255,255,255,.72);text-align:center;letter-spacing:.02em}
@media (max-width:360px){.repExportBtn small{font-size:7px}.repExportThree{gap:4px}.repExportThree .repExportBtn{padding:5px 6px}.repExportThree .repExportBtn span{font-size:9px}.repExportHint{font-size:7px}}
@media (max-width:380px){.bsSides,.planLRGrid{grid-template-columns:1fr}.bsTop b{font-size:11px}.planLRHead{display:block}.planLRHead span{display:block;text-align:left;margin-top:2px}.bsBtns{grid-template-columns:1fr 1fr}}
@media (max-width:520px){
  .repHead{padding:6px 10px;border-radius:16px;margin-bottom:10px}
  .repHeadTop{gap:6px}
  .repHeadTop .btn.ghost.mini{height:22px;min-height:0;padding:0 8px;font-size:10px;line-height:20px;border-radius:8px}
  .repHeadBadge{font-size:9.5px;padding:3px 7px;line-height:1.2;white-space:nowrap}
  .repEyebrow,.repSub,.repExportHint,.repDemoNote{display:none}
  .repTitle{font-size:18px;line-height:1.2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .repTitle span{font-size:10px;margin-left:4px}
  .repSwitchRow{display:flex;gap:5px;margin-top:4px;align-items:stretch}
  .repSwitchRow .repPoseSwitch{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0;flex:0 0 100px;background:rgba(255,255,255,.12);border-radius:8px;padding:2px}
  .repSwitchRow .repTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:0;flex:1;background:rgba(255,255,255,.12);border-radius:8px;padding:2px}
  .repSwitchRow .repPoseBtn,.repSwitchRow .repTab{min-height:20px;padding:2px 3px;border-radius:6px;border-color:transparent;background:transparent;display:flex;align-items:center;justify-content:center}
  .repSwitchRow .repPoseBtn b,.repSwitchRow .repTab b{font-size:9.5px;line-height:1.1}
  .repSwitchRow .repPoseBtn small,.repSwitchRow .repTab span{display:none}
  .repSwitchRow .repPoseBtn.on,.repSwitchRow .repTab.on{background:#fff;color:#175AA6;box-shadow:0 2px 6px rgba(8,47,105,.18)}
  .repExportBar{margin-top:4px}
  .repExportThree{gap:3px}
  .repExportThree .repExportBtn{min-height:20px;padding:2px 4px;border-radius:6px;flex-direction:row;align-items:center;justify-content:center;gap:0}
  .repExportThree .repExportBtn span{font-size:8.2px;white-space:nowrap}
  .repExportThree .repExportBtn small{display:none}
}
.repPrintOnly{display:none}

@media print{
  @page{size:A4 portrait;margin:10mm 9mm}
  html,body{background:#fff!important;width:auto!important;min-width:0!important;padding:0!important;margin:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #tabbar,.toast,.repTabs,.repPoseSwitch,.repExportBar,.repExportHint,.scExportBar,.fnBar,.subBar,.sceneFilter,.panelActions,.postureGrid,.targetGrid,.stageBtns,.cranBtns,.choiceList,.fnClosed,.repHead .between .btn,.repHeadTop .btn,#globalRail,.scHeadActs{display:none!important}
  #app,.wrap,.repWrap{max-width:none!important;width:auto!important;margin:0!important;padding:0!important}
  #app{height:auto!important;min-height:0!important}
  .scWrap{padding:0!important}
  .scLead{padding:4px 6px!important;margin-bottom:4px!important}
  .scLead b{font-size:8pt!important}
  .scLead span{font-size:6.4pt!important;line-height:1.35!important}
  .scSubTitle{margin-top:4px!important;margin-bottom:2px!important}
  .scChain{gap:2px!important}
  .scChainNode{padding:3px 4px!important}
  .scSideRule>div{padding:3px 4px!important}
  .scBrain{padding:4px 5px!important;margin-top:4px!important}
  .scSrc{font-size:6pt!important;line-height:1.3!important;padding:3px 5px!important;margin-top:4px!important}
  .scManualTableWrap{display:block!important}
  .scManualCards{display:none!important}
  .scSimWrap{gap:4px!important}
  .scSimGrid{gap:4px!important}
  .scSimCard{break-inside:avoid;page-break-inside:avoid}
  .scSimBrain{break-inside:avoid;page-break-inside:avoid}
  .scSimFig{aspect-ratio:auto!important;height:60mm!important}
  .scSimThree>div{break-inside:avoid;page-break-inside:avoid}
  .scSimActs{display:none!important}
  .scSimNote{font-size:6.5pt!important}
  .repHead{border-radius:4mm!important;padding:7mm 7mm 6mm!important;margin:0 0 6mm!important;break-inside:avoid;page-break-inside:avoid}
  .repPrintOnly{display:block!important;margin-top:3mm;padding-top:3mm;border-top:1px solid rgba(255,255,255,.30);font-size:10pt;font-weight:800;letter-spacing:.02em}
  .repPrintOnly b{display:block;font-size:11pt;font-weight:900}
  .repPrintOnly span{display:block;margin-top:1mm;font-size:7.5pt;font-weight:500;color:rgba(255,255,255,.78);letter-spacing:0}
  .repTipTail,.repFooter{display:none!important}
  .repQuick{margin:0 0 6mm!important;break-inside:avoid;page-break-inside:avoid}
  .fnSwitch{display:block!important;margin:0!important}
  .fnStage{display:block!important;min-height:0!important;margin:0!important}
  .fnPanel,.subPanel,.choicePanel,.scenePane{display:block!important;animation:none!important}
  .fnPanel{break-inside:auto;page-break-inside:auto;margin:0 0 3mm!important;padding:4mm!important;border:1px solid #DCE9F7!important;border-radius:3mm!important;box-shadow:none!important}
  .subPanel{margin-top:3mm!important;padding-top:3mm!important;border-top:1px dashed #DCE9F7!important}
  .repCard,.repHero,.trendSummary,.stageCard,.planCard,.bsCard,.planLR,.cranManualRow,.photoGrid,.chartCard,.jCard{break-inside:avoid;page-break-inside:avoid}
  .repTip,.repNote,.repFooter,.disclaimer{break-inside:avoid;page-break-inside:avoid}
  .repFooter{margin-top:5mm!important;padding-top:3mm!important;border-top:1px solid #DCE9F7!important}
  .btn,.chip{cursor:default!important}
}


/* ===== 侧弯专线 1.0：紧凑头、四级功能、图下大白话 ===== */
.scWrap{padding-top:10px}
.scHead{padding:12px 14px 10px;margin-bottom:10px;border-radius:18px}
.scHead .repTitle{font-size:22px;margin-top:6px}
.scHead .repTitle span{font-size:10px}
.scHeadActs{display:flex;align-items:center;gap:5px;min-width:0}
.scEditBtn{border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.16);color:#fff;border-radius:999px;font-family:inherit;font-size:10px;font-weight:800;line-height:1;padding:6px 8px;cursor:pointer;white-space:nowrap}
.scEditBtn:active{transform:scale(.98)}
.scTabs{margin-top:8px;gap:5px}
.scTabs .repTab{padding:6px 3px;border-radius:10px}
.scTabs .repTab b{font-size:12px}
.scTabs .repTab span{font-size:8px;margin-top:1px}
.scQuick{margin-top:0;grid-template-columns:42px 1fr auto;padding:5px 7px}
.scQuick .qLine span{font-size:7.5px}
.scQuick .qLine strong{font-size:13px}
.scQuick .qPlain{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3;font-size:8.3px}
.scQuick .qTags span{font-size:7px;padding:1px 4px}
.scTabIntro{display:flex;align-items:baseline;gap:6px;background:#F4F9FF;border:1px solid #E2EFFC;border-radius:9px;padding:6px 8px;margin:7px 0 6px}
.scTabIntro b{font-size:11px;color:#1E5C9B;white-space:nowrap}
.scTabIntro span{font-size:8.5px;color:#7C93AA;line-height:1.45}
.scKicker{font-size:8px;letter-spacing:.12em;color:#8AA1B8;font-weight:700}
.scGrade{border:1px solid #E2EFFC;border-radius:14px;padding:9px 10px 8px}
.scGradeTop{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.scGradeNo{font-size:24px;line-height:1.1;font-weight:800;letter-spacing:-.04em;margin-top:2px}
.scGradeTag{font-size:10px;font-weight:800;color:#143B66;background:#F1F8FF;border:1px solid #DDEEFF;border-radius:999px;padding:3px 7px;white-space:nowrap}
.scGradeMeta{font-size:9px;color:#5B748C;line-height:1.5;margin-top:4px}
.scGradeNote{display:grid;grid-template-columns:64px 1fr;gap:6px;background:#FBFDFF;border:1px dashed #DCEBFA;border-radius:8px;padding:6px 7px;margin-top:7px}
.scGradeNote b{font-size:8.5px;color:#2E6DB4;line-height:1.45}
.scGradeNote span{font-size:8.5px;color:#5B748C;line-height:1.55}
.scGauge{position:relative;padding-top:15px;margin-top:6px}
.scGaugeScale{position:relative;height:10px;font-size:7px;color:#8AA1B8;line-height:1}
.scGaugeScale span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.scGaugeScale span:first-child{transform:none}
.scGaugeScale span:last-child{transform:translateX(-100%)}
.scGaugeTrack{position:relative;display:flex;height:10px;border-radius:99px;margin-top:4px;background:#EDF5FE}
.scGaugeTrack i{display:block;height:100%}
.scGaugeTrack i:first-child{border-radius:99px 0 0 99px}
.scGaugeTrack i:last-child{border-radius:0 99px 99px 0}
.scGaugeTrack .g0{background:#DDF3E6}.scGaugeTrack .g1{background:#DCEEFF}.scGaugeTrack .g2{background:#FFF0D2}.scGaugeTrack .g3{background:#FFE1CB}.scGaugeTrack .g4{background:#FAD9D4}
.scGaugeTrack em{position:absolute;top:-6px;width:3px;height:22px;border-radius:3px;background:#143B66;box-shadow:0 1px 4px rgba(20,59,102,.3);transform:translateX(-50%)}
.scGaugeNow{position:absolute;top:0;transform:translateX(-50%);font-size:9px;font-weight:800;background:#fff;padding:0 3px;border-radius:3px;white-space:nowrap}
.scRiskWrap{margin-top:1px}
.scRiskTop{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;margin-bottom:7px}
.scRiskLabel{font-size:20px;font-weight:800;line-height:1.1;margin-top:2px}
.scRiskWhy{font-size:8.5px;color:#5B748C;line-height:1.5;text-align:right;max-width:58%}
.scRiskHead{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;font-size:7px;color:#8AA1B8;text-align:center;margin-bottom:3px}
.scRiskRow{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-bottom:3px}
.scRiskSlot{border-radius:7px;min-width:0;padding:2px;border:1px solid transparent}
.scRiskSlot.on{border-color:#2E7BE0;background:#F3F9FF;box-shadow:0 2px 8px rgba(46,123,224,.12)}
.scRiskCell{border:1px solid #E8F2FC;border-radius:6px;background:#FBFDFF;padding:4px 3px;min-height:29px}
.scRiskCell.low{background:#F3FBF7;border-color:#DDF3E6}
.scRiskCell.mid{background:#FFFBF1;border-color:#F6E8C8}
.scRiskCell.high{background:#FFF6F1;border-color:#F6DCCB}
.scRiskCell b{display:block;font-size:8px;line-height:1.2;color:#315B82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scRiskCell span{display:block;font-size:7px;line-height:1.2;color:#8AA1B8;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scRiskLegend{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-size:7px;color:#8AA1B8;margin-top:3px}
.scRiskLegend i{width:7px;height:7px;border-radius:2px;display:inline-block}
.scRiskLegend i.low{background:#BFE7D1}.scRiskLegend i.mid{background:#F6D998}.scRiskLegend i.high{background:#F0B39A}
.scKV{display:grid;gap:3px;background:#F7FBFF;border-radius:8px;padding:6px 7px;margin-top:7px}
.scKV div{display:grid;grid-template-columns:34px 1fr;gap:5px;font-size:8.5px;line-height:1.45}
.scKV b{color:#2E6DB4}.scKV span{color:#5B748C}
.scAtrHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.scAtrMax{font-size:23px;font-weight:800;color:#143B66;line-height:1.1;margin-top:2px}
.scAtrMax small{font-size:9px;color:#8AA1B8;font-weight:600;margin-left:3px}
.scAtrRule{font-size:8px;color:#8AA1B8;text-align:right;line-height:1.5}
.scAtrRule b{color:#B45A18;font-weight:700}
.scAtrBars{display:grid;gap:6px;margin-top:8px}
.scAtrRow{display:grid;grid-template-columns:42px 1fr 36px;gap:5px;align-items:center}
.scAtrName{font-size:8px;color:#5B748C;white-space:nowrap}
.scAtrTrack{position:relative;height:8px;border-radius:99px;background:#EDF5FE;overflow:visible}
.scAtrTrack i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8FC6FA,#2E7BE0)}
.scAtrRow.main .scAtrTrack i{background:linear-gradient(90deg,#F6C28D,#E07B39)}
.scAtrTrack em{position:absolute;left:33.3%;top:-2px;width:1px;height:12px;background:#E07B39;opacity:.8}
.scAtrVal{font-size:9px;font-weight:800;color:#143B66;text-align:right}
.scAtrScale{display:flex;justify-content:space-between;margin:4px 42px 0 47px;font-size:7px;color:#9AAFC3}
.scSubTitle{font-size:10px;font-weight:800;color:#143B66;margin:10px 0 5px;padding-top:7px;border-top:1px dashed #E7F1FC}
.scBalGrid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.scBalItem{display:grid;grid-template-columns:1fr auto;gap:2px;background:#F7FBFF;border-radius:7px;padding:5px 6px;min-width:0}
.scBalItem span{font-size:8px;color:#5B748C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scBalItem b{font-size:9px;color:#143B66;white-space:nowrap}
.scBalItem b.over{color:#B45A18}
.scBalItem small{grid-column:1/2;font-size:7px;color:#9AAFC3}
.scStd>div{display:grid;grid-template-columns:52px 1fr auto;gap:6px;align-items:start;padding:5px 0;border-bottom:1px dashed #E7F1FC}
.scStd>div:last-child{border-bottom:0}
.scStd b{font-size:8px;color:#2E6DB4;line-height:1.5}
.scStd span{font-size:8.5px;color:#4A6076;line-height:1.55}
.scStd em{font-style:normal;font-size:7px;color:#8AA1B8;background:#F1F8FF;border-radius:4px;padding:1px 4px;white-space:nowrap}
.scSrc{font-size:8px;color:#8AA1B8;line-height:1.6;background:#F7FBFF;border-radius:7px;padding:6px 7px;margin-top:7px}
.scLead{background:#F2F8FF;border:1px solid #DCEBFF;border-radius:9px;padding:7px 8px;margin-bottom:7px}
.scLead.warn,.scLead.high{background:#FFF7F2;border-color:#F6DCCB}
.scLead.mid{background:#FFFBF1;border-color:#F6E8C8}
.scLead.low{background:#F3FBF7;border-color:#DDF3E6}
.scLead b{display:block;font-size:11px;color:#1E5C9B;line-height:1.35}
.scLead.warn b,.scLead.high b{color:#B45A18}
.scLead span{display:block;font-size:8.5px;color:#5B748C;line-height:1.55;margin-top:2px}
.scExList{display:grid;gap:5px}
.scExRow{display:grid;grid-template-columns:21px 1fr;gap:5px;background:#FBFDFF;border:1px solid #E8F2FC;border-radius:8px;padding:6px}
.scExRow>b{font-size:9px;color:#2E7BE0;font-weight:800;line-height:1.4}
.scExRow strong{display:block;font-size:9.5px;color:#143B66;line-height:1.3}
.scExRow span{display:block;font-size:8.5px;color:#5B748C;line-height:1.45;margin-top:1px}
.scExRow small{display:block;font-size:7.5px;color:#9AAFC3;line-height:1.4;margin-top:1px}
.scNote{font-size:8px;color:#8A6A4A;line-height:1.55;background:#FFF9F0;border:1px solid #F8E2CF;border-radius:7px;padding:6px 7px;margin-top:7px}
.scBraceGrid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.scBraceGrid>div{background:#FBFDFF;border:1px solid #E8F2FC;border-radius:8px;padding:6px;min-width:0}
.scBraceGrid b{display:block;font-size:8px;color:#2E6DB4;margin-bottom:2px}
.scBraceGrid span{display:block;font-size:8.3px;color:#5B748C;line-height:1.5}
.scHw{background:#F7FBFF;border:1px solid #E3EFFB;border-radius:10px;padding:7px}
.scHwTop{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:3px}
.scHwTop b{font-size:10px;color:#143B66}.scHwTop span{font-size:7.5px;color:#8AA1B8}
.scCheck{display:grid;grid-template-columns:16px 1fr;gap:4px;padding:4px 0;border-bottom:1px dashed #E7F1FC;align-items:start}
.scCheck:last-child{border-bottom:0}
.scCheck i{font-style:normal;font-size:11px;color:#2E7BE0;line-height:1.2}
.scCheck span{font-size:8.5px;color:#5B748C;line-height:1.45}
.scRedList{display:grid;gap:4px}
.scRedList>div{display:grid;grid-template-columns:85px 1fr;gap:5px;background:#FFF9F5;border:1px solid #F8E2D2;border-radius:7px;padding:5px 6px}
.scRedList b{font-size:8px;color:#B45A18;line-height:1.45}
.scRedList span{font-size:8px;color:#6B5548;line-height:1.5}
.scLine{background:linear-gradient(180deg,#FBFDFF,#F5FAFF);border:1px solid #E2EFFD;border-radius:10px;padding:6px 7px}
.scLine svg{width:100%;height:132px;display:block}
.scLineNow{display:flex;align-items:center;justify-content:center;gap:4px;font-size:9px;font-weight:800;color:#2E6DB4;margin-top:2px}
.scLineNow i{font-style:normal;color:#B5C8DB;font-weight:400}
.scTrendHint{font-size:8.5px;color:#5B748C;line-height:1.55;background:#FFF9F0;border:1px solid #F8E2CF;border-radius:7px;padding:6px 7px;margin-top:6px}
.scTable{min-width:470px}
.scFormIntro{font-size:8.5px;color:#7C93AA;line-height:1.5;background:#F7FBFF;border-radius:7px;padding:6px 7px;margin-bottom:5px}
.scFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}
.scFormGrid .field{padding:6px 0}
.scFormGrid .field .lb{font-size:10px}
.scFormGrid .input{width:74px;height:30px;font-size:11px;text-align:right;padding:0 6px}
.scFlagWrap{display:flex;flex-wrap:wrap;gap:4px;padding:3px 0}
.scFlagWrap .pill{font-size:8px;line-height:1.3;padding:4px 6px;text-align:left}
.scFormActs{display:flex;gap:7px;margin-top:8px;position:sticky;bottom:0;background:#fff;padding:7px 0 2px;z-index:2}
.scFormActs .btn{flex:1;height:36px;font-size:10px}
.fnEight .fnBar{grid-template-columns:repeat(4,1fr)}
@media (max-width:380px){
  .scHead{padding:10px 11px 9px}
  .scHead .repTitle{font-size:20px}
  .scTabs .repTab b{font-size:11px}
  .scTabs .repTab span{font-size:7.5px}
  .scQuick{grid-template-columns:38px 1fr auto;gap:5px;padding:4px 6px}
  .scQuick .qPlain{font-size:7.8px}
  .scQuick .qTags span{font-size:6.5px}
  .scGradeNo{font-size:21px}
  .scRiskWhy{max-width:52%;font-size:8px}
  .scAtrRow{grid-template-columns:38px 1fr 33px;gap:4px}
  .scFormGrid{grid-template-columns:1fr 1fr;gap:0 5px}
  .scFormGrid .field .lb{font-size:9px}
  .scFormGrid .input{width:62px}
  .scBraceGrid{grid-template-columns:1fr}
  .scExRow{grid-template-columns:18px 1fr}
  .fnEight .fnBar{grid-template-columns:repeat(4,1fr);gap:3px}
  .fnEight .fnBtn{padding:2px 3px;gap:3px}
  .fnEight .fnLabel{font-size:8.5px}
  .fnEight .fnBtn small{font-size:6.4px}
  .fnEight .fnIcon{width:12px;height:12px}
}
@media (max-width:520px){
  .scHead .repSwitchRow{display:block;margin-top:0}
  .scHead .repTitle{font-size:18px;margin-top:2px;white-space:nowrap}
  .scHead .repTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:4px;flex:none;background:transparent;padding:0;border-radius:0}
  .scHead .repTabs .repTab{display:block;min-height:27px;padding:3px 2px;border-radius:7px;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.13)}
  .scHead .repTabs .repTab b{display:block;font-size:10px;line-height:1.15}
  .scHead .repTabs .repTab span{display:block;font-size:7px;line-height:1.2;margin-top:0}
  .scHead .repTabs .repTab.on{background:#fff;color:#175AA6}
  .scEditBtn{height:22px;padding:0 7px;font-size:9.5px}
}
.scFieldBlock{display:block;padding:7px 0}
.scFieldBlock .lb{margin-bottom:4px}

.scBrain{display:grid;grid-template-columns:58px 1fr;gap:6px;background:#F3F8FF;border:1px solid #DCEBFF;border-radius:8px;padding:6px 7px;margin-top:7px}
.scBrain b{font-size:8px;color:#2E6DB4;line-height:1.5}
.scBrain span{font-size:8.2px;color:#5B748C;line-height:1.55}
@media (max-width:380px){.scBrain{grid-template-columns:1fr;gap:1px}}
.scChain{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:6px}
.scChainNode{background:#FBFDFF;border:1px solid #E2EFFC;border-radius:7px;padding:5px 6px;min-width:0}
.scChainNode.wide{grid-column:1/-1;background:#F2F8FF}
.scChainNode b{display:block;font-size:7px;color:#8AA1B8;letter-spacing:.04em}
.scChainNode strong{display:block;font-size:8.5px;color:#1E4E7C;line-height:1.35;margin-top:1px}
.scChainNode span{display:block;font-size:7.4px;color:#5B748C;line-height:1.45;margin-top:1px}
.scSubTitle{font-size:8px;font-weight:700;color:#2E6DB4;letter-spacing:.04em;margin-top:8px;margin-bottom:3px}
.scPriList{display:grid;gap:3px;margin-top:4px}
.scPriRow{display:grid;grid-template-columns:27px 1fr 38px;gap:5px;align-items:center;background:#FBFDFF;border:1px solid #EAF3FC;border-radius:7px;padding:4px 6px}
.scPriRow.main{background:#F4F9FF;border-color:#CFE5FB}
.scPriRow.aux{background:#FBFDFF}
.scPriId{font-size:8px;font-weight:800;color:#2F6BF2}
.scPriMain{min-width:0}
.scPriMain b{display:block;font-size:8.2px;color:#1E4E7C;line-height:1.3}
.scPriMain span{display:block;font-size:7.1px;color:#7A91A6;line-height:1.35;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scPriTrack{height:4px;border-radius:99px;background:#EAF3FC;overflow:hidden;margin-top:3px}
.scPriTrack i{display:block;height:100%;border-radius:99px;background:#2F6BF2}
.scPriRow.aux .scPriTrack i{background:#7AA9E8}
.scPriRow.watch .scPriTrack i{background:#B7C9DA}
.scPriRow.relay .scPriTrack i{background:#9AB7D5}
.scPriRow em{font-style:normal;font-size:7px;color:#2E6DB4;background:#EAF3FF;border-radius:99px;padding:2px 3px;text-align:center;white-space:nowrap}
.scPriRow.watch em{color:#657F96;background:#F1F6FA}
.scSideRule{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:4px}
.scSideRule>div{background:#FBFDFF;border:1px solid #E8F2FC;border-radius:7px;padding:5px 6px}
.scSideRule b{display:block;font-size:7.6px;color:#2E6DB4;margin-bottom:1px}
.scSideRule span{display:block;font-size:7.4px;color:#5B748C;line-height:1.45}
.scVestGrid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}
.scVestGrid>div{background:#FBFDFF;border:1px solid #E2EFFC;border-radius:8px;padding:6px;min-width:0}
.scVestGrid b{display:block;font-size:8.5px;color:#1E4E7C}
.scVestGrid>div>span{display:block;font-size:7.4px;color:#2E6DB4;margin-top:1px}
.scVestGrid small{display:block;font-size:7.2px;color:#5B748C;line-height:1.45;margin-top:2px}
.scTractList{display:grid;gap:4px}
.scTractList>div{display:grid;grid-template-columns:86px 1fr;gap:5px;background:#F8FBFF;border:1px solid #E5F0FB;border-radius:7px;padding:5px 6px}
.scTractList b{font-size:7.4px;color:#2E6DB4;line-height:1.4}
.scTractList span{font-size:7.4px;color:#5B748C;line-height:1.5}
.scManualTable{min-width:660px}
.scManualCards{display:none}
.scManualCard{background:#FBFDFF;border:1px solid #E2EFFC;border-radius:8px;padding:6px;min-width:0}
.scManualCard.main{background:#F7FBFF;border-color:#CFE5FB}
.scManualCardHead{display:flex;align-items:baseline;gap:5px;padding-bottom:3px;border-bottom:1px dashed #E7F1FC;margin-bottom:3px}
.scManualCardHead b{font-size:8px;font-weight:800;color:#2F6BF2;white-space:nowrap}
.scManualCardHead strong{font-size:8.5px;color:#1E4E7C;line-height:1.3}
.scManualCard dl{display:grid;grid-template-columns:52px 1fr;gap:2px 5px;margin:0}
.scManualCard dt{font-size:7px;color:#2E6DB4;line-height:1.45}
.scManualCard dd{margin:0;font-size:7.2px;color:#5B748C;line-height:1.45}
.scManualTable th:nth-child(1){width:82px}
.scManualTable th:nth-child(2){width:190px}
.scManualTable th:nth-child(3){width:190px}
.scManualTable td{font-size:7.3px;line-height:1.45}
.scManualTable tr.main td{background:#F7FBFF}
.scExportBar{display:flex;justify-content:flex-end;padding:8px 0 2px}
.scExportBar .repExportBtn{width:auto;min-width:150px;background:#2E7BE0;border-color:#2E7BE0;color:#fff;box-shadow:0 4px 12px rgba(46,123,224,.18)}
.scExportBar .repExportBtn span{color:#fff}
.scSimThree{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.scSimThree>div{background:#FBFDFF;border:1px solid #E1EEFC;border-radius:10px;padding:7px 8px;min-width:0}
.scSimThree h4{margin:0 0 3px;font-size:9px;color:#123F6E}
.scSimThree p{margin:0;font-size:7.6px;color:#5B748C;line-height:1.5}
.scSimThree p+p{margin-top:3px}
.scSimThree b{color:#1E4E7C}
@media (max-width:520px){
  .scChain{grid-template-columns:1fr}
  .scChainNode.wide{grid-column:auto}
  .scSideRule,.scVestGrid{grid-template-columns:1fr}
  .scTractList>div{grid-template-columns:1fr;gap:1px}
  .scSimThree{grid-template-columns:1fr}
  .scManualTableWrap{display:none}
  .scManualCards{display:grid;gap:5px}
}


/* 侧弯模拟报告：四视图 + 体表线索 */
.scTabs{grid-template-columns:repeat(4,1fr)}
.scHead .repTabs{grid-template-columns:repeat(4,1fr)}
.scSimWrap{display:flex;flex-direction:column;gap:10px;padding-bottom:10px}
.scSimLead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border:1px solid #D9EBFB;border-radius:12px;background:linear-gradient(180deg,#F8FCFF,#EFF8FF)}
.scSimLead b{display:block;font-size:14px;color:#123F6E}
.scSimLead span{display:block;font-size:9px;color:#6B8AA8;margin-top:2px}
.scSimLead em{flex:none;font-style:normal;font-size:8px;color:#B45A18;background:#FFF3E8;border:1px solid #F6D5BA;border-radius:99px;padding:3px 6px}
.scSimRule{padding:8px 10px;border-radius:10px;background:#F3F9FF;border:1px solid #DDEEFC;font-size:10px;line-height:1.6;color:#4E6D8A}
.scSimRule b{color:#175AA6}
.scSimGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.scSimCard{min-width:0;padding:6px;border:1px solid #E1EEFC;border-radius:12px;background:linear-gradient(180deg,#FFFFFF,#F8FCFF)}
.scSimCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;padding:1px 2px 5px}
.scSimCardHead b{display:block;font-size:11px;color:#123F6E;line-height:1.2}
.scSimCardHead span{display:block;font-size:7.5px;color:#7A94AC;margin-top:1px;line-height:1.3}
.scSimCardHead em{flex:none;font-style:normal;font-size:7px;color:#2F6BF2;background:#EAF3FF;border-radius:99px;padding:2px 4px}
.scSimFig{position:relative;aspect-ratio:3/4;border-radius:9px;overflow:hidden;background:linear-gradient(180deg,#FBFDFF,#EEF7FF)}
.scSimFig .simSvg{width:100%;height:100%;display:block}
.scBendSvg{width:100%;height:100%;display:block}
.scSimOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.scSpine{fill:none;stroke:#2E7BE0;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.scSpine.thin{stroke-width:5;opacity:.68}
.scTilt{stroke:#E07B39;stroke-width:4;stroke-dasharray:8 5;stroke-linecap:round;opacity:.9}
.scTilt.dim{opacity:.55}
.scRef{stroke:#6E9CCF;stroke-width:3;stroke-dasharray:7 6;opacity:.65}
.scArrow{fill:none;stroke:#E07B39;stroke-width:4;stroke-linecap:round}
.scDot{fill:#fff;stroke:#2E7BE0;stroke-width:3}
.scTag{font-family:inherit;font-size:38px;font-weight:700;fill:#175AA6;paint-order:stroke;stroke:#FFFFFF;stroke-width:6;stroke-linejoin:round}
.scTag.big{font-size:44px;fill:#B33127}
.scSimKeys{display:flex;flex-direction:column;gap:2px;padding:5px 2px 1px}
.scSimKeys span{position:relative;padding-left:8px;font-size:8.5px;line-height:1.35;color:#58738C}
.scSimKeys span:before{content:"";position:absolute;left:1px;top:5px;width:3px;height:3px;border-radius:50%;background:#5B9BE8}
.scSimFind{padding:9px 10px;border:1px solid #E1EEFC;border-radius:12px;background:#fff}
.scSimFindHead{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding-bottom:4px;border-bottom:1px solid #EEF5FC;margin-bottom:2px}
.scSimFindHead b{font-size:12px;color:#123F6E}
.scSimFindHead span{font-size:8px;color:#6B8AA8}
.scSimFindRow{display:flex;gap:7px;padding:6px 0;border-bottom:1px dashed #EDF4FB}
.scSimFindRow:last-child{border-bottom:0;padding-bottom:1px}
.scSimFindRow>b{flex:none;width:16px;height:16px;border-radius:50%;background:#EAF3FF;color:#2F6BF2;font-size:9px;display:flex;align-items:center;justify-content:center}
.scSimFindRow strong{display:block;font-size:10.5px;color:#1E4E7C;line-height:1.35}
.scSimFindRow span{display:block;font-size:9px;color:#5A748C;line-height:1.5;margin-top:1px}
.scSimFindRow em{display:block;font-style:normal;font-size:7.5px;color:#8AA1B8;margin-top:2px}
.scSimActs{display:flex;gap:7px}
.scSimActs .btn{flex:1;min-height:34px;font-size:11px;padding:4px 6px}
.scSimNote{font-size:8px;line-height:1.5;color:#8AA1B8;padding:0 2px}
@media (max-width:360px){
  .scSimCard{padding:4px}
  .scSimCardHead b{font-size:10px}
  .scSimKeys span{font-size:7.5px}
  .scSimFindRow strong{font-size:9.5px}
  .scSimFindRow span{font-size:8.2px}
}


/* 顶部六键与底部五键：等高、等宽的大触控条 */
@media (max-width:360px){
  #globalRail .homeRailBtn{height:51px;min-height:51px;gap:2px;padding:0 3px}
  #globalRail .homeRailIco{width:12px;height:12px}
  #globalRail .homeRailBtn b{font-size:7.4px}
  .fnBar{top:60px}
}

/* 窄屏顶部六键：保留图标在左，同时让四字标题完整显示 */
@media (max-width:430px){
  #globalRail .homeRailBtn{gap:2px;padding:0 3px}
  #globalRail .homeRailIco{width:11px;height:11px}
  #globalRail .homeRailBtn b{font-size:7.6px;letter-spacing:-.2px}
}
@media (max-width:360px){
  #globalRail .homeRailBtn{height:51px;min-height:51px;padding:0 2px}
  #globalRail .homeRailBtn b{font-size:7.1px}
}

/* 报告蓝头：按钮图标 + 内容居中，避免左侧堆叠、右侧留白 */
.repHead .repIco{display:flex;width:12px;height:12px;flex:none;opacity:.92}
.repHead .repIco svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.repHead .repPoseBtn,.repHead .repTab{display:flex;align-items:center;justify-content:center;gap:4px;text-align:center}
.repHead .repCtrlTxt{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.repExportThree .repExportBtn{justify-content:center;text-align:center}

/* 桌面端：报告头压到原来的一半左右，五个切换键并成一行 */
@media (min-width:521px){
  .repHead{padding:10px 13px 9px;border-radius:18px;margin-bottom:10px}
  .repHeadTop .btn.ghost.mini{height:26px;min-height:0;padding:0 9px;font-size:10.5px;line-height:24px;border-radius:8px}
  .repHeadBadge{font-size:9.5px;padding:3px 8px;line-height:1.2}
  .repEyebrow{font-size:9.5px;letter-spacing:.10em;margin-top:6px}
  .repHead .repTitle{font-size:20px;line-height:1.15;margin-top:2px}
  .repHead .repTitle span{font-size:10.5px;margin-left:6px}
  .repHead .repSub{font-size:9.5px;line-height:1.4;margin-top:3px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .repHead .repSwitchRow{display:flex;gap:5px;margin-top:7px;align-items:stretch}
  .repHead .repPoseSwitch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0;flex:0 0 calc(40% - 2px)}
  .repHead .repTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:0;flex:1}
  .repHead .repPoseBtn,.repHead .repTab{min-height:40px;padding:3px 5px;border-radius:10px}
  .repHead .repPoseBtn b,.repHead .repTab b{font-size:11px;line-height:1.15}
  .repHead .repPoseBtn small,.repHead .repTab .repCtrlTxt > span{font-size:8px;line-height:1.2;margin-top:1px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .repExportBar{margin-top:5px}
  .repExportThree .repExportBtn{min-height:32px;padding:4px 6px;border-radius:9px;flex-direction:row;gap:4px}
  .repExportThree .repExportBtn span{font-size:10px}
  .repExportThree .repExportBtn small{display:none}
  .repExportHint{font-size:7.5px;margin-top:3px}
  .repDemoNote{font-size:9.5px;line-height:1.4;padding:5px 8px;margin-top:5px}
}

@media (max-width:520px){
  .repHead .repSwitchRow .repPoseSwitch{flex:0 0 116px}
  .repHead .repPoseBtn,.repHead .repTab{gap:2px;padding:2px 3px}
  .repHead .repIco{width:9px;height:9px}
  .repHead .repPoseBtn b,.repHead .repTab b{font-size:9px}
  .repExportThree .repExportBtn{gap:2px}
  .repExportThree .repIco{width:9px;height:9px}
}

/* 五键同行时允许收窄，防止右侧被裁切 */
.repHead .repPoseSwitch,.repHead .repTabs,.repHead .repPoseBtn,.repHead .repTab{min-width:0}
@media (min-width:521px){
  .repHead .repPoseBtn small{font-size:7px;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip}
}

/* 桌面端紧凑头：标题再收一档，切换键只留图标+主标题 */
@media (min-width:521px){
  .repHead .repTitle{font-size:18px;line-height:1.2}
  .repHead .repTitle span{font-size:9.5px;margin-left:5px}
  .repHead .repPoseBtn small,.repHead .repTab .repCtrlTxt > span{display:none}
}

/* 文字容器不能被旧的 `.repTab span` 规则误伤 */
.repHead .repTab .repCtrlTxt{display:flex;opacity:1}

/* 主标题不换行，手机窄键也保持一行 */
.repHead .repPoseBtn b,.repHead .repTab b{white-space:nowrap;letter-spacing:0}
@media (max-width:520px){
  .repHead .repSwitchRow .repPoseBtn,.repHead .repSwitchRow .repTab{padding:1px 2px;gap:1px}
  .repHead .repIco{width:8px;height:8px}
  .repHead .repPoseBtn b,.repHead .repTab b{font-size:8.8px}
}

/* ---------- 多轮对比：左侧功能条 + 单面板 + 曲线/矩形图 ---------- */
.rvHero{padding:14px 18px 15px;border-radius:0 0 20px 20px;box-shadow:0 6px 18px rgba(31,86,168,.06)}
.rvHero .between{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rvHero h1{margin:6px 0 2px;font-size:20px;line-height:1.25}
.rvHero .sub{font-size:11px;color:#637B92}
.rvHeroNote{margin-top:5px;font-size:10px;line-height:1.55;color:#5E7C98}
.rvBack{padding:4px 9px;font-size:10px;line-height:1.3}
.rvChip{font-size:9.5px;padding:4px 8px;white-space:nowrap;max-width:72%;overflow:hidden;text-overflow:ellipsis}
.rvWrap{padding:10px 14px 86px}
.rvDemo{font-size:9.5px;line-height:1.45;color:#8A6A3A;background:#FFF8E9;border:1px solid #F4E3BF;border-radius:9px;padding:5px 8px;margin:0 0 8px}
.rvLayout{display:grid;grid-template-columns:108px minmax(0,1fr);gap:9px;align-items:start}
.rvRail{display:flex;flex-direction:column;gap:6px;position:sticky;top:52px}
.rvTab{width:100%;min-height:48px;padding:6px 7px;border:1px solid #DCEAF8;background:#fff;border-radius:12px;display:flex;align-items:center;gap:5px;color:#45617A;text-align:left;font:inherit;cursor:pointer;box-shadow:0 2px 7px rgba(31,86,168,.045);transition:background .15s,border-color .15s,box-shadow .15s}
.rvTab.on{background:#EAF3FF;border-color:#8DBBFF;color:#1E5FAE;box-shadow:0 3px 10px rgba(46,123,224,.14)}
.rvTab:active{transform:scale(.985)}
.rvIco{width:20px;height:20px;flex:0 0 20px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#F2F8FF;color:#2E7BE0}
.rvTab.on .rvIco{background:#D8E9FF}
.rvIco svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rvTab span{display:flex;flex-direction:column;min-width:0;gap:1px}
.rvTab b{font-size:11px;line-height:1.2;font-weight:700;white-space:nowrap}
.rvTab small{font-size:7.6px;line-height:1.2;color:#8DA1B4;white-space:nowrap;letter-spacing:-.1px}
.rvTab.on small{color:#5D8ECB}
.rvPanes{min-width:0}
.rvPane{display:none}
.rvPane.on{display:block}
.rvCard{padding:12px 12px 11px;margin:0 0 9px;border-radius:14px}
.rvHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:4px}
.rvTitle{font-size:13px;font-weight:800;color:#1C3D60;line-height:1.25}
.rvSub{font-size:8.8px;color:#8A9DB0;margin-top:2px;line-height:1.3}
.rvBadge{flex:0 0 auto;font-size:8.5px;color:#3D7BC2;background:#EEF7FF;border:1px solid #D5E9FF;border-radius:20px;padding:2px 6px;white-space:nowrap}
.rvSvg{display:block;width:100%;height:auto;margin:1px 0 0;overflow:visible}
.rvChartNote{font-size:8.2px;line-height:1.4;color:#9AAABB;margin-top:2px;text-align:right}
.rvPlain{margin-top:8px;font-size:10.2px;line-height:1.62;color:#5E7184;background:#F7FBFF;border:1px solid #EDF5FD;border-radius:9px;padding:6px 8px}
.rvEmpty{font-size:10px;line-height:1.55;color:#8A9DB0;background:#F8FBFE;border-radius:8px;padding:10px 8px;text-align:center}
.rvLegend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:5px;font-size:8.5px;color:#7D91A5}
.rvLegend span{display:inline-flex;align-items:center;gap:3px}
.rvLegend i{width:8px;height:8px;border-radius:2px;display:inline-block}
.rvLegend i.first,.rvBarTrack i.first{background:#A8CBFA}
.rvLegend i.last,.rvBarTrack i.last{background:#2E7BE0}
.rvBarChart{display:flex;align-items:flex-end;justify-content:space-between;gap:4px;padding:8px 2px 0;margin-top:2px}
.rvBarGroup{flex:1 1 0;min-width:0;text-align:center}
.rvBarPair{display:flex;align-items:flex-end;justify-content:center;gap:3px;height:99px}
.rvBarUnit{width:20px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.rvBarUnit b{font-size:8.2px;line-height:1.1;color:#42627F;font-weight:700;margin-bottom:2px;white-space:nowrap}
.rvBarTrack{width:100%;height:78px;background:#F1F7FE;border-radius:4px;position:relative;overflow:hidden}
.rvBarTrack i{position:absolute;left:0;right:0;bottom:0;border-radius:3px 3px 0 0;transition:height .2s}
.rvBarCode{font-size:9px;font-weight:700;color:#5B7590;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rvRows{display:flex;flex-direction:column;gap:1px;margin-top:4px}
.rvRow{display:grid;grid-template-columns:minmax(0,1fr) 32px 12px 32px 42px;align-items:center;gap:3px;padding:7px 1px;border-bottom:1px solid #F2F7FC;font-size:10px;color:#344E66}
.rvRow:last-child{border-bottom:0}
.rvZoneRow{cursor:pointer}
.rvZoneRow:active{background:#F5FAFF}
.rvRowName{display:flex;align-items:baseline;gap:4px;min-width:0}
.rvRowName b{font-size:9.5px;color:#2E7BE0;flex:0 0 auto}
.rvRowName span{font-size:9.5px;color:#597187;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rvVal{font-size:11px;font-weight:700;color:#1B3E5E;text-align:right;font-variant-numeric:tabular-nums}
.rvArrow{font-size:9px;color:#A4B6C6;text-align:center}
.rvDelta{display:block;text-align:right;font-size:9px;font-weight:700;color:#6F8498;font-variant-numeric:tabular-nums}
.rvPhotos{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:5px}
.rvPhotoDate{font-size:9px;color:#70879C;margin-bottom:4px;text-align:center}
.rvPhotos .phBox{width:100%;margin:0;background:#F6FAFE;border:1px solid #E5EFF9;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;height:154px;min-height:0}
.rvPhotos .phBox img{width:100%;height:154px;object-fit:cover;display:block}
.rvPhotoEmpty{font-size:9px;color:#9AAFC2;text-align:center;padding:36px 6px;line-height:1.5}
.rvPhotoBtns{display:flex;gap:6px;margin-top:7px}
.rvPhotoBtns .btn{font-size:9px;padding:8px 4px}
.rvSrsRow{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:9.5px;color:#5C7388}
.rvSrsName{width:40px;flex:0 0 40px;color:#42627F}
.rvSrsRow .rvVal{width:22px;flex:0 0 22px;font-size:10px;text-align:left}
.rvMiniBtn{font:inherit;font-size:9px;color:#2E6DB8;background:#EEF7FF;border:1px solid #D5E9FF;border-radius:12px;padding:3px 8px;cursor:pointer}
.rvFooter{display:flex;gap:8px;margin-top:11px}
.rvFooter .btn{font-size:11px;padding:10px 8px}
.rvPhotoBtns .grow{flex:1}
.disclaimer{font-size:8.5px;line-height:1.5;color:#9AAABB;text-align:center;margin:10px 0 0}

@media (max-width:520px){
  .rvCard{padding:10px 9px 9px;margin-bottom:7px}
  .rvRow{grid-template-columns:minmax(0,1fr) 30px 10px 30px 38px;gap:2px;font-size:9.5px}
  .rvVal{font-size:10.5px}
  .rvRowName span{font-size:9px}
  .rvHead{margin-bottom:3px}
  .rvPlain{margin-top:6px;padding:5px 7px}
  .rvSvg{max-height:125px}
  .rvBarChart{padding-top:5px}
  .rvBarPair{gap:2px}
  .rvBarUnit{width:17px}
  .rvBarUnit b{font-size:7.5px}
  .rvBarCode{font-size:8.5px}
  .rvPhotos .phBox{height:132px;min-height:0}
  .rvPhotos .phBox img{height:132px}
  .rvHero{padding:12px 15px 13px}
  .rvHero h1{font-size:19px}
  .rvHero .sub{font-size:10px}
  .rvWrap{padding:9px 12px 82px}
}

/* 普通手机：保留左侧竖排功能条，正文单面板 */
@media (min-width:381px) and (max-width:520px){
  .rvLayout{display:grid;grid-template-columns:88px minmax(0,1fr);gap:7px;align-items:start}
  .rvRail{display:flex;flex-direction:column;gap:6px;position:static;margin:0}
  .rvTab{width:100%;min-height:48px;padding:5px 4px;flex-direction:row;justify-content:flex-start;text-align:left;gap:4px;border-radius:10px}
  .rvTab span{display:flex}
  .rvTab b{font-size:9.5px}
  .rvTab small{display:none}
  .rvIco{width:17px;height:17px;flex:0 0 17px;background:transparent}
  .rvTab .rvIco svg{width:13px;height:13px}
}

/* 窄屏 360/320：功能条改为顶部横排，避免正文只剩 200px */
@media (max-width:380px){
  .rvLayout{display:block}
  .rvRail{display:flex;flex-direction:row;gap:4px;position:static;overflow:visible;margin-bottom:8px}
  .rvTab{flex:1 1 0;width:auto;min-width:0;min-height:46px;padding:4px 2px;flex-direction:column;gap:2px;align-items:center;justify-content:center;text-align:center;border-radius:10px}
  .rvIco{width:17px;height:17px;flex:0 0 17px;background:transparent}
  .rvTab .rvIco svg{width:13px;height:13px}
  .rvTab span{display:block}
  .rvTab b{font-size:9.5px}
  .rvTab small{display:none}
}




/* 首页：侧弯专项筛查独立卡（位于评估工具与最近记录之间） */
.homeScoli{width:100%;min-height:148px;margin:18px 0 4px;padding:22px 22px;display:flex;align-items:center;gap:16px;border:1px solid rgba(126,174,235,.34);border-radius:19px;background:linear-gradient(135deg,#F8FBFF 0%,#EDF5FF 48%,#E1EEFF 100%);box-shadow:0 10px 24px rgba(31,86,168,.07),inset 0 1px 0 rgba(255,255,255,.98);font-family:inherit;text-align:left;cursor:pointer;position:relative;overflow:hidden}
.homeScoli::before{content:"";position:absolute;right:-26px;top:-58px;width:168px;height:168px;border-radius:50%;border:1px solid rgba(78,145,230,.12);box-shadow:0 0 0 28px rgba(78,145,230,.035),0 0 0 58px rgba(78,145,230,.022);pointer-events:none}
.homeScoli::after{content:"";position:absolute;left:74px;bottom:-32px;width:120px;height:80px;border-radius:50%;background:rgba(120,180,255,.14);filter:blur(18px);pointer-events:none}
.homeScoli:active{transform:translateY(1px)}
.homeScoliIco,.homeScoliTxt,.homeScoliGo{position:relative;z-index:1}
.homeScoliIco{width:84px;height:76px;flex:0 0 84px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(140deg,#4A88F1 0%,#2E66E8 100%);box-shadow:0 8px 18px rgba(46,102,232,.22)}
.homeScoliIco svg{display:block;width:66px;height:60px;filter:drop-shadow(0 4px 10px rgba(10,43,110,.18))}
.homeScoliTxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.homeScoliTxt b{font-size:18px;line-height:1.2;color:#16467F;font-weight:800;letter-spacing:.15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.homeScoliTxt small{font-size:10.5px;line-height:1.35;color:#5F7FA3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.homeScoliGo{flex:0 0 auto;font-size:11px;font-weight:700;color:#2E66E8;background:rgba(255,255,255,.88);border:1px solid rgba(148,188,238,.7);border-radius:999px;padding:7px 12px;white-space:nowrap;box-shadow:0 3px 8px rgba(46,102,232,.10)}
@media (max-width:360px){
  .homeScoli{min-height:132px;padding:16px 14px;gap:11px;margin-top:16px}
  .homeScoliIco{width:68px;height:61px;flex-basis:68px;border-radius:15px}
  .homeScoliIco svg{width:54px;height:49px}
  .homeScoliTxt b{font-size:16px}
  .homeScoliTxt small{font-size:9.2px}
  .homeScoliGo{font-size:9.5px;padding:5px 9px}
}

/* 320 窄屏：评估工具两卡收窄图标与字号，避免“人员复核”断成两行 */
@media (max-width:340px){
  .grid2{gap:8px}
  .func{grid-template-columns:36px 1fr;column-gap:7px;padding:12px 10px;border-radius:18px;min-height:78px}
  .func .ico,.func .ico svg{width:36px;height:34px}
  .func .nm{font-size:14px}
  .func .ds{font-size:9.5px;line-height:1.35}
}

/* 分区评估：顶部节段/分区按钮 + 单项面板，替代长列表 */
.zNavCard{padding:13px 13px 12px}
.zGroups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:9px}
.zGroup{min-width:0;min-height:44px;padding:5px 3px;border:1px solid #DFECFA;border-radius:11px;background:#F9FCFF;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;transition:background .15s,border-color .15s,box-shadow .15s}
.zGroup b{font-size:12px;line-height:1.1;color:#28527F;font-weight:800;letter-spacing:.02em}
.zGroup small{font-size:8px;line-height:1.1;color:#93A8BF;white-space:nowrap}
.zGroup.on{background:linear-gradient(160deg,#EAF4FF,#DCEEFF);border-color:#8FC2F5;box-shadow:0 5px 12px rgba(46,102,232,.12)}
.zGroup.on b{color:#1D5FB8}
.zGroup.on small{color:#5B84B2}
.zRows{margin-top:7px}
.zZoneRow{display:none;gap:6px}
.zZoneRow.on{display:grid}
.zZoneBtn{min-width:0;padding:6px 5px;border:1px solid #E4EFFA;border-radius:10px;background:#FBFDFF;font-family:inherit;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:1px;transition:background .15s,border-color .15s}
.zZoneBtn b{font-size:8.5px;line-height:1.1;color:#87A0B9;letter-spacing:.08em;font-weight:700}
.zZoneBtn span{font-size:10px;line-height:1.15;color:#31587F;font-weight:700;word-break:break-word}
.zZoneBtn small{font-size:8px;line-height:1.1;color:#9AAFC3;white-space:nowrap}
.zZoneBtn.on{background:#EAF4FF;border-color:#7FB6F4;box-shadow:0 4px 10px rgba(46,102,232,.10)}
.zZoneBtn.on b{color:#2E66E8}
.zZoneBtn.on span{color:#174B8D}
.zWorkCard{padding:12px 12px 11px}
.zWork{display:flex;gap:10px;align-items:flex-start}
.zMapCol{flex:0 0 34%;min-width:86px;max-width:148px}
.zPanels{flex:1;min-width:0}
.zPanel{display:none}
.zPanel.on{display:block}
.zHead{display:flex;justify-content:space-between;align-items:flex-start;gap:6px}
.zHead .h2{font-size:15px;line-height:1.2;margin:1px 0 0}
.zHead .chip{font-size:8.5px;padding:4px 6px;white-space:nowrap;flex:none}
.zItems{display:grid;grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:5px;margin-top:8px}
.zItem{min-width:0;padding:6px 5px;border:1px solid #E1EDFA;border-radius:9px;background:#F8FBFF;font-family:inherit;font-size:9.5px;line-height:1.15;color:#3B628C;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.zItem.on{background:#2E66E8;border-color:#2E66E8;color:#fff;box-shadow:0 4px 10px rgba(46,102,232,.20)}
.zItemBody{margin-top:7px;padding:8px 9px 9px;border:1px solid #E5F0FC;border-radius:11px;background:linear-gradient(180deg,#FCFDFF,#F5FAFF)}
.zItemPane{display:none}
.zItemPane.on{display:block}
.zItemTop{gap:6px;align-items:flex-start}
.zItemTop .lb{font-size:12px;line-height:1.2}
.zItemTop .lb small{font-size:8.5px;margin-top:1px}
.zItemTop .gradePill{font-size:8.5px;padding:3px 6px;white-space:nowrap}
.zValRow{display:flex;align-items:center;gap:6px;margin-top:6px}
.zValRow .input{height:30px;padding:2px 6px;font-size:13px}
.zValRow .tiny{font-size:9px;white-space:nowrap}
.zDragTip{color:#9BB0C4}
.zItemBody .range{margin-top:6px}
.zHint{font-size:8.5px;line-height:1.35;color:#8EA5BA;margin-top:5px}
@media (max-width:380px){
  .zNavCard{padding:11px 11px 10px}
  .zGroup{min-height:41px}
  .zGroup b{font-size:11px}
  .zGroup small{font-size:7.5px}
  .zZoneBtn{padding:5px 4px}
  .zZoneBtn span{font-size:9.5px}
  .zWorkCard{padding:10px}
  .zWork{gap:7px}
  .zMapCol{flex-basis:33%;min-width:78px}
  .zHead .h2{font-size:14px}
  .zHead .chip{font-size:8px;padding:3px 5px}
  .zDragTip{display:none}
  .zItem{padding:5px 3px;font-size:9px}
  .zItemBody{padding:7px 7px 8px}
  .zItemTop .lb{font-size:11px}
}

/* 分区评估细节：人体居中，参考值换行 */
.zMapCol{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.zMapTip{font-size:8px;line-height:1.2;color:#9AAFC3;text-align:center;margin-top:4px;letter-spacing:.02em}
.zItemTop .lb small{display:block;margin-top:1px}

/* ===== 2026-11-28：首页四宫格图标左置；坐姿/站姿评估彻底分开 ===== */
.homeMainBtn{min-height:84px;padding:10px 10px 9px 26px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:3px}
.homeMainHead{display:flex;align-items:center;gap:8px;min-width:0;margin-left:2px}
.homeMainBtn .homeMainIco{width:32px;height:29px;flex:0 0 32px;margin:0}
.homeMainBtn .homeMainIco svg{width:100%;height:100%}
.homeMainBtn b{font-size:14px;line-height:1.15;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homeMainBtn small{margin-left:42px;font-size:9px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:360px){
  .homeMainBtn{min-height:78px;padding:9px 8px 8px 22px}
  .homeMainHead{gap:6px;margin-left:2px}
  .homeMainBtn .homeMainIco{width:29px;height:26px;flex-basis:29px}
  .homeMainBtn b{font-size:13px}
  .homeMainBtn small{margin-left:37px;font-size:8.4px}
}

/* 报告头：只保留当前姿势，不再并排显示站姿/坐姿切换 */
.repHead .repEyebrow{display:block;font-size:9px;letter-spacing:.08em;opacity:.78;margin-top:5px}
.repTitleRow{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:3px;min-width:0}
.repTitleRow .repTitle{margin:0;font-size:19px;line-height:1.18;min-width:0}
.repPoseName{display:inline-flex;align-items:center;gap:4px;background:#fff;color:#1458A0;border-radius:9px;padding:4px 8px;font-size:12px;line-height:1;box-shadow:0 3px 9px rgba(4,42,96,.16);flex:none}
.repPoseName .repIco{width:13px;height:13px;opacity:1}
.repPoseName b{font-size:12px;line-height:1.1;white-space:nowrap}
.repHead .repTitleRow .repTitle span{font-size:10px;color:rgba(255,255,255,.78);margin-left:4px;font-weight:500}
.repHead .repTabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.repHead .repTab{min-height:48px;padding:6px 4px;border-radius:10px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.20);display:flex;align-items:center;justify-content:center;gap:4px;text-align:center}
.repHead .repTab.on{background:#fff;color:#1458A0;border-color:#fff;box-shadow:0 5px 14px rgba(4,42,96,.16)}
.repHead .repTab b{font-size:11px;line-height:1.15;white-space:nowrap}
.repHead .repTab .repCtrlTxt > span{font-size:8px;line-height:1.2;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.repTabExport{margin:0 0 10px}
.repExportBtn.repExportInline{width:100%;min-height:46px;border:1px solid #D4E7FB;border-radius:12px;background:linear-gradient(180deg,#FAFDFF 0%,#EEF7FF 100%);color:#1A4F91;box-shadow:0 4px 12px rgba(21,87,168,.06);display:flex;align-items:center;gap:8px;padding:8px 12px;text-align:left;font-family:inherit;cursor:pointer}
.repExportInline .repIco{width:18px;height:18px;flex:none;opacity:1;color:#2E66E8}
.repExportInline .repExportTxt{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.repExportInline .repExportTxt b{font-size:12px;line-height:1.2;color:#174B8C;font-weight:800}
.repExportInline .repExportTxt small{font-size:8.5px;line-height:1.3;color:#6E8BA8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.repExportInline em{flex:none;font-style:normal;font-size:9.5px;font-weight:800;color:#fff;background:#2E66E8;border-radius:999px;padding:4px 8px;white-space:nowrap}
.repExportBtn.repExportInline:active{background:#E3F1FF;border-color:#9CC7F5}
@media (max-width:520px){
  .repHead .repEyebrow{display:block;font-size:8px;margin-top:3px}
  .repHead .repSub{display:block;font-size:8.8px;line-height:1.35;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .repTitleRow{gap:5px;margin-top:2px}
  .repTitleRow .repTitle{font-size:18px}
  .repPoseName{padding:3px 7px;font-size:11px}
  .repPoseName b{font-size:11px}
  .repPoseName .repIco{width:12px;height:12px}
  .repHead .repTabs{gap:5px;margin-top:7px}
  .repHead .repTab{min-height:42px;padding:4px 3px;gap:3px}
  .repHead .repTab b{font-size:10px}
  .repHead .repTab .repCtrlTxt > span{font-size:7.5px}
  .repExportBtn.repExportInline{min-height:42px;padding:6px 9px;gap:7px}
  .repExportInline .repExportTxt b{font-size:11px}
  .repExportInline .repExportTxt small{font-size:7.8px}
}
@media (max-width:360px){
  .repTitleRow .repTitle{font-size:16.5px}
  .repHead .repTab b{font-size:9.5px}
  .repHead .repTab .repCtrlTxt > span{font-size:7px}
  .repExportInline .repExportTxt small{display:none}
}
@media print{
  .repTabExport{display:none!important}
}

/* 拍照评估：三种评估分开采集 */
.capScopeTag{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:4px 9px;border-radius:999px;background:rgba(46,123,224,.1);border:1px solid rgba(46,123,224,.2);font-size:9px;font-weight:700;color:#2E7BE0;letter-spacing:.02em}
.capPickLead{margin:14px 2px 8px;font-size:11px;font-weight:800;color:#1F4F87;letter-spacing:.02em}
.capPickLeadSub{margin-top:16px;color:#6E8AA8;font-size:10px}.capFold{margin:0 0 8px}
.capFoldHead{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:1px solid #DCEBFA;border-radius:14px;background:#fff;text-align:left;color:#164578;box-shadow:0 4px 14px rgba(31,91,160,.04);cursor:pointer}
.capFoldHead.on{background:linear-gradient(135deg,#F2F8FF,#FFFFFF);border-color:#B9D6F4}
.capFoldNo{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#EAF3FF;color:#2E66E8;font-size:11px;font-weight:900}
.capFoldMain{flex:1;min-width:0}
.capFoldMain b{display:block;font-size:14px;color:#174A86}
.capFoldMain small{display:block;margin-top:2px;font-size:9.5px;color:#7890A8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capFoldHead em{flex:none;font-style:normal;font-size:10px;font-weight:800;color:#2E66E8}
.capFoldBody{margin-top:6px}
.capPosCard{padding:12px 14px}
.capFaceRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
.capFace{min-width:0;padding:8px 4px;border:1px solid #DCEBFA;border-radius:10px;background:#FBFDFF;color:#315B88;text-align:center;cursor:pointer}
.capFace b{display:block;font-size:12px;color:#25517F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capFace small{display:block;margin-top:2px;font-size:8px;color:#91A6BA}
.capFace.on{border-color:#7FB4F7;background:linear-gradient(160deg,#EAF4FF,#D9EBFF);box-shadow:0 5px 12px rgba(47,107,242,.12)}
.capFace.on b{color:#1B57B0}
.capFaceIntro{margin:10px 0;background:#F7FBFF;border:1px dashed #CFE3F7;box-shadow:none}
.capCamStart{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding:8px 10px;border:1px solid #DCEBFA;border-radius:10px;background:#F7FBFF}
.capCamStart .tiny{min-width:0;line-height:1.45;color:#6F879E}
.capStdCard{margin-top:8px}
.capStdPicWrap{height:280px;margin-top:8px;border:1px solid #E4F0FC;border-radius:12px;background:#fff;overflow:hidden}
.capStdPicWrap .alignStdPic{width:100%;height:100%;object-fit:contain}
.consentDoc{padding:12px 14px}
.consentDocHead{align-items:flex-start}
.consentDocHead .chip{flex:none;margin-top:2px}
.consentDocScroll{margin-top:8px;padding-right:3px;overflow:visible}
.consentDocBody{padding:12px 13px;border:1px solid #E1EFFB;border-radius:12px;background:linear-gradient(180deg,#FBFDFF,#F6FBFF)}
.consentDocTitle{text-align:center;color:#153B63;font-size:18px;font-weight:900;letter-spacing:.08em}
.consentDocSub{text-align:center;color:#7B93AA;font-size:9px;margin:3px 0 10px}
.consentDocSec h4{margin:9px 0 3px;color:#1B4D7F;font-size:11.5px;line-height:1.4}
.consentDocSec p{margin:0;color:#496880;font-size:10px;line-height:1.72;text-align:justify}
.consentDocNote{margin-top:9px;padding:7px 8px;border-radius:8px;background:#EDF6FF;color:#64819C;font-size:9px;line-height:1.6}
.consentMeta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.consentMeta label{display:flex;flex-direction:column;gap:4px;color:#6E8AA8;font-size:9.5px}
.consentMeta .input{height:36px;font-size:12px}
.consentAgree{margin-top:9px;padding:9px 10px;border:1px solid #CBE1F7;border-radius:10px;background:#F4F9FF;color:#24517D;font-size:10px;line-height:1.65}
.consentSigHead{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;color:#24517D}
.consentSigHead b{font-size:11px}
.consentSigHead span{color:#8CA1B5;font-size:9px}
.consentSigPad{display:block;width:100%;height:170px;margin-top:5px;border:1px dashed #A9C5E2;border-radius:10px;background:#fff;touch-action:none;cursor:crosshair}
.consentSigTools{align-items:center;margin-top:6px}
.consentSigTools .tiny{flex:1;text-align:center}
.consentDivider{display:flex;align-items:center;gap:8px;margin:10px 0 6px;color:#91A6BA;font-size:9px;text-align:center}
.consentDivider:before,.consentDivider:after{content:'';height:1px;flex:1;background:#E1EFFB}
.consentDocActions{align-items:center}
.consentDocActions .btn{flex:1}
[data-consent-go][hidden]{display:none!important}
.consentUpload{margin-top:8px;padding:8px;border:1px dashed #DCEBFA;border-radius:10px;background:#FBFDFF}
.consentUpload img{display:block;width:100%;max-height:210px;object-fit:contain;border-radius:8px}
@media (max-width:420px){.consentMeta{grid-template-columns:1fr}.consentSigPad{height:150px}}

.capPickGrid{display:grid;grid-template-columns:1fr;gap:10px}
.capPick{display:flex;align-items:center;gap:12px;width:100%;min-height:88px;padding:12px 12px 12px 18px;border:1px solid #DCEBFA;border-radius:16px;background:#fff;text-align:left;color:#164578;box-shadow:0 4px 14px rgba(31,91,160,.05)}
.capPick:active{transform:scale(.995);background:#F8FCFF}
.capPickIco{flex:none;width:38px;height:52px;color:#2E7BE0;display:flex;align-items:center;justify-content:center}
.capPickIco svg{width:100%;height:100%;overflow:visible}
.capPick-sit .capPickIco{color:#0E9A9A}
.capPick-scoli .capPickIco{color:#1F5FAE}
.capPick-walk .capPickIco{color:#6A86A8}
.capPickTxt{flex:1;min-width:0;display:block}
.capPickTxt b{display:block;font-size:15px;line-height:1.35;color:#15427A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capPickTxt small{display:block;margin-top:3px;font-size:9.5px;line-height:1.5;color:#6C86A1}
.capPickTxt em{display:block;margin-top:4px;font-style:normal;font-size:9px;font-weight:700;color:#8AA2B8}
.capPickGo{flex:none;font-size:10px;font-weight:700;color:#2E7BE0;white-space:nowrap}
.capPick-walk{min-height:72px;background:#FAFCFF;border-color:#E5EFFA}
.capPick-walk .capPickTxt b{font-size:14px;color:#315B88}
.capOnlyNote{border-color:#DCEBFA;background:linear-gradient(180deg,#FBFDFF,#F3F9FF)}
.capOnlyNote>b{display:block;font-size:12px;color:#1F4F87}
@media (max-width:360px){
  .capPick{padding-left:16px;gap:10px;min-height:82px}
  .capPickIco{width:34px;height:46px}
  .capPickTxt b{font-size:14px}
  .capPickTxt small{font-size:9px}
}

/* ===== 局部拍照评估 ===== */
.lpHero h1{font-size:20px}
.lpRegionStrip{display:flex;flex-wrap:wrap;gap:8px;padding:12px 2px 4px}
.lpRegionStrip::-webkit-scrollbar{display:none}
.lpRegionTab{flex:1 1 calc(16.666% - 7px);min-width:0;padding:8px 4px 7px;text-align:center;border:1px solid #DCEBFA;border-radius:14px;background:rgba(255,255,255,.86);color:#547292;text-align:left;box-shadow:0 3px 10px rgba(31,91,160,.04)}
.lpRegionTab b{display:block;font-size:11.5px;color:#1E4A7C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpRegionTab small{display:block;margin-top:2px;font-size:7px;color:#8AA3BA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpRegionTab.on{border-color:#7FB4F7;background:linear-gradient(160deg,#EAF4FF,#D9EBFF);box-shadow:0 6px 16px rgba(47,107,242,.12)}
.lpRegionTab.on b{color:#1B57B0}
.lpArtCard{padding:14px 14px 12px;margin-top:10px}
.lpViewTabs{display:flex;gap:6px;margin:11px 0 9px;overflow-x:auto;scrollbar-width:none}
.lpViewTabs::-webkit-scrollbar{display:none}
.lpViewTab{flex:none;padding:6px 12px;border-radius:999px;border:1px solid #E1EDFB;background:#F7FBFF;color:#66829D;font-size:11px;font-weight:700}
.lpViewTab.on{border-color:#7FB4F7;background:#2F6BF2;color:#fff;box-shadow:0 5px 12px rgba(47,107,242,.18)}
.lpArtStage{position:relative;display:flex;align-items:center;justify-content:center;min-height:258px;padding:6px 0 2px;border-radius:16px;background:
  radial-gradient(240px 150px at 50% 34%,rgba(255,255,255,.96),rgba(233,244,255,.7) 55%,rgba(224,238,255,.35)),#F7FBFF;
  border:1px solid #E4F0FC;overflow:hidden}
.lpArtStage:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(107,160,225,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(107,160,225,.055) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(180deg,#000,transparent 88%)}
.lpArtStage svg{position:relative;width:100%;max-width:300px;max-height:330px;height:auto}
.lpArtLabel{font-size:8.5px;font-weight:700;letter-spacing:.02em;paint-order:stroke;stroke:#F7FBFF;stroke-width:3px;stroke-linejoin:round}
.lpArtLabel.orange{fill:#D97735}.lpArtLabel.blue{fill:#2F6BF2}.lpArtLabel.purple{fill:#7757D8}.lpArtLabel.green{fill:#2F9E6A}
.lpArtDots circle{fill:#2F6BF2;stroke:#fff;stroke-width:1.5}
.lpLegend{display:flex;flex-wrap:wrap;gap:7px 11px;margin:9px 1px 0;font-size:9px;color:#6E88A2}
.lpLegend i{display:inline-block;width:14px;height:0;border-top:2px dashed currentColor;margin-right:4px;vertical-align:middle}
.lpLegend i.orange{color:#E07B39}.lpLegend i.blue{color:#2F6BF2}.lpLegend i.purple{color:#8B6BE8}.lpLegend i.green{color:#2F9E6A}
.lpArtTip{margin-top:8px;padding:8px 10px;border-radius:11px;background:#F4F9FF;border:1px solid #E6F1FD;font-size:10px;line-height:1.55;color:#52718E}
.lpArtTip b{color:#245A96;margin-right:3px}
.lpIntro{margin-top:7px;font-size:10px;line-height:1.6;color:#7D94AC}
.lpPrep{margin-top:10px;padding:0;overflow:hidden}
.lpPrep summary{display:flex;align-items:center;gap:8px;padding:13px 14px;cursor:pointer;list-style:none}
.lpPrep summary::-webkit-details-marker{display:none}
.lpPrep summary b{font-size:13px;color:#164578}
.lpPrep summary span{font-size:9.5px;color:#8AA2B8}
.lpPrep summary:after{content:"›";margin-left:auto;color:#7FB4F7;font-size:18px;transform:rotate(90deg)}
.lpPrep[open] summary:after{transform:rotate(-90deg)}
.lpPrepGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 10px}
.lpPrepGrid>div{padding:9px 10px;border-radius:11px;background:#F8FCFF;border:1px solid #E8F2FD}
.lpPrepGrid b{display:inline-block;margin-right:5px;font-size:10px;color:#2F6BF2}
.lpPrepGrid span{font-size:10px;font-weight:700;color:#315B88}
.lpPrepGrid small{display:block;margin-top:4px;font-size:9px;line-height:1.5;color:#7890A8}
.lpPrepFoot{padding:0 14px 13px;font-size:8.5px;line-height:1.55;color:#91A5B9}
.lpPhotoCard{margin-top:10px;padding:14px}
.lpPhotoHint{margin:6px 0 10px;font-size:9.5px;line-height:1.55;color:#7D94AC}
.lpPhotoGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.lpPhotoTile{min-width:0;border:1px solid #E0EDFB;border-radius:14px;background:#FBFDFF;overflow:hidden}
.lpPhotoEmpty{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;aspect-ratio:3/4;border:0;background:linear-gradient(180deg,#F9FCFF,#EEF7FF);color:#6B87A2;gap:3px}
.lpShotGuide{position:absolute;inset:7% 8% 9%;border:1.5px dashed rgba(47,107,242,.38);border-radius:12px;pointer-events:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;padding:6px 7px}
.lpShotGuide:before,.lpShotGuide:after{content:"";position:absolute;width:14px;height:14px;border-color:#2F6BF2;border-style:solid;opacity:.7}
.lpShotGuide:before{left:-1px;top:-1px;border-width:2px 0 0 2px;border-radius:6px 0 0 0}
.lpShotGuide:after{right:-1px;bottom:-1px;border-width:0 2px 2px 0;border-radius:0 0 6px 0}
.lpShotGuide.landscape{inset:24% 5%}
.lpShotGuide b{font-size:8px;color:#2F6BF2;font-weight:800;line-height:1.2}
.lpShotGuide small{font-size:7px;color:#7E9BB8;line-height:1.2}
.lpVoiceChip{border:0;cursor:pointer;font-family:inherit}
.lpFrameBadge{position:absolute;left:5px;top:5px;z-index:4;max-width:calc(100% - 60px);padding:4px 6px;border-radius:7px;font-size:8px;line-height:1.35;background:rgba(241,248,255,.94);border:1px dashed #CFE6FF;color:#436B92;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;backdrop-filter:blur(4px)}
.lpFrameBadge.ok{background:#F0FBF5;border-color:#BFE8D1;color:#2F7D56}
.lpFrameBadge.bad{background:#FFF4F1;border-color:#FFD1C7;color:#B45036}
.lpFrameBadge.warn{background:#FFF9EC;border-color:#F3DCA8;color:#8A6521}
.lpFrameLine{margin:6px 0 2px;padding:5px 7px;border-radius:7px;font-size:8.5px;line-height:1.5;background:#F7FBFF;border:1px dashed #DCEBFA;color:#55718B}
.lpFrameLine b{margin-right:5px;color:#2E6DB4}
.lpFrameLine.bad{background:#FFF5F2;border-color:#FFD3C9;color:#A94B34}
.lpFrameLine.ok{background:#F2FBF6;border-color:#C8EAD8;color:#2F7D56}
.lpPhotoEmpty b{font-size:12px;color:#25517F}.lpPhotoEmpty small{font-size:9px;color:#8CA4BA}
.lpCamIco{width:27px;height:27px;color:#2F6BF2;display:flex;align-items:center;justify-content:center;margin-bottom:2px}
.lpCamIco svg{width:100%;height:100%}
.lpTileHint{padding:7px 8px;font-size:8px;line-height:1.4;color:#94A8BA;text-align:center;border-top:1px dashed #E4EFFB}
.lpPhotoTile.has{background:#fff}
.lpThumb{position:relative;aspect-ratio:3/4;overflow:hidden;background:#DCE9F7;cursor:pointer}
.lpThumb.landscape{aspect-ratio:4/3}
.lpThumb img{display:block;width:100%;height:100%;object-fit:cover}
.lpMiniSvg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.lpMiniSvg line{stroke:#FFB06B;stroke-width:4;stroke-dasharray:10 7;opacity:.95}
.lpMiniDot{fill:#2F6BF2;stroke:#fff;stroke-width:3}
.lpMiniNum{fill:#fff;font-size:17px;font-weight:800}
.lpDoneTag{position:absolute;right:5px;top:5px;padding:3px 6px;border-radius:999px;background:rgba(17,44,77,.52);color:#fff;font-size:8px;font-weight:700;backdrop-filter:blur(4px)}
.lpDoneTag.ok{background:rgba(47,158,106,.9)}
.lpTileBar{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:7px 8px 0}
.lpTileBar b{font-size:11px;color:#25517F}.lpTileBar span{font-size:8px;color:#8CA4BA}
.lpTileActions{display:flex;gap:4px;padding:5px 7px 7px}
.lpMiniBtn{flex:1;padding:6px 4px;border:1px solid #CFE4FF;border-radius:9px;background:#EAF4FF;color:#1E5BAE;font-size:9px;font-weight:700}
.lpMiniBtn.ghost{background:#fff;border-color:#E1EDFB;color:#6C86A1}
.lpMirror{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:9px;color:#7B93A9}
.lpMirror input{accent-color:#2F6BF2}
.lpResult{margin-top:10px;padding:14px}
.lpVerdict{margin:9px 0 2px;padding:11px 12px;border-radius:13px;background:linear-gradient(135deg,#EAF4FF,#F5FAFF);border:1px solid #D7E9FC;font-size:15px;font-weight:800;line-height:1.45;color:#174A86}
.lpViewResult{border-top:1px dashed #E5F0FB;margin-top:10px;padding-top:9px}
.lpViewResult:first-of-type{border-top:0;margin-top:0;padding-top:0}
.lpResultBlock .between{align-items:flex-start}
.lpQ{padding:3px 7px;border-radius:999px;background:#F1F7FD;color:#7890A8;font-size:8px;white-space:nowrap}
.lpQ.ok{background:#E9F8F0;color:#2F8D62}.lpQ.bad{background:#FFF2E8;color:#C46A2B}
.lpFinding{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px dashed #EDF4FC}
.lpFinding:last-child{border-bottom:0}
.lpPlane{height:20px;border-radius:6px;background:#EDF5FF;color:#3A72AD;font-size:8px;font-weight:800;display:flex;align-items:center;justify-content:center;white-space:nowrap}
.lpFinding>b{display:block;font-size:11px;color:#315B88}
.lpVal{font-size:15px;font-weight:800;color:#15427A;line-height:1.35}
.lpFinding.mild .lpVal{color:#B4771E}.lpFinding.warn .lpVal{color:#C46A2B}.lpFinding.bad .lpVal{color:#B44B35}
.lpFinding small{display:block;margin-top:2px;font-size:8.5px;line-height:1.45;color:#8DA2B5}
.lpSev{display:inline-block;margin-top:3px;padding:1px 6px;border-radius:999px;background:#F2F8FF;border:1px solid #E2EFFD;color:#3A72AD;font-size:8px;font-weight:800;line-height:1.5}
.lpOverall{margin-top:10px;padding:10px 12px;border-radius:12px;background:#F7FBFF;border:1px solid #E6F1FD}
.lpOverall b{font-size:11px;color:#2F6BF2}.lpOverall ul{margin:5px 0 0 16px;padding:0;font-size:9px;line-height:1.65;color:#5D7A95}
.lpPlan{margin-top:9px;padding:10px 12px;border-radius:12px;background:#FFFBF4;border:1px solid #F5E5C8}
.lpPlan b{font-size:10px;color:#A56A1F}.lpPlan p{margin:3px 0 0;font-size:9px;line-height:1.6;color:#8D6C42}
.lpEmptyResult{margin-top:9px;font-size:10px;line-height:1.6;color:#7D94AC}
.lpQualityWarn{margin-top:9px;padding:8px 10px;border-radius:11px;background:#FFF7EC;border:1px solid #F6DFC2;font-size:9px;line-height:1.55;color:#A86A28}
.lpQualityWarn b{color:#8C5318;margin-right:4px}
.lpPlaneLegend{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.lpPlaneLegend span{padding:4px 7px;border-radius:999px;background:#F3F8FF;color:#6E8CA9;font-size:8px}
.lpSaved{margin-top:10px;padding:13px 14px}
.lpSavedRow{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 2px;border:0;border-bottom:1px dashed #ECF4FC;background:transparent;text-align:left}
.lpSavedRow:last-child{border-bottom:0}
.lpSavedRow b{display:block;font-size:10px;color:#315B88}.lpSavedRow small{display:block;margin-top:2px;font-size:8.5px;color:#8CA4BA;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lpSavedRow i{font-style:normal;font-size:9px;color:#2F6BF2}
.lpInlineEditor{margin:10px 0 0}
.lpInlineEditor .lpEditor{max-width:none}
.lpEditMask{position:fixed;inset:0;z-index:12000;background:rgba(8,24,43,.82);display:flex;align-items:flex-start;justify-content:center;padding:12px;overflow:auto}
.lpEditor{width:100%;max-width:480px;border-radius:18px;background:#F8FCFF;box-shadow:0 24px 70px rgba(0,0,0,.3);overflow:hidden}
.lpEditTop{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #E7F1FC}
.lpEditTop b{display:block;font-size:14px;color:#164578}.lpEditTop small{display:block;margin-top:1px;font-size:9px;color:#8AA2B8}
.lpClose{border:0;background:#EDF5FF;color:#2F6BF2;border-radius:9px;padding:5px 9px;font-size:10px}
.lpCanvasWrap{position:relative;background:#0B1D33;margin:10px 12px;border-radius:12px;overflow:hidden;touch-action:none}
.lpCanvasWrap img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;user-select:none;-webkit-user-drag:none}
.lpCanvasWrap svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
.lpEditSvg line{stroke:#FFB06B;stroke-width:8;stroke-dasharray:16 10;opacity:.95}
.lpEditSvg .lpPoint circle{fill:rgba(47,107,242,.92);stroke:#fff;stroke-width:5;cursor:grab}
.lpEditSvg .lpPoint text{fill:#fff;font-size:30px;font-weight:800;pointer-events:none}
.lpPrompt{min-height:44px;padding:7px 14px;display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;background:#EFF7FF;color:#385F87;font-size:11px}
.lpPrompt b{color:#1E5BAE}.lpPrompt small{font-size:9px;color:#8AA2B8}
.lpEditTools{display:flex;gap:7px;padding:9px 12px 4px}
.lpEditTools .lpMiniBtn{padding:8px 6px;font-size:10px}
.lpEditFoot{padding:0 14px 12px;font-size:8.5px;line-height:1.5;color:#8DA2B5}
@media (max-width:360px){
  .lpPrepGrid{grid-template-columns:1fr}
  .lpArtStage{min-height:232px}
  .lpArtStage svg{max-height:300px}
  .lpPhotoGrid{gap:7px}
  .lpTileBar b{font-size:10px}
  .lpVerdict{font-size:14px}
  .lpRegionTab{min-width:68px}
}


/* 顶部六键：图标在左、字号加大，20261129bf */
#globalRail{padding:6px 8px}
.gRailIn{gap:4px;max-width:760px}
#globalRail .homeRailBtn{height:58px;min-height:58px;flex-direction:row;gap:6px;padding:0 8px;border-radius:10px}
#globalRail .homeRailIco{width:24px;height:24px}
#globalRail .homeRailBtn b{font-size:13.5px;line-height:1.15;font-weight:800;text-align:left;flex:none;max-width:none;letter-spacing:0}
.fnBar{top:71px}
@media (max-width:600px){
  .gRailIn{gap:3px}
  #globalRail .homeRailBtn{height:54px;min-height:54px;gap:4px;padding:0 2px}
  #globalRail .homeRailIco{width:20px;height:20px}
  #globalRail .homeRailBtn b{font-size:11.5px}
  .fnBar{top:66px}
}
@media (max-width:470px){
  #globalRail{padding:5px 8px}
  .gRailIn{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  #globalRail .homeRailBtn{height:46px;min-height:46px;gap:5px;padding:0 8px;justify-content:flex-start}
  #globalRail .homeRailIco{width:21px;height:21px}
  #globalRail .homeRailBtn b{font-size:12.5px}
  .fnBar{top:107px}
}

/* 拍前要求：设备/环境/客户共用入口，20261129bg */
.ctaCol{flex-direction:row;align-items:center;gap:8px}
.ctaSub{height:44px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.96);border:1px solid rgba(46,102,232,.18);color:#245E9E;font-family:inherit;font-size:13.5px;font-weight:800;letter-spacing:.2px;white-space:nowrap;box-shadow:0 8px 18px rgba(47,107,242,.14);cursor:pointer}
.ctaSub svg{width:16px;height:16px;flex:none}
.ctaSub:active{transform:scale(.98)}
@media (max-width:360px){.ctaCol{flex-direction:column;align-items:flex-start;gap:6px}}
.capPrepBtn{width:100%;margin:2px 0 12px;padding:13px 15px;border:1px solid #D5E7FA;border-radius:16px;background:linear-gradient(135deg,#F8FCFF,#FFFFFF 70%);box-shadow:0 8px 20px rgba(28,84,152,.07);font-family:inherit;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer}
.capPrepBtn .prepIco{width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,#EAF3FF,#F6FAFF);border:1px solid #D8E9FB;color:#2E66E8;display:flex;align-items:center;justify-content:center;flex:none}
.capPrepBtn .prepIco svg{width:24px;height:24px}
.capPrepBtn .prepMain{min-width:0;flex:1}
.capPrepBtn .prepMain b{display:block;font-size:15px;line-height:1.25;color:#163B78;font-weight:800}
.capPrepBtn .prepMain small{display:block;margin-top:3px;font-size:10.5px;line-height:1.4;color:#6D8AA6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capPrepBtn em{font-style:normal;color:#2E66E8;font-size:11px;font-weight:800;flex:none}
.prepLead{font-size:11px;line-height:1.65;color:#58748F;margin-bottom:8px}
.prepSheetRow{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #EDF4FC}
.prepSheetRow:last-of-type{border-bottom:0}
.prepSheetNo{width:24px;height:24px;border-radius:50%;background:#EAF3FF;color:#2E66E8;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.prepSheetRow b{display:block;font-size:13px;line-height:1.3;color:#163B78;font-weight:800;margin-bottom:3px}
.prepSheetRow .tiny{font-size:10.5px;line-height:1.65;color:#58748F}
.prepSheetTip{margin-top:10px;padding:9px 11px;border-radius:10px;background:#F5FAFF;font-size:10px;line-height:1.6;color:#5E7D9A}
.prepSharedBtn{width:100%;margin-top:10px;padding:11px 12px;border:1px solid #D7E8FB;border-radius:12px;background:#F7FBFF;font-family:inherit;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}
.prepSharedBtn span{font-size:11.5px;line-height:1.35;color:#245E9E;font-weight:800}
.prepSharedBtn em{font-style:normal;font-size:10.5px;color:#2E66E8;font-weight:800;flex:none}
.lpPrepShared{margin:2px 0 10px}
.lpPrepGridTwo{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:390px){
  .capPrepBtn{padding:12px 12px;gap:9px}
  .capPrepBtn .prepIco{width:38px;height:38px}
  .capPrepBtn .prepIco svg{width:21px;height:21px}
  .capPrepBtn .prepMain b{font-size:14px}
  .capPrepBtn .prepMain small{font-size:9.5px}
  .lpPrepGridTwo{grid-template-columns:1fr}
}

/* 拍照评估：四宫格入口，20261129bj */
.capPickGridTwo{grid-template-columns:repeat(2,minmax(0,1fr))}
.capPickGridTwo .capPick{min-height:142px}
.capPickGridTwo .capPickTxt b{white-space:normal;font-size:14px}
.capPickGridTwo .capPickGo{margin-top:auto;align-self:flex-end}
.capPick-local .capPickIco{color:#B86A2B}
@media (max-width:600px){
  .capPickGridTwo .capPick{flex-direction:column;align-items:flex-start;gap:7px;padding:13px 12px;min-height:156px}
  .capPickGridTwo .capPickIco{width:30px;height:42px}
  .capPickGridTwo .capPickTxt{width:100%}
  .capPickGridTwo .capPickTxt b{font-size:13.5px;line-height:1.3}
  .capPickGridTwo .capPickTxt small{font-size:9px;line-height:1.45;max-height:2.9em;overflow:hidden}
  .capPickGridTwo .capPickTxt em{font-size:8.5px}
  .capPickGridTwo .capPickGo{align-self:flex-end;font-size:9.5px}
}
@media (max-width:340px){.capPickGridTwo{grid-template-columns:1fr}}

/* 局部拍照：实时取景、入框门禁、语音步骤，20261129bj */
.lpTileUploadRow{padding:0 7px 7px}
.lpTileUpload{width:100%;padding:7px 4px;border:1px dashed #C9DFF5;border-radius:8px;background:#F8FBFF;color:#547EA8;font-family:inherit;font-size:9px;line-height:1.3;font-weight:700;cursor:pointer}
.lpTileUpload:active{background:#F4FAFF}
.lpCamModal{position:fixed;inset:0;z-index:2147482000;display:flex;justify-content:center;background:#061321;overflow:auto}
.lpCamPanel{width:min(460px,100%);height:100%;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#071626,#0B1E30);color:#fff;overflow:hidden}
.lpCamHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px 12px;background:rgba(7,22,38,.96);position:sticky;top:0;z-index:3}
.lpCamHead b{display:block;font-size:15px;line-height:1.3;font-weight:800}
.lpCamHead small{display:block;margin-top:3px;font-size:10px;color:#8FB0CB;line-height:1.4}
.lpCamClose{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#DCEBFA;border-radius:999px;padding:6px 11px;font-family:inherit;font-size:11px;cursor:pointer}
.lpCamStage{position:relative;height:min(58vh,calc((100vw - 20px) * 4 / 3),520px);width:auto;aspect-ratio:3/4;align-self:center;max-width:100%;background:#000;overflow:hidden;flex:none}
.lpCamStage video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.lpCamBox{position:absolute;left:11%;right:11%;top:7%;bottom:7%;border:2px dashed rgba(255,255,255,.8);border-radius:18px;box-shadow:0 0 0 999px rgba(2,10,20,.28);pointer-events:none;transition:border-color .18s,box-shadow .18s}
.lpCamBox span{position:absolute;left:11px;top:9px;padding:3px 7px;border-radius:7px;background:rgba(5,20,35,.62);color:#DCEBFA;font-size:9px;line-height:1.3;backdrop-filter:blur(4px)}
.lpCamBox.ready{border-color:#43E39A;box-shadow:0 0 0 999px rgba(2,10,20,.16),0 0 22px rgba(67,227,154,.5)}
.lpCamBox.ready span{background:rgba(31,132,91,.88);color:#fff}
.lpCamStatus{position:absolute;left:10px;right:10px;bottom:10px;padding:9px 11px;border-radius:12px;background:rgba(5,18,31,.78);color:#EAF5FF;font-size:11px;line-height:1.5;backdrop-filter:blur(6px);text-align:center}
.lpCamStatus.ok{background:rgba(24,118,82,.9)}
.lpCamStatus.bad{background:rgba(126,48,36,.88)}
.lpCamStatus.warn{background:rgba(120,83,24,.9)}
.lpCamCount{position:absolute;inset:0;display:none;align-items:center;justify-content:center;font-size:76px;font-weight:800;color:#fff;text-shadow:0 8px 28px rgba(0,0,0,.55);pointer-events:none}
.lpCamBody{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:12px 14px 14px}
.lpCamSteps{display:flex;gap:6px}
.lpCamSteps span{flex:1;height:4px;border-radius:3px;background:rgba(255,255,255,.16)}
.lpCamSteps span.on{background:#5AB4FF}
.lpCamStepText{min-height:36px;padding:9px 11px;border-radius:11px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-size:11px;line-height:1.55;color:#D8E9F8}
.lpCamStepText b{color:#8FD0FF;margin-right:5px}
.lpCamTools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lpCamBtn{flex:1;min-width:94px;padding:8px 9px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.08);color:#DCEBFA;font-family:inherit;font-size:10px;line-height:1.3;cursor:pointer}
.lpCamBtn.ghost{background:transparent}
.lpCamConsent{display:flex;align-items:flex-start;gap:7px;font-size:9.5px;line-height:1.5;color:#AFC8DD}
.lpCamConsent input{margin-top:2px;accent-color:#43E39A;flex:none}
.lpConsentLine{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:10.5px;line-height:1.6;color:#4F6B84}
.lpConsentLine input{margin-top:2px;accent-color:#2F6BF2;flex:none}
.lpCamShootRow{flex:none;display:flex;align-items:center;justify-content:center;gap:16px;padding:10px 14px 14px;background:linear-gradient(180deg,rgba(7,22,38,0),#071626 38%);border-top:1px solid rgba(120,170,220,.14)}
@media (max-height:640px){.lpCamStage{height:min(38vh,260px)}}
.lpCamSide{width:76px;font-size:9px;line-height:1.35;color:#8FB0CB;text-align:center}
.lpCamShutter{width:68px;height:68px;border-radius:50%;border:3px solid rgba(220,235,250,.45);background:radial-gradient(circle at 50% 38%,#fff,#DCEBFA);box-shadow:0 6px 18px rgba(0,0,0,.3);cursor:pointer;flex:none;position:relative}
.lpCamShutter::after{content:"";position:absolute;inset:8px;border-radius:50%;border:2px solid rgba(15,46,78,.2)}
.lpCamShutter.ready{border-color:#43E39A;box-shadow:0 0 0 5px rgba(67,227,154,.15),0 8px 22px rgba(0,0,0,.3)}
.lpCamShutter:disabled{opacity:.38;cursor:not-allowed}
.lpCamUpload{width:100%;padding:9px 10px;border:1px dashed rgba(255,255,255,.25);border-radius:10px;background:transparent;color:#A9C5DD;font-family:inherit;font-size:10px;line-height:1.4;cursor:pointer;text-align:center}
.lpCamUpload b{color:#D8E9F8}
.lpCamFail{display:none;padding:10px 11px;border-radius:11px;background:rgba(126,48,36,.24);border:1px solid rgba(255,143,120,.38);color:#FFD9D1;font-size:10px;line-height:1.55}
.lpCamFail.show{display:block}
.lpCamFail .row{margin-top:8px}
body.lpCamOn{overflow:hidden}

/* 20261129bt 局部拍照：站/坐姿、区域横竖屏、快门与底部安全区 */
.lpPostureBar{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;padding:9px 11px;border:1px solid #DDEBF9;border-radius:12px;background:linear-gradient(180deg,#FBFDFF,#F3F9FF)}
.lpPostureSeg{display:flex;align-items:center;gap:6px}
.lpPostureSeg>span{font-size:10px;font-weight:800;color:#42698F;margin-right:2px}
.lpPostureSeg button{padding:5px 13px;border:1px solid #D5E7F8;border-radius:999px;background:#fff;color:#5B7D9C;font-family:inherit;font-size:10px;line-height:1.3;font-weight:700;cursor:pointer}
.lpPostureSeg button.on{border-color:#2F6BF2;background:#2F6BF2;color:#fff;box-shadow:0 3px 10px rgba(47,107,242,.2)}
.lpPostureBar small{font-size:9px;line-height:1.55;color:#6E8AA5}
.lpPostureNote{margin-top:8px;padding:8px 10px;border:1px solid #F0D9B5;border-radius:9px;background:#FFF9EE;color:#8A6426;font-size:9.5px;line-height:1.55}
.lpPostureNote b{color:#B97812}
.lpCamModal{height:100dvh}
.lpCamPanel{height:100dvh;max-height:100dvh}
.lpCamPanel.landscape .lpCamStage{height:min(48vh,calc((100vw - 20px) * 3 / 4),390px);aspect-ratio:4/3}
.lpCamBox.landscape{left:3%;right:3%;top:18%;bottom:18%}
.lpCamBox.shoulder{left:2%;right:2%;top:7%;bottom:12%}
.lpCamBox.thorax{left:4%;right:4%;top:10%;bottom:14%}
.lpCamBox.pelvis{left:5%;right:5%;top:13%;bottom:14%}
.lpCamBox.foot{left:2%;right:2%;top:24%;bottom:12%}
.lpCamBox.knee{top:2%;bottom:2%}
.lpCamBox.neck{top:4%;bottom:8%}
.lpCamSpec{position:absolute;right:10px;top:9px;padding:3px 7px;border-radius:7px;background:rgba(6,24,42,.7);border:1px solid rgba(150,195,240,.3);color:#DCEBFA;font-size:9px;line-height:1.35;backdrop-filter:blur(4px);pointer-events:none;max-width:48%}
.lpCamKeyLines{padding:8px 10px;border-radius:10px;background:rgba(90,180,255,.08);border:1px solid rgba(120,190,255,.2);color:#BBD6EE;font-size:9.5px;line-height:1.55}
.lpCamKeyLines b{color:#8FD0FF;margin-right:5px}
.lpCamShootRow{position:sticky;bottom:0;z-index:6;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.lpCamShutter span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:inherit;font-size:10px;font-weight:800;color:#2B4F74;letter-spacing:.5px;pointer-events:none}
.lpCamShutter.ready span{color:#116B48}
.lpCamShutter.locked{opacity:.58;cursor:pointer;background:radial-gradient(circle at 50% 38%,#F3F8FD,#C9D8E8)}
.lpCamShutter.locked span{color:#5E7690}
@media (max-width:360px){
  .lpCamPanel.landscape .lpCamStage{height:min(42vh,calc((100vw - 16px) * 3 / 4),330px)}
  .lpCamShutter{width:62px;height:62px}
  .lpCamShutter span{font-size:9px}
}
@media (max-height:640px){
  .lpCamPanel.landscape .lpCamStage{height:min(36vh,210px)}
  .lpCamBody{padding:8px 12px}
}

/* 20261129cb 分区拍照：体位选择、5页签、标准对比 */
.lpModeGrid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
.lpModeCard{padding:0;border:1px solid #DCEBFA;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(28,84,152,.07);overflow:hidden}
.lpModeCard button{font-family:inherit}
.lpModeHead{position:relative;display:block;width:100%;padding:16px 16px 12px;border:0;background:linear-gradient(145deg,#F5FAFF,#FFFFFF 72%);text-align:left;cursor:pointer}
.lpModeCard.sit .lpModeHead{background:linear-gradient(145deg,#F1FBF8,#FFFFFF 72%)}
.lpModeHead b{display:block;margin-top:7px;font-size:21px;line-height:1.2;color:#123B72;letter-spacing:.2px}
.lpModeHead small{display:block;margin-top:4px;padding-right:38px;font-size:10px;line-height:1.55;color:#6C88A4}
.lpModeHead em{position:absolute;right:14px;bottom:14px;font-style:normal;font-size:10px;font-weight:800;color:#2E66E8}
.lpModeBadge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#E9F3FF;color:#2B67B8;font-size:9px;font-weight:800;letter-spacing:.3px}
.lpModeCard.sit .lpModeBadge{background:#E8F8F1;color:#27805D}
.lpModeRegions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:0 8px 12px}
.lpModeRegions button{min-width:0;padding:7px 2px;border:1px solid #E2EEFB;border-radius:9px;background:#FBFDFF;color:#315B88;text-align:center;cursor:pointer}
.lpModeRegions button:active{background:#EEF7FF}
.lpModeRegions b{display:block;font-size:9.5px;line-height:1.2;color:#25517F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpModeRegions small{display:block;margin-top:2px;font-size:6.5px;color:#91A6BA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpModePrep{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(135deg,#FBFDFF,#F3F9FF);border-color:#E0EDFB;text-align:left;cursor:pointer}
.lpModePrep b{font-size:16px;color:#174A86;flex:none}
.lpModePrep small{display:block;flex:1;font-size:10px;line-height:1.5;color:#6E89A3}
.lpModePrep em{font-style:normal;font-size:10.5px;font-weight:800;color:#2E66E8;flex:none}
.lpModeNote{margin-top:10px;padding:12px 14px;font-size:10px;line-height:1.7;color:#5F7B96}
.lpModeNote b{color:#245A96;margin-right:5px}
.lpPostureNow{font-size:11px;color:#245A96;font-weight:800}
.lpPhotoGridOne{grid-template-columns:1fr;max-width:390px}
.lpViewSaveBar{display:flex;gap:8px;margin-top:12px}
.lpViewSaveBar .btn{flex:1}
.lpViewSaveBar .btn:disabled{opacity:.45}
.lpViewTabs .standard{background:#F2F8FF;color:#315B88;border-color:#D7E9FC}
.lpViewTabs .standard.on{background:#123F78;border-color:#123F78;color:#fff}
.lpCompare{margin-top:10px;padding:14px}
.lpCompareRow{padding:12px 0;border-top:1px dashed #E6F1FC}
.lpCompareRow:first-of-type{border-top:0;padding-top:4px}
.lpCompareTop{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.lpCompareTop b{font-size:13px;color:#1C4A7D}
.lpCompareTop span{font-size:8.5px;color:#7890A8}
.lpCompareGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lpCompareSide>span{display:block;margin:0 0 4px 2px;font-size:8.5px;font-weight:800;color:#6D89A5}
.lpCompareArt{display:flex;align-items:center;justify-content:center;min-height:190px;aspect-ratio:3/4;padding:5px;border:1px solid #E0EDFB;border-radius:12px;background:linear-gradient(180deg,#FBFDFF,#F0F8FF);overflow:hidden}
.lpCompareArt svg{display:block;width:100%;height:100%;max-height:100%}
.lpCompareShot{position:relative;width:100%;border:1px solid #DCEAF8;border-radius:12px;background:#E9F3FC;overflow:hidden}
.lpCompareShot img{display:block;width:100%;height:100%;object-fit:fill}
.lpCompareShot svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.lpCompareShot line{stroke-width:4;stroke-dasharray:12 8;opacity:.95}
.lpCompareEmpty{display:flex;align-items:center;justify-content:center;min-height:190px;aspect-ratio:3/4;border:1px dashed #D8E8F7;border-radius:12px;background:#F8FCFF;color:#8AA2B8;font-size:10px}
.lpCompareMetrics{display:grid;gap:5px;margin-top:8px}
.lpCmpMetric{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;background:#F7FBFF;border:1px solid #EAF3FD}
.lpCmpMetric span{font-size:9px;color:#6F8AA4}
.lpCmpMetric b{font-size:11px;color:#245A96;text-align:right}
.lpCmpMetric.mild b{color:#A5751E}.lpCmpMetric.warn b{color:#B56225}.lpCmpMetric.bad b{color:#B44B35}
.lpCmpEmpty{font-size:9px;line-height:1.5;color:#8AA2B8}
.lpDemo{margin-top:6px;padding:12px;border:1px solid #E3EFFC;border-radius:14px;background:linear-gradient(180deg,#FBFDFF,#F4FAFF)}
.lpDemoGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.lpDemoSide>span{display:block;margin:0 0 4px 2px;font-size:8.5px;font-weight:800;color:#6D89A5}
.lpDemoSide>div{display:flex;align-items:center;justify-content:center;min-height:190px;aspect-ratio:3/4;padding:5px;border:1px solid #E0EDFB;border-radius:12px;background:#fff;overflow:hidden}
.lpDemoSide svg{display:block;width:100%;height:100%}
.lpDemoShift{transform:rotate(6deg) translate(4px,-2px) scale(.94);transform-origin:50% 22%;filter:saturate(.88) brightness(.99)}
.lpDemoMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px}
.lpDemoMetrics>div{padding:7px 6px;border-radius:9px;background:#fff;border:1px solid #E8F2FD;text-align:center}
.lpDemoMetrics span{display:block;font-size:7.5px;color:#8199B0}
.lpDemoMetrics b{display:block;margin-top:2px;font-size:11px;color:#245A96}
.lpDemoMetrics em{display:block;margin-top:1px;font-style:normal;font-size:8px;color:#C46A2B}
.lpCompareTodo{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px dashed #E6F1FC;font-size:9px;color:#7890A8}
.lpCompareTodo b{margin-right:2px;color:#4D769F}
.lpCompareTodo button{padding:4px 8px;border:1px solid #D6E8FA;border-radius:999px;background:#F7FBFF;color:#2F6EBB;font-family:inherit;font-size:9px;cursor:pointer}
@media (max-width:600px){
  .lpModeGrid{grid-template-columns:1fr}
  .lpModePrep{grid-column:auto}
  .lpModeHead b{font-size:19px}
  .lpCompareArt,.lpCompareEmpty,.lpDemoSide>div{min-height:160px}
  .lpDemoMetrics{grid-template-columns:1fr}
  .lpDemoMetrics>div{display:flex;align-items:baseline;justify-content:space-between;text-align:left}
  .lpDemoMetrics b{margin-top:0}
  .lpDemoMetrics em{margin-top:0}
}
.lpArtStage .lpStdPic{width:auto;max-width:100%;max-height:330px;object-fit:contain;display:block;margin:auto;background:#fff}
.lpCompareArt .lpStdPic,.lpDemoShift .lpStdPic{width:100%;height:100%;object-fit:contain;display:block;background:#fff}




/* 20261130 报告页 v2：三大板块、摘要双排序、体态卡片 */
.fnTop.fnThree .fnBar{grid-template-columns:repeat(3,minmax(0,1fr))}
.resultSummaryText{font-size:10.5px;line-height:1.7;margin-top:8px}
.resultSummaryText b{color:#1B5EAE;margin-right:4px}
.srcStrip{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.srcStrip>span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #E4F0FC;border-radius:999px;background:#FBFDFF;font-size:8.5px;color:#6F8AA4;line-height:1.2}
.srcStrip b{font-size:10px;color:#245A96}
.srcDot{display:block;width:5px;height:5px;border-radius:50%;background:#5AA9F8;flex:none}
.srcDot.local{background:#2F9E6A}.srcDot.manual{background:#E08A3C}
.rankPair{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:9px;align-items:start;margin-top:9px}
.rankCard{min-width:0;border:1px solid #DFECFA;border-radius:13px;background:#fff;padding:8px;box-shadow:0 4px 12px rgba(31,74,125,.04)}
.rankCardHead{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:0 1px 6px;border-bottom:1px dashed #E7F1FC;margin-bottom:6px}
.rankCardHead b{display:block;font-size:10.5px;line-height:1.3;color:#143B66}
.rankCardHead span{display:block;margin-top:2px;font-size:7.5px;line-height:1.35;color:#8AA0B7}
.rankCardHead em{flex:none;font-style:normal;padding:2px 6px;border-radius:999px;background:#EAF3FF;color:#2E7BE0;font-size:8px;font-weight:800;white-space:nowrap}
.rankSub{width:100%}
.rankSub .subPanel{width:100%}
.rankSub .subBar{margin-bottom:6px;padding:4px}
.rankSub .subBtn{padding:6px 2px;font-size:9.6px}
.rankTableWrap{overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid #E8F1FB;border-radius:10px;max-height:490px}
.sevTable{min-width:500px;font-size:9px}
.sevTable th{padding:6px 6px;font-size:8px}
.sevTable td{padding:6px 6px;line-height:1.4}
.sevTable td b{font-size:9px;color:#1B4D80}
.sevTable td small{display:block;margin-top:1px;font-size:7px;line-height:1.3;color:#8AA0B7}
.sevNoCell{width:27px;color:#A2B6C9!important;font-size:8px!important;font-weight:800;text-align:center!important}
.sevPill{display:inline-block;padding:2px 5px;border-radius:999px;background:#F4F9FF;border:1px solid currentColor;font-size:7.8px;font-weight:800;line-height:1.3;white-space:nowrap;opacity:.92}
.rankLegend{margin-top:5px;font-size:7.6px;line-height:1.5;color:#8AA0B7}
.sevAxis{display:flex;justify-content:space-between;padding:0 44px 0 58px;margin:2px 0 4px;font-size:7px;color:#9AAFC3}
.sevLine{display:grid;grid-template-columns:23px minmax(88px,1.1fr) minmax(70px,1fr) 32px;align-items:center;gap:5px;padding:4px 0;border-bottom:1px dashed #EDF5FC}
.sevLine:last-of-type{border-bottom:0}
.sevNo{font-size:7.5px;font-weight:800;color:#9FB3C7;text-align:center}
.sevName{min-width:0}
.sevName b{display:block;font-size:8.6px;line-height:1.3;color:#234F7E;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sevName small{display:block;font-size:6.8px;line-height:1.3;color:#95A9BC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sevTrack{position:relative;height:7px;border-radius:999px;background:#EEF6FE}
.sevTrack i{display:block;height:100%;border-radius:999px;min-width:4px}
.sevTrack em{position:absolute;top:-1px;transform:translateX(-50%);font-style:normal;font-size:6.5px;line-height:9px;color:#5B748C;background:#fff;padding:0 2px;border-radius:3px}
.sevBadge{font-size:7.4px;font-weight:800;text-align:center;border:1px solid;border-radius:999px;padding:2px 2px;background:#fff;line-height:1.2;white-space:nowrap}
.pRectBars{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:2px;width:100%;max-width:460px;height:165px;margin:0 auto;padding:6px 1px 0;background:none;border:0;overflow:hidden}
.pRectBars::after{content:"";position:absolute;left:1px;right:1px;bottom:22px;border-top:1.6px dashed #0B8A5E;pointer-events:none;z-index:5}
.pRectItem{flex:1 1 0;max-width:64px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.pRectItem>b{font-size:6.4px;line-height:1;color:#4F6D8C;font-weight:800;margin-bottom:2px;white-space:nowrap}
.pRectScore{position:absolute;left:-2px;right:-2px;bottom:calc(var(--h) * 1% + 1px);margin:0;padding:0;font-size:8px;line-height:1;color:#5B4A2F;font-weight:900;text-align:center;white-space:nowrap;z-index:4}
.pRectTrack{position:relative;width:100%;height:118px;display:flex;align-items:flex-end;justify-content:center;background:none;border-radius:0;overflow:visible}
.pRectTrack::after{content:none}
.pRectTrack i{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:center;width:100%;min-height:3px;border-radius:2px 2px 0 0;overflow:hidden}
.pRectVLabel{display:block;writing-mode:vertical-rl;text-orientation:upright;font-style:normal;font-size:6.2px;line-height:1.05;font-weight:800;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.22);max-height:100%;overflow:hidden;white-space:nowrap;padding-top:2px}
.pRectNo{font-size:6.8px;line-height:1.2;color:#8FA3B8;margin-top:3px;font-weight:700}
.fasciaTable{table-layout:fixed}
.fasciaTable th,.fasciaTable td{font-size:7.6px}
.fasciaTable .fTableText{line-height:1.4;word-break:break-all}
.fasciaTable .fTableText span{color:#8FA3B8}
.fasciaIntro{display:flex;align-items:flex-start;gap:7px;padding:7px 8px;background:#F7FBFF;border:1px solid #E5F1FC;border-radius:9px;margin-bottom:6px}
.fasciaIntro b{flex:none;font-size:9px;color:#1E5C9B}
.fasciaIntro span{font-size:8px;line-height:1.5;color:#7C93AA}
.fasciaCard{border:1px solid #E0EDFB;border-radius:11px;background:#FBFDFF;margin-top:5px;overflow:hidden}
.fasciaCard.main{border-color:#C7E0FA;box-shadow:0 4px 12px rgba(46,123,224,.06)}
.fasciaCard summary{list-style:none;display:grid;grid-template-columns:23px minmax(0,1fr) auto auto 12px;align-items:center;gap:6px;padding:7px 8px;cursor:pointer;background:#fff}
.fasciaCard summary::-webkit-details-marker{display:none}
.fasciaCard summary::after{content:'+';grid-column:5;grid-row:1;justify-self:end;font-size:12px;color:#2E7BE0;font-weight:700;line-height:1;margin-left:2px}
.fasciaCard[open] summary::after{content:'−'}
.fasciaCard[open] summary{border-bottom:1px dashed #E7F1FC;background:#F8FCFF}
.fNo{font-size:7.5px;color:#A2B6C9;font-weight:800;text-align:center}
.fName{min-width:0}
.fName b{display:block;font-size:9.6px;line-height:1.3;color:#143B66;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fName small{display:block;margin-top:1px;font-size:6.8px;line-height:1.3;color:#8FA3B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fSev{font-size:8px;font-weight:800;white-space:nowrap}
.fCount{font-size:6.8px;color:#8FA3B8;white-space:nowrap;padding-right:9px}
.fasciaBody{padding:7px 8px 8px;background:linear-gradient(180deg,#FBFDFF,#F7FBFF)}
.fasciaCols{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.fasciaCols>div{min-width:0;background:#fff;border:1px solid #E8F2FC;border-radius:8px;padding:6px}
.fasciaCols label,.fasciaJoint label{display:block;font-size:7px;font-weight:800;letter-spacing:.03em;color:#8AA0B6;margin-bottom:3px}
.fChips{display:flex;flex-wrap:wrap;gap:3px}
.fChip{display:inline-flex;align-items:center;gap:2px;padding:2px 5px;border-radius:5px;border:1px solid #E1EDFA;background:#F8FCFF;font-size:7.2px;line-height:1.3;color:#42617F}
.fChip.tight{background:#FFF4F0;border-color:#F7D7CB;color:#A94F35}
.fChip.weak{background:#F0F7FF;border-color:#D4E6FA;color:#2E66A9}
.fChip.brain{background:#F2FBF6;border-color:#D3EEDF;color:#287D59}
.fChip.brain b{font-size:6.5px;color:#1E9A68}
.fChip.empty{color:#A9BED2;background:#F8FCFF}
.fasciaJoint{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.fasciaJoint>div{min-width:0;padding:6px;border-radius:8px;background:#FFF9F3;border:1px solid #F4E2CD}
.fasciaJoint b{display:block;font-size:8px;line-height:1.5;color:#82542B;font-weight:700}
.fasciaFlow{margin-top:6px;padding:6px 7px;border-radius:8px;background:#F4FAFF;border:1px dashed #CFE4FA}
.fasciaFlow>b{display:block;font-size:7.2px;color:#2E6DB4;margin-bottom:2px}
.fasciaFlow span{display:block;font-size:7.4px;line-height:1.55;color:#4A6783}
.fasciaFlow span+span{color:#2E6DB4}
.fasciaBrain{display:flex;flex-wrap:wrap;gap:3px;margin-top:5px}
.repTriadPage .fnBar{background:linear-gradient(180deg,#CFE4FA 0%,#DDEEFE 100%);border-color:#B7D4F2;box-shadow:0 4px 12px rgba(31,86,168,.09)}
.repTriadPage .fnBtn{background:#E4F1FE;border-color:#C0DAF6;color:#315B86}
.repTriadPage .fnBtn.on{background:linear-gradient(135deg,#2E7BE0,#1F63D4);border-color:#2E7BE0;color:#fff;box-shadow:0 5px 12px rgba(46,123,224,.28)}
.repTriadPage .fnBtn.on .fnIcon{color:#fff}
.repTriadPage .fnBtn.on small{color:rgba(255,255,255,.82)}
.repTriadPage .fnBtn.on em{background:rgba(255,255,255,.22);color:#fff}
.repTriadPage .fnBtn em{background:#D4E7FB;color:#2469C9}
.repTriadPage .subBar{background:#EEF6FE;border-color:#DCE9F7}
.repTriadPage .subBtn{background:transparent;color:#506A84;border:0;box-shadow:none}
.repTriadPage .subBtn.on{background:#fff;color:#1E63C8;box-shadow:0 2px 8px rgba(31,86,168,.10)}
.brainTable{min-width:620px;font-size:8.5px}
.brainTable th{padding:6px 5px;font-size:7.5px}
.brainTable td{padding:6px 5px;line-height:1.35}
.brainTable td b{font-size:8.6px}
.brainTable td small{font-size:6.5px;line-height:1.25}
.sideCell{text-align:center!important;color:#8AA0B7!important;font-size:7px!important;white-space:nowrap}
.sideCell b{display:block;font-size:8px;color:#42617F;margin-top:1px}
.sideCell.hi{background:#FFF8EE}
.sideCell.hi b{color:#B56225}
.brainCodeCell{white-space:nowrap}
.codeTag{display:inline-block;margin:1px 1px 0 0;padding:1px 4px;border-radius:4px;background:#EAF3FF;color:#2E7BE0;font-size:6.5px;font-weight:800}
.brainMiniBars{margin-top:6px;padding:6px 7px;border:1px solid #E8F2FC;border-radius:9px;background:#FBFDFF}
.brainMiniRow{display:grid;grid-template-columns:82px minmax(0,1fr) 30px;align-items:center;gap:5px;padding:2px 0}
.brainMiniRow>span{font-size:7.2px;color:#54708D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brainMiniTrack{height:6px;border-radius:999px;background:#EDF5FD;overflow:hidden}
.brainMiniTrack i{display:block;height:100%;border-radius:999px;min-width:3px}
.brainMiniRow>b{font-size:7px;text-align:right;white-space:nowrap}
.rankMore{margin-top:4px}
.rankMore summary{font-size:7.8px;color:#2E7BE0;cursor:pointer;padding:3px 1px}
.evNote{margin-top:10px;font-size:9px;line-height:1.65;color:#5D748B;background:#F8FBFF;border:1px solid #E3EFFC;border-radius:9px;padding:8px 9px}
.evNote b{color:#1B5EAE;margin-right:4px}
.fnStage .rankPair{margin-top:0}
.fnStage .rankCard{border-color:#E7F1FC;box-shadow:none}
.fnStage .rankTableWrap{max-height:560px}

@media (max-width:700px){
  .rankPair{grid-template-columns:1fr}
  .rankTableWrap{max-height:430px}
  .sevAxis{padding-left:54px;padding-right:38px}
  .fasciaCols,.fasciaJoint{grid-template-columns:1fr}
  .triadRail{gap:4px}
  .triadStep{flex:1 1 28%;min-width:0;padding:4px 3px}
  .triadStep b{font-size:8px}
  .triadStep span{font-size:6px}
  .triadRail>i{font-size:9px}
}
@media print{
  .rankPair{grid-template-columns:1fr 1fr}
  .rankTableWrap{max-height:none;overflow:visible}
  .fasciaCard{break-inside:avoid;page-break-inside:avoid}
  .fasciaCard:not([open])>.fasciaBody{display:block}
  .pRectScroll{overflow:visible}
}


/* 20261130 报告页 v2 可读性修正 */
.resultSummaryText{font-size:11.5px;line-height:1.8}
.srcStrip>span{font-size:9px;padding:4px 8px}
.srcStrip b{font-size:10.5px}
.sevTable{font-size:9.8px}
.sevTable th{font-size:8.5px}
.sevTable td b{font-size:10px}
.sevTable td small{font-size:7.5px}
.sevPill{font-size:8.4px}
.rankLegend{font-size:8.2px}
.sevName b{font-size:9.2px}
.sevName small{font-size:7.2px}
.sevBadge{font-size:8px}
.brainTable{font-size:9px}
.brainTable td b{font-size:9px}
.brainTable td small{font-size:7px}
.fName b{font-size:10.2px}
.fName small{font-size:7.2px}
.fChip{font-size:7.8px}
.fasciaFlow span{font-size:8px}
.brainMiniRow>span{font-size:7.8px}
@media (min-width:701px){
  .sevTable{width:100%;min-width:0;table-layout:fixed}
  .sevTable th:nth-child(1){width:32px}
  .sevTable th:nth-child(2){width:auto}
  .sevTable th:nth-child(3){width:24%}
  .sevTable th:nth-child(4){width:94px}
  .sevTable th:nth-child(5){width:44px}
  .brainTable th:nth-child(1){width:32px}
  .brainTable th:nth-child(2){width:35%}
  .brainTable th:nth-child(3),.brainTable th:nth-child(4){width:52px}
  .brainTable th:nth-child(5){width:100px}
  .brainTable th:nth-child(6){width:auto}
}
@media (max-width:980px){
  .rankPair{grid-template-columns:1fr}
}
@media (max-width:700px){
  .sevTable{min-width:520px;table-layout:auto}
  .brainTable{min-width:640px}
}

/* 脑区表窄屏防溢出 */
@media (min-width:701px){
  .rankTableWrap .brainTable{width:100%!important;min-width:0!important;table-layout:fixed}
  .brainTable th:nth-child(3),.brainTable th:nth-child(4){width:46px}
  .brainTable th:nth-child(5){width:88px}
}
.brainCodeCell{white-space:normal!important;overflow-wrap:anywhere}

/* 脑区：每个体态到靶点 */
.brainMap{margin-top:7px;border:1px solid #E4F0FC;border-radius:9px;background:#FBFDFF;overflow:hidden}
.brainMap summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;cursor:pointer;background:#F7FBFF}
.brainMap summary::-webkit-details-marker{display:none}
.brainMap summary b{font-size:8.8px;color:#1E5C9B}
.brainMap summary span{font-size:7px;color:#8AA0B7}
.brainMap summary::after{content:'+';order:3;font-size:12px;color:#2E7BE0;font-weight:800;line-height:1}
.brainMap[open] summary::after{content:'−'}
.brainMapBody{padding:4px 7px 7px}
.brainMapRow{display:grid;grid-template-columns:20px minmax(72px,1fr) auto minmax(60px,.9fr) 28px;align-items:center;gap:4px;padding:4px 0;border-bottom:1px dashed #EDF5FC}
.brainMapRow:last-child{border-bottom:0}
.brainMapNo{font-size:7px;color:#A2B6C9;text-align:center;font-weight:800}
.brainMapRow>b{font-size:8px;color:#315B88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brainMapCodes{display:flex;flex-wrap:wrap;gap:1px}
.brainMapRow>small{font-size:6.8px;color:#8AA0B7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brainMapRow>em{font-style:normal;font-size:7px;text-align:right;font-weight:800;white-space:nowrap}
@media (max-width:700px){
  .brainMapRow{grid-template-columns:18px minmax(64px,1fr) auto 28px}
  .brainMapRow>small{display:none}
}

/* 手机端：表格收成三列，不横向拖 */
.mSide{display:none!important}
@media (max-width:700px){
  .sevTable{min-width:0!important;table-layout:fixed!important;font-size:9px}
  .sevTable .sideCol,.sevTable .codeCol{display:none!important}
  .sevTable th:nth-child(1){width:28px}
  .sevTable th:nth-child(2){width:auto}
  .sevTable th:nth-child(4){width:84px}
  .sevTable th:nth-child(5){width:34px}
  .brainTable th:nth-child(1){width:26px}
  .brainTable th:nth-child(2){width:auto}
  .brainTable th:nth-child(3),.brainTable th:nth-child(4){width:38px}
  .brainTable th:nth-child(5){width:84px}
  .mSide{display:block!important;margin-top:2px!important;color:#7C93AA!important;white-space:normal!important;line-height:1.45!important}
  .mSide .codeTag{margin-top:1px}
  .sevPill{font-size:7.6px;padding:2px 4px}
  .sideCell{font-size:6.5px!important}
  .sideCell b{font-size:7.5px}
  .sevTable td{padding:6px 4px}
}

/* ===== 报告页 v3：三张大卡入口 / 摘要独立页 / 两个大排序按钮 ===== */
.repTop{background:transparent;border:0;border-radius:0;padding:6px 2px 8px;margin-bottom:8px;box-shadow:none;color:#143B66}
.repTopBar{display:flex;align-items:center;justify-content:space-between;gap:10px}
.repBackBtn{border:0;background:#2E7BE0;color:#fff;border-radius:6px;padding:6px 14px;font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;box-shadow:0 4px 10px rgba(46,123,224,.2)}
.repSample{font-size:11px;color:#667E96;font-weight:600}
.repBrand{margin-top:12px;color:#1F6FD0;font-size:17px;font-weight:900;letter-spacing:.01em}
.repWho{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:6px}
.repWho b{font-size:23px;line-height:1.2;color:#102A43;font-weight:900}
.repWho span{font-size:13px;color:#55708B;font-weight:700}
.repWho small{margin-left:auto;font-size:9px;color:#6E879E;background:none;padding:0;border-radius:0;white-space:nowrap}
.repDemoLine{margin-top:7px;font-size:10px;line-height:1.5;color:#7C93AA}

.repOverview{display:grid;gap:14px}
.repBigCard{background:#fff;border:1px solid #E4EFFB;border-radius:18px;padding:16px;box-shadow:0 8px 22px rgba(31,74,125,.055)}
.repBigHead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.repBigTitle{display:flex;align-items:center;gap:10px;min-width:0}
.repBigTxt{min-width:0}
.repBigNote{display:block;margin-top:3px;font-size:9.5px;line-height:1.4;color:#6B86A3;font-weight:600}
.repBigIcon{width:32px;height:32px;flex:none;border-radius:50%;background:#EAF4FF;color:#1E73D8;display:flex;align-items:center;justify-content:center}
.repBigIcon svg{width:18px;height:18px}
.repBigTitle h2{margin:0;color:#0F4C95;font-size:26px;line-height:1.15;font-weight:900;letter-spacing:.01em}
.repPdfMini{flex:none;display:flex;align-items:center;gap:5px;border:1px solid #D6E9FF;background:#F2F8FF;color:#1E73D8;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:800;line-height:1.2;cursor:pointer}
.repPdfMini svg{width:12px;height:12px}
.repBigLinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.repBigtrend .repBigLinks{grid-template-columns:repeat(3,minmax(0,1fr))}
.repBigLink{min-width:0;min-height:46px;border:0;border-radius:8px;background:#F4F9FF;color:#173D66;padding:8px 10px;text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease}
.repBigLink:hover{background:#E9F3FF;transform:translateY(-1px)}
.repBigLink b{display:block;font-size:12px;line-height:1.35;font-weight:800}
.repBigLink small{display:block;margin-top:2px;font-size:8px;line-height:1.35;color:#7C93AA;font-weight:500}

.repSubPage{display:grid;gap:12px}
.repSummaryTop{display:grid;gap:8px}
.sumRankSwitch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:2px}
.sumRankBtn{min-width:0;min-height:84px;display:flex;align-items:center;gap:7px;border:1px solid #CFE3FA;background:#fff;border-radius:14px;padding:9px 8px;text-align:left;color:#173D66;cursor:pointer;box-shadow:0 4px 12px rgba(31,74,125,.04);transition:all .2s ease}
.sumRankBtn i{width:26px;height:26px;flex:none;border-radius:50%;background:#EAF4FF;display:flex;align-items:center;justify-content:center;color:#1E73D8}
.sumRankBtn i svg{width:15px;height:15px}
.sumRankBtn span{flex:1;min-width:0}
.sumRankBtn b{display:block;font-size:11px;line-height:1.3;font-weight:900;white-space:normal}
.sumRankBtn small{display:block;margin-top:2px;font-size:7.2px;line-height:1.35;color:#7C93AA;white-space:normal}
.sumRankBtn em{display:none}
.sumRankBtn.on{background:linear-gradient(135deg,#1E6FD0,#2E8CF0);border-color:#2E8CF0;color:#fff;box-shadow:0 9px 22px rgba(31,108,208,.24)}
.sumRankBtn.on i{background:rgba(255,255,255,.18);color:#fff}
.sumRankBtn.on small,.sumRankBtn.on em{color:rgba(255,255,255,.82)}
.sumRankStage{min-height:180px}
.sumRankPane{display:none}
.sumRankPane.on{display:block;animation:sumIn .26s ease both}
.sumRankPane .rankTableWrap{max-height:none}
.sumRankPane .rankCard{border:0;padding:0;box-shadow:none;background:transparent}
@keyframes sumIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

.repPageActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 2px;padding-top:4px}
.repPageAct{height:46px;border-radius:12px;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.repPageAct.ghost{border:1px solid #CFE3FA;background:#fff;color:#1E6FD0}
.repPageAct.primary{border:0;background:#1E6FD0;color:#fff;box-shadow:0 7px 16px rgba(30,111,208,.2)}

.rankTableWrap{max-height:none!important}
.sevTable th{white-space:normal;line-height:1.25}
.sevTable td b{word-break:keep-all;overflow-wrap:normal}

@media (max-width:700px){
  .repTop{padding:12px 12px 10px;border-radius:14px}
  .repBrand{font-size:15px}
  .repWho b{font-size:21px}
  .repWho small{margin-left:0;order:3}
  .repBigCard{padding:13px;border-radius:15px}
  .repBigTitle h2{font-size:23px}
  .repPdfMini{font-size:9px;padding:6px 7px}
  .repBigLinks,.repBigtrend .repBigLinks{grid-template-columns:1fr}
  .repBigLink{min-height:42px}
  .sumRankSwitch{grid-template-columns:1fr}
  .sumRankBtn{min-height:70px;padding:10px}
  .sumRankBtn b{font-size:13px}
  .sumRankBtn small{font-size:8px}
  .sumRankBtn em{display:none}
  .brainTable th:nth-child(3),.brainTable th:nth-child(4),.brainTable td.sideCell{display:none!important}
  .brainTable th:nth-child(5),.brainTable td:nth-child(5){width:88px!important}
  .brainTable th:nth-child(6),.brainTable td:nth-child(6){display:none!important}
  .brainTable td:nth-child(2){width:auto;min-width:0}
  .brainMside{display:block!important}
  .repPageActions{position:sticky;bottom:72px;z-index:20;background:rgba(247,251,255,.96);backdrop-filter:blur(8px);padding:8px 0}
}

/* 报告 v3 图标统一线性化 */
.repBigIcon svg,.repPdfMini svg,.sumRankBtn i svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* 侧弯专线：标题独占一行，四个板块并排，避免被挤成小方块 */
.scHead .repSwitchRow{display:block!important;margin-top:6px!important}
.scHead .repTitle{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;margin-bottom:8px}
.scHead .repTabs.scTabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;gap:6px!important;margin:0!important;flex:none!important;background:transparent!important;padding:0!important}
.scHead .repTabs.scTabs .repTab{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:52px!important;padding:7px 5px!important;border-radius:10px!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.22)!important}
.scHead .repTabs.scTabs .repTab b{font-size:12px!important;line-height:1.2!important;white-space:nowrap!important}
.scHead .repTabs.scTabs .repTab span{display:block!important;font-size:8px!important;line-height:1.25!important;margin-top:2px!important;opacity:.82}
@media(max-width:520px){
  .scHead .repTabs.scTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
  .scHead .repTabs.scTabs .repTab{min-height:44px!important;padding:5px 3px!important}
  .scHead .repTabs.scTabs .repTab b{font-size:11px!important}
}

/* 摘要三按钮更醒目；桌面三块并排，文字必须能换行 */
.sumRankBtn{min-height:84px;padding:9px 8px}
.sumRankBtn b{font-size:11px;white-space:normal}
@media(min-width:701px){
  .brainTable th:nth-child(3),.brainTable th:nth-child(4){width:56px!important}
  .brainTable .sideCell{white-space:nowrap}
}
@media(max-width:700px){
  .sumRankBtn{min-height:74px;padding:11px}
  .sumRankBtn b{font-size:13px;white-space:normal}
}

.scHead .repTabs.scTabs .repTab.on{background:#fff!important;color:#0F4C95!important;border-color:#fff!important;box-shadow:0 5px 14px rgba(4,42,96,.18)!important}
.scHead .repTabs.scTabs .repTab.on span{opacity:.9!important}

@media(max-width:700px){
  .sevTable th:nth-child(1),.sevTable td:nth-child(1){width:36px!important;white-space:nowrap!important}
}

/* 模拟报告标识与左右数值 */
.simReportNote{display:flex;align-items:flex-start;gap:6px;border:1px solid #F5D8A8;background:#FFF8EC;color:#8A5A16;border-radius:10px;padding:8px 10px;font-size:10px;line-height:1.55}
.simReportNote b{flex:none;color:#A9650D;background:#FFE7BD;border-radius:999px;padding:2px 7px;font-size:9px}
.sideCell small{display:block;margin-top:1px;font-size:7px;color:#7C93AA;font-weight:600}
.sideCell.hi{background:#FFF8EC}

@media(min-width:701px){
  .brainTable{table-layout:fixed!important;width:100%!important}
  .brainTable th:nth-child(1){width:30px!important}
  .brainTable th:nth-child(2){width:auto!important}
  .brainTable th:nth-child(3),.brainTable th:nth-child(4){width:72px!important}
  .brainTable th:nth-child(5){width:92px!important}
  .brainTable th:nth-child(6){width:66px!important}
  .brainTable .sideCell{font-size:9px;line-height:1.15;padding-left:3px;padding-right:3px}
  .brainTable .sideCell small{font-size:7.5px}
}

@media print{
  .sumRankSwitch,.repPageActions{display:none!important}
  .sumRankPane{display:block!important}
  .sumRankPane + .sumRankPane{break-before:page}
  .sumRankPane .rankTableWrap{overflow:visible!important;max-height:none!important}
}

/* 客户需求排序：报告与方案共用一条线索 */
.needBoard{border:1px solid #D7E7FA;background:linear-gradient(180deg,#F7FBFF,#FFF);border-radius:13px;padding:12px 13px;margin:12px 0}
.needHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}
.needHead b{display:block;color:#123E6B;font-size:14px;line-height:1.3}
.needHead span{display:block;color:#6F879F;font-size:10px;line-height:1.5;margin-top:2px}
.needUrgent{flex:none;border-radius:999px;padding:3px 8px;font-size:9px;font-weight:700;border:1px solid transparent;white-space:nowrap}
.needUrgent.urgent{background:#FFF0E8;color:#B44B1D;border-color:#F6C6AE}
.needUrgent.soon{background:#FFF8E8;color:#91620D;border-color:#F1D9A5}
.needUrgent.calm{background:#EFF8F2;color:#25724B;border-color:#CBE8D6}
.needUrgent.empty{background:#F3F6FA;color:#7E90A3;border-color:#E0E9F2}
.needRow{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #EAF2FB}
.needRow:first-of-type{border-top:0}
.needRow.main{background:#F2F8FF;border-radius:9px;margin:2px -5px 0;padding:9px 5px}
.needNo{width:23px;height:23px;border-radius:50%;background:#E8F2FF;color:#2E6DB4;display:grid;place-items:center;font-size:10px;font-weight:800}
.needRow.main .needNo{background:#2E7BE0;color:#fff}
.needTxt{min-width:0}
.needTxt b{display:block;color:#173F6B;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.needTxt small{display:block;color:#6D849B;font-size:9.5px;line-height:1.5;margin-top:2px}
.needState{font-style:normal;font-size:9px;font-weight:700;border-radius:999px;padding:2px 6px;white-space:nowrap}
.needState.ok{background:#E9F8EF;color:#26734B}
.needState.same{background:#F0EEFF;color:#5A4CA8}
.needState.warn{background:#FFF3E6;color:#A76316}
.needState.empty{background:#F2F5F9;color:#8797A8}
.needSynergy{margin-top:8px;border-radius:8px;background:#F4F8FD;color:#55718C;font-size:9.5px;line-height:1.55;padding:7px 9px}
.needEmpty{border:1px dashed #CFDDEC;border-radius:9px;padding:9px;color:#71879D;font-size:10px;line-height:1.55;background:#FAFCFF}

.needPriority{border:1px solid #D7E7FA;background:linear-gradient(135deg,#F4F9FF,#FFF);border-radius:13px;padding:12px 13px;margin:0 0 12px}
.needPriorityTop{display:flex;align-items:flex-start;gap:9px}
.needPriorityNo{flex:none;background:#2E7BE0;color:#fff;border-radius:8px;padding:5px 7px;font-size:9px;font-weight:800;line-height:1.2}
.needPriorityTop>div{flex:1;min-width:0}
.needPriorityTop b{display:block;color:#123E6B;font-size:13px;line-height:1.4}
.needPriorityTop p{margin:3px 0 0;color:#607A93;font-size:10px;line-height:1.55}
.needPriorityFoot{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:8px;color:#607A93;font-size:9.5px;line-height:1.5;border-top:1px solid #E7F1FB;padding-top:7px}
.needPriorityFoot b{color:#245D9A}
.needPriorityNext{margin-top:6px;color:#45617C;font-size:9.5px;line-height:1.55}
.needCaution{margin-top:6px;color:#9A641D;background:#FFF8EC;border-radius:7px;padding:6px 8px;font-size:9px;line-height:1.5}
.needTag{display:inline-block;margin-left:6px;background:#FFF0E5;color:#B14E1D;border-radius:999px;padding:2px 6px;font-size:8.5px;font-style:normal;vertical-align:1px}
.needMini{display:block;font-style:normal;color:#B14E1D;font-size:7.5px;line-height:1.2;margin-top:1px;font-weight:700}
.planNeed{background:#FFF8EC;color:#8A5A16;border-radius:8px;padding:6px 8px;margin:6px 0;font-size:9.5px;line-height:1.5}
.planIntro{display:flex;align-items:flex-start;gap:8px;background:#F4F9FF;border:1px solid #E1EEFB;border-radius:9px;padding:8px 10px;margin-bottom:9px}
.planIntro b{flex:none;color:#1F5B9E;font-size:10px}
.planIntro span{color:#607A93;font-size:9.5px;line-height:1.5}
.planCard.needFirst{border-color:#F0C9AD;box-shadow:0 5px 18px rgba(173,88,32,.06)}
.orderRow.needRowOn{background:#FFF8EE;border-radius:9px;padding-left:7px;padding-right:7px;margin-left:-7px;margin-right:-7px}
.orderNeed{display:inline-block;margin-left:6px;background:#FFF0E2;color:#A95422;border-radius:999px;padding:1px 5px;font-size:8px;font-style:normal;vertical-align:1px}

/* 客户档案中的需求编辑 */
.needEditBox{border:1px solid #DCE9F8;background:#F8FBFF;border-radius:10px;padding:10px;margin-top:10px}
.needEditBox .field{margin-bottom:7px}
.needEditBox .lb{font-size:10px;color:#45617C}
.needEditBox .lb small{font-size:8px;color:#8A9BAD;font-weight:400;margin-left:4px}
.needEditBox .input{font-size:11px;padding:8px 9px}
.needHint{display:flex;flex-wrap:wrap;gap:5px;margin:2px 0 8px}
.needHint button{border:1px solid #D7E6F7;background:#fff;color:#3F6F9F;border-radius:999px;padding:3px 7px;font-size:8.5px;cursor:pointer}
.needMiniCard .needRowV{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:1px solid #EEF4FB;font-size:10px}
.needMiniCard .needRowV:first-of-type{border-top:0}
.needMiniCard .needRowV b{color:#173F6B;font-weight:700;overflow-wrap:anywhere}
.needMiniCard .needRowV span{flex:none;color:#8798AA;font-size:8.5px}

/* 全站页面底部两个小按钮 + 页面切换动效 */
.globalPageActions{display:flex;gap:8px;justify-content:center;padding:14px 16px 24px;max-width:760px;margin:0 auto}
.globalPageAct{border:1px solid #D7E4F2;background:#fff;color:#315B84;border-radius:999px;padding:7px 14px;font-size:10px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(31,76,120,.05)}
.globalPageAct.primary{background:#2E7BE0;border-color:#2E7BE0;color:#fff}
.globalPageAct span{opacity:.7;margin-right:3px}
#app.pageIn>*{animation:aptPageIn .22s ease both}
@keyframes aptPageIn{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#app.pageIn>*{animation:none}}
@media(max-width:700px){
  .needHead{display:block}
  .needHead>.needUrgent{display:inline-block;margin-top:6px}
  .needRow{grid-template-columns:22px minmax(0,1fr);align-items:start}
  .needState{grid-column:2;justify-self:start;margin-top:1px}
  .needPriorityTop{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px}
  .needPriorityTop>.needUrgent{grid-column:2;justify-self:start}
  .globalPageActions{padding-bottom:76px}
}

.needOverview{display:flex;align-items:flex-start;gap:4px 13px;flex-wrap:wrap;background:none;border:0;border-radius:0;box-shadow:none;padding:0 2px 12px;margin:0 0 2px;color:#47637F;font-size:10px;line-height:1.5}
.needOverviewTag{background:none;color:#2E7BE0;border-radius:0;padding:0;font-size:9.5px;font-weight:800;letter-spacing:.02em}
.needOverview .needOVItem{display:inline-flex;align-items:baseline;gap:3px;max-width:100%;min-width:0}
.needOverview .needOVItem b{color:#2E7BE0;font-size:10px;font-weight:800;margin-right:1px}
.needOverview .needOVItem em{font-style:normal;color:#8A9BAD;font-size:8.5px;white-space:nowrap}
.needOverview .needUrgent{margin-left:0}
.needListLine{color:#B05A24!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.needOverview{gap:5px}.needOverview .needUrgent{margin-left:0}}

/* 首页：组合搜索 + 需求导向入口 */
.homeSearchCard{margin-top:10px;background:linear-gradient(180deg,#fff 0%,#F5FAFF 100%);border-color:#D8E8F8;box-shadow:0 8px 22px rgba(37,91,150,.06)}
.homeSearchTitle{font-size:15px;font-weight:900;color:#173F6B;line-height:1.2}
.homeSearchBadge{flex:none;font-size:8.5px;font-weight:800;color:#2E7BE0;background:#EAF3FF;border:1px solid #D3E6FB;border-radius:999px;padding:5px 8px;white-space:nowrap}
.homeSearchBar{display:flex;gap:8px;margin-top:10px}
.homeSearchBar input{flex:1;min-width:0;height:38px;border:1px solid #CFE3F7;border-radius:11px;background:#fff;padding:0 12px;color:#173F6B;font:inherit;font-size:12px;outline:none}
.homeSearchBar input:focus{border-color:#7FB4F7;box-shadow:0 0 0 3px rgba(46,123,224,.10)}
.homeSearchBar button{flex:none;height:38px;border:0;border-radius:11px;background:linear-gradient(135deg,#2E7BE0,#1F63D4);color:#fff;font:inherit;font-size:12px;font-weight:800;padding:0 15px;cursor:pointer;box-shadow:0 5px 12px rgba(46,123,224,.22)}
.homeSearchQuick{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.homeSearchQuick button{border:1px solid #D7E7F7;background:#fff;color:#54708D;border-radius:999px;padding:5px 9px;font:inherit;font-size:9.5px;font-weight:700;line-height:1;cursor:pointer}
.homeSearchQuick button.on{background:#E8F2FF;border-color:#8FBEF3;color:#1B5EAE;box-shadow:0 2px 7px rgba(46,123,224,.10)}
.homeNeedsBtn{display:flex;align-items:center;gap:10px;width:100%;margin-top:10px;border:1px solid #BFDCF3;border-radius:14px;background:linear-gradient(135deg,#F4FBFF,#EAF5FF);padding:12px 13px;text-align:left;font:inherit;cursor:pointer;box-shadow:0 7px 18px rgba(31,94,150,.07)}
.homeNeedsIco{flex:none;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#1E6BD6,#2E9BC8);color:#fff;display:grid;place-items:center;box-shadow:0 5px 12px rgba(30,107,214,.22)}
.homeNeedsIco svg{width:21px;height:21px}
.homeNeedsTxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.homeNeedsTxt b{font-size:14px;color:#123E69;line-height:1.2}
.homeNeedsTxt small{font-size:9.5px;color:#61809D;line-height:1.4}
.homeNeedsGo{flex:none;font-size:10px;font-weight:900;color:#1B63C5}

/* 组合搜索页 */
.searchHero h1{font-weight:900}
.searchBox{padding:14px}
.searchHead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.searchHead b{font-size:14px;color:#173F6B}
.searchCount{flex:none;color:#2E7BE0;background:#EAF3FF;border-radius:999px;padding:5px 9px;font-size:9.5px;font-weight:900}
.searchGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px}
.searchField{display:flex;flex-direction:column;gap:4px;min-width:0}
.searchField.wide2{grid-column:span 2}
.searchField>span{font-size:9px;font-weight:800;color:#5C7893}
.searchField input,.searchField select{width:100%;min-width:0;height:34px;border:1px solid #D3E4F4;border-radius:9px;background:#fff;color:#173F6B;font:inherit;font-size:10.5px;padding:0 8px;outline:none}
.searchField input:focus,.searchField select:focus{border-color:#7FB4F7;box-shadow:0 0 0 3px rgba(46,123,224,.08)}
.searchActions{display:flex;gap:8px;margin-top:11px}
.searchActions .btn{flex:1}
.searchHint{margin-top:7px;color:#7890A6}
.searchResultHead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin:14px 2px 8px}
.searchResultHead b{font-size:13px;color:#173F6B}
.searchResultActions{display:flex;gap:6px;flex:none}
.searchRows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.searchRow{border:1px solid #DCE9F7;border-radius:13px;background:#fff;padding:11px 12px;box-shadow:0 5px 14px rgba(31,76,120,.05);min-width:0}
.searchRowTop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.searchWho{min-width:0}
.searchWho b{display:block;font-size:13px;color:#173F6B;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.searchWho span{display:block;font-size:9px;color:#8196AA;margin-top:2px}
.searchGrade{flex:none;font-size:15px;font-weight:900;line-height:1}
.searchMeta{font-size:9px;color:#6F879D;margin-top:5px;line-height:1.4}
.searchTop{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.searchItem{display:inline-flex;align-items:baseline;gap:4px;max-width:100%;background:#F4F9FF;border:1px solid #E2EEFA;border-radius:7px;padding:3px 5px;font-size:8.5px;color:#4E6B86;line-height:1.3}
.searchItem b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}
.searchItem em{font-style:normal;font-weight:900;flex:none}
.searchNeeds{font-size:9px;color:#B05A24;margin-top:7px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.searchBtns{display:flex;gap:6px;margin-top:8px}
.searchEmpty{margin-top:14px;border-color:#E3EDF7;background:#FAFCFF}
.searchEmpty b{display:block;font-size:13px;color:#315B84;margin-bottom:4px}

/* 需求导向评估 */
.ndForm{padding:14px}
.ndFormHead b{font-size:13px;color:#173F6B}
.ndFormGrid,.ndNeedInputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}
.ndFormGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ndField{display:flex;flex-direction:column;gap:4px;min-width:0}
.ndField>span{font-size:9px;font-weight:800;color:#5C7893}
.ndField input,.ndField select{width:100%;min-width:0;height:35px;border:1px solid #D3E4F4;border-radius:9px;background:#fff;color:#173F6B;font:inherit;font-size:10.5px;padding:0 9px;outline:none}
.ndField input:focus,.ndField select:focus{border-color:#7FB4F7;box-shadow:0 0 0 3px rgba(46,123,224,.08)}
.ndHints{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.ndHints button{border:1px solid #D7E7F7;background:#F5FAFF;color:#58738F;border-radius:999px;padding:4px 8px;font:inherit;font-size:9px;line-height:1;cursor:pointer}
.ndHints button:hover{background:#EAF3FF;border-color:#9CC6F4;color:#1B5EAE}
.ndUrgency{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:10px;color:#5C7893}
.ndResult,.ndPlan{border:1px solid #D9E8F7;border-radius:14px;background:#fff;padding:14px;margin-top:12px;box-shadow:0 7px 20px rgba(31,76,120,.06)}
.ndResult{border-color:#BFDDF7;background:linear-gradient(180deg,#F8FCFF,#fff)}
.ndResultTop{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ndResultWho{display:flex;flex-direction:column;gap:2px;min-width:0}
.ndResultWho span{font-size:9px;font-weight:900;color:#2E7BE0;letter-spacing:.04em}
.ndResultWho b{font-size:18px;color:#123E69;line-height:1.2}
.ndResultWho small{font-size:9.5px;color:#7890A6}
.ndGradeBox{flex:none;text-align:right}
.ndGradeBox b{display:block;font-size:28px;line-height:1;color:#1B5EAE;font-weight:900}
.ndGradeBox small{display:block;font-size:8.5px;color:#6F879D;margin-top:3px}
.ndSummary{margin-top:9px;border-top:1px solid #E4F0FA;padding-top:8px;color:#47637F;font-size:10.5px;line-height:1.55}
.ndTopGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.ndTopBox{border:1px solid #E1EEFA;border-radius:10px;background:#F8FBFF;padding:8px}
.ndTopTitle{font-size:9.5px;font-weight:900;color:#2E7BE0;margin-bottom:5px}
.ndTopItem{display:flex;justify-content:space-between;gap:6px;font-size:9.5px;color:#4E6B86;line-height:1.45;padding:2px 0;border-top:1px dashed #E7F0FA}
.ndTopItem:first-of-type{border-top:0}
.ndTopItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ndTopItem b{flex:none;font-weight:900}
.ndUrgentLine{font-size:9.5px;color:#8A5A16;background:#FFF8E8;border:1px solid #F5E2B8;border-radius:8px;padding:7px 8px;margin-top:9px;line-height:1.4}
.ndLinkRow{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}
.ndPlanTitle{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-bottom:9px}
.ndPlanTitle b{font-size:14px;color:#173F6B}
.ndPlanTitle span{font-size:9px;color:#7B91A7;text-align:right}
.ndPlanCard{border:1px solid #E0EDF9;border-radius:12px;background:#FBFDFF;padding:10px 11px;margin-top:8px;min-width:0}
.ndPlanCard.empty{background:#FAFCFF;border-style:dashed}
.ndPlanHead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.ndPlanHead b{font-size:12px;color:#173F6B;line-height:1.3;min-width:0}
.ndPlanHead em{flex:none;font-style:normal;font-size:8px;font-weight:900;color:#2E7BE0;background:#EAF3FF;border-radius:999px;padding:3px 6px;line-height:1}
.ndPlanHead em.ok{color:#167A52;background:#E8F7EF}
.ndPlanHead em.brain{color:#6B4CB8;background:#F1ECFF}
.ndPlanSub{font-size:9px;color:#8196AA;margin-top:4px;line-height:1.4}
.ndPlanWhy{font-size:9.5px;color:#5C7893;margin-top:5px;line-height:1.45}
.ndPlanLine{display:grid;grid-template-columns:56px minmax(0,1fr);gap:6px;border-top:1px dashed #E7F0FA;padding-top:5px;margin-top:5px;font-size:9.5px;line-height:1.5}
.ndPlanLine b{color:#2E7BE0;font-weight:800;white-space:nowrap;font-size:9px}
.ndPlanLine span{color:#4E6B86;min-width:0;overflow-wrap:anywhere}
.ndPlanFoot{font-size:9px;color:#8A9BAD;line-height:1.45;margin-top:8px}
.ndIntro{margin-top:12px}

@media(max-width:700px){
  .searchGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .searchField.wide2{grid-column:span 2}
  .searchRows{grid-template-columns:1fr}
  .searchResultHead{display:block}
  .searchResultActions{margin-top:7px}
  .ndFormGrid,.ndNeedInputs{grid-template-columns:1fr}
  .ndTopGrid{grid-template-columns:1fr}
  .ndPlanTitle{display:block}
  .ndPlanTitle span{display:block;text-align:left;margin-top:3px}
  .homeSearchBar input{font-size:11px}
  .homeSearchBar button{padding:0 12px}
}

/* ===== 首页底部双按钮：管理者后台/分享奖励 + 使用说明 ===== */
.homeActions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap}
.homeActionBtn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;
  border:0;border-radius:999px;padding:0 15px;font-family:inherit;font-size:13px;font-weight:800;
  line-height:1;white-space:nowrap;cursor:pointer;appearance:none;-webkit-appearance:none;
  transition:transform .15s ease,box-shadow .15s ease
}
.homeActionBtn:active{transform:translateY(1px)}
.homeActionBtn.dev{color:#fff;background:linear-gradient(135deg,#143B66,#2E66E8);box-shadow:0 6px 16px rgba(16,62,110,.22)}
.homeActionBtn.share{color:#fff;background:linear-gradient(135deg,#167A52,#2FA36B);box-shadow:0 6px 16px rgba(16,98,73,.20)}
.homeActionBtn.manual{color:#1D5A99;background:#fff;border:1px solid #C9DFF5;box-shadow:0 5px 14px rgba(31,92,158,.10)}
.homeActionBtn.manual svg{color:#2E7BE0}

/* ===== 使用说明页 ===== */
.manualHero{padding:16px 20px 18px}
.manualHero h1{font-size:25px;line-height:1.2}
.manualHero .sub{margin-top:5px;line-height:1.65}
.manualHero .btn.ghost.mini{background:rgba(255,255,255,.17);color:#fff;border-color:rgba(255,255,255,.32)}
.manualFlow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:13px}
.manualFlowItem{background:rgba(255,255,255,.74);border:1px solid rgba(46,123,224,.14);border-radius:10px;padding:6px 2px;text-align:center;min-width:0;box-shadow:0 4px 10px rgba(31,92,158,.05)}
.manualFlowItem b{display:block;font-size:8px;letter-spacing:.08em;opacity:.62;line-height:1}
.manualFlowItem span{display:block;font-size:10px;font-weight:800;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manualWrap{padding-bottom:18px}
.manualIntro{background:linear-gradient(160deg,#FFFFFF 0%,#F2F8FF 100%);border-color:#D9E9FA;margin-bottom:12px}
.manualIntroTitle{font-size:16px;font-weight:900;color:#123A66;margin-bottom:5px}
.manualPills{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.manualPills span{font-size:10.5px;font-weight:700;color:#2B6FB7;background:#EAF4FF;border:1px solid #D5E8FB;border-radius:999px;padding:5px 9px}
.manualSec{padding:15px 15px 14px;margin-bottom:12px;border-radius:18px}
.manualSecHead{display:flex;align-items:flex-start;gap:11px}
.manualNo{width:30px;height:30px;border-radius:10px;flex:none;background:linear-gradient(135deg,#2E7BE0,#5AA9F8);color:#fff;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(46,123,224,.18)}
.manualSecTitle{min-width:0;flex:1}
.manualSecTitle b{display:block;font-size:16px;line-height:1.3;color:#123A66}
.manualSecTitle span{display:block;font-size:11px;line-height:1.45;color:#7E95AB;margin-top:2px}
.manualRows{margin-top:9px}
.manualRow{display:flex;align-items:flex-start;gap:9px;padding:9px 0;border-top:1px solid #EFF5FC}
.manualRow:first-child{border-top:0;padding-top:4px}
.manualRow>i{width:6px;height:6px;border-radius:50%;background:#69A9F0;flex:none;margin-top:7px}
.manualRow>div{min-width:0;flex:1}
.manualRow b{display:block;font-size:12.5px;line-height:1.5;color:#1E4C7A}
.manualRow span{display:block;font-size:12.5px;line-height:1.75;color:#4E6B86;margin-top:2px}
.manualWarn{margin-top:10px;background:#FFF9EC;border:1px solid #F2E1BA;border-radius:10px;padding:9px 11px;color:#86571A;font-size:11.5px;line-height:1.65}
.manualFaq{margin-top:9px}
.manualFaqItem{border-top:1px solid #EFF5FC;padding:2px 0}
.manualFaqItem:first-child{border-top:0}
.manualFaqItem summary{list-style:none;cursor:pointer;font-size:13px;font-weight:800;color:#1E4C7A;line-height:1.55;padding:10px 22px 8px 0;position:relative}
.manualFaqItem summary::-webkit-details-marker{display:none}
.manualFaqItem summary:after{content:'+';position:absolute;right:2px;top:8px;font-size:17px;color:#7DA6CF;font-weight:400}
.manualFaqItem[open] summary:after{content:'−'}
.manualFaqItem p{font-size:12.5px;line-height:1.8;color:#4E6B86;margin:0 0 9px;padding-right:4px}
.manualFooter{margin-top:14px;border-radius:20px;padding:18px 17px;color:#fff;background:linear-gradient(145deg,#0B2A4A,#155A8A 62%,#2D8FA8);box-shadow:0 14px 30px rgba(13,62,104,.18)}
.manualFooterTitle{font-size:11px;letter-spacing:.18em;opacity:.7}
.manualFooterText{font-size:15px;font-weight:800;line-height:1.7;margin:7px 0 8px}
.manualFooter .tiny{color:rgba(255,255,255,.72);line-height:1.6}
@media(max-width:420px){
  .homeActionBtn{font-size:12.5px;padding:0 12px;gap:6px}
  .manualFlowItem span{font-size:9.5px}
  .manualSec{padding:14px 13px 12px}
  .manualRow span{font-size:12px}
}


/* ---------- 客户档案表格 / 新建客户页 ---------- */
.clientArchiveCard{padding:0;overflow:hidden}
.clientArchiveHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 16px 4px}
.clientArchiveActions{flex:none;max-width:58%}
.clientArchiveActions .btn{white-space:normal;height:auto;min-height:36px;line-height:1.25;padding:8px 10px;text-align:center}
.clientSearchBar{display:flex;align-items:center;gap:8px;padding:9px 16px 0}
.clientSearchBar .input{flex:1;width:auto;min-width:0;height:38px;text-align:left;font-size:13.5px;padding:0 12px;border-radius:11px;background:#fff}
.clientSearchBar .btn{flex:none;height:38px}
.clientSearchMeta{display:flex;justify-content:space-between;gap:8px;padding:7px 16px 0;color:#7E93AA;font-size:11px}
.clientSearchMeta .tiny{font-size:10px;text-align:right}
.clientTableWrap{margin-top:8px;overflow-x:auto;border-top:1px solid #E8F2FC;border-bottom:1px solid #E8F2FC;background:#fff;-webkit-overflow-scrolling:touch}
.clientTable{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}
.clientTable th{padding:9px 11px;text-align:left;white-space:nowrap;background:#F5FAFF;color:#4C6B89;font-weight:800;border-bottom:1px solid #E4F0FC;font-size:11px}
.clientTable td{padding:9px 11px;border-bottom:1px solid #F0F6FC;vertical-align:middle;color:#33506B;line-height:1.35}
.clientTable tbody tr:last-child td{border-bottom:0}
.clientTableRow{cursor:pointer}
.clientTableRow:hover td{background:#F7FBFF}
.clientTableRow.on td{background:#EAF4FF}
.clientTableName{font-weight:800;color:#123A69;white-space:nowrap}
.clientTableName .chip{font-size:9px;height:18px;line-height:18px;padding:0 6px;margin-left:2px;vertical-align:1px}
.clientTableCell{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clientMuted{color:#94A7BA;font-size:11px}
.clientTable td:nth-child(1){min-width:110px}
.clientTable td:nth-child(3){min-width:150px}
.clientTable td:nth-child(7){text-align:right}
.clientTable th:nth-child(7){text-align:right}
.clientTable td .btn{height:30px;font-size:11px;padding:0 10px;border-radius:9px;white-space:nowrap}
.clientTableEmpty{padding:16px;text-align:center;color:#7E93AA;font-size:12px}
.clientDetailCard{margin-top:12px}
.clientNoteBox{margin-top:10px;padding:8px 10px;border-radius:10px;background:#F6FAFF;border:1px solid #E5F0FC;font-size:12px;color:#5A748C;line-height:1.5;word-break:break-word}
.clientFormCard{padding:14px 16px 16px}
.clientFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.clientField{display:block;padding:10px 0;border-bottom:1px solid #EFF5FC;min-width:0}
.clientField.full{grid-column:1/-1}
.clientField>span{display:block;font-size:12.5px;font-weight:700;color:#33506B;margin-bottom:6px}
.clientField>span em{font-style:normal;color:#C4552F}
.clientField>span small{font-size:10px;color:#8BA0B5;font-weight:500;margin-left:4px}
.clientField .input{width:100%;height:42px;text-align:left;font-size:14.5px;padding:0 12px;border-radius:11px;background:#fff}
.clientField textarea.input{height:88px;min-height:88px;padding:10px 12px;line-height:1.55;font-size:13.5px;resize:vertical}
.clientField .seg{width:100%;display:flex;height:42px}
.clientField .seg button{flex:1;padding:0;font-size:13px}
.clientFormTip{margin-top:12px;padding:9px 11px;border-radius:10px;background:#F1F8FF;border:1px solid #DDEBFA;color:#5A7894;font-size:11.5px;line-height:1.55}
.clientFormActions{display:flex;gap:10px;margin-top:14px}
.clientFormActions .btn{flex:1}
@media (max-width:420px){
  .clientArchiveHead{flex-direction:column;gap:8px}
  .clientArchiveActions{max-width:none;width:100%}
  .clientArchiveActions .btn{width:100%}
  .clientSearchMeta{flex-direction:column;gap:2px}
  .clientSearchMeta .tiny{text-align:left}
  .clientFormGrid{grid-template-columns:1fr}
  .clientField.full{grid-column:auto}
}

.clientTableScrollHint{display:none;padding:7px 16px 9px;color:#8AA0B5;font-size:10.5px;text-align:center;background:#FBFDFF}
.clientTable th:first-child,.clientTable td:first-child{position:sticky;left:0;z-index:2;background:#fff}
.clientTable th:first-child{background:#F5FAFF;z-index:3}
.clientTableRow.on td:first-child{background:#EAF4FF}
.clientTableRow:hover td:first-child{background:#F7FBFF}
@media (max-width:420px){.clientTableScrollHint{display:block}}

.clientFormActions .btn{height:44px;font-size:14px;white-space:nowrap}
.clientFormActions .btn:last-child{flex:1.45}
