/* T201 · 岗位通关 M0 · 全部样式（深蓝金 / 手机优先） */

:root {
  --navy: #0f2b46;
  --navy-2: #163a5c;
  --gold: #c8a24a;
  --gold-soft: #f0e2bc;
  --ink: #1f2937;
  --ink-2: #55637a;
  --line: #e3e8ef;
  --bg: #eef1f6;
  --white: #ffffff;
  --pass: #16a34a;
  --wait: #d97706;
  --fail: #dc2626;
  --lock: #94a3b8;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(15, 43, 70, .08);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  border-bottom: 2px solid var(--gold);
}

.topbar__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 13px;
  color: #dfe7f2;
  max-width: 46%;
}

.topbar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.topbar__link {
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(200, 162, 74, .55);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1.2;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.page-head { margin: 0 0 12px; }
.page-head h1 { font-size: 19px; margin: 0 0 4px; color: var(--navy); }
.page-head p { margin: 0; font-size: 13px; color: var(--ink-2); }

.backline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 43, 70, .04);
}

.card:last-child { margin-bottom: 0; }

/* 关卡卡 */
.lv {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.lv:active { transform: scale(.995); }

.lv::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}

.lv__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.lv__day {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .5px;
}

.lv__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.lv__goal {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 10px;
}

.lv__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.lv--locked { cursor: default; opacity: .72; }
.lv--locked::before { background: var(--lock); }
.lv--locked .lv__name { color: #64748b; }

/* 能力项卡 */
.item {
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.item__code {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: 7px;
  padding: 2px 8px;
  line-height: 1.5;
}

.item__title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

.item__std {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- 徽标 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  background: #f1f5f9;
  color: #64748b;
}

.badge--pass { background: rgba(22, 163, 74, .12); color: var(--pass); }
.badge--wait { background: rgba(217, 119, 6, .13); color: var(--wait); }
.badge--fail { background: rgba(220, 38, 38, .11); color: var(--fail); }
.badge--lock { background: rgba(148, 163, 184, .2); color: #64748b; }
.badge--doing { background: rgba(200, 162, 74, .18); color: #8a6a16; }
.badge--learn { background: rgba(15, 43, 70, .09); color: var(--navy-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: filter .12s ease, opacity .12s ease;
}

.btn--primary {
  background: linear-gradient(180deg, #163a5c, #0f2b46);
  color: #fff;
  border-color: #0f2b46;
  box-shadow: 0 3px 10px rgba(15, 43, 70, .22);
}

.btn--gold {
  background: linear-gradient(180deg, #d4b05c, #c8a24a);
  color: #3a2c07;
  border-color: #b8903a;
}

.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: #cbd5e1;
}

.btn--block { width: 100%; }
.btn:active { filter: brightness(.96); }

.btn[disabled],
.btn.is-disabled {
  opacity: .45;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 132px; }

/* ---------- 学习卡 ---------- */
.learn h2 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-soft);
}

.learn h3 {
  font-size: 15px;
  color: var(--navy-2);
  margin: 18px 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}

.learn p { margin: 0 0 10px; font-size: 14.5px; color: #334155; }
.learn p.lead { color: var(--ink-2); font-size: 14px; }
.learn b { color: var(--navy); }

.learn p.step {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 8px;
}

.learn .warn { display: block; margin-top: 4px; font-size: 13px; color: var(--fail); }

.learn ul { margin: 0 0 10px; padding-left: 20px; }
.learn li { margin-bottom: 4px; font-size: 14.5px; color: #334155; }

/* ---------- 自测 ---------- */
.quiz-q { margin-bottom: 16px; }
.quiz-q__title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.quiz-q__no { color: var(--gold); margin-right: 6px; }

.opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.opt input { margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.opt.is-picked { border-color: var(--navy); background: #f3f7fc; }
.opt--ok { border-color: var(--pass); background: rgba(22, 163, 74, .07); }
.opt--bad { border-color: var(--fail); background: rgba(220, 38, 38, .06); }
.opt--locked { cursor: default; }

.why {
  font-size: 13px;
  color: var(--ink-2);
  background: #f8fafc;
  border-left: 3px solid var(--gold);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
  margin: -2px 0 14px;
}

.score-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.score-box strong { font-size: 26px; color: var(--navy); line-height: 1; }

/* ---------- 结果横幅 ---------- */
.banner {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  border: 1px solid transparent;
}

.banner__title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.banner--pass { background: rgba(22, 163, 74, .1); border-color: rgba(22, 163, 74, .3); color: #14532d; }
.banner--improve { background: rgba(217, 119, 6, .1); border-color: rgba(217, 119, 6, .32); color: #7c3f05; }
.banner--fail { background: rgba(220, 38, 38, .08); border-color: rgba(220, 38, 38, .28); color: #7f1d1d; }
.banner--wait { background: rgba(217, 119, 6, .08); border-color: rgba(217, 119, 6, .26); color: #7c3f05; }

.kv { display: flex; gap: 8px; font-size: 13px; margin-top: 4px; color: inherit; opacity: .9; }
.kv__k { flex: none; width: 64px; opacity: .75; }
.kv__v { flex: 1; word-break: break-all; }

.sig {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sig__label { font-size: 12px; opacity: .7; }
.sig__name {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding: 0 6px 2px;
}

/* ---------- 判定端 ---------- */
.mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 43, 70, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mask[hidden] { display: none; }

.panel {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.panel__title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0; }
.panel__sub { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; }

.close-x {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gold);
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.quiz-sum {
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 4px 0 14px;
  font-size: 15px;
  color: var(--ink-2);
  text-align: center;
}
.quiz-sum b { font-size: 20px; font-weight: 800; }
.quiz-sum__ok { color: var(--pass); }
.quiz-sum__bad { color: var(--fail); }

.rubric-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 9px;
  background: #fcfdff;
}

.rubric-item__label { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.rubric-item__desc { font-size: 13px; color: var(--ink-2); margin: 0 0 9px; }

.seg3 { display: flex; gap: 7px; }
.seg3 button {
  flex: 1;
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.seg3 button.on-ok { background: rgba(22, 163, 74, .12); border-color: var(--pass); color: var(--pass); font-weight: 700; }
.seg3 button.on-improve { background: rgba(217, 119, 6, .13); border-color: var(--wait); color: var(--wait); font-weight: 700; }
.seg3 button.on-fail { background: rgba(220, 38, 38, .1); border-color: var(--fail); color: var(--fail); font-weight: 700; }

textarea, input[type="text"], input[type="password"] {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 11px 12px;
  min-height: 44px;
  outline: none;
}

textarea { min-height: 76px; resize: vertical; }

textarea:focus, input[type="text"]:focus, input[type="password"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 43, 70, .08);
}

.field { margin-bottom: 12px; }
.field__label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field__hint { font-size: 12px; color: var(--ink-2); margin-top: 5px; }

.tip-warn {
  font-size: 13px;
  color: var(--wait);
  background: rgba(217, 119, 6, .09);
  border-radius: 9px;
  padding: 8px 11px;
  margin: 10px 0;
}

/* ---------- 状态条 ---------- */
.statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  margin: -4px 0 12px;
  border-radius: 11px;
  background: #eef2f7;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
}

.statusbar__dot { font-size: 10px; line-height: 1; }
.statusbar--pass { background: rgba(22, 163, 74, .1); border-color: rgba(22, 163, 74, .28); color: #14532d; }
.statusbar--wait { background: rgba(217, 119, 6, .1); border-color: rgba(217, 119, 6, .3); color: #7c3f05; }
.statusbar--fail { background: rgba(220, 38, 38, .08); border-color: rgba(220, 38, 38, .26); color: #7f1d1d; }

.empty__title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.empty__sub { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- 判定端待办卡 ---------- */
.todo { padding: 14px 14px 12px; }
.todo__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.todo__who { font-size: 15px; font-weight: 700; color: var(--navy); }
.todo__item { font-size: 14px; color: var(--ink); margin: 0 0 4px; }
.todo__meta { font-size: 12px; color: var(--ink-2); margin: 0 0 11px; }

/* ---------- 空态 / 提示 ---------- */
.empty {
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  padding: 34px 10px;
}

.empty__big { font-size: 30px; margin-bottom: 8px; opacity: .35; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(8px);
  z-index: 90;
  max-width: 86%;
  background: rgba(15, 43, 70, .94);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.loading { text-align: center; color: var(--ink-2); font-size: 14px; padding: 26px 0; }

.boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(1200px 420px at 50% -10%, #1d4a74 0%, rgba(15, 43, 70, 0) 70%),
    var(--navy);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  padding: 26px 22px 22px;
  border-top: 4px solid var(--gold);
}

.login-card h1 {
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 6px;
  text-align: center;
}

.login-card .sub {
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  margin: 0 0 20px;
}

.test-accounts {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.test-accounts__label { font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }

.test-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.test-acc:last-child { margin-bottom: 0; }
.test-acc__role { font-weight: 700; }
.test-acc__hint { color: var(--ink-2); font-size: 12px; }

.form-err {
  font-size: 13px;
  color: var(--fail);
  min-height: 20px;
  margin: 4px 0 10px;
}

/* ---------- 手机 390px ---------- */
@media (max-width: 400px) {
  .wrap { padding: 14px 13px 34px; }
  .card { padding: 14px; }
  .topbar { padding: 11px 13px; }
  .topbar__title { font-size: 15px; }
  .lv__name { font-size: 16px; }
  .btn-row .btn { min-width: 0; flex: 1 1 100%; }
  .seg3 { gap: 6px; }
  .seg3 button { font-size: 12px; padding: 0 4px; }
  .login-card { padding: 22px 18px 18px; }
}

/* ---------- 学习页 / 答题页分离 · 结果页 ---------- */

.acts { margin-top: 4px; }
.acts .item__std { margin: 10px 0 0; }
.acts .btn + .btn { margin-top: 9px; }

.quiz-tip {
  margin: 0 2px 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: #f4f7fb;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 8px 10px;
}

.score-card { text-align: center; }
.score-big { font-size: 40px; line-height: 1.15; color: var(--navy); font-weight: 700; }
.score-big span { font-size: 18px; color: var(--ink-2); font-weight: 400; }
.score-sub { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.score-note { margin: 8px 0 0; font-size: 12.5px; color: var(--wait); }

.review-q {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  margin-bottom: 10px;
  background: #fff;
}
.review-q:last-child { margin-bottom: 0; }
.review-q.is-ok { border-left: 3px solid var(--pass); }
.review-q.is-bad { border-left: 3px solid var(--fail); }
.review-q__title { margin: 0 0 6px; font-size: 13.5px; line-height: 1.62; font-weight: 600; color: var(--navy); }
.review-q__flag { font-weight: 700; white-space: nowrap; }
.review-q.is-ok .review-q__flag { color: var(--pass); }
.review-q.is-bad .review-q__flag { color: var(--fail); }
.review-q__mine, .review-q__corr { margin: 3px 0; font-size: 12.5px; line-height: 1.62; color: var(--ink-2); }
.review-q__corr { color: var(--pass); font-weight: 600; }

.rubric-q {
  margin: 8px 0 10px;
  padding: 8px 9px;
  background: #f7f9fc;
  border-radius: 7px;
}
.rubric-q__q { margin: 0 0 5px; font-size: 12.5px; line-height: 1.58; color: var(--navy); }
.rubric-q__ans { margin: 0; font-size: 12.5px; line-height: 1.58; }
.rubric-q__ans.is-ok { color: var(--pass); }
.rubric-q__ans.is-bad { color: var(--fail); }
.rubric-q__corr { margin: 4px 0 0; font-size: 12px; color: var(--ink-2); }

@media (max-width: 400px) {
  .review-q__title { font-size: 13px; }
  .score-big { font-size: 36px; }
}

/* ===== 判定台页签 ===== */
.jtabs {
  display: flex; gap: 8px; margin: 2px 0 14px;
  background: #eef2f7; padding: 4px; border-radius: 10px;
}
.jtabs button {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  padding: 9px 0; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); font-family: inherit;
}
.jtabs button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(15,43,70,.12); }

/* ===== 内容库 ===== */
.lib-lv { background: #fff; border-radius: 12px; padding: 12px 12px 8px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(15,43,70,.07); }
.lib-lv__head { display: flex; align-items: center; gap: 8px; }
.lib-lv__code {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--navy);
  padding: 2px 7px; border-radius: 5px; letter-spacing: .4px;
}
.lib-lv__name { font-size: 15px; font-weight: 700; color: var(--navy); }
.lib-lv__goal { margin: 5px 0 9px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.lib-lv__none { margin: 6px 0; font-size: 12.5px; color: var(--ink-3); }

.lib-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: #f7f9fc; border: 1px solid #e6ecf3; border-radius: 9px;
  padding: 11px 12px; margin-bottom: 7px; cursor: pointer;
  font-family: inherit; text-align: left;
}
.lib-item:active { background: #eef3f9; }
.lib-item__idx { font-size: 11.5px; color: var(--ink-3); flex: 0 0 auto; }
.lib-item__title { flex: 1; font-size: 14px; font-weight: 600; color: var(--navy); }
.lib-item__arrow { font-size: 18px; color: #b8c4d2; line-height: 1; }

.btn-back {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid #dbe3ec; color: var(--navy);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  margin-bottom: 12px; cursor: pointer; font-family: inherit;
}

#liLearn { background: #fff; border-radius: 12px; padding: 14px 14px 6px; box-shadow: 0 1px 3px rgba(15,43,70,.07); }
#liLearn h2 { font-size: 18px; color: var(--navy); margin: 0 0 10px; }
#liLearn h3 {
  font-size: 14.5px; color: var(--navy); margin: 16px 0 7px;
  padding-left: 9px; border-left: 3px solid var(--gold); line-height: 1.45;
}
#liLearn p { margin: 0 0 9px; font-size: 14px; line-height: 1.78; color: #334155; }
#liLearn .lead { color: var(--ink-2); background: #f7f9fc; padding: 10px 12px; border-radius: 8px; }
#liLearn b { color: var(--navy); }

.li-q { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(15,43,70,.07); }
.li-q__stem { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.6; }
.li-q__opts { list-style: none; margin: 0 0 8px; padding: 0; }
.li-opt {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 7px 9px; margin-bottom: 5px; border-radius: 7px;
  background: #f7f9fc; border: 1px solid transparent;
  font-size: 13px; line-height: 1.6; color: #334155;
}
.li-opt.is-right { background: #ecfdf5; border-color: #86efac; }
.li-opt__tag { font-weight: 700; color: var(--ink-2); flex: 0 0 14px; }
.li-opt.is-right .li-opt__tag { color: #047857; }
.li-opt__txt { flex: 1; }
.li-opt.is-right .li-opt__txt { color: #065f46; font-weight: 600; }
.li-opt__mark { flex: 0 0 auto; font-size: 11px; color: #047857; font-weight: 700; white-space: nowrap; }
.li-q__why { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); background: #fdf8ec; padding: 8px 10px; border-radius: 7px; }

.lib-rub { background: #fff; border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; box-shadow: 0 1px 3px rgba(15,43,70,.07); }
.lib-rub__label { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.lib-rub__desc { margin: 0; font-size: 12.5px; line-height: 1.62; color: var(--ink-2); }

@media (max-width: 400px) {
  #liLearn p { font-size: 13.5px; }
  .li-opt { font-size: 12.5px; }
}
/* ===== 全班进度看板 ===== */
.badge--improve { background: rgba(234, 179, 8, .18); color: #854d0e; }

.bkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.bkpi {
  background: #fff; border-radius: 12px; padding: 12px 12px 10px;
  box-shadow: 0 1px 3px rgba(15, 43, 70, .07); border: 1px solid transparent;
}
.bkpi--pass { border-color: rgba(22, 163, 74, .28); }
.bkpi--wait { border-color: rgba(217, 119, 6, .28); }
.bkpi--improve { border-color: rgba(220, 38, 38, .16); }
.bkpi--tap { cursor: pointer; }
.bkpi__k { font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.bkpi__v { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: .5px; }
.bkpi__v small { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-left: 2px; }
.bkpi__s { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }

.bcard { background: #fff; border-radius: 12px; padding: 13px 13px 6px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(15, 43, 70, .07); }
.bcard__h { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.bcard__h span { font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.blv { margin-bottom: 11px; }
.blv__top { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: 5px; }
.blv__code { flex: none; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 5px; padding: 1px 6px; letter-spacing: .4px; }
.blv__name { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blv__num { flex: none; color: var(--navy); font-weight: 700; }
.blv__meta { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }

.bar { position: relative; height: 7px; border-radius: 999px; background: #edf1f6; overflow: hidden; }
.bar__in { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1f6f43, #16a34a); }
.bar__in--learn { position: absolute; top: 0; border-radius: 0 999px 999px 0; background: #60a5fa; opacity: .85; }

.bseg { display: flex; gap: 6px; background: #e9eef5; border-radius: 9px; padding: 3px; margin: 2px 0 9px; }
.bseg button { flex: 1; border: 0; background: transparent; padding: 7px 0; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); font-family: inherit; cursor: pointer; }
.bseg button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(15, 43, 70, .12); }

.blegend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 10px; font-size: 11.5px; color: var(--ink-2); }
.blegend span { display: inline-flex; align-items: center; gap: 4px; }
.blegend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.st--pass { background: #16a34a; }
.st--applied { background: #d97706; }
.st--improve { background: #eab308; }
.st--fail { background: #dc2626; }
.st--learning { background: #c8a24a; }
.st--new { background: #dbe3ec; }

.blrn { background: #fff; border-radius: 12px; padding: 12px 12px 10px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(15, 43, 70, .07); cursor: pointer; }
.blrn__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.blrn__name { font-size: 15px; font-weight: 700; color: var(--navy); }
.blrn__num { flex: none; font-size: 13px; color: var(--ink-2); }
.blrn__num b { font-size: 17px; color: var(--navy); }
.blrn__num.is-done b { color: var(--pass); }
.strip { display: flex; gap: 3px; height: 9px; margin-bottom: 9px; }
.strip__c { flex: 1; min-width: 0; border-radius: 2px; }
.blrn__foot { font-size: 11.5px; color: #8a97a8; margin-top: 7px; }

.bchips { display: flex; flex-wrap: wrap; gap: 5px; }
.bchip { font-size: 11.5px; line-height: 1.7; padding: 0 7px; border-radius: 999px; background: #f1f5f9; color: #5b6b82; white-space: nowrap; }
.bchip--pass { background: rgba(22, 163, 74, .12); color: #15803d; }
.bchip--wait { background: rgba(217, 119, 6, .13); color: #b45309; }
.bchip--improve { background: rgba(234, 179, 8, .16); color: #854d0e; }
.bchip--fail { background: rgba(220, 38, 38, .11); color: #b91c1c; }
.bchip--doing { background: rgba(200, 162, 74, .18); color: #8a6a16; }

.btip { font-size: 12.5px; color: #7c3f05; background: rgba(217, 119, 6, .1); border: 1px solid rgba(217, 119, 6, .28); border-radius: 10px; padding: 8px 11px; margin-bottom: 10px; line-height: 1.5; }
.bitem { background: #fff; border-radius: 12px; padding: 11px 12px; margin-bottom: 9px; box-shadow: 0 1px 3px rgba(15, 43, 70, .07); cursor: pointer; }
.bitem__top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.bitem__code { flex: none; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 5px; padding: 1px 6px; }
.bitem__title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bitem__rate { flex: none; font-size: 13px; font-weight: 700; color: var(--navy); }
.bitem__meta { font-size: 11.5px; color: var(--ink-2); margin-top: 5px; }

.brow { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.brow:last-child { border-bottom: 0; }
.brow__l { flex: 1; min-width: 0; }
.brow__t { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.brow__m { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.brow__note { font-size: 12px; color: #7c3f05; background: rgba(217, 119, 6, .09); border-radius: 7px; padding: 4px 7px; margin-top: 5px; line-height: 1.5; }
.brow__r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.btn-mini { border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 8px; font-size: 12px; padding: 4px 9px; font-family: inherit; cursor: pointer; }
.b-none { font-size: 12.5px; color: var(--ink-2); text-align: center; padding: 14px 0 4px; margin: 0; }

@media (max-width: 400px) {
  .bkpi__v { font-size: 24px; }
  .bkpi__s { font-size: 11px; }
  .blrn__name { font-size: 14.5px; }
}

/* 看板细节修正 */
.jtabs__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 999px; background: var(--wait); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 1px;
}
.badge--doing { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.bchip--doing { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.st--learning { background: #2563eb; }
.bkpi--tap .bkpi__s { color: var(--wait); font-weight: 600; }
.blrn__lv {
  flex: none; font-size: 10.5px; font-weight: 700; color: var(--navy-2);
  background: rgba(15, 43, 70, .07); border-radius: 5px; padding: 1px 6px;
  letter-spacing: .3px;
}
.blrn__top { align-items: center; }
.blrn__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blrn__foot { color: #6b7789; }
.bnote { font-size: 11.5px; color: var(--ink-2); margin: -4px 0 12px; padding: 0 2px; }
.blv { margin-bottom: 13px; }
.blrn__num em { font-style: normal; font-size: 11px; color: var(--ink-2); margin-right: 2px; }
.strip__sp { flex: none; width: 6px; background: transparent; }
.st--new { background: #c7d2de; }
.blegend i.st--new { box-shadow: inset 0 0 0 1px #a9b7c8; }
.bkpi--wide { grid-column: 1 / -1; }
.bcalm { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #f2f6f7;
  color: #46617a; font-size: 12.5px; font-weight: 500; }

.jtabs__n[hidden] { display: none; }

/* ---------- 店长预览（学员视角） ---------- */
.pvnote {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: #fff7e2;
  border-bottom: 1px solid #ecd9a8;
  color: #6b4e12;
  font-size: 12.5px;
  line-height: 1.5;
}
.pvnote[hidden] { display: none; }
.pvnote b {
  color: #8a5a00;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 2px 7px;
  border: 1px solid #d9b96b;
  border-radius: 999px;
  background: #fff;
  flex: none;
}
.pvnote em { font-style: normal; font-weight: 700; }

.pvpick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0 12px;
}
.pvpick__b {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 43, 70, .18);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
}
.pvpick__b.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #f3e3bb;
  font-weight: 700;
}

.pvframe {
  display: block;
  margin-bottom: 20px;
  width: 100%;
  height: calc(100vh - 320px);
  min-height: 430px;
  border: 1px solid rgba(15, 43, 70, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 43, 70, .08);
}

.pvans {
  margin-top: 12px;
  padding-top: 6px;
  border-top: 1px dashed rgba(15, 43, 70, .16);
}
.pvans .review-q {
  border: 0;
  border-bottom: 1px solid rgba(15, 43, 70, .08);
  border-radius: 0;
  margin: 0;
  padding: 12px 0;
}
.pvans .review-q:last-child { border-bottom: 0; }

.ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pvexit {
  flex: none;
  border: 1px solid rgba(15, 43, 70, .22);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
}
.pvexit[hidden] { display: none; }


/* 岗位切换条（判定台） */
.pgbar{display:flex;gap:8px;overflow-x:auto;padding:0 0 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.pgbar::-webkit-scrollbar{display:none}
.pgbtn{flex:0 0 auto;border:1px solid rgba(15,43,70,.14);background:#fff;color:#40556b;
  font-size:14px;font-weight:600;padding:8px 14px;border-radius:999px;cursor:pointer;
  font-family:inherit;line-height:1.2;transition:all .16s}
.pgbtn.on{background:#0f2b46;border-color:#0f2b46;color:#fff;box-shadow:0 4px 12px rgba(15,43,70,.18)}
.pgbtn:active{transform:scale(.97)}

