/* ===== PC 管理后台 ===== */
.hidden { display: none !important; }

/* 登录 */
.login-layer { position: fixed; inset: 0; display: flex; z-index: 10; background: #fff; }
.login-layer.off { display: none; }
.login-art {
  flex: 1.15; position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 12% 8%, #3f74ff 0%, transparent 55%),
              radial-gradient(900px 700px at 95% 95%, #7c3bff 0%, transparent 50%),
              linear-gradient(140deg, #0b1730 0%, #16295c 55%, #0d1a38 100%);
  display: flex; align-items: center; padding: 0 8%;
}
.login-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}
.login-art-inner { position: relative; z-index: 2; max-width: 460px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, #4b7bff, #2f62f4 60%, #6d4bff);
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.02em;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  box-shadow: 0 8px 20px -8px rgba(47, 98, 244, .9);
}
.brand-mark.lg { width: 56px; height: 56px; border-radius: 16px; font-size: 28px; margin-bottom: 26px; }
/* 上传的 Logo 图标：铺满方块、去底色，只在有图时生效 */
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.brand-mark.has-logo { background: transparent; box-shadow: none; }
.brand-mark.has-logo.lg { background: rgba(255,255,255,.1); }
.login-art h1 { font-size: 38px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 650; }
.login-art .slogan { font-size: 15px; color: rgba(255,255,255,.66); margin: 0 0 34px; letter-spacing: .04em; }
.art-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.art-points li {
  font-size: 13.5px; color: rgba(255,255,255,.78); padding-left: 22px; position: relative; line-height: 1.7;
}
.art-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: #6f9bff; box-shadow: 0 0 0 4px rgba(111,155,255,.18);
}
.art-points b { color: #fff; font-weight: 600; }
.art-foot { position: absolute; bottom: -120px; font-size: 12px; color: rgba(255,255,255,.32); letter-spacing: .08em; }
.login-panel { flex: .85; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-box { width: 360px; }
.login-brand { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid #f0f3f9; }
.login-brand img { width: 208px; height: auto; display: block; }
.login-box h2 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.02em; }
.btn.lg { height: 44px; font-size: 14.5px; border-radius: 11px; }
.btn.block { width: 100%; margin-top: 6px; }
.login-demo { margin-top: 26px; }
.login-demo > span { font-size: 12px; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.login-links { margin-top: 26px; font-size: 13px; }
.login-links a { color: var(--brand); }

/* 布局 */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 234px; flex: 0 0 234px; background: linear-gradient(180deg, #0c1730, #101d3d 55%, #0a1428);
  color: #cbd5ec; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 18px 18px 16px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.3; }
.logo-txt b { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.logo-txt span { font-size: 10.5px; color: #6b7ba0; letter-spacing: .02em; }
.nav { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 10px 12px; }
.nav::-webkit-scrollbar { width: 4px; }
.nav::-webkit-scrollbar-thumb { background: #24314f; }
.nav-group { margin-top: 4px; }
.nav-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px 8px; border-radius: 8px; cursor: pointer; transition: .14s;
}
.nav-toggle:hover { background: rgba(255,255,255,.05); }
.nav-toggle > label {
  display: block; font-size: 14px; font-weight: 700; color: #eaf0fd;
  letter-spacing: .01em; cursor: pointer;
}
.nav-toggle .chev { width: 14px; height: 14px; color: #6f81a8; flex: 0 0 14px; transition: transform .2s; }
.nav-group.collapsed .nav-toggle .chev { transform: rotate(-90deg); }
.nav-group.collapsed .nav-items { display: none; }
.nav-items { padding-bottom: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 12px; border-radius: 8px;
  font-size: 12px; color: #a9b6d1; cursor: pointer; transition: .14s; position: relative;
}
.nav-item svg { width: 16px; height: 16px; opacity: .8; flex: 0 0 16px; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(47,98,244,.95), rgba(47,98,244,.72)); color: #fff; box-shadow: 0 6px 16px -10px rgba(47,98,244,1); }
.nav-item.active svg { opacity: 1; }
.nav-item .pip { margin-left: auto; font-size: 10px; padding: 0 6px; height: 16px; line-height: 16px; border-radius: 8px; background: #ff7a45; color: #fff; }
.side-foot { padding: 12px; }
.side-tip { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 11px 12px; }
.side-tip b { display: block; font-size: 12px; color: #dfe6f7; font-weight: 600; }
.side-tip span { font-size: 11px; color: #7d8cae; line-height: 1.5; display: block; margin-top: 3px; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 62px; flex: 0 0 62px; background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 30;
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumb i { color: #cdd4e3; font-style: normal; }
.crumb b { color: var(--ink); font-weight: 600; }
.top-tools { display: flex; align-items: center; gap: 8px; }
.search { position: relative; }
.search input {
  width: 240px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: #f8faff; padding: 0 12px 0 32px; font-size: 13px; outline: none; transition: .16s;
}
.search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,98,244,.1); width: 280px; }
.search svg { position: absolute; left: 10px; top: 9px; width: 15px; height: 15px; color: var(--muted-2); }
.icon-btn {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid transparent; background: none;
  display: grid; place-items: center; color: var(--ink-2); cursor: pointer; position: relative;
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.dot-badge { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); border: 1.5px solid #fff; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 999px; cursor: pointer; position: relative; }
.user-chip:hover { background: var(--line-2); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #4b7bff, #7c3bff); color: #fff; font-size: 12px; font-weight: 600;
}
.u-txt { display: flex; flex-direction: column; line-height: 1.25; }
.u-txt b { font-size: 12.5px; font-weight: 600; }
.u-txt span { font-size: 10.5px; color: var(--muted-2); }
.caret { width: 14px; height: 14px; color: var(--muted-2); }
.u-menu {
  position: absolute; top: 46px; right: 0; width: 178px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--sh-2); padding: 6px; display: none; z-index: 40;
}
.u-menu.show { display: block; }
.u-menu a { display: block; padding: 8px 10px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.u-menu a:hover { background: var(--line-2); }
.u-menu a.danger { color: var(--danger); }

.view { flex: 1; padding: 22px 26px 44px; min-width: 0; }

/* 页头 */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.02em; font-weight: 650; }
.page-head p { margin: 0; color: var(--muted); font-size: 12.5px; }
.page-actions { display: flex; gap: 10px; }

/* 首页 */
.hero {
  border-radius: var(--r-lg); padding: 20px 26px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 88% -20%, rgba(124,59,255,.55), transparent 60%),
              linear-gradient(115deg, #1c3fbd, #2f62f4 45%, #4f8bff);
  box-shadow: 0 18px 40px -26px rgba(47,98,244,.95); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
/* 横幅高度由右侧「消息 + 我的资料」决定，左边内容跟着垂直居中，
   否则 align-items:flex-end 会把问候语压到底部，上方留一大块空白 */
.hero-main { min-width: 0; flex: 1 1 auto; position: relative; z-index: 2; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; }
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 320px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.07);
}
.hero h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 12.5px; }
.hero .hero-sub { margin-top: 9px; position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hero-sub #heroClock { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; letter-spacing: .02em; }
.hero-sep { color: rgba(255,255,255,.34); font-style: normal; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px;
  max-width: 660px; margin-top: 15px; position: relative; z-index: 2; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.hero-stats span { font-size: 11.5px; color: rgba(255,255,255,.62); }
/* 宽屏时消息入口收进「我的资料」卡片头部（见 .msg-pill），
   只有窄到看不见卡片时才单独占一行，避免横幅被撑高一大截 */
.hero-act { display: none; justify-content: flex-end; position: relative; z-index: 3; }
.hero-act .btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.24); color: #fff; backdrop-filter: blur(4px); }
.hero-act .btn:hover { background: rgba(255,255,255,.26); }
.msg-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px;
  border-radius: 11px; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.16);
  color: #fff; font-size: 11px; font-family: inherit; cursor: pointer; transition: .16s; }
.msg-pill:hover { background: rgba(255,255,255,.28); }
.msg-pill svg { opacity: .9; }
.msg-pill i { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 0 4px;
  border-radius: 8px; background: #ff5b52; line-height: 15px; }

/* p89 横幅右侧：消息按钮 + 个人资料卡竖排（p90 修右上角与卡片「修改」重叠） */
.hero-side { flex: 0 0 322px; width: 322px; position: relative; z-index: 3;
  display: flex; flex-direction: column; gap: 10px; }
.hero-me { position: relative; z-index: 2; flex: 0 0 auto; width: auto;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 10px 13px 11px; backdrop-filter: blur(6px); }
.hero-me-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; gap: 10px; }
.hero-me-h span { font-size: 11px; letter-spacing: .5px; color: rgba(255,255,255,.66); white-space: nowrap; }
.hero-me-act { display: flex; align-items: center; gap: 10px; }
.hero-me-h a { font-size: 11.5px; color: #fff; text-decoration: none; opacity: .9;
  border-bottom: 1px dashed rgba(255,255,255,.45); padding-bottom: 1px; }
.hero-me-h a:hover { opacity: 1; }
.hero-me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.hero-me-grid div { min-width: 0; }
.hero-me-grid span { display: block; font-size: 10.5px; color: rgba(255,255,255,.58); margin-bottom: 2px; }
.hero-me-grid b { display: block; font-size: 12.5px; font-weight: 600; color: #fff; letter-spacing: .01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1180px) {
  .hero-me { display: none; }
  .hero-side { flex: 0 0 auto; width: auto; }
  .hero-act { display: flex; }
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 15px 17px;
  position: relative; overflow: hidden; transition: .18s;
}
.stat:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.stat .s-label { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .s-label svg { width: 14px; height: 14px; }
.stat .s-val { font-size: 27px; font-weight: 650; letter-spacing: -.03em; margin: 6px 0 2px; line-height: 1.15; }
.stat .s-val small { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 3px; }
.stat .s-foot { font-size: 11.5px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.stat .s-icon {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand);
}
.stat .s-icon svg { width: 17px; height: 17px; }
.up { color: var(--ok); font-weight: 600; }
.down { color: var(--danger); font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chart-box { height: 258px; position: relative; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; }

.todo-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.todo-item:last-child { border: none; }
.todo-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 34px; }
.todo-ico svg { width: 16px; height: 16px; }
.todo-txt { flex: 1; min-width: 0; }
.todo-txt b { font-size: 13px; font-weight: 550; display: block; }
.todo-txt span { font-size: 11.5px; color: var(--muted-2); }
.todo-val { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }

.rank-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.rank-no {
  width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; background: var(--line-2); color: var(--muted);
}
.rank-no.top1 { background: linear-gradient(140deg, #ffb020, #ff8a00); color: #fff; }
.rank-no.top2 { background: linear-gradient(140deg, #b8c3d9, #93a1bd); color: #fff; }
.rank-no.top3 { background: linear-gradient(140deg, #e3976a, #c9764a); color: #fff; }
.rank-name { flex: 1; font-size: 13px; }
.rank-name small { display: block; color: var(--muted-2); font-size: 11px; }
.rank-pt { font-size: 13px; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; }

/* 列表页 */
.toolbar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); }
.toolbar .grow { flex: 1; }
.toolbar .search input { width: 220px; background: #fff; }
.mini-select { height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 26px 0 11px; background: #fff; font-size: 13px; outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; }
.mini-select:focus { border-color: var(--brand); }
.pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: 12.5px; color: var(--muted); }
.pager .pgs { display: flex; gap: 6px; }
.pg { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; cursor: pointer; }
.pg:hover { border-color: var(--brand); color: var(--brand); }
.pg.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.section-title::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--brand); }

/* 卡片网格（课程/培训） */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; align-items: stretch; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .18s;
  display: flex; flex-direction: column; height: 100%; }
.course-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #d8e2f7; }
.cc-cover {
  height: 116px; position: relative; display: flex; align-items: flex-end; padding: 12px 14px;
  background: linear-gradient(135deg, #2f62f4, #7c3bff); color: #fff;
}
.cc-cover.c2 { background: linear-gradient(135deg, #0ea5a4, #2f62f4); }
.cc-cover.c3 { background: linear-gradient(135deg, #ff7a45, #ff3d71); }
.cc-cover.c4 { background: linear-gradient(135deg, #12b76a, #0ea5a4); }
.cc-cover.c5 { background: linear-gradient(135deg, #6d4bff, #b14bff); }
.cc-cover .cc-badge { position: absolute; top: 10px; left: 12px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.cc-cover h4 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.cc-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.cc-meta { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted-2); flex-wrap: wrap; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

/* 详情 */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink-2); }
.sec-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.sec-row:last-child { border: none; }
.sec-idx { width: 24px; height: 24px; border-radius: 7px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; }
.sec-t { flex: 1; font-size: 13px; }

/* 签到 */
.sign-board { display: grid; grid-template-columns: 380px 1fr; gap: 16px; align-items: start; }
.qr-stage { background: linear-gradient(160deg, #0d1730, #17264a); border-radius: var(--r); padding: 18px; color: #fff; text-align: center; }
.qr-stage .qr-cap { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 10px; letter-spacing: .04em; }
.qr-stage img { width: 216px; max-width: 100%; margin: 0 auto; border-radius: 10px; background: #fff; padding: 7px; display: block; }
.qr-code { font-size: 30px; font-weight: 700; letter-spacing: .16em; margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.qr-sub { font-size: 12px; color: rgba(255,255,255,.6); }
.sign-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.sign-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sign-dot.no { background: #d0d5dd; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; }

/* 设置 */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.set-row:last-child { border: none; }
.set-txt b { display: block; font-size: 13.5px; font-weight: 550; }
.set-txt span { font-size: 12px; color: var(--muted-2); }
.switch { width: 40px; height: 22px; border-radius: 99px; background: #d0d5dd; position: relative; cursor: pointer; transition: .2s; flex: 0 0 40px; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--brand); }
.switch.on::after { left: 20px; }
.color-dot { width: 26px; height: 26px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.color-dot.on { border-color: var(--ink); }

/* 大屏 */
.screen { background: #071127; border-radius: var(--r-lg); padding: 22px 24px; color: #dbe7ff; }
.screen-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.screen-head h3 { margin: 0; font-size: 18px; letter-spacing: .06em; color: #fff; font-weight: 600; }
.screen-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 14px; }
.panel { background: rgba(255,255,255,.035); border: 1px solid rgba(122,163,255,.16); border-radius: 12px; padding: 14px; }
.panel h5 { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: #8fa8d8; letter-spacing: .06em; }
.big-num { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.big-label { font-size: 11.5px; color: #7e93bd; }
.sc-list { display: flex; flex-direction: column; gap: 9px; }
.sc-item { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #c3d4f2; }
.sc-item .bar { flex: 1; background: rgba(255,255,255,.08); height: 5px; border-radius: 99px; overflow: hidden; }
.sc-item .bar > i { display: block; height: 100%; background: linear-gradient(90deg, #4f8bff, #22d3ee); }
/* 热门课程排行：每行「名次 + 课名 + 数值」上排，进度条在下排铺满整行。
   之前一行里塞 名次/课名/条/数值，面板只有 270px，课名一律被挤成四五个字。 */
#scHot { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#scHot .sch-row { flex: 1; min-height: 30px; display: flex; flex-direction: column; justify-content: center;
  gap: 5px; padding: 3px 0; border-bottom: 1px dashed rgba(122,163,255,.10); }
#scHot .sch-row:last-child { border-bottom: none; }
#scHot .sch-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c3d4f2; }
#scHot .sch-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #c3d4f2; }
#scHot .sch-bar { height: 4px; border-radius: 99px; overflow: hidden; background: rgba(122,163,255,.14); }
#scHot .sch-bar > i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #4f8bff, #22d3ee); }
#scHot .sch-v { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums;
  color: #dbe7ff; font-weight: 600; }
/* 知识素材构成：环图靠左、图例靠右铺满整块，避免右侧一大片空白 */
#scMaterial > div { width: 100%; justify-content: space-between; }
#scMaterial > div > div:last-child { gap: 11px !important; font-size: 12.5px !important; }

/* 资源分布 · 3D 立体环形 */
.r3-wrap { display: flex; align-items: center; gap: 12px; }
.r3-wrap.stack { flex-direction: column; gap: 4px; }
.r3-chart { flex: 0 0 50%; min-width: 0; max-width: 430px; }
.r3-wrap.stack .r3-chart { flex: 0 0 auto; width: 100%; }
.r3-chart svg { animation: r3in .55s cubic-bezier(.2, .8, .3, 1) both;
  filter: drop-shadow(0 8px 20px rgba(46, 110, 255, .22)); }
@keyframes r3in { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.r3-legend { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.r3-li { display: flex; align-items: center; gap: 8px; padding: 3px 7px; border-radius: 7px;
  font-size: 12px; color: #c3d4f2; transition: background .18s; }
.r3-li.on { background: rgba(122, 163, 255, .13); }
.r3-dot { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 9px; box-shadow: 0 0 7px currentColor; }
.r3-n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r3-v { color: #eaf2ff; font-weight: 600; font-variant-numeric: tabular-nums; }
.r3-p { width: 32px; text-align: right; color: #6d80a8; font-variant-numeric: tabular-nums; }
.r3-seg { transition: transform .26s cubic-bezier(.2, .8, .3, 1); }
.r3-seg.hot { transform: translateY(-4px); filter: brightness(1.1); }

/* ---------- 数据大屏（升级版） ---------- */
.screen { position: relative; overflow: hidden; border: 1px solid rgba(122,163,255,.14);
  background: radial-gradient(1100px 420px at 10% -12%, rgba(47,98,244,.34), transparent 62%),
    radial-gradient(900px 400px at 98% -6%, rgba(34,211,238,.18), transparent 58%),
    linear-gradient(180deg, #061024 0%, #050b1a 100%);
  box-shadow: 0 26px 70px -34px rgba(8,20,50,.85); }
.screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(122,163,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,163,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(85% 75% at 50% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(85% 75% at 50% 0%, #000 25%, transparent 100%); }
.screen > * { position: relative; z-index: 1; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(122,163,255,.14); }
.sc-brand { display: flex; align-items: center; gap: 12px; }
.sc-logo { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2f62f4, #22d3ee);
  box-shadow: 0 10px 24px -10px rgba(47,98,244,.95); }
.sc-brand h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: .08em; color: #fff;
  background: linear-gradient(90deg, #ffffff, #9ec4ff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.sc-brand .sc-sub { font-size: 10.5px; letter-spacing: .22em; color: #54709e; margin-top: 3px; }
.sc-clock { text-align: right; }
.sc-clock b { display: block; font-size: 22px; font-weight: 600; color: #e8f1ff;
  font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.sc-clock span { font-size: 11px; color: #6d80a8; letter-spacing: .1em; }
.sc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #37d6b0; letter-spacing: .1em; }
.sc-live i { width: 6px; height: 6px; border-radius: 50%; background: #37d6b0; animation: scPulse 1.8s infinite; }
@keyframes scPulse {
  0% { box-shadow: 0 0 0 0 rgba(55,214,176,.62); }
  70% { box-shadow: 0 0 0 7px rgba(55,214,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,214,176,0); } }
.sc-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.sc-kpi .k { position: relative; padding: 13px 16px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, rgba(47,98,244,.18), rgba(6,16,36,.25));
  border: 1px solid rgba(122,163,255,.18); }
.sc-kpi .k::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, #2f62f4, #22d3ee 58%, transparent); }
.sc-kpi .kl { font-size: 11.5px; color: #8fa8d8; letter-spacing: .08em; }
.sc-kpi .kv { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.sc-kpi .kv small { font-size: 12px; font-weight: 500; color: #7e93bd; margin-left: 4px; letter-spacing: 0; }
.sc-kpi .kt { font-size: 11px; color: #5f76a1; }
.sc-kpi .ki { position: absolute; right: 12px; top: 12px; opacity: .3; }
.sc-rk { width: 17px; height: 17px; flex: 0 0 17px; border-radius: 5px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 10.5px; color: #93a9d0;
  background: rgba(255,255,255,.07); }
.sc-rk.top { color: #1d2b45; background: linear-gradient(135deg, #ffd76b, #ffb020); font-weight: 700; }
@media (max-width: 1400px) { .sc-kpi { grid-template-columns: repeat(2, 1fr); } }

/* 表格内小样式 */
.uname { display: flex; align-items: center; gap: 9px; }
.uname .avatar { width: 28px; height: 28px; font-size: 11px; }
.clickable { cursor: pointer; }
.clickable:hover { color: var(--brand); }

@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .three-col, .detail-grid, .sign-board, .screen-grid { grid-template-columns: 1fr; }
}

/* 消息角标 */
.msg-badge { display:inline-block; min-width:16px; height:16px; line-height:16px; padding:0 4px; margin-left:5px;
  border-radius:99px; background:#e5484d; color:#fff; font-size:10px; font-weight:600; text-align:center; vertical-align:middle; }

/* ===== 课程详情：页签 / 表单块 ===== */
.drawer.lg { width: 860px; }
.drawer.xl { width: 1080px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 16px; position: sticky; top: -4px; background: #fff; z-index: 2; padding-top: 4px; }
.tabs .tab { padding: 10px 14px; font-size: 13.5px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs .tab:hover { color: var(--ink); }
.tabs .tab.on { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }

.form-block { background: #fbfcff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; margin: 4px 0 16px; }
.form-block .fb-title { font-size: 13px; font-weight: 600; color: var(--ink); padding: 12px 0 6px; }
.form-block .set-row { padding: 11px 0; }
.form-block .hint { padding-bottom: 10px; }
.form-block p { padding-bottom: 12px; }

.seg { display: inline-flex; gap: 8px; }
.seg-item { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; color: var(--ink-2); cursor: pointer; background: #fff; transition: .15s; }
.seg-item i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #c4ccdb; position: relative; }
.seg-item.on { border-color: var(--brand); color: var(--brand); background: var(--brand-50); font-weight: 550; }
.seg-item.on i { border-color: var(--brand); }
.seg-item.on i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--brand); }

.cover-row { display: flex; gap: 10px; }
.cover-opt { width: 116px; height: 66px; border-radius: 10px; cursor: pointer; border: 2px solid transparent; position: relative;
  background: linear-gradient(135deg, #2f62f4, #7c3bff); }
.cover-opt.c2 { background: linear-gradient(135deg, #0ea5a4, #2f62f4); }
.cover-opt.c3 { background: linear-gradient(135deg, #ff7a45, #ff3d71); }
.cover-opt.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.cover-opt.on::after { content: "✓"; position: absolute; right: 6px; bottom: 4px; color: #fff; font-size: 12px; font-weight: 700; }

.upload-box { border: 1.5px dashed var(--line); border-radius: 12px; padding: 24px; text-align: center; color: var(--muted-2);
  background: #fbfcff; cursor: pointer; transition: .15s; }
.upload-box:hover { border-color: var(--brand); color: var(--brand); }
.qr-box { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.qr-mock { width: 62px; height: 62px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: #fff; }

/* ===== 课程分类 ===== */
.cat-layout { display: grid; grid-template-columns: 246px 1fr; gap: 16px; align-items: start; }
.cat-side .card-body { max-height: 620px; overflow: auto; }
.cat-node { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.cat-node:hover { background: #f5f8ff; }
.cat-node.on { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.cat-node .cn-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-node .cn-num { font-size: 11.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.cat-node.lv2 { padding-left: 22px; font-size: 12.5px; }
.cat-node.lv2::before { content: "└"; color: #c4ccdb; font-size: 11px; }

/* ===== 素材预览 ===== */
.mat-preview { display: grid; grid-template-columns: minmax(0, 1fr) 244px; gap: 18px; align-items: start; }
.mat-stage { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; gap: 10px;
  background: radial-gradient(circle at 50% 40%, #1c2a4d, #0b1223 70%); color: #fff; }
.mat-playbtn { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.28); transition: .18s; }
.mat-playbtn:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.mat-playbtn.sm { width: 40px; height: 40px; background: var(--brand-50); border-color: transparent; color: var(--brand); }
.mat-cap { font-size: 12px; color: rgba(255,255,255,.55); }
.mat-ctrl { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,.7); }
.mat-track { flex: 1; height: 4px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.mat-track > i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

.mat-chaps { display: flex; flex-direction: column; }
.mat-chap { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.mat-chap:hover { border-color: #cfd9ee; background: #fbfcff; }
.mat-chap b { font-weight: 550; }

.mat-audio { background: #f8faff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 18px; }
.mat-audio .mat-ctrl { position: static; margin-top: 10px; color: var(--muted); }
.mat-audio .mat-track { background: #e4eaf6; }
.mat-video { width: 100%; max-height: 52vh; border-radius: 14px; background: #0b1220; display: block; }
.mat-pdf { width: 100%; height: 52vh; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mat-fileholder { border: 1px dashed var(--line); border-radius: 14px; background: #fbfcff; padding: 44px 18px;
  text-align: center; color: var(--muted); display: grid; gap: 8px; place-items: center; font-size: 12.5px; }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 14px 2px 0; }
.wave > i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, #6f97ff, #2f62f4); opacity: .75; }
.mat-trans { max-height: 210px; overflow: auto; }
.mat-line { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.mat-line > span:first-child { color: var(--brand); flex: 0 0 42px; }

.mat-doc { background: #eef1f7; border-radius: 14px; padding: 14px; }
.mat-page { background: #fff; border-radius: 8px; box-shadow: var(--sh-1); padding: 26px 30px; max-height: 430px; overflow: auto; font-size: 13px; }
.mat-page .p-h { font-size: 17px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.mat-page .p-meta { font-size: 11.5px; color: var(--muted-2); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.mat-page .p-h2 { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 16px 0 6px; }
.mat-page .p-t { margin: 0 0 10px; color: #475467; line-height: 1.9; text-align: justify; }
.mat-page .p-li { color: #475467; line-height: 1.9; padding-left: 14px; position: relative; }
.mat-page .p-li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.mat-page .p-note { background: var(--brand-50); color: #2b4a9b; border-radius: 8px; padding: 9px 12px; font-size: 12px; margin: 10px 0; line-height: 1.7; }
.mat-pageno { text-align: center; font-size: 11.5px; color: var(--muted-2); padding-top: 8px; }
.mat-ref { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; }
.mat-ref:last-child { border: none; }

/* ===== 课程设置：左右标签表单（对齐反馈第 6 页） ===== */
.cf-grid { display: grid; grid-template-columns: 88px 1fr; gap: 14px 0; align-items: start; }
.cf-grid > .cf-label { font-size: 12.5px; color: #475467; padding-top: 9px; position: relative; }
.cf-label.req::before { content: "*"; color: var(--danger); position: absolute; left: -9px; top: 8px; font-size: 13px; }
.rk-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 36px; }

/* 封面四选一 */
.cover-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cover-pick { cursor: pointer; display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.cover-thumb { width: 122px; height: 70px; border-radius: 8px; border: 1px solid var(--line); background: #f2f4f7;
  display: flex; align-items: center; justify-content: center; overflow: hidden; transition: .15s; color: var(--muted-2); }
.cover-thumb.c1 { background: url(/shared/covers/course1.svg) center/cover no-repeat; }
.cover-thumb.c2 { background: url(/shared/covers/course2.svg) center/cover no-repeat; }
.cover-thumb.c3 { background: url(/shared/covers/course3.svg) center/cover no-repeat; }
.cover-thumb.c4 { background: url(/shared/covers/course4.svg) center/cover no-repeat; }
.cover-thumb.c5 { background: url(/shared/covers/course5.svg) center/cover no-repeat; }
.cover-thumb.c6 { background: url(/shared/covers/course6.svg) center/cover no-repeat; }
.cover-thumb.custom { border-style: dashed; position: relative; }
/* 缩略图右上角的放大按钮：点它看大图，点缩略图本身仍然是「选中这套封面」 */
.cover-thumb { position: relative; }
.cover-zoom { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: zoom-in;
  background: rgba(16, 24, 40, .45); opacity: .55; transition: .15s; }
.cover-pick:hover .cover-zoom { opacity: 1; }
.cover-zoom:hover { background: rgba(16, 24, 40, .78); }
.cover-pick.on .cover-thumb { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.cover-name { font-size: 12.5px; color: #475467; display: flex; align-items: center; gap: 6px; }
.cover-name i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #c4ccdb; display: inline-block; position: relative; }
.cover-pick.on .cover-name { color: var(--brand); }
.cover-pick.on .cover-name i { border-color: var(--brand); }
.cover-pick.on .cover-name i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--brand); }

/* 学习规则开关行 */
.sw-block { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 2px; }
.sw-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.sw-row:last-child { border-bottom: none; }
.sw-label { width: 152px; font-size: 12.5px; color: #475467; flex: 0 0 152px; }
.sw-off, .sw-on { font-size: 12px; color: var(--muted-2); transition: .15s; }
.sw-row:has(.switch.on) .sw-on { color: var(--brand); font-weight: 550; }
.sw-row:has(.switch.on) .sw-off { color: var(--muted-2); }
.q { width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; background: #e4e7ec;
  color: #667085; font-size: 10px; font-style: normal; font-weight: 600; cursor: help; display: inline-block; flex: 0 0 15px; }

/* 富文本编辑器 */
.rte { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rte-bar { display: flex; gap: 2px; padding: 5px 8px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.rte-bar a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; color: #475467; cursor: pointer; font-size: 13px; user-select: none; }
.rte-bar a:hover { background: #eef2f8; color: var(--brand); }
.rte-body { min-height: 150px; padding: 12px 14px; font-size: 13px; line-height: 1.75; color: var(--ink-2); outline: none; }
.rte-body:empty::before { content: attr(data-ph); color: var(--muted-2); }
.rte-body blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid var(--brand-100); background: #f8fafc; color: #475467; }

/* ===== 学员统计 / 课程评论（反馈第 7 页） ===== */
.st-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 12px; }
.st-bar .select { width: auto; min-width: 118px; }
.st-sum { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.slink { color: var(--brand); font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.slink:hover { text-decoration: underline; }
#stTable .uname, #stTable td { white-space: nowrap; }
#stTable .cmt-tx, #cmtTable td:nth-child(2) { white-space: normal; }
#cmtTable td:nth-child(6) { white-space: nowrap; }

/* 完成率圆环 */
.ring { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.ring span { position: relative; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }

/* 打分统计卡 */
.rate-card { display: flex; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 20px; background: #fbfcff; }
.rate-l { text-align: center; min-width: 116px; }
.rate-num { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.rate-stars i { font-style: normal; color: #e4e7ec; font-size: 13px; letter-spacing: 1px; }
.rate-stars i.on { color: #f79009; }
.rate-stars.sm i { font-size: 11px; }
.rate-dist { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rd-row { display: flex; align-items: center; gap: 10px; }
.rd-k { font-size: 12px; color: var(--muted); width: 34px; }
.rd-row .bar { height: 5px; }

/* 评论表格 */
.cmt-tx { max-width: 320px; line-height: 1.65; color: var(--ink-2); margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-quote { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.tip-warn { background: var(--warn-50); color: #b54708; border: 1px solid #fbdba7; border-radius: 10px;
  padding: 9px 14px; font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; }

/* 学员学习明细 */
.perf-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.perf-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.perf-row:last-child { border-bottom: none; }
.perf-row > div { flex: 1; }
.perf-ic { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--muted-2); border: 1px solid var(--line); flex: 0 0 18px; }
.perf-ic.on { background: var(--ok-50); color: var(--ok); border-color: transparent; font-weight: 700; }
.ok-t { color: var(--ok); }

/* 线下培训详情 */
.td-drawer .cf-grid { grid-template-columns: 138px 1fr; }
.td-drawer .cf-label { white-space: nowrap; }
.td-drawer .rte-body { min-height: 100px; }

/* 关联设置：关联证书 / 调查评估设置（图19、图20） */
.assoc-grid { padding: 8px 0; }
.assoc-grid .switch { margin-top: 4px; }
.assoc-grid .btn.primary { background: #2f6bff; border-color: #2f6bff; }
.assoc-note { margin: 14px 0 0 138px; font-size: 12px; color: #667085; display: flex; align-items: flex-start; gap: 6px; line-height: 1.7; }
.assoc-note svg { flex: 0 0 13px; margin-top: 2px; }
.assoc-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; }
@media (max-width: 760px) {
  .assoc-note { margin-left: 0; }
  .assoc-grid .select { width: 100% !important; }
}
.td-top { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.td-back { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.td-back:hover { color: var(--brand); }
.td-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.td-x { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px; color: var(--muted); cursor: pointer; margin-left: 6px; }
.td-x:hover { background: #f2f4f7; color: var(--ink); }

/* 报名范围 / 指派学员 */
.assign-box { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; margin: -6px 0 14px;
  background: #fafbfc; }
.assign-box .ab-txt { font-size: 12.5px; color: var(--ink-2); }
.pick-inner { border-top: 1px solid var(--line-2); margin-top: 10px; }
.pick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 210px; overflow: auto; padding-right: 2px; }
.pick-list label { font-size: 12.5px; }

/* 辅导资料多选 */
.mat-pick { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; transition: .15s; background: #fff; }
.mat-pick:hover { border-color: #c7d4f5; }
.mat-pick.on { border-color: var(--brand); background: var(--brand-50); }
.mat-pick b { font-size: 12.5px; font-weight: 550; display: block; }
.mp-ico { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: #f2f4f7; color: var(--muted); flex: 0 0 26px; }
.mat-pick.on .mp-ico { background: #fff; color: var(--brand); }

/* 培训跟踪 */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tk-card { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; background: #fafbfc; }
.tk-card span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.tk-card b { font-size: 22px; font-weight: 650; color: var(--ink); letter-spacing: -.5px; }

@media (max-width: 1280px) {
  .cat-layout, .mat-preview { grid-template-columns: 1fr; }
  .cf-grid { grid-template-columns: 76px 1fr; }
  .td-drawer .cf-grid { grid-template-columns: 132px 1fr; }
  .sw-label { width: 128px; flex: 0 0 128px; }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 学习地图（第 10 页） ---------- */
.cover-thumb.m1, .wz-cover.m1, .wz-dot.m1 { background: url(/shared/covers/map1.svg) center/cover no-repeat; }
.cover-thumb.m2, .wz-cover.m2, .wz-dot.m2 { background: url(/shared/covers/map2.svg) center/cover no-repeat; }
.cover-thumb.m3, .wz-cover.m3, .wz-dot.m3 { background: url(/shared/covers/map3.svg) center/cover no-repeat; }
.cover-thumb.m4, .wz-cover.m4, .wz-dot.m4 { background: url(/shared/covers/map4.svg) center/cover no-repeat; }
.cover-thumb.m5, .wz-cover.m5, .wz-dot.m5 { background: url(/shared/covers/map5.svg) center/cover no-repeat; }
.cover-thumb.m6, .wz-cover.m6, .wz-dot.m6 { background: url(/shared/covers/map6.svg) center/cover no-repeat; }
.wz-cover { width: 300px; height: 168px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .92); position: relative; overflow: hidden; }
.wz-dot { width: 34px; height: 22px; border-radius: 5px; cursor: pointer; border: 2px solid transparent;
  background-size: cover; background-position: center; }
.wz-dot.on { border-color: var(--brand); box-shadow: 0 0 0 2px #fff inset; }

/* 地图封面：自动同步关卡名称 */
.mc { position: relative; border-radius: 8px; overflow: hidden; background: #334155 center/cover no-repeat;
  flex: 0 0 auto; }
.mc::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 22%, rgba(0,0,0,.68) 100%); }
.mc-in { position: absolute; inset: 0; z-index: 1; padding: 10px 12px 11px; display: flex; flex-direction: column;
  justify-content: flex-end; color: #fff; }
.mc-title { font-size: 15px; font-weight: 650; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,.45);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-lvs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; max-height: 44px; overflow: hidden; }
.mc-lv { font-size: 10.5px; line-height: 1.5; padding: 1px 7px; border-radius: 99px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(2px);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-lv b { font-weight: 700; margin-right: 3px; opacity: .9; }
.mc-empty { font-size: 11px; opacity: .8; }
.mc > .cc-badge { position: absolute; top: 10px; left: 12px; z-index: 2; color: #fff;
  background: rgba(14, 23, 42, .38); backdrop-filter: blur(4px); font-size: 11px;
  padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); }
.mp-list { flex: 1; display: flex; flex-direction: column; gap: 10px; max-height: 168px; overflow: auto; }

.pbar { height: 6px; border-radius: 99px; background: #eef0f4; overflow: hidden; margin-bottom: 4px; width: 120px; }
.pbar > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

.mp-stage { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.mp-stage-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid var(--line-2); }
.mp-stage-idx { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 12px;
  font-weight: 600; display: flex; align-items: center; justify-content: center; flex: 0 0 22px; }
.mp-stage-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mp-items { padding: 4px 14px; }
.mp-item { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.mp-item:last-child { border-bottom: none; }
.mp-check { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #d0d5dd; display: flex; align-items: center;
  justify-content: center; color: #fff; flex: 0 0 16px; background: #fff; }
.mp-check.on { background: var(--brand); border-color: var(--brand); }
.mp-item-t { font-size: 13px; color: var(--ink); }
.mp-empty { padding: 14px 0; font-size: 12.5px; color: var(--muted); }
.mp-stage-foot { padding: 8px 14px 10px; }
.mp-add { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--brand); cursor: pointer; }
.mp-add:hover { text-decoration: underline; }

.wz-wrap { max-width: 1000px; }
.wz-title { font-size: 22px; font-weight: 600; color: var(--ink); margin: 2px 0 16px; letter-spacing: .3px; }
.wz-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #667085; cursor: pointer; margin-bottom: 18px; }
.wz-back:hover { color: var(--brand); }
.wz-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px 20px; }
.wz-grid { grid-template-columns: 120px 1fr; gap: 24px 0; }
.wz-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; }

/* ---------- 学习地图详情（第 11 页） ---------- */
.md-htip { color: var(--muted); font-weight: 400; margin-right: 2px; }
.md-meta { font-size: 12.5px; color: var(--muted); margin-left: 12px; }
.md-topbtns { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.md-catbar { display: flex; align-items: center; margin-bottom: 12px; }
.md-stabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.md-stab { padding: 7px 12px; border-radius: 6px; background: #f2f4f7; font-size: 13px; color: #475467;
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.md-stab.on { background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); }
.md-stab i { display: inline-flex; opacity: .45; }
.md-stab i:hover { opacity: 1; color: var(--danger); }
.md-addstage { margin-left: auto; background: #f0642a !important; border-color: #f0642a !important; }
.md-cat-form .cf-grid { grid-template-columns: 110px 1fr; gap: 18px 0; }
.md-addrow { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.md-items { border: 1px solid var(--line); border-radius: 8px; padding: 2px 14px; background: #fff; }
.md-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-2);
  flex-wrap: wrap; }
.md-item:last-child { border-bottom: none; }
.md-item.dragging { opacity: .4; }
.md-no { width: 20px; height: 20px; border-radius: 50%; background: #fdecec; color: #e2483d; font-size: 11.5px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 20px; font-weight: 600; }
.md-no.exam { background: #e8f1fb; color: #2f6fd0; }
.md-no.survey { background: #eaf4ec; color: #3f8a52; }
.md-iname { flex: 1; min-width: 120px; font-size: 13px; color: var(--ink); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.md-ops { display: flex; gap: 14px; font-size: 12px; color: #667085; }
.md-ops a { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.md-ops a:hover { color: var(--brand); }
.md-ops a.danger:hover { color: var(--danger); }
.md-mv { display: none; flex-basis: 100%; gap: 12px; font-size: 12px; color: #667085; padding-left: 30px; }
.md-item.mv-on .md-mv { display: flex; }
.md-mv a { cursor: pointer; }
.md-mv a:hover { color: var(--brand); }
.md-mv a.off { color: #cbd2dc; pointer-events: none; }
.md-submit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.md-empty2 { padding: 16px 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.md-blank { text-align: center; padding: 56px 0; color: var(--muted); font-size: 13px; }

/* 浏览态（图26） */
.md-bstage { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.md-bhead { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fafbfc;
  border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink); }
.md-bedit { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px;
  color: #667085; cursor: pointer; }
.md-bedit:hover { color: var(--brand); }
.md-brow { display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.md-brow:last-child { border-bottom: none; }
.md-btype { color: #667085; font-size: 12.5px; flex: 0 0 auto; }
.md-btitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.md-eye { color: var(--muted-2); cursor: pointer; display: inline-flex; }
.md-eye:hover { color: var(--brand); }

/* 阶段设置 */
.md-phase { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; margin-bottom: 10px; background: #fff; }
.md-phase .cell-actions a.off { color: #cbd2dc !important; pointer-events: none; }
.md-phase .sw-label { font-size: 12.5px; }

/* 学员统计 */
.md-stat-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.md-stat-bar { height: 7px; border-radius: 99px; background: #eef0f4; overflow: hidden; margin-top: 7px; }
.md-stat-bar > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* 手机端预览 */
.mpre-wrap { display: flex; flex-direction: column; align-items: center; padding: 4px 0 2px; }
.mpre-phone { width: 300px; border: 9px solid #1f2430; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, .22); }
.mpre-notch { height: 15px; background: #1f2430; }
.mpre-cover { height: 150px; display: flex; align-items: center; justify-content: center; color: #fff; }
.mpre-cover.c1 { background: linear-gradient(135deg, #4d8bf5, #2f6fd0); }
.mpre-cover.c2 { background: linear-gradient(135deg, #0ea5a4, #2f62f4); }
.mpre-cover.c3 { background: linear-gradient(135deg, #ff7a45, #ff3d71); }
.mpre-cover.c4 { background: linear-gradient(135deg, #12b76a, #0ea5a4); }
.mpre-cover.c5 { background: linear-gradient(135deg, #6d4bff, #b14bff); }
.mpre-body { padding: 14px 14px 18px; }
.mpre-body h4 { font-size: 15px; margin: 8px 0 6px; line-height: 1.45; color: var(--ink); }
.mpre-meta { font-size: 12px; color: var(--muted-2); }
.mpre-sec { font-size: 12.5px; font-weight: 600; margin: 14px 0 6px; color: var(--ink-2); }
.mpre-body p { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 0; }
.mpre-btn { margin-top: 16px; height: 38px; border-radius: 8px; background: var(--brand); color: #fff;
  font-size: 13.5px; display: flex; align-items: center; justify-content: center; }
.mpre-stage { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0;
  border-bottom: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.mpre-stage span { color: var(--muted-2); font-size: 12px; flex: 0 0 auto; }
.mpre-tip { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ---------- 学习地图 · 学员统计矩阵（第 12 页） ---------- */
.mm-ding { background: #e5484d !important; border-color: #e5484d !important; color: #fff !important; }
.mm-ding:hover { background: #cf3b40 !important; }
.mm-ding-tip { font-size: 11.5px; color: #1f2937; background: #f4f5f7; border: 1px solid #e3e6eb;
  border-radius: 4px; padding: 3px 7px; white-space: nowrap; }

.mm-scroll { overflow: auto; max-height: 460px; border-top: 1px solid var(--line-2); }
.mm-tb { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; }
.mm-tb th, .mm-tb td { white-space: nowrap; }
.mm-tb thead th { background: #f8fafc; color: #475467; font-size: 12px; font-weight: 550;
  border-bottom: 1px solid var(--line); padding: 8px 8px; }
.mm-tb thead tr:first-child th { border-top: none; }
.mm-stageh { text-align: center !important; color: #1f2937 !important; font-weight: 600 !important;
  border-left: 2px solid #e3e6eb; border-bottom: 1px solid var(--line-2) !important; }
.mm-sub { text-align: center !important; color: #667085; font-size: 11.5px !important; width: 64px; }
.mm-tb tbody td.mm-sub { color: #344054; font-size: 12px; border-left: 2px solid #e3e6eb; }
.mm-itemh { width: 74px; min-width: 74px; max-width: 74px; white-space: normal !important; word-break: break-all;
  vertical-align: bottom !important;
  line-height: 1.25; font-size: 11px !important; font-weight: 400 !important; position: relative;
  padding-top: 9px !important; text-align: center !important; }
.mm-itemh::before { content: ''; position: absolute; left: 50%; top: 3px; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px; background: #d0d5dd; }
.mm-itemh.t-exam::before { background: #f79009; }
.mm-itemh.t-survey::before { background: #12b76a; }
.mm-cell { text-align: center !important; font-size: 12px; padding: 8px 4px !important; }
.mm-yes { display: inline-block; min-width: 34px; padding: 1px 5px; border-radius: 4px;
  background: #ecfdf3; color: #067647; font-size: 11.5px; }
.mm-yes.t-exam { background: #fffaeb; color: #b54708; }
.mm-yes.t-survey { background: #ecfdf3; color: #067647; }
.mm-no { color: #c0c6d0; font-size: 11.5px; }
.mm-ok { color: #067647; }
.mm-fix { position: sticky; left: 0; background: #fff; z-index: 1; }
.mm-tb thead th.mm-fix { z-index: 3; background: #f8fafc; }
.mm-tb tbody tr:hover td { background: #f8fafc; }
.mm-tb tbody tr:hover td.mm-fix { background: #f8fafc; }

/* 新员工标记管理 */
.nh-range { display: flex; align-items: center; gap: 6px; }
.page-head .sw-row { display: flex; align-items: center; gap: 8px; }
.page-head .sw-label { font-size: 12.5px; color: #344054; white-space: nowrap; }
.page-head .page-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end;
  align-items: center; gap: 8px; }
.page-head .page-actions .sw-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* ===== 图30-32：题库分类 / 试卷 ===== */
.chip.on { border-color: var(--brand); color: var(--brand); background: var(--brand-50); font-weight: 600; }
.ord-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.ord-row .ord-idx { width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--brand-50);
  color: var(--brand); font-size: 11.5px; font-weight: 650; display: grid; place-items: center; }
.ord-row .ord-name { flex: 1; font-size: 13px; }
.ord-btns { display: flex; gap: 4px; }
.ord-btns a { width: 24px; height: 24px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--ink-2); }
.ord-btns a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.pick-row { display: flex; align-items: flex-start; gap: 9px; padding: 10px 8px; cursor: pointer;
  border-bottom: 1px dashed var(--line-2); font-size: 13px; line-height: 1.6; }
.pick-row:hover { background: #f7f9ff; }
.pick-row input { margin-top: 3px; flex: none; }
.pick-idx { min-width: 18px; color: var(--muted-2); font-size: 11.5px; padding-top: 2px; }
.pp-qrow { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.pp-qrow .pp-del { flex: none; padding: 5px; border-radius: 6px; cursor: pointer; color: var(--muted-2); }
.pp-qrow .pp-del:hover { color: var(--danger); background: var(--danger-50); }

/* 图34-35：题库整页表单 / 题库详情 */
.bk-form-head { max-width: 1000px; }
.bk-form-head h2 { font-size: 19px; font-weight: 650; }
.bk-desc { margin-top: 14px; padding: 12px 14px; background: #fbfcff; border: 1px solid var(--line-2);
  border-radius: 10px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.bk-desc img { max-width: 100%; border-radius: 8px; }
.bk-desc blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid var(--brand-100); background: #f8fafc; }

/* 必填字段：标签前红星（对齐图33「* 分类名称」） */
.field.req > label::before { content: "*"; color: var(--danger); margin-right: 3px; font-size: 13px; }

/* 图36-38：题库详情（题目列表整页 / 预览 / 批量录入 / 导入） */
.qb-tools { align-items: center; }
.qb-stem { font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }
.qb-opt { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.qopt { padding: 1px 6px; border-radius: 5px; }
.qopt.on { background: var(--ok-50); color: #087443; font-weight: 550; }
.qt-single { background: var(--brand-50); color: var(--brand); }
.qt-multi { background: #f4f0ff; color: #6941c6; }
.qt-judge { background: var(--warn-50); color: #b54708; }
.qt-short { background: var(--info-50); color: #175cd3; }
.btn-q { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px;
  background: var(--brand); color: #fff; font-size: 12px; cursor: pointer; user-select: none; }
.btn-q:hover { background: var(--brand-dark); }
.btn-q.danger { background: #fff; color: var(--danger); border: 1px solid #f5c2be; }
.btn-q.danger:hover { background: var(--danger-50); }

.qp-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qp-stem { font-size: 14.5px; line-height: 1.75; color: var(--ink); font-weight: 550; }
.qp-opts { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.qp-opt { display: flex; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.qp-opt b { color: var(--muted); flex: none; }
.qp-opt.on { border-color: #9dd9b9; background: var(--ok-50); }
.qp-opt.on b { color: #087443; }
.qp-block { margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #f8fafc; border: 1px solid var(--line-2); }
.qp-block.ana { background: var(--brand-50); border-color: var(--brand-100); }
.qp-lb { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.qp-txt { font-size: 13px; line-height: 1.8; color: var(--ink-2); white-space: pre-wrap; }

.batch-tip { padding: 12px 14px; background: #f8fafc; border: 1px solid var(--line-2); border-radius: 10px; }
.batch-tip code { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
  font-size: 12px; color: var(--brand); }
.batch-prev:not(:empty) { margin-top: 10px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.bp-row { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 12.5px;
  border-bottom: 1px solid var(--line-2); }
.bp-row:last-child { border-bottom: 0; }
.bp-i { width: 18px; color: var(--muted-2); }
.bp-qt { flex: none; padding: 1px 6px; border-radius: 5px; background: var(--brand-50); color: var(--brand); }
.bp-stem { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bp-ans { flex: none; color: var(--ok); font-weight: 600; }
.bp-err { flex: none; color: var(--danger); }

.file-drop { display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px 16px; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer;
  color: var(--muted); font-size: 13px; background: #fbfcff; transition: .15s; }
.file-drop:hover, .file-drop.on { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.imp-ok { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 9px;
  background: var(--ok-50); color: #087443; font-size: 13px; }
.imp-fail { margin-top: 8px; padding: 10px 12px; border-radius: 9px; background: var(--danger-50);
  color: #b42318; font-size: 12.5px; line-height: 1.8; }
/* 操作列里的实心小按钮：需覆盖 .cell-actions a 的品牌色 */
.cell-actions a.btn-q { color: #fff; }
.cell-actions a.btn-q:hover { color: #fff; }
.cell-actions a.btn-q.danger { color: var(--danger); }

/* 图38 续：阅卷弹窗（主观题真实作答） */
.gd-item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.gd-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.gd-hd b { color: var(--ink); font-size: 13px; }
.gd-stem { font-size: 13.5px; line-height: 1.7; color: var(--ink); margin-bottom: 10px; }
.gd-lb { font-size: 11.5px; font-weight: 600; color: var(--muted-2); margin: 8px 0 4px; }
.gd-lb.ref { color: var(--ok); }
.gd-ans { padding: 9px 12px; border-radius: 8px; background: #f8fafc; border: 1px solid var(--line-2);
  font-size: 13px; line-height: 1.8; color: var(--ink-2); white-space: pre-wrap; }
.gd-ans.ref { background: var(--ok-50); border-color: #cdeedd; color: #087443; }
.bp-ans { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-del { color: var(--danger); cursor: pointer; }
.sel-del:hover { text-decoration: underline; }
.tb input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--brand); cursor: pointer; }

/* ===== 图39-41：题目录入（三种方式） ===== */
/* 入口弹窗 / 空题库引导 */
.entry-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ep-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 22px 14px; text-align: center;
  cursor: pointer; background: #fff; transition: .18s; display: flex; flex-direction: column; align-items: center;
}
.ep-card:hover { border-color: var(--brand); box-shadow: 0 10px 24px -14px rgba(47, 98, 244, .45); transform: translateY(-2px); }
.ep-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 12px; }
.ep-card b { font-size: 14px; color: var(--ink); }
.ep-card p { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.qb-empty { padding: 26px 18px 30px; text-align: center; }
.qb-empty-t { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.qb-empty .entry-pick { max-width: 660px; margin: 0 auto; }

/* 批量录入：左编辑 / 右预览 */
.bt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.bt-left, .bt-right { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bt-tipbar { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.bt-bubble { position: relative; font-size: 12px; color: var(--ink-2); background: var(--brand-50);
  border: 1px solid var(--brand-100); border-radius: 8px; padding: 5px 10px; }
.bt-bubble::after { content: ''; position: absolute; left: 16px; bottom: -5px; width: 8px; height: 8px;
  background: var(--brand-50); border-right: 1px solid var(--brand-100); border-bottom: 1px solid var(--brand-100); transform: rotate(45deg); }
.bt-editor { display: flex; height: 560px; position: relative; }
.bt-gutter { flex: 0 0 46px; padding: 13px 8px 13px 0; text-align: right; overflow: hidden;
  font: 12.5px/1.95 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted-2);
  background: #fafbfd; border-right: 1px solid var(--line-2); white-space: pre; user-select: none; }
#btText { flex: 1; border: 0; outline: none; resize: none; padding: 13px 14px;
  font: 12.5px/1.95 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2);
  white-space: pre; overflow: auto; background: #fff; }
.bt-hint { padding: 9px 14px 12px; line-height: 1.8; }
.bt-hint code, .bt-set code { background: #f4f6fb; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.bt-rhead { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: #fbfcfe; }
.bt-set { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 14px;
  border-bottom: 1px solid var(--line-2); background: #fff; font-size: 12.5px; color: var(--muted); }
.bt-set-t { font-weight: 600; color: var(--ink-2); }
.bt-set label { display: inline-flex; align-items: center; gap: 6px; }
.bt-list { height: 500px; overflow: auto; padding: 12px; background: #f8fafc; }
.bt-q { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.bt-q.bad { border-color: #f7c6c2; background: #fffafa; }
.bt-q-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.bt-q-n { font-weight: 700; font-size: 13px; color: var(--ink); }
.bt-q-stem { font-size: 13.5px; line-height: 1.7; color: var(--ink); margin-bottom: 8px; }
.bt-q-opt { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.7; padding: 2px 0; }
.bt-q-opt i { flex: 0 0 14px; height: 14px; margin-top: 5px; border: 1.5px solid #d0d5dd; display: inline-block; }
.bt-q-opt i.rd { border-radius: 50%; }
.bt-q-opt i.sq { border-radius: 4px; }
.bt-q-opt.on { color: var(--brand); font-weight: 600; }
.bt-q-opt.on i { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.bt-q-ana { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.bt-q-ans { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.bt-pre { background: #f8fafc; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
  font: 12.5px/1.9 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; max-height: 300px; overflow: auto; margin: 10px 0; }

/* 单题录入整页 */
.qe-head { margin-bottom: 14px; }
.qe-card { padding: 20px 24px 6px; max-width: 1040px; }
.qe-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.qe-field { margin-bottom: 16px; flex: 1 1 220px; }
.qe-field.sm { max-width: 130px; }
.qe-field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.qe-field > label.req::before { content: '*'; color: var(--danger); margin-right: 4px; }
.qe-hint { font-weight: 400; color: var(--accent); margin-left: 6px; font-size: 12px; }
.qe-tip { font-weight: 400; font-size: 12px; color: var(--danger); margin-left: 6px; }
.qe-rte .qe-body { min-height: 130px; font-size: 13.5px; }
.qe-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.qe-mark { flex: 0 0 18px; width: 18px; height: 18px; border: 1.6px solid #d0d5dd; cursor: pointer; transition: .15s; }
.qe-mark.rd { border-radius: 50%; }
.qe-mark.sq { border-radius: 5px; }
.qe-opt.on .qe-mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3.5px #fff; }
.qe-opt input { flex: 1; min-width: 0; }
.qe-del { flex: 0 0 auto; color: var(--muted-2); cursor: pointer; padding: 4px; border-radius: 6px; display: inline-flex; }
.qe-del:hover { color: var(--danger); background: var(--danger-50); }
.qe-ana { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 10px; padding: 12px 14px; }
.qe-ana textarea { background: #fff; }
.qe-foot { display: flex; gap: 10px; padding: 6px 0 18px; }
@media (max-width: 1180px) {
  .bt-split { grid-template-columns: 1fr; }
  .bt-editor { height: 420px; }
  .bt-list { height: 420px; }
}

/* ================= 第 17 页：考试管理（详情页 / 组卷 / 列表操作） ================= */
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px;
  color: var(--muted); margin-bottom: 10px; }
.back-link:hover { color: var(--brand); }
.ex-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 14px; }
.ex-title { font-size: 19px; font-weight: 650; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.ex-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px;
  font-size: 12.5px; color: var(--muted); }
.ex-meta b { color: var(--ink-2); font-weight: 600; }
.ex-meta i { color: #d5dbe8; font-style: normal; }
.ex-tabs { position: static; background: transparent; }
.ex-body { min-height: 320px; }

.ex-acts { display: flex; align-items: center; gap: 2px; }
.ex-act { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: 42px;
  padding: 5px 0; border: 0; background: transparent; border-radius: 8px; color: var(--muted);
  cursor: pointer; font-size: 10px; line-height: 1; transition: .14s; }
.ex-act:hover { background: var(--brand-50); color: var(--brand); }
.ex-act.pub { color: var(--brand); }
.ex-act.danger:hover { background: var(--danger-50); color: var(--danger); }
.ex-act i { font-style: normal; white-space: nowrap; }
.btn-q.pub { height: 24px; padding: 0 9px; font-size: 11.5px; margin-right: 4px; }

/* 题库下拉多选（抽题组卷） */
.bk-dd { position: relative; flex: 1; max-width: 460px; }
.bk-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 36px; text-align: left; cursor: pointer; }
.bk-dd-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-dd-btn svg { flex: 0 0 auto; color: var(--muted-2); transition: transform .16s; }
.bk-dd.open .bk-dd-btn { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 98, 244, .12); }
.bk-dd.open .bk-dd-btn svg { transform: rotate(180deg); }
.bk-dd-panel { display: none; position: absolute; z-index: 8; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 268px; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 10px 26px rgba(16, 30, 54, .12); }
.bk-dd.open .bk-dd-panel { display: block; }
.bk-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  cursor: pointer; font-size: 13px; color: var(--ink); }
.bk-opt:hover { background: var(--brand-50); }
.bk-opt input { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.bk-opt span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-opt i { font-style: normal; font-size: 11.5px; color: var(--muted-2); }

.ex-stem { max-width: 460px; }
.cell-clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.55; }
.ex-foot { display: flex; align-items: center; gap: 10px; padding: 12px 2px 2px;
  font-size: 12.5px; color: var(--muted); }
.ex-foot b { color: var(--ink); }
.ex-foot .sep { color: #dde3ee; }
.link-danger { color: var(--danger); cursor: pointer; }
.link-danger:hover { text-decoration: underline; }
.mini-input { width: 60px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 12.5px; text-align: center; background: #fff; color: var(--ink-2); }
.mini-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.mini-input.num { width: 66px; }

.ex-empty { text-align: center; padding: 26px 10px 18px; color: var(--muted); }
.ee-title { display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-2); }
.ee-sub { font-size: 12px; color: var(--muted-2); margin-top: 6px; }

.entry-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.entry-card { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 20px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; transition: .16s; }
.entry-card:hover { border-color: var(--brand); box-shadow: 0 6px 18px -8px rgba(47, 98, 244, .45);
  transform: translateY(-1px); }
.ec-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50);
  color: var(--brand); display: flex; align-items: center; justify-content: center; }
.ec-t { font-size: 12.5px; color: var(--ink-2); }
.entry-card.sm { padding: 11px 6px; }
.entry-card.sm .ec-ico { width: 30px; height: 30px; border-radius: 8px; }
.entry-card.sm .ec-t { font-size: 12px; }

/* 文件导入 3 步向导（图43/56） */
.wiz-head { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 0; }
.wiz-head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.wiz { padding: 8px 18px 4px; }
.wiz-step { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.wiz-step:last-child { border-bottom: none; }
.wiz-no { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  color: var(--muted); background: #fff; margin-top: 1px; }
.wiz-body { flex: 1; min-width: 0; }
.wiz-title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink);
  flex-wrap: wrap; }
.wiz-title .btn { margin-left: 2px; }
.wiz-sub { font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.7; }
.wiz-file { margin-top: 10px; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; font-size: 12.5px;
  color: var(--ink-2); }
.file-chip a { color: var(--muted); display: flex; cursor: pointer; }
.file-chip a:hover { color: var(--danger); }
.wiz-foot { display: flex; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid var(--line-2); }

/* 设置页 */
.set-card { padding: 18px 22px 6px; max-width: 940px; }
.set-row { padding: 2px 0 4px; }
.set-foot { display: flex; gap: 10px; padding: 16px 0 20px; border-top: 1px solid var(--line-2);
  margin-top: 12px; }
.sw-note { font-size: 11.5px; color: var(--muted-2); margin-left: auto; }

/* 单选行：左侧标签 + 一排圆点选项（答案解析设置用） */
.rd-line { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 7px 0; }
.rd-line > .lbl { flex: 0 0 104px; min-width: 104px; max-width: 104px; white-space: nowrap; font-size: 12.5px; color: var(--ink-2); }
.rd-opt { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #475467; cursor: pointer; user-select: none; }
.rd-dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #d0d5dd; background: #fff; position: relative; flex: 0 0 15px; transition: border-color .15s; }
.rd-opt:hover .rd-dot { border-color: var(--brand); }
.rd-opt.on { color: var(--brand); font-weight: 550; }
.rd-opt.on .rd-dot { border-color: var(--brand); }
.rd-opt.on .rd-dot::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--brand); }
.lbl { flex: 0 0 92px; font-size: 12.5px; color: var(--ink-2); }
.rule-block { padding: 4px 0 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.rule-block:last-of-type { border-bottom: none; }
.rule-note { font-size: 12px; color: var(--muted); line-height: 1.75; padding: 2px 0 0 162px; }
.set-card .rte { margin: 4px 0 10px; }

/* 证书预览 */
.cert-preview { display: flex; gap: 14px; align-items: flex-start; padding: 14px;
  border: 1px dashed var(--line); border-radius: 12px; background: #fbfcff; margin-top: 12px; }
.cert-preview:empty { display: none; }
.cp-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-50);
  color: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 46px; }
.cp-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.cp-s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cp-d { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* 抽题组卷（图57） */
.draw-grid { display: grid; grid-template-columns: 140px 70px 120px 110px 90px; gap: 8px;
  align-items: center; }
.dg-head { font-size: 12px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.dg-cell { padding: 6px 0; font-size: 12.5px; color: var(--ink-2); }
.dg-cell.off { color: var(--muted-2); }
.dg-cell .mini-input { width: 88px; text-align: left; }

/* 一人一卷：考生勾选面板 */
.pp-banner { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 9px 12px;
  border-radius: 10px; background: #eef4ff; border: 1px solid #d8e4ff; color: #33518a;
  font-size: 12.5px; line-height: 1.6; }
.pp-banner b { color: #1b3f8b; }
.dw-stu-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.dw-stu-head .slink { font-size: 12.5px; }
.dw-stu-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px;
  max-height: 168px; overflow: auto; padding: 10px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fbfcfe; }
.dw-stu { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 12.5px;
  color: var(--ink-2); transition: border-color .12s, background .12s; }
.dw-stu:hover { border-color: #b9cdf3; }
.dw-stu.on { border-color: #2f6fed; background: #eef4ff; color: #1b3f8b; }
.dw-stu span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-stu i { font-style: normal; font-size: 11px; color: var(--muted-2); flex: none; }
.dw-stu.on i { color: #4f79d6; }
.dw-paper-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; flex-wrap: wrap; }
.dw-cur { font-size: 12.5px; font-weight: 600; color: #1b3f8b; background: #eef4ff;
  border: 1px solid #c9dafc; border-radius: 999px; padding: 4px 12px; }
#dwBankOf { color: #33518a; }

/* 选择试卷（图45/58） */
.paper-list { margin-top: 10px; max-height: 240px; overflow: auto;
  border: 1px solid var(--line); border-radius: 10px; }
.paper-item { padding: 10px 12px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.paper-item:last-child { border-bottom: none; }
.paper-item:hover { background: #f7f9ff; }
.paper-item.on { background: var(--brand-50); }
.pi-t { font-size: 13px; color: var(--ink); }
.paper-item.on .pi-t { color: var(--brand); font-weight: 600; }
.pi-s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }

/* 指派 / 阅卷人选择 */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-wrap .chip i { font-style: normal; margin-left: 5px; color: var(--muted-2); font-size: 11px; }
.chip-wrap .chip.on i { color: var(--brand); }
.sel-list { display: block; max-height: 420px; overflow: auto; }
.sel-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  cursor: pointer; border: 1px solid transparent; }
.sel-row:hover { background: #f7f9ff; }
.sel-row.on { background: var(--brand-50); border-color: var(--brand-100); }
.pk-main { display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.pk-main i { font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }

/* 操作日志时间线 */
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 18px; }
.tl-dot { position: absolute; left: -17px; top: 5px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.tl-t { font-size: 13px; color: var(--ink); font-weight: 550; }
.tl-d { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.7; }
.tl-m { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }

.modal.xl { width: 1080px; }

/* ================= 第 18 页：成绩单 / 学员统计 / 阅卷 / 考题审核 ================= */
.st5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.st5-item { display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer;
  transition: .15s; }
.st5-item:hover { border-color: var(--brand); box-shadow: 0 6px 16px -10px rgba(47,98,244,.5); }
.st5-ico { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; background: #f2f4f8; color: var(--muted); flex: 0 0 32px; }
.st5-item.brand .st5-ico { background: var(--brand-50); color: var(--brand); }
.st5-item.ok .st5-ico { background: #e9f9f1; color: #12b76a; }
.st5-item.danger .st5-ico { background: var(--danger-50); color: var(--danger); }
.st5-item.warn .st5-ico { background: #fff6e6; color: #f79009; }
.st5-num { font-size: 19px; font-weight: 650; color: var(--ink); line-height: 1.1; }
.st5-lb { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.center { text-align: center; }

/* 答卷抽屉 */
.pp-head { padding: 2px 0 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.pp-title { font-size: 16px; font-weight: 650; color: var(--ink); }
.pp-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted);
  margin-top: 7px; }
.pp-meta .sep { color: #dde3ee; }
input.pp-score { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.pp-head .pp-score { display: grid; grid-template-columns: minmax(0, 1fr) minmax(216px, 32%);
  position: relative; z-index: 7; margin-top: 14px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.pps-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center; padding: 14px 0; }
.pps-item { display: grid; gap: 4px; min-width: 0; }
.pps-metrics .pps-item { padding: 0 clamp(10px, 2vw, 20px); }
.pps-metrics .pps-item + .pps-item { border-inline-start: 1px solid var(--line); }
.pps-item b { font-size: 23px; font-weight: 650; line-height: 1.15; color: var(--ink); }
.pps-item > span, .pps-note, .pps-max, .pps-limit { font-size: 12px; color: var(--muted); }
.pps-note { grid-column: 1 / -1; margin: 6px clamp(10px, 2vw, 20px) 0; }
.pps-result { display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-content: center; align-items: start; gap: 4px 10px; padding: 12px 16px;
  background: var(--brand-50); border-inline-start: 1px solid var(--brand-100); }
.pps-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pps-item.total b { font-size: 30px; color: var(--brand-dark); }
.pps-max { white-space: nowrap; }
.pps-limit { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .pp-head .pp-score { grid-template-columns: minmax(0, 1fr); }
  .pps-result { border-inline-start: 0; border-block-start: 1px solid var(--brand-100); }
}
.pp-remark { margin: 12px 0 2px; padding: 10px 12px; background: #f8fafc; border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0; font-size: 12.5px; color: var(--ink-2); }
.pp-remark b { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.pp-item { padding: 13px 0; border-bottom: 1px dashed var(--line-2); }
.pp-item:last-child { border-bottom: none; }
.pp-hd { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 7px; }
.pp-hd b { color: var(--ink); }
.pp-stem { font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.pp-opts { margin-top: 9px; display: flex; flex-direction: column; gap: 6px; }
.pp-opt { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); background: #fff; }
.pp-opt i { font-style: normal; font-weight: 600; color: var(--muted); flex: 0 0 auto; min-width: 14px; }
.pp-opt span { flex: 1 1 auto; min-width: 0; line-height: 1.65; word-break: break-word; }
.pp-opt em { font-style: normal; font-size: 11px; margin-left: auto; color: var(--muted-2);
  white-space: nowrap; }
.pp-opt.right { border-color: #b7ebd2; background: #f3fdf8; }
.pp-opt.right i, .pp-opt.right em { color: #12b76a; }
.pp-opt.wrong { border-color: #fbd5d5; background: #fff6f6; }
.pp-opt.wrong i, .pp-opt.wrong em { color: var(--danger); }
.pp-lb { font-size: 11.5px; color: var(--muted); margin: 9px 0 4px; }
.pp-lb.ref { color: #12b76a; }
.pp-txt { font-size: 12.5px; color: var(--ink-2); line-height: 1.75; padding: 8px 10px;
  background: #fafbfd; border-radius: 8px; }
.pp-txt.ref { background: #f3fdf8; }
.pp-line { font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.pp-line b { color: var(--ink); }
.pp-line b.ok { color: #12b76a; }
.pp-line .sep { margin: 0 7px; color: #dde3ee; }
.pp-item.bad { border-left: 2px solid #fbd5d5; padding-left: 10px; }
.pp-item.wait { border-left: 2px solid #ffe0b2; padding-left: 10px; }

/* 阅卷弹窗 */
.gd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.gd-sum { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted);
  text-align: right; }
.gd-sum b { color: var(--ink); font-size: 14px; }
.gd-total { padding-top: 4px; border-top: 1px dashed var(--line-2); }
.gd-total b { color: var(--brand); font-size: 17px; }
.gd-score-row { display: flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 8px 10px; background: #f8fafc; border-radius: 8px; }
.gd-score-row label { font-size: 12.5px; color: var(--ink-2); }
.gd-num { width: 76px; text-align: center; }
.gd-full { margin-left: auto; }
.gd-tip { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; padding: 9px 11px;
  background: #fff8ec; border: 1px solid #ffe4b8; border-radius: 8px; font-size: 12px;
  color: #8a5a00; line-height: 1.7; }
.gd-tip svg { flex: 0 0 auto; margin-top: 2px; }

/* 考题审核详情 */
.rv-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.rv-meta b { color: var(--ink); font-weight: 550; }
.rv-meta i { font-style: normal; margin-left: 6px; color: var(--muted-2); }
.rv-q { padding: 14px 0 4px; }
.rv-q-hd { display: flex; gap: 7px; margin-bottom: 9px; }
.rv-stem { font-size: 14px; color: var(--ink); line-height: 1.75; }
.rv-act { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rv-act-h { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.rv-reason { margin-top: 14px; padding: 10px 12px; background: #fff6f6; border-radius: 8px;
  border-left: 3px solid var(--danger); font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.rv-reason b { display: block; font-size: 11.5px; color: var(--danger); margin-bottom: 4px; }
.rv-reason.ok { background: #f3fdf8; border-left-color: #12b76a; }
.rv-reason.ok b { color: #12b76a; }
.rv-row { cursor: pointer; }
.rv-row:hover td { background: #f8faff; }

/* 姓名不竖排换行 */
.tb .uname { white-space: nowrap; }
.tb .uname .avatar { flex: 0 0 auto; }

/* ================= 第 19 页：PK 赛（image70~79） ================= */
.inp {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--card); font-size: 13.5px; color: var(--ink); font-family: inherit;
  outline: none; transition: border-color .16s, box-shadow .16s;
}
.inp:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
select.inp { cursor: pointer; }
textarea.inp { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.6; }

/* 列表 */
.pk-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(298px, 1fr)); gap: 16px; }
.pk-card {
  background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: box-shadow .18s, transform .18s;
}
.pk-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.pk-cover {
  position: relative; height: 132px; padding: 14px 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pk-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 26, .04) 28%, rgba(3, 10, 26, .58));
}
.pk-cover > * { position: relative; z-index: 1; }
.pk-cover h4 { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; }
.pk-cover .pk-date { font-size: 11.5px; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.pk-mode {
  position: absolute; top: 12px; left: 14px; z-index: 2; font-size: 11px; padding: 3px 9px;
  border-radius: 20px; background: rgba(255, 255, 255, .24); color: #fff;
}
.pk-more {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 26px; height: 26px; border-radius: 8px;
  border: 0; background: rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.pk-more:hover { background: rgba(255, 255, 255, .38); }
.pk-cover.c1 { background: linear-gradient(135deg, #4b6bff, #7b3bff); }
.pk-cover.c2 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.pk-cover.c3 { background: linear-gradient(135deg, #f97316, #ef4444); }
.pk-cover.c4 { background: linear-gradient(135deg, #10b981, #0d9488); }
.pk-cover.c5 { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.pk-body { padding: 12px 14px 10px; }
.pk-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.pk-meta b { color: var(--ink); font-weight: 600; }
.pk-starrow { display: flex; align-items: center; gap: 3px; margin-top: 9px; }
.pk-starrow i { font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-left: 6px; }
.pk-prog { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.pk-prog .bar { flex: 1; height: 5px; border-radius: 99px; background: #eef1f7; overflow: hidden; }
.pk-prog .bar > i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #4b6bff, #22d3ee); }
.pk-prog em { font-style: normal; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.pk-star { color: #e4e7ec; display: inline-flex; }
.pk-star.on { color: #f79009; }
.pk-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: 11px;
  padding-top: 10px; border-top: 1px solid var(--line-2);
}
.pk-foot-r { display: flex; align-items: center; gap: 10px; }

/* 卡片「更多」气泡菜单 */
.pk-menu {
  position: fixed; z-index: 320; width: 168px; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--sh-3); padding: 6px;
}
.pk-menu a {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.pk-menu a:hover { background: var(--line-2); }
.pk-menu a.danger { color: var(--danger); }
.pk-menu a.danger:hover { background: var(--danger-50); }

/* 详情页页签 */
.ex-h-main h2 { font-size: 19px; font-weight: 650; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.ex-h-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.pk-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 16px; }
.pk-tab {
  padding: 10px 16px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent;
  text-decoration: none; margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.pk-tab:hover { color: var(--ink); }
.pk-tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* 新建 / 编辑表单 */
.pk-form-card { padding: 20px 22px; }
.pk-form { display: grid; gap: 2px; max-width: 840px; }
.pk-form2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: 0 16px; }
.pk-inline { display: flex; align-items: center; gap: 9px; }
.pk-inline .inp { width: 96px; flex: none; }
.pk-inline span { font-size: 12.5px; white-space: nowrap; }
.pk-form-foot {
  display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--line-2);
}
.pk-cover-pick { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.pk-cover-prev {
  width: 260px; height: 146px; border-radius: 12px; border: 1px solid var(--line);
  background: #f8fafc center / cover no-repeat; flex: none; position: relative;
  box-shadow: var(--sh-1);
}
.pk-cover-prev::after {
  content: "点击放大预览"; position: absolute; right: 8px; bottom: 8px; font-size: 11px;
  padding: 2px 8px; border-radius: 99px; background: rgba(3, 10, 26, .55); color: #fff;
  opacity: 0; transition: opacity .15s;
}
.pk-cover-prev:hover::after { opacity: 1; }
.pk-cover-prev span { display: grid; gap: 4px; justify-items: center; font-size: 11.5px; }
.pk-cover-prev i { font-style: normal; }
.pk-cover-side { flex: 1 1 320px; min-width: 300px; }
.pkc-cap { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pkc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pkc-item {
  position: relative; aspect-ratio: 16 / 9; border-radius: 9px; cursor: pointer; overflow: hidden;
  border: 2px solid transparent; background-size: cover; background-position: center;
  transition: border-color .15s, transform .15s;
}
.pkc-item:hover { transform: translateY(-1px); border-color: var(--brand-100); }
.pkc-item.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.pkc-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 3px; font-size: 10.5px;
  color: #fff; background: linear-gradient(180deg, rgba(3, 10, 26, 0), rgba(3, 10, 26, .62));
}
.pk-zoom-cover {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; padding: 0 0 26px 28px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background-size: cover; background-position: center; position: relative;
}
.pk-zoom-cover::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(180deg, rgba(3, 10, 26, .04) 30%, rgba(3, 10, 26, .55));
}
.pk-zoom-cover h4, .pk-zoom-cover .pk-date { position: relative; z-index: 1; }
.pk-zoom-cover h4 { margin: 0; font-size: 26px; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .28); }
.pk-zoom-cover .pk-date { font-size: 13px; color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
/* 卡片操作行（发布 / 下架 / 重新上线 / 删除） */
.pk-ops {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line-2);
}
.pk-ops .slink { font-size: 12px; }
.switch-row { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.switch-row input { accent-color: var(--brand); width: 15px; height: 15px; }
.ck { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; cursor: pointer; }
.ck input { accent-color: var(--brand); width: 15px; height: 15px; }
.ck.on { color: var(--ink); }

/* 关卡列表 */
.pk-lv-card { padding: 4px 0 6px; }
.lv-list { padding: 8px 16px 14px; display: grid; gap: 10px; }
.lv-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: #fcfdff; transition: border-color .15s, background .15s;
}
.lv-row:hover { border-color: var(--brand-100); background: var(--brand-50); }
.lv-idx {
  width: 28px; height: 28px; border-radius: 9px; background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 650; flex: none;
}
.lv-main { flex: 1; min-width: 0; }
.lv-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.lv-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.lv-meta b { color: var(--ink-2); font-weight: 600; }
.lv-acts { display: flex; gap: 6px; flex: none; }
.lv-sort { display: flex; gap: 2px; flex: none; }
.lv-sort button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.lv-sort button:hover { color: var(--brand); border-color: var(--brand); }

/* 关卡选题 */
.lv-picked-box { border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 4px 0 10px; }
.lv-picked { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 4px 8px;
  border-radius: 7px; background: var(--brand-50); color: var(--brand); cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.lv-chip:hover { background: var(--danger-50); color: var(--danger); }
.lv-chip i { font-style: normal; }
.pk-q-main { display: grid; gap: 3px; min-width: 0; }
.pk-q-main b {
  font-weight: 500; font-size: 13px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pk-q-main i { font-style: normal; font-size: 11px; color: var(--muted-2); }

/* 指派 */
.pk-assign-sec { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.pk-assign-label { font-size: 12.5px; color: var(--muted); margin-bottom: 9px; }

/* 统计 */
.pk-stat5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pk-s5 {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.pk-s5-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); flex: none;
}
.pk-s5.ok .pk-s5-ic { background: var(--ok-50); color: var(--ok); }
.pk-s5.warn .pk-s5-ic { background: var(--warn-50); color: var(--warn); }
.pk-s5 b { display: block; font-size: 20px; font-weight: 650; color: var(--ink); line-height: 1.1; }
.pk-s5 span { font-size: 12px; color: var(--muted); }

/* 第 19 页微调 */
.btn-q { white-space: nowrap; }
.chip { display: inline-flex; align-items: center; line-height: 1.5; }
.pk-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; }
@media (max-width: 960px) { .pk-grid4 { grid-template-columns: repeat(2, 1fr); } }
/* ==================== 第 20 页：人员管理 ==================== */
.stat-star { background: linear-gradient(135deg, #fffaf0, #fffdf8); border-color: #f6e0b6; cursor: pointer; }
.stat-star .s-icon { background: #fdf1d9; color: #d3830c; }
.stat-star .s-val { color: #a5641a; }
.stat-star:hover { box-shadow: 0 10px 24px -18px rgba(163, 105, 12, .7); }

.tch-skills { display: flex; flex-wrap: wrap; gap: 4px; }
.tch-skill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #f1f6ff;
  color: #3552a8; font-size: 11.5px; line-height: 1.6; }
.tch-skill.more { background: #eef2f8; color: var(--muted); }

.tch-form { display: flex; gap: 20px; align-items: flex-start; }
.tch-ava-col { width: 106px; flex: none; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tch-ava { width: 88px; height: 88px; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex: none;
  background: linear-gradient(135deg, #e9f1ff, #f7fbff); border: 1px solid #e2ebff;
  font-size: 24px; font-weight: 600; color: var(--brand); }
.tch-ava img { width: 100%; height: 100%; object-fit: cover; }
.tch-ava.big { width: 64px; height: 64px; border-radius: 12px; font-size: 19px; }
.tch-fields { flex: 1; min-width: 0; }
.req { color: var(--danger); font-weight: 700; }

.tch-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; padding: 6px 9px;
  border: 1px dashed var(--line); border-radius: 9px; background: #fbfcfe; }
.tch-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px 2px 9px;
  border-radius: 6px; background: #eaf1ff; color: #3552a8; font-size: 12px; }
.tch-tag i { cursor: pointer; font-style: normal; color: #93a8cf; font-size: 13px; line-height: 1; }
.tch-tag i:hover { color: var(--danger); }

.tch-hero { display: flex; gap: 14px; align-items: flex-start; padding: 16px; margin-bottom: 14px;
  background: linear-gradient(120deg, #f5f9ff, #fff); }
.tch-score-box { flex: none; text-align: center; padding-left: 16px; border-left: 1px dashed var(--line); }
.tch-score-box .mono { font-size: 24px; font-weight: 700; color: var(--brand); line-height: 1.15; }
.tch-stars { display: flex; gap: 2px; justify-content: center; margin-top: 4px; color: #dfe5ee; }
.tch-stars .on { color: #f79009; }

.tch-dist { display: flex; flex-direction: column; gap: 7px; }
.tch-dist-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.tch-dist-row > span { width: 32px; flex: none; }
.tch-dist-row > b { width: 26px; text-align: right; flex: none; color: var(--ink); }
.tch-bar { flex: 1; height: 7px; background: #eef2f8; border-radius: 99px; overflow: hidden; }
.tch-bar > i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #ffc46b, #f79009); }

.ord-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 9px; margin-bottom: 7px; background: #fff; }
.ord-row:hover { border-color: #cfdcf5; background: #fbfdff; }
.ord-idx { width: 20px; height: 20px; border-radius: 6px; background: #f1f5fc; color: var(--muted);
  font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; }

.tch-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 14px; }
.tch-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; transition: .16s ease; }
.tch-card:hover { border-color: #c9d8f7; box-shadow: 0 12px 26px -20px rgba(24, 58, 128, .55); }
.tch-card-head { display: flex; gap: 12px; align-items: center; }
.tch-card-score { flex: none; text-align: right; }
.tch-card-score b { font-size: 17px; color: var(--brand); }
.tch-card-mid { display: flex; gap: 26px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.tch-card-mid b { color: var(--ink); margin-left: 3px; }
.tch-card-intro { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.5px; line-height: 1.7; color: #475467; min-height: 44px; }
.tch-card-acts { display: flex; gap: 18px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-2); font-size: 12.5px; }
.tch-card-acts a { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); cursor: pointer; }
.tch-card-acts a.danger { color: var(--danger); }
.tch-card-acts a svg { width: 13px; height: 13px; }

.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.org-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer;
  transition: .16s ease; background: #fff; }
.org-card:hover { border-color: #c9d8f7; background: #fbfdff; box-shadow: 0 10px 22px -20px rgba(24, 58, 128, .5); }
.org-tree { display: flex; flex-direction: column; gap: 4px; }
.org-node { position: relative; }
.org-line { display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 8px; font-size: 13px; transition: .14s; }
.org-line:hover { background: #f6faff; }
.org-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.org-kids { margin-left: 16px; padding-left: 14px; border-left: 1px dashed #dbe4f5; }
.org-act { color: var(--brand); font-size: 12px; cursor: pointer; white-space: nowrap; }
.org-act:hover { text-decoration: underline; }
.org-caret { width: 14px; height: 14px; flex: none; cursor: pointer; position: relative; border-radius: 3px; }
.org-caret::before { content: ""; position: absolute; left: 4px; top: 4px; width: 5px; height: 5px;
  border-right: 1.6px solid #93a3bd; border-bottom: 1.6px solid #93a3bd;
  transform: rotate(-45deg); transition: transform .16s; }
.org-caret.open::before { transform: rotate(45deg); top: 3px; }

/* ---------- 人员架构树（p35） ---------- */
.ps-block { margin-bottom: 20px; }
.ps-block:last-child { margin-bottom: 0; }
.ps-head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; margin-bottom: 8px;
  background: linear-gradient(90deg, var(--brand-50, #eef3ff), transparent);
  border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; }
.ps-head b { font-size: 13.5px; }
.ps-row { display: flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 7px;
  font-size: 13px; transition: background .14s; }
.ps-row:hover { background: #f6f9ff; }
.ps-av { width: 21px; height: 21px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; flex: 0 0 21px; background: #eef2fb; color: #667085; }
.ps-av.admin, .ps-av.subadmin { background: #e7efff; color: #2f62f4; }
.ps-av.minister { background: #e4f7ef; color: #0d9f6e; }
.ps-av.manager { background: #fff3e3; color: #d98200; }
.ps-av.leader { background: #f2ecff; color: #7c4dff; }
.ps-av.trainer { background: #fdecf5; color: #d6337a; }
.ps-name { font-weight: 500; }
.ps-role { font-size: 11px; line-height: 17px; padding: 0 7px; border-radius: 99px;
  background: #f2f4f8; color: #7b8794; }
.ps-role.admin, .ps-role.subadmin { background: #e7efff; color: #2f62f4; }
.ps-role.minister { background: #e4f7ef; color: #0d9f6e; }
.ps-role.manager { background: #fff3e3; color: #d98200; }
.ps-role.leader { background: #f2ecff; color: #7c4dff; }
.ps-role.trainer { background: #fdecf5; color: #d6337a; }
.ps-title { font-size: 11.5px; color: #98a2b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; max-width: 240px; flex: 0 1 auto; }
/* p92 职务标签：组长以上才显示，跟岗位/小组区分开 */
.ps-duty { font-size: 10.5px; padding: 0 6px; border-radius: 5px; flex: 0 0 auto;
  background: #eef4ff; color: #175cd3; border: 1px solid #d1e0ff; }
.ps-cnt { font-size: 10.5px; color: #fff; background: #c2ccdd; border-radius: 99px; padding: 0 6px; }
/* 人员架构树：每个人右侧常驻一个浅色的「给他加人」，悬停加深（常驻是为了能发现） */
.ps-add { margin-left: 2px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-50, #eef3ff); opacity: .55; transition: opacity .14s;
  cursor: pointer; flex: none; }
.ps-row:hover > .ps-add { opacity: 1; }
.ps-add:hover { background: var(--brand); color: #fff; }
.ps-add svg { display: block; }
/* 权限配置：置灰的菜单项（超出上级可授予范围） */
.perm-chk.lock { opacity: .38; cursor: not-allowed; }
.perm-chk.lock input { cursor: not-allowed; }
.org-caret:hover::before { border-color: var(--brand); }
.org-caret.ghost { cursor: default; }
.org-caret.ghost::before { display: none; }
/* 组织架构 KPI 条 */
.org-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.5fr; gap: 12px; margin-bottom: 16px; }
.org-kpi-i { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.org-kpi-v { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.org-kpi-v em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted-2); margin-left: 3px; }
.org-kpi-k { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
@media (max-width: 1100px) { .org-kpi { grid-template-columns: repeat(2, 1fr); } }
/* ================= 第 21 页：运营管理 ================= */
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eye { color: var(--muted); display: inline-flex; padding: 3px; border-radius: 6px; cursor: pointer; }
.eye:hover { color: var(--brand); background: var(--brand-50); }
.pager-line { padding: 10px 16px; font-size: 12px; color: var(--muted-2); border-top: 1px solid var(--line-2); }
.att-list { border: 1px dashed var(--line); border-radius: 9px; padding: 6px 12px; }
.att-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; }
.att-row + .att-row { border-top: 1px dashed var(--line-2); }
.att-ico { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; }
.att-thumb { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; flex: 0 0 40px; border: 1px solid var(--line); }
.att-drop { margin-top: 8px; border: 1.5px dashed #cfd8e6; border-radius: 10px; padding: 14px 12px; text-align: center;
  cursor: pointer; background: #fbfcfe; transition: .15s; color: var(--muted-2); }
.att-drop:hover, .att-drop.over { border-color: var(--brand); background: var(--brand-50); }
.att-drop.over { box-shadow: inset 0 0 0 1px var(--brand); }
.att-drop .hint { margin-top: 4px; }
.att-drop-t { margin-top: 4px; font-size: 13px; color: var(--ink); font-weight: 600; }
.att-drop-t span { font-weight: 400; color: var(--muted-2); }

/* ---- 新闻预览（手机端样子） ---- */
.news-pv { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.np-head h1 { font-size: 19px; line-height: 1.5; margin: 0 0 10px; color: var(--ink); }
.np-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--muted-2); }
.np-cover { width: 100%; border-radius: 10px; margin: 14px 0; display: block; }
.np-body { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.np-body p { margin: 0 0 12px; }
.np-atts { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.np-att { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand); }
.np-att-img { max-width: 100%; border-radius: 10px; margin: 8px 0; display: block; }
.np-att-vid { width: 100%; border-radius: 10px; margin: 8px 0; }
.np-foot { margin-top: 16px; font-size: 11.5px; color: var(--muted-2); text-align: center; }

/* ---- 证书列表 ---- */
.cert-list { display: flex; flex-direction: column; gap: 12px; }
.cert-row { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px; transition: .14s; }
.cert-row:hover { border-color: #c9d8ff; box-shadow: 0 6px 20px rgba(47, 98, 244, .06); }
.cert-thumb { width: 148px; flex: none; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2);
  background: #fafbfe; }
.cert-thumb .cert-svg { display: block; width: 100%; height: auto; }
.cert-info { flex: 1; min-width: 0; }
.cert-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.cert-meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cert-meta .dot { color: var(--muted-2); }
.cert-desc { font-size: 12.5px; color: var(--muted-2); margin: 5px 0 7px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cert-meta2 { display: flex; gap: 10px; align-items: center; }
.cert-acts { display: flex; flex-wrap: nowrap; gap: 8px;
  justify-content: flex-end; align-items: center; flex: none; }
.cact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-width: 78px; height: 58px; padding: 0 10px;
  border-radius: 10px; border: 1px solid var(--line); background: #fbfcfe;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .14s; }
.cact > svg { width: 19px; height: 19px; flex: none; }
.cact i { font-style: normal; white-space: nowrap; }
@media (max-width: 1320px) {
  .cert-acts { gap: 6px; }
  .cact { min-width: 64px; height: 52px; padding: 0 7px; font-size: 12.5px; }
  .cact > svg { width: 17px; height: 17px; }
}
.cact:hover { color: var(--brand); border-color: #c9d8ff; background: var(--brand-50); }
.cact.danger { color: var(--danger); }
.cact.danger:hover { color: #d92d20; border-color: #fecdca; background: var(--danger-50); }
.cert-svg { display: block; width: 100%; height: auto; }
.cert-pv-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.cert-void { margin-top: 10px; text-align: center; color: var(--danger); font-size: 13px; font-weight: 600; }

/* ---- 证书模板选择 ---- */
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tpl-i { border: 2px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; background: #fff; transition: .14s; }
.tpl-i:hover { border-color: #c9d8ff; }
.tpl-i.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.tpl-pv { border-radius: 6px; overflow: hidden; background: #f8fafc; }
.tpl-pv .cert-svg { display: block; width: 100%; height: auto; }
.tpl-name { text-align: center; font-size: 12px; color: var(--ink-2); padding-top: 5px; }

/* ---- 设置坐标 ---- */
.lay-wrap { display: flex; gap: 18px; align-items: flex-start; }
.lay-canvas { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f8fafc; }
.lay-canvas .cert-svg { display: block; width: 100%; height: auto; }
.lay-panel { width: 290px; flex: none; }
.lay-row { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; margin-bottom: 9px; cursor: pointer; transition: .14s; }
.lay-row.on { border-color: var(--brand); background: var(--brand-50); }
.lay-row > label { font-size: 12.5px; color: var(--ink-2); font-weight: 550; display: block; margin-bottom: 6px; }
.lay-nums { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.lay-nums .input { height: 28px; width: 62px; font-size: 12px; padding: 0 7px; }
.lay-line { display: flex; align-items: center; gap: 6px; }
.lay-line .lay-text { flex: 1; min-width: 0; height: 28px; font-size: 12px; }

/* 资讯预览：p89 改成 PC 端文章页版式（右侧带信息卡） */
.pv-stage { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 14px;
  align-items: start; background: #eef1f6; border-radius: 14px; padding: 16px;
  min-height: calc(100vh - 208px); }
.pv-page { background: #fff; border-radius: 12px; padding: 30px 38px 26px; min-width: 0;
  box-shadow: 0 10px 30px -20px rgba(15,26,50,.4); }
.pv-crumb { font-size: 12px; color: var(--muted-2); margin-bottom: 14px; }
.pv-crumb i { font-style: normal; margin: 0 6px; color: #cbd3e0; }
.pv-h1 { margin: 0 0 14px; font-size: 26px; line-height: 1.42; letter-spacing: -.01em;
  font-weight: 650; color: var(--ink); }
.pv-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px;
  color: var(--muted-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pv-meta b { color: var(--ink-2); font-weight: 600; }
.pv-meta i { font-style: normal; color: #d5dae3; }
.pv-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #2f62f4, #7aa2ff); color: #fff; font-size: 12px; font-weight: 600; }
.pv-cover { margin-top: 20px; border-radius: 12px; overflow: hidden; background: #f2f4f8; }
.pv-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pv-quote { margin: 20px 0 0; padding: 14px 16px; background: #f7f9fc; border-left: 3px solid var(--brand);
  border-radius: 8px; color: #475467; font-size: 13.5px; line-height: 1.85; }
.pv-body { margin-top: 22px; font-size: 15px; line-height: 2.05; color: #344054; word-break: break-word; }
.pv-body p { margin: 0 0 18px; }
.pv-body img { max-width: 100%; border-radius: 10px; }
.pv-body h2, .pv-body h3 { font-size: 17px; margin: 24px 0 12px; color: var(--ink); }
.pv-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pv-gallery img { width: 100%; border-radius: 10px; display: block; }
.pv-files { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pv-file { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe;
  color: var(--brand); text-decoration: none; }
.pv-end { margin-top: 30px; text-align: center; font-size: 12px; color: #b3bac6; letter-spacing: .5px; }
.pv-side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; }
.pv-side-card { background: #fff; border-radius: 12px; padding: 16px 14px;
  box-shadow: 0 8px 22px -20px rgba(15,26,50,.45); }
.pv-side-card h5 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); letter-spacing: .3px; }
.pv-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 12.5px;
  border-bottom: 1px dashed #eef1f6; }
.pv-row:last-child { border-bottom: 0; }
.pv-row span { color: var(--muted-2); }
.pv-row b { color: var(--ink-2); font-weight: 600; text-align: right; }
.pv-side-tip { background: #fff; border-radius: 12px; padding: 12px 13px; font-size: 11.5px;
  line-height: 1.75; color: var(--muted-2); }
/* 新闻列表里的封面缩略图 */
.news-thumb { width: 76px; height: 46px; border-radius: 7px; overflow: hidden; flex: 0 0 76px;
  background: linear-gradient(135deg, #e8eefc, #d7e3ff); display: grid; place-items: center;
  color: #9aa8c4; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.news-cell { display: flex; align-items: center; gap: 11px; }
.news-txt { min-width: 0; }

/* 上传预览方框（商品封面 / 新闻封面） */
.up-pv { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 10px; border: 1px dashed #cfd8e6;
  background: #f7f9fc center/cover no-repeat; display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); overflow: hidden; }
.up-pv.has { border-style: solid; }

/* 证书底版放大浮层 */
.img-zoom { position: fixed; inset: 0; z-index: 130; background: rgba(12,20,38,.62);
  backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 30px; }
.iz-box { background: #fff; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(8,20,50,.6);
  padding: 14px; width: min(980px, 92vw); max-height: 92vh; overflow: auto; }
.iz-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.iz-head b { font-size: 14px; color: var(--ink); }
.iz-x { cursor: pointer; color: var(--muted); display: flex; }
.iz-x:hover { color: var(--danger); }
.iz-tip { text-align: center; font-size: 11.5px; color: var(--muted-2); margin-top: 8px; }
.iz-box-img { width: min(880px, 92vw); }
.iz-img-wrap { display: flex; align-items: center; justify-content: center; background: #f6f8fc; border-radius: 10px; padding: 10px; }
.iz-img-wrap img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; display: block; border-radius: 8px; }
.tpl-pv { position: relative; }
.tpl-zoom { position: absolute; right: 5px; top: 5px; display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 99px; font-size: 10.5px; color: #fff; cursor: zoom-in;
  background: rgba(16,24,40,.55); opacity: 0; transition: .15s; }
.tpl-i:hover .tpl-zoom { opacity: 1; }
.tpl-img { display: block; width: 100%; aspect-ratio: 800 / 560; object-fit: cover; border-radius: 6px; }
.cert-img { display: block; width: 100%; height: auto; border-radius: 10px; }
.lay-nums .col { width: 34px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }

/* ---- 顶部标签页 ---- */
.qtab { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line);
  margin-bottom: 14px; padding-bottom: 0; }
.qtab-i { padding: 9px 14px; font-size: 13px; color: var(--muted); cursor: pointer; display: inline-flex;
  align-items: center; gap: 6px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.qtab-i:hover { color: var(--ink); }
.qtab-i.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.qtab .grow { flex: 1; }
.qtab .input, .qtab .btn { margin-left: 6px; margin-bottom: 6px; }

/* ---- 排序抽屉 ---- */
.sort-list { display: flex; flex-direction: column; gap: 6px; }
.sort-row { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 13px; background: #fff; }
.sort-idx { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); color: var(--brand);
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.sort-row a { color: var(--muted); cursor: pointer; display: inline-flex; padding: 2px; }
.sort-row a:hover { color: var(--brand); }
.sort-row a.off { opacity: .25; pointer-events: none; }

/* ---- 证书/问卷选择列表 ---- */
.pick-u.off { background: #f8fafc; opacity: .7; }

/* ---- 问卷列表 ---- */
.qn-list { display: flex; flex-direction: column; gap: 10px; }
.qn-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 18px; transition: .14s; }
.qn-row:hover { border-color: #c9d8ff; }
.qn-l { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.qn-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.qn-meta { font-size: 12px; color: var(--muted-2); margin-top: 3px; }
/* 操作按钮与证书页统一：图标在上、文字在下，整体靠右一排 */
.qn-acts { display: flex; flex-wrap: nowrap; gap: 7px; justify-content: flex-end;
  align-items: center; flex: none; }
.qn-acts .cact { min-width: 72px; height: 54px; padding: 0 7px; font-size: 12.5px; gap: 4px; }
.qn-acts .cact > svg { width: 17px; height: 17px; }

/* ---- 创建问卷表单 ---- */
.qn-new { padding: 26px 30px; }
.qn-form { max-width: 560px; }
.qn-form .field { margin-bottom: 6px; }

/* ---- 问卷/调查预览 ---- */
.qn-pv { max-width: 560px; margin: 0 auto; background: #fff; }
.qn-pv-head { text-align: center; padding: 4px 0 16px; border-bottom: 1px dashed var(--line); }
.qn-pv-t { font-size: 18px; font-weight: 700; color: var(--ink); }
.qn-pv-d { font-size: 12.5px; color: var(--muted); margin: 8px 0 6px; line-height: 1.7; }
.qn-pv-q { padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.q-head { display: flex; align-items: baseline; gap: 7px; margin-bottom: 9px; }
.q-no { font-size: 13px; font-weight: 700; color: var(--brand); flex: none; }
.q-tt { font-size: 13.5px; color: var(--ink); font-weight: 550; line-height: 1.6; }
.q-need { color: var(--danger); font-size: 12px; }
.q-opts { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }
.q-opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: default; }
.rd { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c4ccdb; flex: none; display: inline-block; }
.cb { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid #c4ccdb; flex: none; display: inline-block; }
.q-score { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-left: 20px; }
.q-sc { min-width: 34px; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-2); background: #fff; }
.q-imgbox { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--line);
  border-radius: 10px; color: var(--muted); background: #fafbfe; font-size: 13px; }

/* ---- 问卷试题编辑器 ---- */
.qn-edit { display: flex; gap: 18px; align-items: flex-start; }
.qn-tabs { margin-bottom: 12px; }
.qn-main { flex: 1; min-width: 0; }
.qn-side { width: 210px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.qn-side .section-title { margin: 0 0 10px; }
.qtype-list { display: flex; flex-direction: column; gap: 6px; }
.qtype-i { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; background: #fff; transition: .13s; }
.qtype-i:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.qtype-ic { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.qn-sheet { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; }
.qn-sheet-t { font-size: 17px; font-weight: 700; text-align: center; color: var(--ink); }
.qn-sheet-d { font-size: 12.5px; color: var(--muted); text-align: center; margin: 8px 0 18px; line-height: 1.7; }
.qn-empty { text-align: center; color: var(--muted-2); padding: 34px 0; font-size: 13px; display: flex;
  flex-direction: column; align-items: center; gap: 8px; }
.q-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; margin-bottom: 11px;
  background: #fcfdff; transition: .14s; }
.q-card:hover { border-color: #c9d8ff; }
.q-c-head { display: flex; align-items: center; gap: 9px; }
.q-c-head .q-no { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.q-title-in { flex: 1; height: 32px; font-size: 13.5px; font-weight: 550; }
.q-c-ops { display: flex; gap: 8px; }
.q-c-ops a { color: var(--muted); cursor: pointer; display: inline-flex; padding: 2px; }
.q-c-ops a:hover { color: var(--brand); }
.q-c-ops a.danger:hover { color: var(--danger); }
.q-c-ops a.off { opacity: .25; pointer-events: none; }
.q-opts-edit { margin: 10px 0 0 31px; display: flex; flex-direction: column; gap: 7px; }
.q-opt-row { display: flex; align-items: center; gap: 9px; }
.q-opt-row .input { flex: 1; height: 30px; font-size: 12.5px; }
.q-opt-row a { color: var(--muted-2); cursor: pointer; display: inline-flex; }
.q-opt-row a:hover { color: var(--danger); }
.q-addopt { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--brand);
  cursor: pointer; margin-left: 23px; }
.q-scale { display: flex; align-items: center; gap: 7px; margin: 10px 0 0 31px; flex-wrap: wrap; }

/* ---- 单选/多选行（调查对象那类） ---- */
.rad-row { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 7px; cursor: pointer; transition: .13s; }
.rad-row:hover { border-color: #c9d8ff; }
.rad-row input { margin-top: 3px; }
.rad-row b { font-size: 13px; font-weight: 600; color: var(--ink); }
.rad-row em { display: block; font-style: normal; font-size: 12px; color: var(--muted-2); margin-top: 2px; }

/* ---- 调查评估卡片 ---- */
.sv-list { display: flex; flex-direction: column; gap: 12px; }
.sv-card { display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 20px; transition: .14s; }
.sv-card:hover { border-color: #c9d8ff; box-shadow: 0 6px 20px rgba(47, 98, 244, .06); }
.sv-main { flex: 1; min-width: 0; }
.sv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sv-name { font-size: 15px; color: var(--ink); }
.sv-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--muted); margin: 9px 0 7px; }
.sv-stat { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12.5px; color: var(--ink-2);
  background: #f8faff; border-radius: 9px; padding: 9px 14px; }
.sv-stat b { color: var(--brand); }
/* 操作按钮跟证书页保持一致：图标在上、文字在下，一排横着放 */
.sv-acts { display: flex; flex-wrap: nowrap; gap: 7px; justify-content: flex-end;
  align-items: center; flex: none; }
.sv-acts .cact { min-width: 66px; height: 54px; padding: 0 7px; font-size: 12.5px; gap: 4px; }
.sv-acts .cact > svg { width: 17px; height: 17px; }
@media (max-width: 1340px) {
  .sv-card { gap: 12px; padding: 13px 14px; }
  .sv-acts { gap: 5px; }
  .sv-acts .cact { min-width: 58px; height: 50px; padding: 0 5px; font-size: 12px; }
  .sv-acts .cact > svg { width: 16px; height: 16px; }
}

/* ---- 统计 ---- */
.sv-sumline { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 12.5px;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 16px; margin-bottom: 14px; }
.sv-sumline b { color: var(--brand); font-size: 14px; }
.sv-qcard { padding: 15px 18px; margin-bottom: 12px; }
.sv-qhead { display: flex; align-items: center; gap: 9px; padding-bottom: 11px;
  border-bottom: 1px dashed var(--line); margin-bottom: 13px; flex-wrap: wrap; }
.sv-qhead .q-no { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.sv-qhead b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.sv-qhead .grow { flex: 1; }
.sv-qbody { min-width: 0; }
.sv-legend { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 160px; max-width: 420px; }
.sv-lg { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.sv-lg i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.sv-lg .ell { flex: 1; min-width: 0; }
.sv-lg b { color: var(--ink); }
.sv-big { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.sv-big .small { font-size: 12px; font-weight: 400; color: var(--muted-2); }
.sv-pct { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.sv-pl { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px; }
.sv-pl .ell { max-width: 60%; }
.sv-pb { height: 9px; background: var(--line-2); border-radius: 5px; overflow: hidden; }
.sv-pb i { display: block; height: 100%; border-radius: 5px; transition: .3s; }
.sv-texts { display: flex; flex-direction: column; gap: 7px; max-height: 260px; overflow: auto; }
.sv-tx { display: flex; gap: 10px; font-size: 12.5px; padding: 7px 10px; background: #f8faff; border-radius: 8px; }
.sv-tx .small { flex: none; width: 62px; }
.sv-chart { display: block; }
.seg.sm .seg-item { padding: 5px 10px; font-size: 12px; }
.dl-img { color: var(--muted); display: inline-flex; padding: 3px; cursor: pointer; border-radius: 6px; }
.dl-img:hover { color: var(--brand); background: var(--brand-50); }
.sv-ans { margin-bottom: 14px; }
.sv-av { font-size: 13px; color: var(--ink-2); background: #f8faff; border-radius: 8px; padding: 8px 11px;
  margin-left: 20px; line-height: 1.7; word-break: break-word; }

@media (max-width: 1180px) {
  .qn-edit { flex-direction: column; }
  .qn-side { width: 100%; }
  .qtype-list { flex-direction: row; flex-wrap: wrap; }
  .lay-wrap { flex-direction: column; }
  .lay-panel { width: 100%; }
}

/* ===== 第 22 批：积分管理 + 统计分析 ===== */
.ok-text { color: var(--ok, #12b76a); }
.err-text { color: var(--danger, #e4395b); }

/* 积分规则表 */
.pt-table td { padding: 9px 10px; vertical-align: middle; }
.pt-table .input, .pt-table .select { font-size: 13px; }
.pt-table .switch { flex: none; }

/* 日期区间 */
.pt-range { display: flex; align-items: center; gap: 8px; }
.pt-range .input { width: 142px; height: 34px; font-size: 12.5px; padding: 0 10px; }

/* 积分商城 */
.sh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1400px) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sh-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: box-shadow .18s, transform .18s; }
.sh-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #d8e2f7; }
.sh-cover { position: relative; height: 112px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #eef4ff, #f6f0ff); }
.sh-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-emoji { font-size: 34px; font-weight: 700; color: #b9c4e0; }
.sh-state { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 2px 8px;
  border-radius: 20px; background: rgba(255, 255, 255, .92); color: #667085; }
.sh-state.on { color: var(--ok, #12b76a); }
.sh-body { padding: 12px 13px 8px; }
.sh-name { font-size: 14px; font-weight: 600; color: #101828; margin-bottom: 7px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-pt { display: flex; align-items: baseline; gap: 6px; padding: 8px 0 4px;
  border-top: 1px dashed #eef1f6; }
.sh-pt b { font-size: 19px; color: var(--brand); letter-spacing: -.02em; }
.sh-pt span { font-size: 11.5px; color: #98a2b3; }
.sh-foot { display: flex; align-items: center; gap: 4px; }
.sh-foot .btn.link { padding: 4px 6px; font-size: 12.5px; }

/* 学员统计 */
.stu-table td { padding: 10px; }
.stu-table tbody tr:hover { background: #fafbff; }

/* 培训档案抽屉 */
.arch-head { display: flex; align-items: center; gap: 14px; padding: 4px 2px 16px;
  border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar.lg { width: 52px; height: 52px; font-size: 20px; flex: none; }
.arch-name { font-size: 17px; font-weight: 700; color: #101828; margin-bottom: 8px; }
.arch-metrics { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #667085; }
.arch-metrics b { color: #101828; font-variant-numeric: tabular-nums; }
.arch-pt { text-align: right; flex: none; }
.arch-pt b { display: block; font-size: 22px; color: var(--brand); letter-spacing: -.02em; }
.arch-pt span { font-size: 11.5px; color: #98a2b3; }
.arch-tabs { margin-bottom: 12px; }
.arch-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.arch-row { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid #f1f4f9; }
.arch-row:last-child { border-bottom: 0; }
.arch-row:hover { background: #fafbff; }
.arch-main { flex: 1; min-width: 0; }
.arch-title { font-size: 13.5px; font-weight: 600; color: #101828; margin-bottom: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arch-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: #98a2b3; }
.arch-side { display: flex; align-items: center; gap: 10px; flex: none; font-size: 12px; }
.arch-score { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.arch-hours td { padding: 9px 10px; }

/* 积分明细抽屉 */
.pd-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #475467; }

/* 报表卡片 */
.rep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1440px) { .rep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .rep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rep-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .22s, transform .22s, border-color .22s; }
.rep-card:hover { box-shadow: 0 18px 38px -20px rgba(16, 24, 40, .35); transform: translateY(-3px); border-color: #dbe4f5; }
/* 卡头：渐变底 + 主题插画 */
.rep-top { position: relative; padding: 15px 16px 44px; min-height: 128px; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; }
.rep-top::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(140px 120px at 92% 6%, rgba(255, 255, 255, .26), transparent 72%); }
.rep-art { position: absolute; right: -4px; bottom: -16px; width: 148px; opacity: .42;
  pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12)); }
.rep-kicker { position: relative; z-index: 2; align-self: flex-start; font-size: 10.5px; letter-spacing: .1em;
  padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .26); }
.rep-name { position: relative; z-index: 2; font-size: 15.5px; font-weight: 650; line-height: 1.45;
  margin-top: 10px; max-width: 74%; letter-spacing: -.01em; text-shadow: 0 1px 3px rgba(12, 20, 40, .18); }
.rep-sub { position: relative; z-index: 2; font-size: 11.5px; color: rgba(255, 255, 255, .8); margin-top: 3px; }
.rep-body { padding: 13px 15px 14px; flex: 1; display: flex; flex-direction: column; }
.rep-desc { font-size: 12.5px; color: #667085; line-height: 1.62; min-height: 40px; }
.rep-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #98a2b3;
  margin-top: 10px; padding-top: 9px; border-top: 1px dashed #eef1f6; }
.rep-acts { display: flex; gap: 8px; margin-top: 12px; }
.rep-acts .btn.sm { flex: 1; justify-content: center; height: 31px; font-size: 12.5px; border-radius: 8px; }
.rep-rows { display: inline-flex; align-items: center; gap: 5px; }
.rep-rows b { color: #475467; font-variant-numeric: tabular-nums; }

/* 第 22 批补丁 */
.stu-kpi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stu-kpi-i { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.stu-kpi-v { font-size: 21px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stu-kpi-v em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted-2); margin-left: 3px; }
.stu-kpi-k { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
@media (max-width: 1100px) { .stu-kpi { grid-template-columns: repeat(2, 1fr); } }
.stu-prog { display: flex; align-items: center; gap: 7px; }
.stu-prog .bar { flex: 1; height: 5px; border-radius: 99px; background: #eef1f7; overflow: hidden; min-width: 54px; }
.stu-prog .bar > i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #4b6bff, #22d3ee); }
.stu-prog em { font-style: normal; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
/* 已完成课程：必修 / 选修 同字号同色，不做任何强调 */
.stu-cnt { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: nowrap; }
.stu-cnt-i { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px;
  border-radius: 6px; background: #f5f7fb; border: 1px solid #edf0f6; white-space: nowrap; }
.stu-cnt-i b { font-size: 12.5px; font-weight: 600; line-height: 1; color: #475467;
  font-variant-numeric: tabular-nums; }
.stu-cnt-i i { font-style: normal; font-size: 12.5px; font-weight: 400; line-height: 1; color: #475467; }
/* 档案：课程起止时间 */
.arch-times { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 12px; }
.arch-times > span { display: inline-flex; align-items: center; gap: 6px; }
.arch-times i { font-style: normal; color: #98a2b3; }
.arch-times b { font-weight: 500; color: #475467; font-variant-numeric: tabular-nums; }
.arch-times b.muted { color: #b0b8c4; font-weight: 400; }
/* 档案：考试统计表 */
.arch-exsum { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; color: #667085;
  padding: 10px 14px; margin-bottom: 12px; background: #f8fafd; border: 1px solid #eef1f7; border-radius: 10px; }
.arch-exsum b { margin-left: 5px; color: #101828; font-variant-numeric: tabular-nums; }
.arch-ex th.ta-c, .arch-ex td.ta-c { text-align: center; }
.arch-ex td { padding: 11px 14px; }
.arch-ex .ex-avg { font-weight: 600; color: #101828; }
.ex-subrow > td { background: #fafbfe; padding: 0 !important; }
.ex-atts { display: grid; gap: 1px; background: #f1f4f9; }
.ex-att-i { display: flex; align-items: center; gap: 14px; padding: 8px 18px; background: #fafbfe;
  font-size: 12.5px; }
.ex-att-n { width: 62px; flex: none; color: #667085; }
.ex-att-i b { font-size: 14px; font-variant-numeric: tabular-nums; }
/* 积分统计：部门 / 成员 / 个人 三层 */
.pt-row { cursor: pointer; }
.pt-crumb { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #98a2b3;
  margin: 2px 0 14px; }
.pt-crumb a { color: #475467; cursor: pointer; }
.pt-crumb a:hover { color: var(--brand); }
.pt-crumb i { font-style: normal; color: #cbd2dd; }
.pt-crumb b { color: #101828; font-weight: 600; }
.pt-who { display: flex; align-items: center; gap: 14px; }
.pt-who .avatar { width: 48px; height: 48px; font-size: 18px; flex: none; }
.pt-who-n { font-size: 16px; font-weight: 650; color: #101828; display: flex; align-items: baseline; gap: 8px; }
.pt-who-n span { font-size: 12.5px; font-weight: 400; color: #98a2b3; }
.pt-who-sub { font-size: 12px; color: #98a2b3; margin-top: 4px; }
.pt-who-pt { text-align: right; flex: none; }
.pt-who-pt b { display: block; font-size: 26px; line-height: 1.1; color: var(--brand);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pt-who-pt span { font-size: 11.5px; color: #98a2b3; }
.th-sort { cursor: pointer; user-select: none; white-space: nowrap; }
.th-sort:hover { color: var(--brand); }
.th-sort.on { color: var(--brand); font-weight: 600; }
.th-sort i { font-style: normal; margin-left: 3px; font-size: 10px; }
.pt-presets { display: inline-flex; gap: 6px; }
.pt-chip { font-size: 12px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; transition: .15s; white-space: nowrap; }
.pt-chip:hover { border-color: #c2d4f7; color: var(--brand); }
.pt-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 5px 11px;
  border-radius: 99px; background: #eef3ff; border: 1px solid #dbe6ff; font-size: 12px; color: #3f5b96; }
.filter-chip b { color: var(--brand); font-weight: 600; }
.filter-chip a { display: inline-flex; align-items: center; gap: 3px; color: #7b8db0; cursor: pointer; }
.filter-chip a:hover { color: var(--danger); }
.btn.link.danger { color: var(--danger) !important; }
.pd-head { flex-wrap: wrap; white-space: nowrap; }
.sh-emoji { display: inline-flex; color: #8fa6d8; }
.sh-card .rep-meta { border-top: 0; }

/* ================= 第 23 批：积分商城 · 商品分类 ================= */
.scat-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.scat-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 16px 12px; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.scat-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #d8e2f7; }
.scat-card.off { background: #fbfcfe; }
.scat-card.off .scat-ico { filter: grayscale(.55); opacity: .75; }
.scat-top { display: flex; align-items: center; gap: 12px; }
.scat-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #24406f;
}
.scat-nm { flex: 1; min-width: 0; }
.scat-nm b { display: block; font-size: 15px; line-height: 1.3; color: #101828; }
.scat-nm span { display: block; margin-top: 3px; }
.scat-move { display: flex; flex-direction: column; gap: 2px; }
.scat-move .icon-btn { width: 22px; height: 20px; border-radius: 6px; color: var(--muted-2); }
.scat-move .icon-btn:hover:not(:disabled) { color: var(--brand); }
.scat-move .icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.scat-desc {
  margin: 12px 0 10px; font-size: 12.5px; line-height: 1.6; color: var(--muted);
  min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.scat-meta {
  display: flex; gap: 8px; padding: 9px 10px; background: #f7f9fd;
  border-radius: 10px; font-size: 12px; color: var(--muted);
}
.scat-meta span { flex: 1; text-align: center; }
.scat-meta span + span { border-left: 1px solid var(--line); }
.scat-meta b { color: #101828; font-weight: 600; }
.scat-foot { display: flex; gap: 4px; justify-content: flex-end; margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line-2); }
.scat-foot .btn.link { padding: 4px 8px; }

/* 图标选择器 */
.ic-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ic-opt {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.ic-opt:hover { border-color: var(--brand-100); color: var(--brand); background: var(--brand-50); }
.ic-opt.on { border-color: var(--brand); background: var(--brand-50); color: var(--brand); box-shadow: 0 0 0 2px rgba(47, 98, 244, .12); }

/* 色调选择器 */
.tint-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.tint-opt {
  width: 48px; height: 40px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; position: relative; padding: 0; overflow: hidden;
}
.tint-opt span {
  position: absolute; inset: auto 0 2px 0; font-size: 10px; color: #8a94a6; text-align: center;
}
.tint-opt:hover { border-color: var(--line); }
.tint-opt.on { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(47, 98, 244, .14); }
.tint-opt.on span { color: var(--brand); font-weight: 600; }

.lnk-mini { font-size: 12px; color: var(--brand); cursor: pointer; }
.lnk-mini:hover { text-decoration: underline; }

/* ================= 第 24 批：工作台待办首项高亮（Word：首项要特殊显示引起注意） ================= */
.todo-item.todo-hot {
  background: linear-gradient(90deg, #fff5f4, #fffaf9 62%, #fff);
  border: 1px solid #ffd9d5;
  border-left: 3px solid #f04438;
  border-radius: 10px;
  padding: 11px 12px;
  margin: 0 -12px 8px;
}
.todo-item.todo-hot .todo-txt b { color: #b42318; font-weight: 650; }
.todo-item.todo-hot .todo-val { font-size: 22px; color: #f04438 !important; }
.todo-item.todo-hot .todo-ico { background: #fee4e2 !important; color: #f04438 !important; }
.todo-item.todo-hot .btn.sm {
  background: #f04438; color: #fff; border-color: #f04438;
}
.todo-item.todo-hot .btn.sm:hover { background: #d92d20; border-color: #d92d20; }

/* 素材库标题可点（Word：点标题就能预览视频/文档） */
.t-title.clickable { cursor: pointer; }
.t-title.clickable:hover { color: var(--brand); }

/* ================= 第 34 批：系统设置分组导航 / 水印预览 ================= */
.sys-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 6; padding: 8px 0 10px;
  background: linear-gradient(180deg, var(--bg) 72%, rgba(246,248,252,0)); }
.sys-nav-i { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2);
  font-size: 12.5px; cursor: pointer; transition: .16s; }
.sys-nav-i:hover { border-color: #c7d7f7; color: var(--brand); }
.sys-nav-i.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(47,98,244,.22); }
.card-head h3 svg { vertical-align: -3px; margin-right: 3px; }
.sys-card { scroll-margin-top: 52px; }

.wm-pv { position: relative; height: 190px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #1b2740, #2b3d63 55%, #16243c); }
.wm-logo { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(2px); }
.wm-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr); place-items: center; pointer-events: none; }
.wm-tiles i { font-style: normal; font-size: 11.5px; color: rgba(255,255,255,.34);
  transform: rotate(-24deg); white-space: nowrap; letter-spacing: .5px; }
.wm-hint { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: rgba(255,255,255,.5); }

/* ================= 第 34 批：权限管理 ================= */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; margin-bottom: 16px; }
/* 层级链条：主管理员 → 副管理员 → 部长 → 主管 → 组长 */
.perm-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.perm-flow .pf-i { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #344054; }
.perm-flow .pf-i em { font-style: normal; font-size: 11px; font-weight: 600; padding: 0 6px;
  border-radius: 99px; background: #f2f4f8; color: #7b8794; }
.perm-flow .pf-i.admin { border-color: #bcd0ff; background: #f2f6ff; color: #2f62f4; }
.perm-flow .pf-i.admin em { background: #e0eaff; color: #2f62f4; }
.perm-flow .pf-i.gm { border-color: #ffd9c2; background: #fff7f2; color: #d4551a; }
.perm-flow .pf-i.gm em { background: #ffe9dc; color: #d4551a; }
.perm-flow .pf-i.subadmin { border-color: #cfe3ff; background: #f5f9ff; color: #175cd3; }
.perm-flow .pf-i.minister { border-color: #bde9d5; background: #f2fbf7; color: #0d9f6e; }
.perm-flow .pf-i.manager { border-color: #fde3bd; background: #fffaF2; color: #d98200; }
.perm-flow .pf-i.leader { border-color: #ddd0ff; background: #f8f5ff; color: #7c4dff; }
.perm-flow .pf-ar { color: #c2ccdd; font-size: 15px; }
.perm-card { display: flex; gap: 12px; padding: 15px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); transition: .18s; }
.perm-card:hover { border-color: #d8e2f7; box-shadow: var(--sh-2); }
.perm-card b { font-size: 13.5px; }
.perm-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  flex: 0 0 38px; background: #f1f4fa; color: var(--muted); }
.perm-ico.brand { background: var(--brand-50); color: var(--brand); }
.perm-ico.info { background: var(--info-50); color: var(--info); }

.perm-head { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 13px; background: #f7f9fd; border: 1px solid var(--line); border-radius: 10px; }
.perm-sw { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
/* 单列：两列时「概览」这种只有 2 个菜单的组会在右边留一大块空白。
   高度交给 .modal-body 整体滚，不在这里再套一层滚动条。 */
.perm-groups { display: grid; grid-template-columns: 1fr; gap: 10px; }
.perm-grp { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #fff; }
.perm-grp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 7px; margin-bottom: 7px; border-bottom: 1px dashed var(--line); }
.perm-grp-h .perm-chk span { font-weight: 650; font-size: 12.5px; }
.perm-items { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.perm-chk { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2);
  cursor: pointer; user-select: none; }
.perm-chk input { width: 14px; height: 14px; accent-color: var(--brand); cursor: pointer; }
.perm-doc p { margin: 0 0 10px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.perm-doc p.muted { color: var(--muted); }

.sa-list { max-height: 232px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.sa-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.sa-row:last-child { border-bottom: none; }
.sa-row:hover { background: #f7f9fd; }
.sa-row.on { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand); }

/* ================= 第 34 批：调查评估概览条 ================= */
.sum-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.sum-i { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px;
  display: flex; flex-direction: column; gap: 4px; }
.sum-l { font-size: 12px; color: var(--muted); }
.sum-v { font-size: 21px; line-height: 1.2; color: var(--ink); font-weight: 650; }
.sum-v small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 1px; }
.sum-v.warn { color: var(--warn); }

/* 快捷入口卡片（「首页组件」里的 shortcut 区块） */
.sc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: center; }
.sc-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 6px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe;
  color: var(--ink-2); font-size: 12.5px; text-decoration: none; transition: .16s; align-self: stretch; }
.sc-link:hover { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand); transform: translateY(-1px); }
.sc-link-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--brand); }

/* ================= 第 35 批：个性化设置 · 效果预览 ================= */
/* Logo 上传控件 */
.logo-up { display: flex; align-items: center; gap: 14px; }
.logo-up-prev { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 18px; font-size: 28px; }
.logo-up-prev.has-logo { background: #f7f9fc; border: 1px solid var(--line); box-shadow: none; }
.logo-up-side { min-width: 0; }
.logo-up-side .hint { margin-top: 5px; font-size: 11px; color: var(--muted-2); line-height: 1.5; }
.pv-mark img, .pv-m-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.pv-mark.has-logo, .pv-m-mark.has-logo { background: transparent; box-shadow: none; }

/* 手机端过渡页预览样机 */
.splash-demo-row { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; align-items: center; }
.splash-demo { position: relative; width: 236px; height: 418px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(165deg, var(--brand, #2f62f4) 0%, #1b3a8f 58%, #101a3a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 24px 48px -22px rgba(16,26,58,.6); border: 7px solid #101828; }
.splash-demo::before { content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 62px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.32); }
.sd-mark { width: 64px; height: 64px; border-radius: 19px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: 30px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.24); }
.sd-mark.has-logo { background: transparent; border-color: transparent; }
.sd-mark img { width: 100%; height: 100%; object-fit: contain; }
.splash-demo h2 { margin: 6px 0 0; font-size: 20px; color: #fff; letter-spacing: .02em; font-weight: 600; }
.splash-demo p { margin: 0; font-size: 11.5px; color: rgba(255,255,255,.68); letter-spacing: .06em; }
.sd-company { position: absolute; bottom: 34px; font-size: 10.5px; color: rgba(255,255,255,.42); letter-spacing: .08em; }
.sd-bar { position: absolute; bottom: 16px; width: 96px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.sd-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: rgba(255,255,255,.85);
  animation: sdFill 1.5s ease-out infinite; }
@keyframes sdFill { 0% { width: 0; } 78% { width: 100%; } 100% { width: 100%; } }
.splash-demo-note { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.splash-demo-note b { color: var(--ink); font-size: 13.5px; font-weight: 600; }

.pv-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 18px; align-items: start; }
.pv-pc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pv-pc-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #f7f9fd; border-bottom: 1px solid var(--line); }
.pv-mark { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, var(--brand), #7c3bff); }
.pv-name { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.pv-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pv-pc-body { display: flex; align-items: center; gap: 10px; padding: 20px 14px; flex-wrap: wrap; }
.pv-btn { height: 31px; padding: 0 15px; border-radius: 8px; background: var(--brand); color: #fff;
  font-size: 12.5px; display: inline-flex; align-items: center; }
.pv-btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand-100); }
.pv-tag { font-size: 11.5px; color: var(--brand); background: var(--brand-50);
  border-radius: 99px; padding: 3px 10px; }
.pv-m { max-width: 232px; margin-left: auto; border: 1px solid var(--line); border-radius: 18px;
  padding: 14px 12px; background: linear-gradient(165deg, #eef3ff, #f9fbff); }
.pv-m-top { display: flex; align-items: center; gap: 8px; }
.pv-m-mark { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(135deg, var(--brand), #7c3bff); }
.pv-m-name { font-size: 12.5px; font-weight: 650; color: var(--ink); }
.pv-slogan { font-size: 11.5px; color: var(--muted); margin: 9px 0 10px; line-height: 1.5; }
.pv-m-card { display: flex; gap: 9px; background: #fff; border-radius: 11px; padding: 9px;
  box-shadow: 0 1px 3px rgba(16,24,40,.05); }
.pv-m-l { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 9px; background: var(--brand-50); }
.pv-m-r { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.pv-m-r i { display: block; height: 7px; border-radius: 4px; background: var(--line); }

/* ---------- p63：同名成员提醒 / 合并 ---------- */
.dup-banner {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding: 12px 16px; margin-bottom: 14px; border-radius: 12px;
  border: 1px solid #f5d4a8; background: linear-gradient(100deg, #fff8ec, #fffdf8);
  color: #8a5b00;
}
.dup-banner b { font-size: 13.5px; }
.dup-banner .small { color: #a97a2e; margin-top: 3px; line-height: 1.6; }
.dup-group { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.dup-group-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.dup-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; flex-wrap: wrap;
}
.dup-row:hover { background: #f7f9fd; }
.dup-row.on { border-color: #2f6fed; background: #eef4ff; }
.dup-row input { margin: 0; flex: none; }
.dup-nm { font-weight: 600; min-width: 56px; }

/* ===== 工作台新闻轮播（p79） ===== */
.news-card { margin-bottom: 16px; overflow: hidden; }
.news-card .card-head { padding-bottom: 12px; }
.nc-tools { display: flex; align-items: center; gap: 8px; }
.nc-idx { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.nc-arrow { width: 26px; height: 26px; padding: 0; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: .16s; }
.nc-arrow:hover { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.nc-arrow svg { width: 14px; height: 14px; }
.nc-view { overflow: hidden; }
.nc-track { display: flex; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.nc-slide { flex: 0 0 100%; display: flex; gap: 20px; padding: 2px 20px 14px; text-decoration: none; color: inherit; }
.nc-deco { width: 268px; height: 150px; flex: 0 0 268px; border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #2f62f4, #5b8bff 58%, #8fb3ff);
  box-shadow: 0 10px 22px -14px rgba(47,98,244,.9); }
.nc-deco b { font-size: 25px; font-weight: 700; letter-spacing: -.02em; color: rgba(255,255,255,.5); line-height: 1; }
/* p89 有封面就用真实图片，分类角标压在图上 */
.nc-pic { width: 268px; height: 150px; flex: 0 0 268px; border-radius: 12px; overflow: hidden;
  position: relative; background: #e8eefc; box-shadow: 0 10px 22px -16px rgba(15,26,50,.55); }
.nc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nc-slide:hover .nc-pic img { transform: scale(1.04); }
.nc-pic .nc-cat { position: absolute; left: 8px; top: 8px;
  background: rgba(15,26,50,.55); backdrop-filter: blur(4px); }
.nc-cat { align-self: flex-start; font-size: 11.5px; color: #fff; background: rgba(255,255,255,.22);
  border-radius: 6px; padding: 3px 7px; }
.nc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: 2px; }
.nc-title { font-size: 16.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: .16s; }
.nc-sum { margin: 9px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 45px; }
.nc-meta { margin-top: auto; display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; color: var(--muted-2); }
.nc-go { margin-left: auto; color: var(--brand); font-weight: 500; }
.nc-slide:hover .nc-title { color: var(--brand); }
.nc-dots { display: flex; justify-content: center; gap: 6px; padding: 0 20px 14px; }
.nc-dots i { width: 16px; height: 4px; border-radius: 3px; background: var(--line);
  cursor: pointer; transition: .2s; }
.nc-dots i.on { width: 26px; background: var(--brand); }

/* p80 部门积分详情：加分/扣减/净积分 对账行 */
.pt-mix-note { display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: 0 20px 16px; font-size: 12px; color: var(--muted-2); }
.pt-mix-note b { font-weight: 600; }

/* p81 积分统计总览：部门积分对比改成「条 + 查看详情」行 */
.pt-deplist { display: flex; flex-direction: column; gap: 2px; }
.pt-deprow { display: flex; align-items: center; gap: 12px; padding: 7px 8px;
  border-radius: 8px; cursor: pointer; transition: background .15s; }
.pt-deprow:hover { background: #f5f8ff; }
.pt-deprow-n { flex: 0 0 92px; width: 92px; text-align: right; font-size: 12.5px;
  color: #475467; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-deprow-bar { flex: 1; height: 10px; border-radius: 99px; background: #f0f3f9; overflow: hidden; }
.pt-deprow-bar i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #5b8bff, #2f62f4); }
.pt-deprow-v { flex: 0 0 62px; width: 62px; text-align: right; font-size: 12.5px;
  font-weight: 600; color: #344054; font-variant-numeric: tabular-nums; }
.pt-deprow-v em { font-style: normal; font-weight: 400; font-size: 11px; color: #98a2b3; margin-left: 2px; }
.pt-deprow-a { flex: 0 0 auto; font-size: 12px; }

/* p82 系统设置：时长输入 + 水印位置变体 */
.set-sep { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; padding-top: 13px;
  border-top: 1px dashed var(--line); font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.set-sep::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: var(--brand); }
.set-num { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.set-num .input { width: 84px; height: 34px; text-align: center; }
.set-num.wide .input { width: 280px; text-align: left; }
.set-num em { font-style: normal; font-size: 12px; color: var(--muted-2); }
.set-num input[type=range] { width: 150px; accent-color: var(--brand); }
.set-num select.select { width: 170px; height: 34px; }
.wm-tiles.pos-rt i, .wm-tiles.pos-rb i, .wm-tiles.pos-cc i, .wm-tiles.pos-lb i { display: none; }
.wm-tiles.pos-rt, .wm-tiles.pos-rb, .wm-tiles.pos-cc, .wm-tiles.pos-lb { display: flex; padding: 14px 16px; }
.wm-tiles.pos-rt { justify-content: flex-end; align-items: flex-start; }
.wm-tiles.pos-rb { justify-content: flex-end; align-items: flex-end; }
.wm-tiles.pos-cc { justify-content: center; align-items: center; }
.wm-tiles.pos-lb { justify-content: flex-start; align-items: flex-end; }
.wm-tiles.pos-rt i:first-child, .wm-tiles.pos-rb i:first-child,
.wm-tiles.pos-cc i:first-child, .wm-tiles.pos-lb i:first-child { display: block; }

/* p82 真实水印层（素材预览 / 答卷界面复用） */
.wm-host { position: relative; }
.wm-layer { position: absolute; inset: 0; pointer-events: none; z-index: 6;
  display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; overflow: hidden; }
.wm-layer i { font-style: normal; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
.wm-layer.pos-rt { display: flex; justify-content: flex-end; align-items: flex-start; padding: 12px; }
.wm-layer.pos-rb { display: flex; justify-content: flex-end; align-items: flex-end; padding: 12px; }
.wm-layer.pos-cc { display: flex; justify-content: center; align-items: center; }
.wm-layer.pos-lb { display: flex; justify-content: flex-start; align-items: flex-end; padding: 12px; }

/* p82 权限树：菜单 + 操作两栏 */
.perm-ms { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.perm-m { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: #fcfdff; }
.perm-m-h span { font-weight: 600; }
.perm-as { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0 22px; }
.perm-a { font-size: 12.5px; color: #475467; }
.perm-a:hover { color: var(--brand); }
.perm-a input { margin-right: 3px; vertical-align: -1px; }
.perm-none { margin-left: 22px; font-size: 11.5px; }

/* 指派学员弹窗：按部门分组 + 搜索/筛选（p84） */
.as-grp { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; overflow: hidden; background: #fff; }
.as-grp-head { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #f7f9fc;
  border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; }
.as-grp-head b { font-size: 13px; }
.as-grp-head .btn { margin-left: auto; }
.as-grp-head .btn + .btn { margin-left: 6px; }
.as-grp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 10px; }
.as-u { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.as-u:hover { background: #f4f7fd; }
.as-u .tag { margin-left: auto; font-size: 11px; padding: 1px 7px; }
@media (max-width: 640px) { .as-grp-list { grid-template-columns: 1fr; } }

/* p86 首登引导：负责院区多选小方块 */
.pf-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 12.5px; background: #fff; user-select: none; }
.pf-chip:has(input:checked) { border-color: var(--brand); background: var(--brand-50, #eef4ff); color: var(--brand); }
.pf-chip input { margin: 0; }
/* p92 小组多选：客服二部近 20 个小组，限高滚动，别把弹窗撑破 */
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow-y: auto;
  padding: 2px; border: 1px solid #f2f4f7; border-radius: 9px; }
.pf-chips:has(.pf-none) { border: 0; padding: 0; }
.pf-none { font-size: 12px; color: #98a2b3; padding: 4px 2px; }
/* 职务待审核的提示条 */
.pf-note { margin: 0 0 12px; padding: 8px 11px; border-radius: 9px; font-size: 12.5px;
  color: #b54708; background: #fffaeb; border: 1px solid #fedf89; line-height: 1.6; }
/* p92 部门管理里的小组标签 */
.grp-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 5px 3px 11px; font-size: 12.5px; background: #fff; }
.grp-chip em { font-style: normal; font-size: 11px; }
.grp-chip i { display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%; font-style: normal; font-size: 12px;
  color: #98a2b3; cursor: pointer; }
.grp-chip i:hover { background: #fee4e2; color: #b42318; }
