:root{
  --brand:#5a6cf0;
  --brand-2:#8f7cf6;
  --ink:#1c2340;
  --ink-2:#3d466b;
  --muted:#7b83a0;
  --line:#e8ebf5;
  --bg:#f6f7fc;
  --card:#ffffff;
  --radius:18px;
  --shadow:0 10px 30px rgba(28,35,64,.06);
  --shadow-lg:0 18px 50px rgba(28,35,64,.10);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  min-height:100vh;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  background:var(--bg);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,p,ol,ul{margin:0}
.wrap{max-width:1080px;margin:0 auto;padding:24px 20px 80px;flex:1;width:100%}
#app{min-height:100vh;display:flex;flex-direction:column}
.wrap.narrow{max-width:760px}

/* ---------- 顶栏 ---------- */
.topbar{
  position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:20px;
  padding:12px 24px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));font-size:16px;
}
.brand-text{font-weight:800;font-size:16px;letter-spacing:.5px;display:flex;flex-direction:column;line-height:1.2}
.brand-text small{font-weight:500;font-size:10px;color:var(--muted);letter-spacing:1px}
.nav{display:flex;gap:6px;margin-left:12px}
.nav a{padding:6px 14px;border-radius:999px;font-size:14px;color:var(--ink-2)}
.nav a.on{background:#eef0ff;color:var(--brand);font-weight:600}
.user-chip{
  margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid var(--line);
  background:#fff;border-radius:999px;padding:5px 14px 5px 5px;font-size:13px;color:var(--ink-2);
}
.avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;
  background:linear-gradient(135deg,#ffd7a8,#ffb07c);color:#7a4a13;font-weight:700}

/* ---------- 首页 hero ---------- */
.hero{
  position:relative;overflow:hidden;border-radius:24px;padding:36px 40px;color:#fff;
  background:linear-gradient(120deg,var(--c1),var(--c2));box-shadow:var(--shadow-lg);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.hero-badge{
  display:inline-block;font-size:12px;padding:4px 12px;border-radius:999px;
  background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.35);margin-bottom:12px;
}
.hero h1{font-size:38px;letter-spacing:1px;margin-bottom:10px}
.hero-copy p{max-width:420px;font-size:14px;opacity:.9}
.hero-foot{display:flex;align-items:center;gap:14px;margin-top:22px;font-size:13px;opacity:.9}
.hero-art{position:relative;width:320px;height:224px;flex:none}
.hero-ring{
  position:absolute;left:50%;top:50%;width:200px;height:200px;transform:translate(-50%,-50%);
  border-radius:50%;border:1px dashed rgba(255,255,255,.45);
}
.hero-core{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;
  width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.18);
  display:grid;place-items:center;font-size:12px;line-height:1.25;
  border:1px solid rgba(255,255,255,.45);backdrop-filter:blur(2px);
}
.hero-core b{font-size:17px;letter-spacing:1px}
.hero-pill{
  position:absolute;padding:3px 11px;border-radius:999px;background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.42);font-size:12px;white-space:nowrap;
  transform:translate(-50%,-50%);
}
.hero-pill.p1{left:50%;top:12%}
.hero-pill.p2{left:84%;top:36%}
.hero-pill.p3{left:78%;top:78%}
.hero-pill.p4{left:22%;top:78%}
.hero-pill.p5{left:16%;top:36%}

/* ---------- 分类 ---------- */
.groups{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 18px}
.group-tab{
  border:1px solid var(--line);background:#fff;color:var(--ink-2);
  padding:7px 16px;border-radius:999px;font-size:13px;transition:.18s;
}
.group-tab:hover{border-color:#c9cff0}
.group-tab.on{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ---------- 卡片 ---------- */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.card{
  display:flex;gap:16px;background:#fff;border-radius:var(--radius);padding:14px;
  border:1px solid var(--line);box-shadow:var(--shadow);transition:.2s;position:relative;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:#d9dffa}
.card-cover{
  width:104px;height:104px;border-radius:14px;flex:none;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--c1),var(--c2));display:grid;place-items:center;
}
.card-cover .emoji{font-size:34px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}
.cover-tag{
  position:absolute;left:8px;top:8px;font-size:10px;color:#fff;background:rgba(0,0,0,.18);
  padding:1px 7px;border-radius:999px;
}
.card-body{flex:1;min-width:0}
.card-body h3{font-size:16px;margin-bottom:4px}
.card-desc{font-size:12.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.card-meta{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#9aa1b8;margin-top:8px;flex-wrap:wrap}
.card-meta span{background:#f6f7fc;border-radius:6px;padding:1px 7px;white-space:nowrap}
.card-meta i{width:3px;height:3px;border-radius:50%;background:#cfd4e6}
.card-done{position:absolute;right:14px;top:14px;font-size:11px;color:var(--brand);background:#eef0ff;padding:1px 8px;border-radius:999px}

/* ---------- 介绍页 ---------- */
.back{display:inline-block;font-size:13px;color:var(--muted);margin-bottom:14px}
.intro-head{
  position:relative;overflow:hidden;border-radius:22px;padding:30px 32px;color:#fff;
  background:linear-gradient(120deg,var(--c1),var(--c2));box-shadow:var(--shadow-lg);
}
.intro-head h1{font-size:28px;margin:8px 0 6px}
.intro-head .slogan{font-size:13.5px;opacity:.92}
.intro-emoji{position:absolute;right:26px;bottom:-18px;font-size:86px;opacity:.88;filter:drop-shadow(0 8px 16px rgba(0,0,0,.18))}
.meta-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:16px 0 18px;
}
.meta-strip div{background:#fff;padding:12px 16px}
.meta-strip span{display:block;font-size:11.5px;color:var(--muted)}
.meta-strip b{font-size:15px}

.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 26px;margin-bottom:16px;box-shadow:var(--shadow)}
.panel-title{display:flex;align-items:center;gap:10px;font-size:16px;margin-bottom:16px}
.panel-title span{position:relative;padding-left:12px}
.panel-title span::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:15px;border-radius:2px;background:linear-gradient(var(--brand),var(--brand-2))}
.quote{font-size:17px;font-weight:700;color:var(--ink);margin-bottom:12px}
.pain-list{padding-left:18px;margin-bottom:14px}
.pain-list li{font-size:13.5px;color:var(--ink-2);margin-bottom:6px}
.define{font-size:13.5px;color:var(--ink-2);background:#f8f9ff;border-left:3px solid #d9defb;padding:12px 14px;border-radius:0 10px 10px 0}
.dim-chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{font-size:12.5px;color:var(--brand);background:#eef0ff;border-radius:999px;padding:4px 12px}
.tip{font-size:12.5px;color:var(--muted);margin-top:14px}

/* ---------- 按钮 ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;
  padding:11px 26px;font-size:14px;font-weight:600;border:1px solid transparent;transition:.18s}
.btn-primary{background:linear-gradient(135deg,#f2544b,#ef4444);color:#fff;box-shadow:0 8px 20px rgba(239,68,68,.25)}
.btn-primary:hover{filter:brightness(1.04)}
.btn-primary[disabled]{background:#e9ecf6;color:#a9b0c7;box-shadow:none;cursor:not-allowed}
.btn-light{background:#fff;color:var(--brand)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink-2)}
.btn-ghost:hover{border-color:#c9cff0}
.btn-ghost[disabled]{color:#c2c7d8;cursor:not-allowed}
.sticky-cta{
  position:sticky;bottom:0;display:flex;gap:12px;justify-content:center;
  padding:14px 0 calc(20px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--bg) 60%,rgba(246,247,252,0));
  z-index:5;
}
.sticky-cta .btn{min-width:150px}

/* ---------- 答题页 ---------- */
.quiz{max-width:620px;width:100%;margin:0 auto;padding:0 16px 60px}
.quiz-top{display:flex;align-items:center;gap:12px;padding:14px 2px 10px}
.quiz-back{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-size:18px;line-height:1}
.quiz-title{font-weight:700;font-size:15px}
.quiz-count{margin-left:auto;font-size:12.5px;color:var(--muted)}
.progress{height:4px;background:#e8ebf5;border-radius:99px;overflow:hidden;margin-bottom:22px}
.progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--brand),var(--brand-2));transition:width .3s}
.q-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 24px;box-shadow:var(--shadow)}
.q-text{font-size:16.5px;font-weight:700;line-height:1.65;margin-bottom:20px}
.q-text b{color:var(--brand)}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{
  display:flex;align-items:center;gap:12px;width:100%;text-align:left;font-size:14.5px;
  border:1px solid #eef0f7;background:#fafbff;color:var(--ink-2);border-radius:12px;padding:13px 16px;transition:.16s;
}
.opt .dot{width:16px;height:16px;border-radius:50%;border:1.5px solid #ccd2e6;flex:none;position:relative}
.opt:hover{border-color:#c9cff0;background:#f5f7ff}
.opt.sel{border-color:var(--brand);background:#eef0ff;color:var(--brand);font-weight:600}
.opt.sel .dot{border-color:var(--brand);background:var(--brand);box-shadow:inset 0 0 0 3px #fff}
.quiz-foot{display:flex;gap:12px;margin-top:18px}
.quiz-foot .btn{flex:1}
.quiz-hint{text-align:center;font-size:12px;color:var(--muted);margin-top:12px}

/* ---------- 报告 ---------- */
.report{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.rep-head{
  position:relative;overflow:hidden;border-radius:22px;padding:22px 24px 20px;color:#fff;
  background:linear-gradient(120deg,var(--c1),var(--c2));box-shadow:var(--shadow-lg);margin-bottom:14px;
}
.rep-head-top{display:flex;align-items:center;justify-content:space-between}
.rep-kicker{font-size:12px;opacity:.85;letter-spacing:1px}
.rep-emoji{font-size:28px;opacity:.9}
.rep-head h1{font-size:24px;margin:6px 0 2px}
.rep-slogan{font-size:12.5px;opacity:.88}
.rep-head .who{
  display:flex;margin:16px 0 0;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.32);box-shadow:none;color:#fff;border-radius:12px;
}
.rep-head .who-avatar{background:rgba(255,255,255,.28);color:#fff}
.rep-head .who small{color:rgba(255,255,255,.82)}

.who{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:12px 16px;box-shadow:var(--shadow)}
.who-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:700;
  background:#eef0ff;color:var(--brand);flex:none}
.who b{font-size:14px;display:block}
.who small{font-size:11.5px;color:var(--muted)}

.result-panel{text-align:center;padding:26px 24px 30px}
.result-panel .label{margin-bottom:2px}
.label{font-size:14px;color:var(--muted);letter-spacing:1px}
.code-big{font-size:56px;font-weight:800;letter-spacing:6px;line-height:1.2;margin:6px 0 4px}
.level-big{font-size:46px;font-weight:800;letter-spacing:4px;margin:6px 0 2px}
.level-stars{font-size:16px;letter-spacing:4px}
.code-sub{font-size:17px;font-weight:700}
.code-combo{font-size:15px;color:var(--ink-2);margin-top:8px;text-align:left}

.radar-wrap{display:flex;justify-content:center}
.chart-radar{width:100%;max-width:440px;height:auto}
.chart-gauge{width:100%;max-width:300px;height:auto;display:block;margin:0 auto}
.gauge-wrap{display:flex;justify-content:center;margin:-6px 0 4px}
.cap{font-size:13px;color:var(--muted);text-align:center;margin:8px 0 14px}
.verdict{border:1px solid;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:600;margin-bottom:10px}
.dim-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.dim-cell{background:#f8f9ff;border:1px solid #eef0f7;border-radius:12px;padding:10px;text-align:center}
.dim-cell span{display:block;font-size:13px;color:var(--muted)}
.dim-cell b{font-size:18px}

.factor{padding:16px 0;border-bottom:1px dashed #eceff8}
.factor:last-child{border-bottom:none;padding-bottom:0}
.factor-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.factor-head h3{font-size:16.5px}
.factor-head h3.plain{font-size:15.5px;color:var(--ink)}
.factor-rank{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;font-size:11px;
  background:#eef0ff;color:var(--brand);font-weight:700}
.band{font-size:13.5px;font-weight:700;padding:1px 10px;border-radius:999px;background:#f5f6fc}
.factor-desc{font-size:14.5px;color:var(--ink-2)}
.factor-label{font-size:13px;color:var(--muted);margin-top:10px;letter-spacing:.5px}
.factor-list{padding-left:18px;margin-top:4px}
.factor-list li{font-size:14.5px;color:var(--ink-2)}
.factor-text{font-size:14.5px;color:var(--ink-2);margin-top:4px}

.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:13.5px;background:#f5f6fc;border:1px solid #eceff8;color:var(--ink-2);border-radius:999px;padding:5px 13px}
.major-list{list-style:none;padding:0;margin:0;display:block}
.major-list li{display:flex;gap:10px;align-items:center;background:#fafbff;border:1px solid #eef0f7;
  border-radius:10px;padding:8px 12px;font-size:14px}
.major-list li b{color:var(--brand);font-size:12.5px;font-weight:700}

.axis-row{margin-bottom:16px}
.axis-head{display:flex;align-items:center;justify-content:space-between;font-size:14.5px;color:var(--muted);margin-bottom:6px}
.axis-side.on{font-weight:800}
.axis-pct{font-size:13px}
.axis-track{position:relative;height:16px;border-radius:99px;background:#eef0f7;overflow:hidden}
.axis-fill{height:100%;border-radius:99px}
.axis-fill-r{position:absolute;right:0;top:0;height:100%;border-radius:99px}
.axis-mid{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#fff}
.axis-desc{font-size:13px;color:var(--muted);margin-top:5px}

.dim-bars{margin:16px 0 4px}
.bar-row{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:13.5px}
.bar-name{width:110px;color:var(--ink-2);flex:none}
.bar-track{flex:1;height:8px;border-radius:99px;background:#eef0f7;overflow:hidden}
.bar-track i{display:block;height:100%;border-radius:99px}
.bar-val{width:34px;text-align:right;color:var(--ink-2);font-weight:600}
.report-src{text-align:center;font-size:12.5px;color:#a8aec4;margin:22px 0 6px}

/* ---------- 我的报告 ---------- */
.page-title{font-size:24px;margin:6px 0 4px}
.page-sub{font-size:13px;color:var(--muted);margin-bottom:18px}
/* 第482轮：标题与「＋ 做测评」同排，列表页也有开始新测评的入口 */
.rep-head-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rep-head-row .page-title{margin:6px 0 4px}
.rep-list{display:flex;flex-direction:column;gap:10px}
.rep-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:12px 16px;transition:.18s}
.rep-item:hover{border-color:#d9dffa;box-shadow:var(--shadow)}
.rep-item-cover{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:20px;flex:none}
.rep-item-body{flex:1;min-width:0}
.rep-item-body b{font-size:14px;display:block}
.rep-item-body small{font-size:11.5px;color:var(--muted);display:block;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rep-item-code{font-size:15px;font-weight:800;color:var(--brand);letter-spacing:1px}
.rep-item-arrow{color:#c3c8db;font-size:18px}
/* 报告列表操作按钮：查看/下载/重测/删除 */
.rep-item-main{display:flex;align-items:center;gap:14px;flex:1;min-width:0;color:inherit;text-decoration:none}
.rep-item-acts{display:flex;flex-direction:column;gap:5px;flex:none}
.rep-act{appearance:none;border:1px solid #dbe3f5;background:#fff;border-radius:999px;
  font-size:11.5px;line-height:1;padding:5px 14px;cursor:pointer;font-weight:600;transition:.15s;
  text-align:center;text-decoration:none}
.rep-act.view{color:#3b6ce7;border-color:#c9d7fb}
.rep-act.view:hover{background:#eef3ff}
.rep-act.dl{color:#0e9f6e;border-color:#bfe6d6}
.rep-act.dl:hover{background:#e9f9f2}
.rep-act.re{color:#b26a00;border-color:#f0dcc0}
.rep-act.re:hover{background:#fff7ea}
.rep-act.del{color:#e0455a;border-color:#f3c3ca}
.rep-act.del:hover{background:#fdeef0}

/* 我的报告：按测评学生分组 */
.rep-group{margin-bottom:26px}
.rep-group-head{display:flex;align-items:center;gap:12px;padding:10px 14px;margin-bottom:10px;
  background:#f4f7ff;border:1px solid #e3eafc;border-radius:14px}
.rep-group.me .rep-group-head{background:linear-gradient(135deg,#eef4ff,#fdf3f3);border-color:#d9e2fb}
.rep-group-head .stu-card-av{width:38px;height:38px;font-size:16px}
.rep-group-head .stu-card-b{flex:1;min-width:0}
.rep-group-head .stu-card-b b{font-size:14.5px}
.rep-group-n{font-size:12px;font-weight:700;color:var(--brand);background:#fff;border:1px solid #dfe6fa;
  border-radius:999px;padding:3px 12px;flex:none}
.rep-group-tip{font-size:12px;color:var(--muted);background:#fffbe8;border:1px solid #f2e7b3;
  border-radius:12px;padding:10px 14px;margin-bottom:16px;line-height:1.6}

.empty-box{background:#fff;border:1px dashed #dfe3f0;border-radius:16px;padding:48px 20px;text-align:center}
.empty-box p{color:var(--muted);margin-bottom:16px}
.empty{color:var(--muted);font-size:13px}

/* ---------- 报告增强组件 ---------- */
.result-pills{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:10px 0 4px}
.pill{font-size:13.5px;font-weight:700;border-radius:999px;padding:4px 13px}
.pill.ghost{background:#f5f6fc;color:var(--ink-2);font-weight:600}
.code-line{font-size:13.5px;color:var(--muted);margin-top:5px}
.combo-box{font-size:15px;color:var(--ink-2);background:#f8f9ff;border-radius:12px;padding:12px 14px;
  margin-top:12px;text-align:left;line-height:1.85}
.factor-score{margin-left:auto;font-size:14px;font-weight:700;color:var(--brand)}
.factor-key{font-size:14.5px;font-weight:700;color:var(--brand);letter-spacing:1px;margin-top:4px}
.factor .tag-cloud{margin-top:8px}

/* 能力优势标签 */
.gift-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px 0 8px}
.gift-pill{font-size:14px;font-weight:800;padding:7px 14px;border-radius:12px;letter-spacing:.5px}

/* 专业推荐（含专业类与男女比例） */
.major-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.major-grid li{display:grid;grid-template-columns:26px 1fr auto;grid-template-rows:auto auto;gap:1px 8px;
  align-items:center;background:#fafbff;border:1px solid #eef0f7;border-radius:10px;padding:8px 12px}
.major-grid li b{grid-row:1 / span 2;color:var(--brand);font-size:12.5px;font-weight:700}
.m-name{font-size:14px;font-weight:600;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-cat{grid-column:2;font-size:12px;color:var(--muted)}
.m-ratio{grid-column:3;grid-row:1 / span 2;font-size:11.5px;color:#9aa1b8;white-space:nowrap}

/* 成因 / 指南区块 */
.mod{padding:14px 0;border-bottom:1px dashed #eceff8}
.mod:last-child{border-bottom:none;padding-bottom:0}
.mod:first-child{padding-top:2px}
.mod-title{font-size:16px;color:var(--ink);margin-bottom:6px;display:flex;align-items:center;gap:8px}
.mod-title::before{content:'';width:6px;height:6px;border-radius:2px;background:var(--brand);flex:none}
.mod-sub{font-size:12.5px;color:var(--muted);margin:-2px 0 10px 14px}
.mod-item{display:flex;gap:10px;margin-top:10px}
.mod-no{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:10.5px;
  font-weight:700;background:#eef0ff;color:var(--brand);margin-top:1px}
.mod-body b{font-size:15px;display:block;margin-bottom:3px}
.mod-body p{font-size:14.5px;color:var(--ink-2);line-height:1.85}

/* 等级报告结论段 */
.verdict-para{font-size:15px;color:var(--ink-2);line-height:1.9;margin-bottom:10px;
  background:#fafbff;border-left:3px solid #e6e9f5;border-radius:0 10px 10px 0;padding:11px 14px}
.verdict-para:last-of-type{margin-bottom:16px}
.tip-list{padding-left:20px;margin:0}
.tip-list li{font-size:14.5px;color:var(--ink-2);line-height:1.9;margin-bottom:6px}

.trait-block{margin-bottom:16px}
.trait-block:last-child{margin-bottom:0}
.trait-title{font-size:15px;color:var(--brand);margin-bottom:6px;font-weight:700}
.trait-block .factor-list li{line-height:1.85;margin-bottom:4px}

/* MBTI 四维条增强 */
.axis-head{position:relative}
.axis-scroll{position:absolute;left:50%;top:-1px;width:1px;height:14px;display:none}
.axis-numbers{display:flex;align-items:center;justify-content:space-between;font-size:13.5px;color:var(--muted);margin-top:5px}
.axis-numbers .on{font-weight:800}
.axis-strength{font-size:12px;background:#f5f6fc;border-radius:999px;padding:1px 9px;color:var(--ink-2)}
.axis-legend{display:flex;justify-content:space-between;font-size:11.5px;color:#b0b6ca;
  border-top:1px dashed #eceff8;padding-top:8px;margin-top:4px}

@media (max-width:860px){
  .major-grid{grid-template-columns:1fr}
  .sticky-cta{flex-wrap:nowrap;gap:8px}
  .sticky-cta .btn{min-width:0;flex:1;padding-left:0;padding-right:0;font-size:13.5px}
}

/* ---------- 页脚 ---------- */
.foot{margin-top:auto;border-top:1px solid var(--line);padding:22px 20px 34px;text-align:center;background:#fff}
.foot p{font-size:11.5px;color:#a8aec4;line-height:1.9}

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .grid{grid-template-columns:1fr}
  .hero{padding:26px;flex-direction:column;align-items:flex-start}
  .hero-art{display:none}

  .meta-strip{grid-template-columns:1fr 1fr}
  .major-list{grid-template-columns:1fr}
  .dim-grid{grid-template-columns:repeat(2,1fr)}
  .nav{display:none}
}

/* ---------- 打印（详细规则见文件末尾 v6 打印块） ---------- */

/* ---------- v5：对齐 PDF 报告的专业推荐 / 条形图 / 字母释义 ---------- */
.major-list{list-style:none;padding:0;margin:0}
.major-list .m-group{list-style:none;font-size:12px;font-weight:700;color:var(--brand);
  background:#f2f4ff;border-radius:8px;padding:5px 12px;margin:14px 0 6px}
.major-list .m-group:first-child{margin-top:0}
.major-item{display:flex;gap:10px;padding:11px 2px;border-bottom:1px dashed #eef0f7}
.major-item:last-child{border-bottom:none}
.major-item>b{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;
  font-size:11px;font-weight:700;background:#eef0ff;color:var(--brand);margin-top:1px}
.m-main{min-width:0;flex:1}
.m-line1{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
.m-name{font-size:14.5px;font-weight:700;color:var(--ink)}
.m-meta{font-size:11.5px;color:var(--muted)}
.m-ratio{font-size:11px;color:#9aa1b8;margin-left:auto;white-space:nowrap}
.m-intro{font-size:12.6px;color:var(--ink-2);line-height:1.85;margin:7px 0 0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  transition:-webkit-line-clamp .2s}
.m-intro.expanded{-webkit-line-clamp:unset}
.m-intro-toggle{display:inline-block;font-size:11.5px;color:var(--brand);background:none;
  border:none;padding:2px 0;margin-top:3px;cursor:pointer;font-weight:600}

.chart-bars-wrap{margin:10px 0 2px}
.chart-bars{width:100%;height:auto;display:block;color:var(--ink)}

.letter-notes{margin:0;padding-left:20px}
.letter-notes li{font-size:13.2px;color:var(--ink-2);line-height:1.9;margin-bottom:7px}

.top-flag{font-style:normal;font-size:10px;font-weight:700;color:var(--brand);
  background:var(--brand-soft, #eef0ff);border-radius:999px;padding:2px 8px;margin-left:8px;vertical-align:2px}
.axis-cnt{font-style:normal;font-size:12px;font-weight:700;color:inherit;
  background:#eef0ff;border-radius:6px;padding:1px 6px;margin:0 2px}

/* ================= v6：商务风报告封面 / 导出 PDF / 答题页优化 ================= */
/* ---- 答题页 ---- */
.q-step{display:flex;align-items:center;justify-content:space-between;font-size:11.5px;
  color:var(--muted);letter-spacing:.5px;margin-bottom:10px}
.q-step span{font-weight:700;color:var(--brand);background:#eef0ff;border-radius:6px;padding:1px 9px}
.quiz-hint b{color:var(--ink-2)}
.ev-toast{
  position:fixed;left:50%;bottom:96px;transform:translate(-50%,14px);z-index:999;
  max-width:82vw;background:rgba(28,35,64,.94);color:#fff;font-size:13px;line-height:1.6;
  padding:10px 20px;border-radius:999px;opacity:0;pointer-events:none;
  transition:opacity .22s,transform .22s;box-shadow:0 12px 30px rgba(28,35,64,.28);
}
.ev-toast.show{opacity:1;transform:translate(-50%,0)}

/* ---- 报告工具栏 ---- */
.rep-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.rep-toolbar .back{margin:0}
.rep-actions{display:flex;gap:8px}
.rep-actions .btn{padding:8px 20px;font-size:13px;min-width:0}

/* ---- v8 整页封面（配色取自品牌 logo 蓝橙）：撑满一屏，PDF 里占满一页 ---- */
.rep-cover{
  position:relative;overflow:hidden;background:#fff;color:#10203c;
  border:1px solid #e6edfb;border-radius:20px;padding:40px 44px 30px;margin-bottom:18px;
  box-shadow:0 18px 48px rgba(26,123,224,.13);
  display:flex;flex-direction:column;
  min-height:calc(100vh - 150px);
}
.rep-cover::before{content:'';position:absolute;left:0;top:0;right:0;height:6px;z-index:2;
  background:linear-gradient(90deg,#1a7be0 0%,#41a8ff 34%,#ffc24a 66%,#f97a1f 100%)}
.rep-cover::after{content:'';position:absolute;left:0;right:0;bottom:0;height:110px;z-index:0;
  background:linear-gradient(180deg,rgba(244,249,255,0) 0%,rgba(240,247,255,.9) 100%)}

/* 装饰层：光斑 / 点阵 / 圆环 / 方块 / logo 水印 */
.cv-deco{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.cv-deco i{position:absolute;display:block}
.cv-deco .d1{right:-80px;top:-100px;width:310px;height:310px;border-radius:50%;
  background:radial-gradient(circle,rgba(65,168,255,.32) 0%,rgba(65,168,255,.11) 46%,rgba(65,168,255,0) 72%)}
.cv-deco .d2{left:-100px;bottom:-120px;width:330px;height:330px;border-radius:50%;
  background:radial-gradient(circle,rgba(249,122,31,.24) 0%,rgba(249,122,31,.07) 46%,rgba(249,122,31,0) 74%)}
.cv-deco .d3{right:44px;top:214px;width:104px;height:64px;opacity:.7;
  background-image:radial-gradient(#7fbaff 1.6px,transparent 1.6px);background-size:12px 12px}
.cv-deco .d4{right:-52px;bottom:6px;width:186px;height:186px;border-radius:50%;
  border:1.5px solid rgba(249,122,31,.20)}
/* 测评意象：渐次升高的柱形（弱化处理） */
.cv-deco .mo{position:absolute;right:46px;top:136px;display:flex;align-items:flex-end;gap:7px}
.cv-deco .mo b{display:block;width:10px;border-radius:6px;opacity:.5;
  background:linear-gradient(180deg,#8cc9ff,#1a7be0)}
.cv-deco .mo b:nth-child(1){height:15px;opacity:.35}
.cv-deco .mo b:nth-child(2){height:27px}
.cv-deco .mo b:nth-child(3){height:20px;opacity:.4;
  background:linear-gradient(180deg,#ffc98a,#f97a1f)}
.cv-deco .mo b:nth-child(4){height:38px;background:linear-gradient(180deg,#ffb066,#f97a1f)}
.cv-deco .d6{right:-40px;bottom:-54px;width:236px;height:250px;opacity:.05;
  background:url(../img/logo-mark.png) center/contain no-repeat}

.cv-head{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cv-logo{height:62px;width:auto;display:block}
.cv-tags{display:flex;flex-direction:column;align-items:flex-end;gap:7px;padding-top:2px}
.cv-badge{font-size:12.5px;font-weight:700;letter-spacing:1.2px;color:#fff;padding:7px 17px;border-radius:20px;
  background:linear-gradient(135deg,#f97a1f,#ff9d3f);box-shadow:0 6px 16px rgba(249,122,31,.28)}
.cv-conf{font-size:8.5px;font-weight:700;letter-spacing:1.6px;color:#3f83cc;background:#eaf4ff;
  border-radius:20px;padding:4px 11px}

.cv-eyebrow{position:relative;z-index:1;display:inline-flex;align-items:center;gap:9px;align-self:flex-start;
  font-size:12px;letter-spacing:2.6px;color:#3f83cc;font-weight:700;margin-top:auto}
.cv-eyebrow::before{content:'';width:24px;height:3px;border-radius:2px;
  background:linear-gradient(90deg,#1a7be0,#f97a1f)}
.cv-title{position:relative;z-index:1;font-size:44px;font-weight:800;letter-spacing:1.5px;
  line-height:1.24;margin:12px 0 9px;color:#10203c}
.cv-title em{font-style:normal;color:#f9812a}
.cv-sub{position:relative;z-index:1;font-size:14.5px;color:#5d6b85;letter-spacing:.3px}

.cv-result{position:relative;z-index:1;margin-top:26px;padding:22px 26px 20px;overflow:hidden;
  background:#f7faff;border:1px solid #e3eefc;border-radius:16px}
.cv-result::before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(180deg,#1a7be0,#41a8ff 52%,#f97a1f)}
.cv-result-label{display:inline-block;font-size:11.5px;letter-spacing:2.4px;color:#f9812a;font-weight:700}
.cv-value{font-size:46px;font-weight:800;letter-spacing:1.5px;line-height:1.22;margin:10px 0 7px;color:#10203c}
.cv-value.sm{font-size:30px;letter-spacing:1px}
.cv-value.xs{font-size:23px;letter-spacing:.5px;line-height:1.45}
.cv-value-sub{font-size:14px;color:#5d6b85;line-height:1.7}

.cv-meta{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  margin:22px 0 0;padding:0}
.cv-meta div{background:#fff;border:1px solid #e8eefb;border-radius:12px;padding:12px 15px;min-width:0}
.cv-meta dt{font-size:10.5px;letter-spacing:1.2px;color:#8e9ab5}
.cv-meta dd{margin:6px 0 0;font-size:14px;font-weight:700;color:#1a2740;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.cv-note{position:relative;z-index:1;font-size:12px;color:#7b88a1;line-height:1.9;margin-top:auto;padding-top:20px}
.cv-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:14px;padding-top:13px;border-top:1px dashed #e2ebfa;
  font-size:11px;letter-spacing:.5px;color:#9da9c0}
.cv-stamp{display:flex;align-items:center;gap:7px}
.cv-stamp i{width:8px;height:8px;border-radius:50%;display:inline-block;
  background:linear-gradient(135deg,#41a8ff,#f97a1f)}

/* ---- PDF 导出模式（html2canvas 截图用） ---- */
body.pdf-mode{background:#fff}
body.pdf-mode .topbar,body.pdf-mode .rep-toolbar,body.pdf-mode .sticky-cta,
body.pdf-mode .foot,body.pdf-mode .report-src,body.pdf-mode .ev-toast{display:none !important}
body.pdf-mode #app{display:block;min-height:0}
body.pdf-mode #reportRoot,body.pdf-mode .report{width:794px !important;max-width:794px !important;
  margin:0 !important;padding:0 !important}
body.pdf-mode .panel,body.pdf-mode .rep-cover{box-shadow:none !important;margin-bottom:10px}
body.pdf-mode .m-intro{-webkit-line-clamp:unset !important;display:block !important;overflow:visible !important}
body.pdf-mode .m-intro-toggle{display:none !important}
body.pdf-mode .rep-cover{page-break-after:always;break-after:page;
  min-height:1030px;height:auto;padding:46px 44px 34px;margin-bottom:0 !important}

@media (max-width:640px){
  .rep-cover{padding:24px 18px 18px;border-radius:16px;min-height:calc(100vh - 110px)}
  .cv-logo{height:40px}
  .cv-eyebrow{font-size:10.5px;letter-spacing:2px}
  .cv-title{font-size:28px;letter-spacing:.5px}
  .cv-sub{font-size:13px}
  .cv-result{padding:16px 16px 14px}
  .cv-value{font-size:31px}
  .cv-value.sm{font-size:23px}
  .cv-value.xs{font-size:18px}
  .cv-value-sub{font-size:12.5px}
  .cv-meta{grid-template-columns:1fr 1fr;gap:9px}
  .cv-meta dt{font-size:9.5px}
  .cv-meta dd{font-size:12.5px}
  .cv-meta div{padding:9px 11px}
  .cv-note{font-size:11px}
  .cv-badge{font-size:11px;padding:5px 12px}
  .cv-deco .d3,.cv-deco .mo{display:none}
  /* 第482轮：手机端工具栏换行——「← 我的报告」独占一行，重测/打印/下载三等分，不挤不换行 */
  .rep-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:12px}
  .rep-actions{width:100%;display:flex;gap:6px}
  .rep-actions .btn{flex:1;min-width:0;padding:9px 0;font-size:12.5px}
}


/* ================= v6：完整打印样式（浏览器打印 / 另存为 PDF） ================= */
@media print{
  @page{size:A4 portrait;margin:10mm 9mm 12mm 9mm}
  html,body{background:#fff !important;min-height:0 !important}
  #app{display:block !important;min-height:0 !important}
  .topbar,.sticky-cta,.back,.report-src,.foot,.rep-toolbar,.m-intro-toggle,
  .quiz,.groups,.rep-list,.empty-box,.ev-toast{display:none !important}
  .wrap,.wrap.narrow{max-width:none !important;width:auto !important;margin:0 !important;padding:0 !important}
  .report{padding-bottom:0 !important}
  .rep-cover{box-shadow:none !important;break-after:page;page-break-after:always;margin-bottom:0 !important;
    min-height:255mm !important;border-radius:6px !important}
  .panel{box-shadow:none !important;border:1px solid #e2e6ef !important;border-radius:4px !important;
    break-inside:auto !important;page-break-inside:auto !important;margin-bottom:10px !important;padding:16px 18px !important}
  .factor,.major-item,.mod,.axis-row,.verdict-para,.dim-cell,.trait-block,
  .letter-notes li,.result-panel,.gift-pill{break-inside:avoid;page-break-inside:avoid}
  .m-intro{-webkit-line-clamp:unset !important;display:block !important;overflow:visible !important}
  .chart-bars,.chart-radar,.chart-gauge{max-width:100% !important}
  .radar-wrap,.chart-bars-wrap{break-inside:avoid;page-break-inside:avoid}
  .panel-title{break-after:avoid;page-break-after:avoid}
  *{-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important}
}

/* ================= v8：测评学生信息（录入弹层 / 报告封面 / 我的报告） ================= */
.btn.btn-sm{padding:8px 16px;font-size:12.5px;min-width:0}
.user-chip small{font-size:11px;color:var(--ink-3);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-chip.filled{border-color:#ffd9c2;background:#fff8f3}

.stu-mask{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;
  background:rgba(16,32,60,.46);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:stuFade .18s ease}
@keyframes stuFade{from{opacity:0}to{opacity:1}}
@keyframes stuUp{from{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:1}}
.stu-modal{position:relative;width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;
  background:#fff;border-radius:20px;padding:26px 26px 20px;
  box-shadow:0 30px 70px rgba(16,32,60,.28);animation:stuUp .22s ease}
.stu-x{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:16px;
  color:#9aa6bf;cursor:pointer;padding:6px 8px;border-radius:8px}
.stu-x:hover{background:#f2f6fd;color:#5d6b85}
.stu-badge{display:inline-block;font-size:11px;letter-spacing:1.6px;font-weight:700;
  color:#f9812a;background:#fff3ea;border:1px solid #ffe0cb;border-radius:999px;padding:4px 11px}
.stu-hd h2{font-size:20px;line-height:1.4;color:#10203c;margin:12px 0 8px}
.stu-hd p{font-size:12.5px;line-height:1.9;color:#5d6b85;margin:0}
.stu-hd p b{color:#1a7be0}
.stu-form{display:grid;gap:11px;margin-top:18px}
.stu-f{display:block}
.stu-f>span{display:block;font-size:12.5px;font-weight:600;color:#33415c;margin-bottom:6px}
.stu-f>span i{color:#ef4444;font-style:normal}
.stu-f input,.stu-f select{width:100%;height:42px;box-sizing:border-box;border:1px solid #e2e9f7;
  border-radius:10px;padding:0 12px;font-size:13.5px;color:#10203c;background:#fbfcff;
  font-family:inherit;transition:border-color .16s,box-shadow .16s}
.stu-f input::placeholder{color:#a9b3c8}
.stu-f input:focus,.stu-f select:focus{outline:0;border-color:#41a8ff;background:#fff;
  box-shadow:0 0 0 3px rgba(65,168,255,.16)}
.stu-err{margin:0;min-height:16px;font-size:12px;color:#ef4444}
.stu-ft{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
.stu-ft .btn{padding:10px 22px;font-size:13.5px}

.stu-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e6edfb;
  border-radius:14px;padding:13px 16px;margin:14px 0 16px;box-shadow:0 6px 18px rgba(26,123,224,.06)}
.stu-card-av{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  color:#fff;font-weight:700;font-size:15px;background:linear-gradient(135deg,#41a8ff,#1a7be0)}
.stu-card-b{min-width:0;flex:1}
.stu-card-b b{display:block;font-size:14.5px;color:#10203c}
.stu-card-b small{display:block;font-size:12px;color:#6b7896;margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stu-card.empty{border-style:dashed;border-color:#dfe7f7;background:#fbfcff;box-shadow:none}

@media(max-width:640px){
  .stu-modal{padding:22px 18px 16px;border-radius:16px}
  .stu-hd h2{font-size:18px}
  .stu-ft .btn{flex:1;padding:11px 12px}
}
.stu-bind{margin:8px 0 0!important;font-size:12px;color:#8a94ad;line-height:1.7;
  background:#f4f8ff;border:1px solid #e6eefb;border-radius:8px;padding:7px 10px}

/* ---------------- v29 报告删除：三选弹窗 / 已删除区 / 云端可恢复 ---------------- */
.del-modal{width:min(420px,100%)}
.del-badge{color:#e0455a;background:#fdeef0;border-color:#f6cfd6}
.del-opts{display:grid;gap:10px;margin-top:18px}
.del-opt{appearance:none;text-align:left;background:#fbfcff;border:1px solid #e2e9f7;border-radius:12px;
  padding:13px 15px;cursor:pointer;font-family:inherit;transition:border-color .16s,box-shadow .16s,background .16s}
.del-opt b{display:block;font-size:14px;color:#10203c;margin-bottom:4px}
.del-opt small{display:block;font-size:12px;color:#6b7896;line-height:1.6}
.del-opt:hover{border-color:#9dc0f7;background:#fff;box-shadow:0 4px 14px rgba(26,123,224,.08)}
.del-opt.danger:hover{border-color:#f0a7b2;background:#fff7f8;box-shadow:0 4px 14px rgba(224,69,90,.1)}
.del-opt.danger b{color:#d8354c}
.del-hd{font-size:14px;font-weight:700;color:#6b7896;margin:26px 0 12px;display:flex;align-items:center;gap:8px}
.del-hd::before{content:'';width:4px;height:15px;border-radius:2px;background:#b9c6e2}
.rep-item.is-del{background:#fafbfd;border-style:dashed}
.rep-item.is-del .rep-item-cover.cl{filter:saturate(.4)}
.rep-item.is-del .rep-item-body b{color:#5d6b85}
.del-tag{display:inline-block;margin-left:8px;font-size:10px;font-weight:700;color:#e0455a;
  background:#fdeef0;border:1px solid #f6cfd6;border-radius:999px;padding:1.5px 8px;vertical-align:1px}
.cloud-tag{display:inline-block;margin-left:8px;font-size:10px;font-weight:700;color:#2a7ec7;
  background:#eaf4fd;border:1px solid #cbe4f7;border-radius:999px;padding:1.5px 8px;vertical-align:1px}
.rep-group.del-sec{opacity:.94}
.rep-group.del-sec .rep-group-head{background:#f7f9fd;border-color:#e3eaf6;border-style:dashed}
.rep-group.del-sec .stu-card-av.del{background:linear-gradient(135deg,#a9b6d3,#8291b4)}
.rep-group.del-sec .rep-group-n{color:#6b7896;border-color:#dde5f2}
.del-tip{font-size:11.5px;color:#9aa6bf;line-height:1.8;margin:18px 2px 6px}
@media(max-width:640px){
  .del-modal{padding:22px 18px 16px}
  /* 第482轮：手机上报告行改两段式——主信息独占一行，四个操作按钮一行均分，避免文字被挤断行 */
  .rep-item{flex-wrap:wrap;gap:8px;padding:12px 14px}
  .rep-item-main{flex:1 1 100%}
  .rep-item-acts{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
  .rep-act{padding:6px 4px;font-size:11.5px}
  .rep-item.is-del{flex-wrap:nowrap}
  .rep-item.is-del .rep-item-acts{width:auto;display:flex;flex-direction:column;gap:4px}
}

/* ---------------- v27 第444轮：0 份学生分组卡保留（报告删光学生账号不消失） ---------------- */
.rep-empty{font-size:12px;color:#8a94ab;line-height:1.8;padding:14px 16px;background:#fbfcff;border:1px dashed #e2e9f7;border-radius:10px;margin:4px 0 2px}
.rep-empty a{color:#2a7ec7;font-weight:600;text-decoration:none}

/* ---------------- v28 第447轮：学生分组删除按键 / 门槛直达登录 ---------------- */
.stu-del{appearance:none;border:1px solid #e2e9f7;background:#fff;color:#6b7896;font-size:11.5px;
  padding:3px 12px;border-radius:999px;cursor:pointer;font-family:inherit;transition:all .16s}
.stu-del:hover{border-color:#f0a7b2;color:#d8354c;background:#fff7f8}
.rep-group-head{gap:10px}

/* ---------------- v30 第464轮：测评中心/我的报告 + 学生身份 移到横幅正上方 ---------------- */
/* 顶栏现在只放品牌；这两个控件下移一行，与 .wrap(1080) 同宽，紧贴 hero 上边。
   手机端原本 .nav 被 860 断点 display:none、用户看不到「我的报告」，这里显式恢复。 */
.page-bar{
  width:100%;max-width:1080px;margin:0 auto;padding:14px 20px 0;
  display:flex;align-items:center;gap:10px;
}
.page-bar .nav{display:flex;flex:none;margin-left:0;gap:6px}
.page-bar .nav a{padding:7px 16px;font-size:14px;border-radius:999px}
.page-bar .nav a.on{background:#eef0ff;color:var(--brand);font-weight:600}
.page-bar .user-chip{margin-left:auto;flex:none;max-width:52%}
.page-bar .user-chip small{max-width:96px}
@media(max-width:860px){
  .page-bar{padding:12px 16px 0}
  .page-bar .nav{display:flex}
  .page-bar .nav a{padding:7px 13px;font-size:13.5px}
  .page-bar .user-chip{padding:4px 12px 4px 4px;font-size:12.5px;max-width:56%}
  .page-bar .user-chip small{max-width:64px}
  .page-bar .avatar{width:24px;height:24px;font-size:11px}
}

/* ---------------- v32 第484轮：微信内「转发报告」长图浮层 ---------------- */
/* 微信不开放 Web Share，预览页「···→转发」只能转网址；改为把报告渲染成长图，
   长按图片即可「发送给朋友」，聊天里收到的是报告本身。 */
.img-mask{position:fixed;inset:0;z-index:1300;background:rgba(12,16,30,.62);
  display:flex;align-items:flex-end;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.img-sheet{width:100%;max-width:560px;max-height:92vh;background:var(--bg);
  border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 -10px 40px rgba(12,16,30,.28);animation:imgUp .22s ease-out}
@keyframes imgUp{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
.img-sheet-hd{display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px 6px;font-size:15px;color:var(--ink)}
.img-x{appearance:none;border:0;background:transparent;color:var(--muted);
  font-size:16px;line-height:1;padding:6px 4px;cursor:pointer}
.img-tip{padding:0 16px 10px;font-size:12.5px;line-height:1.65;color:var(--muted)}
.img-tip b{color:var(--ink);font-weight:700}
.img-list{flex:1;min-height:0;overflow:auto;padding:0 16px 12px;
  display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}
.img-list img{width:100%;height:auto;display:block;border-radius:12px;background:#fff;
  box-shadow:0 3px 14px rgba(28,35,64,.10)}
.img-ft{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
.img-ft-tip{font-size:12px;color:var(--muted)}
.img-ft .btn{flex:none;min-width:96px}

/* ---------------- v33 第485轮：微信内转发 PDF 指引浮层 ---------------- */
/* 第484轮的长图方案已停用（切片后是几张分开的图片，保存/转发都不方便），
   手机端统一生成单个 PDF 文档；微信内只做「去浏览器转发」的分步指引。 */
.wx-guide{max-width:520px}
.wx-guide .img-sheet-hd{padding-bottom:2px}
.wx-guide-bd{padding:6px 16px 14px;overflow:auto;font-size:13.5px;line-height:1.72;color:var(--muted)}
.wx-guide-bd p{margin:0 0 10px}
.wx-guide-bd ol{margin:0 0 10px;padding-left:20px}
.wx-guide-bd li{margin:0 0 8px;line-height:1.7}
.wx-guide-bd b{color:var(--ink);font-weight:700}
.wx-guide-tip{margin:0;padding-top:2px;font-size:12px;color:var(--muted);
  border-top:1px dashed var(--line);padding-top:10px}
