:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --line: #e7eaf0;
  --brand: #26326e;
  --soft: #f7f9fc;
  --warn-soft: #fffbe6;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Arial, sans-serif; }

.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ---------- 布局 ---------- */
.app-sider { border-right: 1px solid var(--line); position: sticky !important; top: 0; height: calc(100vh / var(--zoom, 1)); overflow: auto; z-index: 20; }
.app-sider .ant-menu { border-inline-end: 0 !important; }
.app-sider .ant-menu-title-content { white-space: normal; line-height: 1.35; }
.app-sider .ant-menu-item { height: auto !important; min-height: 40px; padding-top: 8px; padding-bottom: 8px; line-height: 1.35 !important; }
.sider-brand { display: flex; gap: 10px; align-items: center; padding: 16px 16px 12px; cursor: pointer; }
.sider-brand-text { font-weight: 600; line-height: 1.3; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; letter-spacing: .5px; flex: none; }
.logo-img { border-radius: 10px; object-fit: cover; flex: none; display: block; }
.logo-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
.app-header { background: var(--panel) !important; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 20px !important; height: auto !important; min-height: 56px; line-height: normal !important; flex-wrap: wrap; position: sticky; top: 0; z-index: 10; }
.app-content { padding: 20px; min-width: 0; }

.page-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.page-title { font-size: 20px; font-weight: 600; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.flag-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.flag-bar .ant-tag-checkable { border: 1px solid var(--line); padding: 2px 12px; background: #fff; border-radius: 14px; margin-inline-end: 0; }
.flag-bar .flag-more { padding: 2px 8px; font-size: 13px; white-space: nowrap; }
.flag-bar .ant-tag-checkable-checked { background: var(--brand); border-color: var(--brand); }

.ant-table-wrapper { background: var(--panel); border-radius: 8px; }
.row-muted td { color: #aaa !important; text-decoration: line-through; }
.row-today td { background: #f0f7ff !important; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 0 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-content { padding: 12px; }
  .app-header { padding: 8px 12px !important; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}
.soft-box { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 12px 0; margin-bottom: 16px; }
.warn-box { background: var(--warn-soft); border-color: #ffe58f; }
.slot-row { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.conflict-row { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.mini-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.mini-row:last-child { border-bottom: 0; }
.stat-card .ant-statistic-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-card .ant-statistic-content { font-size: 22px; }

/* ---------- 报名进度 ---------- */
.steps-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.step { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--muted); user-select: none; }
.step.clickable { cursor: pointer; }
.step.clickable:hover { border-color: var(--brand); }
.step .step-icon { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #c9ced6; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.step.on { color: #135200; border-color: #b7eb8f; background: #f6ffed; }
.step.on .step-icon { background: #52c41a; border-color: #52c41a; color: #fff; }
.progress-dots { display: inline-flex; gap: 3px; margin: 0 6px; vertical-align: middle; }
.progress-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #dfe3ea; display: inline-block; }
.progress-dots .dot.on { background: #52c41a; }
.paid { color: #389e0d; font-weight: 600; }
.unpaid { color: #d46b08; }
.enroll-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }

/* ---------- 课程颜色 ---------- */
.lc { border-left: 4px solid; border-radius: 6px; padding: 4px 8px; cursor: pointer; overflow: hidden; }
.lc.c0 { background: #e8f1ff; border-color: #1f6feb; }
.lc.c1 { background: #e9f8ef; border-color: #1a7f37; }
.lc.c2 { background: #fff4e5; border-color: #d46b08; }
.lc.c3 { background: #f6eeff; border-color: #8250df; }
.lc.c4 { background: #ffeef0; border-color: #cf222e; }
.lc.c5 { background: #e6f7f7; border-color: #0e8a8a; }
.lc.c6 { background: #fdf6d8; border-color: #9a6700; }
.lc.c7 { background: #eef1f5; border-color: #57606a; }
.lc.done { opacity: .62; }
.lc:hover { filter: brightness(.97); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.lc-title { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-sub, .lc-time { font-size: 11px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-time { font-weight: 600; }

/* ---------- 日视图时间轴 ---------- */
.timeline-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.tl-row { display: flex; border-bottom: 1px solid var(--line); min-height: 56px; }
.tl-row.empty { min-height: 40px; }
.tl-row.empty .tl-label { color: var(--muted); }
.tl-head { min-height: 30px; position: sticky; top: 0; background: #fafbfc; z-index: 2; }
.tl-label { width: 170px; flex: none; padding: 8px 10px; border-right: 1px solid var(--line); font-size: 13px; background: #fff; }
.tl-head .tl-label { background: #fafbfc; }
.tl-track { position: relative; flex: 1; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-repeat: repeat-x; }
.tl-hour { position: absolute; top: 7px; font-size: 11px; color: var(--muted); transform: translateX(3px); }
.tl-block { position: absolute; top: 5px; bottom: 5px; padding: 3px 6px; }

/* ---------- 周视图 ---------- */
.week-wrap { overflow-x: auto; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 8px; min-width: 940px; }
.week-col { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-height: 160px; display: flex; flex-direction: column; gap: 6px; }
.week-col.today { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.week-head { font-size: 13px; padding-bottom: 4px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.week-count { margin-left: auto; background: var(--brand); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11px; }
.week-card { padding: 5px 7px; }

/* ---------- 新手教程 ---------- */
.tour-list { display: flex; flex-direction: column; gap: 8px; }
.tour-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.tour-item:hover { border-color: var(--brand); box-shadow: 0 2px 8px rgba(38, 50, 110, .08); }
.tour-icon { width: 38px; height: 38px; border-radius: 10px; background: #eef1fa; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.tour-title { font-weight: 600; white-space: pre-line; }
.ant-tour { max-width: min(420px, calc(100vw - 32px)); }

/* ---------- 使用手册 ---------- */
.help-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.help-toc { position: sticky; top: 72px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.help-toc a { color: var(--text); font-size: 13px; line-height: 1.4; }
.help-toc a:hover { color: var(--brand); }
.help-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.help-section { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; scroll-margin-top: 72px; line-height: 1.75; }
.help-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 8px; }
.help-section h2 { font-size: 18px; margin: 0; }
.help-h3 { font-size: 15px; margin: 16px 0 6px; color: var(--brand); }
.help-lang.multi { border-left: 3px solid var(--line); padding-left: 12px; margin: 12px 0 18px; }
.help-section p { margin: 6px 0; }
.help-section ol, .help-section ul { margin: 6px 0; padding-left: 22px; }
.help-table-wrap { overflow-x: auto; margin: 8px 0; }
.help-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.help-table th, .help-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.help-table th { background: var(--soft); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); }
  .help-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
}

/* ---------- 周视图（时间轴） ---------- */
.tw-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.tw-wrap { max-height: calc(100vh - 220px); overflow: auto; }
.tw-grid { display: grid; width: max-content; min-width: 100%; }
.tw-corner, .tw-head { position: sticky; top: 0; background: #fafbfc; border-bottom: 1px solid var(--line); z-index: 4; }
.tw-corner, .tw-gutter { position: sticky; left: 0; background: var(--panel); z-index: 5; }
.tw-gutter { z-index: 3; }
.tw-head { padding: 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; border-left: 1px solid var(--line); }
.tw-head.today { background: #eef1fa; }
.tw-gutter { position: relative; }
.tw-hour { position: absolute; right: 6px; transform: translateY(-1px); font-size: 11px; color: var(--muted); }
.tw-col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-repeat: repeat-y; }
.tw-col.today { background-color: #f7f9ff; }
.tw-card { position: absolute; padding: 3px 6px; box-sizing: border-box; overflow: hidden; z-index: 1; }
.tw-card:hover { z-index: 3; }
.tw-stack { background: #eef1fa; border: 1px solid #c9d0e8; border-left: 4px solid var(--brand); border-radius: 6px; cursor: pointer; }
.tw-stack:hover { background: #e3e8f7; }
.tw-pop { display: flex; flex-direction: column; gap: 5px; max-height: 380px; overflow: auto; width: 300px; }
.tw-pop-item { padding: 4px 8px; font-size: 12px; }

/* ---------- 月视图 ---------- */
.mv-wrap { overflow-x: auto; }
.mv-grid { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); min-width: 860px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--panel); border-radius: 8px; overflow: hidden; }
.mv-head { padding: 8px; font-size: 13px; font-weight: 600; background: #fafbfc; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mv-cell { min-height: 118px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.mv-cell.other { background: #fafbfc; }
.mv-cell.other .mv-date span:first-child { color: #b6bcc6; }
.mv-cell.today { box-shadow: inset 0 0 0 2px var(--brand); }
.mv-date { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; cursor: pointer; }
.mv-date:hover { color: var(--brand); }
.mv-count { background: var(--brand); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 11px; font-weight: 400; }
.mv-item { font-size: 11px; padding: 1px 5px; border-left-width: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-more { font-size: 11px; }

/* ---------- 班级进度、开班准备 ---------- */
.progress-box { margin-top: 12px; padding: 10px 12px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.progress-box-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.prep-list { display: flex; flex-direction: column; gap: 8px; }
.prep-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.prep-item.on { background: #f6ffed; border-color: #b7eb8f; }
.prep-label { font-weight: 600; }

/* ---------- 登录 ---------- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: linear-gradient(135deg, #e9ecf7 0%, #f6f7fb 55%, #eef1fa 100%); }
.login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 10px 40px rgba(38, 50, 110, .12); }
.login-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.brand-name { font-size: 20px; font-weight: 700; }

/* 意见反馈 */
.fb-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.fb-file { position: relative; width: 104px; padding: 4px; border: 1px solid #f0f0f0; border-radius: 6px; text-align: center; background: #fafafa; }
.fb-file img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; display: block; }
.fb-file > .anticon { display: block; height: 72px; line-height: 72px; }
.fb-file-name { font-size: 12px; color: #595959; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.fb-file-del { position: absolute; top: -8px; right: -8px; color: #8c8c8c; font-size: 16px; background: #fff; border-radius: 50%; line-height: 1; }
.fb-file-del:hover { color: #cf1322; }
.fb-block { margin-bottom: 14px; }
.fb-block-title { font-weight: 600; color: #26326e; margin-bottom: 4px; }
.fb-block-body { white-space: pre-wrap; word-break: break-word; line-height: 1.7; background: #fafafa; border-radius: 6px; padding: 8px 12px; }
.fb-manage { margin-top: 18px; padding: 12px; border: 1px solid #d6e4ff; background: #f5f8ff; border-radius: 8px; }
/* 弹窗：按住标题栏拖动，右下角拖动放大缩小 */
/* 长表单里的分组标题 */
.form-section { margin: 4px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
/* 开班跟进：还有项目没勾的学员 */
.row-warn > td { background: #fff7e6 !important; }
/* 登记付款：价格 × 汇率 − 折扣 − PPh 一行计算 */
.calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 16px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; }
/* 批量登记付款：发票算法 + 实收 / 分摊核对 */
.batch-sum { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.2fr); gap: 16px; margin-top: 12px; }
.batch-calc { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.batch-calc > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.batch-calc .batch-grand { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; font-size: 15px; }
.batch-total { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
@media (max-width: 720px) { .batch-sum { grid-template-columns: 1fr; } }
.drag-modal .ant-modal-header { cursor: move; user-select: none; flex: none; }
/* 标题栏和底部按钮固定，只有中间内容滚动：表单再长也随时能按住标题栏拖动 */
.drag-modal > .ant-modal-content { resize: both; overflow: hidden; display: flex; flex-direction: column; min-width: 320px; min-height: 160px; max-width: 96vw; max-height: calc((100vh - 48px) / var(--zoom, 1)); }
.drag-modal > .ant-modal-content > .ant-modal-body { flex: 1 1 auto; min-height: 0; overflow: auto; margin-right: -12px; padding-right: 12px; }
.drag-modal > .ant-modal-content > .ant-modal-footer { flex: none; }

/* 列表批量操作条 */
.batch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 8px; background: #e6f4ff; border: 1px solid #91caff; border-radius: 6px; }
.delete-names { max-height: 200px; overflow: auto; padding: 6px 10px; background: #fff1f0; border-radius: 6px; margin-top: 4px; }

/* 试听 */
.trial-row { padding: 8px 10px; border: 1px solid #f0f0f0; border-radius: 6px; margin-bottom: 8px; }
.trial-hint { margin: 2px 0; color: #08979c; }

/* 信箱 */
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1677ff; }
.inbox-meta > div { margin-bottom: 6px; }
.inbox-body { white-space: pre-wrap; padding: 12px 14px; background: #fafafa; border-radius: 6px; margin-top: 8px; line-height: 1.7; }
.inbox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border: 1px dashed #d9d9d9; border-radius: 6px; }
.inbox-reply { white-space: pre-wrap; margin-top: 4px; padding: 6px 10px; background: #f5f7ff; border-radius: 6px; }
.inbox-reply-box { margin-top: 8px; }

/* 左侧菜单右边的红色数字 */
.menu-label { display: inline-flex; align-items: center; justify-content: space-between; width: calc(100% - 4px); gap: 8px; }
.menu-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ff4d4f; color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 600; }

/* 付款凭证 */
.pay-files { outline: none; border: 1px dashed #d9d9d9; border-radius: 6px; padding: 8px; }
.pay-files:focus { border-color: #2f4bb5; background: #f7f9ff; }
.pay-files-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pay-file { position: relative; width: 84px; height: 84px; border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.pay-file img { width: 84px; height: 84px; object-fit: cover; display: block; }
.pay-file-pdf { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; padding: 4px; text-align: center; word-break: break-all; color: #555; }
.pay-file-pdf .anticon { font-size: 22px; }
.pay-file.pending { border-style: dashed; }
.pay-file.add { cursor: pointer; flex-direction: column; gap: 4px; color: #888; border-style: dashed; }
.pay-file-del { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 9px; background: rgba(0,0,0,.45); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 10px; }

/* 咨询群 */
.group-box { padding: 10px 12px; border: 1px solid #b5f5ec; background: #e6fffb; border-radius: 6px; margin-bottom: 12px; }
.group-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; }

/* 缩放后整页仍然铺满屏幕 */
.app-layout { min-height: calc(100vh / var(--zoom, 1)) !important; }

/* 老师证件照 */
.teacher-photo-row { display: flex; gap: 20px; align-items: flex-start; }
.teacher-photo { width: 120px; flex: none; margin-bottom: 12px; }
.teacher-photo-box { width: 120px; height: 150px; border: 1px dashed #c9cfdc; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; overflow: hidden; background: #fafbfd; }
.teacher-photo-box:hover { border-color: #1f2a5c; }
.teacher-photo-box img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .teacher-photo-row { flex-direction: column; gap: 0; } }

/* 排课表日视图：按教学点分组、线上线下分区 */
.tl-section { padding: 6px 12px; font-weight: 600; font-size: 13px; background: #eef1f7; color: #1f2a5c; border-bottom: 1px solid var(--line); position: sticky; left: 0; }
.tl-section.online { background: #e8f3ff; color: #0958d9; }
.tl-group { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #f6f7fa; border-bottom: 1px solid var(--line); cursor: pointer; user-select: none; position: sticky; left: 0; }
.tl-group:hover { background: #eef0f5; }
.tl-group.online { background: #f3f8ff; }
.teacher-detail-head { display: flex; gap: 16px; align-items: flex-start; }
.teacher-detail-photo { flex: none; width: 120px; }
.teacher-photo-empty { cursor: default; }
.teacher-photo-initial { font-size: 40px; font-weight: 600; color: #1f2a5c; opacity: .35; line-height: 1.2; }
@media (max-width: 600px) { .teacher-detail-head { flex-direction: column; } }

/* 基础设置：教学点拖拽排序、展开教室 */
.drag-handle { cursor: grab; color: #999; padding: 2px 4px; }
tr.dragging > td { opacity: .45; }
tr.drag-over > td { box-shadow: inset 0 2px 0 #1f2a5c; }
.loc-rooms { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; padding: 2px 0 2px 36px; }

/* 学员名单：点击修改上课节次、批量操作条 */
.edit-cell { color: inherit; }
.edit-cell .anticon { color: #bbb; font-size: 12px; }
.edit-cell:hover .anticon { color: #1f2a5c; }
.bulk-bar { display: flex; align-items: center; gap: 12px; padding: 6px 12px; background: #f3f6fc; border: 1px solid #dbe3f1; border-radius: 6px; }

/* 班级人数变动：蓝色增加、红色减少 */
.head-change { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hc-up { color: #1677ff; font-weight: 600; }
.hc-down { color: #cf1322; font-weight: 600; }
.hc-dot { width: 6px; height: 6px; border-radius: 50%; background: #fa8c16; display: inline-block; }

/* 企业班学员：名字橙色、企业付款待到账灰色（不是催款） */
a.corp-name, a.corp-name b { color: #d46b08; }
.corp-wait { color: #8c8c8c; }
.corp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.corp-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; display: flex; gap: 10px; align-items: flex-start; }
.corp-item.on { border-color: #b7eb8f; background: #f6ffed; }

/* 付款凭证：点击看大图 */
.pay-file img { cursor: zoom-in; }
.pay-file-zoom { position: absolute; left: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 10px; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; pointer-events: none; }
.pay-file .pay-file-del { cursor: pointer; z-index: 2; }

/* 停课 / 转班 / 补考：上方的操作入口 */
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.susp-left { font-weight: 600; }

/* 班级学员名单：姓名、微信名一行显示，太长省略（鼠标放上去看全） */
.roster-name, .roster-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
