/* ============================================================
 * css/main.css  向上生涯 · 样式（稳定区，设计变更才动）
 * 视觉规范：业务页浅色极简；后台与 D01–D08 深色科技
 * 动效相关样式：01 倾斜、02 形变、03 共享、04 码表、05 抽屉、
 *              06 光晕、07 交错、08 按压 —— 参数一律读 data/config.js
 * ============================================================ */

/* ---------- 0. 设计令牌 ---------- */
:root {
  --bg: #F6F4EF;
  --bg-2: #EFEBE3;
  --surface: #FFFDF9;
  --surface-2: #FAF7F0;
  --ink: #1B1A17;
  --ink-2: #57534B;
  --ink-3: #918B80;
  --line: #E6E0D4;
  --line-2: #D8D1C2;
  --accent: #C2582B;
  --accent-2: #A8451F;
  --accent-soft: #F7E7DC;
  --ok: #4E6B57;
  --ok-soft: #E6EDE6;
  --warn: #9A7514;
  --warn-soft: #F6EDD6;
  --danger: #B3452F;
  --danger-soft: #F8E3DE;
  --shadow-1: 0 1px 2px rgba(30, 25, 18, .05);
  --shadow-2: 0 14px 34px -20px rgba(30, 25, 18, .35);
  --shadow-3: 0 24px 60px -28px rgba(30, 25, 18, .45);
  --r-1: 10px;
  --r-2: 16px;
  --r-3: 22px;
  --r-pill: 999px;
  --col: 560px;
  --f-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --f-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --pad: 20px;
  --press-scale: .96;
}

/* 平板 / 桌面自适应：手机竖屏之外，内容区随屏宽放大，不再固定 560px */
@media (min-width: 700px) {
  :root { --col: 720px; --pad: 28px; }
}
@media (min-width: 1000px) {
  :root { --col: 900px; --pad: 32px; }
}
@media (min-width: 1280px) {
  :root { --col: 1040px; --pad: 36px; }
}

html.dark,
.app.dark {
  --bg: #101216;
  --bg-2: #0C0E11;
  --surface: #181B21;
  --surface-2: #1E222A;
  --ink: #EDEAE2;
  --ink-2: #ABA69C;
  --ink-3: #726E66;
  --line: #2A2F38;
  --line-2: #333945;
  --accent: #E08050;
  --accent-2: #F09566;
  --accent-soft: #2B211C;
  --ok: #7FA98B;
  --ok-soft: #1B2620;
  --warn: #D5A94A;
  --warn-soft: #2A2418;
  --danger: #E0735B;
  --danger-soft: #2B1B18;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 40px -22px rgba(0, 0, 0, .8);
  --shadow-3: 0 30px 70px -30px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(194, 88, 43, .07), transparent 60%),
    radial-gradient(700px 500px at 92% 4%, rgba(122, 150, 160, .09), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

html.dark body {
  background:
    radial-gradient(900px 600px at 10% -8%, rgba(224, 128, 80, .10), transparent 60%),
    radial-gradient(700px 500px at 88% 0%, rgba(107, 127, 168, .12), transparent 62%),
    var(--bg);
}

body.lock-scroll { overflow: hidden; }
body.no-h-scroll { overflow-x: hidden; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- 1. 布局骨架 ---------- */
.app { min-height: 100vh; }
.screen {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding-bottom: 92px;
  position: relative;
}
.screen > .page { padding: 4px var(--pad) 24px; }
/* linearPage 直接输出 <main class="page">，这里保证窄屏内容不贴边、不横向溢出 */
.page {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 4px var(--pad) 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--col);
  margin: 0 auto;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.hdr-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hdr-title small {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
}
.hdr-right { display: flex; gap: 2px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s ease, transform .12s ease;
}
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.icon-btn.ghost { pointer-events: none; opacity: 0; }
.icon-btn.on { color: var(--accent); }
.icon-btn.on-dark { color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .12); }
.icon-btn.on-dark:hover { background: rgba(255, 255, 255, .2); }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent) 40%, transparent);
}
.more-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.more-ico { font-size: 17px; line-height: 1; transform: translateY(-1px); }

/* ---------- 2. 基础排版与通用块 ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 10px; }
.center { text-align: center; }
.hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
}
.pad { padding: 18px 0; }
.pad-lg { padding: 40px 0; }
.pad-top { padding-top: 14px; }
.page-h {
  font-family: var(--f-serif);
  font-size: 26px;
  letter-spacing: .01em;
  margin-bottom: 6px;
}
.blk {
  margin: 0 0 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-1);
}
.sec-h {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.sec-x { font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.p { color: var(--ink-2); font-size: 14.5px; line-height: 1.78; margin: 0 0 8px; }
.p:last-child { margin-bottom: 0; }
.p.center { text-align: center; }
.mini-h { font-size: 14px; margin: 10px 0 6px; color: var(--ink); }
.kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
}
.kv span { color: var(--ink-3); flex: none; }
.kv b { font-weight: 600; text-align: right; }
.ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.ul li { margin-bottom: 4px; }
.ul-warn li::marker { color: var(--warn); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crumb {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
  padding: 0 0 10px;
}
.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.lh-note { color: var(--ink-3); font-size: 12px; text-align: right; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-1);
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn.mini { min-height: 34px; padding: 6px 14px; font-size: 12.5px; }
.btn.block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.btn-row .btn { flex: 1 1 auto; }
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.link-btn:hover { color: var(--accent-2); }
.press { transition: transform .12s cubic-bezier(.3, .7, .4, 1.4); }
.press.pressing {
  transform: scale(var(--press-scale));
  box-shadow: inset 0 2px 10px rgba(30, 25, 18, .22);
}

/* 标签 / 徽章 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip-link { cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.chip-link:hover { border-color: var(--accent); color: var(--accent); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.ghost { background: transparent; }
.demo-mark {
  margin: 18px 0 0;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-align: center;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.demo-mark.inline { border: 0; padding: 6px 0 0; letter-spacing: .06em; }

/* 表单 */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field.row-field { flex-direction: row; align-items: center; gap: 12px; }
.field.row-field > span { flex: 0 0 72px; }
.form-foot { display: flex; gap: 10px; margin-top: 6px; }
.form-foot .btn { flex: 1; }

/* ---------- 3. 列表 / 卡片 / 状态 ---------- */
.rows { display: flex; flex-direction: column; gap: 10px; }
.rows.flat { gap: 0; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.row-link { cursor: pointer; }
.row-link:hover { border-color: var(--accent); box-shadow: var(--shadow-2); }
.rows.flat .row { border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: none; background: transparent; padding: 12px 2px; }
.rows.flat .row:first-child { border-top: 1px solid var(--line); }
.rows.flat .row:last-child { border-bottom: 1px solid var(--line); }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-t { font-size: 14.5px; font-weight: 600; }
.row-s { font-size: 12.8px; color: var(--ink-3); line-height: 1.6; }
.row-meta { font-size: 12px; color: var(--ink-3); letter-spacing: .01em; }
.row-v { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.row-ico {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-2);
  font-size: 16px;
  color: var(--ink-2);
}
.row-arrow { color: var(--ink-3); display: grid; place-items: center; }
.row .star { flex: 0 0 auto; }
.co-row { align-items: center; }

.grp { margin-bottom: 12px; }
.grp-h {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.grp-c { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.grp.focus .grp-h { color: var(--accent); }

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  text-align: left;
  cursor: pointer;
}
.card-lg { min-height: 92px; }
.ec-ico { font-size: 26px; }
.ec-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ec-body b { font-size: 16px; }
.ec-body span { font-size: 12.8px; color: var(--ink-3); line-height: 1.55; }
.ec-arrow { color: var(--ink-3); }
.hero-q {
  font-family: var(--f-serif);
  font-size: 25px;
  line-height: 1.35;
  margin: 18px 0 8px;
}
.hero-sub { color: var(--ink-3); font-size: 13.5px; margin-bottom: 18px; }
.explore-cards { display: flex; flex-direction: column; gap: 12px; }
.stat-strip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 4px 0;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

.state {
  padding: 26px 18px;
  border-radius: var(--r-2);
  border: 1px dashed var(--line-2);
  background: var(--surface-2);
  text-align: center;
}
.state-k { font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.state-h { font-size: 15px; font-weight: 700; margin: 8px 0 4px; }
.state-p { font-size: 13px; color: var(--ink-3); margin: 0 auto; max-width: 34em; }
.state-无权限 { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }

/* ---------- 4. 首页 / 登录 / 注册 / 欢迎 ---------- */
.splash {
  min-height: 100vh;
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 28px;
  text-align: center;
  cursor: pointer;
}
.splash-mark {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  font-size: 30px; font-weight: 700;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-3);
}
.splash-h { font-family: var(--f-serif); font-size: 34px; letter-spacing: .06em; margin-top: 14px; }
.splash-p { color: var(--ink-2); font-size: 15px; margin: 0; }
.splash-sub { color: var(--ink-3); font-size: 12px; letter-spacing: .08em; }
.splash-load {
  width: 120px; height: 2px; margin-top: 26px;
  background: var(--line-2); border-radius: 2px; overflow: hidden;
}
.splash-load span {
  display: block; height: 100%; width: 40%;
  background: var(--accent);
  animation: splashLoad 2s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes splashLoad { from { width: 6%; } to { width: 100%; } }
.splash-tip { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }

.login-hero { text-align: center; padding: 26px 0 22px; }
.lh-mark {
  width: 52px; height: 52px; margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--ink); color: var(--bg);
  font-size: 24px; font-weight: 700;
}
.login-hero h1 { font-family: var(--f-serif); font-size: 26px; letter-spacing: .08em; }
.login-hero p { color: var(--ink-3); font-size: 12.5px; margin: 4px 0 0; }
.login-help { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; font-size: 13px; }
.dot { color: var(--line-2); }
.login-alt { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; }
.demo-accounts {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.da-h { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }
.da-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--surface);
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
}
.da-role { color: var(--accent); font-weight: 600; flex: 0 0 44px; }
.da-acc { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink-2); flex: 0 0 76px; }
.da-name { color: var(--ink-3); }

.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.role-card.on { border-color: var(--accent); background: var(--accent-soft); }
.rc-ico { font-size: 20px; }
.rc-name { font-weight: 600; font-size: 14px; }
.rc-tag { position: absolute; top: 10px; right: 10px; font-size: 10.5px; color: var(--warn); }
.reg-role-tip { font-size: 13px; color: var(--ink-2); margin-bottom: 2px; }

.welcome {
  min-height: 100vh;
  max-width: var(--col);
  margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 28px;
  text-align: center;
}
.welcome-mark { font-size: 40px; margin-bottom: 12px; }
.welcome h1 { font-family: var(--f-serif); font-size: 27px; margin-bottom: 12px; }
.welcome-p { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.welcome-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.welcome-tip { margin-top: 18px; font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }

/* ---------- 5. 赛道与岗位 ---------- */
.track-flow { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.track-card {
  position: relative;
  padding: 20px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--tc1) 12%, var(--surface)) 0%, var(--surface) 58%),
    var(--surface);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.track-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tc2) 55%, transparent), transparent 68%);
  opacity: .8;
  pointer-events: none;
}
.track-card.focus { box-shadow: var(--shadow-2); }
.tc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tc-ico { font-size: 26px; }
.tc-en { font-size: 10px; letter-spacing: .18em; color: var(--ink-3); }
.tc-name { font-family: var(--f-serif); font-size: 22px; margin: 10px 0 4px; }
.tc-tag { font-size: 13px; color: var(--accent); margin: 0 0 6px; font-weight: 600; }
.tc-scope { font-size: 12.5px; color: var(--ink-3); margin: 0 0 14px; line-height: 1.6; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.tc-enter { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.flow-foot { text-align: center; font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; padding: 16px 0 4px; }

.hero-track {
  position: relative;
  margin: 4px 0 12px;
  padding: 26px 22px;
  border-radius: var(--r-3);
  background: linear-gradient(150deg, color-mix(in srgb, var(--tc1) 26%, var(--surface)), var(--surface) 70%);
  border: 1px solid var(--line);
}
/* 收藏按钮放标题栏右上角 */
.ht-fav { position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--ink-2); background: rgba(255,255,255,.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(4px); }
.ht-fav:active { transform: scale(.96); }
.ht-fav.on { color: #8a5a1f; background: rgba(255,217,160,.55); border-color: rgba(180,98,60,.4); }
.ht-ico { font-size: 30px; }
.ht-en { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); margin-top: 6px; }
.ht-name { font-family: var(--f-serif); font-size: 27px; margin: 6px 0 4px; }
.ht-tag { font-size: 13px; color: var(--ink-2); margin: 0; }
.track-tools { display: flex; gap: 10px; margin: 0 0 14px; }

.job-head {
  position: relative;
  margin: 0 calc(-1 * var(--pad)) 14px;
  padding: 18px 34px 28px;
  background: linear-gradient(160deg, var(--jc1), color-mix(in srgb, var(--jc2) 68%, #201E1B));
  color: #fff;
  border-radius: 0 0 26px 26px;
  transform-style: preserve-3d;
}
@media (min-width: 700px) {
  .job-head { padding: 20px 44px 32px; }
}
/* 图片案例库：只有缩略图 */
.case-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.case-strip::-webkit-scrollbar { display: none; }
.case-thumb { flex: 0 0 auto; width: 104px; height: 104px; padding: 0; border: none; background: none; border-radius: 10px;
  overflow: hidden; scroll-snap-align: start; box-shadow: 0 4px 14px -6px rgba(0,0,0,.35); }
.case-thumb img { display: block; width: 104px; height: 104px; object-fit: cover; }
.case-thumb:active { transform: scale(.97); }

/* 全屏查看器 */
.case-viewer { position: fixed; inset: 0; z-index: 9999; background: rgba(10,10,12,.94);
  display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.case-viewer .cv-img { max-width: 96vw; max-height: 92vh; transform-origin: center center;
  user-select: none; -webkit-user-drag: none; will-change: transform; }
.cv-bar { position: fixed; left: 0; right: 0; bottom: 24px; display: flex; gap: 10px;
  justify-content: center; }
.cv-btn { padding: 9px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px); }
.cv-btn:active { transform: scale(.96); }
.p-job .blk { padding: 16px 26px; }
.p-job .blk .sec-h { margin-bottom: 8px; }
.p-job .p { line-height: 1.8; }
.p-job .blk .ul,
.p-job .blk .steps { padding-left: 2px; }
@media (min-width: 700px) {
  .p-job .blk { padding: 18px 32px; }
}
.jh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* 岗位页顶部「分享岗位」文字按钮 */
.share-word { flex: none; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.share-word:active { transform: scale(.96); }
/* 方向页：赛道少时同屏卷展栏（赛道层级高于岗位） */
.compact-tracks .grp { border-top: 1px solid var(--line); padding-top: 10px; }
.compact-tracks .grp:first-of-type { border-top: none; }
.compact-tracks .grp-h { font-size: 15.5px; font-weight: 700; color: var(--ink-1); padding: 2px 0 6px; }
.compact-tracks .grp-c { font-size: 11.5px; color: var(--green); font-weight: 600; }
.compact-tracks .grp .rows.flat .row { padding: 9px 0 9px 10px; border-left: 2px solid var(--line-2); }
.compact-tracks .grp .rows.flat .row .row-t { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.compact-tracks .grp .rows.flat .row .row-meta { font-size: 11px; color: var(--ink-3); }
/* 专业页：链路指示（岗位 → 专业 → 学校） */
.chain-line { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; font-size: 11.5px; color: var(--ink-3); }
.chain-line i { font-style: normal; color: var(--line-2); }
.chain-line span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); }
.chain-line span.on { color: var(--green); border-color: rgba(63,125,106,.4); background: rgba(63,125,106,.08); font-weight: 700; }

/* 专业页：开设院校面板头部（标题左、阳光高考右） */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sec-head .sec-h { margin: 0; }
.prov-sel { margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--green); }
.prov-chip.on { border-color: var(--green2); background: rgba(63,125,106,.16); box-shadow: inset 0 0 0 1px rgba(63,125,106,.4); }

/* 专业页：31 省选择（一行 8 个，有校高亮可点，无校灰掉不可点） */
.prov-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 10px; }
.prov-chip { position: relative; padding: 9px 1px 8px; border-radius: 8px; text-align: center;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 11.5px; line-height: 1.2; color: var(--ink-3); white-space: nowrap; }
.prov-chip em { position: absolute; top: -5px; right: -3px; font-style: normal;
  min-width: 15px; height: 15px; line-height: 15px; padding: 0 3px; border-radius: 999px;
  font-size: 9px; color: #fff; background: var(--green2); font-variant-numeric: tabular-nums; }
.prov-chip.has { color: var(--green); border-color: rgba(63,125,106,.45); background: rgba(63,125,106,.09);
  font-weight: 700; }
.prov-chip.has:active { transform: scale(.95); }
.prov-chip.empty { color: #b9c1c9; background: #f1f3f5; border-color: #e6e9ec; cursor: not-allowed; }
@media (max-width: 360px) { .prov-chip { font-size: 10.5px; padding: 8px 0 7px; } }

/* 专业页：教育部一流专业标签 */
.fc-badge { display: flex; flex-direction: column; gap: 2px; margin-top: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(47,99,85,.07); border: 1px solid rgba(47,99,85,.25); }
.fc-badge b { font-size: 13px; color: #2f6355; }
.fc-badge span { font-size: 11.5px; color: var(--ink-3); }
.fc-mini { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px;
  font-size: 10px; line-height: 16px; color: #2f6355; background: rgba(47,99,85,.1);
  border: 1px solid rgba(47,99,85,.25); }

/* 专业页：排名来源徽标 */
.rank-badge { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px; margin: 6px 0 10px; border-radius: 10px;
  background: rgba(63,125,106,.06); border: 1px solid rgba(63,125,106,.2); }
.rank-badge b { font-size: 13px; color: var(--green); }
.rank-badge span { font-size: 11.5px; color: var(--ink-3); }

/* 专业页：三个格子当 tab 用，一次只显示一项 */
.major-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 14px 12px; }
.m-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.m-tile b { font-size: 20px; font-weight: 700; color: var(--ink-1); font-variant-numeric: tabular-nums; }
.m-tile span { font-size: 11.5px; color: var(--ink-3); }
.m-tile.on { border-color: var(--green2); background: rgba(63,125,106,.08); }
.m-tile.on b { color: var(--green); }
.m-tile.on span { color: var(--green); font-weight: 600; }
.yp-list { display: flex; flex-direction: column; gap: 10px; margin: 0 14px 12px; }
.yp-card { display: block; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface); }
.yp-card:active { transform: scale(.99); }
.yp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.yp-h b { font-size: 15px; color: var(--ink-1); }
.yp-n { font-size: 11px; color: var(--ink-3); }
.yp-goal { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
  max-height: calc(2 * 1.65em); }
.yp-foot { display: none; }

.principle-blk { background: rgba(63,125,106,.05); border-color: rgba(63,125,106,.22); }
.do-blk { border-left: 3px solid var(--green2); }
.learn-blk { border-left: 3px solid rgba(180,98,60,.55); }
.share-bottom .btn + .btn { margin-top: 8px; }
.share-row { display: flex; gap: 10px; }
.share-row .btn { flex: 1 1 0; margin-top: 0; padding: 11px 6px; font-size: 13px; }
/* 分享文案框 */
.share-text { margin: 8px 0 10px; padding: 11px 12px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-2);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
/* 岗位页顶部右上角：分享 + 收藏 统一成同款文字按钮 */
.jh-actions { display: flex; gap: 6px; flex: none; }
.share-word.on { background: rgba(255,217,160,.28); border-color: rgba(255,217,160,.6); color: #ffd9a0; }
/* 对口专业：改成整行列表，专业名一行放得下 */
.major-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.maj-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); }
.maj-row:active { transform: scale(.99); }
.maj-main { flex: 1 1 auto; min-width: 0; }
.maj-main b { display: block; font-size: 14.5px; line-height: 1.35; color: var(--ink-1);
  white-space: normal; word-break: break-word; }
.maj-sub { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
.maj-go { flex: none; font-size: 11.5px; color: var(--green); }
.jh-track { font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .86); }
/* 岗位页头部：去掉标签行后，重排留白 */
.jh-name { font-family: var(--f-serif); font-size: 31px; line-height: 1.22; margin: 18px 0 10px; letter-spacing: .01em; }
.jh-sum { font-size: 14.5px; line-height: 1.72; color: rgba(255, 255, 255, .88); margin: 0 0 12px; max-width: 32em; }
.jh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-chips .chip {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .94);
}
.job-head .glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 70%);
  opacity: 0;
  transition: opacity .2s ease;
}

.video-card { padding: 0; overflow: hidden; }
.vc-art {
  position: relative;
  display: grid; place-items: center;
  height: 168px;
  background:
    radial-gradient(300px 160px at 70% 20%, rgba(194, 88, 43, .35), transparent 70%),
    linear-gradient(120deg, #2A2622, #4A413A);
  color: #fff;
}
/* 480P 画面比例 16:9，宽度撑满、高度按比例算 */
.vc-art.vc-480 {
  height: auto;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}
/* 模拟播放：扫光动画 */
.vc-sweep { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 60%);
  animation: vcSweep 6s linear infinite; }
@keyframes vcSweep {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}
/* 居中播放键：暂停时显示，播放时隐藏 */
.vc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.4);
  color: #fff; backdrop-filter: blur(2px); transition: opacity .18s ease; }
.vc-play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.vc-art.vc-480.paused .vc-sweep { animation-play-state: paused; }
.vc-art.vc-480:not(.paused) .vc-play { opacity: 0; pointer-events: none; }
.vc-art::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 9px);
}
.vc-ico { position: relative; z-index: 1; opacity: .95; }
.vc-t { position: relative; z-index: 1; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .82); }
.vc-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; }
.vc-btn { padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: #fff; background: rgba(47,99,85,.92); border: 1px solid rgba(47,99,85,.9); }
.vc-btn:active { transform: scale(.96); }
.vc-hint { font-size: 11px; color: var(--ink-3); margin-left: auto; }
.video-card .vc-note { display: block; padding: 8px 14px 10px; font-size: 11px; color: var(--ink-3); }
.vc-bar .vc-note { margin-left: auto; padding: 0; font-size: 11.5px; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 12px; }
.step-n {
  flex: 0 0 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.step-b { display: flex; flex-direction: column; gap: 2px; }
.step-b b { font-size: 14px; }
.step-b span { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 幻灯片（C-幻灯片） */
.slides {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -4px;
  padding: 4px;
  outline: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 88%;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--r-2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.slide-art {
  position: relative;
  height: 180px;
  background:
    radial-gradient(220px 140px at 30% 30%, hsl(var(--sa) 30% 62% / .55), transparent 70%),
    linear-gradient(160deg, hsl(var(--sa) 18% 26%), hsl(var(--sa) 22% 14%));
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px;
  color: rgba(255, 255, 255, .9);
}
.slide-k { font-size: 10px; letter-spacing: .18em; }
.slide-ico { font-size: 42px; align-self: flex-end; opacity: .55; }
.slide figcaption { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.slide figcaption b { font-size: 13px; }
.slide figcaption span { font-size: 11.5px; color: var(--ink-3); }
.slide-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dots { display: flex; gap: 6px; }
.dot {
  width: 7px; height: 7px;
  padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line-2);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dot.on { background: var(--accent); transform: scale(1.25); }
.slide-arrows { display: flex; gap: 4px; }
.slide-arrows .icon-btn { border: 1px solid var(--line); width: 32px; height: 32px; }

/* 迷你卡 / 培训 / 路线 */
.mini-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface-2);
  margin-bottom: 10px;
}
.mc-t { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mc-s { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mc-l { margin-top: 6px; font-size: 12.5px; }
.mc-actions { display: flex; gap: 8px; margin-top: 10px; }

.pill-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.pill-toggle.sub { background: transparent; border: 0; padding: 0; gap: 8px; }
.pill {
  border: 0;
  background: transparent;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
}
.pill.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.pill-toggle.sub .pill { border: 1px solid var(--line); }
.pill-toggle.sub .pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sticky-tabs { position: sticky; top: 52px; z-index: 12; }

.route-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--rc) 12%, var(--surface)), var(--surface));
  cursor: pointer;
  text-align: left;
}
.rc-ico { font-size: 20px; }
.rc-b { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rc-b b { font-size: 14px; }
.rc-b span { font-size: 12px; color: var(--ink-3); }

.pager { padding: 4px 0 10px; }
.pager-row { display: flex; gap: 10px; margin-bottom: 10px; }
.pager-row .btn { flex: 1; }
.pager-idx { text-align: center; font-size: 11.5px; color: var(--ink-3); letter-spacing: .1em; margin-top: 8px; }

/* 风格 / 排名 / 星级 / 工具 */
.rank-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.rank-row:last-child { border-bottom: 0; }
.rank-i { flex: 0 0 22px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank-n { flex: 1; font-weight: 600; }
.rank-l { color: var(--accent); font-weight: 700; font-size: 12.5px; }
.stars { display: flex; align-items: center; gap: 3px; margin: 6px 0 10px; }
.stars .star { color: var(--line-2); font-size: 17px; }
.stars .star.on { color: var(--accent); }
.star-note { margin-left: 8px; font-size: 12px; color: var(--ink-3); }
.tools { display: flex; flex-direction: column; gap: 10px; }
.tool { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-2); }
.tool-h { display: flex; align-items: baseline; gap: 8px; }
.tool-h b { font-size: 14px; }
.tool-h span { font-size: 11.5px; color: var(--accent); }
.tool-d { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 8px; }
.tool-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* 咨询 */
.mentor-list { display: flex; flex-direction: column; gap: 12px; }
.mentor-card {
  display: flex; gap: 14px;
  padding: 16px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
}
.mc-ava {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 17px;
}
.mc-main { flex: 1; min-width: 0; }
.mc-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mc-tag { font-size: 10.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 8px; border-radius: var(--r-pill); }
.mc-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mc-field { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.mc-meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.qr {
  width: 178px; height: 178px;
  margin: 8px auto 4px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.qr span { background: transparent; border-radius: 1px; }
.qr span.on { background: #1B1A17; }

/* ---------- 6. 报告 / 测评 ---------- */
.report-head {
  position: relative;
  padding: 22px;
  margin-bottom: 14px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #221F1B, #3A332C);
  color: #F5F0E7;
  overflow: hidden;
}
.rh-k { font-size: 10.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.rh-h { font-family: var(--f-serif); font-size: 25px; margin: 8px 0 6px; }
.rh-p { font-size: 13.5px; color: rgba(255, 255, 255, .84); margin: 0 0 8px; }
.rh-meta { font-size: 11.5px; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.radar { width: 100%; max-width: 320px; margin: 0 auto; overflow: visible; }
.radar .rg { fill: none; stroke: var(--line); stroke-width: 1; }
.radar .ax { stroke: var(--line); stroke-width: 1; }
.radar .rs { fill: color-mix(in srgb, var(--accent) 26%, transparent); stroke: var(--accent); stroke-width: 1.6; }
.radar .rl { fill: var(--ink-3); font-size: 9px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 8px; }
.lg { font-size: 11.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.lg i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.dir-card {
  padding: 15px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin-bottom: 10px;
}
.dc-h { display: flex; align-items: baseline; gap: 8px; }
.dc-i {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--ink); color: var(--bg);
  font-size: 11px;
}
.dc-h b { font-size: 15px; }
.dc-s { margin-left: auto; font-size: 12px; color: var(--accent); font-weight: 600; }
.dc-p { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 10px; }
.dc-jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-foot { display: flex; gap: 8px; margin-top: 12px; }

.obar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ob-l { font-size: 12px; color: var(--ink-3); }
.ob-v {
  font-family: var(--f-serif);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1.1;
}
.snap { outline: none; padding: 6px 2px 0; }
.snap-value { margin-bottom: 10px; }
.snap-track {
  position: relative;
  height: 46px;
  margin: 6px 14px 0;
  cursor: grab;
  touch-action: pan-y;
}
.snap-track::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 20px;
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-soft), var(--bg-2));
}
.snap-node { position: absolute; top: 0; transform: translateX(-50%); text-align: center; }
.snap-node i {
  display: block;
  width: 12px; height: 12px;
  margin: 14px auto 0;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-2);
}
.snap-node em {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  font-style: normal;
  color: var(--ink-3);
  white-space: nowrap;
}
.snap-cursor {
  position: absolute;
  top: 6px;
  width: 2px; height: 34px;
  margin-left: -1px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: left .18s cubic-bezier(.2, .8, .3, 1);
}
.snap.dragging .snap-cursor { transition: none; }
.snap-hint { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.od { display: inline-block; height: 1em; overflow: hidden; vertical-align: bottom; }
.od-col { display: block; transition: transform .28s cubic-bezier(.2, .8, .3, 1); }
.od-col i { display: block; height: 1em; font-style: normal; line-height: 1; }

.gap-list { display: flex; flex-direction: column; gap: 10px; }
.gap-row { display: grid; grid-template-columns: 76px 1fr 56px; align-items: center; gap: 10px; font-size: 12.5px; }
.gp-n { color: var(--ink-2); }
.gp-bars { position: relative; height: 16px; }
.gp-bars i { position: absolute; left: 0; height: 6px; border-radius: 3px; }
.gp-self { top: 0; background: var(--accent); }
.gp-par { bottom: 0; background: var(--line-2); }
.gp-v { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prox-bar, .conf-bar { height: 8px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.prox-bar span, .conf-bar span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.prox-v { font-family: var(--f-serif); font-size: 22px; margin: 8px 0 6px; }
.history { display: flex; flex-direction: column; }
.hist-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.hist-row em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: 12px; }
.hist-row.on b { color: var(--accent); }

.assess-hero { padding: 20px 0 6px; }
.ah-badge { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.assess-hero h1 { font-family: var(--f-serif); font-size: 25px; line-height: 1.4; margin: 8px 0 10px; }
.assess-actions { display: flex; flex-direction: column; gap: 10px; }
.assess-top { display: flex; align-items: center; gap: 10px; }
.at-title { flex: 1; font-size: 13px; font-weight: 600; }
.at-idx { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.progress { height: 4px; border-radius: 2px; background: var(--bg-2); margin: 10px 0 26px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .3s ease; }
.q-box { margin-bottom: 24px; }
.q-dim { font-size: 11.5px; letter-spacing: .14em; color: var(--accent); }
.q-stem { font-family: var(--f-serif); font-size: 23px; line-height: 1.55; margin-top: 10px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
}
.opt:hover { border-color: var(--accent); }
.opt.on { border-color: var(--accent); background: var(--accent-soft); }
.opt-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.opt.on .opt-dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
.assess-foot { display: flex; gap: 10px; margin-top: 22px; }
.assess-foot .btn { flex: 1; }
.assess-tip { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 14px; }
#view.slide-out { opacity: 0; transform: translateY(6px); transition: opacity .12s ease, transform .12s ease; }

.gen-box, .done-box { padding: 40px 8px; text-align: center; }
.gen-ring { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.gen-ring span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); border-top-color: transparent; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-box h2, .done-box h1 { font-family: var(--f-serif); font-size: 23px; margin-bottom: 8px; }
.skeleton { display: flex; flex-direction: column; gap: 8px; margin: 20px auto; max-width: 320px; }
.skeleton span { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--bg-2), var(--line), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton span:nth-child(2) { width: 80%; }
.skeleton span:nth-child(3) { width: 62%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.done-mark {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok-soft); color: var(--ok);
}
.done-stats { display: flex; justify-content: space-around; gap: 10px; margin: 22px 0 26px; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.done-stats > div { display: flex; flex-direction: column; gap: 2px; }
.done-stats b { font-family: var(--f-serif); font-size: 22px; }
.done-stats span { font-size: 11.5px; color: var(--ink-3); }
.done-box .btn { margin-top: 10px; }

/* 我的 */
.profile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  margin: 4px 0 14px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
.pf-ava { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 18px; }
.pf-b { flex: 1; display: flex; flex-direction: column; }
.pf-b b { font-size: 16px; }
.pf-b span { font-size: 12.5px; color: var(--ink-3); }
.switch-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.switch-row:last-child { border-bottom: 0; }
.sr-b { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sr-b b { font-size: 13.5px; font-weight: 600; }
.sr-b span { font-size: 11.5px; color: var(--ink-3); }
.switch {
  position: relative;
  width: 46px; height: 28px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--line-2);
  cursor: pointer;
  transition: background .2s ease;
  flex: none;
}
.switch i {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s cubic-bezier(.3, .8, .3, 1.2);
}
.switch.on { background: var(--accent); }
.switch.on i { transform: translateX(18px); }
.perm-list { margin-top: 8px; }

.child-switch {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.child-switch::-webkit-scrollbar { display: none; }
.cs-tab {
  flex: none;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
}
.cs-tab.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cs-add { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed var(--line-2); background: none; cursor: pointer; color: var(--ink-3); }
.child-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--accent-soft), var(--surface) 60%);
  margin-bottom: 14px;
}
.cc-ava { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); font-weight: 700; }
.cc-b { flex: 1; display: flex; flex-direction: column; }
.cc-b b { font-size: 15.5px; }
.cc-b span { font-size: 12px; color: var(--ink-3); }
.quick3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.q3 {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  cursor: pointer;
}
.q3 span { font-size: 20px; }

/* 消息 */
.msg-row {
  display: flex; align-items: flex-start; gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.msg-ava { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-weight: 700; }
.msg-b { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.msg-h { display: flex; align-items: baseline; gap: 8px; }
.msg-h b { font-size: 14px; }
.msg-h em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-3); }
.msg-p { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.msg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.msg-row.unread .msg-h b { color: var(--accent); }
.chat { padding: 6px 0 90px; display: flex; flex-direction: column; gap: 10px; }
.chat-day { text-align: center; font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
}
.bubble.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.chat-input {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; gap: 8px;
  max-width: var(--col);
  margin: 0 auto;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  outline: none;
}

/* 搜索 */
.search-bar { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.search-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  font: inherit;
  font-size: 14.5px;
  outline: none;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.search-meta { font-size: 12px; color: var(--ink-3); padding: 2px 0 12px; }

/* ---------- 7. 弹层：遮罩 / 弹窗 / 抽屉 ---------- */
#overlay-host, #sheet-host, #drawer-host { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
#overlay-host.on, #sheet-host.on, #drawer-host.on { pointer-events: auto; }
.mask {
  position: absolute; inset: 0;
  background: rgba(20, 18, 15, .46);
  opacity: 0;
  transition: opacity .24s ease;
}
.mask.show { opacity: 1; }

.dialog {
  position: relative;
  margin: 12vh auto 0;
  width: min(420px, calc(100% - 40px));
  padding: 22px;
  border-radius: var(--r-3);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  animation: dlgIn .26s cubic-bezier(.2, .9, .25, 1);
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg-h { font-family: var(--f-serif); font-size: 19px; margin-bottom: 10px; }
.dlg-b { font-size: 14px; color: var(--ink-2); }
.dlg-p { margin: 0 0 12px; line-height: 1.7; }
.dlg-p.center { text-align: center; }
.dlg-f { display: flex; gap: 10px; margin-top: 18px; }
.dlg-f .btn { flex: 1; }

#sheet-host .sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: var(--col);
  margin: 0 auto;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: var(--shadow-3);
  transform: translateY(100%);
  will-change: transform;
}
#sheet-host .sheet.ready { transition: transform .34s cubic-bezier(.2, .9, .25, 1); }
#sheet-host .sheet.dragging { transition: none; }
.sheet-grab { padding: 10px 0 2px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet-grab span { width: 42px; height: 4px; border-radius: 2px; background: var(--line-2); }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 4px 18px 10px; }
.sheet-head h3 { flex: 1; font-size: 15px; }
.sheet-body { overflow-y: auto; padding: 4px 18px calc(22px + env(safe-area-inset-bottom)); }
.sheet-p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.sheet-job .sj-sum { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.sj-meta { display: flex; gap: 8px; margin-bottom: 14px; }
.sj-actions { display: flex; gap: 10px; margin-top: 16px; }
.sj-actions .btn { flex: 1; }
.sheet .stat-big { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 16px; }
.sheet .stat-big > div { display: flex; flex-direction: column; }
.sheet .stat-big b { font-family: var(--f-serif); font-size: 30px; }
.sheet .stat-big span { font-size: 11.5px; color: var(--ink-3); }

.drawer-intro { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); padding: 0 0 12px; }
.drawer-group { margin-bottom: 14px; }
.drawer-group-h { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); padding: 0 2px 6px; }
.drawer-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.dr-ico { width: 22px; text-align: center; color: var(--ink-3); }
.dr-t { flex: 1; }
.drawer-row.folded { display: none; }
.drawer-tip { font-size: 11.5px; color: var(--ink-3); padding-top: 12px; border-top: 1px dashed var(--line); }

#drawer-host .side-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92%);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  animation: drawerIn .28s cubic-bezier(.2, .9, .25, 1);
}
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } }
.sd-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sd-head h3 { flex: 1; font-size: 15px; }
.sd-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.sd-sec { margin-bottom: 14px; }
.sd-k { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.sd-v { font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.sd-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sd-foot .btn { flex: 1; }

#toast-host { position: fixed; left: 0; right: 0; bottom: 84px; z-index: 80; display: grid; place-items: center; pointer-events: none; }
.toast {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(27, 26, 23, .92);
  color: #F7F4ED;
  font-size: 13px;
  box-shadow: var(--shadow-2);
  animation: toastIn .22s ease;
}
.toast.err { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 8. 动效基础类（01/06/07/08） ---------- */
.glow { position: relative; }
.glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--glow-angle, 212deg), transparent 0deg, var(--accent) 60deg, transparent 120deg, transparent 240deg, var(--accent) 300deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: glowSpin 6s linear infinite;
  pointer-events: none;
}
.glow::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -14px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  filter: blur(12px);
  opacity: .55;
  animation: glowBreath 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowSpin { to { --glow-angle: 572deg; } }
@keyframes glowBreath { 50% { opacity: .9; transform: scaleY(1.18); } }
@property --glow-angle { syntax: "<angle>"; inherits: false; initial-value: 212deg; }

.tilt { will-change: transform; transition: transform .12s ease-out; transform-style: preserve-3d; }
.tilt .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }

.stag { opacity: 0; }
.stag-in { animation: stagIn .52s cubic-bezier(.22, .9, .25, 1) both; }
@keyframes stagIn {
  0% { opacity: 0; transform: translateY(14px); }
  62% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fallback-fade { animation: fadeOnly .3s ease both; }
@keyframes fadeOnly { from { opacity: 0; } }

/* ---------- 9. 教师端 / 校长端 ---------- */
.work { min-height: 100vh; }
.work-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.wt-brand { font-weight: 700; letter-spacing: .06em; display: flex; align-items: baseline; gap: 8px; }
.wt-brand small { font-weight: 400; font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.wt-nav { display: flex; gap: 4px; flex: 1; }
.wt-item {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: none;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
}
.wt-item.on { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-1); }
.wt-right { display: flex; align-items: center; gap: 10px; }
.wt-user { font-size: 13px; color: var(--ink-2); }
.work-body { max-width: 1080px; margin: 0 auto; padding: 24px 22px 60px; }

/* ---------- 10. 后台（深色） ---------- */
.admin {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}
.admin-nav {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
.an-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; font-weight: 700; }
.an-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: #1B1A17; font-weight: 700; }
.an-brand span small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-3); letter-spacing: .14em; }
.an-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.an-item:hover { background: var(--surface); color: var(--ink); }
.an-item.on { background: var(--surface); color: var(--accent); font-weight: 600; }
.an-ico { width: 16px; text-align: center; opacity: .8; }
.an-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 0; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.admin-main { min-width: 0; }
.admin-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 26px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.at-crumb { flex: 1; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-3); }
.at-right { display: flex; align-items: center; gap: 12px; }
.at-user { font-size: 13px; color: var(--ink-2); }
.admin-body { padding: 26px; max-width: 1180px; }
.admin-sec { animation: fadeOnly .3s ease both; }
.ah1 { font-family: var(--f-serif); font-size: 26px; margin-bottom: 6px; }
.ah2 { font-size: 14px; margin: 24px 0 10px; letter-spacing: .04em; }
.ah-sub { font-size: 12.5px; color: var(--ink-3); margin: 0 0 14px; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.kpi {
  padding: 16px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 4px;
}
.kpi-l { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }
.kpi-v { font-family: var(--f-serif); font-size: 26px; line-height: 1.2; }
.kpi-n { font-size: 11.5px; color: var(--ink-3); }
.kpi.warn .kpi-v { color: var(--danger); }
.kpi.ok .kpi-v { color: var(--ok); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl td:last-child { white-space: nowrap; }
.mono { font-family: ui-monospace, Consolas, "SFMono-Regular", monospace; font-size: 12px; white-space: nowrap; letter-spacing: -.01em; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--surface-2); }
.tbl.dense td, .tbl.dense th { padding: 10px 12px; }
.log-tbl td { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.filter-bar { display: flex; align-items: center; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.filter-bar .search-input { max-width: 320px; }
.over-mark {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.kb-layout { display: grid; grid-template-columns: 240px 1fr; gap: 18px; margin-top: 16px; }
.kb-tree { border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); padding: 10px; height: fit-content; }
.kb-node { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-size: 13px; text-align: left; cursor: pointer; }
.kb-node.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.kb-i { width: 12px; color: var(--ink-3); font-size: 10px; }
.kb-kids { padding: 2px 0 8px 22px; }
.kb-kid { display: block; width: 100%; padding: 6px 8px; border: 0; background: none; color: var(--ink-3); font-size: 12.5px; text-align: left; cursor: pointer; border-radius: 6px; }
.kb-kid:hover { background: var(--bg-2); color: var(--ink); }
.kb-content { min-width: 0; }
.kb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.kb-head h2 { font-family: var(--f-serif); font-size: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.adm-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}
.adm-card:hover { border-color: var(--accent); }
.adm-card b { font-size: 14px; }
.adm-card span { font-size: 12px; color: var(--ink-3); }
.bar-chart { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.bc-row { display: grid; grid-template-columns: 52px 1fr 44px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.bc-row i { height: 8px; border-radius: 4px; background: var(--accent); display: block; }
.bc-row em { font-style: normal; text-align: right; color: var(--ink-3); }

/* ---------- 11. D01–D08 演示页 ---------- */
.demo-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 22px 60px; }
.demo-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.dt-id { font-family: var(--f-serif); font-size: 40px; color: var(--accent); line-height: 1; }
.dt-t h1 { font-family: var(--f-serif); font-size: 22px; }
.dt-t span { font-size: 10.5px; letter-spacing: .18em; color: var(--ink-3); }
.demo-top .link-btn { margin-left: auto; }
.demo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.demo-stage {
  position: relative;
  min-height: 380px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(224, 128, 80, .10), transparent 70%),
    linear-gradient(160deg, #14161A, #0D0F12);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.demo-readout {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-self: start;
}
.ro-h { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em; color: var(--ink-3); margin-bottom: 16px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .28; } }
.ro-row { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ro-k { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); }
.ro-v { font-family: ui-monospace, Consolas, monospace; font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.ro-wave { margin: 14px 0; }
.wave { width: 100%; height: 40px; }
.wave polyline { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .7; }
.ro-note { font-size: 11px; color: var(--ink-3); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.demo-prompt { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line-2); background: var(--surface); }
.dp-k { font-size: 10.5px; letter-spacing: .18em; color: var(--ink-3); }
.demo-prompt p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.demo-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.dn-count { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-3); }
.stage-tip { font-size: 11.5px; color: rgba(255, 255, 255, .5); margin: 14px 0 0; text-align: center; }
.demo-stage .btn.mini { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }

.tilt-stage { width: 100%; display: grid; place-items: center; }
.tilt-card {
  position: relative;
  width: min(300px, 86%);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(150deg, #F3EFE6, #CFC6B6);
  color: #1B1A17;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transform-style: preserve-3d;
  overflow: hidden;
}
.tc-line { display: flex; flex-direction: column; }
.tc-k { font-size: 10px; letter-spacing: .18em; opacity: .55; }
.tc-h { font-family: var(--f-serif); font-size: 26px; }
.tc-meta { font-size: 11.5px; opacity: .6; }
.tc-arrow { position: absolute; right: 18px; bottom: 16px; font-size: 20px; opacity: .5; }

.morph-stage { width: 100%; display: grid; place-items: center; gap: 16px; }
.morph-pill {
  padding: 18px 30px;
  border-radius: 30px;
  border: 0;
  background: #F3EFE6;
  color: #1B1A17;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
}
.morph-pill.hidden { opacity: 0; pointer-events: none; height: 0; padding: 0; }
.morph-panel {
  width: min(320px, 92%);
  padding: 18px;
  border-radius: 24px;
  background: #F3EFE6;
  color: #1B1A17;
  display: none;
}
.morph-panel.on { display: block; animation: morphIn .42s cubic-bezier(.22, .9, .2, 1) both; }
@keyframes morphIn { from { transform: scale(.86); opacity: .4; border-radius: 30px; } }
.mp-h { font-family: var(--f-serif); font-size: 18px; margin-bottom: 6px; }
.mp-p { font-size: 12.5px; line-height: 1.7; color: #4A443C; }

.shared-stage { position: relative; width: 100%; display: grid; place-items: center; }
.shared-card {
  width: min(260px, 90%);
  border-radius: 20px;
  overflow: hidden;
  background: #15171B;
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease;
  color: #F0EBE1;
}
.shared-card.zoom { transform: scale(1.06); opacity: .2; }
.sc-img { height: 130px; display: grid; place-items: center; background: linear-gradient(160deg, #3C4A5A, #171B21); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.sc-meta { display: flex; justify-content: space-around; padding: 12px; font-size: 11.5px; border-top: 1px solid rgba(255, 255, 255, .08); }
.sc-btn { margin: 0 12px 14px; padding: 10px; border-radius: 10px; background: #E08050; color: #1B1A17; text-align: center; font-size: 13px; font-weight: 700; }
.shared-detail {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px;
  background: #EDE7DB;
  color: #1B1A17;
}
.shared-detail.on { display: flex; animation: sharedIn .4s cubic-bezier(.22, .9, .2, 1); }
@keyframes sharedIn { from { transform: scale(.9); opacity: 0; } }
.sd-img { height: 140px; border-radius: 14px; background: linear-gradient(160deg, #93A6B8, #3A4654); display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 12px; letter-spacing: .1em; }
.shared-detail h2 { font-family: var(--f-serif); font-size: 21px; margin: 14px 0 6px; }
.shared-detail p { font-size: 12.5px; color: #4A443C; }
.shared-detail .btn { margin-top: auto; }

.snap-stage { width: 100%; }
.snap-big { text-align: center; margin-bottom: 22px; }
.sb-k { font-size: 10px; letter-spacing: .22em; color: rgba(255, 255, 255, .5); }
.sb-v { font-family: var(--f-serif); font-size: 46px; color: #F3EFE6; line-height: 1.1; }
.sb-v em { font-size: 13px; font-style: normal; color: rgba(255, 255, 255, .55); margin-left: 6px; }
.snap-stage .snap { background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 16px; }
.snap-stage .ob-l, .snap-stage .snap-hint, .snap-stage .snap-node em { color: rgba(255, 255, 255, .55); }
.snap-stage .ob-v { color: #F3EFE6; }
.snap-stage .snap-track::before { background: linear-gradient(90deg, rgba(224, 128, 80, .5), rgba(255, 255, 255, .12)); }
.snap-stage .snap-node i { background: #171B21; border-color: rgba(255, 255, 255, .3); }

.sheet-stage { position: relative; width: 100%; height: 320px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #232A33, #12161B); }
.ss-bg { padding: 22px; }
.ss-title { font-family: var(--f-serif); font-size: 24px; color: #F3EFE6; }
.ss-sub { font-size: 11.5px; color: rgba(255, 255, 255, .5); letter-spacing: .06em; }
.demo-sheet {
  position: absolute; left: 0; right: 0; top: 96px; bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #EDE7DB;
  color: #1B1A17;
  box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .8);
}
.demo-sheet.dragging { transition: none; }
.ds-grab { padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: grab; touch-action: none; }
.ds-grab span { width: 40px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .2); }
.ds-grab em { font-style: normal; font-size: 12px; font-weight: 600; }
.ds-body { padding: 4px 18px 18px; }
.ds-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(0, 0, 0, .12); font-size: 12px; }
.anchor-scale { position: absolute; left: 12px; top: 6px; display: flex; gap: 14px; font-size: 9.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .35); }

.glow-stage { width: 100%; display: grid; place-items: center; }
.glow-card {
  position: relative;
  width: min(280px, 88%);
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1E232B, #12151A);
  color: #F3EFE6;
  border: 1px solid rgba(255, 255, 255, .08);
}
.gc-k { font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.gc-t { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 12px; }
.gc-v { font-family: var(--f-serif); font-size: 34px; }
.gc-v em { font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .5); }
.gc-curve { margin-top: 10px; }
.gc-curve path { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .8; }

.stagger-stage { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stagger-list { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.stagger-item {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #EDE7DB;
  opacity: 0;
}
.stagger-item.in { animation: stagIn .5s cubic-bezier(.22, .9, .25, 1) both; }
.si-img { width: 44px; height: 34px; border-radius: 8px; background: linear-gradient(140deg, #3A4654, #1D232B); display: grid; place-items: center; font-size: 14px; opacity: .9; }
.si-t { font-size: 13px; font-weight: 600; }
.si-s { font-size: 10.5px; color: rgba(255, 255, 255, .45); }

.press-stage { width: 100%; display: grid; place-items: center; }
.ps-card {
  width: min(300px, 92%);
  padding: 26px 22px;
  border-radius: 22px;
  background: #EFEBE2;
  color: #1B1A17;
  text-align: center;
}
.ps-k { font-size: 10px; letter-spacing: .24em; color: rgba(0, 0, 0, .45); }
.ps-t { font-family: var(--f-serif); font-size: 20px; margin: 6px 0 20px; }
.ps-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 0;
  background: #1B1A17;
  color: #F3EFE6;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.3, .7, .4, 1.5), box-shadow .16s ease;
}
.ps-btn:active { transform: scale(.96); box-shadow: inset 0 3px 12px rgba(0, 0, 0, .5); }

/* ---------- 12. 响应式与可访问性 ---------- */
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .kb-layout { grid-template-columns: 1fr; }
  .admin { grid-template-columns: 1fr; }
  .admin-nav {
    position: sticky; top: 0; height: auto;
    flex-direction: row; align-items: center; gap: 6px;
    overflow-x: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .an-brand { padding: 0 8px 0 4px; }
  .an-brand span small { display: none; }
  .an-item { white-space: nowrap; padding: 8px 10px; font-size: 12.5px; }
  .an-foot { display: none; }
  .admin-body { padding: 18px 16px 60px; }
  .admin-top { padding: 12px 16px; }
  .work-top { flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
  .wt-nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 420px) {
  :root { --pad: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .jh-name { font-size: 25px; }
  .slide { flex-basis: 92%; }
  .gap-row { grid-template-columns: 62px 1fr 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .press.pressing { transform: scale(.98); }
  .glow::before { animation: none; }
  .stagger-item, .stag { opacity: 1; }
}

/* 键盘可达性 */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 13. 打印（P28 导出） ---------- */
@media print {
  body { background: #fff; color: #000; }
  .topbar, .tabbar, .demo-mark, #toast-host, .chat-input { display: none !important; }
  .screen { max-width: none; padding-bottom: 0; }
  .blk { break-inside: avoid; border-color: #ccc; box-shadow: none; }
  .report-head { background: #f2f2f2 !important; color: #000 !important; }
  .btn, .link-btn { display: none !important; }
}

/* ============================================================
 * 动效修正（对应《开发需求文档 V5.0》2.6 / 效果 01 / 效果 06）
 * 1) 倾斜卡只在横向手势里生效，纵向滚动交给页面
 * 2) 被降级的元素统一淡入，不留空白
 * 3) 表格/日志不参与 07 交错
 * ============================================================ */
.tilt { touch-action: pan-y; }
.fallback-fade { animation: fadeOnly .32s ease both; }
.no-stagger, table tr, .tbl tr, .audit-row, .log-row { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; touch-action: auto; }
  .glow::before, .glow::after { animation: none !important; }
  .stag, .stag-in { animation: none !important; opacity: 1 !important; transform: none !important; }
}
/* 横向溢出兜底：卡片装饰伪元素（right:-30px）会把文档撑宽，
 * 导致窄屏下卡片与正文右侧被裁。锁住横向滚动，装饰仍可见。
 */
html, body { overflow-x: hidden; }
.track-card::after, .hero::after, .hero-track::after, .job-head::after { pointer-events: none; }
/* ============================================================
 * P07 门类：两列卡片 + 线性图标（不依赖 emoji 字体）
 * ============================================================ */
.subj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.subj-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 104px;
  padding: 14px 12px 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  transition: transform .12s ease, border-color .2s ease, box-shadow .2s ease;
}
.subj-card:active { transform: scale(.985); }
.subj-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sc-ico {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(0, 0, 0, .045);
  color: var(--accent);
}
.sc-ico svg { display: block; }
.sc-t { font-size: 14.5px; font-weight: 700; letter-spacing: .01em; }
.sc-m { font-size: 11.5px; color: var(--ink-3); line-height: 1.45; }
.emo { font-size: 20px; line-height: 1; }

/* 行内/卡片内的 SVG 图标统一尺寸与对齐 */
.row-ico svg, .tc-ico svg, .ht-ico svg, .ec-ico svg, .dr-ico svg { display: block; }
.ec-ico { color: var(--accent); }
.dr-ico { color: var(--ink-2, var(--ink-3)); }
.ht-ico { color: #fff; }
/* ============================================================
 * 极简版：去象形图标后的版式
 * 只在必要处保留功能性细线符号（返回 / 搜索 / 收藏 / 箭头）
 * ============================================================ */
.num {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.sc-ico, .ec-ico, .tc-idx { background: none; color: var(--ink-3); }
.sc-ico { width: auto; height: auto; display: block; }
.sc-t { margin-top: 2px; }
.subj-card { min-height: 96px; padding: 13px 13px 11px; gap: 4px; }
.tc-idx { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .12em; }
.tc-top { align-items: baseline; }

/* 星级 → 极简数值条 */
.meter { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.meter-n { font-family: var(--mono, ui-monospace, monospace); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.meter-n i { font-size: 11px; font-weight: 500; color: var(--ink-3); font-style: normal; margin-left: 1px; }
.meter-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--accent); }
.star-note { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
/* ============================================================
 * P10 岗位列表：筛选与排序条
 * ============================================================ */
.filter-bar { margin: 10px 0 6px; }
.fb-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fb-row::-webkit-scrollbar { display: none; }
.fb-k { flex: none; font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.fb-row .chip { flex: none; }
.chip.on { border-color: var(--accent); color: var(--accent); background: rgba(0,0,0,.03); }
.fb-n { flex: none; margin-left: auto; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* ============================================================
 * P44 搜索：命中高亮 / 结果统计 / 历史清空
 * ============================================================ */
.search-input mark, .row mark, mark {
  background: rgba(216, 154, 74, .26);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}
.search-meta { font-size: 12px; color: var(--ink-3); padding: 6px 0 2px; letter-spacing: .02em; }
.sec-h .link-btn {
  float: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  background: none;
  border: 0;
  padding: 0 2px;
  letter-spacing: .04em;
}
.sec-h .link-btn:active { opacity: .6; }
.blk .btn.block { margin-top: 10px; }
/* ============================================================
 * P46 按选科：组合结论 + 选择器
 * ============================================================ */
.xk-sum {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 10px 0 4px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface);
  font-size: 15px;
}
.xk-sum b { font-weight: 700; letter-spacing: .02em; }
.xk-n { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.xk-n b { font-size: 18px; color: var(--ink-1, var(--ink-2)); }
.chip.dim { opacity: .42; }
.p-xk .chips { gap: 8px; }
.p-xk .hero-q { margin-bottom: 6px; }
/* 赛道头图 / 岗位头部：选科要求 */
.ht-xk { margin: 6px 0 0; font-size: 12px; letter-spacing: .04em; opacity: .82; }
.jh-chips .chip { white-space: nowrap; }
/* ============ 角色预览条（临时：快速在五个角色的「我的」页之间切换） ============ */
.rolebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(70px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.rolebar::-webkit-scrollbar { display: none; }
.rolebar-h {
  flex: none;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding-right: 4px;
}
.rolebar-chip {
  flex: none;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.rolebar-chip.on {
  background: var(--ink-1);
  border-color: var(--ink-1);
  color: var(--bg);
}
.rolebar-fold {
  flex: none;
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
  background: none;
  border: none;
  cursor: pointer;
}
.rolebar.folded .rolebar-chip { display: none; }
.rolebar.folded .rolebar-h::after { content: '（已收起）'; }
@media print {
  .rolebar { display: none !important; }
}
/* ============ 岗位星级（1 夕阳收缩 → 5 前沿爆发） ============ */
.star-pill {
  display: inline-block;
  font-size: 11px;
  line-height: 1.6;
  padding: 0 6px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  vertical-align: 1px;
  letter-spacing: .02em;
}
.star-pill.s1 { color: #8a7f7f; background: rgba(138, 127, 127, .12); border-color: rgba(138, 127, 127, .3); }
.star-pill.s2 { color: #9a7b5a; background: rgba(154, 123, 90, .12); border-color: rgba(154, 123, 90, .3); }
.star-pill.s3 { color: var(--ink-2); background: rgba(0, 0, 0, .05); border-color: var(--line-2); }
.star-pill.s4 { color: #3f7d6a; background: rgba(63, 125, 106, .12); border-color: rgba(63, 125, 106, .3); }
.star-pill.s5 { color: #7a5cc4; background: rgba(122, 92, 196, .13); border-color: rgba(122, 92, 196, .32); }
.jh-star { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; flex-wrap: wrap; }
.jh-star .star-pill { font-size: 12px; padding: 1px 9px; }
.jh-star-note { font-size: 12px; color: var(--ink-3); }
/* ============ V7：与大学专业衔接 / 顾问团 ============ */
.blk-key { background: color-mix(in srgb, var(--accent, #7A96A0) 6%, transparent); border-radius: 14px; padding: 14px; }
.bridge-majors { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0 10px; }
.bm-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.bm-item b { font-size: 14px; }
.bm-item span { font-size: 12px; color: var(--ink-3); }
.adv-block { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
.adv-item { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-1, var(--line-2)); }
.adv-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.adv-role { font-size: 11px; padding: 1px 7px; border-radius: var(--r-pill); background: rgba(0,0,0,.06); color: var(--ink-2); }
.adv-title { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.adv-quote { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; line-height: 1.65; }
/* ============ V8：薪资表格 / 证书机构 / 细分点击 / 顾问团幻灯片 / 比赛列表 ============ */
.pay-table-wrap { overflow-x: auto; margin: 10px 0; -webkit-overflow-scrolling: touch; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pay-table th, .pay-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.pay-table thead th { font-weight: 600; color: var(--ink-3); font-size: 12px; background: rgba(0,0,0,.03); }
.pay-table tbody th { font-weight: 600; color: var(--ink-2); }
.pay-table td { color: var(--ink-1); font-variant-numeric: tabular-nums; }

.cert-row { border-bottom: 1px solid var(--line); }
.cert-row .row { border-bottom: none; }
.cert-contact { padding: 8px 12px 12px; font-size: 13px; color: var(--ink-2); line-height: 1.9; background: rgba(0,0,0,.02); border-radius: 0 0 10px 10px; }
.cert-cta { margin-top: 8px; }

.adv-slides { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.adv-slides::-webkit-scrollbar { display: none; }
.adv-card { flex: 0 0 118px; width: 118px; min-width: 118px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 5px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.adv-wrap { position: relative; }
.adv-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.92); color: var(--ink-2); font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.10); }
.adv-arrow-l { left: -2px; }
.adv-arrow-r { right: -2px; }
.adv-count { font-size: 11px; color: var(--ink-3); }
.adv-face { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8eef0, #cfdbe0); color: #4a5c63; font-style: normal; }
.adv-face i { font-style: normal; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.adv-name { font-size: 11.5px; color: var(--ink-1); text-align: center; line-height: 1.3; }
.adv-org { font-size: 10.5px; color: var(--ink-3); text-align: center; line-height: 1.25; }
.adv-big { display: flex; gap: 12px; align-items: center; }
.adv-face.big { width: 96px; height: 96px; flex: none; border-radius: 12px; }
.adv-face.big i { font-size: 30px; }
.adv-big-meta { display: flex; flex-direction: column; gap: 4px; }
.adv-big-meta b { font-size: 15px; }
.adv-big-meta span { font-size: 12px; color: var(--ink-3); }
.adv-big-meta em { font-size: 11px; color: var(--ink-2); font-style: normal; padding: 1px 8px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.06); align-self: flex-start; }

.comp-block { margin-top: 12px; }
.comp-h { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; letter-spacing: .04em; }
.comp-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.rank-list { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.9; }
.rank-list li b { font-weight: 600; }
.rank-list li span { color: var(--ink-3); font-size: 12px; margin-left: 6px; }

.pg-box { padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.02); }
.pg-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.pg-head b { font-size: 15px; }
.pg-head span { font-size: 12px; color: var(--ink-3); }
.pg-cta { margin-top: 10px; }
.adv-note { margin: 8px 2px 0; font-size: 12px; line-height: 1.75; color: var(--ink-3); }
/* ============ 专业页三个图标卡 / 细分对话框 ============ */
.major-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 16px; }
.m-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 14px 6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.m-tile b { font-size: 18px; font-weight: 600; color: var(--ink-1); }
.m-tile span { font-size: 12px; color: var(--ink-3); }
.major-tiles + .blk { margin-top: 0; }
/* ============ V9：专业四列 / 星级备注反白 / 考研胶囊 ============ */
.bridge-majors { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
.bridge-majors .bm-item { padding: 8px 6px; text-align: center; align-items: center; }
.bridge-majors .bm-item b { font-size: 12px; line-height: 1.3; }
.bridge-majors .bm-item span { font-size: 10px; line-height: 1.3; }
@media (max-width: 360px) { .bridge-majors { grid-template-columns: repeat(3, 1fr) !important; } }

.jh-star-note { color: rgba(255, 255, 255, .92) !important; }
.jh-pg { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; width: 100%;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .16);
  color: #fff; text-align: left; }
.jh-pg b { font-size: 13px; }
.jh-pg span { font-size: 12px; opacity: .9; }
.jh-pg em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .95; }
.rank-src { font-size: 11px; color: var(--ink-3); margin-bottom: 8px; line-height: 1.6; }
.rank-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.rank-i { flex: none; width: 22px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank-n { flex: 1; }
.rank-l { font-size: 11px; color: var(--ink-3); }
/* ============ V11：启动页 / 隐藏角色钮 / 右下更多钮 / 紧凑顾问团 ============ */
.splash { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 0 24px; }
.splash-brand { width: 100%; max-width: 420px; margin-top: -18vh; text-align: center; }
.splash-l1 { font-size: 30px; font-weight: 600; letter-spacing: .12em; color: var(--ink-1); }
.splash-l2 { margin-top: 10px; font-size: 13px; letter-spacing: .28em; color: var(--ink-3); }
.splash-mark, .splash-h, .splash-p, .splash-sub, .splash-load, .splash-tip { display: none !important; }

/* 角色预览：默认收起成右下角小钮，点开才展开 */
.rolebar { position: fixed; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); left: auto; z-index: 46;
  width: auto; padding: 0; border: none; background: none; backdrop-filter: none; overflow: visible; }
.rolebar-tog { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 92%, transparent);
  color: var(--ink-3); font-size: 13px; line-height: 1; }
.rolebar-body { display: none; }
.rolebar.on .rolebar-body { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; margin-bottom: 8px;
  border: 1px solid var(--line-2); border-radius: 12px; background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.rolebar.on .rolebar-tog { display: none; }
.rolebar-body .rolebar-chip { display: inline-block; }

/* 更多按钮：底部中央 → 右下角小圆钮，不挡内容 */
.tabbar { justify-content: flex-end; padding: 0 14px calc(14px + env(safe-area-inset-bottom)); background: none; }
.more-btn.dot { width: 40px; height: 40px; padding: 0; border-radius: 50%; justify-content: center;
  background: color-mix(in srgb, var(--bg) 92%, transparent); border: 1px solid var(--line-2); color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(0,0,0,.10); font-size: 15px; }
.screen { padding-bottom: 76px; }

/* 顾问团：紧凑（上下一段描述去掉、图缩小、留白 1/3） */
.adv-block { padding: 10px 12px; margin-bottom: 10px; }
.adv-block > .hint { display: none; }
.adv-slides { gap: 8px; padding: 2px 0 4px; }
.adv-card { padding: 6px 4px; border-radius: 10px; }
.adv-face { border-radius: 8px; }
.adv-face i { font-size: 17px; }
.adv-name { font-size: 11px; }
.adv-org { font-size: 10px; }
.adv-note { margin-top: 6px; font-size: 11px; line-height: 1.55; }
.adv-big-meta span, .adv-big-meta em { font-size: 11px; }
/* ============ 启动页排版（v13）：等宽双行 + ® + 细线 ============ */
.splash-brand {
  width: auto;
  max-width: none;
  margin-top: -16vh;
  text-align: center;
  display: inline-block;
  animation: splashIn .9s cubic-bezier(.22, .9, .25, 1) both;
}
@keyframes splashIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.splash-l1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .30em;
  margin-right: -.30em;      /* 抵消最后一个字后的字距，保证与第二行对齐 */
  color: var(--ink-1);
  line-height: 1.1;
}
.splash-r {
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 3px;
  color: var(--ink-3);
}

.splash-rule {
  width: 26px;
  height: 1px;
  margin: 14px auto 12px;
  background: var(--line-2);
  opacity: .9;
}

.splash-l2 {
  width: 100%;
  font-size: 11px;
  letter-spacing: .62em;
  color: var(--ink-3);
  text-align: justify;
  text-align-last: justify;
  line-height: 1.4;
}
/* 启动页微调（v15）：第二行字号略大、分隔线与文字组等宽 */
.splash-l2 { font-size: 13px; letter-spacing: .5em; }
.splash-rule { width: 100%; height: 1px; margin: 16px 0 14px; background: var(--line-2); opacity: .75; }
.fb-tip { margin: 8px 2px 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
/* 启动页行距收紧（v18） */
.splash-rule { margin: 10px 0 8px; }
.splash-l2 { line-height: 1.15; }
.splash-l1 { line-height: 1.05; margin-bottom: 0; }
/* 主页图标按钮：图标居中、线宽更细 */
.more-btn.dot svg { display: block; }
.more-btn.dot { color: var(--ink-2); }
.more-btn.dot svg path { stroke-width: 1.6; }
/* ============ 报告页：推荐岗位 6 个 ============ */
.rec-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
.rec-card { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); }
.rec-card .rc-top { display: flex; align-items: center; gap: 8px; }
.rec-card .rc-top b { font-size: 15px; font-weight: 600; color: var(--ink-1); }
.rec-card .rc-sum { font-size: 12px; color: var(--ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-card .rc-meta { font-size: 11px; color: var(--ink-3); }
.rec-card .rc-go { font-size: 12px; color: var(--accent, #3f7d6a); margin-top: 2px; }
/* ============ 方向页测评入口 ============ */
.test-entry { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left;
  padding: 14px 16px; margin: 4px 0 14px; border-radius: 14px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, rgba(63,125,106,.10), rgba(63,125,106,.02)); }
.test-entry .te-k { font-size: 11px; letter-spacing: .16em; color: var(--accent, #3f7d6a); }
.test-entry .te-t { font-size: 15px; font-weight: 600; color: var(--ink-1); }
.test-entry .te-s { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.test-entry .te-go { font-size: 12px; color: var(--accent, #3f7d6a); margin-top: 2px; }
.rc-why { font-size: 12px; color: var(--ink-2); line-height: 1.65; padding: 6px 8px; margin: 2px 0;
  background: rgba(63,125,106,.07); border-left: 2px solid rgba(63,125,106,.45); border-radius: 4px; }
/* ============ 测评落地页（收费产品视觉） ============ */
.ah-pro { padding: 22px 18px 18px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(122,92,196,.16), rgba(63,125,106,.10) 55%, rgba(0,0,0,0));
  border: 1px solid rgba(122,92,196,.22); }
.ah-pro .ah-badge { display: inline-block; font-size: 11px; letter-spacing: .14em; color: #7a5cc4;
  background: rgba(122,92,196,.12); border: 1px solid rgba(122,92,196,.26); border-radius: 999px; padding: 3px 10px; }
.ah-pro .ah-title { font-size: 26px; line-height: 1.28; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-1); margin: 12px 0 10px; }
.ah-pro .ah-lead { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.ah-pro .ah-price { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px;
  font-size: 12px; color: var(--ink-3); }
.ah-pro .ah-price b { color: #3f7d6a; font-weight: 600; }
.ah-pro .ah-price span { opacity: .5; }
.ah-cta .btn.primary { font-size: 15px; padding: 14px; border-radius: 12px; }
.ah-fine { margin: 8px 2px 0; font-size: 11px; line-height: 1.7; color: var(--ink-3); }
.ah-title br { display: block; }
/* ============ P24 付费落地页 ============ */
.pay-hero { padding: 24px 18px 20px; border-radius: 0 0 20px 20px;
  background: linear-gradient(160deg, #2a2438 0%, #3d3352 45%, #4a3a5e 100%); color: #fff; }
.pay-flag { display: inline-block; font-size: 11px; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px;
  color: #ffd9a0; border: 1px solid rgba(255,217,160,.45); background: rgba(255,217,160,.12); }
.pay-title { margin: 14px 0 8px; font-size: 27px; line-height: 1.3; font-weight: 700; letter-spacing: .01em; color: #fff; }
.pay-lead { margin: 0; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.6; }
.pay-hero-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.pay-hero-price em { font-style: normal; font-size: 15px; color: #ffd9a0; }
.pay-hero-price b { font-size: 34px; font-weight: 700; color: #ffd9a0; line-height: 1; }
.pay-hero-price s { font-size: 13px; color: rgba(255,255,255,.45); }
.pay-hero-price span { font-size: 11px; color: rgba(255,255,255,.6); margin-left: 4px; }

.pay-card { margin: 14px 12px; padding: 16px; border-radius: 16px; background: var(--bg);
  border: 1px solid rgba(122,92,196,.28); box-shadow: 0 8px 24px rgba(60,40,90,.08); }
.pc-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.pc-head b { font-size: 15px; color: var(--ink-1); }
.pc-head span { font-size: 11.5px; color: var(--ink-3); }
.pc-list { list-style: none; margin: 0 0 14px; padding: 0; }
.pc-list li { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px;
  line-height: 1.6; color: var(--ink-2); }
.pc-list li:last-child { border-bottom: none; }
.pc-list li i { font-style: normal; color: #3f7d6a; font-weight: 700; }
.pc-list li b { color: var(--ink-1); }
.pc-cta { font-size: 15px; padding: 14px; border-radius: 12px; }
.pc-note { margin: 10px 2px 0; font-size: 11px; line-height: 1.7; color: var(--ink-3); }

.pay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 96%, transparent); border-top: 1px solid var(--line-2);
  box-shadow: 0 -6px 18px rgba(0,0,0,.06); }
.pb-l { display: flex; align-items: baseline; gap: 5px; }
.pb-l em { font-style: normal; font-size: 13px; color: #b4623c; }
.pb-l b { font-size: 22px; font-weight: 700; color: #b4623c; }
.pb-l s { font-size: 12px; color: var(--ink-3); }
.pb-btn { flex: 1; padding: 13px; border-radius: 999px; border: none; font-size: 15px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, #b4623c, #8e4526); }
.pay-bar-hold { height: 76px; }
/* ============ 方向页「付费测评」入口卡（高级版：墨黑 + 香槟金） ============ */
.pay-entry { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left;
  padding: 11px 14px 10px; margin: 4px 0 10px; border-radius: 14px;
  border: 1px solid rgba(214,183,124,.26);
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(214,183,124,.16), transparent 58%),
    linear-gradient(158deg, #16181e 0%, #1f1d25 46%, #2a2430 100%);
  box-shadow: 0 12px 32px -14px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative; overflow: hidden; }
.pay-entry::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,183,124,.55), transparent); }
.pe-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pe-right { display: flex; flex-direction: row; align-items: center; gap: 8px; flex: none; }
.pe-mock { padding: 1px 7px; border-radius: 999px; font-size: 9.5px; line-height: 1.7;
  color: rgba(240,235,224,.66); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); }
.pe-mock:active { transform: scale(.95); }
.pe-line { font-size: 10.5px; color: rgba(240,235,224,.5); }
.pe-more { text-align: left; padding: 0; background: none; border: none; cursor: pointer;
  font-size: 10.5px; color: rgba(214,183,124,.82); }
.pe-flag { font-size: 9px; letter-spacing: .16em; padding: 1.5px 8px; border-radius: 3px;
  color: #d6b77c; border: 1px solid rgba(214,183,124,.4); background: rgba(214,183,124,.08); flex: none; }
.pe-price { font-size: 21px; font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(100deg, #f3e2bb 0%, #d6b77c 52%, #a9863f 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: baseline; gap: 3px; }
.pe-price em { font-style: normal; font-size: 13px; font-weight: 700; }
.pe-price s { font-size: 10px; font-weight: 400; color: rgba(255,255,255,.3); -webkit-text-fill-color: rgba(255,255,255,.34); }
.pe-price small { font-size: 11px; font-weight: 500; color: rgba(240,235,224,.62); -webkit-text-fill-color: rgba(240,235,224,.62); }
/* 展开后：标题不再单行省略 */
.pay-entry .pe-title { white-space: normal; }
.pe-title { font-size: 15px; line-height: 1.3; font-weight: 700; color: #f4f1ea; margin-top: 3px;
  letter-spacing: .01em; }
.pe-sub { font-size: 10.5px; color: rgba(240,235,224,.52); }
.pe-list { font-size: 10px; color: rgba(240,235,224,.45); line-height: 1.45; }
.pe-cta { margin-top: 7px; padding: 9px; border-radius: 999px; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: #201a10; background: linear-gradient(135deg, #f0dcae 0%, #d9bb84 45%, #b8935a 100%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 6px 18px -8px rgba(214,183,124,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.pe-cta:active { transform: scale(.985); }
/* ============ 报告：横向柱状图 ============ */
.hbars { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.hb-row { display: grid; grid-template-columns: 72px 1fr 30px; align-items: center; gap: 8px; }
.hb-l { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-t { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(63,125,106,.55), rgba(63,125,106,.9)); }
.hb-t i.hot { background: linear-gradient(90deg, #b4623c, #8e4526); }
.hb-v { font-size: 12px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
/* ============ 成长记忆：证据链 ============ */
.ev-block { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(63,125,106,.05); border: 1px solid rgba(63,125,106,.16); }
.ev-row { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ev-row:last-child { border-bottom: none; }
.ev-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ev-h b { font-size: 13px; color: var(--ink-1); }
.ev-h span { font-size: 11px; color: var(--ink-3); }
.ev-list { list-style: none; margin: 0 0 8px; padding: 0; }
.ev-list li { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--ink-2); padding: 3px 0; }
.ev-d { flex: none; width: 56px; color: var(--ink-3); font-size: 11px; }
.ev-t { flex: 1; }
.ev-s { flex: none; font-variant-numeric: tabular-nums; }
.ev-s.pos { color: #3f7d6a; }
.ev-s.neg { color: #b4623c; }
.ev-note { margin: 8px 0 0; font-size: 11px; color: var(--ink-3); line-height: 1.6; }
.ev-none { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--line-2); font-size: 12px; line-height: 1.7; color: var(--ink-2); }
/* 一句话记录 */
.note-in { width: 100%; box-sizing: border-box; margin: 8px 0 6px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; line-height: 1.6; color: var(--ink-1);
  resize: vertical; font-family: inherit; }
.note-in:focus { outline: none; border-color: rgba(63,125,106,.55); }
.note-chips { margin-bottom: 10px; }
/* ============ 成长教练对话端 ============ */
.chat-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 10px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 92%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg .bubble { padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; }
.msg.bot .bubble { background: var(--line-2); color: var(--ink-1); border-bottom-left-radius: 4px; }
.msg.me .bubble { background: rgba(63,125,106,.14); color: var(--ink-1); border-bottom-right-radius: 4px; }
.msg-jobs { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.chat-input { display: flex; gap: 8px; align-items: flex-end; }
.chat-input .note-in { margin: 0; flex: 1; }
.chat-send { flex: none; padding: 12px 16px; border-radius: 12px; }
/* ============ 入口卡：权益卷展栏残留样式（配色以「高级版」那段为准） ============ */
.pe-benefits { list-style: none; margin: 8px 0 4px; padding: 0; }
.pe-benefits li { display: flex; gap: 6px; align-items: flex-start; padding: 3px 0;
  font-size: 11.5px; line-height: 1.55; color: rgba(240,235,224,.74); }
.pe-benefits li i { font-style: normal; color: #d6b77c; flex: none; }
.pe-benefits li b { color: #f4f1ea; font-weight: 600; }
.ah-cta { font-size: 15.5px; padding: 14px; border-radius: 12px; }
/* 已解锁状态条（P24） */
.unlocked-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 12px;
  border-radius: 10px; background: rgba(63,125,106,.10); border: 1px solid rgba(63,125,106,.22); }
.ub-ok { flex: none; font-size: 11px; font-weight: 600; color: #fff; background: #3f7d6a;
  padding: 2px 8px; border-radius: 999px; }
.ub-t { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
/* ============ 报告柱状图：多彩配色（8 色循环） ============ */
.hbars .hb-row:nth-child(8n+1) .hb-t i { background: linear-gradient(90deg, #4f8f7b, #3f7d6a); }
.hbars .hb-row:nth-child(8n+2) .hb-t i { background: linear-gradient(90deg, #6187c4, #4a6fa5); }
.hbars .hb-row:nth-child(8n+3) .hb-t i { background: linear-gradient(90deg, #c97a52, #b4623c); }
.hbars .hb-row:nth-child(8n+4) .hb-t i { background: linear-gradient(90deg, #9a7fd8, #7a5cc4); }
.hbars .hb-row:nth-child(8n+5) .hb-t i { background: linear-gradient(90deg, #d6a043, #c08a2e); }
.hbars .hb-row:nth-child(8n+6) .hb-t i { background: linear-gradient(90deg, #55a3af, #3f8f9c); }
.hbars .hb-row:nth-child(8n+7) .hb-t i { background: linear-gradient(90deg, #bd6a86, #a34b6b); }
.hbars .hb-row:nth-child(8n)   .hb-t i { background: linear-gradient(90deg, #86a95a, #6b8f3f); }
/* 高分条：同色系更饱和一点，不用单独换色 */
.hbars .hb-row .hb-t i.hot { filter: saturate(1.25) brightness(.95); }
.hbars .hb-row .hb-t i { transition: width .5s cubic-bezier(.22,.9,.25,1); }
/* ============ 职能倾向刻度尺 ============ */
.orient-gauge { padding: 4px 2px 2px; }
.og-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.og-head b { font-size: 16px; color: var(--ink-1); }
.og-head span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.og-track { position: relative; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #7a5cc4 0%, #9a7fd8 30%, #d9d3c7 50%, #86a95a 70%, #3f7d6a 100%); }
.og-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: rgba(255,255,255,.0); }
.og-pin { position: absolute; top: 50%; width: 16px; height: 16px; margin-left: -8px; margin-top: -8px;
  border-radius: 50%; background: #fff; border: 2.5px solid var(--ink-1); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.og-ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.og-note { margin: 10px 0 4px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.og-why { margin: 0; font-size: 12px; color: var(--ink-3); }
.og-why b { color: var(--ink-2); }

/* 柱状图降饱和配色（v45）：同一个色系，饱和度压到 45% 左右 */
.hbars .hb-row:nth-child(8n+1) .hb-t i { background: linear-gradient(90deg, #6f9a8c, #5b8778); }
.hbars .hb-row:nth-child(8n+2) .hb-t i { background: linear-gradient(90deg, #7f93b4, #6a7f9f); }
.hbars .hb-row:nth-child(8n+3) .hb-t i { background: linear-gradient(90deg, #bf8f77, #a97a63); }
.hbars .hb-row:nth-child(8n+4) .hb-t i { background: linear-gradient(90deg, #9b8dbd, #84779f); }
.hbars .hb-row:nth-child(8n+5) .hb-t i { background: linear-gradient(90deg, #c7a970, #b39661); }
.hbars .hb-row:nth-child(8n+6) .hb-t i { background: linear-gradient(90deg, #7fa3aa, #6b8f96); }
.hbars .hb-row:nth-child(8n+7) .hb-t i { background: linear-gradient(90deg, #b08898, #997482); }
.hbars .hb-row:nth-child(8n)   .hb-t i { background: linear-gradient(90deg, #96a97f, #7f926b); }
.hbars .hb-row .hb-t i.hot { filter: none; }

/* ============ 职能倾向：静态节点轨道 ============ */
.snap-static { position: relative; padding: 34px 6px 8px; }
.snap-axis { position: absolute; left: 6px; right: 6px; top: 52px; height: 2px;
  background: linear-gradient(90deg, #d8d2e4, #e2dfd6, #cfdcc9); border-radius: 2px; }
.snap-item { position: absolute; top: 20px; transform: translateX(-50%); text-align: center; width: 56px; }
.snap-item b { display: block; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.snap-item i { display: block; width: 9px; height: 9px; margin: 6px auto 0; border-radius: 50%;
  background: #fff; border: 2px solid #b9b1ab; }
.snap-item em { display: block; margin-top: 22px; font-size: 10px; font-style: normal; color: var(--ink-3);
  line-height: 1.3; }
.snap-item.top b { color: #3f7d6a; font-size: 17px; font-weight: 700; }
.snap-item.top i { border-color: #3f7d6a; background: #3f7d6a; width: 11px; height: 11px; }
.snap-item.top em { color: var(--ink-2); font-weight: 600; }
.snap-tip { margin: 66px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
/* ============ 成长档案：导入区 ============ */
.imp-box { margin-top: 10px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 12px; background: rgba(63,125,106,.04); }
.imp-file { display: block; width: 100%; margin: 6px 0 10px; font-size: 12px; color: var(--ink-2); }
.imp-file::file-selector-button { margin-right: 10px; padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); font-size: 12px; }
/* ============ 版本更新提示条 ============ */
.ver-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-top)); font-size: 12.5px; color: #fff;
  background: linear-gradient(135deg, #3f7d6a, #2f6355); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.ver-bar span { flex: 1; line-height: 1.5; }
.ver-btn { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.16); color: #fff; font-size: 12.5px; }
.ver-x { flex: none; width: 26px; height: 26px; border: none; background: none; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1; }
/* ============ V2 测评页 ============ */
.v2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.v2-head b { font-size: 15px; color: var(--ink-1); }
.v2-sub { font-size: 11.5px; color: var(--ink-3); }
.v2-bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.v2-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4f8f7b, #3f7d6a); transition: width .3s ease; }
.v2-count { margin-top: 6px; font-size: 11px; color: var(--ink-3); text-align: right; }

.v2-q { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.v2-q:last-child { border-bottom: none; }
.v2-stem { font-size: 14px; line-height: 1.65; color: var(--ink-1); margin-bottom: 10px; }
.v2-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-opt { flex: 1 1 0; min-width: 60px; padding: 9px 4px; border-radius: 9px; font-size: 12px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); }
.v2-opt.on { border-color: #3f7d6a; background: rgba(63,125,106,.12); color: #2f6355; font-weight: 600; }

.v2-cand { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left;
  padding: 14px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); }
.v2-cand .vc-top { display: flex; align-items: baseline; justify-content: space-between; }
.v2-cand .vc-top b { font-size: 15.5px; color: var(--ink-1); }
.v2-cand .vc-score { font-size: 17px; font-weight: 700; color: #3f7d6a; }
.v2-cand .vc-meta { font-size: 11.5px; color: var(--ink-3); }
.v2-cand .vc-go { font-size: 12px; color: #3f7d6a; margin-top: 2px; }
/* V2 入口（P24 底部） */
.v2-entry { margin: 14px 0 4px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(122,92,196,.05); }
.v2-entry .ve-t { font-size: 13.5px; font-weight: 600; color: var(--ink-1); }
.v2-entry .ve-s { margin: 6px 0 10px; font-size: 12px; line-height: 1.65; color: var(--ink-3); }
/* V2 锁定方向提示 */
.v2-locked { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(63,125,106,.25); background: rgba(63,125,106,.07); }
.v2-locked b { font-size: 14px; color: #2f6355; }
.v2-locked span { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
/* V2 单赛道说明 */
.v2-single { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px;
  border: 1px solid rgba(63,125,106,.22); background: rgba(63,125,106,.06); }
.v2-single b { font-size: 15px; color: #2f6355; }
.v2-single span { font-size: 12px; line-height: 1.65; color: var(--ink-3); }
/* V2 单屏一题 */
.v2-one { padding: 8px 0 4px; }
.v2-one-stem { font-size: 19px; line-height: 1.6; font-weight: 600; color: var(--ink-1); margin: 6px 0 20px; }
.v2-one-opts { display: flex; flex-direction: column; gap: 10px; }
.v2-one-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); text-align: left;
  transition: transform .12s ease, border-color .12s ease; }
.v2-one-opt:active { transform: scale(.985); border-color: #3f7d6a; }
.v2-one-opt em { flex: 0 0 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12.5px; color: #3f7d6a; background: rgba(63,125,106,.12); font-weight: 700; }
.v2-one-opt span { font-size: 15px; color: var(--ink-1); }
/* 开发者模拟测试按钮 */
.dev-mock { display: block; width: 100%; margin-top: 10px; padding: 9px 12px; border-radius: 10px;
  border: 1px dashed var(--line-2); background: transparent; color: var(--ink-3);
  font-size: 11.5px; letter-spacing: .02em; }
.dev-mock:active { background: rgba(0,0,0,.03); }
/* 结果摘要文本框 */
.v2-copybox { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2);
  background: rgba(0,0,0,.015); font-size: 11.5px; line-height: 1.75; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; }
/* 筛选条：命中数 */
.filter-bar .chip-link em { font-style: normal; margin-left: 4px; font-size: 10.5px; opacity: .62; }
.filter-bar .fb-row { flex-wrap: wrap; row-gap: 6px; }
/* 偏好命中标记 */
.rc-pref { font-style: normal; color: #3f7d6a; }

/* 岗位卡薪资 */
.row-pay { font-weight: 600; color: #3f7d6a; }

/* 防横向溢出：顾问团横向滚动不应撑宽整页 */
html, body { overflow-x: hidden; }
.page { max-width: 100%; overflow-x: hidden; }
.advisor-row, .advisor-list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 筛选条：固定排序说明 */
.fb-sort { font-size: 11.5px; color: var(--ink-3); margin: 2px 0 8px; }
.filter-bar .fb-row { flex-wrap: wrap; row-gap: 6px; }
/* 筛选条：说明行独占一行，三行筛选各占一行 */
.filter-bar { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.filter-bar .fb-sort { display: block; width: 100%; font-size: 11.5px; color: var(--ink-3); margin: 0 0 4px; }
.filter-bar .fb-row { width: 100%; }
/* 免费体验：价格样式 */
.pe-price.free { color: #bff0d8; }
.pe-price.free s { color: rgba(255,255,255,.42); }
/* 分享海报 */
.share-out { margin-top: 10px; }
.share-tip { font-size: 11.5px; color: var(--ink-3); margin-bottom: 8px; }
.share-img { width: 100%; max-width: 320px; border-radius: 12px; display: block; margin: 0 auto 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14); }

/* ============ 服务中心（p51） ============ */
.svc-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; margin-bottom: 10px; background: var(--bg); }
.svc-card.svc-hero { border-color: rgba(63,125,106,.35); background: rgba(63,125,106,.05); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.svc-tag { font-size: 10.5px; letter-spacing: .08em; color: #2f6355; border: 1px solid rgba(63,125,106,.35);
  border-radius: 999px; padding: 2px 8px; }
.svc-tag-free { color: #8a5a1f; border-color: rgba(180,98,60,.45); background: rgba(180,98,60,.08); }
.svc-price { font-size: 17px; font-weight: 700; color: #2f6355; }
.svc-price em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.pe-price small { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.8); }
.svc-name { font-size: 16px; font-weight: 600; color: var(--ink-1); margin-bottom: 4px; }
.svc-who { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.svc-deliver { font-size: 12.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }
.svc-note { margin-top: 6px; font-size: 11px; color: var(--ink-3); text-align: center; }

.svc-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center; }
.svc-sheet { width: 100%; max-width: 560px; background: var(--surface); border-radius: 18px 18px 0 0;
  padding: 18px 18px 26px; max-height: 86vh; overflow-y: auto; }
.svc-x { border: none; background: transparent; color: var(--ink-3); font-size: 13px; }
.svc-field { display: block; margin: 12px 0; }
.svc-field span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.svc-field input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); font-size: 14px; color: var(--ink-1); }
.svc-result { margin-top: 12px; }
.svc-ok { font-size: 14px; color: var(--ink-1); margin-bottom: 6px; }
.svc-ok b { color: #2f6355; letter-spacing: .04em; }
.svc-ok2 { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.svc-consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 10px;
  font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.svc-consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; }

/* 机构清单 */
.inst-sort { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.inst-list { display: flex; flex-direction: column; }
.inst-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.inst-row:last-child { border-bottom: none; }
.inst-main { flex: 1 1 auto; min-width: 0; }
.inst-main b { display: block; font-size: 14px; color: var(--ink-1); }
.inst-meta { font-size: 11.5px; color: var(--ink-3); }
.inst-nums { display: flex; gap: 10px; flex: none; }
.inst-n { font-size: 10.5px; color: var(--ink-3); text-align: right; }
.inst-n b { display: block; font-size: 12.5px; color: var(--ink-1); }
.inst-empty { padding: 16px; border-radius: 12px; border: 1px dashed var(--line-2);
  font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.inst-empty span { color: var(--ink-3); font-size: 11.5px; }
.inst-demo { margin: 2px 0 10px; padding: 8px 10px; border-radius: 8px; font-size: 11.5px; line-height: 1.6;
  color: #8a5a1f; background: rgba(180,98,60,.09); border: 1px solid rgba(180,98,60,.22); }

/* 专家档位表 */
.tier-table { margin: 8px 0 10px; }
.tier-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.tier-row:last-child { border-bottom: none; }
.tier-n { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--ink-1); }
.tier-w { flex: 1 1 auto; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.tier-p { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: #2f6355; }
.svc-scope { margin: 10px 0 6px; padding: 12px 14px; border-radius: 12px; background: rgba(63,125,106,.06);
  border: 1px solid rgba(63,125,106,.22); font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.svc-scope b { display: block; color: var(--ink-1); font-size: 13px; }
.svc-scope span { display: block; }

/* 代金券（分类页主视觉，最显眼） */
.voucher-hero { margin: 12px 0 4px; padding: 18px 16px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, #8e4526, #b4623c 55%, #c9764a);
  box-shadow: 0 10px 24px -10px rgba(142,69,38,.55); color: #fff; }
.vh-label { font-size: 11.5px; letter-spacing: .18em; color: rgba(255,255,255,.82); }
.vh-num { font-size: 40px; font-weight: 800; letter-spacing: .02em; margin: 4px 0 4px; }
.vh-note { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.78); }
.cat-card { position: relative; }
.cat-coupon { font-size: 18px; font-weight: 800; color: #b4623c; display: flex; align-items: baseline; gap: 3px; }
.cat-coupon em { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--ink-3); }
.cat-courses { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 8px; }
.cat-course { font-size: 10.5px; color: var(--ink-2); background: rgba(0,0,0,.035);
  border-radius: 6px; padding: 2px 7px; }
.cat-nums { font-size: 11.5px; color: var(--ink-3); margin-bottom: 10px; }

/* 岗位页：机构券卡（岗前实训 / 考研路径共用） */
.mini-card.instc { padding-bottom: 12px; }
.ic-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.ic-top b { font-size: 14px; color: var(--ink-1); }
.ic-coupon { font-size: 16px; font-weight: 800; color: var(--gold); flex: none; }
.ic-coupon em { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--ink-3); }
.instc .btn { margin-top: 8px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 7px; }
.tg { font-size: 10.5px; color: var(--ink-2); background: rgba(0,0,0,.035); border-radius: 6px; padding: 2px 7px; }

/* 方向页三张榜单 */
.rank-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.rank-card { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); }
.rank-card b { font-size: 14px; color: var(--ink-1); }
.rank-card span { font-size: 12px; color: var(--ink-3); }
.rank-card em { font-style: normal; font-size: 11.5px; color: var(--green); margin-top: 4px; }
.svc-field select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); font-size: 14px; color: var(--ink-1); }
.inst-n b { display: block; }
/* 券按钮：行内小胶囊，不独占一行 */
.instc-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
.instc-foot .mc-s, .instc-foot .cat-nums { margin:0; flex:1 1 auto; min-width:0; }
.mini-cta { flex:none; padding:6px 12px; border-radius:999px; font-size:12px; font-weight:700;
  color:#fff; background:#3f7d6a; border:1px solid #3f7d6a; white-space:nowrap; }
.mini-cta:active { transform:scale(.95); }

/* 「找个人问问」：按钮行内靠右，换成蓝绿（与代金券的金绿区分） */
.consult-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consult-txt { margin: 0; flex: 1 1 auto; min-width: 0; }
.mini-cta.consult-cta { background: #2f6b8a; border-color: #2f6b8a; }

/* 工具 / 证书并排（证在右） */
/* 工具与证书：上下排列（左右并排不好看，已改回单列） */
.duo-row { display: block; }
.duo-row > .blk { margin: 0; min-width: 0; }

.duo-row .sec-h { font-size: 11.5px; }
.duo-row .row-t { font-size: 13px; }
.duo-row .row-meta { font-size: 11px; }

/* 案例库：左右翻页箭头 */
.case-wrap { position: relative; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.case-nav { display: flex; gap: 6px; flex: none; }
.case-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink-2); font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center; }
.case-arrow-l { }
.case-arrow-r { }

/* 服务中心：专家分类 tab（高校 / 企业） */
.tabs { display: flex; gap: 8px; margin: 8px 0 10px; }
.tab { flex: 1; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: 13px; color: var(--ink-2); text-align: center; cursor: pointer; }
.tab.on { background: rgba(63,125,106,.1); border-color: #3f7d6a; color: #2f6355; font-weight: 700; }
.tab:active { transform: scale(.98); }

/* 翻页到两端时变淡 */
.case-arrow.is-off { opacity: .35; pointer-events: none; }

.case-thumb { scroll-snap-align: start; -webkit-user-select: none; user-select: none; }

/* 四年路径：分段步进器（大一~大四） */
.path-head { padding-bottom: 4px; }
.ph-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.ph-step { display: flex; align-items: center; justify-content: center;
  padding: 11px 0; border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink-2); cursor: pointer;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.ph-step span { color: var(--ink-2); }
.ph-step.done { border-color: rgba(63,125,106,.4); background: rgba(63,125,106,.07); color: #2f6355; }
.ph-step.done span { color: rgba(47,99,85,.8); }
.ph-step.on { background: #2f6355; border-color: #2f6355; color: #fff; box-shadow: 0 4px 12px -6px rgba(47,99,85,.6); }
.ph-step.on span { color: #fff; }
.ph-step:active { transform: scale(.97); }
