/* ============================================================
   睿道人才 · 学生端样式（响应式：手机 / 平板 / 电脑一套代码）
   ============================================================ */
:root {
  --bg: #eef2f8;
  --bg-2: #e4eaf4;
  --card: #ffffff;
  --ink: #16203a;
  --ink-2: #33405c;
  --muted: #7482a0;
  --line: #e2e8f2;
  --line-2: #d3dbe9;
  --brand: #17458f;
  --brand-2: #2a6ed0;
  --brand-soft: #e8f0fd;
  /* 铁路视觉：深蓝路基色 / 银灰钢轨色 / 信号红（涨跌与警示共用 --accent） */
  --rail: #0e2f6b;
  --rail-2: #93a9ca;
  --rail-silver: #cfdae8;
  --rail-band: rgba(255, 255, 255, .42);
  --accent: #d92b2f;
  --accent-soft: #fdeaea;
  --ok: #12956a;
  --ok-soft: #e5f6ef;
  --warn: #d98414;
  --warn-soft: #fdf2e0;
  --danger: #d92b2f;
  --danger-soft: #fdeaea;
  --shadow: 0 1px 2px rgba(22, 32, 58, .05), 0 8px 24px rgba(22, 32, 58, .07);
  --shadow-lg: 0 12px 40px rgba(22, 32, 58, .14);
  --r: 14px;
  --r-sm: 9px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.guard { user-select: none; -webkit-user-select: none; }

#app { min-height: 100%; }
#view { padding-bottom: 66px; }   /* 为底部导航留出安全距离 */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.hide { display: none !important; }

/* ------------------------------ 通用组件 ------------------------------ */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  padding: 18px; margin-bottom: 14px;
}
.card.tight { padding: 14px; }
.card-title { font-size: 16px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.card-title .bar { width: 4px; height: 15px; border-radius: 3px; background: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

button, .btn {
  font: inherit; cursor: pointer; border: none; border-radius: var(--r-sm);
  padding: 10px 16px; background: var(--brand); color: #fff;
  font-weight: 600; transition: .15s; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
button:hover, .btn:hover { background: #123a7a; }
button:active { transform: translateY(1px); }
button.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
button.ghost:hover { background: var(--brand-soft); border-color: #b9cdea; color: var(--brand); }
button.soft { background: var(--brand-soft); color: var(--brand); }
button.soft:hover { background: #d8e6fb; }
button.danger { background: var(--danger); }
button.danger:hover { background: #b91f23; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.block { width: 100%; }
button.sm { padding: 7px 12px; font-size: 13px; }
button.lg { padding: 13px 22px; font-size: 16px; }

input, select, textarea {
  font: inherit; width: 100%; padding: 11px 13px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(42,110,208,.14); }
label.fld { display: block; margin-bottom: 12px; }
label.fld > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand);
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.gray { background: #eef1f6; color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 34px 10px; font-size: 14px; }
.empty .emo { font-size: 34px; display: block; margin-bottom: 8px; opacity: .7; }

/* --------------------------------- 登录 -------------------------------- */
.login-bg {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; padding: 28px 18px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(920px 470px at 6% -14%, #dbe7fa 0%, transparent 62%),
    radial-gradient(780px 430px at 104% 112%, #f7e3e3 0%, transparent 58%),
    linear-gradient(180deg, #f4f8fe 0%, var(--bg) 100%);
}
/* 极淡的斜纹，给纯色背景一点织物般的质感，不抢视觉 */
.login-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(118deg, rgba(23,69,143,.04) 0 2px, transparent 2px 24px);
}
.login-card {
  position: relative; width: 100%; max-width: 404px; overflow: hidden;
  background: #fff; border-radius: 22px; padding: 0 30px 30px;
  box-shadow: 0 18px 50px rgba(22,32,58,.16), 0 2px 6px rgba(22,32,58,.05);
  animation: lgIn .42s cubic-bezier(.22,.9,.32,1) both;
}
@keyframes lgIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
/* 卡片顶部品牌色条 */
.login-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 58%, var(--accent) 100%);
}
.lg-head { padding: 34px 0 22px; text-align: center; }
.lg-mark {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 31px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(23,69,143,.3);
}
.lg-head h1 { font-size: 23px; margin: 0; letter-spacing: 2px; color: var(--ink); }
.lg-head p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); letter-spacing: .6px; }

.lg-form label.fld { margin-bottom: 14px; }
.lg-form label.fld > span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .4px; }
.fld-ic { position: relative; }
.fld-ic > i {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  display: flex; font-style: normal; color: var(--muted); pointer-events: none;
}
.fld-ic > i svg { display: block; }
.fld-ic > input { padding-left: 40px; height: 46px; border-radius: 11px; transition: .15s; }
.fld-ic > input:hover { border-color: #c2cfe3; }
.fld-ic:focus-within > i { color: var(--brand-2); }

/* 两端登录按钮共用：学生端 #loginBtn、管理端 #go */
#loginBtn, #go {
  width: 100%; height: 48px; margin-top: 8px; border-radius: 12px;
  font-size: 15.5px; font-weight: 700; letter-spacing: 6px; text-indent: 6px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 10px 24px rgba(23,69,143,.26);
}
#loginBtn:hover, #go:hover {
  background: linear-gradient(135deg, #123a7a 0%, #2565c4 100%);
  transform: translateY(-1px); box-shadow: 0 12px 28px rgba(23,69,143,.32);
}
#loginBtn:active, #go:active { transform: translateY(0); }
#loginBtn:disabled, #go:disabled { opacity: .72; transform: none; box-shadow: 0 6px 16px rgba(23,69,143,.18); }

.lg-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.lg-foot > div { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.lg-foot > div + div { margin-top: 7px; }
.lg-foot > div > i { display: flex; flex: none; margin-top: 2px; color: #9aa7c0; font-style: normal; }
.lg-foot > div > i svg { display: block; }
.lg-copy { position: relative; font-size: 12px; color: #93a0ba; letter-spacing: .6px; }

@media (max-width: 420px) {
  .login-card { padding: 0 22px 24px; border-radius: 18px; }
  .lg-head { padding: 28px 0 18px; }
  .lg-mark { width: 56px; height: 56px; font-size: 28px; }
  .lg-head h1 { font-size: 21px; }
}

/* --------------------------------- 顶栏 -------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: 960px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.topbar .brand { margin: 0; }
.topbar .brand-mark { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
.topbar .brand h1 { font-size: 16px; }
.topbar .brand p { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none; }

/* --------------------------------- 首页 -------------------------------- */
/* 主视觉：深蓝路基 + 钢轨银装饰 + 动车剪影（HTML 里内联 SVG） */
.hero {
  background:
    radial-gradient(560px 280px at 88% -34%, rgba(255, 255, 255, .16), transparent 68%),
    linear-gradient(135deg, var(--rail) 0%, var(--brand) 48%, #2a6ed0 100%);
  border-radius: var(--r); padding: 20px 18px 0; color: #fff; margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(23, 69, 143, .24); position: relative; overflow: hidden;
}
/* 顶部一道高光细线，像接触网导线 */
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .58) 28%, rgba(255, 255, 255, .58) 72%, transparent);
}
/* 右上角的弧光，预留出动车剪影的位置 */
.hero::after {
  content: ''; position: absolute; right: -46px; top: -46px; width: 178px; height: 178px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: -84px 104px 0 -40px rgba(255, 255, 255, .06);
}
.hero h2 { margin: 0 0 4px; font-size: 19px; position: relative; }
.hero p { margin: 0; opacity: .88; font-size: 13px; position: relative; }
.hero .hero-head { position: relative; z-index: 1; padding-bottom: 2px; }
/* 动车组剪影：贴在 hero 右上，纯装饰不挡内容（压在最底层） */
.hero .hero-train {
  position: absolute; right: -14px; top: 2px; width: 164px; height: auto;
  opacity: .52; pointer-events: none; z-index: 0;
}
@media (max-width: 420px) { .hero .hero-train { width: 132px; opacity: .46; right: -12px; } }
@media (max-width: 340px) { .hero .hero-train { display: none; } }

/* 铁轨装饰带：上层两根钢轨（水平色带），下层枕木（竖条重复） */
.rail-band {
  height: 26px; margin: 0 -18px; position: relative; z-index: 1;
  background:
    linear-gradient(180deg,
      transparent 0 6px, var(--rail-band) 6px 8px,
      transparent 8px 17px, var(--rail-band) 17px 19px, transparent 19px 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .20) 0 6px, transparent 6px 30px);
  opacity: .8;
}
@media (max-width: 420px) { .rail-band { margin: 0 -18px; height: 22px; } }

/* 统计：仪表盘味道（等宽数字 + 顶部刻度线） */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 14px; position: relative; z-index: 1; }
.stat {
  background: rgba(255, 255, 255, .12); border-radius: 11px; padding: 9px 8px 8px; text-align: center;
  border: 1px solid rgba(255, 255, 255, .10); position: relative; overflow: hidden;
}
.stat::before {
  content: ''; position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  width: 22px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .38);
}
.stat b { display: block; font-size: 21px; line-height: 1.28; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11px; opacity: .84; }

/* ------------------------- 首页滚动宣传图（轮播） ------------------------- */
.banner-wrap { margin-bottom: 14px; }
.banner-view {
  position: relative; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); background: var(--rail);
  aspect-ratio: 16 / 9; max-height: 300px; touch-action: pan-y;
}
@media (min-width: 700px) { .banner-view { max-height: 340px; } }
.banner-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.banner-item { flex: 0 0 100%; height: 100%; position: relative; cursor: pointer; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-item.plain { cursor: default; }
.banner-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 44, .80));
  pointer-events: none;
}
.banner-cap .bt { font-weight: 800; font-size: 15.5px; line-height: 1.4; }
.banner-cap .bs { font-size: 12px; opacity: .86; margin-top: 2px; line-height: 1.5; }
.banner-dots { position: absolute; right: 11px; bottom: 11px; display: flex; gap: 5px; }
.banner-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .48);
  cursor: pointer; transition: .2s;
}
.banner-dots i.on { background: #fff; width: 15px; border-radius: 3px; }
.banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  background: rgba(6, 20, 44, .44); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; opacity: 0; transition: .2s; border: none; padding: 0;
}
.banner-view:hover .banner-nav { opacity: 1; }
.banner-nav:hover { background: rgba(6, 20, 44, .68); }
.banner-nav.l { left: 9px; } .banner-nav.r { right: 9px; }
/* 手机端没有 hover，也不适合放按钮，靠手势滑动 */
@media (max-width: 640px) { .banner-nav { display: none; } }
.banner-solo { cursor: pointer; }

/* --------------------- 模拟面试：点条目直接开考（quickStart） --------------------- */
.node-card.quick { border-color: #f0d9b4; background: linear-gradient(180deg, #fffbf4, #fff); }
.node-card.quick .n { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.node-card.quick .go-badge {
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 2px 9px; border-radius: 999px; white-space: nowrap;
}
.node-card.quick .quick-hint { font-size: 11.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.node-card.quick .alt-link { color: var(--brand); font-weight: 700; cursor: pointer; white-space: nowrap; }
.node-card.quick .alt-link:hover { text-decoration: underline; }
/* 面试开场弹窗里的说明块 */
.interview-note {
  background: linear-gradient(135deg, #fff8ec, #fdf1e0); border: 1px solid #f3ddbd;
  border-radius: var(--r-sm); padding: 11px 13px; font-size: 12.5px; color: #7a5410; line-height: 1.65;
  margin-bottom: 12px;
}

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.mod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; cursor: pointer; transition: .16s; box-shadow: var(--shadow);
}
.mod-card:hover { border-color: #b9cdea; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.mod-card .n { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.mod-card .m { display: flex; gap: 6px; flex-wrap: wrap; }
.mini { font-size: 11.5px; padding: 1px 7px; border-radius: 6px; background: #f1f4f9; color: var(--ink-2); }

.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: none; }
.list-item .ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--brand-soft); }
.list-item .ic.red { background: var(--accent-soft); }

/* --------------------------- 专业分类（按专业刷题） --------------------------- */
.cat-block { margin-bottom: 12px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-name {
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .4px;
  margin-bottom: 7px; display: flex; align-items: center; gap: 6px;
}
.cat-name::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: var(--brand-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip {
  padding: 8px 13px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.pchip:hover { border-color: #b9cdea; }
.pchip.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(23,69,143,.28); }
.pchip .n { font-size: 11px; opacity: .75; font-weight: 500; }
.pchip.on .n { opacity: .85; }

.mod-card.all { border: 1.5px dashed var(--brand-2); background: linear-gradient(180deg, #f5f9ff, #fff); }
.mod-card .badge-all { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 600; }

.prof-hint {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font-size: 12.5px; margin-bottom: 12px; font-weight: 600;
}
.prof-hint.go { cursor: pointer; transition: .15s; }
.prof-hint.go:hover { background: #dbe7fa; }

/* --------------------- 四大类入口 & 逐级下钻 --------------------- */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 780px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.tier-card {
  display: flex; align-items: center; gap: 12px; padding: 15px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  cursor: pointer; transition: .16s; position: relative; overflow: hidden;
}
.tier-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand);
}
.tier-card:hover { border-color: #b9cdea; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tier-card .tci {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: flex;
  align-items: center; justify-content: center; font-size: 21px; background: #f1f4f9;
}
.tier-card .tcb { min-width: 0; flex: 1; }
.tier-card .tct { font-weight: 800; font-size: 15.5px; margin-bottom: 3px; }
.tier-card .tcl { font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.tier-card .tcm { display: flex; gap: 6px; flex-wrap: wrap; }
.tier-card .tcgo { color: var(--muted); font-size: 20px; font-weight: 700; flex: none; }
.tier-card .mini.warn { background: var(--warn-soft); color: var(--warn); }
.tier-card.off { opacity: .82; }
.tier-card.off::before { background: var(--line-2); }
.tc-blue::before { background: #17458f; }
.tc-blue .tci { background: #e8effb; }
.tc-violet::before { background: #6b46c1; }
.tc-violet .tci { background: #f0eafc; }
.tc-orange::before { background: #d98414; }
.tc-orange .tci { background: var(--warn-soft); }
.tc-green::before { background: #12956a; }
.tc-green .tci { background: var(--ok-soft); }
.tc-teal::before { background: #0f8b8d; }
.tc-teal .tci { background: #e0f2f2; }

.node-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; cursor: pointer; transition: .16s;
}
.node-card:hover { border-color: #b9cdea; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.node-card .n { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; line-height: 1.45; }
.node-card .m { display: flex; gap: 6px; flex-wrap: wrap; }
.node-card .mini.warn { background: var(--warn-soft); color: var(--warn); }
.node-card.off { background: #fafbfe; }
.node-card.off .n { color: var(--muted); font-weight: 600; }

.crumbs {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; margin-bottom: 12px; color: var(--muted);
}
.crumbs .cb { cursor: pointer; padding: 3px 8px; border-radius: 7px; background: #f1f4f9; color: var(--ink-2); font-weight: 600; }
.crumbs .cb:hover { background: var(--brand-soft); color: var(--brand); }
.crumbs .cb.cur { background: var(--brand); color: #fff; cursor: default; }
.crumbs i { font-style: normal; color: var(--line-2); }

.cur-prof {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px; background: #f7f9fd;
  border: 1px solid var(--line); margin-bottom: 12px;
}
.cur-prof .cpn { font-weight: 800; font-size: 15px; color: var(--brand); }
.cur-prof .cpm { font-size: 12px; color: var(--muted); }

@media (max-width: 420px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier-card .tci { width: 36px; height: 36px; font-size: 19px; }
}

/* -------------------------------- 答题页 ------------------------------- */
.quiz-top {
  position: sticky; top: 0; z-index: 45; background: #fff; border-bottom: 1px solid var(--line);
  padding: 9px 0 8px;
}
.quiz-top .ttl { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; padding: 3px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); flex: none; }
.timer.danger { background: var(--danger-soft); color: var(--danger); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.progress-line { height: 3px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.progress-line > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); width: 0; transition: width .25s; }

.q-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.q-no { font-weight: 800; color: var(--brand); font-size: 15px; }
.q-stem { font-size: 16.5px; line-height: 1.75; font-weight: 600; color: var(--ink); margin-bottom: 16px; word-break: break-word; }
.marks { margin-left: auto; display: flex; gap: 6px; }

.opt {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 14px; border-radius: 11px;
  border: 1.5px solid var(--line-2); background: #fff; margin-bottom: 10px; cursor: pointer; transition: .14s;
}
.opt:hover { border-color: #a9c2e6; background: #fafcff; }
.opt.sel { border-color: var(--brand-2); background: var(--brand-soft); }
.opt .k {
  width: 25px; height: 25px; border-radius: 50%; flex: none; border: 1.5px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--ink-2); background: #fff;
}
.opt.sel .k { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.opt .v { flex: 1; word-break: break-word; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.right .k { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--danger); background: var(--danger-soft); }
.opt.wrong .k { background: var(--danger); border-color: var(--danger); color: #fff; }
.opt.dim { opacity: .62; }

.feedback { border-radius: 11px; padding: 12px 14px; margin-top: 14px; font-size: 14px; border-left: 4px solid; }
.feedback.ok { background: var(--ok-soft); border-color: var(--ok); }
.feedback.bad { background: var(--danger-soft); border-color: var(--danger); }
.feedback b { display: block; margin-bottom: 5px; }
.feedback .exp { color: var(--ink-2); line-height: 1.7; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0,0,0,.1); }

.textarea-wrap textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.answer-ref { background: #f7f9fd; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; }

/* 填空题作答区：一空一行 */
.fill-wrap { display: flex; flex-direction: column; gap: 9px; }
.fill-row { display: flex; align-items: center; gap: 9px; }
.fill-no { flex: 0 0 auto; font-size: 12.5px; color: var(--muted); background: #f2f5fa; border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; }
.fill-in { flex: 1 1 auto; min-width: 0; }

.quiz-foot {
  position: sticky; bottom: 0; z-index: 45; background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 10px 0 calc(10px + var(--safe-b));
}
.quiz-foot .row { gap: 8px; }

/* 答题卡抽屉 */
.sheet-mask { position: fixed; inset: 0; background: rgba(16,24,42,.45); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 620px; border-radius: 18px 18px 0 0; padding: 18px; max-height: 78vh; overflow: auto; }
@media (min-width: 700px) { .sheet-mask { align-items: center; } .sheet { border-radius: 18px; } }
.sheet h3 { margin: 0 0 4px; font-size: 16px; }
/* 题目反馈弹窗 */
.rp-q { background: #f7f9fd; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font-size: 13.5px; }
/* 两列排布：5 个类型单列要占 338px，弹窗在小屏上得滚动才能看到提交按钮 */
.rp-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
@media (max-width: 420px) { .rp-kinds { grid-template-columns: 1fr; } }
.rp-kind {
  display: flex; gap: 9px; align-items: flex-start; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 10px; padding: 9px 11px; transition: .15s;
}
.rp-kind:hover { border-color: #a9c2e6; background: #fafcff; }
/* 注意：全局 input 是 width:100% + padding，直接用会把单选钮撑成整行宽，
   把旁边的文字挤到逐字换行（实测每项被撑到 300px 高）。这里必须重置。 */
.rp-kind input { width: auto; padding: 0; margin: 3px 0 0; flex: none; accent-color: var(--brand-2); }
.rp-kind:has(input:checked) { border-color: var(--brand-2); background: var(--brand-soft); }
.rp-kind b { font-size: 13.5px; }
/* 我的题目反馈（学生端「我的」页） */
.mrep { border-top: 1px dashed var(--line-2); padding: 10px 0 8px; }
.mrep:first-of-type { border-top: 0; }
.mrep-stem { font-size: 13.5px; font-weight: 600; line-height: 1.55; margin: 5px 0 4px; }
.mrep-reply {
  margin-top: 7px; padding: 8px 10px; border-radius: 9px; font-size: 13px; line-height: 1.6;
  background: var(--brand-soft); border-left: 3px solid var(--brand-2);
}

.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 4px; vertical-align: -1px; }
.dot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 9px; }
.dot {
  aspect-ratio: 1; border-radius: 9px; border: 1.5px solid var(--line-2); background: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ink-2);
}
.dot.done { background: var(--brand-soft); border-color: #b9cdea; color: var(--brand); }
.dot.mark { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
.dot.cur { outline: 2px solid var(--brand-2); outline-offset: 1px; }

/* 水印 */
.watermark { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; opacity: .07; }
.watermark span {
  position: absolute; font-size: 13px; white-space: nowrap; transform: rotate(-28deg);
  color: #0b1e42; font-weight: 700; letter-spacing: 1px;
}

/* 违规提示 */
.guard-alert {
  position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 80;
  background: var(--danger); color: #fff; padding: 10px 18px; border-radius: 11px;
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: 92vw; text-align: center;
}
.guard-bar { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.guard-bar .it { display: inline-flex; align-items: center; gap: 3px; }
.guard-bar .it.on { color: var(--ok); }
.guard-bar .it.off { color: var(--danger); }

/* --------------------------------- 成绩 -------------------------------- */
.score-hero { text-align: center; padding: 26px 18px; background: linear-gradient(135deg, #17458f, #2a6ed0); border-radius: var(--r); color: #fff; margin-bottom: 14px; box-shadow: 0 10px 28px rgba(23,69,143,.22); }
.score-hero .num { font-size: 50px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.score-hero .num small { font-size: 17px; font-weight: 600; opacity: .8; }
.score-hero .sub { opacity: .9; font-size: 13.5px; margin-top: 6px; }

.bar-row { margin-bottom: 12px; }
.bar-row .lb { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.bar { height: 8px; background: #eef1f6; border-radius: 5px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 5px; background: var(--brand-2); transition: width .4s; }
.bar > i.ok { background: var(--ok); }
.bar > i.warn { background: var(--warn); }
.bar > i.danger { background: var(--danger); }

.sig { display: flex; gap: 9px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.sig:last-child { border: none; }
.sig .c { width: 22px; height: 22px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.sig.hit .c { background: var(--danger-soft); color: var(--danger); }
.sig.miss .c { background: #eef1f6; color: var(--muted); }
.sig.miss { opacity: .6; }

.review { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 11px; }
.review .hd { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }

/* --------------------------------- Toast ------------------------------- */
#toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast-item { background: rgba(20,28,48,.94); color: #fff; padding: 10px 18px; border-radius: 11px; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: tin .22s; max-width: 88vw; text-align: center; }
.toast-item.err { background: rgba(190,32,36,.96); }
.toast-item.ok { background: rgba(18,149,106,.96); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------- 底部导航 ------------------------------- */
.tabbar {
  position: sticky; bottom: 0; z-index: 40; background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: flex; padding-bottom: var(--safe-b);
}
.tabbar a { flex: 1; text-align: center; padding: 9px 0 8px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; }
.tabbar a .i { display: block; font-size: 19px; line-height: 1.35; }
.tabbar a.on { color: var(--brand); }

.spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 50px 0; color: var(--muted); }
.loading .spin { border-color: var(--line-2); border-top-color: var(--brand); }

/* ====================== 图文专栏（就业资讯 / 岗位介绍） ====================== */
/* 可见范围提示条 */
.lockbar {
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px;
  background: linear-gradient(135deg, #eef4ff, #e6f4ee); border: 1px solid #d3e2f7;
  border-radius: var(--r); padding: 13px 14px;
}
.lockbar.empty { background: linear-gradient(135deg, #fff5e8, #fdeaea); border-color: #f5dcc8; }
.lockbar .li { font-size: 22px; line-height: 1.1; flex: none; }
.lockbar b { font-size: 14px; color: var(--ink); }
.lockbar .tiny { color: var(--muted); margin-top: 2px; line-height: 1.55; }
.lockbar .mini { background: rgba(255,255,255,.8); border-color: rgba(23,69,143,.16); color: var(--brand); }

/* 首页资讯速览 */
.news-col { padding: 11px 0; border-top: 1px dashed var(--line); }
.news-col:first-of-type { border-top: none; padding-top: 2px; }
.nc-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 7px; }
.nc-item {
  display: flex; align-items: baseline; gap: 7px; padding: 6px 0 6px 2px; cursor: pointer;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.55;
}
.nc-item:hover { color: var(--brand); }
.nc-item .tiny { margin-left: auto; flex: none; white-space: nowrap; }
.nc-more { font-size: 12.5px; color: var(--brand); margin-top: 6px; cursor: pointer; font-weight: 600; }
.pin {
  display: inline-block; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700;
  border-radius: 5px; padding: 1px 5px; margin-right: 5px; vertical-align: 1px; flex: none;
}

/* 资讯列表卡片 */
.news-card { display: flex; gap: 12px; align-items: stretch; cursor: pointer; }
.news-card:hover { border-color: var(--brand-2); }
.news-cover {
  width: 108px; height: 78px; object-fit: cover; border-radius: 10px; flex: none;
  background: var(--line); border: 1px solid var(--line);
}
.news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.news-title { font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.news-sum {
  font-size: 12.8px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 图文详情 */
.art-title { font-size: 19px; line-height: 1.45; margin: 4px 0 10px; }
.art-cover { width: 100%; border-radius: 12px; margin: 4px 0 14px; display: block; }
.art-body { font-size: 15px; line-height: 1.85; color: var(--ink-2); word-break: break-word; }
.art-body h1, .art-body h2 { font-size: 17px; color: var(--ink); margin: 18px 0 8px; }
.art-body h3, .art-body h4 { font-size: 15.5px; color: var(--ink); margin: 15px 0 7px; }
.art-body p { margin: 0 0 11px; }
.art-body ul, .art-body ol { margin: 0 0 11px; padding-left: 21px; }
.art-body li { margin-bottom: 5px; }
.art-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; display: block; }
.art-body blockquote {
  margin: 12px 0; padding: 9px 13px; background: var(--brand-soft); border-left: 3px solid var(--brand);
  border-radius: 0 9px 9px 0; font-size: 13.5px; color: var(--ink-2);
}
.art-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.art-body th, .art-body td { border: 1px solid var(--line-2); padding: 7px 9px; text-align: left; }
.art-body th { background: var(--brand-soft); font-weight: 700; color: var(--ink); }
.art-body a { color: var(--brand-2); word-break: break-all; }
.art-body hr { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.art-body code { background: #f1f4fa; padding: 1px 5px; border-radius: 5px; font-size: 13px; }

@media (max-width: 420px) {
  .news-cover { width: 88px; height: 66px; }
  .art-title { font-size: 17.5px; }
  .tabbar a { font-size: 10.5px; }
  .tabbar a .i { font-size: 18px; }
}

/* ==================== 首登引导（手机验证 + 学员简历） ==================== */
.onb-mask {
  position: fixed; inset: 0; z-index: 90; overflow: auto;
  background: rgba(16, 24, 42, .5); padding: 18px 12px 26px;
  -webkit-overflow-scrolling: touch;
}
.onb-card {
  max-width: 880px; margin: 0 auto; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 20px 20px 24px;
}
.onb-head { margin-bottom: 14px; }
.onb-head .brand-mark { width: 40px; height: 40px; font-size: 21px; }
.onb-head .brand h1 { font-size: 18px; }
.onb-steps {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 11px 13px; background: #f7f9fd; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 16px;
}
.onb-steps i { font-style: normal; color: var(--line-2); }
.onb-step { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.onb-step .st {
  width: 21px; height: 21px; border-radius: 50%; flex: none; font-size: 11.5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8ecf4; color: var(--muted); font-weight: 800;
}
.onb-step.cur { color: var(--brand); }
.onb-step.cur .st { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(23,69,143,.13); }
.onb-step.done { color: var(--ok); }
.onb-step.done .st { background: var(--ok); color: #fff; }

.onb-tip {
  background: var(--brand-soft); border: 1px solid #d3e2f7; color: var(--ink-2);
  border-radius: 11px; padding: 11px 13px; font-size: 13px; line-height: 1.7; margin-bottom: 14px;
}
.onb-tip.warn { background: var(--warn-soft); border-color: #f5dcc8; }
.onb-code {
  background: var(--ok-soft); border: 1px dashed var(--ok); color: var(--ok);
  border-radius: 11px; padding: 10px 13px; font-size: 13.5px; margin: 4px 0 12px;
}
.onb-code b { font-size: 17px; letter-spacing: 3px; }

/* ------------------------------ 简历表单 ------------------------------ */
.rs-note {
  background: #f7f9fd; border: 1px dashed var(--line-2); border-radius: 11px;
  padding: 11px 13px; font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-bottom: 14px;
}
.rs-note b { color: var(--ink-2); }
i.req { color: var(--danger); font-style: normal; margin-left: 3px; font-weight: 700; }

.rs-prog { margin-bottom: 14px; }
.rs-bar { height: 8px; background: #eef1f6; border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.rs-bar > i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .3s; }

.rs-msg {
  border-radius: 11px; padding: 11px 13px; font-size: 13px; margin-bottom: 14px; line-height: 1.75;
  background: var(--ok-soft); border-left: 4px solid var(--ok); color: var(--ink-2);
}
.rs-msg.err { background: var(--danger-soft); border-color: var(--danger); }
.rs-msg .warn { color: var(--warn); }

.rs-sec {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; margin-bottom: 14px; background: #fff;
}
.rs-sec-t {
  font-size: 14.5px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 7px; margin-bottom: 12px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.rs-sec-t .ic { font-size: 16px; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } }

label.rs-fld { display: block; margin-bottom: 12px; min-width: 0; }
label.rs-fld.wide { grid-column: 1 / -1; }
label.rs-fld > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
label.rs-fld input, label.rs-fld select, label.rs-fld textarea { padding: 9px 12px; font-size: 14px; }
label.rs-fld textarea { line-height: 1.65; resize: vertical; }
.rs-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* 附件上传控件（照片 / 身份证 / 毕业证 / 验证报告 / 成绩单） */
.rs-fld-file { display: block; margin-bottom: 12px; min-width: 0; }
.rs-fld-file > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.rs-up { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-thumb {
  width: 84px; height: 112px; object-fit: cover; border-radius: 9px;
  border: 1px solid var(--line); background: #f4f6fb; flex: none;
}
.rs-thumb-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; color: var(--muted); background: #f4f6fb;
}
.rs-file {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 9px; background: #fafbfe;
  font-size: 13px; color: var(--brand); text-decoration: none; max-width: 260px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rs-up-act { display: flex; gap: 8px; flex-wrap: wrap; }

.rs-sub {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  margin: 6px 0 10px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.rs-list { margin-bottom: 10px; }
.rs-item { background: #fafbfe; border: 1px solid var(--line); border-radius: 11px; padding: 12px 12px 2px; margin-bottom: 10px; }
.rs-item-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rs-item-hd b { font-size: 13px; color: var(--brand); }

/* 简历很长（约 5000px），把「保存 / 提交」吸在底部，免得每次都要滚到最下面 */
.rs-foot {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; gap: 10px; margin: 4px -20px -24px; padding: 12px 20px calc(12px + var(--safe-b));
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.rs-foot button { flex: 1; }

/* ======================== 错题专项（KPI / 统计 / 列表） ======================== */
.wb-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .wb-kpi { grid-template-columns: repeat(2, 1fr); } }
.wb-kpi .k {
  background: #f7f9fd; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 8px; text-align: center;
}
.wb-kpi .k b { display: block; font-size: 21px; line-height: 1.25; color: var(--ink); font-variant-numeric: tabular-nums; }
.wb-kpi .k span { font-size: 11.5px; color: var(--muted); }
.wb-kpi .k.open { background: var(--danger-soft); border-color: #f5cccc; }
.wb-kpi .k.open b { color: var(--danger); }
.wb-kpi .k.done { background: var(--ok-soft); border-color: #c8ebdd; }
.wb-kpi .k.done b { color: var(--ok); }
.wb-kpi .k.rate b, .wb-kpi .k.today b { color: var(--brand); }

.wb-prog { padding: 12px 2px 14px; }

.wb-banner {
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px;
  background: var(--accent-soft); border: 1px solid #f5cccc; border-radius: var(--r); padding: 13px 14px;
}
.wb-banner .e { font-size: 22px; line-height: 1.1; flex: none; }
.wb-banner b { font-size: 14px; color: var(--ink); }
.wb-banner .tiny { color: var(--muted); margin-top: 2px; line-height: 1.55; }
.wb-banner.ok { background: linear-gradient(135deg, #eef4ff, #e6f4ee); border-color: #d3e2f7; }
.wb-banner.win { background: linear-gradient(135deg, #eafaf2, #e8f0fd); border-color: #c8ebdd; }
.wb-banner.win b { color: var(--ok); }

.wb-sess {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); cursor: pointer;
}
.wb-sess:last-child { border-bottom: none; }
.wb-sess:hover .wb-go { color: var(--brand); }
.wb-go { font-size: 12.5px; color: var(--muted); font-weight: 600; flex: none; }

.wb-sess + .wb-sess { margin-top: 0; }


/* ====================== 已停用模块（预留样式） ====================== */
/* 底部入口收紧字号，避免挤压变形 */
.tabbar.len6 a { font-size: 11px; }
.tabbar.len6 a .i { font-size: 18px; }
@media (max-width: 380px) {
  .tabbar.len6 a { font-size: 10px; padding: 8px 0 7px; }
  .tabbar.len6 a .i { font-size: 17px; }
}

/* 首页入口卡：面向尚未入学的学生，做成品牌色实心卡，比刷题入口更抓眼 */
.pw-entry {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px; cursor: pointer;
  background: linear-gradient(135deg, #17458f 0%, #2a6ed0 100%); color: #fff;
  border-radius: var(--r); padding: 16px 15px; box-shadow: var(--shadow); transition: .18s;
}
.pw-entry:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pw-entry:active { transform: translateY(0); }
.pw-entry .pwe-l { flex: none; }
.pw-entry .pwe-i {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; background: rgba(255, 255, 255, .16);
}
.pw-entry .pwe-c { flex: 1; min-width: 0; }
.pw-entry .pwe-t { font-weight: 800; font-size: 16px; }
.pw-entry .pwe-d { font-size: 12.5px; opacity: .92; margin-top: 3px; line-height: 1.5; }
.pw-entry .pwe-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pw-entry .pwe-tags .mini { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.pw-entry .pwe-go { flex: none; font-size: 22px; opacity: .8; }

.pw-hero {
  display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px;
  background: linear-gradient(135deg, #eef4ff, #e6f4ee);
  border: 1px solid #d3e2f7; border-radius: var(--r); padding: 16px;
}
.pw-hero .pwh-i {
  width: 46px; height: 46px; border-radius: 13px; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 25px; border: 1px solid #d3e2f7;
}
.pw-hero h2 { margin: 0 0 4px; font-size: 17px; }
.pw-hero p { margin: 0; font-size: 12.8px; color: var(--muted); line-height: 1.6; }

.pw-tip {
  margin-top: 10px; font-size: 12.5px; color: var(--ink-2); background: #f7f9fd;
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--r-sm); padding: 9px 11px; line-height: 1.65;
}
.pw-actions { margin: 4px 0 10px; }

/* 结论头：三种结论用三种底色，一眼看出「通不通」 */
.pw-verdict {
  display: flex; gap: 13px; align-items: flex-start; flex-wrap: wrap;
  border-radius: var(--r); padding: 16px; margin-bottom: 14px; border: 1px solid; box-shadow: var(--shadow);
}
.pw-verdict.ok { background: var(--ok-soft); border-color: #c8ebdd; }
.pw-verdict.warn { background: var(--warn-soft); border-color: #f2dcb8; }
.pw-verdict.bad { background: var(--danger-soft); border-color: #f5cccc; }
.pw-verdict .pwv-i { font-size: 28px; flex: none; line-height: 1.2; }
.pw-verdict .pwv-c { flex: 1; min-width: 200px; }
.pw-verdict .pwv-t { font-weight: 800; font-size: 17px; }
.pw-verdict.ok .pwv-t { color: var(--ok); }
.pw-verdict.warn .pwv-t { color: var(--warn); }
.pw-verdict.bad .pwv-t { color: var(--danger); }
.pw-verdict .pwv-s { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.pw-verdict .pwv-acts { display: flex; gap: 8px; flex: none; }
.pw-verdict .pwv-acts button.ghost { background: rgba(255, 255, 255, .85); }

.pw-blocks { margin-bottom: 14px; }
.pw-block { border-radius: var(--r); padding: 13px 14px; margin-bottom: 10px; border: 1px solid; }
.pw-block.err { background: var(--danger-soft); border-color: #f5cccc; }
.pw-block.warn { background: var(--warn-soft); border-color: #f2dcb8; }
.pw-block .pwb-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pw-block .pwb-h b { font-size: 14.5px; }
.pw-block.err .pwb-h b { color: var(--danger); }
.pw-block.warn .pwb-h b { color: var(--warn); }
.pw-block .pwb-d { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.7; }

.pw-step { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pw-step:last-child { border-bottom: none; }
.pw-step .pws-n {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.pw-step .pws-c { flex: 1; min-width: 0; }
.pw-step .pws-t { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pw-step .pws-d { font-size: 12.8px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

.pw-opt { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 13px; margin-bottom: 10px; background: #fbfcfe; }
.pw-opt:last-child { margin-bottom: 0; }
.pw-opt .pwo-t { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pw-opt .pwo-d { font-size: 12.8px; color: var(--muted); margin-top: 5px; line-height: 1.7; }

.pw-mat { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }

.pw-note { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pw-note:last-child { border-bottom: none; }
.pw-note .pwn-t { font-weight: 700; font-size: 13.5px; }
.pw-note .pwn-d { font-size: 12.8px; color: var(--muted); margin-top: 3px; line-height: 1.7; }

/* 清单默认折叠，点开才展开 */
.pw-col { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; background: #fff; overflow: hidden; }
.pw-col > summary {
  cursor: pointer; padding: 12px 13px; display: flex; align-items: center; gap: 7px;
  flex-wrap: wrap; font-size: 14px; background: #f7f9fd; list-style: none;
}
.pw-col > summary::-webkit-details-marker { display: none; }
.pw-col > summary::after { content: '▾'; margin-left: auto; color: var(--muted); font-size: 13px; }
.pw-col[open] > summary::after { content: '▴'; }
.pwc-sub { font-size: 12px; color: var(--muted); padding: 9px 13px 0; }
.pwc-note { font-size: 12.5px; color: var(--ink-2); padding: 6px 13px 0; line-height: 1.65; }
.pwc-dept { padding: 10px 13px 0; }
.pwc-dt { font-size: 12.5px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.pwc-ms { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-major {
  font-size: 12px; padding: 3px 9px; border-radius: 7px;
  background: #f1f4f9; color: var(--ink-2); border: 1px solid var(--line);
}
.pw-major.cb { background: var(--danger-soft); color: #a52024; border-color: #f5cccc; }
.pwc-src { padding: 9px 13px 11px; }
.pw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); vertical-align: middle; }
.pw-dot.red { background: var(--danger); }

.pw-hist { cursor: pointer; }
.pw-hist:hover .mini { color: var(--brand); }
.pw-foot { text-align: center; padding: 6px 10px 20px; line-height: 1.8; }

/* 省内院校名录：50 余所按地市分组，先给地市快速跳转，再展开具体学校 */
.pw-citybar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pw-citychip {
  font-size: 12px; padding: 4px 10px; border-radius: 999px; text-decoration: none;
  background: #f1f4f9; color: var(--ink-2); border: 1px solid var(--line);
}
.pw-citychip:hover { background: var(--brand-soft, #e8effb); color: var(--brand); }
.pw-city { margin-bottom: 12px; scroll-margin-top: 60px; }
.pw-cityhd {
  font-size: 13px; font-weight: 700; color: var(--ink);
  padding: 7px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.pw-cityhd .mini { margin-left: 6px; font-weight: 400; }
.pw-colrow { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; background: #fff; overflow: hidden; }
.pw-colhd { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 10px 13px; cursor: pointer; }
.pw-colhd b { font-size: 13.5px; }
.pw-colhd .pw-more { margin-left: auto; color: var(--brand); }
.pw-colrow.open .pw-colhd { background: #f7f9fc; }
.pw-more::after { content: '查看专业 ▾'; }
.pw-colrow.open .pw-more::after { content: '收起 ▴'; }
.pw-colbody { display: none; padding: 0 13px 11px; border-top: 1px solid var(--line); }
.pw-colrow.open .pw-colbody { display: block; }
.pw-colbody .pwc-dept { padding-top: 9px; }

.mini.warn { background: var(--warn-soft); color: var(--warn); }
.mini.danger { background: var(--danger-soft); color: var(--danger); }

@media (max-width: 560px) {
  .pw-verdict .pwv-acts { width: 100%; }
  .pw-verdict .pwv-acts button { flex: 1; }
}

/* 打印 / 存 PDF：只留判定书正文，导航与操作按钮全部隐去 */
@media print {
  .topbar, .tabbar, .pwv-acts, .pw-actions, .pw-hist, #toast { display: none !important; }
  body { background: #fff; }
  .card, .pw-verdict, .pw-block, .pw-col { box-shadow: none; break-inside: avoid; }
  #view { padding-bottom: 0; }
}

/* ==================== 就业单位匹配（jm- 命名空间） ====================
   从独立的 job-match 工具并入。样式全部用 jm- 前缀 + 只追加不修改，
   避免与既有 card / tag / mini 等通用类互相踩。
   ==================================================================== */

/* 七个 tab 时字号要再收一档，否则「就业」会被挤成两行 */
.tabbar.len7 a { font-size: 10.5px; padding: 8px 0 7px; }
.tabbar.len7 a .i { font-size: 17px; }
@media (max-width: 380px) {
  .tabbar.len7 a { font-size: 9.5px; padding: 8px 0 6px; }
  .tabbar.len7 a .i { font-size: 16px; }
}

/* 表单：两列 → 窄屏单列 */
.jm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .jm-grid { grid-template-columns: 1fr; } }
.jm-f { display: flex; flex-direction: column; gap: 5px; }
.jm-f > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.jm-f > span .req { color: var(--danger); }
.jm-f input, .jm-f select {
  height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--ink); width: 100%;
}
.jm-f input:focus, .jm-f select:focus { outline: none; border-color: var(--brand-2); }
.jm-f .hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* 意向地：多选 chips，比下拉多选好点 */
.jm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jm-chip {
  font-size: 12.5px; padding: 6px 11px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); user-select: none;
}
.jm-chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 700; }
.jm-chip.no { opacity: .55; }

/* 结果头：直接把四档数量摊开，学生第一眼就知道「能投几家」 */
.jm-sum { display: flex; gap: 8px; flex-wrap: wrap; }
.jm-sum .s {
  flex: 1; min-width: 68px; text-align: center; padding: 11px 6px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: #fbfcfe;
}
.jm-sum .s b { display: block; font-size: 21px; line-height: 1.2; }
.jm-sum .s span { font-size: 11.5px; color: var(--muted); }
.jm-sum .s.t-best { background: var(--ok-soft); border-color: #c8ebdd; }
.jm-sum .s.t-best b { color: var(--ok); }
.jm-sum .s.t-try { background: var(--brand-soft); border-color: #cfe0f8; }
.jm-sum .s.t-try b { color: var(--brand); }
.jm-sum .s.t-hard { background: var(--warn-soft); border-color: #f2dcb8; }
.jm-sum .s.t-hard b { color: var(--warn); }
.jm-sum .s.t-no { background: var(--danger-soft); border-color: #f5cccc; }
.jm-sum .s.t-no b { color: var(--danger); }

/* 分档列表：默认折叠，点开才铺开 90 家 */
.jm-grp { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; background: #fff; overflow: hidden; }
.jm-grp > summary {
  cursor: pointer; padding: 12px 13px; display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; font-size: 14px; background: #f7f9fd; list-style: none;
}
.jm-grp > summary::-webkit-details-marker { display: none; }
.jm-grp > summary::after { content: '▾'; margin-left: auto; color: var(--muted); }
.jm-grp[open] > summary::after { content: '▴'; }
.jm-grp .g-hint { font-size: 11.5px; color: var(--muted); }

/* 单位卡片 */
.jm-u { border-top: 1px dashed var(--line); padding: 11px 13px; }
.jm-u:first-child { border-top: none; }
.jm-u .u-h { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.jm-u .u-n { font-weight: 700; font-size: 14px; }
.jm-u .u-s { margin-left: auto; font-weight: 800; font-size: 15px; color: var(--brand); flex: none; }
.jm-u .u-s.low { color: var(--muted); }
.jm-u .u-m { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; }
.jm-u .u-r { margin: 6px 0 0; padding-left: 17px; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.jm-u .u-r.gap { color: var(--muted); }
.jm-u .u-veto { font-size: 12.5px; color: var(--danger); margin-top: 5px; }
/* 公告原文明细 */
.jm-majors { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.jm-majors i {
  font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 6px;
  background: #eef4ff; color: #2a5bb5; border: 1px solid #d7e4f8;
}
.jm-src { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* 出路建议 */
.jm-adv { border-left: 3px solid var(--brand); background: #f7f9fd; border-radius: var(--r-sm); padding: 10px 12px; }
.jm-adv .a-t { font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.jm-adv .a-d { font-size: 12.8px; color: var(--ink-2); line-height: 1.75; }
.jm-adv + .jm-adv { margin-top: 9px; }

@media print {
  .tabbar, .jm-acts { display: none !important; }
}

/* ============================================================
   AI 模拟面试（学生端 v0.9）
   ============================================================ */
/* 8 个 tab 时可用宽度更紧，字号再降一档，避免图标挤成一团 */
.tabbar.len8 a { font-size: 9.5px; padding: 8px 0 6px; }
.tabbar.len8 a .i { font-size: 16px; }
@media (max-width: 360px) {
  .tabbar.len8 a { font-size: 8.6px; }
  .tabbar.len8 a .i { font-size: 15px; }
}

.iv-hero { background: linear-gradient(140deg, #0f2c5c, #2a6ed0); color: #fff; border: none; }
.iv-hero .iv-hero-t { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.iv-hero p { margin: 0 0 10px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.86); }
.iv-hero .tag { background: rgba(255,255,255,.16); color: #fff; }

.iv-sec { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 16px 2px 8px; }
.iv-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; }
.iv-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.iv-card-t { font-size: 16px; font-weight: 700; }
.iv-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.iv-meta span { display: inline-flex; align-items: center; gap: 3px; }
.iv-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }

.iv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.iv-row:first-child { border-top: none; }
.iv-row-r { display: flex; align-items: center; gap: 8px; }

.iv-tips ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.iv-checks { margin: 8px 0 14px; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }

.iv-prog { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.iv-prog-bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.iv-prog-bar div { height: 100%; background: var(--brand); transition: width .3s; }

.iv-stage { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.iv-stage.iv-live { color: var(--danger); }
.iv-stage.iv-live::before { content: ''; }

.iv-q { font-size: 16px; line-height: 1.75; font-weight: 600; }
.iv-q-sm { font-size: 14px; line-height: 1.7; margin: 8px 0; }
.iv-hint p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }

.iv-video { width: 100%; max-height: 320px; background: #0b1628; border-radius: var(--r-sm); display: block; margin-bottom: 10px; }

/* 倒计时环：用 conic-gradient 画进度，比 SVG 更省 */
.iv-timer { display: flex; justify-content: center; margin: 14px 0; }
.iv-ring {
  width: 108px; height: 108px; border-radius: 50%;
  background: conic-gradient(var(--brand) 360deg, var(--line) 0deg);
  display: flex; align-items: center; justify-content: center;
  transition: background .9s linear;
}
.iv-ring span {
  width: 84px; height: 84px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--ink);
}

.iv-live-box { padding: 12px; }
.iv-transcript {
  margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--ink-2);
  max-height: 160px; overflow-y: auto; white-space: pre-wrap; word-break: break-word;
}
.iv-up { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 10px; }
.iv-up-bar { height: 100%; width: 4%; background: var(--ok); transition: width .25s; }
.iv-err { border-left: 3px solid var(--danger); }
.iv-err button { margin-top: 10px; }

.iv-score { display: flex; align-items: center; gap: 16px; }
.iv-score-n { font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1; min-width: 84px; text-align: center; }
.iv-score-t { font-size: 15px; font-weight: 700; margin-bottom: 4px; }

.iv-dim { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; }
.iv-dim-n { width: 62px; color: var(--ink-2); flex: none; }
.iv-dim-bar { flex: 1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.iv-dim-bar div { height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-radius: 4px; }
.iv-dim-bar div.na { background: var(--line-2); }
.iv-dim-v { width: 52px; text-align: right; font-weight: 700; color: var(--ink); flex: none; }

.iv-radar { padding: 4px 0; }
.iv-item { margin-bottom: 12px; }
.iv-item-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.iv-cmt { background: var(--brand-soft); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 8px; }
.iv-cmt.human { background: var(--ok-soft); }
.iv-cmt p { margin: 4px 0 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.iv-adv { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.85; }
.iv-adv-item { margin-top: 10px; }
.iv-adv-item p { margin: 5px 0 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }

@media print {
  .iv-video, .iv-timer, .iv-up, .iv-prog-bar, button { display: none !important; }
  .iv-hero { background: #fff !important; color: var(--ink) !important; }
  .iv-hero p { color: var(--ink-2) !important; }
}

/* ============================================================
   AI 面试 · 手机 / 平板适配
   ============================================================ */
/* 作答页容器：窄屏单列（自上而下），平板横屏拆成左右两栏 */
.iv-split { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* 手机竖屏：画面别把题目挤没了，倒计时环收小，按钮给足拇指点击区 */
@media (max-width: 560px) {
  .iv-video { max-height: 38vh; }
  .iv-ring { width: 92px; height: 92px; }
  .iv-ring span { width: 70px; height: 70px; font-size: 20px; }
  .iv-timer { margin: 10px 0; }
  .iv-q { font-size: 15.5px; }
  .iv-transcript { max-height: 92px; font-size: 12.5px; }
  button.block.lg { min-height: 50px; font-size: 16px; }
  .iv-live-box { padding: 10px; }
  /* 手机上「放弃」按钮离主操作远一点，避免误触 */
  #ivQuit { margin-top: 18px; }
}

/* 平板横屏（含 iPad 横放）：左边画面、右边题目与识别文本，不用上下滚着对稿 */
@media (min-width: 780px) and (orientation: landscape) {
  .iv-split { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .iv-split > .iv-col-q { position: sticky; top: 12px; }
  .iv-video { max-height: 46vh; }
  .iv-transcript { max-height: 180px; }
}

/* 平板竖屏 / 大屏手机：画面稍大一点 */
@media (min-width: 561px) and (max-width: 1024px) and (orientation: portrait) {
  .iv-video { max-height: 34vh; }
}

/* 不安全上下文（http 直连）时，把「为什么开不了摄像头」讲清楚 */
.iv-warn {
  background: #fff4f4; border: 1px solid #ffd9d9; border-left: 3px solid var(--danger);
  border-radius: var(--r-sm); padding: 12px 14px; margin: 12px 0;
}
.iv-warn b { color: var(--danger); display: block; margin-bottom: 6px; }
.iv-warn p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.iv-warn code {
  background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px;
  font-size: 12.5px; word-break: break-all;
}

/* ============================================================
   [已停用] 原协议签署样式（ct- 命名空间）
   ============================================================ */
/* 底部 tab 从 8 个变 9 个：每格宽度再缩，字号降一档，否则图标会挤成一团 */
.tabbar.len9 a { font-size: 9px; padding: 8px 0 6px; }
.tabbar.len9 a .i { font-size: 15px; }
@media (max-width: 360px) {
  .tabbar.len9 a { font-size: 8px; }
  .tabbar.len9 a .i { font-size: 14px; }
}

/* 协议全文：限高可滚，保留原文换行与缩进，不做任何富文本渲染 */
.ct-body {
  white-space: pre-wrap; word-break: break-word;
  font-size: 13px; line-height: 1.95; color: var(--ink);
  background: #fafbfd; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; max-height: 46vh; overflow: auto;
}
.ct-item { cursor: pointer; }
.ct-item:active { background: #f5f7fb; }

/* 提示条：未成年须监护人代签这类「必须看见」的约束 */
.ct-note {
  background: #fff8e6; border: 1px solid #ffe2a8; color: #8a5a00;
  border-radius: var(--r-sm); padding: 9px 11px; font-size: 12px; line-height: 1.75;
}
.ct-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.6; word-break: break-all; color: var(--muted);
  background: rgba(0,0,0,.03); border-radius: var(--r-sm); padding: 8px 10px; margin-top: 4px;
}
.ct-code { display: flex; gap: 8px; align-items: stretch; }
.ct-code input { flex: 1; min-width: 0; }
.ct-code button { flex: none; white-space: nowrap; }

/* 代理 · 推荐学员登记表（列多，手机上横向滚动，不缩成一团） */
.ref-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
.ref-tb { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 720px; }
.ref-tb th {
  text-align: left; font-weight: 600; color: var(--muted);
  background: #fafbfd; border-bottom: 1px solid var(--line);
  padding: 8px 9px; white-space: nowrap; position: sticky; top: 0;
}
.ref-tb td {
  padding: 9px; border-bottom: 1px solid var(--line);
  color: var(--ink); vertical-align: middle; white-space: nowrap;
}
.ref-tb tr:last-child td { border-bottom: 0; }
.ref-tb td button { padding: 3px 8px; margin-right: 4px; }
