/* ==========================================================================
   钜蛋科普基地 · 教培管理系统 —— 主题样式
   复刻自原系统（主色 #F56818 / 侧栏 #001529 / 表头 #F5F5F5）
   ========================================================================== */

:root {
  --primary: #f56818;
  --primary-hover: #ff7f36;
  --primary-active: #d75b15;
  --primary-1: #fff2e8;
  --primary-2: #ffd8bf;
  --sider-bg: #001529;
  --sider-sub-bg: #000c17;
  --page-bg: #f0f2f5;
  --border: #e8e8e8;
  --text: rgba(0, 0, 0, .65);
  --text-strong: rgba(0, 0, 0, .85);
}

html, body, #app { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px; color: var(--text); background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------------- 主色覆盖 ---------------- */
.ant-btn-primary { background-color: var(--primary); border-color: var(--primary); }
.ant-btn-primary:hover, .ant-btn-primary:focus { background-color: var(--primary-hover); border-color: var(--primary-hover); }
.ant-btn-primary:active { background-color: var(--primary-active); border-color: var(--primary-active); }
.ant-btn-primary[disabled] { background-color: #f5f5f5; border-color: #d9d9d9; color: rgba(0,0,0,.25); }
.ant-btn-link { color: var(--primary); }
.ant-btn-link:hover { color: var(--primary-hover); }

.ant-checkbox-checked .ant-checkbox-inner,
.ant-checkbox-indeterminate .ant-checkbox-inner::after { background-color: var(--primary); border-color: var(--primary); }
.ant-checkbox-checked::after { border-color: var(--primary); }
.ant-checkbox-wrapper:hover .ant-checkbox-inner,
.ant-checkbox:hover .ant-checkbox-inner { border-color: var(--primary); }

.ant-radio-checked .ant-radio-inner { border-color: var(--primary); }
.ant-radio-inner::after { background-color: var(--primary); }
.ant-radio-wrapper:hover .ant-radio-inner { border-color: var(--primary); }
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  color: #fff; background: var(--primary); border-color: var(--primary);
}
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  color: #fff; background: var(--primary-hover); border-color: var(--primary-hover);
}
.ant-radio-button-wrapper:hover { color: var(--primary); }

.ant-input:hover, .ant-input:focus, .ant-input-focused { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(245,104,24,.2); }
.ant-select-selection:hover, .ant-select-selection:focus, .ant-select-open .ant-select-selection { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(245,104,24,.2); }
.ant-select-dropdown-menu-item-active,
.ant-select-dropdown-menu-item-selected { background-color: var(--primary-1); color: var(--text-strong); font-weight: 600; }
.ant-select-dropdown-menu-item:hover { background-color: #f5f5f5; }
.ant-select-focused .ant-select-selection, .ant-select-selection:active { border-color: var(--primary); }

.ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled) { border-color: var(--primary); }
.ant-calendar-today .ant-calendar-date { color: var(--primary); border-color: var(--primary); }
.ant-calendar-selected-day .ant-calendar-date { background: var(--primary); color: #fff; }
.ant-calendar-selected-start-date .ant-calendar-date,
.ant-calendar-selected-end-date .ant-calendar-date { background: var(--primary); }
.ant-calendar-range .ant-calendar-in-range-cell::before { background: var(--primary-1); }

.ant-tabs-tab:hover { color: var(--primary-hover); }
.ant-tabs-tab-active, .ant-tabs-tab-active:hover { color: var(--primary); }
.ant-tabs-ink-bar { background-color: var(--primary); }
.ant-tabs.ant-tabs-card .ant-tabs-tab-active { color: var(--primary); }

.ant-pagination-item:hover, .ant-pagination-item:focus { border-color: var(--primary); }
.ant-pagination-item:hover a, .ant-pagination-item:focus a { color: var(--primary); }
.ant-pagination-item-active { border-color: var(--primary); background: #fff; }
.ant-pagination-item-active a, .ant-pagination-item-active:focus a, .ant-pagination-item-active:hover a { color: var(--primary); }
.ant-pagination-prev:hover .ant-pagination-item-link, .ant-pagination-next:hover .ant-pagination-item-link { border-color: var(--primary); color: var(--primary); }
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,
.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon { color: var(--primary); }

.ant-spin-dot i { background-color: var(--primary); }
.ant-switch-checked { background-color: var(--primary); }
.ant-tag-orange { color: var(--primary); background: var(--primary-1); border-color: var(--primary-2); }
.ant-message-success .anticon, .ant-alert-info .anticon { color: var(--primary); }
.ant-modal-confirm .ant-modal-confirm-btns .ant-btn-primary { background: var(--primary); border-color: var(--primary); }
.ant-form-item-required::before { color: #f5222d; }
.ant-input-search .ant-input:hover, .ant-input-search .ant-input:focus { border-color: var(--primary); }
.ant-input-search .ant-input-search-icon:hover { color: var(--primary); }
.ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover { background-color: var(--primary-1); }
.ant-tooltip-inner { background-color: #333; }

/* ---------------- 登录页 ---------------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #f5f7fa; position: relative; overflow: hidden;
}
.login-particles { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.login-box { width: 276px; position: relative; z-index: 2; }
.login-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.login-brand img { width: 42px; height: 42px; margin-right: 10px; }
.login-brand span { font-size: 26px; color: #2c2c2c; letter-spacing: 1px; }
.login-box .ant-input-affix-wrapper { margin-bottom: 14px; }
.login-box .ant-input { height: 40px; font-size: 14px; }
.login-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.login-row a { color: var(--primary); }
.login-box .ant-btn-lg { height: 40px; font-size: 15px; width: 100%; }
.login-footer { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #bfbfbf; font-size: 12px; }

/* ---------------- 选校页 ---------------- */
.school-wrap { min-height: 100vh; background: var(--page-bg); }
.school-header {
  height: 48px; background: #fff; display: flex; align-items: center;
  justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--border);
}
.school-header .brand { display: flex; align-items: center; font-size: 15px; color: var(--text-strong); }
.school-header .brand img { width: 22px; height: 22px; margin-right: 8px; }
.school-header .right { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 14px; }
.school-body { padding: 32px 60px; }
.school-title { font-size: 16px; color: var(--text-strong); font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.school-title .campus-entry { font-size: 12px; color: #999; font-weight: 400; margin-left: 40px; }
.school-title .campus-entry a { color: var(--primary); }
.school-card {
  width: 200px; height: 62px; background: #fff; border: 1px solid var(--border); border-radius: 4px;
  display: flex; align-items: center; padding: 0 12px; cursor: pointer; transition: all .2s;
}
.school-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.09); border-color: var(--primary-2); }
.school-card img { width: 30px; height: 30px; margin-right: 10px; }
.school-card .nm { font-size: 14px; color: var(--text-strong); }
.school-card .sub { font-size: 12px; color: #999; }

/* ---------------- 侧栏菜单（深色 + 橙色选中） ---------------- */
.layout-sider .ant-menu-dark { background: var(--sider-bg); }
.layout-sider .ant-menu-dark .ant-menu-item,
.layout-sider .ant-menu-dark .ant-menu-submenu-title { color: rgba(255,255,255,.72); font-size: 13px; height: 36px; line-height: 36px; margin: 0; }
.layout-sider .ant-menu-dark .ant-menu-item a,
.layout-sider .ant-menu-dark .ant-menu-submenu-title a { color: rgba(255,255,255,.72); }
.layout-sider .ant-menu-dark .ant-menu-item:hover,
.layout-sider .ant-menu-dark .ant-menu-submenu-title:hover { background: rgba(255,255,255,.08); color: #fff; }
.layout-sider .ant-menu-dark .ant-menu-submenu-title:hover > span,
.layout-sider .ant-menu-dark .ant-menu-submenu-title:hover .anticon { color: #fff; }
.layout-sider .ant-menu-dark .ant-menu-item-selected,
.layout-sider .ant-menu-dark .ant-menu-item-selected:hover { background: var(--primary) !important; color: #fff !important; }
.layout-sider .ant-menu-dark .ant-menu-item-selected a,
.layout-sider .ant-menu-dark .ant-menu-item-selected .anticon { color: #fff !important; }
.layout-sider .ant-menu-dark .ant-menu-item-selected::after { border-right: 0 !important; }
.layout-sider .ant-menu-dark .ant-menu-sub { background: var(--sider-sub-bg); }
.layout-sider .ant-menu-inline .ant-menu-item,
.layout-sider .ant-menu-inline .ant-menu-submenu-title { width: 100%; }
.layout-sider .ant-menu-dark .ant-menu-item .anticon,
.layout-sider .ant-menu-dark .ant-menu-submenu-title .anticon { min-width: 16px; margin-right: 10px; font-size: 14px; }
.layout-sider .ant-menu-dark .ant-menu-submenu-arrow { color: rgba(255,255,255,.45); }
.layout-sider .ant-menu-dark .ant-menu-submenu-open .ant-menu-submenu-title { color: #fff; }

/* ---------------- 主框架 ---------------- */
.layout { min-height: 100vh; }
.layout-sider { background: var(--sider-bg); width: 180px; flex: 0 0 180px; }
.layout-sider .logo { display: flex; align-items: center; height: 48px; padding: 0 16px; color: #fff; }
/* 深色侧栏下给 logo 加白色圆底以保证对比度 */
.layout-sider .logo img { width: 26px; height: 26px; margin-right: 9px; background: #fff; border-radius: 50%; padding: 2px; box-sizing: border-box; flex: 0 0 auto; }
.layout-sider .logo span { font-size: 15px; color: #fff; letter-spacing: .5px; white-space: nowrap; }
.layout-header {
  height: 64px; background: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 0; border-bottom: 0;
}
.layout-header .trigger { font-size: 16px; cursor: pointer; color: var(--text-strong); }
.layout-header .right { display: flex; align-items: center; font-size: 13px; }
.layout-header .right .divider { width: 1px; height: 16px; background: #e8e8e8; margin: 0 14px; }
.layout-header .right .link { color: var(--text); cursor: pointer; }
.layout-header .right .link:hover { color: var(--primary); }
.layout-header .right .link .anticon { margin-right: 4px; }
.layout-header .user { display: flex; align-items: center; cursor: pointer; color: var(--text); }
.layout-header .user .ant-avatar { width: 22px; height: 22px; line-height: 22px; margin-right: 6px; font-size: 12px; }
.layout-content { background: var(--page-bg); padding: 24px 24px 0; min-height: calc(100vh - 64px); }

/* ---------------- 页面通用 ---------------- */
/* 原站实测（93_probe_pad）：内容卡 .ant-card-body 左右内边距 = 16px。
 * 之前用 24px 会让表格容器窄 16px，antd 的 fixed:'right'（操作列）按容器右缘定位，
 * 于是与主表最后一列错位 15px，比对时凭空多出一个空列。左右必须与原站一致。 */
.page-card { background: #fff; padding: 16px; border-radius: 2px; }
/* 财务/订单模块：原站这几页的容器是 .ant-card-body，padding 实测 24px（教务模块是 16px，两者不同）。
   卡片宽 1372 时：24px -> 表格可用宽 1324；16px -> 1340。差 16px 会让 fixed-right 列的视觉 x 序错位。 */
.page-card.p24 { padding: 24px; }
.page-card-full { background: #fff; border-radius: 2px; }
.page-tabs .ant-tabs-bar { margin: 0 0 16px; border-bottom: 1px solid #f0f0f0; }
.page-tabs .ant-tabs-nav .ant-tabs-tab { padding: 12px 0; margin-right: 32px; font-size: 14px; }

.filter-form .ant-form-item { margin-bottom: 12px; }
.filter-form .ant-form-item-label { width: 72px; text-align: right; }
.filter-form .ant-form-item-label label { color: var(--text); font-size: 13px; }
.filter-form .ant-form-item-control-wrapper { flex: 1; }
.filter-form .ant-input, .filter-form .ant-select-selection { height: 32px; }
.filter-form .ant-select-selection__rendered { line-height: 30px; }
.filter-form .ant-input { padding: 4px 11px; }
.filter-col-line { display: flex; flex-wrap: wrap; }
.filter-col-line .filter-item { display: flex; align-items: center; margin: 0 24px 12px 0; }
/* jd-filter-item 现在自带 ant-form-item 结构，这里把 antd 默认样式抹平，保持原有布局 */
.filter-col-line .filter-item.ant-form-item { margin-bottom: 12px; }
.filter-col-line .filter-item .ant-form-item-label { line-height: 32px; padding: 0; }
.filter-col-line .filter-item .ant-form-item-label > label {
  width: 72px; text-align: right; margin-right: 8px; color: var(--text); font-size: 13px; display: inline-block;
}
.filter-col-line .filter-item .ant-form-item-label > label::after { content: ''; margin: 0; }
.filter-col-line .filter-item .ant-form-item-control-wrapper { display: block; }
.filter-col-line .filter-item .ant-form-item-control { line-height: 32px; }
.filter-col-line .filter-item > .ctl,
.filter-col-line .filter-item .ctl { width: 240px; }

/* 原站实测（332/333/335 探针）：.table-operator 高 32px、margin 0，其下 .table-wrapper margin-top 20px；
 * 工具栏按钮即 antd 默认几何（32px/14px/padding 0 15px）。此处按原站取值。 */
/* 工具栏按钮间距对齐原站 .table-operator：margin-right:10px（356 全页面实测：
   学员列表/销售三页/续费提醒 多按钮均为 10px；单按钮页 20px 无相邻元素不可见）。
   例外：学员详情信息组 .stu-actions 与课程卡 .ops 为 8px（原站 mL:8px/.mr8），订单详情 15px（内联覆盖）。 */
.toolbar { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; flex-wrap: wrap; }
.toolbar .ant-btn { height: 32px; padding: 0 15px; font-size: 14px; }
.toolbar .spacer { flex: 1; }
/* 原站全站约定（326 CSS 规则实测）：.user_management_table 内 .ant-table 带 1px #e8e8e8 外框 + 4px 圆角。
 * 我方主表均位于 .page-card 内，用同等规则补上（弹窗/抽屉内表格与原站一致不带框）；
 * 边框吞掉 2px 内容宽，正好复刻原站 auto 列宽（如费用页 297）。 */
.page-card .ant-table { border: 1px solid #e8e8e8; border-radius: 4px; }

.ant-table-thead > tr > th { background: #fafafa !important; color: var(--text-strong); font-weight: 500; font-size: 14px; padding: 16px !important; border-bottom: 0 !important; }
.ant-table-tbody > tr > td { font-size: 14px; padding: 16px !important; }
.ant-table-placeholder { padding: 40px 0; }

.link-name { color: var(--primary); cursor: pointer; }
.link-name:hover { color: var(--primary-hover); }
/* 订单详情行内「修改/编辑」链接（原站 class=edit-btn，色值同 link-name） */
.edit-btn { color: var(--primary); cursor: pointer; }
.edit-btn:hover { color: var(--primary-hover); }
.sex-icon { margin-left: 4px; font-size: 12px; }
.sex-male { color: #4fa8f6; }
.sex-female { color: #f56c9a; }
.cell-muted { color: #bfbfbf; }

.stat-row { display: flex; }
.stat-item { flex: 1; text-align: center; padding: 16px 0; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: #f0f0f0; }
.stat-item .num { font-size: 22px; color: var(--text-strong); }
.stat-item .num.orange { color: var(--primary); }
.stat-item .lbl { font-size: 12px; color: #999; margin-top: 6px; }

.card-title { font-size: 15px; color: var(--text-strong); font-weight: 500; margin-bottom: 16px; }
.panel { background: #fff; border-radius: 3px; padding: 16px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 首页 */
.home-row { display: flex; gap: 16px; margin-bottom: 16px; }
.home-col-main { flex: 1; }
.home-col-side { width: 320px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 0; }
.quick-item { display: flex; align-items: center; padding: 12px 8px; cursor: pointer; border-radius: 3px; }
.quick-item:hover { background: #fafafa; }
.quick-item .ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; font-size: 17px; }
.quick-item .txt { font-size: 13px; color: var(--text); }
.todo-empty { color: #bfbfbf; font-size: 13px; text-align: center; padding: 30px 0; }
.todo-item { display: flex; align-items: center; margin-bottom: 14px; font-size: 13px; }
.todo-item .tag { width: 34px; text-align: center; border-radius: 2px; color: #fff; font-size: 12px; margin-right: 10px; padding: 1px 0; }
.tag-red { background: #ff4d4f; }
.tag-blue { background: #4fa8f6; }
.tag-green { background: #52c41a; }
.todo-item .txt { color: var(--text); }
.bar-chart { display: flex; align-items: flex-end; height: 90px; gap: 10px; padding: 0 4px; }
.bar-chart .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; }
.bar-chart .bar { width: 100%; max-width: 22px; background: var(--primary); border-radius: 2px 2px 0 0; min-height: 2px; }
.bar-chart .bar-lbl { font-size: 11px; color: #999; margin-top: 6px; }

/* 学员详情 */
.stu-head { display: flex; align-items: flex-start; padding: 6px 0 18px; border-bottom: 1px solid #f0f0f0; }
.stu-head .avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; margin-right: 14px; background: #f5f5f5; flex: 0 0 auto; }
.stu-head .avatar img { width: 100%; height: 100%; }
.stu-head .nm { font-size: 16px; color: var(--text-strong); display: flex; align-items: center; }
.stu-head .nm .ant-tag { margin-left: 8px; margin-right: 0; font-size: 12px; line-height: 18px; }
.stu-info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 40px; padding: 20px 0; }
.stu-info-grid .cell { display: flex; font-size: 13px; line-height: 22px; }
.stu-info-grid .cell .k { color: #999; width: 80px; flex: 0 0 auto; }
.stu-info-grid .cell .v { color: var(--text-strong); flex: 1; word-break: break-all; }
.stu-actions { display: flex; gap: 8px; }
.course-card { border: 1px solid #f0f0f0; border-radius: 4px; padding: 14px 18px; margin-bottom: 14px; }
.course-card .head { display: flex; justify-content: space-between; align-items: flex-start; }
.course-card .badge { background: #4fa8f6; color: #fff; font-size: 12px; border-radius: 2px; padding: 1px 6px; margin-right: 8px; }
.course-card .cname { font-size: 14px; color: var(--text-strong); }
.course-card .meta { font-size: 13px; color: var(--text); line-height: 26px; margin-top: 4px; }
.course-card .meta .k { color: #999; margin-right: 4px; }
.course-card .meta .go { color: var(--primary); cursor: pointer; }
/* 课程卡操作按钮：原站为 antd 默认尺寸（354 实测 32px/14px/pad 0 15px，class=mr8 gap8），不做缩小 */
.course-card .ops { display: flex; gap: 8px; }
.order-detail-head { padding: 4px 0 16px; }
.order-detail-head .row { display: flex; font-size: 13px; line-height: 32px; }
.order-detail-head .row .item { flex: 1; }
.order-detail-head .row .item .k { color: #666; }
.order-detail-head .row .item .v { color: var(--text-strong); }
.order-stamp {
  position: absolute; right: 40px; top: 10px; width: 86px; height: 86px; border: 3px solid #e04e4e;
  border-radius: 50%; color: #e04e4e; display: flex; align-items: center; justify-content: center;
  font-size: 17px; transform: rotate(-18deg); opacity: .75; letter-spacing: 2px;
}
.sec-title { font-size: 13px; color: var(--text-strong); font-weight: 500; margin: 20px 0 10px; }

/* 右侧联系客服 */
.cs-float {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 20;
  background: #fff; border: 1px solid #eee; border-right: none; border-radius: 22px 0 0 22px;
  padding: 10px 6px 10px 10px; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 0 8px rgba(0,0,0,.06); cursor: pointer; width: 46px;
}
.cs-float .ico { width: 26px; height: 26px; background: #4fa8f6; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 4px; }
.cs-float .txt { font-size: 12px; color: var(--text); writing-mode: vertical-rl; letter-spacing: 2px; }

/* 课表 */
.tt-wrap { overflow: auto; }
.tt-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tt-table th, .tt-table td { border: 1px solid #ebeef5; font-size: 12px; }
.tt-table thead th { background: #fafafa; height: 40px; font-weight: 500; color: var(--text-strong); }
.tt-table .timehead { width: 70px; background: #fafafa; text-align: center; color: var(--text-strong); }
.tt-cell { min-height: 40px; padding: 2px; vertical-align: top; height: 60px; }
.tt-block { background: #e6f7ff; border: none; border-left: 3px solid #4fa8f6; border-radius: 2px; padding: 3px 5px; margin-bottom: 3px; cursor: pointer; color: #262626; line-height: 1.35; width: 100%; text-align: left; font-family: inherit; font-size: 12px; display: block; }
.tt-block:hover { background: #cfeaff; }
.tt-block .t { color: #8c8c8c; }

.empty-block { text-align: center; color: #bfbfbf; padding: 60px 0; font-size: 13px; }
.detail-back { display: flex; align-items: center; font-size: 13px; color: var(--text); margin-bottom: 14px; }
.detail-back a { color: var(--primary); }
.detail-back .sep { margin: 0 8px; color: #d9d9d9; }

.scrollx { overflow-x: auto; }
.nowrap { white-space: nowrap; }
.mt12 { margin-top: 12px; }
.mb12 { margin-bottom: 12px; }

/* ================= 订单管理：顶部快捷办理入口（原站 menu-box） ================= */
.page-card.menu-card { min-height: auto; padding: 16px 24px; }
.page-card-gap { margin-top: 8px; }
.menu-box { display: flex; }
.menu-item { width: 80px; text-align: center; cursor: pointer; }
.menu-item img { width: 28px; height: 28px; display: inline-block; }
.menu-item > div { font-size: 13px; line-height: 20px; color: rgba(0, 0, 0, 0.65); }
.menu-item:hover > div { color: var(--primary); }

/* ================= 社团安排总表：顶部汇总卡片 ================= */
.jd-sum-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.jd-sum-card {
  flex: 1; min-width: 190px; padding: 14px 16px; border: 1px solid #f0f0f0;
  border-radius: 4px; background: #fff; border-left: 3px solid var(--primary);
}
.jd-sum-lab { font-size: 13px; color: rgba(0, 0, 0, .45); }
.jd-sum-val { font-size: 24px; font-weight: 600; color: #222; line-height: 34px; }
.jd-sum-unit { font-size: 13px; font-weight: 400; color: #888; }
.jd-sum-sub { font-size: 12px; color: #999; }

/* ================= 收 / 退 标签（原站 shoutag / shoutag1） ================= */
.shoutag, .shoutag1 { display: inline-block; font-size: 12px; line-height: 18px; border-radius: 3px; margin-right: 5px; }
.shoutag { color: rgb(59, 189, 170); border: 1px solid rgb(59, 189, 170); }
.shoutag1 { color: rgb(255, 79, 79); border: 1px solid rgb(255, 79, 79); }
.onehidden { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-buy { color: #F56818; margin-left: 5px; }

/* ================= 报名续费 ================= */
.picked-student { background: #fafafa; border-radius: 2px; padding: 10px 14px; font-size: 14px; }
.picked-student .muted { color: #999; font-size: 13px; }
.apply-form .ant-form-item { margin-bottom: 12px; }
.apply-footer { position: fixed; left: 180px; right: 0; bottom: 0; height: 56px; background: #fff;
  border-top: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: flex-end;
  gap: 16px; padding: 0 24px; z-index: 10; }
.form-title { font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, 0.85); margin: 4px 0 16px; }
.drawer-form .ant-form-item { margin-bottom: 14px; }
.drawer-footer { position: sticky; bottom: 0; background: #fff; padding: 12px 0; text-align: right; border-top: 1px solid #f0f0f0; }
.drawer-footer .ant-btn + .ant-btn { margin-left: 8px; }

/* ================= 社团点名 ================= */
/* 请假选项选中时黄底突出（club.js 点名抽屉） */
.ant-radio-button-wrapper.qing.ant-radio-button-wrapper-checked {
  background: #ffe100; border-color: #e6c800; color: #333; font-weight: 600;
  box-shadow: -1px 0 0 0 #e6c800;
}

/* ================= 收支明细 ================= */
/* 顶部小页签（原站 border-cantainer 横向 menu，实测值：16px / 0 20px / 48px / 2px #F56818） */
.expense-tabs { display: flex; align-items: center; list-style: none; margin: 0; padding: 8px 16px 0; border-bottom: 1px solid #e8e8e8; background: #fff; }
/* 原站实测：页签 padding 为 0 10px（不是 0 20px），高度 46px、字号 16px */
.expense-tabs li { padding: 0 10px; margin: -1px 0 0; border-bottom: 2px solid transparent; font-size: 16px; }
.expense-tabs li a { display: block; height: 46px; line-height: 46px; font-size: 16px; color: rgba(0, 0, 0, 0.65); }
.expense-tabs li a:hover { color: #F56818; }
.expense-tabs li.active { border-bottom: 2px solid #F56818; }
.expense-tabs li.active a { color: #F56818; }
.expense-search .ant-form-item { display: flex; align-items: center; margin-bottom: 16px; }
.expense-search .ant-form-item-label { flex: 0 0 auto; padding-right: 8px; }
.expense-search .ant-form-item-control-wrapper { flex: 1 1 auto; min-width: 0; }
.expense-search .ant-form-item-label > label { color: rgba(0, 0, 0, 0.85); }
.more-btn { cursor: pointer; color: #F56818; user-select: none; }
.more-btn:hover { color: var(--primary-hover); }
/* 操作列多链接：原站结构是 <a> + <a-divider type="vertical"/> + <a>（竖线 1px、左右各 8px，合计 17px）。
 * 这里用伪元素复刻同一几何，保证单元格 innerText 与原站一致（分隔线不是文本节点）。 */
.op-links .link-name + .link-name { margin-left: 0; }
.op-links .link-name + .link-name::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 8px;
  vertical-align: middle;
  position: relative;
  top: -0.06em;
  background: #e8e8e8;
}
/* 课程页「收费方式/定价标准」列：复刻原站结构（321 DOM 实测）——flex 单行：标签固定 80px + 4px 间距 + 价格，
 * 外层嵌套 table 与原站一致（无视觉影响，几何由下面两条中和规则保证填满内容盒）。 */
.money-cla { display: block; }
.money-cla-tb { width: 100%; border-collapse: collapse; }
.money-cla-tb td { padding: 0; }
.money-cla-row { display: flex; justify-content: flex-start; align-items: center; }
.money-cla-label { margin-right: 4px; width: 80px; color: #191a1f; }
.money-cla-val { margin-right: 4px; }
/* 原站原子类（取样值） */
.t-color-red { color: #ee5555; }
.t-text-weight { font-weight: 700; }
.t-padding-l4 { padding-left: 40px; display: inline; }
.sum-wrap { margin: 15px 0; }
.sum-alert.ant-alert { border: none; padding: 6px 20px; }
.setting-list { max-height: 420px; overflow-y: auto; }
.setting-list .ant-table-small { margin: 0; }
.t-margin-l1 { margin-left: 8px; color: #F56818; }
.t-margin-r1 { margin-right: 8px; }
.t-flex-sb { display: flex; justify-content: flex-end; }

/* ===== 营销中心（2026-10-08 原站实测取样） ===== */
.mk-page-title { font-size: 16px; font-weight: 600; color: rgba(0,0,0,.85); margin-bottom: 20px; }
.tpl-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.tpl-card { width: 200px; background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.05); overflow: hidden; position: relative; }
.tpl-cover { width: 200px; height: 200px; object-fit: cover; display: block; }
.tpl-hover { position: absolute; left: 0; top: 0; width: 200px; height: 200px; background: rgba(0,0,0,.35); display: none; align-items: center; justify-content: center; }
.tpl-card:hover .tpl-hover { display: flex; }
.tpl-op { height: 112px; padding: 16px; overflow: hidden; }
.tpl-title { display: flex; align-items: center; font-size: 16px; font-weight: 500; color: #333; }
.tpl-title img { width: 16px; height: 16px; margin-right: 10px; }
.tpl-tags { margin-top: 8px; }
.mk-card { padding: 0; }
.mk-head { padding: 16px 24px; border-bottom: 1px solid #e8e8e8; font-size: 14px; color: rgba(0,0,0,.85); }
.mk-card .empty-block { padding: 60px 0 80px; }
.mk-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 24px 20px; }
.mk-total { font-size: 13px; color: rgba(0,0,0,.65); }
.mk-pager { display: flex; gap: 8px; }
.pg-btn { width: 24px; height: 24px; line-height: 22px; text-align: center; border: 1px solid #d9d9d9; border-radius: 2px; font-size: 13px; color: rgba(0,0,0,.65); background: #fff; }
.mk-im { padding: 0; }
.mk-im img { width: 100%; display: block; }

/* ===== 机构设置-角色管理（2026-10-08 原站 /setting/user/role 实测取样） ===== */
.role-wrap { display: flex; }
.role-left { flex: 0 0 201px; border-right: 1px solid #e8e8e8; }
.role-left .btn-new-role { width: 190px; }
.role-menu.ant-menu { width: 200px; border-right: none; }
.role-wrap .rightContent { flex: 1 1 auto; min-width: 0; padding: 0 16px; }
.role-wrap .roleName { margin-bottom: 16px; }
.role-wrap .roleName > span { display: inline-block; }
.role-wrap .roleName .req { color: #f5222d; }
.role-wrap .roleContent { margin-top: 4px; }
.role-wrap .roleList { border: 1px solid #e8e8e8; padding: 12px 16px; margin-bottom: 20px; }
.role-wrap .roleList.dataRole { margin-top: 16px; }
.role-wrap .roleList h4.title { font-size: 14px; font-weight: 500; color: rgba(0,0,0,.85); margin: 0 0 8px; }
.role-wrap .roleList .desc { font-size: 14px; color: #999; margin-bottom: 8px; }
.role-wrap .dataList { display: flex; flex-flow: row wrap; }
.role-wrap .treeList { width: 250px; }
.role-wrap .roleList.dataRole .content { display: flex; margin-bottom: 16px; }
.role-wrap .roleList.dataRole .content > .left,
.role-wrap .roleList.dataRole .content > .right { flex: 0 0 50%; }
.role-wrap .roleList.dataRole .sub { color: #999; }
.role-wrap .bottomBtn { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; padding: 10px; text-align: right; box-shadow: 0 -2px 8px rgba(0,0,0,.06); }

/* ===== 请假中心（2026-10-08 原站实测） ===== */
.page-cont { padding: 20px; background: #fff; }
.table-page-search-wrapper { margin-bottom: 0; }
.page-foot { display: flex; justify-content: flex-end; margin: 10px 0 0; }
.new-tittle { display: flex; align-items: center; }
.new-tittle-label { font-size: 16px; margin-right: 12px; }

/* 转课/退课办理页 · 学员信息条 */
.ops-student { display: flex; align-items: center; margin-top: 14px; font-size: 13px; }
.ops-student .muted { color: #999; }

/* 结课提醒弹窗 */
.end-courser-body { margin: 10px 0 4px; color: #666; line-height: 1.9; }
.color-red { color: #f5222d; }

/* ===== 班级详情·一周点名情况 + 班级点名页（2026-10-12 原站实测 259/260/262） ===== */
.attend-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.attend-title { font-size: 15px; color: #333; font-weight: 500; }
.attend-btns .ant-btn + .ant-btn { margin-left: 8px; }
.keci-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.keci-name { font-size: 15px; color: #333; }
.keci-sec { font-size: 14px; color: #333; margin: 18px 0 10px; font-weight: 500; }
.keci-info { color: #666; line-height: 2; }
.keci-info .keci-label { color: #999; }
.order-top-card { padding-bottom: 12px; }
.order-top-card a { color: #666; }
.order-sep { margin: 0 12px; color: #e8e8e8; }
.order-title { font-size: 15px; color: #333; }
.order-form .ant-form-item { margin-bottom: 14px; }
.order-footer-bar { position: fixed; left: 180px; right: 0; bottom: 0; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.06); padding: 10px 24px; display: flex; align-items: center; justify-content: flex-end; z-index: 20; }
.order-counts { margin-right: auto; color: #666; }
.call-status .cs-btn { display: inline-block; padding: 2px 10px; border: 1px solid #d9d9d9; border-radius: 2px; margin-right: 6px; cursor: pointer; color: #666; font-size: 12px; user-select: none; }
.call-status .cs-btn.on { background: #F56818; border-color: #F56818; color: #fff; }

/* ===== 教师详情页（2026-10-15 原站 teacherInfo 实测） ===== */
.teacher-info-head { display: flex; align-items: center; margin-bottom: 16px; }
.teacher-info-head > a { color: #666; font-size: 14px; }
.teacher-info-head > a:hover { color: var(--primary); }
.teacher-info-head .ti-title { font-size: 14px; color: #333; }
.teacher-info-head .ant-divider-vertical { height: 14px; margin: 0 12px; background: #989898; }
.teacher-info-card { position: relative; border: 1px solid #f0f0f0; border-radius: 2px; padding: 24px; display: flex; align-items: center; }
.teacher-info-card .tic-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; flex: none; }
.teacher-info-card .tic-avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-info-card .tic-main { margin-left: 24px; }
.teacher-info-card .tic-name { font-size: 16px; font-weight: 700; color: #262626; line-height: 30px; }
.teacher-info-card .tic-sex { font-size: 13px; font-weight: 400; color: #666; margin-left: 4px; }
.teacher-info-card .tic-phone { font-size: 13px; color: #666; line-height: 30px; }
.teacher-info-card .tic-subject { font-size: 13px; color: #666; line-height: 30px; }
.teacher-info-card .tic-subject b { color: #262626; }
.teacher-info-card .tic-edit { position: absolute; right: 20px; top: 20px; }
.teacher-cls-card { margin-top: 16px; border: 1px solid #f0f0f0; border-radius: 2px; }
.teacher-cls-card .card-title { font-size: 14px; font-weight: 500; color: #333; }

/* 待办事项可点（2026-10-15：对齐原站点击跳转） */
.todo-item.todo-link { cursor: pointer; border-radius: 2px; }
.todo-item.todo-link:hover { background: #fafafa; }
.todo-item.todo-link:hover .txt { color: var(--primary); }
