* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #c0392b;
  --brand-soft: #fdecea;
  --ink: #1b2430;
  --ink-2: #5a6673;
  --ink-3: #8a95a3;
  --line: #e6eaef;
  --bg: #f2f4f7;
  --side: #1f2937;
  --side-2: #263140;
  --ok: #21804a;
  --warn: #8a5a00;
}
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ============ 登录 ============ */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #1f2937 0%, #2c3e50 55%, #3a2b2b 100%);
  padding: 24px;
}
.login-card {
  width: 380px; background: #fff; border-radius: 16px; padding: 32px 30px 26px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 500; flex: none;
}
.logo-mark.sm { width: 34px; height: 34px; border-radius: 9px; font-size: 17px; }
.login-brand h1 { font-size: 18px; font-weight: 500; letter-spacing: .3px; }
.login-brand p { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; }
.field input {
  width: 100%; height: 44px; padding: 0 14px; font-size: 15px;
  border: 1px solid #d6dce4; border-radius: 9px; outline: none; background: #fbfcfd;
  transition: border-color .15s, background .15s;
}
.field input:focus { border-color: var(--brand); background: #fff; }
.login-err { color: var(--brand); font-size: 13px; min-height: 20px; margin-bottom: 6px; }
.btn-primary {
  width: 100%; height: 46px; border: 0; border-radius: 9px; background: var(--brand);
  color: #fff; font-size: 16px; letter-spacing: 4px; transition: opacity .15s;
}
.btn-primary:hover { opacity: .9; }
.btn-primary:disabled { opacity: .55; cursor: default; }
.login-hint { margin-top: 20px; font-size: 12px; color: var(--ink-3); line-height: 1.8; text-align: center; }
/* 2026-12-03 校长要求：客服电话在登录页就可见（前台/家长常问进度） */
.login-kf { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-2); }
.login-kf a { color: var(--green, #1FA463); font-weight: 600; text-decoration: none; letter-spacing: .5px; }
/* 2026-11-20：本机地址自报条（登录页）——地址会变，页面上直接写着当前该用哪个 */
.login-addr {
  margin-top: 14px; padding: 9px 12px; border-radius: 8px;
  background: #eef6f1; border: 1px dashed #bcd9c7;
  font-size: 12px; color: #2c6b4b; line-height: 1.8; text-align: center;
}
.login-addr b { color: #14532d; font-weight: 700; }
.login-addr .addr-tip { color: #5a7d68; }

/* ============ 主框架 ============ */
.app { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  width: 214px; flex: none; background: var(--side); color: #cfd6e0;
  display: flex; flex-direction: column; overflow: hidden;
}
.side-brand {
  display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.side-brand-txt b { display: block; font-size: 14px; color: #fff; font-weight: 500; letter-spacing: .5px; }
.side-brand-txt span { font-size: 11px; color: #8d99a8; }
.nav { flex: 1; overflow-y: auto; padding: 8px 0 16px; }
.nav::-webkit-scrollbar { width: 6px; }
.nav::-webkit-scrollbar-thumb { background: #3d4a5c; border-radius: 3px; }
.nav-group {
  font-size: 11px; color: #6f7b8c; padding: 14px 18px 6px; letter-spacing: 1px;
}
.nav-item {
  display: flex; align-items: center; gap: 9px; padding: 8px 18px; font-size: 13.5px;
  color: #c3ccd8; cursor: pointer; border-left: 3px solid transparent; transition: background .12s;
}
.nav-item:hover { background: var(--side-2); color: #fff; }
.nav-item.active { background: #2f3d50; color: #fff; border-left-color: var(--brand); }
.nav-item i { font-style: normal; width: 15px; text-align: center; color: #7d8a9b; font-size: 12px; }
.nav-item.active i { color: #ff8478; }
/* F-PC-285 学员组二级菜单：根项带折叠箭头，子项缩进小字 */
.nav-root { font-weight: 600; }
.nav-root .nav-caret { margin-left: auto; font-style: normal; font-size: 11px; color: #7d8a9b; }
.nav-sub { overflow: hidden; }
.nav-subitem { padding-left: 32px; font-size: 12.5px; color: #a9b4c2; }
.nav-subitem:hover { color: #fff; }
.nav-subitem.active { color: #fff; }
/* F-PC-285 合并页页签条：#view 前独立节点，异步刷新不冲掉 */
.hub-bar { padding: 10px 22px 0; flex: none; }
.hub-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e3e8ef; border-bottom: none;
  border-radius: 10px 10px 0 0; padding: 8px 12px; }
.hub-title { font-size: 13px; color: #5b6b7f; margin-right: 6px; }
.hub-tab { border: 1px solid #d7dee8; background: #f4f6f9; color: #4a5a6e;
  border-radius: 16px; padding: 4px 14px; font-size: 12.5px; cursor: pointer; transition: all .12s; }
.hub-tab:hover { background: #e9eef5; }
.hub-tab.on { background: var(--brand, #c8483f); border-color: var(--brand, #c8483f); color: #fff; }
.side-foot { padding: 10px 16px 14px; border-top: 1px solid rgba(255,255,255,.07); }
.tag-mode { font-size: 11px; color: #8d99a8; }
.side-kf { display: block; margin-top: 8px; font-size: 12px; color: #b9c4d0; text-decoration: none; }
.side-kf:hover { color: #fff; }

.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.topbar {
  height: 52px; flex: none; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}
.crumbs { font-size: 14.5px; font-weight: 500; display: flex; align-items: center; }
.btn-back {
  margin-right: 12px; padding: 4px 13px; font-size: 13px; line-height: 1.5;
  color: var(--ink-2, #5F7268); background: #fff; border: 1px solid #d6dce4;
  border-radius: 7px; cursor: pointer; white-space: nowrap;
}
.btn-back:hover { border-color: var(--brand); color: var(--brand); }
.btn-back[hidden] { display: none; }
.top-right { display: flex; align-items: center; gap: 10px; }
.who { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.who b { font-weight: 500; color: var(--ink); }
.who em { font-style: normal; font-size: 11px; background: #eef1f5; color: var(--ink-2); padding: 2px 7px; border-radius: 20px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.btn-ghost {
  height: 30px; padding: 0 13px; border: 1px solid #d6dce4; background: #fff;
  border-radius: 7px; font-size: 13px; color: var(--ink-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.view { flex: 1; overflow-y: auto; padding: 18px 20px 40px; }

/* ============ 通用 ============ */
.panel { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(20,30,50,.06); margin-bottom: 14px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.panel-title { font-size: 14.5px; font-weight: 500; }
.panel-sub { font-size: 12px; color: var(--ink-3); margin-left: 8px; font-weight: 400; }
.panel-body { padding: 14px 16px; }
.panel-body.np { padding: 0; }

.toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.search {
  height: 32px; width: 240px; padding: 0 12px; font-size: 13px;
  border: 1px solid #d6dce4; border-radius: 7px; outline: none; background: #fbfcfd;
}
.search:focus { border-color: var(--brand); background: #fff; }
.count-tip { font-size: 12.5px; color: var(--ink-3); margin-left: auto; }

table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 13px; table-layout: auto; }
thead th {
  text-align: left; font-weight: 500; color: var(--ink-2); font-size: 12.5px;
  background: #f8fafc; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
tbody td {
  padding: 9px 12px; border-bottom: 1px solid #f1f4f8; color: var(--ink); vertical-align: top;
  white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis;
}
/* F-PC-786：空表说明行（跨全表那一格）要能换行——否则被上面的 nowrap/240px/省略号
 * 截成「…右侧「操作」里选「跟进」就能记跟进情…」半句话（校长看着像界面坏了）。 */
tbody td.empty-cell {
  white-space: normal; max-width: none; overflow: visible; text-overflow: clip;
}
/* 驾校动态正文这类多行长文本：上面那条 nowrap/240px/省略号会把它压成一行只剩省略号。
   这里单独放开：保留正文里的换行、允许折行、不再省略，宽度放宽到 480px。
   只作用于带 .cell-long 的单元格，其它表格的紧凑排版不受影响。 */
tbody td.cell-long {
  white-space: pre-wrap;
  max-width: 480px;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}
tbody tr:hover { background: #fafbfd; }
tbody tr:last-child td { border-bottom: none; }
.tbl-wrap { max-height: calc(100vh - 260px); overflow: auto; }
/* 2026-11-22 全量表格体检：14~15 列的宽表在 1282px 内容区必须横向滚动。
   原先横滚后首列（序号 / 姓名）随之消失，看不出「这一行是谁」，且细滚动条几乎看不见。
   ① 首列粘性固定；② 滚动条加粗到能一眼看到。只改排版，不动列结构、不动任何数据。 */
.tbl-wrap > table > thead th:first-child,
.tbl-wrap > table > tbody td:first-child {
  position: sticky; left: 0; z-index: 2; background: #fff;
}
.tbl-wrap > table > thead th:first-child { background: #f8fafc; z-index: 3; }
/* ★ F-PC-881（2026-11-30 校长「三条路没有一条是通的」+ 截图：车辆表停在「里程」列，
   右侧「操作」整列被横滚挤出屏幕）—— 与上面首列同一套做法：把**有操作列的表**的
   最后一列粘在右侧。只认 data-ops="1"（渲染时按 rowActs 有没有来打标），
   没有操作列的表不受任何影响。 */
.tbl-wrap > table[data-ops="1"] > thead th:last-child,
.tbl-wrap > table[data-ops="1"] > tbody td:last-child {
  position: sticky; right: 0; background: #fff; z-index: 2;
  box-shadow: -8px 0 8px -8px rgba(15, 23, 42, .25);
}
.tbl-wrap > table[data-ops="1"] > thead th:last-child { background: #f8fafc; z-index: 3; }
.tbl-wrap > table[data-ops="1"] > tbody tr:hover td:last-child { background: #fafbfd; }
.tbl-wrap::-webkit-scrollbar { width: 10px; height: 10px; }
.tbl-wrap::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 5px; }
.tbl-wrap::-webkit-scrollbar-thumb { background: #c3cede; border-radius: 5px; }
.tbl-wrap::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============ 教练分配信息（2026-11-03，照驾校通「分教练」精简版） ============ */
.cd-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cd-tabs { display: inline-flex; gap: 6px; }
.cd-tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 5px 16px; border-radius: 16px; cursor: pointer; font-size: 13px;
}
.cd-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.cd-note { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.cd-tbl td, .cd-tbl th { padding: 9px 10px; vertical-align: top; }
.cd-tbl .cd-name { font-weight: 600; }
.cd-sub { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.cd-nums { white-space: nowrap; }
.cd-detail { min-width: 200px; }
.cd-detail > div:first-child { white-space: nowrap; }
.cd-cars { color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.cd-n { cursor: pointer; color: var(--brand); margin-right: 8px; }
.cd-n:hover { text-decoration: underline; }
.cd-n b { font-variant-numeric: tabular-nums; }
.cd-sep { color: var(--ink-3); margin-right: 8px; }
.cd-zero { color: var(--ink-3); cursor: default; }
.cd-total td { background: #f6f8fa; font-weight: 600; border-top: 2px solid var(--line); }
.cd-pct { font-variant-numeric: tabular-nums; margin-bottom: 3px; }
.cd-bar {
  display: flex; width: 120px; height: 8px; border-radius: 4px; overflow: hidden;
  background: #eef1f5;
}
.cd-bar i { display: block; height: 100%; }
.cd-bar .cd-bar-m { background: #4a7dbe; }   /* 男=蓝 */
.cd-bar i:last-child { background: #d76a8b; } /* 女=粉 */
.cd-age { white-space: nowrap; color: var(--ink-2); }
.cd-age-tip { cursor: help; color: var(--ink-3); font-style: normal; }
.cd-list { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.cd-chip {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none;
  color: var(--ink); font-size: 13px;
}
.cd-chip:hover { border-color: var(--brand); background: #f7fafd; }
.cd-chip b { min-width: 72px; }
.cd-chip span { color: var(--ink-2); }
.cd-tag-nf, .cd-tag-bk {
  font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 8px; margin-left: auto;
}
.cd-tag-nf { background: #fff4e5; color: #9a5b14; }
.cd-tag-bk { background: #e8f1fd; color: #2c5fa8; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cell-obj { color: var(--ink-3); font-size: 12px; }
/* 加油记录票据核对（2026-11-05）：票据金额与实际金额对不上 → 标红 */
.cell-bad { color: #a3311f; font-weight: 600; }
.cell-bad-why { color: #a3311f; font-size: 12px; font-weight: 400; opacity: .85; margin-top: 2px; }
.cell-ok { color: #23703a; }
.empty { padding: 44px 0; text-align: center; color: var(--ink-3); font-size: 13.5px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.blk { margin-bottom: 18px; }
.blk-title {
  font-size: 13px; color: var(--ink-2); font-weight: 500; margin: 0 0 9px 2px;
  padding-left: 9px; border-left: 3px solid var(--brand); line-height: 1.2;
}
.kpi { background: #fff; border-radius: 10px; padding: 15px 16px; box-shadow: 0 1px 3px rgba(20,30,50,.06); }
.kpi .k-label { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.kpi .k-value { font-size: 25px; font-weight: 500; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.kpi .k-unit { font-size: 13px; color: var(--ink-3); margin-left: 3px; font-weight: 400; }
.kpi.accent .k-value { color: var(--brand); }

/* ===== F-PC-557（2026-11-20）数据看板（总览）改版专用样式 =====
 * 三块布局：在办学员（主体） / 本期发生 / 历史存档（放一边，视觉上弱化）。
 * 时间区间选择条固定在最上面，校长一眼能看到「这些数是按哪个区间算的」。 */
.rb-ranges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rb-rb {
  border: 1px solid #dfe4ec; background: #fff; color: var(--ink-2);
  padding: 6px 14px; border-radius: 8px; font-size: 13px; cursor: pointer;
}
.rb-rb:hover { border-color: var(--brand); color: var(--brand); }
.rb-rb.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.rb-range-text { margin-left: 10px; font-size: 12.5px; color: var(--ink-3); }
.rb-custom { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.rb-custom label { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.rb-custom input[type="date"] {
  border: 1px solid #dfe4ec; border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--ink-1);
}
.rb-tip { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.kpi.rb-warn { box-shadow: inset 0 0 0 1px #f0d9b5; background: #fffdf7; }
.kpi.rb-warn .k-value { color: #b06d12; }
.rb-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.rb-sub { font-size: 13px; color: var(--ink-2); font-weight: 500; margin: 0 0 9px 2px; }
.rb-archive { background: #fafbfd; }
.rb-archive .panel-title { color: var(--ink-3); }

/* ===== F-PC-557 名册「含历史存档」开关 ===== */
.stu-archive-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 10px; padding: 8px 12px;
  background: #f7f9fc; border: 1px solid #e8ecf3; border-radius: 8px;
}
.stu-archive-sw { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.stu-archive-sw input { width: 15px; height: 15px; cursor: pointer; }
.stu-archive-tip { font-size: 12px; color: var(--ink-3); }

/* ===== F-PC-890 名册「筛选中」提示条 =====
 * 起因：校长两台机器一台显示 283 人、一台只显示 1 人，都强制刷新过。
 * 真相是搜索词被存在浏览器里（刷新不丢）。这条提示让「看不见的条件」永远看得见。 */
.stu-filter-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 10px; padding: 9px 12px;
  background: #fff8e6; border: 1px solid #f0d48a; border-radius: 8px;
  font-size: 13px; color: #7a5a13;
}
.stu-filter-banner .sfb-tag {
  flex: none; padding: 1px 8px; border-radius: 999px;
  background: #f0b429; color: #fff; font-size: 12px; font-weight: 600;
}
.stu-filter-banner .sfb-txt { flex: 1 1 320px; line-height: 1.5; }
.stu-filter-banner .sfb-txt b { color: #b1451a; font-size: 14px; }
.stu-filter-banner .sfb-clear {
  flex: none; border: 1px solid #e0bf6a; background: #fff; color: #7a5a13;
  border-radius: 8px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; font-weight: 600;
}
.stu-filter-banner .sfb-clear:hover { background: #fffdf6; border-color: #d0a93f; }

/* ===== F-PC-557 名册姓名/手机/证件号搜索框 ===== */
.stu-search-wrap { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.stu-search-in {
  width: 220px; border: 1px solid #dfe4ec; border-radius: 8px;
  padding: 6px 10px; font-size: 13px; color: var(--ink-1); background: #fff;
}
.stu-search-in:focus { outline: none; border-color: var(--brand); }
.stu-search-clear {
  border: 1px solid #dfe4ec; background: #fff; color: var(--ink-3);
  border-radius: 8px; padding: 6px 10px; font-size: 12.5px; cursor: pointer;
}
.stu-search-clear:hover { border-color: var(--brand); color: var(--brand); }

/* ===== F-PC-558 看板数字下钻（点数字 → 看对应的人） ===== */
.rb-kpi-open { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.rb-kpi-open:hover { box-shadow: 0 0 0 2px rgba(0,120,255,.18), 0 1px 3px rgba(20,30,50,.06); }
.kpi.rb-warn.rb-kpi-open:hover { box-shadow: 0 0 0 2px rgba(176,109,18,.22); }
.rb-drill-tip { color: var(--brand); font-size: 11px; font-weight: 600; }
.rb-drill-panel { margin-top: 4px; border-left: 3px solid var(--brand); }
.rb-name { color: var(--brand); cursor: pointer; text-decoration: none; font-weight: 500; }
.rb-name:hover { text-decoration: underline; }
.rb-more { font-size: 12px; color: var(--ink-3); padding: 8px 2px; }





.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 22px; }
.kv-row { display: flex; gap: 10px; font-size: 13px; padding: 5px 0; border-bottom: 1px dashed #eef1f5; }
.kv-row b { color: var(--ink-2); font-weight: 400; min-width: 96px; flex: none; }
.kv-row span { color: var(--ink); word-break: break-all; }

.badge { display: inline-block; font-size: 11.5px; padding: 1.5px 8px; border-radius: 20px; background: #eef1f5; color: var(--ink-2); }
.badge.ok { background: #eaf7ee; color: var(--ok); }
.badge.warn { background: #fff8e6; color: var(--warn); }
.badge.fail { background: var(--brand-soft); color: var(--brand); }
.badge.empty { background: #eef1f5; color: var(--ink-3); }
.badge.manual { background: #eef4ff; color: #2c5aa0; }

.check-list { display: flex; flex-direction: column; }
.check-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-bottom: 1px solid #f1f4f8; font-size: 13.5px;
}
.check-item:last-child { border-bottom: none; }
.check-item .ci-name { width: 150px; flex: none; }
.check-item .ci-state { width: 60px; flex: none; }
.check-item .ci-note { color: var(--ink-3); font-size: 12.5px; margin-left: auto; text-align: right; }
.check-sum { display: flex; gap: 22px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.check-sum div { font-size: 13px; color: var(--ink-2); }
.check-sum b { display: block; font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.check-sum b.ok { color: var(--ok); }
.check-sum b.fail { color: var(--brand); }

.err-box {
  background: var(--brand-soft); color: #8f2b1f; border-radius: 9px;
  padding: 14px 16px; font-size: 13.5px; line-height: 1.7;
}
.hint-box {
  background: #f6f8fb; border: 1px dashed #d6dce4; border-radius: 9px;
  padding: 14px 16px; font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.spin { display: inline-block; width: 13px; height: 13px; border: 2px solid #d6dce4; border-top-color: var(--brand); border-radius: 50%; animation: sp .7s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------------- 写操作：顶部按钮条 / 行内按钮 / 表单弹窗 ---------------- */
.act-bar { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.act-bar .btn, .act-bar .btn-ghost { padding: 8px 15px; font-size: 13px; }

.ops-col { width: 1%; white-space: nowrap; }
.ops-cell { white-space: nowrap; }
.mini-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 6px; padding: 4px 9px; font-size: 12px; margin-right: 5px;
  transition: all .12s;
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.mini-btn.danger { color: #a33; }
.mini-btn.danger:hover { background: #fdecea; border-color: #e0a9a2; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 28, 38, .38);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 16px; z-index: 999; overflow: auto;
  animation: fadein .12s ease-out;
}
/* 2026-11-04 修「学籍卡点不动、关不掉、卡死」：
 * 学籍卡（doc.js）关闭是给遮罩加 hidden 属性复用弹窗，
 * 但上面 display:flex 会盖过 [hidden] 的默认 display:none，
 * 结果弹窗看着关了其实整层还在，透明地挡住全部点击。
 * 这里补一条强制规则，hidden 一律真隐藏。 */
.modal-mask[hidden] { display: none !important; }
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }
/* ---------- 强制改密弹层（2026-11-05）----------
 * z-index 要高于文档层（doc-mask 是 1200）：这道门是全屏的，
 * 盖不住文档层就等于没盖住，用户还能从文档层点进去改东西。 */
.pwd-mask { z-index: 9999; align-items: center; background: rgba(16, 22, 32, .82); }
.pwd-modal { max-width: 460px; }
.pwd-modal .modal-head { padding-bottom: 10px; }

/* 强制改密时整个后台要真消失（2026-11-05）。
 * 跟 2026-11-04 那条 .modal-mask[hidden] 是同一个坑：
 * .app 的 display:flex 会盖过 hidden 属性的默认 display:none，
 * 结果 JS 里 $('app').hidden = true 看着没报错，后台却还明晃晃亮着。
 * 改密这道门必须整个盖住 —— 半遮半掩等于没锁。 */
.app[hidden] { display: none !important; }

.modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 620px;
  box-shadow: 0 18px 48px rgba(15, 25, 40, .22); overflow: hidden;
  animation: pop .14s ease-out;
}
@keyframes pop { from { transform: translateY(-6px); opacity: .6 } to { transform: none; opacity: 1 } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 4px; font-size: 15.5px;
}
.modal-x { cursor: pointer; color: var(--ink-3); font-size: 22px; line-height: 1; padding: 0 4px; }
.modal-x:hover { color: var(--ink); }
.modal-sub { padding: 0 20px 12px; color: var(--ink-3); font-size: 12.5px; border-bottom: 1px solid var(--line); }
.modal-body { padding: 16px 20px 6px; }
.flds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.fld { display: flex; flex-direction: column; gap: 5px; }
.fld-wide { grid-column: 1 / -1; }
/* 2026-11-25 校长「工资单做宽一点，做四列，格子做短一点」（F-PC-696）：
 * 声明 cols:4 的动作弹窗整体放宽、字段四列排、格子和字号略收紧。 */
.modal-wide .modal { max-width: 980px; }

/* ---------- F-PC-895 可报考名单弹窗（2026-12-01 校长「界面放大，点学员名字可以查看学员详情」）----------
 * ① 为什么原来没放大：弹窗写的是 <div class="modal modal-wide">，但上面那条 .modal-wide 是
 *    **后代选择器**（要求 .modal-wide 是 .modal 的父级），挂在同一个元素上永远不命中
 *    → 宽度一直吃默认的 620px，六列表格挤成一团。这里给这张名单单开 .ph-modal，
 *    **不复用也不修改 .modal-wide**（另有「考试名单」「分配教练」两个弹窗用它，行为一点不动）。
 * ② 姓名可点：.ph-stu 是行内链接样式，点了打开该学员档案（.doc-mask z-index 1200 浮在本弹窗之上）。 */
.ph-modal { max-width: 1080px; }
.ph-modal .modal-body { padding: 14px 18px 10px; max-height: 68vh; overflow: auto; }
.ph-modal .tbl { font-size: 14px; }
.ph-modal .tbl th { font-size: 13px; padding: 11px 12px; white-space: nowrap; }
.ph-modal .tbl td { padding: 11px 12px; line-height: 1.55; }
.ph-modal .tbl tbody tr:hover { background: #f6f9fc; }
.ph-modal .tbl td:last-child { white-space: normal; min-width: 210px; color: #45536b; }
.ph-stu {
  color: #1668c1; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.ph-stu:hover { color: #0b4a91; }
.ph-stu:focus { outline: 2px solid #9cc4ee; outline-offset: 2px; border-radius: 3px; }

/* ---------- F-PC-898 监管学时汇总「约考安排」列（2026-12-01 校长「教练要看到他的学员
 * 详细的约考时间，比如说考场日期几点到几点考试」）----------
 * 一格三段：科目小标签（灰）＋ 日期时间（加粗，扫表先看这个）＋ 考场（次行小字）。
 * 多科同日都约了会叠行显示；超宽截断但 title 里有整句，鼠标停一下看全。 */
.ph-book { min-width: 168px; max-width: 230px; }
.ph-book-row { display: block; line-height: 1.45; }
.ph-book-row + .ph-book-row { margin-top: 2px; padding-top: 2px; border-top: 1px dashed #e3e9f2; }
.ph-book-sub {
  display: inline-block; margin-right: 5px; padding: 0 5px; border-radius: 3px;
  background: #eef3fa; color: #4a5a72; font-size: 12px; font-weight: 600;
}
.ph-book-when { color: #16233a; font-weight: 700; font-size: 13px; letter-spacing: .2px; }
.ph-book-site { display: block; color: #6b7a92; font-size: 12px; margin-top: 1px; }
@media (max-width: 1280px) {
  /* 小屏不硬撑：宽度吃满，字号回落到 13px，明细列仍留得下 */
  .ph-modal { max-width: 100%; }
  .ph-modal .tbl { font-size: 13px; }
}
.flds.cols4 { grid-template-columns: repeat(4, 1fr); gap: 10px 12px; }
.flds.cols4 .fld-label { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flds.cols4 .fld-in { padding: 6px 8px; font-size: 13px; }
@media (max-width: 1280px) { .flds.cols4 { grid-template-columns: repeat(2, 1fr); } }
/* 2026-11-25 校长「做工资表时显示还有多少借款未还清」：工资弹窗顶部常驻余额条 */
.loan-hint {
  margin: 0 0 12px; padding: 8px 12px; border-radius: 8px;
  background: #fff7e6; border: 1px solid #ffd591; color: #874d00; font-size: 12.5px;
}
.loan-hint b { color: #d4380d; }
.fld-label { font-size: 12.5px; color: var(--ink-2); }
.fld-label .req { color: var(--brand); font-style: normal; margin-left: 3px; }
.fld-in {
  border: 1px solid #d9e0e8; border-radius: 7px; padding: 8px 10px;
  font-size: 13.5px; color: var(--ink); background: #fff; width: 100%;
  transition: border-color .12s, box-shadow .12s;
}
.fld-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(192, 57, 43, .1); }
textarea.fld-in { resize: vertical; line-height: 1.6; }
.fld-switch { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 0; }
.fld-switch input { width: 16px; height: 16px; accent-color: var(--brand); }
/* 找学员候选下拉（2026-11-08）：输入即出候选，点选后锁定 _id。
 * 弹窗是浅色主题，下拉白底深字；[hidden] 必须兜住，否则作者样式会盖掉原生隐藏。 */
.fld-stu { position: relative; }
.stu-in { padding-right: 10px; }
.stu-hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }
.stu-sug {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  margin-top: 3px; max-height: 220px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(27, 36, 48, .16); padding: 4px;
}
.stu-sug[hidden] { display: none !important; }
.stu-sug-i {
  padding: 8px 10px; font-size: 13px; color: var(--ink); cursor: pointer;
  border-radius: 5px; line-height: 1.4; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.stu-sug-i:hover { background: var(--brand-soft); color: var(--brand); }
.stu-sug-more { padding: 6px 10px 8px; font-size: 11.5px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* 非学员页搜索兜底：本页 0 条时给「学员档案」三字段模糊候选（2026-11-08 19:10） */
.stu-quick {
  margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: #fffdf7;
}
.stu-quick[hidden] { display: none !important; }
.stu-quick-h { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; line-height: 1.6; }
.stu-quick-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stu-quick-i {
  font-size: 13px; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer;
}
.stu-quick-i:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.stu-quick-more { font-size: 11.5px; color: var(--ink-3); }
.modal-err { color: var(--brand); font-size: 13px; min-height: 20px; padding: 8px 0 2px; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 12px 20px 18px; border-top: 1px solid var(--line); margin-top: 8px;
}

.toast {
  position: fixed; left: 50%; bottom: 38px; transform: translateX(-50%) translateY(14px);
  background: #1f2937; color: #fff; padding: 11px 20px; border-radius: 8px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 1200;
  box-shadow: 0 10px 26px rgba(15, 25, 40, .25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 窄屏（小于 900px）：侧栏变顶部横条，表单改单列 ----------------
 * 笔记本正常宽度用不到，但用平板/手机临时看一眼时不会挤成一团。 */
@media (max-width: 900px) {
  .app { flex-direction: column; height: 100vh; }
  .sidebar { width: 100%; flex: none; flex-direction: row; align-items: center; overflow: visible; }
  .side-brand { padding: 8px 10px; border-bottom: none; flex: none; }
  .side-brand-txt { display: none; }
  .nav { display: flex; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 6px 8px; gap: 4px; }
  .nav-group { display: none; }
  .nav-item { flex: none; white-space: nowrap; padding: 6px 10px; border-left: none; border-radius: 6px; font-size: 12.5px; }
  .nav-item.active { border-left: none; }
  .side-foot { display: none; }
  .topbar { height: auto; padding: 8px 12px; flex-wrap: wrap; gap: 6px; }
  .view { padding: 12px 12px 30px; }
  .flds { grid-template-columns: 1fr; }
  .modal { max-width: 100%; }
  table { font-size: 12px; }
}

/* 操作列固定在右侧：表格再宽，按钮也不会被横向滚动藏起来 */
.ops-col, .ops-cell {
  position: sticky; right: 0; background: #fff;
  box-shadow: -6px 0 8px -6px rgba(20, 30, 45, .18);
}
thead .ops-col { background: #f8fafc; z-index: 2; }
.modal-warn {
  background: #fdf0ee; border: 1px solid #f3cfc9; color: #96331f;
  border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.6;
  margin-bottom: 14px;
}

/* 行内操作下拉 */
.ops-menu {
  position: fixed; z-index: 1100; min-width: 132px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  box-shadow: 0 10px 28px rgba(15, 25, 40, .18);
}
.ops-item {
  padding: 8px 11px; font-size: 13px; color: var(--ink); border-radius: 6px; cursor: pointer;
  white-space: nowrap;
}
.ops-item:hover { background: #f3f6fa; }
.ops-item.danger { color: #a3311f; }
.ops-item.danger:hover { background: #fdecea; }

/* 行内操作：原生下拉，样式做成按钮样 */
/* F-PC-785（2026-11-29 校长「它后面没有任何的可以操作的地方」）：appearance:none 把
 * 原生三角箭头也去掉了，一格里只剩「操作」两个字，看着像表头文字、不像按钮。
 * 补一个自绘的▼（data URI，纯 ASCII），让它一眼就是个能点的下拉。 */
.ops-select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 6px; padding: 4px 20px 4px 8px; font-size: 12px; cursor: pointer;
  font-family: inherit;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23667080'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center;
}
.ops-select:hover { border-color: var(--brand); color: var(--brand); background-color: var(--brand-soft); }

/* 旧页面提示条（F-PC-785）：后台标签页常开不关时，浏览器不会自动换脚本，
 * 停在旧版上点菜单就会出现「功能明明做了却点不到」。这里挂一条底部提示，
 * 校长自己点一下「立即刷新」即可；不自动刷新，免得冲掉填到一半的表单。 */
.stale-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 14px; font-size: 13px; line-height: 1.5;
  background: #fff8e6; border-top: 1px solid #f0d59a; color: #7a5a10;
  box-shadow: 0 -6px 18px rgba(15, 25, 40, .12);
}
.stale-bar b { color: #7a4b00; }
.stale-bar .stale-txt { flex: 1; min-width: 220px; }
.stale-bar .stale-btn {
  border: 1px solid #d9a838; background: #fff; color: #7a4b00;
  border-radius: 7px; padding: 5px 12px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.stale-bar .stale-btn:hover { background: #d9a838; color: #fff; }

/* ---------- 学员详情（点姓名打开） ---------- */
.name-cell { white-space: nowrap; }
/* 校长 2026-11-07：姓名一律黑色，只有欠费学员整行才用红色（别让所有人都像欠费）。 */
.stu-link {
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px dashed rgba(27, 36, 48, .28); cursor: pointer;
}
.stu-link:hover { color: var(--ink-2); border-bottom-color: var(--ink-2); border-bottom-style: solid; }
/* F-PC-209：名册「练车学时」数字可点击，外观与 .stu-link 一致 */
.hours-link {
  color: var(--brand); text-decoration: none; font-weight: 700;
  border-bottom: 1px dashed rgba(192, 57, 43, .4); cursor: pointer;
}
.hours-link:hover { color: #a8322a; border-bottom-color: #a8322a; border-bottom-style: solid; }

/* 学员名册筛选标签（照驾校通：全部 / 在培 / 各科未过，带实时人数） */
.stu-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 16px 0; }
.stu-tab {
  font-size: 13px; padding: 6px 12px; border-radius: 20px; cursor: pointer;
  background: #f1f4f9; color: var(--ink-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 6px; transition: all .15s;
}
.stu-tab:hover { border-color: var(--brand); color: var(--brand); }
.stu-tab.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.stu-tab-n {
  font-size: 12px; font-weight: 700; min-width: 18px; text-align: center;
  padding: 0 6px; border-radius: 10px; background: rgba(0, 0, 0, .08);
}
.stu-tab.on .stu-tab-n { background: rgba(255, 255, 255, .28); }
.stu-export { margin-left: 4px; }
/* 报销页「待审核/已审核」Tab：复用 .stu-tabs 外观，但在工具栏内取消外边距内缩，与按钮齐平 */
.rb-tabs { padding: 0 0 0 4px; gap: 6px; }
.rb-tabs .stu-tab { padding: 5px 12px; }

/* 标签条排序工具（2026-11-08 校长：顺序按需要可调；所有带 data-tabs 的标签条自动具备）。
 * 平时只多一个浅色「⇅ 顺序」小按钮，进了排序模式才显示左移/右移、按人数、恢复默认。 */
.tab-sort-tools { display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; }
.tab-sort-btn {
  font-size: 12px; padding: 4px 9px; border-radius: 14px; cursor: pointer;
  background: transparent; color: var(--ink-3); border: 1px dashed var(--line); white-space: nowrap;
}
.tab-sort-btn:hover { color: var(--brand); border-color: var(--brand); }
.tab-sort-tools.on .tab-sort-btn { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.tab-tool {
  display: none; font-size: 12px; padding: 4px 9px; border-radius: 14px; cursor: pointer;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap;
}
.tab-sort-tools.on .tab-tool { display: inline-flex; }
.tab-tool:hover { color: var(--brand); border-color: var(--brand); }
.tab-tool-done { color: #fff; background: var(--brand); border-color: var(--brand); }
.tab-tool-done:hover { color: #fff; opacity: .88; }
[data-tabs].sorting { background: rgba(192, 57, 43, .035); border-radius: 10px; }
[data-tabs].sorting button[data-tab] { cursor: move; }
[data-tabs].sorting button[data-tab].tab-drop { outline: 2px dashed var(--brand); outline-offset: 2px; }
.tab-move { display: inline-flex; gap: 2px; margin-left: 4px; }
.tab-move-b {
  width: 17px; height: 17px; line-height: 15px; text-align: center; padding: 0;
  font-size: 13px; font-weight: 700; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .85); color: var(--brand); border: 1px solid var(--line);
}
.tab-move-b:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.modal-wide { width: min(860px, 94vw); max-height: 88vh; }
.modal-wide .modal-body { overflow-y: auto; max-height: calc(88vh - 96px); }

.dt-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dt-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.dt-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.dt-tag {
  font-size: 12px; padding: 2px 8px; border-radius: 20px;
  background: #f1f4f9; color: var(--ink-2); border: 1px solid var(--line);
}
.dt-tag.on { background: #eaf5ec; color: #23703a; border-color: #cfe7d6; }

.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.dt-kv { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #eef1f6; font-size: 13px; }
.dt-k { color: var(--ink-3, #8a94a6); flex: 0 0 84px; }
.dt-v { color: var(--ink); flex: 1; word-break: break-all; }

.dt-sec { margin-top: 16px; }
.dt-h {
  font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px;
  padding-left: 9px; border-left: 3px solid var(--brand); line-height: 1.1;
}
.dt-note { font-weight: 400; font-style: normal; font-size: 12px; color: #9aa4b4; margin-left: 8px; }
.dt-empty { font-size: 12px; color: #9aa4b4; padding: 6px 0 2px 9px; }

.dt-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dt-tbl th {
  text-align: left; font-weight: 600; color: var(--ink-3, #8a94a6);
  padding: 6px 8px; background: #f7f9fc; border-bottom: 1px solid var(--line);
}
.dt-tbl td { padding: 6px 8px; border-bottom: 1px solid #f0f3f8; color: var(--ink); }

.dt-exams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dt-exam {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
  display: flex; flex-direction: column; gap: 3px; background: #fbfcfe;
}
.dt-exam b { font-size: 12px; color: var(--ink-3, #8a94a6); font-weight: 600; }
.dt-exam span { font-size: 13px; color: var(--ink); }
.dt-exam.ok { background: #eef8f1; border-color: #cfe7d6; }
.dt-exam.ok span { color: #23703a; font-weight: 600; }
.dt-exam.bad { background: #fdeeec; border-color: #f3cfc8; }
.dt-exam.bad span { color: #a3311f; font-weight: 600; }

.dt-hours { font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.dt-hours b { font-size: 20px; color: var(--brand); }
.dt-sub { font-size: 12px; color: #8a94a6; margin-top: 2px; }
.dt-money { margin-bottom: 8px; }
.dt-note-line { font-size: 12px; color: #9aa4b4; padding: 4px 0 0 9px; }

.dt-tl { border-left: 2px solid #eef1f6; margin-left: 6px; padding-left: 14px; }
.dt-tl-item { position: relative; padding: 4px 0; font-size: 12.5px; color: var(--ink); }
.dt-tl-item::before {
  content: ''; position: absolute; left: -20px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: #c9d2e0;
}
.dt-tl-d { color: #8a94a6; margin-right: 10px; }

@media (max-width: 700px) {
  .dt-grid { grid-template-columns: 1fr; }
  .dt-exams { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
 * 学员档案弹窗（照驾校通做的六页签版）
 * ============================================================ */
.doc-mask { z-index: 1200; }
/* 2026-11-15：从学员档案弹窗内点「操作」打开的通用表单，必须浮在档案之上。
 * 档案 .doc-mask=1200 > 通用 .modal-mask=999，否则新表单被档案层整层遮住
 * （校长实测「弹出但在当前表单后面」）。1300 只高于档案，仍低于
 * 证书预览 .cert-preview-mask=1400 与强制改密 .pwd-mask=9999，不破坏更高优先级弹层。 */
.modal-mask.modal-above-doc { z-index: 1300; }
.doc-modal {
  /* 2026-11-04：复用了 .modal 类，其 max-width:620px 把下面 width 压死，
   * 弹窗只有 620px 宽，四列格子扣掉 74px 标签后值区只剩 ~30px → 全部竖排。
   * 必须显式覆盖 max-width，宽版才生效。 */
  width: min(1120px, 96vw); max-width: min(1120px, 96vw); height: 90vh; max-height: 90vh; padding: 0;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 12px;
}
.doc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.doc-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.doc-title b { font-size: 16px; color: var(--ink); }
.doc-sub { font-size: 12px; color: #8a94a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 档案页「当前进度」徽标（2026-11-09）：与名册漏斗标签同口径，一眼看到卡在哪一关 */
.doc-stage {
  flex: 0 0 auto; display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap;
  border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand);
}
.doc-stage b { font-weight: 700; }
.doc-stage.doc-stage-pending { border-color: #d97706; background: #fffbeb; color: #b45309; }
.doc-stage.doc-stage-grad { border-color: #059669; background: #ecfdf5; color: #047857; }
/* F-PC-542 离场结案（退学/退款、转出、流失）：红色＝已经离场，不占在学名额 */
.doc-stage.doc-stage-closed { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }
.doc-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.doc-search { position: relative; }
.doc-search input {
  width: 210px; height: 30px; border: 1px solid var(--line); border-radius: 6px;
  padding: 0 10px; font-size: 12.5px; font-family: inherit; outline: none;
}
.doc-search input:focus { border-color: var(--brand); }
.doc-sug {
  position: absolute; top: 34px; right: 0; width: 260px; max-height: 300px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; z-index: 20;
  box-shadow: 0 12px 30px rgba(15, 25, 40, .16);
}
.doc-sug-item {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 11px;
  font-size: 12.5px; cursor: pointer;
}
.doc-sug-item:hover { background: #f3f6fa; }
.doc-sug-item b { color: var(--ink); font-weight: 600; }
.doc-sug-item span { color: #8a94a6; }
.doc-sug-empty { padding: 10px 12px; font-size: 12.5px; color: #9aa4b4; }

.doc-tabs {
  display: flex; gap: 2px; padding: 0 16px; border-bottom: 1px solid var(--line);
  flex: 0 0 auto; background: #fbfcfe;
}
.doc-tab {
  padding: 10px 16px; font-size: 13px; color: var(--ink-2); cursor: pointer;
  border-bottom: 2px solid transparent; user-select: none; white-space: nowrap;
}
.doc-tab:hover { color: var(--brand); }
.doc-tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.doc-body { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px 22px; background: #fff; }

.dc-split { display: flex; gap: 16px; align-items: flex-start; }
.dc-main { flex: 1 1 auto; min-width: 0; }
.dc-side {
  flex: 0 0 268px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  background: #fbfcfe; max-height: calc(90vh - 210px); overflow-y: auto;
}
.dc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dc-bar {
  font-size: 12.5px; font-weight: 700; color: #fff; background: #5b8c5a;
  padding: 5px 12px; border-radius: 4px; margin: 14px 0 8px;
}
.dc-bar:first-child { margin-top: 0; }
.dc-bar.green { background: #4d8b52; }
.dc-bar.blue { background: #3f74b8; }
.dc-bar.plain {
  background: #eef2f8; color: var(--ink); border-left: 3px solid var(--brand);
  border-radius: 0; padding-left: 10px;
}

.dc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
/* 2026-11-04：固定 4 列在窄弹窗里每格不到 140px，扣掉标签后值区竖排。
 * 改自适应列：每格最窄 190px，宽了自动多排几列，窄了自动减列，值区永远够宽。 */
.dc-grid.g4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.dc-grid.g3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.dc-cell { display: flex; gap: 8px; background: #fff; padding: 7px 10px; font-size: 12.5px; min-height: 20px; align-items: baseline; }
.dc-cell.span2 { grid-column: span 2; }
.dc-k { color: #8a94a6; flex: 0 0 auto; white-space: nowrap; }
/* 2026-11-04 修「身份证/手机号竖着一列一个字」：
 * 格子窄 + 长数字无空格，浏览器逐字符硬折行。anywhere 允许折，
 * 但配合下面长号字段占两格（doc.js 里 span2），正常情况下不再折行。 */
.dc-v { overflow-wrap: anywhere; word-break: break-all; }
.dc-v { color: var(--ink); flex: 1; word-break: break-all; }
/* F-PC-872：档案页「微信绑定」状态（已绑定绿、未绑定灰 —— 只是提示，不是告警，
 * 别用红色：没绑定的学员本来就是大多数人，红一片等于没有重点） */
.wx-bind-ok { color: var(--ok); font-weight: 600; }
.wx-bind-no { color: #8b96a5; }
/* 一键复制按钮贴格子右侧（2026-11-04 校长要求姓名/身份证/电话可复制） */
.dc-cell .dc-copy { margin-left: auto; flex: 0 0 auto; white-space: nowrap; }
/* 微信号旁边的「微信」按钮（2026-11-04）：微信绿，和淘宝蓝的复制按钮区分开 */
.btn-wx {
  border: 1px solid #b7e2c0; background: #f0faf2; color: #17803d;
  border-radius: 5px; cursor: pointer; white-space: nowrap; flex: 0 0 auto;
}
.btn-wx:hover { background: #e2f5e7; border-color: #8fd0a0; }

.dc-block { min-width: 0; }
.dc-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dc-tbl th {
  text-align: left; font-weight: 600; color: #8a94a6; background: #f7f9fc;
  padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.dc-tbl td { padding: 6px 8px; border-bottom: 1px solid #f0f3f8; color: var(--ink); }
.dc-tbl td.ok { color: #23703a; font-weight: 600; }
.dc-empty { font-size: 12px; color: #9aa4b4; padding: 8px 2px; }

.dc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 6px; }
.dc-card {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fbfcfe;
  display: flex; flex-direction: column; gap: 4px;
}
.dc-card span { font-size: 12px; color: #8a94a6; }
.dc-card b { font-size: 18px; color: var(--ink); }
.dc-card b.ok { color: #23703a; }
.dc-card b.bad { color: #a3311f; }
/* 小字补充说明（例：合同金额后面跟「原 ¥4380」） */
.dc-sub { display: block; font-size: 11px; font-weight: 400; color: #8a94a6; margin-top: 2px; }

.dc-hours { font-size: 13px; color: var(--ink); }
.dc-hours b { font-size: 19px; color: var(--brand); }

.dc-follow { display: flex; flex-direction: column; gap: 8px; }
.dc-fl-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; background: #fbfcfe; }
.dc-fl-head { display: flex; justify-content: space-between; font-size: 12px; color: #8a94a6; margin-bottom: 4px; }
.dc-fl-head b { color: var(--ink-2); font-weight: 600; }
.dc-fl-text { font-size: 13px; color: var(--ink); white-space: pre-wrap; }

.dc-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dc-doc { border: 1px dashed var(--line); border-radius: 8px; padding: 12px; background: #fbfcfe; }
.dc-doc-n { font-size: 12px; color: #8a94a6; margin-bottom: 6px; }
.dc-doc-l { font-size: 13px; color: var(--brand); text-decoration: none; }
.dc-doc-e { font-size: 13px; color: #b6bfcc; }

.dc-tl { position: relative; padding-left: 16px; }
.dc-tl::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: #e7ecf3; }
.dc-tl-item { position: relative; padding: 5px 0 9px; }
.dc-tl-dot {
  position: absolute; left: -16px; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: #7ea8d8; border: 2px solid #fff;
}
.dc-tl-t { font-size: 12.5px; color: var(--ink); }
.dc-tl-s { font-size: 11.5px; color: #9aa4b4; margin-top: 2px; }

/* ---- 报考资格一行结论（2026-11-03） ---- */
.qual-line {
  padding: 9px 12px; border-radius: 8px; font-size: 13px; margin: 6px 0 10px;
}
.qual-line.ok { background: #e9f6ee; color: #1f6b3a; }
.qual-line.no { background: #fdf2e9; color: #8a4b12; }
.qual-line b { font-size: 14.5px; }

/* ---- 学员反馈提醒带（2026-11-03） ---- */
.fb-bar { padding: 0 16px; }
.fb-bar-in {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff8ef; border: 1px solid #f0d3b0; color: #8a4b12;
  border-radius: 8px; padding: 7px 12px; margin: 10px 0 0; font-size: 12.5px;
}
.fb-bar-n { font-size: 15px; color: #a3311f; }
.fb-bar-t { font-weight: 600; }
.fb-bar-list { display: flex; gap: 6px; flex-wrap: wrap; }
.fb-chip {
  background: #fff; border: 1px solid #f0d3b0; border-radius: 99px;
  padding: 2px 10px; color: #8a4b12; text-decoration: none; font-size: 12px;
}
.fb-chip:hover { background: #fdeede; }
.fb-bar-more { color: #a9784a; }
.fb-bar-x { margin-left: auto; }

/* ---- 跟进反馈两条线（2026-11-03）：学员反馈 vs 内部跟进 ---- */
.dc-fl-item.is-open { border-color: #f0c9a8; background: #fffaf4; }
.dc-tag { font-size: 11px; padding: 1px 7px; border-radius: 99px; margin-left: 8px; }
.dc-tag.warn { background: #fdeede; color: #a35a1c; }
.dc-tag.ok { background: #e6f4ea; color: #23703a; }
.dc-fl-reply {
  margin-top: 6px; padding: 6px 9px; background: #f2f6fb; border-radius: 6px;
  font-size: 12.5px; color: var(--ink-2); white-space: pre-wrap;
}
.dc-fl-by { display: block; font-size: 11.5px; color: #9aa4b4; margin-top: 3px; }
.dc-fb-reply, .dc-fu-add { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.dc-fb-reply textarea, .dc-fu-add textarea { flex: 1; }
.dc-in {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; font-size: 13px; font-family: inherit; color: var(--ink);
  background: #fff; resize: vertical;
}
.dc-in:focus { outline: none; border-color: var(--brand); }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.btn-xs { padding: 2px 9px; font-size: 12px; }

/* ---- 学时抓取面板（监管平台，2026-11-03） ---- */
.gov-box {
  border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe;
  padding: 4px 12px; margin: 8px 0;
}
.gov-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eef1f6; font-size: 13px; }
.gov-row:last-child { border-bottom: none; }
.gov-k { width: 76px; flex: none; color: #8a94a6; font-size: 12px; }
.gov-v { flex: 1; color: var(--ink); word-break: break-all; }
.gov-pwd { color: #a3311f; letter-spacing: 1px; }
.gov-ops { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
/* 建档费录入表单（2026-11-10 新增「建档费日期」后）：原来 .mg-form 没有任何布局规则，
   三个 .fld 各占一行且输入框塌成窄条，提交按钮与提示语被挤到折叠线以下。
   改成一行横排 + 提示语独占下一行，员工打开档案就能直接看到并自己填日期。 */
.gov-ops .mg-form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px 12px; align-items: end; width: 100%;
}
.gov-ops .mg-form .fld { min-width: 0; }
.gov-ops .mg-form .mg-submit { align-self: end; height: 36px; white-space: nowrap; }
.gov-ops .mg-form .mg-err { grid-column: 1 / -1; }
.gov-ops > .dc-note-line { flex: 0 0 100%; }
@media (max-width: 1000px) {
  .gov-ops .mg-form { grid-template-columns: 1fr 1fr; }
}
.gov-msg { color: var(--brand); }
.gov-paste { margin: 6px 0; font-family: Consolas, monospace; }

@media (max-width: 1000px) {
  .dc-split { flex-direction: column; }
  .dc-side { flex: 1 1 auto; width: 100%; max-height: none; }
  .dc-2col { grid-template-columns: 1fr; }
  .dc-grid.g4 { grid-template-columns: 1fr 1fr; }
  .dc-cards { grid-template-columns: 1fr 1fr; }
  .dc-docs { grid-template-columns: 1fr 1fr; }
}

/* ---------- 名册筛选条 / 欠费标红 / 表单按钮 ---------- */
.flt-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 0 0 10px;
}
.flt {
  height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink-2); font-size: 12.5px; padding: 0 8px; font-family: inherit;
}
.flt:focus { border-color: var(--brand); }
.flt-clear { height: 30px; }
tr.row-owe td { background: #fdeeec; color: #c0392b; }
tr.row-owe:hover td { background: #fbe4e1; color: #c0392b; }
/* 整行红色要连姓名链接一起变，别留一个黑名字在红行里 */
tr.row-owe td a.stu-link { color: #c0392b; border-bottom-color: rgba(192, 57, 43, .45); }
tr.row-owe td a.stu-link:hover { color: #a3311f; }
.fld-btn { height: 32px; }
.fld-note { font-size: 12px; color: #9aa4b4; margin-left: 10px; }
/* 2026-11-14 F-PC-190：字段级常驻说明（退学/退款的财务联动与学籍口径）独占一行、
 * 提高对比度；关键口径不能只藏在 placeholder 里，员工一输字就看不见了。 */
.fld > .fld-note { display: block; margin: 6px 0 0; line-height: 1.6; color: #5b6b7f; }

/* ---------- 学时管理 ---------- */
.hours-tip { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.hours-tip code { background: #f1f4f9; padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.hours-tip .btn { margin-left: 10px; height: 30px; }
.hi-file-row { margin-top: 8px; }
#hi-text { width: 100%; font-size: 12px; font-family: Consolas, monospace; }

/* ---------- 分车 / 约课 ---------- */
.assign-modal { width: min(720px, 94vw); }
.dc-warn-line {
  font-size: 12.5px; color: #a3311f; background: #fdeeec; border: 1px solid #f3cfc8;
  border-radius: 6px; padding: 6px 10px; margin-bottom: 10px;
}
.assign-tbl td { vertical-align: middle; }
.assign-cur { font-size: 13px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.assign-sel { width: 100%; max-width: 320px; height: 30px; }
.assign-revoke { color: #a3311f; font-size: 12.5px; margin-right: 8px; text-decoration: none; }
.assign-ok { height: 30px; padding: 0 14px; }
.assign-tbl th { white-space: nowrap; }

/* ---------- 招生提成规则表（2026-11-03 校长口径：按人头，金额按时间段×班别可调） ---------- */
.cr-tbl { width: 100%; }
.cr-tbl td { vertical-align: middle; }
.cr-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.cr-tbl .num b { font-size: 14px; color: var(--ink); }
.btn-mini {
  height: 26px; padding: 0 10px; margin-right: 6px; border: 1px solid var(--line);
  background: #fff; border-radius: 6px; color: var(--ink-2); font-size: 12.5px;
  font-family: inherit; cursor: pointer;
}
.btn-mini:hover { border-color: var(--brand); color: var(--brand); }
.btn-mini.danger:hover { border-color: #d64541; color: #d64541; }
.tag {
  display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11.5px;
  background: #eef1f5; color: var(--ink-2);
}
.tag.on { background: #e8f5ec; color: #1f7a45; }
.tag.off { background: #f2f3f5; color: #8d99a8; }

/* 登录页：30 天免登录勾选 + 上次账号快捷（2026-11-03 登录方式多选） */
.login-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin: 10px 0 2px;
  cursor: pointer;
  user-select: none;
}
.login-remember input { accent-color: #2b6de5; }
.login-last {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
}
.login-last a {
  color: #2b6de5;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 学员卡片视图（2026-11-03，借鉴驾校通学员列表） ---------- */
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-left: 10px;
}
.view-toggle .vt {
  border: none;
  background: #fff;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  cursor: pointer;
}
.view-toggle .vt.on { background: var(--brand, #2b6de5); color: #fff; }

/* ---------- 科一科四模拟：科目 / 查看范围切换条（2026-11-08） ---------- */
.qz-bar {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; margin-bottom: 12px;
}
.qz-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qz-line2 { margin-top: 10px; }
.qz-title { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.qz-toggle { margin-left: 0; }
.qz-toggle .vt { padding: 6px 16px; font-size: 13px; }
.qz-now { font-size: 12.5px; color: var(--ink-3); }
.qz-now b { color: var(--brand, #2b6de5); }
.qz-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.qz-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 4px 12px; font-size: 12.5px; color: var(--ink-3);
  cursor: pointer; font-family: inherit;
}
.qz-chip.on { background: var(--brand, #2b6de5); border-color: var(--brand, #2b6de5); color: #fff; }
.qz-chip:hover:not(.on) { border-color: var(--brand, #2b6de5); color: var(--brand, #2b6de5); }

/* 第 3 次踩同一个坑（前两次见 .modal-mask[hidden] / .app[hidden]）：
 * .stu-cards 的 display:grid 会盖过 hidden 属性自带的 display:none，
 * 于是「表格」模式下卡片也一直挂在下面 —— 2026-11-06 校长反馈「搜索学员出来的是卡片」。
 * 两个视图容器都强制兜住，JS 里 tblHost/cardsHost.hidden 才算真的生效。 */
.stu-cards[hidden], .tbl-wrap[hidden] { display: none !important; }
.stu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
  padding: 4px 0 12px;
}
.stu-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.stu-card.owe { border-color: #f3b6b6; background: #fffafa; color: #c0392b; }
.stu-card.owe .sc-name { color: #c0392b; }
.stu-card.owe .sc-name:hover { color: #a3311f; }
.sc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex: none;
}
.sc-avatar.male { background: #4a89dc; }
.sc-avatar.female { background: #e77c9e; }
.sc-avatar.unk { background: #9aa3af; }
.sc-name { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.sc-name:hover { color: var(--brand, #2b6de5); }
.sc-gender { font-size: 14px; }
.sc-gender.male { color: #4a89dc; }
.sc-gender.female { color: #e77c9e; }
.sc-flex { flex: 1; }
.stu-call {
  width: 32px; height: 32px; border-radius: 50%;
  background: #22b86b; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; flex: none;
}
.stu-call:hover { background: #1ba15c; }
.sc-wecom {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: #f1f3f5; color: #98a1ab; border: 1px solid var(--line);
}
.sc-wecom.on { background: #e6f7ee; color: #1a9e5c; border-color: #bfe8d2; }
.sc-rows {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  margin-top: 8px; font-size: 12.5px; color: var(--ink-3);
}
.sc-owe { color: #d64541; font-weight: 600; }
.sc-exams { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.sc-chip {
  font-size: 11.5px; padding: 2px 9px; border-radius: 10px;
  background: #f1f3f5; color: #98a1ab;
}
.sc-chip.ok { background: #e6f7ee; color: #1a9e5c; font-weight: 600; }
.sc-chip.bad { background: #fdecec; color: #d64541; }

/* 表格视图彩色四科进度 ①②③④（2026-11-18「一眼看全」）：绿=合格 红=不合格 灰=未考。
 * hover title 显示科目/状态/日期/第几次，数据全来自真实字段、不编造。 */
.ex-dots { display: inline-flex; gap: 4px; white-space: nowrap; }
.ex-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 13px; font-weight: 700; line-height: 1;
  background: #eef0f2; color: #a4acb4; border: 1px solid #e2e6ea;
}
.ex-dot.ok  { background: #e6f7ee; color: #1a9e5c; border-color: #bfe9d0; }
.ex-dot.bad { background: #fdecec; color: #d64541; border-color: #f4c9c7; }
td.cell-exam4 { white-space: nowrap; }
.cell-sub.ex-last-date { color: #64748b; font-weight: 400; margin-left: 4px; }

/* 学员电话弹层 */
.stu-call-modal { width: 320px; }
.stu-call-name { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.stu-call-num { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.stu-call-ops { display: flex; gap: 10px; margin-top: 16px; }
.stu-call-btn {
  flex: 1; text-align: center; padding: 9px 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 14px; cursor: pointer; text-decoration: none;
  color: var(--ink);
}
.stu-call-btn.primary { background: #22b86b; border-color: #22b86b; color: #fff; font-weight: 700; }
.stu-call-btn.primary:hover { background: #1ba15c; }

/* ============ PC 微信扫码登录（2026-11-05：扫码为主，6 位码降级成备用） ============ */
.login-wx {
  background: #F3FAF5;
  border: 1px solid #CFE9DA;
  border-radius: 10px;
  padding: 14px 16px 12px;
  margin-bottom: 14px;
}
.wx-title { font-size: 13px; font-weight: 600; color: #1B7A45; margin-bottom: 8px; }
/* 二维码主体：白底卡片，手机屏幕上一眼能扫 */
.wx-qr-box {
  background: #fff; border: 1px solid #E2EFE8; border-radius: 10px;
  padding: 12px; text-align: center; margin-bottom: 8px;
}
.wx-qr {
  display: block; width: 190px; height: 190px; margin: 0 auto;
  image-rendering: pixelated; border-radius: 6px;
}
.wx-qr[hidden] { display: none !important; }
.wx-qr-ph {
  font-size: 12.5px; color: #8AA396; padding: 60px 0; line-height: 1.8;
}
.wx-qr-ph[hidden] { display: none !important; }
.wx-count { font-size: 12px; color: #6B8F7C; text-align: center; margin: 4px 0 10px; }
.wx-steps {
  font-size: 12.5px; line-height: 1.9; color: #2F5D46;
  background: #fff; border-radius: 8px; padding: 8px 12px;
}
.wx-steps[hidden] { display: none !important; }
/* 备用 6 位码：二维码那一坨下面一行，小字，不抢主入口的风头 */
.wx-alt {
  margin-top: 10px; font-size: 12px; color: #6B8F7C; line-height: 1.8;
}
/* F-FAIL-16 同坑：display 规则会盖过 hidden 属性，hidden 了还显示。
 * 每个用 JS 显隐的元素都要配一条 [hidden] 强制规则。 */
.wx-alt[hidden] { display: none !important; }
/* 6 位码当主路径时的显眼面板（2026-11-05 校长定：手输码先用，扫码后补）。
 * 二维码出不来时，这个面板顶上来，替代二维码区 ——
 * 不能让员工在"备用"小字里找那串数字，那等于把主入口藏起来。 */
.wx-codeonly {
  background: #fff; border: 2px solid #1B7A45; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px; text-align: center;
}
.wx-codeonly[hidden] { display: none !important; }
.wx-codeonly-label { font-size: 12.5px; color: #2F5D46; margin-bottom: 6px; }
.wx-codeonly-code {
  font-size: 34px; font-weight: 700; letter-spacing: 8px; color: #14532D;
  font-variant-numeric: tabular-nums; user-select: all; line-height: 1.25;
  margin-bottom: 8px;
}
.wx-codeonly-steps {
  font-size: 12.5px; color: #2F5D46; line-height: 1.9; text-align: left;
  background: #F3FAF5; border-radius: 8px; padding: 8px 12px;
}
.wx-alt-label { color: #2F5D46; }
.wx-alt-code {
  font-size: 20px; font-weight: 700; letter-spacing: 4px; color: #14532D;
  font-variant-numeric: tabular-nums; user-select: all; margin: 0 4px;
}
.wx-alt-tip { color: #9BB3A6; }
.wx-msg { font-size: 12.5px; color: #B4483C; margin-top: 8px; min-height: 16px; }
.wx-divider {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; font-size: 12px; color: #8AA396;
}
.wx-divider::before, .wx-divider::after {
  content: ""; flex: 1; height: 1px; background: #D8E8DF;
}

/* ---------- 考前管理：空态说明 + 更显眼的「导入考试记录」入口（2026-11-05） ---------- */
.preexam-empty { padding: 2px 2px 6px; }
.preexam-empty h3 { font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.preexam-empty p { font-size: 13px; color: var(--ink-2); line-height: 1.9; margin: 0 0 4px; }
.preexam-empty b { color: var(--ink); }
.preexam-empty .pe-ops { margin-top: 16px; }
/* 比普通按钮更醒目：主色实心、加大字号，空白页里一眼能找到该点哪 */
.exam-import-hero {
  display: inline-block; border: 0; border-radius: 8px; background: var(--brand);
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .5px;
  padding: 10px 22px; cursor: pointer;
}
.exam-import-hero:hover { opacity: .9; }
/* 说明条里那颗按钮跟在文字后面，留点间距并对齐 */
.hours-tip .exam-import-hero { margin-left: 10px; vertical-align: middle; }

/* 考试提醒（F-PC-985 2026-12-04）：2×2 分栏——上排 科一|科四、下排 科二|科三。
 * 每科标题独占一行且横向两两对齐；卡片在格内按日期从上到下、撑满列宽。 */
.rem-bar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px; margin-top: 12px; align-items: start;
}
.rem-cell { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rem-sub-label {
  display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; color: #fff;
  background: #2e9e5b; border-radius: 8px; padding: 5px 14px;
  letter-spacing: 1px;
}
.rem-col-empty { color: var(--ink-3, #8492a6); font-size: 12.5px; padding: 10px 4px; }
.rem-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; padding: 9px 14px; border-radius: 10px;
  background: #f1f4f9; border: 1px solid var(--line); color: var(--ink-2);
}
.rem-cell .rem-chip { display: flex; width: 100%; box-sizing: border-box; }
.rem-cell .rem-chip b { white-space: nowrap; }
.rem-cell .rem-chip .rem-n, .rem-cell .rem-chip .btn-ghost { margin-left: auto; }
.rem-cell .rem-chip .rem-n { margin-right: 4px; }
@media (max-width: 900px) { .rem-bar { grid-template-columns: 1fr; } }
.rem-chip b { color: var(--ink); font-weight: 600; }
.rem-n { font-size: 12px; color: var(--ink-2); }
.rem-chip .btn-ghost { margin-left: 4px; height: 28px; padding: 2px 12px; font-size: 12.5px; flex-shrink: 0; }
/* 考试提醒里「人数」做成可点按钮（2026-11-09 点人数看名单）：圆角胶囊、品牌红描边、hover 微变 */
.rem-n.rem-roster {
  margin-left: 4px; padding: 2px 12px; border-radius: 999px;
  border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 600; cursor: pointer; flex-shrink: 0;
  transition: filter .12s ease;
}
.rem-n.rem-roster:hover { filter: brightness(.96); }
/* 考试名单弹窗表格 */
.roster-tbl { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; }
.roster-tbl th, .roster-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.roster-tbl th { background: #f8fafc; color: var(--ink-2); font-weight: 600; }
.roster-tbl .roster-entry { height: 28px; padding: 2px 14px; font-size: 12.5px; }
.roster-tbl .stu-link { color: var(--brand); }
/* 2026-11-10：状态列拆成「考试结果 / 约考状态」两行。
 * 原来只显示 examStateText，预约行恒为「未考」，把「已约考待考 / 未考试」全盖住，
 * 校长导入完点开科目四那组就以为成绩没导进去。 */
.roster-state-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; line-height: 1.6; }
.roster-state-line > span { color: var(--ink-3); font-size: 12px; flex-shrink: 0; }
/* 值太长（如「已约考待考 · 未考试」）时整块换到下一行，别把标签和值挤成三行乱对齐 */
.roster-state-line .roster-state-val { color: var(--ink); font-size: 12.5px; }
.roster-state-line .roster-res { font-weight: 700; }
.roster-res-ok { color: #0f8a4a; }
.roster-res-bad { color: var(--brand); }
/* 弹窗表格用固定布局：考场 / 场次的长文本自动换行，
 * 否则像「深圳水头考场 第三场11:00至12:00」会把「录入成绩」挤出弹窗、出现横向滚动条。
 * 只作用于弹窗内的名单表，考前管理主表格（8 列）不受影响。 */
.modal-mask .roster-tbl { table-layout: fixed; }
.modal-mask .roster-tbl th:nth-child(1) { width: 12%; }
.modal-mask .roster-tbl th:nth-child(2) { width: 20%; }
.modal-mask .roster-tbl th:nth-child(3) { width: 24%; }
.modal-mask .roster-tbl th:nth-child(4) { width: 26%; }
.modal-mask .roster-tbl th:nth-child(5) { width: 18%; }
.modal-mask .roster-tbl .roster-entry { white-space: nowrap; }
/* 全局 tbody td 是 nowrap + 240px + 省略号，会把手机号和考场截成「18316866...」。
 * 名单弹窗里放开：长考场名折行完整显示，手机号单独保持不折行。 */
.modal-mask .roster-tbl td {
  white-space: normal; max-width: none; overflow: visible;
  text-overflow: clip; overflow-wrap: anywhere;
}
.modal-mask .roster-tbl td:nth-child(2) { white-space: nowrap; }
/* 分组条上标出「这場已经出成绩」，同日两科一眼找到该点哪一组 */
.rem-tag-ok {
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #e7f6ee; color: #0f8a4a; border: 1px solid #b7e4cd; flex-shrink: 0;
}

/* ============ 考试记录与学员进度查询（2026-11-09） ============ */
.eq-head { margin-bottom: 10px; }
.eq-head b { font-size: 15px; color: var(--ink); }
.eq-sub { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.7; }
.eq-tabs { display: flex; gap: 8px; margin: 12px 0 10px; flex-wrap: wrap; }
.eq-tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 8px; padding: 7px 16px; font-size: 13px; cursor: pointer;
  transition: all .12s ease;
}
.eq-tab:hover { border-color: var(--brand); color: var(--brand); }
.eq-tab.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.eq-flt { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.eq-flt-grp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.eq-date { width: 150px; }
.eq-sel { min-width: 120px; }
.eq-hint { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.eq-scroll { max-height: 440px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.eq-scroll .roster-tbl { margin-top: 0; }
.eq-scroll .roster-tbl th { position: sticky; top: 0; z-index: 1; }
.eq-count { font-size: 12px; color: var(--ink-3); padding: 8px 2px 2px; }

/* ============ 考试查询：确认动作 / 结果展开 / 空态诊断（2026-11-09） ============ */
.eq-runbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 12px; }
.eq-run {
  min-width: 108px; height: 34px; padding: 0 20px; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.eq-run:hover { opacity: .9; }
.eq-run-dirty { box-shadow: 0 0 0 3px rgba(214, 69, 65, .2); }
.eq-reset { height: 34px; }
.eq-runstate { font-size: 12px; color: var(--ink-3); }
.eq-dirty { color: #c2620a; }
.eq-ok { color: var(--ok); }
.eq-result-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 12px; margin: 4px 0 10px; border: 1px solid #d9e6f5; border-radius: 8px;
  background: #f4f8fd; font-size: 13px; color: var(--ink-2);
}
.eq-result-head b { color: var(--brand); }
.eq-result-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.eq-result-cond { flex: 1; min-width: 220px; }
.eq-result-time { font-size: 12px; color: var(--ink-3); }
.eq-expand { height: 28px; }
.eq-scroll.expanded { max-height: none; }
.eq-wait {
  padding: 20px; text-align: center; font-size: 13px; color: var(--ink-3);
  border: 1px dashed var(--line); border-radius: 8px;
}
.eq-empty-box { border: 1px dashed #d6dce4; border-radius: 10px; padding: 18px 20px; background: #fbfcfd; }
.eq-empty-t { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.eq-empty-d { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.eq-empty-d b { color: var(--brand); }
.eq-empty-dist { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 14px; line-height: 1.9; }
.eq-showall {
  height: 34px; padding: 0 18px; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 13px; cursor: pointer;
}
.eq-showall:hover { opacity: .9; }

/* ============ 官方入口 / 奖状与荣誉（2026-11-07） ============ */
.gov-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin: 16px 0 4px; }
.gov-hero-card { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; background: #fff; padding: 16px 18px; }
.gov-hero-t { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.gov-hero-d { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; min-height: 44px; }
.gov-hero-u { font-size: 12px; color: var(--ink-3); word-break: break-all; margin: 10px 0; padding: 8px 10px; background: var(--bg); border-radius: 6px; }
.gov-hero-b { display: flex; gap: 8px; flex-wrap: wrap; }
.sec-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 18px 0 10px; }
.gov-step { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 14px 16px; margin-bottom: 10px; }
.gov-step-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gov-step-b { flex: 1; min-width: 0; }
.gov-step-t { font-size: 14px; font-weight: 600; color: var(--ink); }
.gov-step-t span { font-weight: 400; color: var(--ink-2); font-size: 12.5px; }
.gov-step-d { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.gov-step-u { font-size: 11.5px; color: var(--ink-3); word-break: break-all; margin-top: 4px; }
.gov-step-a { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cert-ops { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cert-sub { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: 12.5px; font-family: inherit; }
/* 证书预览浮层：下载被浏览器拦住时，至少图是看得见、存得下的 */
.cert-preview-mask { position: fixed; inset: 0; z-index: 1400; background: rgba(15, 23, 32, .62); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cert-preview-box { width: min(640px, 94vw); max-height: 94vh; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.cert-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cert-preview-body { flex: 1; min-height: 0; overflow: auto; background: var(--bg); padding: 16px; text-align: center; }
.cert-preview-body img { max-width: 100%; width: 470px; box-shadow: 0 4px 18px rgba(0,0,0,.16); }
.cert-preview-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
/* 证书落款日期（2026-11-08）：列表批量条 + 预览浮层内单张可改 */
.cert-date-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(193,154,69,.06); }
.cert-date-bar b, .cert-preview-date b { color: var(--text, #3b3024); white-space: nowrap; }
.cert-date-bar label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; }
.cert-date-bar input[type="date"], .cert-preview-date input[type="date"] { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: 12.5px; font-family: inherit; background: #fff; color: inherit; }
.cert-preview-date { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--line); background: rgba(193,154,69,.07); }
.cert-preview-date .cd-sub { flex: 1 1 220px; font-size: 12px; }

/* 一页式「分配教练 / 换教练」（2026-11-08）：搜人 → 看当前教练 → 选新教练保存 */
.cs-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.cs-search { position: relative; flex: 1 1 320px; }
.cs-search > input { width: 100%; box-sizing: border-box; }
.cs-sugg { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; max-height: 280px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.cs-sugg[hidden] { display: none !important; }
.cs-pick { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 9px 12px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; font-size: 12.5px; }
.cs-pick:hover { background: rgba(193,154,69,.10); }
.cs-pick span { color: var(--ink-3); font-size: 11.5px; }
/* 统计条改成独占一行：原来跟搜索框/下拉挤同一行，6 段数字贴着右边缘，
   看着像被截断（2026-11-10 真浏览器截图人工过目发现）。 */
.cs-count { font-size: 12.5px; color: var(--ink-3); flex: 1 1 100%; line-height: 1.7; }
.cs-tbl th, .cs-tbl td { padding: 9px 10px; white-space: nowrap; }
.cs-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(46,125,79,.10); color: #1f6b45; font-size: 12px; font-weight: 500; }
.cs-badge.cs-none { background: rgba(120,120,120,.10); color: var(--ink-3); font-weight: 400; }
.cs-tip { padding: 8px 2px; color: var(--ink-3); font-size: 12px; }
.cs-modal { width: min(560px, 94vw); }
.cs-now { padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 13px; }
.cs-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.cs-row > label { flex: 0 0 130px; font-size: 13px; }
.cs-row > .flt { flex: 1 1 auto; min-width: 0; }
.cs-hist { margin: 14px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 12px; }
.cs-hist > b { display: block; margin-bottom: 6px; }
.cs-hist-line { padding: 4px 0; color: var(--ink-3); }
.cs-hist-line span { display: inline-block; min-width: 120px; }
/* 说明单独成块、与历史拉开距离：第一版它紧贴历史行还被虚线穿过，看着像重叠 */
.cs-note { margin: 12px 0 2px; padding: 9px 11px; border-left: 3px solid var(--brand); border-radius: 0 6px 6px 0; background: rgba(193,154,69,.08); color: var(--ink-3); font-size: 12px; line-height: 1.7; }
/* 2026-11-10 名单口径：统计条强调「需分配」，已结业学员的搜索候选与浮层明确标注 */
.cs-count b { color: var(--ink); font-weight: 700; }
.cs-warn { margin: 0 0 12px; padding: 9px 11px; border-left: 3px solid #b45309; border-radius: 0 6px 6px 0; background: rgba(180,83,9,.08); color: #8a4b08; font-size: 12px; line-height: 1.7; }
.cs-pick-tag { padding: 1px 7px; border-radius: 999px; background: rgba(120,120,120,.12); color: var(--ink-3); font-size: 11px; }
.cs-err { min-height: 18px; margin-top: 6px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); }

/* ===== 2026-11-09 学时管理 + 报考资格明确判断（校长 18:40 三条口径） ===== */
.cell-hours-na { color: var(--ink-3); }
.cell-hours-tag { color: #1a7f4b; font-weight: 600; }
.cell-can-exam { color: #c0392b; font-weight: 600; }
.qual-judge { margin: 10px 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qual-judge-head { padding: 10px 14px; background: #eef6ff; font-size: 14px; font-weight: 700; }
.qual-judge-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); }
.qual-judge-row.yes { background: #f2fbf6; }
.qual-judge-row.no { background: #fff8f6; }
.qual-judge-tag { flex: 0 0 150px; font-weight: 700; }
.qual-judge-row.yes .qual-judge-tag { color: #1a7f4b; }
.qual-judge-row.no .qual-judge-tag { color: #c0392b; }
.qual-judge-main { flex: 1 1 auto; min-width: 0; }
.qual-judge-basis { margin-top: 3px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }
.qual-judge-note { padding: 8px 14px; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.dc-tbl .shared-yes { color: #1a7f4b; font-weight: 600; }
.dc-tbl .shared-no { color: #c0392b; font-weight: 600; }
/* 2026-11-25 F-PC-711：监管学时明细改为只显示每科最新一条，★/○ 分类标注下线；
   hours-old 仍用于日期列「导入日」灰字；hours-warn 保留给其他告警位 */
.dc-tbl .hours-old { color: var(--ink-3); white-space: nowrap; }
.dc-tbl .hours-old small { font-size: 10.5px; opacity: .8; }
.hours-warn { color: #c0392b; font-weight: 600; }

/* ===== 考试统计（2026-11-09）：时间筛选 + 点人数看名单 ===== */
.es-flt { margin-bottom: 14px; }
.es-num { color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(192,57,43,.35); text-underline-offset: 3px; }
.es-num:hover { color: #a3311f; text-decoration-color: var(--brand); }
.es-num-fail { color: var(--ink-2); text-decoration-color: rgba(90,102,115,.4); }
.es-num-fail:hover { color: var(--ink); }
.es-tbl td a.es-num { display: inline-block; min-width: 2.2em; text-align: center; }
.es-rq { width: 320px; max-width: 100%; margin: 4px 0 10px; }
.es-rhead { margin-bottom: 4px; }
.es-flt .eq-flt-grp { white-space: nowrap; }

/* ============ 财务页合计条（2026-11-09 校长：搜学员后要看合计金额） ============ */
.fin-sum {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin: 10px 0 2px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 8px;
}
.fin-sum .fs-main { font-size: 13.5px; color: var(--ink-2); }
.fin-sum .fs-main b { font-size: 16px; color: var(--brand); margin-left: 4px; }
.fin-sum .fs-cnt { font-size: 12.5px; color: var(--ink-3); margin-left: 10px; }
.fin-sum .fs-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.fin-sum .fs-cat b { color: var(--ink); font-weight: 600; }
.fin-sum .fs-n { color: var(--ink-3); margin-left: 3px; }

/* 支出流水分期统计条（2026-11-14）：合计 + 按日/月/年 切换，外观与 fin-sum 对齐 */
.gen-sum {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin: 10px 0 2px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 8px;
}
.gen-sum .gs-main { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gen-sum .gs-main b { font-size: 16px; color: var(--brand); margin-left: 4px; }
.gen-sum .gs-modes { display: inline-flex; gap: 4px; margin-right: 12px; }
.gen-sum .gs-mode { border: 1px solid var(--line, #ccd3e0); background: #fff; border-radius: 6px; padding: 3px 10px; font-size: 13px; color: #444; cursor: pointer; }
.gen-sum .gs-mode:hover { border-color: #1a5fc1; color: #1a5fc1; }
.gen-sum .gs-mode.on { background: #1a5fc1; border-color: #1a5fc1; color: #fff; }
.gen-sum .fs-cnt { font-size: 12.5px; color: var(--ink-3); margin-left: 10px; }
.gen-sum .fs-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); width: 100%; margin-top: 2px; }
.gen-sum .gs-grp b { color: var(--ink); font-weight: 600; }
.gen-sum .gs-grp .fs-n { color: var(--ink-3); margin-left: 3px; }
/* 通用筛选条里的快捷日期按钮组（今天/本月/今年/全部） */
.gen-flt .gf-q-wrap { margin-left: 6px; display: inline-flex; gap: 4px; }

/* 红冲标记（2026-11-09 摩托车 800 冲正后首次出现）：原行划掉、配对负数行标「红冲」 */
.cell-rev .rev-amt { text-decoration: line-through; text-decoration-color: rgba(138,149,163,.75); color: var(--ink-3); }
.cell-rev .rev-tag {
  display: inline-block; margin-left: 6px; padding: 0 5px;
  font-size: 11px; line-height: 16px; border-radius: 4px;
  background: #f1f3f6; color: var(--ink-3); text-decoration: none; vertical-align: 1px;
}
.fin-sum .fs-rev { font-size: 12px; color: var(--ink-3); margin-left: 10px; }

/* F-PC-766 已发放金额标注（2026-11-28 校长「所有已发放的金额标注已发放，防误操作」）：
 * 支出流水里已发放的工资行金额后挂绿色「已发放」标签，与红冲行的灰色标记区分。 */
.cell-paid .paid-amt { color: var(--ink); }
.cell-paid .paid-tag {
  display: inline-block; margin-left: 6px; padding: 0 6px;
  font-size: 11px; line-height: 16px; border-radius: 4px;
  background: #e6f6ec; color: #1f7a4d; font-weight: 600;
  text-decoration: none; vertical-align: 1px;
  border: 1px solid #bfe6cf;
}

/* ===== 工资对账单 + 核算结果弹窗（2026-11-09 深夜校长：先对名单再落账；结果不一晃就没） ===== */
.wage-detail { margin-top: 12px; border: 1px solid var(--line, #e3e6ee); border-radius: 8px; padding: 10px 12px; max-height: 320px; overflow: auto; background: #fafbfe; }
.wage-detail .wd-title { display: block; margin-bottom: 8px; font-size: 13px; }
.wd-block { margin: 6px 0; }
.wd-block b { font-size: 12px; }
.wd-pass b { color: #1a7f37; }
.wd-fail b { color: #c62828; }
.wd-rows { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.wd-row { display: inline-flex; gap: 6px; font-size: 12px; }
.wd-row i { font-style: normal; font-weight: 500; }
.wd-row u { text-decoration: none; color: #7a8194; }
.wd-none { font-size: 12px; color: #9aa1b2; }
.wd-sum { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line, #dfe3ec); font-size: 12px; line-height: 1.9; color: #333; }
.wd-note { margin-top: 6px; font-size: 11px; color: #8a90a3; }
.wd-loading { font-size: 12px; color: #7a8194; padding: 8px 0; }
.wage-done { text-align: left; }
.wage-done .wd-total { font-size: 26px; font-weight: 600; color: #1a7f37; margin-bottom: 8px; }
.wage-done .wd-tip { font-size: 13px; line-height: 1.8; word-break: break-all; }
.wage-done .wd-hint { margin-top: 8px; font-size: 12px; color: #7a8194; }

/* ===== 财务页分类/日期筛选（2026-11-10 校长：选建档费看建档费、十月考试费多少钱一键筛） ===== */
.fin-dates { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; }
.fin-dates .flt-date { border: 1px solid var(--line, #ccd3e0); border-radius: 6px; padding: 4px 6px; font-size: 13px; color: #333; background: #fff; }
.fin-dates-sep { color: #8a90a3; }
.fs-filter { margin-left: 12px; font-size: 12px; color: #1a5fc1; background: #eaf2fb; border-radius: 10px; padding: 2px 10px; }
/* 工资对账名单放进结果弹窗时可能很长：限高滚动，别把弹窗撑出屏幕 */
.wage-done .wd-sum, .wage-done .wd-block { max-width: 560px; }
.modal .wage-detail { margin-top: 0; }

/* ===== 教练工资·按月统计弹窗（2026-11-14 校长） ===== */
.wage-monthly .modal-body { max-height: 70vh; overflow: auto; }
.wm-summary { margin-top: 10px; }
.wm-summary .wd-block { background: #fafbfe; border: 1px solid var(--line, #e3e6ee); border-radius: 8px; padding: 8px 12px; }
.wm-nums { margin: 4px 0 2px; font-size: 13px; }
.wm-nums .wm-pass { color: #1a7f37; margin-right: 12px; font-weight: 600; }
.wm-nums .wm-fail { color: #c62828; font-weight: 600; }
.wm-grp { margin: 2px 0 4px; font-size: 11px; color: #8a90a3; }
.wm-grp u { text-decoration: none; color: #9aa1b2; margin-right: 4px; }
.wm-fix { margin-left: 8px; font-size: 11px; color: #1a5fc1; cursor: pointer; border: 1px solid #cfe0f6; border-radius: 8px; padding: 0 6px; }
.wm-fix:hover { background: #eaf2fb; }
.wm-err { color: #c62828; font-size: 12px; min-height: 16px; }
.wm-result .wd-loading { padding: 10px 0; }
.fin-q { border: 1px solid var(--line, #ccd3e0); background: #fff; border-radius: 6px; padding: 3px 10px; font-size: 13px; color: #444; cursor: pointer; }
.fin-q:hover { border-color: #1a5fc1; color: #1a5fc1; }
.fin-q.on { background: #1a5fc1; border-color: #1a5fc1; color: #fff; }

/* ===== 考试费报销批量勾选（2026-11-10 校长：选择框画勾，点批量报销） ===== */
.chk-col { width: 1%; }
.chk-cell { text-align: center; white-space: nowrap; }
.chk-cell input[type="checkbox"], .chk-col input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; vertical-align: middle; }
.rb-batch { margin-left: 10px; background: #1a5fc1; color: #fff; border-color: #1a5fc1; }
.rb-batch:hover { background: #144a99; }

/* ===== 报销列表缴费截图（2026-11-19 校长：搜到单据直接看到金额和截图） ===== */
.rb-shot-cell { white-space: nowrap; }
.rb-shot-thumb {
  width: 62px; height: 46px; object-fit: cover; border-radius: 5px;
  border: 1px solid var(--line, #ccd3e0); background: #f5f7fb; cursor: zoom-in;
  vertical-align: middle;
}
.rb-shot-thumb:hover { border-color: #1a5fc1; box-shadow: 0 0 0 2px rgba(26,95,193,.14); }
.rb-shot-old { color: #b45309; font-size: 12px; }
.rb-shot-mask {
  position: fixed; inset: 0; z-index: 9999; display: flex;
  align-items: center; justify-content: center; background: rgba(12,20,34,.68);
}
.rb-shot-box {
  max-width: min(92vw, 860px); max-height: 92vh; overflow: auto;
  background: #fff; border-radius: 10px; padding: 12px 14px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.rb-shot-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600; color: #222; margin-bottom: 10px;
}
.rb-shot-x { cursor: pointer; font-size: 20px; line-height: 1; color: #7a8194; }
.rb-shot-img { display: block; max-width: 100%; max-height: 74vh; border-radius: 6px; background: #f5f7fb; }
.rb-shot-foot { margin-top: 8px; text-align: center; font-size: 12px; color: #7a8194; }

/* ===== 粘贴交管批考名单（2026-11-10 校长：证件号+姓名+车型三处匹配、绝不新增学员） ===== */
#jg-text {
  width: 100%; box-sizing: border-box; margin: 10px 0 4px;
  border: 1px solid var(--line, #ccd3e0); border-radius: 6px;
  padding: 8px 10px; font: 13px/1.6 Consolas, "Microsoft YaHei", monospace;
  color: #333; background: #fff; resize: vertical;
}
.jg-sum {
  margin: 12px 0 10px; padding: 9px 12px;
  background: #f5f8fd; border: 1px solid var(--line, #e3e6ee); border-radius: 8px;
  font-size: 13px; color: var(--ink-2, #444); line-height: 1.8;
}
.jg-sec { margin: 10px 0 5px; font-size: 13px; font-weight: 600; color: var(--ink, #222); }
.jg-list {
  max-height: 260px; overflow: auto;
  border: 1px solid var(--line, #e3e6ee); border-radius: 8px; background: #fff;
}
.jg-item {
  display: block; padding: 7px 11px; font-size: 12.5px; line-height: 1.7;
  color: var(--ink-2, #444); border-bottom: 1px solid var(--line, #eef1f6);
  word-break: break-all; cursor: pointer;
}
.jg-item:last-child { border-bottom: 0; }
.jg-item input[type="checkbox"] { width: 15px; height: 15px; vertical-align: middle; margin-right: 6px; cursor: pointer; }
.jg-item.jg-no { color: var(--ink-3, #7a8194); cursor: default; }
.jg-bad { color: #c0392b; margin-left: 6px; }
/* 成绩单口径警示（2026-11-10）：交管成绩行只同步状态，不等于完整入账 */
.jg-warn {
  margin: 9px 0 2px; padding: 9px 11px; border: 1px solid #e6c07b;
  background: #fff8e8; border-radius: 6px; font-size: 12.5px;
  line-height: 1.7; color: #8a5a00;
}
.jg-warn b { color: #a04a00; }
.jg-preview { background: #1a5fc1; color: #fff; border-color: #1a5fc1; }
.jg-preview:hover { background: #144a99; }
.jg-commit { background: #1a7f37; color: #fff; border-color: #1a7f37; }
.jg-commit:hover { background: #14632c; }
/* 2026-11-10 校长闭环口径：成绩行 / 待考预约行分开标，两种都默认勾、都要登记 */
.jg-tip {
  margin: 9px 0 2px; padding: 8px 11px; border: 1px solid #bcd8f0;
  background: #f2f8ff; border-radius: 6px; font-size: 12.5px;
  line-height: 1.7; color: #1a4d80;
}
.jg-tip b { color: #12427a; }
.jg-tag {
  display: inline-block; padding: 1px 7px; margin-right: 5px; border-radius: 10px;
  font-size: 11px; font-weight: 600; line-height: 1.6; vertical-align: 1px;
  white-space: nowrap;
}
.jg-tag-res { background: #e3f5e9; color: #14632c; border: 1px solid #a9dcb9; }
.jg-tag-book { background: #eaf2ff; color: #1a4d80; border: 1px solid #bcd8f0; }
/* 导入完成结果面板：点完当场看见「合格」，不用自己翻页面找 */
.jg-done {
  margin: 4px 0; padding: 14px 15px; border: 1px solid #a9dcb9;
  background: #f6fcf8; border-radius: 8px; font-size: 13px; line-height: 1.8;
  color: var(--ink-2, #444);
}
.jg-done h3 { margin: 0 0 9px; font-size: 15px; color: #14632c; }
.jg-done p { margin: 8px 0 0; }
.jg-done-list {
  border: 1px solid #cfe7d6; border-radius: 6px; background: #fff; overflow: hidden;
}
.jg-done-cap {
  padding: 6px 11px; background: #eef7f1; color: #14632c;
  font-size: 12px; font-weight: 700; border-bottom: 1px solid #cfe7d6;
}
.jg-done-row { padding: 8px 11px; border-bottom: 1px solid #e8f2eb; word-break: break-all; }
.jg-done-row:last-child { border-bottom: 0; }
.jg-pass {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 10px;
  background: #14632c; color: #fff; font-weight: 700; font-size: 12px;
}
.jg-done-warn { color: #8a5a00; }
.jg-done-ops { margin-top: 14px; display: flex; gap: 8px; align-items: center; }

/* ---------------- 交管历史学员动态视图（2026-11-10） ----------------
   三张表单：合同过期学员 / 毕业学员库 / 交管考试履历。
   重点：统计条与检索条各占一行不被表格挤变形，长状态值整块换行不截断。 */
.jgv-note {
  background: #f4f8ff; border-left: 3px solid #2f6fed; color: #374d68;
  padding: 10px 14px; margin-bottom: 14px; border-radius: 4px; line-height: 1.75;
}
.jgv-stat { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.jgv-stat-item {
  flex: 1 1 150px; min-width: 140px; background: #fff; border: 1px solid #e3e9f0;
  border-radius: 8px; padding: 10px 14px;
}
.jgv-stat-item b { display: block; font-size: 20px; color: #12263f; line-height: 1.3; }
.jgv-stat-item span { font-size: 12px; color: #6b7c91; }
.jgv-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.jgv-bar .fld-in { width: auto; min-width: 150px; flex: 0 1 210px; height: 34px; }
.jgv-bar .fld-in[type="date"] { min-width: 140px; flex: 0 1 150px; }
.jgv-hint { color: #6b7c91; font-size: 12px; margin-left: auto; }
.jgv-btn {
  height: 34px; padding: 0 14px; border: 1px solid #2f6fed; background: #2f6fed;
  color: #fff; border-radius: 5px; cursor: pointer; font-size: 13px; white-space: nowrap;
}
.jgv-btn:hover { background: #2159c9; }
.jgv-btn.ghost { background: #fff; color: #2f6fed; }
.jgv-btn.ghost:hover { background: #f0f5ff; }
.jgv-btn.tiny { height: 26px; padding: 0 9px; font-size: 12px; }
.jgv-btn:disabled { opacity: .45; cursor: not-allowed; }
.jgv-tbl { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.jgv-tbl th {
  background: #f0f4f9; color: #3c5069; text-align: left; padding: 8px 9px;
  border: 1px solid #e3e9f0; white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
.jgv-tbl td {
  padding: 7px 9px; border: 1px solid #e9eef4; vertical-align: top;
  /* 全局 tbody td 带 nowrap + max-width:240px + ellipsis，会把脱敏证件号、
     「合同到期」日期后面那个「已过期」标签压成省略号。这里显式全部放开：
     长值整块换行，一个字都不许吞（2026-11-10 真浏览器截图人工过目抓到）。 */
  white-space: normal; max-width: none; overflow: visible; text-overflow: clip;
  word-break: break-word; line-height: 1.55;
}
.jgv-tbl tbody tr:nth-child(even) td { background: #fbfcfe; }
/* 证件号一行读完（jgv-tbl 为 table-layout:fixed，列宽必须写在表头上）：
   th.jgv-id-h 由 app.js 按列名挂类——原 nth-child(2) 写法在 table-fx 序号列
   （F-PC-314）插入后错位（第 2 列变姓名），证件号被挤到 87px 吞字
   （verify-jg-views-ui B7d 真浏览器抓到），按列名挂类以后再插列也不漂。
   2026-11-11 校长口径：交管类视图直接显示完整证件号，不再打码（jgMask 原样返回）。 */
.jgv-tbl th.jgv-id-h { width: 152px; }
.jgv-tbl td.jgv-id { white-space: nowrap; font-size: 12px; letter-spacing: -.2px; }
.jgv-tag {
  display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px;
  background: #eef2f7; color: #4a5b70; white-space: normal;
}
.jgv-tag.ok { background: #e8f6ed; color: #14632c; font-weight: 700; }
.jgv-tag.warn { background: #fff3d6; color: #8a5a00; }
.jgv-tag.bad { background: #fdeaea; color: #a32828; }
.jgv-paging {
  display: flex; align-items: center; gap: 12px; margin-top: 12px;
  color: #6b7c91; font-size: 13px;
}
.jgv-modal {
  width: 460px; max-width: calc(100vw - 32px); background: #fff; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(20, 38, 63, .22); overflow: hidden;
}
.jgv-modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; background: #f0f4f9; border-bottom: 1px solid #e3e9f0;
  color: #12263f; font-size: 15px;
}
.jgv-x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #6b7c91; }
.jgv-modal-bd { padding: 16px 18px; }
.jgv-modal-bd label { display: block; font-size: 13px; color: #3c5069; margin-bottom: 10px; }
.jgv-modal-bd .fld-in { display: block; width: 100%; margin-top: 4px; height: 34px; }
.jgv-modal-note { font-size: 12px; color: #6b7c91; line-height: 1.7; margin: 0 0 14px; }
.jgv-err { color: #a32828; font-size: 13px; min-height: 18px; }
.jgv-modal-ft {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px; border-top: 1px solid #e9eef4;
}

/* ============ 2026-11-11 学员名册增强：待考科目补考红点 + 报名时间过期状态 ============ */
/* 补考学员红点：待考科目单元格右上角的小红点（参考驾校通科目标签红点） */
.retake-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #e53935; margin-left: 6px; vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(229, 57, 53, .18);
}
/* 报名时间附带的过期状态：超期红、临期(≤90天)橙、正常绿 */
.cell-sub.exp-over { color: #c0392b; font-weight: 600; }
.cell-sub.exp-near { color: #b9770a; font-weight: 600; }
.cell-sub.exp-ok { color: #21804a; }
/* 单元格小字统一（报名表单/表格已用 cell-sub，这里只补字体收敛） */
td .cell-sub { font-size: 12px; font-weight: 400; }

/* ---------- F-WX-37 监管学时汇总：20 列极密表（2026-11-29 17:36 校长「空白的区域太多了，
 * 表头那里可以做一个自动换行，下面的内容没有必要那么宽的格子」）。
 * 只作用于 .ph-tbl 这一张表，不动任何通用表格/名册。 ---------- */
.ph-tbl { font-size: 12.5px; }
.ph-tbl th {
  /* 表头折行：「科一共享公安」→ 科一 / 共享公安 两行，列宽由 6 字降到 4 字 */
  white-space: normal; word-break: break-all;
  line-height: 1.15; font-size: 11.5px; padding: 4px 3px; text-align: center;
}
.ph-tbl td {
  /* 内容格：只留 3~5px 呼吸位，不再 9~10px；内容一行读完，短值列自然收到最窄 */
  padding: 3px 5px; text-align: center; white-space: nowrap; line-height: 1.35;
}
.ph-tbl td .jgv-tag { padding: 0 5px; font-size: 11.5px; }
/* 「主标签 + 副行」（状态日期、上次成绩、过期日）副行最多 88px 折行，避免整列被撑宽 */
.ph-tbl td .cell-sub {
  display: block; max-width: 88px; margin: 1px auto 0;
  white-space: normal; word-break: break-all; font-size: 11px; line-height: 1.2;
}
.ph-tbl td .cell-obj { font-size: 12px; }
/* 身份证是 18 位不可断的长串，必须独占一格宽度（对账唯一钥匙，不许截断/省略） */
.ph-tbl td.ph-id { white-space: nowrap; font-size: 11.5px; letter-spacing: -.2px; }
.ph-tbl th.ph-id-h { width: 128px; }

/* ---------- F-PC-182 结案原因小标签（退款 / 五次不过 / 退学 / 转出 / 档案过期 / 非毕业） ----------
 * 名册全局 td 有 nowrap + max-width + ellipsis，状态列要显式放开，否则标签会被省略号吞掉。 */
.case-chip {
  display: inline-block; margin: 1px 0 1px 4px; padding: 0 6px;
  border-radius: 9px; font-size: 11px; line-height: 17px; font-weight: 600;
  white-space: nowrap; vertical-align: middle; border: 1px solid transparent;
}
.case-chip.bad  { background: #fdeaea; color: #a32828; border-color: #f0cccc; }
.case-chip.warn { background: #fff3d6; color: #8a5a00; border-color: #f0dfae; }
.case-chip.info { background: #eef3fb; color: #2a5a9c; border-color: #d3e0f5; }
.case-chip.ok   { background: #e8f6ed; color: #14632c; border-color: #cbe9d6; }
/* 名册那张 <table> 没挂 .tbl 类，全局 tbody td 的 nowrap+ellipsis 会吞掉标签，
 * 所以这里按 td 自身类名放行（交管视图 .jgv-tbl td 另有规则，互不冲突）。 */
td.cell-case { white-space: normal; max-width: none; overflow: visible; text-overflow: clip; }
.jgv-tbl td .case-chip { margin-right: 2px; }

/* ---------- 周期搜索 + 统计看板数字下钻（2026-11-13 校长三条需求） ----------
 * 两个页面共用 .pd-bar：考试管理找回已考场次补录、统计看板按天/月/年重算。 */
.pd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; }
.pd-cap { font-weight: 600; color: var(--ink); }
.pd-modes, .pd-val, .pd-custom, .pd-nav { display: inline-flex; align-items: center; gap: 6px; }
.pd-bar .fld-in { height: 30px; padding: 2px 8px; font-size: 13px; width: auto; }
.pd-bar input[type="date"] { width: 142px; }
.pd-bar input[type="month"] { width: 142px; }
.pd-bar .pd-year { width: 112px; }
.pd-state { margin-left: auto; color: var(--ink-2); white-space: nowrap; }
.pd-state b { color: var(--brand); }
.pd-hint { flex-basis: 100%; color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.sb-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sb-title b { font-size: 16px; }
.sb-title span { color: var(--ink-3); font-size: 12.5px; }
.sb-range { margin-bottom: 12px; font-size: 13px; color: var(--ink-2);
  display: flex; align-items: center; flex-wrap: wrap; }
.sb-range b { color: var(--ink); font-size: 15px; margin-right: 6px; }
.sb-chk { margin-left: 12px; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.sb-chk.ok { background: #eaf7ef; color: #187a43; }
.sb-chk.bad { background: #fdecec; color: #c0392b; }
.sb-kpi { cursor: pointer; transition: box-shadow .12s ease, transform .12s ease; }
.sb-kpi:hover { box-shadow: 0 4px 14px rgba(26, 95, 193, .16); transform: translateY(-1px); }
.sb-kpi:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.sb-drill-tip { color: var(--brand); font-size: 11px; float: right; font-weight: 600; }
.sb-neg { color: #c0392b; }
.sb-more { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
/* 2026-11-13 20:06：标准分类全展示 + 每张卡「＋录一笔」直达补数据入口 */
.sb-note { margin: 0 0 10px; padding: 8px 12px; font-size: 12px; line-height: 1.7;
  color: #4a5b6d; background: #f5f9ff; border: 1px solid #d6e6fb; border-radius: 8px; }
.sb-note b { color: #1a5fc1; }
.sb-add { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 11px;
  line-height: 1.5; color: #187a43; background: #eaf7ef; border: 1px solid #bfe3cd;
  border-radius: 999px; cursor: pointer; font-weight: 600; }
.sb-add:hover { background: #d8f0e2; border-color: #8fcdaa; }
.sb-mono { margin-left: 4px; font-size: 11px; color: #8a94a0; }
#sb-drill-host .panel-head { display: flex; align-items: center; justify-content: space-between; }
#sb-drill-host .sb-drill-close { float: none; }

/* F-PC-772（2026-11-28）：考试费合并卡下钻筛选条（类型 + 科目） */
.sb-fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px;
  padding: 8px 12px; font-size: 12px; color: #4a5b6d; background: #f5f9ff;
  border: 1px solid #d6e6fb; border-radius: 8px; }
.sb-fbar-l { color: #6a7b8d; font-weight: 600; }
.sb-fbar-gap { margin-left: 12px; }
.sb-fbtn { padding: 2px 10px; font-size: 12px; line-height: 1.6; color: #3a4a5a;
  background: #fff; border: 1px solid #c9d8e8; border-radius: 999px; cursor: pointer; }
.sb-fbtn:hover { border-color: #7fa8d9; color: #1a5fc1; }
.sb-fbtn.on { color: #fff; background: #2f7fd6; border-color: #2f7fd6; font-weight: 600; }
/* 已考场次（补录）在分组条里用暖色区分，绝不混进「待发提醒」那一堆 */
.rem-chip.rem-past { background: #fff7f7; border-color: #f0cccc; }
.rem-past-tag {
  font-size: 11.5px; color: #c0392b; background: #fdecec;
  border-radius: 999px; padding: 2px 9px; font-weight: 600; flex-shrink: 0;
}
.rem-past-btn { color: #c0392b !important; border-color: #e8b4b4 !important; }
.rem-past-tip {
  margin-top: 10px; padding: 8px 12px; background: #fff8f8;
  border: 1px solid #f0d5d5; border-radius: 8px;
  color: #a33; font-size: 12.5px; line-height: 1.7;
}

/* F-PC-186：续期登记 / 重新报名表单（浅色主题，字段纵向排开不挤） */
.jgv-modal-lg { width: min(680px, 94vw); max-height: 88vh; overflow: auto; }
.jgv-modal-lg .jgv-modal-bd label {
  display: block; font-size: 12.5px; color: var(--ink-2);
  margin: 10px 0 3px; font-weight: 600;
}
.jgv-modal-lg .fld-in { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.jgv-modal-lg .jgv-modal-note { line-height: 1.75; margin-bottom: 10px; }
.rr-picked {
  padding: 8px 12px; background: #eef5ff; border: 1px solid #cfe0f7;
  border-radius: 8px; font-size: 13px; color: var(--ink-1);
}
.rr-sug {
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  max-height: 190px; overflow: auto; margin-top: 4px;
  box-shadow: 0 6px 18px rgba(20, 50, 90, .12);
}
.rr-sug-i { padding: 7px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f1f4f8; }
.rr-sug-i:last-child { border-bottom: 0; }
.rr-sug-i:hover { background: #f2f7ff; }
.muted { color: var(--ink-3); }
.rr-history {
  margin: 10px 0; padding: 8px 12px; background: #f8fafc;
  border: 1px solid var(--line); border-radius: 8px; font-size: 12px;
  color: var(--ink-2); line-height: 1.8;
}
.rr-history-hd { font-weight: 600; color: var(--ink-1); }
.rr-history-list { max-height: 130px; overflow: auto; margin-top: 4px; }
.rr-ok {
  margin-top: 8px; padding: 7px 12px; background: #eaf7ef;
  border: 1px solid #bfe4cd; border-radius: 8px;
  color: #187a43; font-size: 12.5px; line-height: 1.6;
}
.rr-ok:empty { display: none; }

/* F-PC-187 报名期次：同一学员多期的「新资料 / 原资料」并排展示。
   底层仍是一条档案 + enrollments[]，不新建重复学员、不改 status。 */
.enroll-seq {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 9px; background: #eaf1ff; border: 1px solid #c9dcff;
  color: #2456a6; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.en-list { display: grid; gap: 8px; margin: 8px 0 10px; }
.en-row { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }
.en-row.en-cur { border-color: #a9d5bb; background: #f3fbf6; }
.en-row.en-old { background: #f8fafc; }
.en-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; color: var(--ink-1); }
.en-row.en-cur .en-hd b { color: #187a43; }
.en-tag { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.en-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 10px; font-size: 12px; color: var(--ink-2);
}
.en-foot { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
/* 重新报名表单：新资料三项联系信息（留空＝沿用原档案） */
.rr-triple { margin: 8px 0; display: grid; gap: 5px; }
.rr-triple-hd { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.rr-triple .fld-in { display: block; width: 100%; }

/* ================= 待审核中心 + 批量审核（2026-11-14 F-PC-193）=================
 * 浅色主题，与财务看板 .sb-note / 表格 .tbl-wrap 同一套视觉。 */
.nav-badge {
  margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px;
  background: #e74c3c; color: #fff; font-size: 11px; font-weight: 700;
  line-height: 1.5; text-align: center; white-space: nowrap;
}
.ac-wrap { display: grid; gap: 12px; }
/* ★ F-PC-1017：待审核中心顶部的「招生线索」横幅 —— 线索不进审核池，
   但校长只在这一页找东西，必须在这里直接看见（点进去是报名线索页）。 */
.ac-leadbar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: #fff8e6; border: 1px solid #f0c36d; border-left: 4px solid #e67e22;
  border-radius: 10px;
}
.ac-leadbar b { font-size: 15px; color: #8a5a00; white-space: nowrap; }
.ac-leadbar span { font-size: 12px; color: #8a6d3b; line-height: 1.6; }
.ac-leadbar button { margin-left: auto; white-space: nowrap; }
/* F-PC-1020（2026-12-03）：同一个黄条在招生报备页要装一张表 —— 横排条改成区块，
 * 标题行内排，表格占满宽度；行内按钮不再被 margin-left:auto 推到最右。 */
.ac-leadbar.ac-leadbox { display: block; padding: 12px 14px; }
.ac-leadbox .ac-leadbar-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ac-leadbox .ac-leadbar-h b { white-space: normal; }
.ac-leadbox table { margin-top: 2px; }
.ac-leadbox button { margin-left: 0; }
.ac-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.ac-total { display: flex; align-items: baseline; gap: 10px; }
.ac-total b { font-size: 30px; line-height: 1; color: #c0392b; }
.ac-total span { font-size: 13px; color: var(--ink-2); }
.ac-top-ops { display: flex; align-items: center; gap: 12px; }
.ac-time { font-size: 12px; color: var(--ink-3); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.ac-card {
  display: grid; gap: 8px; padding: 14px; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid #9fb3c8; border-radius: 10px;
}
.ac-card.risk-high { border-left-color: #e74c3c; }
.ac-card.risk-mid  { border-left-color: #e6a23c; }
.ac-card.risk-low  { border-left-color: #67b88a; }
.ac-card-h { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-1); }
.ac-card-h b { flex: 1; }
.ac-ico { font-style: normal; color: #5b6b7f; }
.ac-group {
  padding: 1px 7px; border-radius: 999px; background: #f1f4f8;
  color: #5b6b7f; font-size: 11px; white-space: nowrap;
}
.ac-num { font-size: 26px; font-weight: 700; color: #c0392b; line-height: 1.2; }
.ac-num small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.ac-num.ac-zero { color: #8a97a6; }
.ac-hint { font-size: 12px; line-height: 1.65; color: var(--ink-2); min-height: 40px; }
.ac-risk { font-size: 11.5px; line-height: 1.6; color: #5b6b7f; }
.ac-risk b { color: #c0392b; }
.ac-ops { display: flex; gap: 8px; margin-top: 2px; }
.ac-ops .btn { padding: 5px 12px; font-size: 12px; }
.ac-ops button[disabled] { opacity: .5; cursor: not-allowed; }
/* ★ F-PC-878（2026-11-30 19:0x 校长截图待审核中心「成绩申报审核」卡 + 红箭头指向「批量审核」，
   「也要给我开通啊，你要记得我是需要所有的权限的」）：
   查实**不是权限问题** —— 校长身份下 12 个池全在，接口 examReports count=1，按钮 disabled=false。
   真问题是**样式缺失**：`.btn` 这个类在 style.css 里从来没有基础样式（只定义了 .btn-primary /
   .btn-ghost），于是所有 `class="btn"`（卡片上的「批量审核」、弹层里的「批量通过」）都退化成
   浏览器默认灰按钮 —— 灰底黑字细边框，和禁用的「暂无待审」几乎一个样，看着就像没开通、点不动。
   修法只补 **.ac-ops / .ac-toolbar 两个作用域**：品牌色主按钮 + 明确的禁用灰。
   **不动全局 .btn**（全站几十处在用，改全局会连带影响本页之外的按钮 —— 校长 19:03「不要又碰到其他的东西」）。 */
.ac-ops .btn:not(.btn-ghost),
.ac-toolbar .btn:not(.btn-ghost) {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}
.ac-ops .btn:not(.btn-ghost):hover,
.ac-toolbar .btn:not(.btn-ghost):hover { filter: brightness(.94); }
.ac-ops .btn:not(.btn-ghost)[disabled],
.ac-toolbar .btn:not(.btn-ghost)[disabled] {
  background: #eef1f5;
  border-color: #dfe5ec;
  color: #9aa5b1;
  opacity: .9;
  cursor: not-allowed;
  filter: none;
}
.ac-batch { display: block; }
.ac-panel .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ac-total-small { font-size: 12px; color: var(--ink-3); }
.ac-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 12px; margin: 0 0 10px; background: #f8fafc;
  border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; color: var(--ink-2);
}
.ac-toolbar .btn { padding: 5px 12px; font-size: 12px; }
.ac-toolbar button[disabled] { opacity: .5; cursor: not-allowed; }
.ac-all-label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
/* ★ F-PC-625（2026-11-22）：批量审核分页条 —— 原来只有「头 50 条」，其余待审在界面上够不着。
   表格上下各一份，勾完在底部也能直接翻页。 */
.ac-pagerbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 12px; margin: 0 0 10px; background: #fbfcfe;
  border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--ink-2);
}
.ac-pagerbar .ac-pg-info b { color: var(--ink-1); }
.ac-pagerbar .btn-ghost {
  padding: 3px 10px; font-size: 12px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; cursor: pointer;
}
.ac-pagerbar .btn-ghost[disabled] { opacity: .45; cursor: not-allowed; }
.ac-pg-size select, .ac-pg-input {
  padding: 2px 6px; font-size: 12px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink-1);
}
.ac-pg-input { width: 56px; }
#ac-selinfo { font-weight: 600; color: #c0392b; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ac-table th, .ac-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.ac-table th { background: #f6f8fb; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.ac-table td { color: var(--ink-1); }
.ac-pending {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: #fff3e0; border: 1px solid #f3d3a1; color: #a6620a; font-size: 11px;
}
.ac-modal { width: 620px; max-width: 92vw; }
.ac-modal textarea {
  display: block; width: 100%; padding: 8px 10px; box-sizing: border-box;
  border: 1px solid #d6dce4; border-radius: 6px; font-size: 13px;
  font-family: inherit; resize: vertical;
}
.ac-modal .fld > label { display: block; margin-bottom: 5px; font-size: 12.5px; color: var(--ink-2); }
.ac-confirm-warn { line-height: 1.8; font-size: 12.5px; }
.ac-modal-err { color: #c0392b; font-size: 12.5px; }
.ac-result-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.ac-result-row {
  display: grid; grid-template-columns: 20px 190px 1fr; gap: 8px;
  padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2);
}
.ac-result-row:last-child { border-bottom: 0; }
.ac-result-row b { text-align: center; }
.ac-result-row.ok b { color: #187a43; }
.ac-result-row.bad { background: #fff7f6; }
.ac-result-row.bad b { color: #c0392b; }
.ac-result-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
/* F-PC-626：明细折叠（默认收起，有失败自动展开）+ 自动续审提示 */
.ac-result-dt { margin-top: 10px; }
.ac-result-dt > summary {
  cursor: pointer; user-select: none; font-size: 12.5px; color: var(--ink-2);
  padding: 2px 0 6px;
}
.ac-result-dt > summary:hover { color: #c0392b; }
.ac-result-dt > summary b { color: #c0392b; }
.ac-result-foot .spin { width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; }

/* ---------- F-PC-194：通用表头排序 + 日期/项目筛选 ---------- */
/* 表头可点：鼠标手型 + 三态箭头，排序中的列高亮，不改动原有表头底色/粘性列 */
th.th-sort { cursor: pointer; user-select: none; white-space: nowrap; }
th.th-sort:hover { background: #eef3f9; }
th.th-sort.sorted { background: #e8f0fb; color: #1a5fb4; }
th.th-sort .sort-ico {
  display: inline-block; margin-left: 5px; font-size: 11px; line-height: 1;
  color: #9aa8b8; font-weight: 400;
}
th.th-sort.sorted .sort-ico { color: #1a5fb4; font-weight: 700; }
.gen-flt {
  display: flex; gap: 7px; flex-wrap: wrap; align-items: center;
  padding: 0 0 10px; border-bottom: 1px dashed var(--line); margin-bottom: 8px;
}
.gen-flt .gf-label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-left: 4px; }
.gen-flt .gf-label:first-child { margin-left: 0; }
.gen-flt select, .gen-flt input[type="date"] {
  height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink-2); font-size: 12.5px; padding: 0 8px; font-family: inherit;
  max-width: 190px;
}
.gen-flt select:focus, .gen-flt input:focus { border-color: var(--brand); }
.gen-flt .gf-sep { color: var(--ink-3); }
.gen-flt .gf-clear { height: 30px; }
.gen-flt .gf-hint { font-size: 12px; color: var(--ink-3); margin-left: auto; }
/* 提交时间：派生口径的日期本身要看得清，依据小字弱化 */
td.cell-submit { white-space: nowrap; }
td.cell-submit .cell-sub { margin-left: 5px; }
/* 档案：逐场考试记录 / 报销依据对照 */
.dc-empty-inline { color: var(--ink-3); font-size: 12px; }
.dc-warn-inline { color: #c0392b; font-size: 12px; font-weight: 600; }

/* ---------- F-PC-254：约车表（开关 / 车辆分配 / 日期×时段×车 格子表） ---------- */
.bb-panel .panel-head { flex-wrap: wrap; gap: 8px; }
.bb-head b { font-size: 15px; }
.bb-sub { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.bb-head-btns { margin-left: auto; display: flex; gap: 8px; }
.bb-msg { min-height: 18px; font-size: 12.5px; color: var(--ok); margin-bottom: 8px; }
.bb-msg.bad { color: #c0392b; }
.bb-open {
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-left: 4px solid var(--ink-3);
  border-radius: 10px; padding: 14px 16px; background: #fff; margin-bottom: 12px;
}
.bb-open.on { border-left-color: var(--ok); background: #f4fbf6; }
.bb-open.off { border-left-color: #c0392b; background: #fff8f7; }
.bb-open-l { flex: 1; min-width: 0; }
.bb-open-l b { font-size: 15px; }
.bb-open.on .bb-open-l b { color: var(--ok); }
.bb-open.off .bb-open-l b { color: #c0392b; }
.bb-open p { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.6; }
.bb-open .bb-cloud-line { color: var(--ink-3); font-size: 12px; }
.bb-open-r { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex: none; }
.bb-open-r small { font-size: 11.5px; color: var(--ink-3); }
.bb-stats {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.bb-stats span {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 12px; font-size: 12.5px; color: var(--ink-2);
}
.bb-stats b { color: var(--ink); font-size: 14px; margin-left: 3px; }
.bb-warn {
  border: 1px solid #f0d9a8; background: #fffaf0; border-radius: 9px;
  padding: 11px 14px; margin-bottom: 14px; font-size: 12.5px; color: var(--warn);
}
.bb-warn b { display: block; margin-bottom: 5px; }
.bb-warn ul { margin: 0 0 0 18px; line-height: 1.8; }
.bb-sec { margin: 18px 0 4px; }
.bb-sec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 9px; }
.bb-sec-h b { font-size: 14px; }
.bb-sec-h span { font-size: 12px; color: var(--ink-3); }
.bb-assign, .bb-closes, .bb-grid { width: 100%; border-collapse: collapse; background: #fff; font-size: 12.5px; }
.bb-assign th, .bb-assign td, .bb-closes th, .bb-closes td {
  border: 1px solid var(--line); padding: 7px 10px; text-align: left;
}
.bb-assign th, .bb-closes th { background: #f7f9fc; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.bb-sel {
  width: 100%; min-width: 180px; height: 30px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink-2); font-size: 12.5px;
  padding: 0 8px; font-family: inherit;
}
.bb-sel:focus { border-color: var(--brand); outline: 0; }
.bb-coach-sum { display: flex; flex-wrap: wrap; gap: 10px; margin: 9px 0; font-size: 12.5px; color: var(--ink-2); }
.bb-coach-sum span { background: #eef3f9; border-radius: 6px; padding: 5px 10px; }
.bb-day { margin-bottom: 16px; overflow-x: auto; }
.bb-day-h { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; font-size: 13px; }
.bb-day-h span { color: var(--ink-3); font-size: 12px; }
.bb-grid th, .bb-grid td { border: 1px solid var(--line); padding: 6px 7px; text-align: center; }
.bb-grid thead th { background: #f7f9fc; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.bb-grid thead th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.bb-grid tbody th { background: #fbfcfe; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.bb-cell { cursor: pointer; min-width: 92px; font-size: 12px; line-height: 1.5; }
.bb-cell:hover { outline: 2px solid var(--brand); outline-offset: -2px; }
.bb-cell small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
/* 状态类一律带 bb-st- 前缀：开关卡用的是 .bb-open（display:flex），
 * td 若也叫 bb-open 会被强制变成 flex 容器、整张表垮成竖排（2026-11-15 实测翻车）。 */
.bb-cell.bb-st-open { background: #f2fbf5; color: #187a43; }
.bb-cell.bb-st-closed { background: #f3f4f6; color: #7b8794; }
.bb-cell.bb-st-booked { background: #fdecea; color: #c0392b; }
.bb-cell.bb-st-late { background: #fafafa; color: #9aa5b1; }
.bb-cell.bb-st-none { background: #fff; color: var(--ink-3); }
.bb-cell.bb-pair { border-bottom: 2px solid #d8b46a; }
.bb-empty { padding: 16px; font-size: 12.5px; }
.bb-rule { border-top: 1px dashed var(--line); margin-top: 18px; padding-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.bb-rule b { color: var(--ink); display: block; margin-bottom: 6px; }
.bb-rule p { line-height: 1.75; margin-bottom: 5px; }
.bb-rule code { background: #f2f4f7; border-radius: 4px; padding: 1px 5px; font-size: 12px; }
.bb-rule .bb-edge { color: var(--warn); background: #fffaf0; border-radius: 7px; padding: 9px 11px; margin-top: 8px; }
/* 约车表弹层：与 .modal-mask 同族，但 z-index 高于档案层（.doc-mask 1200） */
.bb-mask {
  position: fixed; inset: 0; z-index: 1300; background: rgba(20, 28, 38, .48);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.bb-dialog { width: min(480px, 100%); background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.bb-dialog-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bb-dialog-h b { font-size: 15px; }
.bb-x { border: 0; background: none; font-size: 22px; color: var(--ink-3); line-height: 1; }
.bb-dialog-b { padding: 16px 18px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.bb-dialog-b p { margin-bottom: 8px; }
.bb-dialog-note { color: var(--warn); font-size: 12px; }
.bb-fld { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink); }
.bb-fld .bb-sel { margin-top: 5px; }
.bb-dialog-f { display: flex; justify-content: flex-end; gap: 9px; padding: 12px 18px; border-top: 1px solid var(--line); }

/* F-PC-256：约车表列头就地改派 / 格子代约 / 在飞预约 / 自动保护 */
.bb-cell.bb-st-done { background: #eef7f1; color: #2f7a55; }
.bb-head-sel {
  display: block; width: 100%; max-width: 132px; margin: 5px auto 0;
  font-size: 11px; padding: 2px 4px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; color: var(--ink);
}
.bb-head-sel:focus { border-color: var(--brand); outline: 0; }
.bb-head-sel:disabled { background: #f3f4f6; color: #9aa5b1; cursor: not-allowed; }
.bb-assign-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bb-dirty { font-size: 12px; color: var(--ink-3); }
.bb-dirty.on { color: #c0392b; font-weight: 600; }
.bb-live { color: #c0392b; font-weight: 600; }
.bb-no-perm { font-size: 12px; color: var(--ink-3); }
.bb-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bb-stu-list {
  max-height: 220px; overflow-y: auto; border: 1px solid var(--line);
  border-radius: 8px; padding: 6px; margin: 8px 0;
}
.bb-stu-item {
  display: block; width: 100%; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px;
  margin-bottom: 5px; font-size: 13px; color: var(--ink); cursor: pointer;
}
.bb-stu-item small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.bb-stu-item.on { border-color: var(--brand); background: #eef5ff; }
.bb-stu-hint { font-size: 12px; color: var(--ink-3); }
.bb-auto-tag {
  display: inline-block; margin-left: 6px; font-size: 10.5px;
  background: #fff3d6; color: #a5730a; border-radius: 4px; padding: 1px 5px;
}
.bb-auto-note { font-size: 11.5px; color: var(--ink-3); }

/* F-PC-270：练车预约 + 约车表合并页（双 Tab），以及 ① 区主分车入口 */
.bb-hub-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.bb-hub-tabs { display: inline-flex; gap: 6px; }
.bb-hub-tab {
  font-size: 12px; padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer;
}
.bb-hub-tab:hover { border-color: var(--brand); }
.bb-hub-tab.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.bb-hub-body > .bb-panel { margin-top: 0; }
.bb-assign-sel { max-width: none; width: 100%; min-width: 118px; }
.bb-locked-tip { font-size: 11px; color: var(--ink-3); }

/* F-PC-281：约车统计卡 + 窗口翻页 */
.bb-stt { margin: 8rpx 0 8rpx 0; }
.bb-stt b { display: inline-block; margin: 6px 12px 4px 0; font-size: 13px; color: #333; }
.bb-stt-t { border-collapse: collapse; margin: 4px 0 6px; }
.bb-stt-t th, .bb-stt-t td { border: 1px solid #e3e5e8; padding: 3px 10px; font-size: 12px; text-align: center; }
.bb-stt-t th { background: #f6f7f9; }
.bb-stt-tip { font-size: 12px; color: #888; }
.bb-off-now { margin-left: 10px; font-size: 13px; color: #555; }

/* F-PC-311（2026-11-17 校长「还是没看到批量审核的选择」）：
   业务管理页顶部的批量审核条 —— 与报销页批量条视觉一致，一眼能找到。 */
.acb-bar {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-left: 12px; padding: 5px 10px; background: #fff7ed;
  border: 1px solid #fed7aa; border-radius: 8px; font-size: 12.5px; color: #9a3412;
}
.acb-bar .acb-info b { color: #c0392b; }
.acb-bar .btn, .acb-bar .btn-ghost { padding: 4px 12px; font-size: 12px; }
.acb-bar button[disabled] { opacity: .5; cursor: not-allowed; }
/* F-PC-312：批量条里的「还有 M 条未选」提示与空态说明 */
.acb-left { font-style: normal; color: #b45309; font-weight: 600; margin-left: 4px; }
.acb-hint { color: #9a3412; opacity: .85; }

/* ============ F-PC-314 表格序号列 + 一页放不下时前两列冻结（table-fx.js，2026-11-17） ============ */
/* 序号列：窄、居中、弱色，不抢姓名/证件的视觉 */
table .fx-seq { text-align: center; color: var(--ink-3); font-size: 12px; white-space: nowrap; width: 44px; min-width: 44px; }
thead th.fx-seq { background: #f8fafc; font-weight: 500; }
/* 冻结：只有横向真的放不下（wrapper 有 fx-freeze 且表有 fx-on）才生效 */
table.fx-on tr > .fx-c1, table.fx-on tr > .fx-c2 { position: sticky; }
table.fx-on tr > .fx-c1 { left: 0; }
table.fx-on tr > .fx-c2 { left: var(--fx1, 44px); box-shadow: 2px 0 0 var(--line); }
/* 冻结格必须不透明，否则右滑时底下行内容会透出来 */
table.fx-on tbody td.fx-c1, table.fx-on tbody td.fx-c2 { background: #fff; z-index: 2; }
table.fx-on tbody td.fx-seq { background: #fff; }
/* 表头本来就有 sticky top（全局 thead th），冻结列叠加 left 后层级要压过冻结 td 与普通 th */
table.fx-on thead th.fx-c1, table.fx-on thead th.fx-c2, table.fx-on thead th.fx-seq { z-index: 3; }
/* 斑马行（考试履历 jgv-tbl 偶数行 #fbfcfe）与悬停行的冻结格背景跟行走 */
table.jgv-tbl.fx-on tbody tr:nth-child(even) td.fx-c1,
table.jgv-tbl.fx-on tbody tr:nth-child(even) td.fx-c2,
table.jgv-tbl.fx-on tbody tr:nth-child(even) td.fx-seq { background: #fbfcfe; }
table.fx-on tbody tr:hover td.fx-c1, table.fx-on tbody tr:hover td.fx-c2,
table.fx-on tbody tr:hover td.fx-seq { background: #fafbfd; }

/* ============ F-PC-315 名字点击开档案 + 列宽拖拽 + 右键列显隐（table-fx.js v2，2026-11-17） ============ */
/* 名字列：可点开学员档案，颜色跟品牌链接走，悬停给下划线提示可点 */
table td.fx-name { cursor: pointer; color: var(--brand); font-weight: 500; }
table td.fx-name:hover { text-decoration: underline; }
/* 列宽拖拽手柄：贴在表头右缘，悬停时高亮成竖条 */
.fx-rs {
  position: absolute; top: 0; right: -3px; width: 7px; height: 100%;
  cursor: col-resize; z-index: 4; user-select: none;
}
.fx-rs:hover { background: linear-gradient(90deg, transparent, var(--brand) 60%); opacity: .45; border-radius: 2px; }
/* 拖拽手柄要 absolute 定位在 th 内：全局 thead th 已是 sticky（也是 positioned），不用再设 */
/* fixed 布局下保住省略号与冻结列背景 */
table.fx-fixed { table-layout: fixed; }
table.fx-fixed thead th, table.fx-fixed tbody td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 列显示菜单 / 名字候选浮层 */
.fx-colmenu {
  position: fixed; z-index: 999; min-width: 180px; max-width: 260px; max-height: 60vh; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 30, 60, .18); padding: 8px; font-size: 12.5px;
}
.fx-cm-t { font-weight: 600; color: var(--ink-2); padding: 2px 4px 8px; }
.fx-cm-i { display: block; padding: 4px 6px; border-radius: 5px; cursor: pointer; color: var(--ink); }
.fx-cm-i:hover { background: #f4f7fb; }
.fx-cm-i input { margin-right: 6px; vertical-align: -2px; }
button.fx-cm-i { width: 100%; text-align: left; border: none; background: none; font-size: 12.5px; color: var(--brand); }
.fx-cm-ops { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.fx-cm-ops button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 10px; cursor: pointer; font-size: 12px; color: var(--ink-2); }
.fx-cm-ops button:hover { border-color: var(--brand); color: var(--brand); }

/* ============ F-PC-316 考试管理页级教练筛选（与周期条「按月」组合，2026-11-18） ============ */
.pe-coach-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.pe-coach-label { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.pe-coach-bar .fld-in { width: auto; min-width: 140px; }
.pe-coach-bar .pe-coach-clear { padding: 2px 10px; font-size: 12.5px; }
.pe-coach-hint { color: var(--ink-3); font-size: 12px; }

/* ============ F-PC-319 考试统计横向排列 + 按月统计（2026-11-18 校长） ============ */
/* 横向表：指标做行、科目做列；列宽收窄不再撑满整页 */
table.es-tbl-h { table-layout: fixed; width: auto; min-width: 0; max-width: 520px; }
.es-tbl-h th, .es-tbl-h td { width: 92px; padding: 8px 6px; text-align: center; }
.es-tbl-h .es-idx { width: 76px; text-align: left; }
.es-tbl-h thead th { background: #f8fafc; }
/* 按月统计表 */
.es-mon { margin-top: 18px; }
.es-mhead { margin-bottom: 8px; }
.es-mhead select { width: auto; padding: 2px 6px; font-weight: 600; }
.es-mtbl th, .es-mtbl td { text-align: center; padding: 6px 6px; }
.es-mtbl .es-idx { text-align: left; width: 86px; white-space: nowrap; }
.es-mtbl thead th { background: #f8fafc; }
.es-mcell { white-space: nowrap; }
.es-msep { color: var(--ink-3); margin: 0 3px; }
.es-mzero, .es-mtotal { color: var(--ink-3); }
/* 按月统计数字旁的合格率（F-PC-321）：小字淡色，不抢合格/不合格两个可点数字 */
.es-rate { color: var(--ink-3); font-size: 11px; font-weight: 400; margin-left: 5px; white-space: nowrap; }
.es-msum .es-rate { color: var(--ink-2); }
.es-mtotal { white-space: nowrap; }
.es-msum td { background: #fbfcfe; font-weight: 600; border-top: 2px solid var(--line); }
.es-msum .es-mtotal { color: var(--ink); }

/* F-PC-770 按月 7 指标表：批考/考试/合格/不合格/取消/缺考 六个可点数字 + 合格率。
   单元格更密，字号收窄；取消用橙、缺考用灰蓝区分，都与「不合格」中性色错开。 */
.es-mtbl7 { table-layout: auto; }
.es-mtbl7 th, .es-mtbl7 td { padding: 5px 4px; }
.es-mtbl7 .es-mcell { font-size: 12px; line-height: 1.9; }
.es-mtbl7 .es-mcell .es-num { min-width: 1.4em; }
.es-num-cancel { color: #b45309; text-decoration-color: rgba(180,83,9,.4); }
.es-num-cancel:hover { color: #92400e; }
.es-num-absent { color: #4b6a8a; text-decoration-color: rgba(75,106,138,.4); }
.es-num-absent:hover { color: #2f4a63; }
.es-mtbl7 .es-rate { font-size: 10px; margin-left: 2px; }

/* ============ F-PC-322 按教练统计（月 / 年 / 累计合格率） ============ */
.es-coach { margin-top: 18px; }
.es-coach .es-cs-when { display: inline-flex; gap: 4px; align-items: center; }
.es-coach .es-cs-when[hidden] { display: none; }
.cs-tbl th, .cs-tbl td { text-align: center; padding: 6px 8px; white-space: nowrap; }
.cs-tbl thead th { background: #f8fafc; }
.cs-tbl .es-idx { text-align: left; }
.cs-tbl td b { color: var(--brand); }

/* ============ F-PC-350 学员名册表格收窄 + 翻页条（2026-11-18 校长） ============ */
/* 名册 21 列原 2496px 溢出内容区 1432px，关键列（教练）被挤出屏幕。
 * 收窄：压缩单元格内边距、限制超宽列；教练列已由 app.js 提到姓名后。 */
.roster-main th, .roster-main td { padding: 7px 7px; font-size: 12.5px; }
.roster-main td { max-width: 170px; }
/* 报名时间：报名日期 + 有效期小字，限宽让小字换行而非撑宽整列 */
.roster-main td .cell-sub { display: block; max-width: 150px; white-space: normal; line-height: 1.35; }
/* 备注 / 来源渠道 长文本收窄 */
.roster-main td:nth-last-child(2) { max-width: 120px; }
.stu-pager-wrap { padding: 6px 0 2px; }
.stu-pager { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.stu-pager button { padding: 4px 12px; font-size: 12.5px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; }
.stu-pager button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.stu-pager button[disabled] { opacity: .45; cursor: default; }
.stu-pager .rb-pg { min-width: 84px; text-align: center; font-variant-numeric: tabular-nums; }
.stu-pg-size select { padding: 3px 6px; font-size: 12.5px; border: 1px solid var(--line); border-radius: 5px; }
@media (max-width: 900px) {
  .roster-main th, .roster-main td { padding: 5px 5px; font-size: 11.5px; }
}

/* 2026-11-18 浏览器不支持提示（IE / 兼容模式）：纯 CSS，IE 也能显示 */
.bs-warn{border:1px solid #f0c36d;background:#fff8e6;border-radius:10px;padding:10px 12px;margin:0 0 12px;line-height:1.6}
.bs-warn-t{font-weight:700;color:#a15c00;font-size:14px;margin-bottom:4px}
.bs-warn-b{font-size:12.5px;color:#7a4a00}
.bs-warn b{color:#a15c00}

.wx-refresh { display: block; margin: 0 auto 8px; padding: 4px 16px; font-size: 13px; border: 1px solid #C9D8CF; border-radius: 14px; background: #fff; color: #2F6E4F; cursor: pointer; }
.wx-refresh:hover { background: #EFF6F2; }

/* ---- 科一科四模拟「近期成绩」色块 + 学员档案「练题档案」页签（F-PC-660，2026-11-23） ---- */
.qz5-chip { display: inline-block; min-width: 30px; text-align: center; padding: 2px 7px;
            margin-right: 4px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.qz5-ok { background: #e7f6ee; color: #1FA463; border: 1px solid #9fdcc0; }
.qz5-no { background: #fdecec; color: #d64541; border: 1px solid #f0b6b3; }
.qz-card { background: #f8fafb; border: 1px solid #e3e9ee; border-radius: 10px;
           padding: 12px 14px; margin-bottom: 10px; }
.qz-card > b { color: #1c2430; font-size: 14px; }
.qz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; margin-top: 7px;
           font-size: 13.5px; color: #4a5563; }
.qz-tbl { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13.5px; }
.qz-tbl th, .qz-tbl td { border-bottom: 1px solid #eef2f5; padding: 7px 8px; text-align: left; }
.qz-tbl th { color: #8a94a3; font-weight: 600; }
.dc-sec { font-weight: 700; margin: 14px 0 6px; color: #1c2430; font-size: 13.5px; }

/* ---- 科一科四模拟「已批考日期分组」+「小程序使用统计」面板（F-PC-665，2026-11-23） ---- */
.quiz-batch-panel { margin-top: 14px; }
.qb-sub { font-size: 12.5px; color: #8a94a3; font-weight: 400; margin-left: 10px; }
.qb-list { display: flex; flex-direction: column; gap: 8px; }
.qb-item { border: 1px solid #e3e9ee; border-radius: 10px; overflow: hidden; }
.qb-head { display: flex; align-items: center; gap: 12px; width: 100%; border: 0;
           background: #f8fafb; padding: 10px 14px; cursor: pointer; font-size: 14px; text-align: left; }
.qb-head:hover { background: #eef4f8; }
.qb-head.on { background: #eaf3fb; }
.qb-head b { color: #1c2430; font-size: 15px; }
.qb-date-sub { color: #8a94a3; font-size: 12.5px; }
.qb-meta { color: #4a5563; font-size: 13px; }
.qb-arrow { margin-left: auto; color: #5b7e9d; font-size: 12.5px; }
.qb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qb-table th { background: #fbfcfd; color: #8a94a3; font-weight: 600; text-align: left;
               padding: 7px 10px; border-bottom: 1px solid #eef2f5; }
.qb-table td { padding: 7px 10px; border-bottom: 1px solid #f1f4f7; }
.qb-table td.num, .qb-table th.num { text-align: right; }
.qb-name { color: #1668b3; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.qb-usage-total { background: #f8fafb; border: 1px solid #e3e9ee; border-radius: 8px;
                  padding: 8px 12px; margin-bottom: 10px; font-size: 13.5px; color: #4a5563; }
.qb-usage-total b { color: #1668b3; }
.qb-urow { cursor: pointer; }
.qb-urow:hover td { background: #f4f8fb; }
.qb-urow.on td { background: #eaf3fb; }
.qb-udetail td { background: #fbfcfd; }
.qb-inner { margin: 2px 0 4px; }
.qz-chip { display: inline-block; padding: 4px 12px; margin-right: 6px; border-radius: 14px;
           border: 1px solid #d7dee6; background: #fff; color: #4a5563; cursor: pointer; font-size: 13px; }
.qz-chip.on { background: #1668b3; border-color: #1668b3; color: #fff; }
/* F-PC-668（2026-11-23 校长「像驾校通一样」）：三件套单元格单击复制 + 姓名双击进详情 */
.copy-cell { cursor: copy; }
.copy-cell:hover { color: #1668b3; text-decoration: underline; }
a.stu-link.copy-cell { color: inherit; }
a.stu-link.copy-cell:hover { color: #1668b3; }


/* ===== F-NOTIFY-01（2026-11-24）通知模板 + 今日通知清单 ===== */
.notify-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.notify-head b { font-size:16px; }
.notify-group { margin:16px 0 22px; border:1px solid #e3e8ee; border-radius:8px; padding:12px 14px; background:#fbfcfd; }
.notify-group-title { font-weight:700; color:#245; margin-bottom:10px; font-size:14px; }
.notify-tpl, .notify-row { background:#fff; border:1px solid #e6eaef; border-radius:6px; padding:10px 12px; margin-bottom:10px; }
.notify-tpl-top, .notify-row-top { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:8px; }
.notify-trigger, .notify-reason { color:#6a7a8a; font-size:12px; }
.notify-saved { margin-left:auto; color:#98a4b0; font-size:12px; }
.notify-ta { width:100%; box-sizing:border-box; border:1px solid #d7dee6; border-radius:5px; padding:8px 10px; font-size:13px; line-height:1.7; font-family:inherit; resize:vertical; }
.notify-ta:focus { border-color:#2b7cbd; outline:none; }
.notify-tpl-foot { display:flex; align-items:center; gap:12px; margin-top:8px; flex-wrap:wrap; }
.notify-toggle { font-size:12px; color:#456; }
.notify-tip { background:#f4f9ff; border:1px solid #cfe2f7; border-radius:6px; padding:12px; margin-top:18px; font-size:13px; }
.notify-reftext { white-space:pre-wrap; background:#fff; border:1px dashed #aac4e0; padding:8px; margin:8px 0 0; font-size:13px; line-height:1.7; }
.notify-flag { color:#1a8a4a; font-size:12px; }
.notify-log { padding:6px 0; border-bottom:1px dashed #e6eaef; font-size:12px; }
.notify-preview { background:#f4f9ff; border:1px solid #cfe2f7; border-radius:6px; padding:10px; margin-top:12px; font-size:13px; line-height:1.7; white-space:pre-wrap; min-height:60px; }

/* F-PC-679 云端待办页 + 通用空态 */
.notify-empty { color:#8892a0; font-size:13px; padding:14px; text-align:center; background:#fafbfc; border:1px dashed #e6eaef; border-radius:6px; }
.todo-en-actions { display:flex; align-items:center; gap:10px; margin-top:8px; flex-wrap:wrap; }
.todo-en-actions select, .todo-en-actions input { padding:5px 8px; border:1px solid #d4dae2; border-radius:4px; font-size:13px; }
.todo-en-actions input { flex:1; min-width:120px; }
/* F-PC-750 工资单弹窗：实发行加粗、整单限高滚动 */
.wage-done .wd-total-row b { font-weight: 700; color: #1a7f37; }
.wage-done .wd-total-row span { font-weight: 700; }
.wage-done .kv { max-height: 46vh; overflow-y: auto; }

/* F-WX-28（2026-11-27）：招生报备 · 身份证照片缩略图（点击放大灯箱在 app.js） */
.enroll-idphoto {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  cursor: zoom-in;
  display: block;
  margin-top: 4px;
}
/* F-PC-758（2026-11-27 校长「做一个颜色把已打款标注出来」）：加油记录已打款行
 * 整行绿底浅标（勾选「显示已打款」才出现在列表里，默认收起）；
 * td 背景一并盖掉，防通用表格斑马纹冲掉绿标。 */
.fuel-paid-toggle { padding: 8px 2px 2px; font-size: 13px; color: #5a6472; }
.fuel-paid-toggle label { cursor: pointer; user-select: none; }
tr.fuel-row-paid > td { background-color: #e9f7ee !important; color: #1c6b43; }
tr.fuel-row-paid > td a { color: #1c6b43; }
/* F-PC-764（2026-11-28）：工资台账三段式状态行色——待审核浅黄 / 已审核待发放浅蓝 / 已发放浅绿。
 * 校长「已通过或已发放要标注颜色」。绿底沿用加油已打款同色 #e9f7ee，保持全局口径一致。 */
tr.wage-row-audit > td { background-color: #fff8e6 !important; color: #8a6d1f; }
tr.wage-row-approved > td { background-color: #eaf2ff !important; color: #1f4e9c; }
tr.wage-row-paid > td { background-color: #e9f7ee !important; color: #1c6b43; }
tr.wage-row-paid > td a { color: #1c6b43; }

/* ---- F-PC-771 练车记录页签（2026-11-28 校长）---- */
.pm-st { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.pm-st-ok { background: #e6f6ec; color: #1e7e46; }
.pm-st-wait { background: #fff4e0; color: #b45309; }
.pm-st-bad { background: #fdeaea; color: #b04a4a; }
.pm-op { margin-right: 4px; }
.pm-op-del { color: #b04a4a; }
.dc-card-total { border: 1px dashed #86b7a2; }

/* ===== F-PC-802 已退款学员汇总（2026-11-30）===== */
.rf-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 4px 0 12px; }
.rf-bar label { font-size: 13px; color: #3d4653; }
.rf-bar select, .rf-bar input { margin-left: 6px; padding: 5px 8px; border: 1px solid #d7dbe0; border-radius: 6px; font-size: 13px; background: #fff; }
.rf-bar input { width: 190px; }
.rf-stat { margin-left: auto; font-size: 13px; color: #3d4653; }
.rf-stat b { color: #2c6ecb; }
.rf-years { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.rf-ybtn { border: 1px solid #d7dbe0; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; color: #3d4653; }
.rf-ybtn b { color: #c0392b; }
.rf-ybtn.on { background: #2c6ecb; border-color: #2c6ecb; color: #fff; }
.rf-ybtn.on b { color: #fff; }
.rf-scroll { max-height: 560px; overflow: auto; border: 1px solid #e3e6ea; border-radius: 10px; }
.rf-t { border-collapse: collapse; width: 100%; font-size: 13px; background: #fff; }
.rf-t th { position: sticky; top: 0; background: #f0f3f7; text-align: left; padding: 9px 10px; font-weight: 600; color: #3d4653; border-bottom: 1px solid #e3e6ea; white-space: nowrap; }
.rf-t td { padding: 8px 10px; border-bottom: 1px solid #eef0f3; }
.rf-t tr:last-child td { border-bottom: none; }
.rf-t .n { text-align: right; font-variant-numeric: tabular-nums; }
.rf-t .idc { font-family: ui-monospace, Consolas, monospace; letter-spacing: .3px; }
.rf-amt { color: #c0392b; font-weight: 600; }
.rf-bad { color: #c0392b; font-weight: 600; }
.rf-foot { margin-top: 10px; font-size: 12.5px; color: #68707c; line-height: 1.7; }

/* ---- F-PC-866 沟通记录截图（学员档案最下面那一块） ---- */
.comm-wrap { border: 1px solid #e3e7ee; border-radius: 8px; padding: 10px 12px; background: #fbfcfe; }
.comm-ops { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.comm-list { display: flex; flex-wrap: wrap; gap: 12px; min-height: 40px; }
.comm-i { position: relative; width: 168px; border: 1px solid #e3e7ee; border-radius: 6px; overflow: hidden; background: #fff; }
.comm-i img { display: block; width: 100%; height: 118px; object-fit: cover; background: #f2f4f8; }
.comm-meta { padding: 4px 6px; font-size: 11.5px; color: #68707c; line-height: 1.45; word-break: break-all; }
.comm-del { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 4px; padding: 2px 7px;
  font-size: 11.5px; color: #fff; background: rgba(192,57,43,.86); cursor: pointer; }
.comm-del:hover { background: #c0392b; }
.comm-noimg { height: 118px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #97a0ad; text-align: center; background: #f2f4f8; }
.comm-refresh { align-self: center; }

/* F-PC-874（2026-11-30）：受理成功待确认受理费的醒目提示条 */
/* i深圳 受理进度六格（F-WX-154，2026-12-02 校长「6 格有必要加」）—— 前台点勾、学员端同源 */
.acc-row { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 4px; }
.acc-chip { border:1px solid #d7dde3; background:#f7f9fb; color:#5b6672; border-radius:16px;
  padding:6px 12px; font-size:13px; line-height:1.2; cursor:pointer; }
.acc-chip:disabled { opacity:.55; cursor:default; }
.acc-chip--done { border-color:#2fa84f; background:#eef8f1; color:#1f7d3b; font-weight:600; }
.acc-chip i { font-style:normal; opacity:.7; font-size:11px; margin-left:6px; }
.acc-pending { border:1px solid #f0c36d; background:#fff8e6; border-radius:8px; padding:10px 12px; margin:6px 0 8px; }
.acc-pending-t { font-size:14px; font-weight:600; color:#8a5300; }
.acc-pending-src { margin-left:8px; font-size:12px; font-weight:400; color:#a07428; }
.acc-pending-s { margin-top:4px; font-size:13px; color:#6b4a12; line-height:1.6; }
.acc-pending .gov-ops { margin-top:8px; }

/* F-PC-875（2026-11-30 校长）：名册姓名下方「车管所已受理」标记 + 行内确认受理入口 */
.acc-wait { display:block; margin-top:2px; font-size:11px; font-weight:400; color:#8a5300; line-height:1.5; white-space:nowrap; }
.acc-go { display:inline-block; margin-top:1px; font-size:11px; color:#c2410c; text-decoration:underline; white-space:nowrap; }
.acc-go:hover { color:#9a3412; }

/* F-PC-886（2026-11-30 校长）：名册姓名下方红字「待交服务费」标记（点一下确认已交后清除） */
.svc-wait { display:block; margin-top:2px; font-size:11px; font-weight:600; color:#c0392b; line-height:1.5; white-space:nowrap; text-decoration:none; }
.svc-wait::before { content:'🔴 '; font-weight:400; }
.svc-wait:hover { text-decoration:underline; color:#991b1b; }

/* ===== F-PC-902（2026-12-01 校长）：车辆档案弹窗 —— 行驶证 + 年审/综合检 + 档案图 =====
 * 校长要的三件事在这一个弹窗里：①有效期截止日期（顶部大字 + 剩余天数）
 * ②证件原文（照行驶证顺序排，两列）③年审图片（缩略图，点开原图）。 */
.va-wrap { font-size: 13px; }
.va-top { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px; background: #f6f8fb; border: 1px solid #e6eaf0;
  margin-bottom: 10px; flex-wrap: wrap; }
.va-top-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.va-k { color: #6b7280; }
.va-top-l .va-v { font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.va-top-r { color: #6b7280; }
.va-tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; }
.va-tag.va-ok { color: #0a7a3d; background: #e8f7ee; border-color: #bfe6cf; }
.va-tag.va-warn { color: #8a5b00; background: #fdf3dd; border-color: #f2dfae; }
.va-tag.va-bad { color: #b3261e; background: #fdecea; border-color: #f5c6c2; }
.va-h { margin: 12px 0 4px; font-weight: 600; color: #1f2937; }
.va-hint { font-weight: 400; color: #6b7280; margin-left: 6px; font-size: 12px; }
.va-kv { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.va-docs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.va-fig { margin: 0; width: 200px; border: 1px solid #e6eaf0; border-radius: 10px;
  overflow: hidden; background: #fff; }
.va-fig img { width: 100%; height: 140px; object-fit: cover; display: block; }
.va-fig figcaption { padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.va-fig figcaption b { font-weight: 600; }
.va-fig-name { color: #6b7280; }
.va-fig-at { color: #9aa3af; font-size: 11px; }
.va-empty { color: #6b7280; padding: 8px 0; line-height: 1.7; }
.va-noimg { height: 140px; display: flex; align-items: center; justify-content: center;
  color: #97a0ad; background: #f2f4f8; text-align: center; padding: 0 8px; font-size: 12px; }
.va-miss { margin-top: 10px; padding: 8px 12px; border-radius: 8px;
  background: #fdf3dd; border: 1px solid #f2dfae; color: #8a5300; }
.va-cell b { font-weight: 600; }
.va-cell .cell-sub { display: block; font-size: 11px; color: #6b7280; }
.va-cell.va-warn b { color: #8a5b00; }
.va-cell.va-bad b { color: #b3261e; }

/* ★ 2026-12-01 13:48 校长「保险公司的报案电话我没有看到啊」：
 * 报案电话单独强调（等宽 + 加粗），出险时一眼能抄下来，不会看成别的数字。 */
.va-tel { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .5px; color: #b3261e; }

/* ★ F-PC-905（2026-12-01 校长「统计看板里面的数据全部被清空了」）：
 * 「数据截至 HH:MM」+「刷新」。这行数字的时间必须看得见 ——
 * 没有时间戳，隔几个小时回来看就会把旧快照当成「数据没了」。 */
.sb-at { margin-left: auto; color: #6b7280; font-size: 12px; }
.sb-refresh { margin-left: 8px; padding: 2px 10px; font-size: 12px; line-height: 20px;
  border: 1px solid #cbd5e1; background: #fff; color: #2563eb; border-radius: 999px; cursor: pointer; }
.sb-refresh:hover { background: #eff6ff; border-color: #93c5fd; }
/* ★ F-PC-914：本月无流水自动切「今年」时的说明条。
   要点：一眼看得出「不是你点错了、是我替你切了」，并且给得回本月的出口。 */
.sb-auto-note { display: flex; align-items: center; gap: 12px; padding: 2px 0;
  font-size: 13px; color: #92400e; }
.sb-auto-txt { flex: 1; line-height: 1.6; }
.sb-auto-back { flex: none; padding: 3px 12px; font-size: 12px; line-height: 20px;
  border: 1px solid #fcd34d; background: #fffbeb; color: #92400e;
  border-radius: 999px; cursor: pointer; }
.sb-auto-back:hover { background: #fef3c7; border-color: #f59e0b; }
/* F-PC-1049 工资台账导出工具条（2026-12-04 校长「每个月做账要导出工资表」） */
.wage-export-bar { margin-bottom: 10px; }
.wage-export-bar .panel-body { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.wage-export-bar .wage-month { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.wage-export-bar .wage-export-hint { color: var(--ink-3); font-size: 12px; }
/* ★ F-PC-1066（2026-12-04 20:2x 校长「信息不够全面…然后才是客服输入本次实收」）：
   转正式报名弹窗顶部的只读信息卡 —— 两列自适应，一行一标签一值。
   号码/班别这类长值自动换行，不撑破弹窗；券那一行高亮（那是要核销的钱）。 */
.kv-card { border: 1px solid #dbe3ef; background: #f8fafc; border-radius: 8px;
  padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.kv-row { display: flex; gap: 8px; font-size: 13px; line-height: 1.6; min-width: 0; }
.kv-k { flex: none; width: 88px; color: #64748b; }
.kv-v { flex: 1; color: #0f172a; font-weight: 600; word-break: break-all; }
.kv-hl .kv-v { color: #b45309; }
.kv-note { grid-column: 1 / -1; color: #94a3b8; font-size: 12px; margin-top: 2px; }
@media (max-width: 720px) { .kv-card { grid-template-columns: 1fr; } }
