:root {
    --red: #c4282c;
    --red-dark: #a91e25;
    --orange: #f1762e;
    --orange-light: #ff9b3d;
    --text: #333333;
    --muted: #888888;
    --line: #e8edf3;
    --line-soft: #f1f1f1;
    --bg: #f6efe9;
    --green: #3ba55d;
    --blue: #2d8cf0;
    --danger: #ef4c4c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }
.btn-reset { border: 0; background: transparent; padding: 0; }

/* ---------- 顶栏 ---------- */
.topbar {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 45px;
    background: #fff;
    display: flex;
    align-items: center;
    z-index: 120;
}
.brand {
    width: 188px;
    height: 45px;
    flex: none;
    background: #fff;
    color: #333;
    font-size: 18px;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    padding-left: 39px;
    padding-bottom: 2px;
    font-weight: 400;
}
.topbar-left-tools {
    display: flex;
    align-items: center;
    gap: 19px;
    margin-left: 10px;
}
.chrome-btn {
    width: 24px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 4px;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.chrome-btn svg { flex: none; }
.chrome-btn img { width: 20px; height: 20px; display: block; object-fit: contain; flex: none; }
.chrome-btn:hover { background: #f4f4f4; }
.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 28px;
    color: #333;
}
.topbar-divider { width: 1px; height: 18px; background: #eee; flex: none; }
.top-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 0;
    padding: 4px 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.top-user > .svg-icon { width: 16px; height: 16px; position: relative; left: 4px; }
.top-user-chevron { width: 15px; height: 15px; display: block; object-fit: contain; position: relative; left: 4px; }
.top-avatar { width: 26px; height: 26px; border-radius: 50%; display: block; object-fit: cover; }
.user-dropdown {
    position: absolute;
    right: -8px;
    top: 34px;
    width: 124px;
    padding: 6px 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
    display: none;
    z-index: 130;
}
.user-dropdown a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: #444;
}
.user-dropdown a:hover { background: #faf3f3; color: var(--red); }
.top-user.open .user-dropdown { display: block; }

/* ---------- 标签栏 ---------- */
.tabbar {
    position: fixed;
    top: 45px;
    left: 188px;
    right: 0;
    height: 41px;
    background: #fff;
    z-index: 110;
    display: flex;
    align-items: stretch;
    transition: left .22s ease;
}
.tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 107px;
    padding: 0 10px 2px 15px;
    font-size: 16px;
    color: #d63131;
    background: #ecdbdb;
    border-top: 2px solid #bb0012;
}
.tab span { white-space: nowrap; }
.tab-close {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1px;
}
.tab-close img { width: 11px; height: 11px; display: block; }

/* ---------- 侧边栏 ---------- */
.sidebar {
    position: fixed;
    top: 45px;
    left: 0;
    bottom: 0;
    width: 188px;
    z-index: 100;
    background: linear-gradient(180deg,
        #e36f4a 0%,
        #e3774a 10%,
        #e28149 15%,
        #e18a49 20%,
        #e09448 25%,
        #dea547 34%,
        #dfad64 44%,
        #e2af8e 54%,
        #e5b1b8 63%,
        #ebb3bd 73%,
        #f2b3a3 83%,
        #f8b48b 92%,
        #feb577 100%);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform .22s ease;
}
.sidebar::-webkit-scrollbar { width: 0; }
.side-nav { display: flex; flex-direction: column; }
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    flex: none;
    height: 60px;
    margin: 0;
    padding: 0 36px 0 30px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0;
}
.nav-item:hover { background: rgba(255, 255, 255, .12); }
.nav-icon { width: 22px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.nav-icon .svg-icon { width: 22px; height: 22px; }
.nav-icon img { display: block; object-fit: contain; }
.nav-text { flex: 1; margin-left: 12px; white-space: nowrap; }
.nav-chevron { flex: none; display: block; object-fit: contain; opacity: 1; }
.nav-work, .nav-work.is-active { height: 60px; }
.nav-item.is-active {
    margin-left: 0;
    margin-right: 0;
    padding-left: 30px;
    padding-right: 36px;
    padding-bottom: 0;
    border-color: transparent;
    background: var(--red);
    color: #fff;
}
.nav-item.is-active:hover { background: var(--red); }
.nav-item.is-active > .svg-icon { display: none; }
.nav-item.is-active > .nav-chevron { display: none; }
.nav-group .nav-item.parent-current {
    margin-left: 0;
    margin-right: 0;
    padding-left: 30px;
    border-color: transparent;
    background: #e5654b;
    color: #fff;
}
.nav-sub { display: flex; flex-direction: column; }
.sub-item {
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    letter-spacing: .2px;
    background: rgba(241, 166, 66, .45);
}
.sub-item:hover { background: rgba(245, 178, 84, .6); }
.sub-item.is-active { background: var(--red); color: #fff; }
.sub-item.is-active:hover { background: var(--red); }

/* ---------- 侧边栏折叠 ---------- */
html.sidebar-collapsed .sidebar { transform: translateX(-100%); }
html.sidebar-collapsed .tabbar { left: 0; }
html.sidebar-collapsed .app-shell { padding-left: 0; }

/* ---------- 主区域 ---------- */
.app-shell { padding-top: 86px; padding-left: 188px; min-height: 100vh; transition: padding-left .22s ease; }
.main-area { min-height: calc(100vh - 86px); display: flow-root; }
.page-card {
    margin: 16px 16px 22px 16px;
    background: #fff;
    min-height: calc(100vh - 124px);
    padding: 20px 18px 0 14px;
    display: flex;
    flex-direction: column;
}
.page-card.table-page { margin-right: 0; padding: 20px 34px 0 13px; }
.table-page .filter-row { margin-left: 3px; }
.course-page { padding: 20px 17px 0 15px; }
.course-page .filter-row { margin-left: 0; padding-left: 8px; }
.systems-page { padding: 20px 17px 0 15px; }
.employee-page { padding-left: 15px; padding-right: 16px; }
.filter-row.systems-filter { gap: 24px; }
.systems-filter .input.w229 { width: 234px; }
.systems-filter .filter-actions { gap: 15px; margin-left: 0; }
.systems-filter .btn-search { width: 76px; min-width: 76px !important; padding: 0; }
.systems-filter .filter-actions .btn-ghost { width: 72px; min-width: 72px; padding: 0; }
.systems-filter .btn-system-export, .systems-filter .btn-system-add {
    height: 40px;
    padding: 0 12px;
    gap: 5px;
    min-width: 101px;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    align-self: flex-start;
}
.systems-filter .btn-system-export { background: #ff6d29; }
.systems-filter .btn-system-export:hover { background: #f9631f; filter: none; }
.systems-filter .btn-system-add { background: #cf4726; color: #fff; }
.systems-filter .btn-system-add:hover { background: #c33f1f; }
.filter-row.employee-filter { gap: 24px; margin-bottom: 0; }
.employee-filter .input.w229, .employee-filter .select.w229 { width: 234px; border-color: #e6eaf0; }
.employee-filter .input.w229 { background-color: #f9fafc; }
.employee-filter .input.w229::placeholder { color: #c1c1c1; }
.employee-filter .select.w229 {
    background-color: #f9fafc;
    color: #bdbdbd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M4.4 1.6 9 6l-4.6 4.4' fill='none' stroke='%23a9a9a9' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.employee-filter .filter-actions { gap: 14px; margin-left: 0; }
.employee-filter .btn-search { width: 76px; min-width: 76px !important; padding: 0; border-radius: 999px; }
.employee-filter .filter-actions .btn-ghost { width: 77px; min-width: 77px; padding: 0; border-radius: 999px; color: #888; border-color: #d1d1d1; }
.employee-filter .btn-add-emp {
    width: 101px;
    min-width: 0;
    height: 40px;
    padding: 0;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    background: #c4282c;
    color: #fff;
    font-size: 14px;
    box-shadow: none;
    align-self: center;
    margin-left: auto;
}
.employee-filter .btn-add-emp:hover { background: #bc3f21; filter: none; }
.employee-filter .btn-add-emp .svg-icon { width: 20px; height: 20px; flex: none; }
.page-rule { height: 1px; background: #f1f1f1; margin: 19px -16px 0 -15px; flex: none; }
.employee-page .table-wrap { margin-top: 18px; }
.employee-page .pagination-row {
    margin-left: -15px;
    margin-right: -16px;
    padding: 28px 16px 29px 15px;
    border-top: 1px solid #e6eaf0;
}
.dashboard {
    margin: 16px 20px 16px 16px;
    min-height: calc(100vh - 118px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
    height: 40px;
    padding: 0 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    white-space: nowrap;
    transition: all .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b31f24; }
.btn-ghost { border-color: #e3e3e3; color: #555; background: #fff; }
.btn-ghost:hover { border-color: #ccc; color: #333; }
.btn-orange {
    background: linear-gradient(90deg, #ff9d3d 0%, #f3742d 100%);
    color: #fff;
    border: 1px solid #f7a15e;
    box-shadow: 0 1px 3px rgba(240, 122, 45, .16);
}
.btn-orange:hover { filter: brightness(1.03); }
.btn-soft { background: #fdf3e4; border-color: #f1ddbd; color: #8c6b3a; }
.btn-modal-primary {
    height: 46px;
    min-width: 130px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    background: linear-gradient(90deg, #ef6a2f 0%, #de411b 100%);
}
.btn-modal-primary:hover { filter: brightness(1.04); }
.btn-modal-ghost {
    height: 46px;
    min-width: 112px;
    padding: 0 26px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 16px;
}
.btn-red {
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-outline-red {
    height: 38px;
    padding: 0 18px;
    border: 1px solid #e6b6b8;
    border-radius: 4px;
    background: #fff;
    color: #b42a2d;
    font-size: 14px;
}
.btn-plus {
    width: 17px;
    height: 17px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 300;
}

/* ---------- 筛选条 ---------- */
.filter-row {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-wrap: nowrap;
}
.students-filter { flex-wrap: wrap; }
.students-filter .input, .students-filter .select { width: 209px; }
.students-filter .filter-label { margin-left: 6px; margin-right: -6px; }
.course-filter { gap: 24px; }
.course-filter .input.w229 { width: 234px; border-color: #e6eaf0; background-color: #f9fafc; }
.filter-row .field {
    height: 40px;
    flex: none;
}
.input, .select {
    height: 40px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color .15s;
}
.input::placeholder { color: #b9b9b9; }
.input:focus, .select:focus { border-color: #d9a2a4; }
.select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23a9a9a9' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: #555;
}
.w165 { width: 165px; }
.w195 { width: 195px; }
.w206 { width: 206px; }
.w207 { width: 207px; }
.w229 { width: 229px; }
.w210 { width: 210px; }
.w216 { width: 216px; }
.w217 { width: 217px; }
.w230 { width: 230px; }
.w235 { width: 235px; }
.course-filter .filter-actions { gap: 15px; margin-left: 0; }
.course-filter .filter-actions .btn-search { width: 76px; min-width: 76px !important; padding: 0; }
.course-filter .filter-actions .btn-ghost { width: 76px; min-width: 76px; padding: 0; }
.export-btn {
    height: 40px;
    padding: 0 12px;
    gap: 5px;
    font-size: 14px;
    border-radius: 999px;
    background: #ff6d29;
    border: 0;
    box-shadow: none;
}
.export-btn:hover { background: #f9631f; filter: none; }
.filter-label { color: #333; font-size: 16px; margin-left: 2px; white-space: nowrap; }
.filter-actions { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.filter-actions .btn { min-width: 76px; height: 40px; font-size: 14px; }
.btn-search { min-width: 76px !important; padding: 0 22px; border-radius: 999px; }
.filter-row .btn-ghost { min-width: 75px; height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14px; }
.filter-preset { display: flex; align-items: center; gap: 13px; flex: none; }
.filter-spacer { flex: 1; }
.export-action { margin-left: auto; align-self: flex-start; }

/* ---------- 操作条 ---------- */
.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
    margin-left: 5px;
}
.action-row .btn { height: 40px; padding: 0 24px; border-radius: 4px; font-size: 14px; }
.action-row .btn-add-orange, .action-row .btn-add-red { padding: 0 14px; }
.action-row .btn-print { min-width: 106px; border-color: #f1caca; color: #bd2c31; background: #fff; }
.action-row .btn-print:hover { background: #fdf6f6; }
.action-row .btn-verify { min-width: 110px; margin-left: 2px; background: #c4282c; color: #fff; border-color: #c4282c; }
.btn-add-orange, .btn-add-red { padding: 0 14px; gap: 5px; box-shadow: none; font-size: 14px; }
.btn-add-orange { background: #dc6921; color: #fff; border-color: #dc6921; min-width: 110px; }
.btn-add-orange:hover { background: #d97217; filter: none; }
.btn-add-red { background: #c4282c; color: #fff; border-color: #c4282c; min-width: 131px; padding: 0 11px; }
.btn-add-red:hover { background: #bf3f20; filter: none; }
.btn-plus { width: 18px; height: 18px; font-size: 14px; }

/* ---------- 表格 ---------- */
.table-wrap { width: 100%; margin-top: 29px; }
.table-page > .table-wrap { margin-top: 37px; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid var(--line);
}
.data-table th {
    height: 46px;
    background: #f9fafc;
    border: 1px solid var(--line);
    color: #333;
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    padding: 0 12px;
    white-space: nowrap;
}
.data-table td {
    border: 1px solid var(--line);
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.data-table tbody tr:hover td { background: #fffdfa; }
.table-page > .table-wrap:has(.table-students) { overflow: auto; max-height: calc(100vh - 340px); min-height: 240px; }
.table-students { width: max-content; min-width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.table-students th, .table-students td { min-width: 100px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.table-students th:nth-child(1), .table-students td:nth-child(1) { width: 64px; min-width: 64px; max-width: 64px; }
.table-students th:nth-child(2), .table-students td:nth-child(2) { width: 100px; min-width: 100px; max-width: 100px; }
.table-students th:nth-child(3), .table-students td:nth-child(3) { width: 130px; min-width: 130px; max-width: 130px; }
.table-students th:nth-child(4), .table-students td:nth-child(4) { width: 58px; min-width: 58px; }
.table-students th:nth-child(5), .table-students td:nth-child(5) { width: 82px; min-width: 82px; }
.table-students th:nth-child(6), .table-students td:nth-child(6) { width: 120px; min-width: 120px; }
.table-students th:nth-child(7), .table-students td:nth-child(7) { width: 60px; min-width: 60px; }
.table-students th:nth-child(8), .table-students td:nth-child(8) { width: 100px; min-width: 100px; }
.table-students .student-cell-compact { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-students td:nth-child(1) .student-cell-compact { width: 42px; }
.table-students td:nth-child(2) .student-cell-compact { width: 77px; }
.table-students td:nth-child(3) .student-cell-compact { width: 107px; }
.table-students thead th { position: sticky; top: 0; z-index: 3; background: #f9fafc; }
.table-students td:nth-child(1) { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #e3e7ed; }
.table-students td:nth-child(2) { position: sticky; left: 64px; z-index: 1; background: #fff; box-shadow: 1px 0 0 #e3e7ed; }
.table-students td:nth-child(3) { position: sticky; left: 164px; z-index: 1; background: #fff; box-shadow: 1px 0 0 #e3e7ed; }
.table-students thead th:nth-child(1) { left: 0; z-index: 4; }
.table-students thead th:nth-child(2) { left: 64px; z-index: 4; }
.table-students thead th:nth-child(3) { left: 164px; z-index: 4; }
.table-students thead th.col-actions, .table-students thead th.col-followups { z-index: 4; }
.table-students tbody tr:hover td:nth-child(1), .table-students tbody tr:hover td:nth-child(2), .table-students tbody tr:hover td:nth-child(3) { background: #fffdfa; }
.table-students th.col-course, .table-students td.col-course { min-width: 130px; }
.table-students th.col-idcard { min-width: 150px; }
.table-students th.col-actions { min-width: 190px; }
.table-students .col-actions { position: sticky; right: 0; z-index: 1; background: #fff; box-shadow: -1px 0 0 #e3e7ed; }
.table-students th.col-actions { z-index: 2; background: #f7f8fa; }
.table-students .col-followups { position: sticky; right: 190px; z-index: 1; background: #fff; box-shadow: -1px 0 0 #e3e7ed; }
.table-students th.col-followups { z-index: 2; background: #f7f8fa; }
.table-students th { height: 48px; }
.table-students td { height: 77px; padding: 13px 11px 0; vertical-align: top; }
.table-students .cell-link { color: #2575d6; }
.table-students .followup-summary { display: inline-block; max-width: 170px; overflow: hidden; line-height: 22px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.table-students .cell-link.link-refund { color: #e02020; }
.table-students .course-state { line-height: 20px; margin-bottom: 8px; color: #333; }
.table-students .course-state.is-deposit { color: #2f9e4f; }
.table-students td.col-actions { padding: 0 0 0 10px; vertical-align: middle; }
.table-students th:first-child, .table-students td:first-child { padding-left: 10px; }
.table-courses th { height: 49px; }
.table-courses td { height: 49px; }
.table-courses th, .table-courses td { padding: 0 16px; }
.table-courses .cell-check { padding-left: 18px; }
.table-courses th:nth-child(3), .table-courses td:nth-child(3) { padding-left: 31px; }
.table-courses th:nth-child(4), .table-courses td:nth-child(4) { padding-left: 20px; }
.table-courses th:nth-child(5), .table-courses td:nth-child(5) { padding-left: 21px; }
.table-courses th:nth-child(6), .table-courses td:nth-child(6) { padding-left: 35px; }
.table-courses th:nth-child(7), .table-courses td:nth-child(7) { padding-left: 35px; }
.table-courses th:nth-child(8), .table-courses td:nth-child(8) { padding-left: 28px; }
.table-courses th:last-child, .table-courses td:last-child { padding: 0; text-align: center; }
.table-courses .row-actions { justify-content: center; gap: 28px; }
.table-courses .row-actions { gap: 12px; flex-wrap: wrap; }
.table-courses .course-add-row td { padding: 0; text-align: center; }
.course-add-row-button { display: block; width: 100%; height: 48px; border: 0; background: transparent; color: #c4282c; font-size: 26px; line-height: 1; cursor: pointer; }
.course-add-row-button:hover { background: #fff4f4; }
.course-add-row-button:focus-visible { outline: 2px solid #c4282c; outline-offset: -2px; }
.table-packages th:nth-child(2), .table-packages td:nth-child(2) { padding-left: 23px; }
.table-packages th:nth-child(3), .table-packages td:nth-child(3) { padding-left: 22px; }
.table-packages th:nth-child(4), .table-packages td:nth-child(4) { padding-left: 18px; }
.table-packages th:nth-child(5), .table-packages td:nth-child(5) { padding-left: 36px; }
.table-packages th:nth-child(6), .table-packages td:nth-child(6) { padding-left: 47px; }
.table-packages th:nth-child(7), .table-packages td:nth-child(7) { padding-left: 47px; }
.table-packages th:nth-child(8), .table-packages td:nth-child(8) { padding-left: 30px; }
.table-systems th { height: 49px; }
.table-systems td { height: 49px; }
.systems-page .table-wrap { margin-top: 36px; }
.table-systems td.sys-no { padding-left: 33px; }
.table-systems th.sys-no { padding-left: 0; text-align: center; }
.table-systems .sys-name { padding-left: 175px; }
.table-systems .sys-time { padding-left: 209px; }
.table-systems .sys-op-head { padding-left: 272px; }
.table-systems .sys-op { padding-left: 241px; }
.table-employees th { height: 49px; }
.table-employees td { height: 49px; }
.table-employees th, .table-employees td { text-align: center; border-left: 0; border-right: 0; }
.table-employees th:first-child, .table-employees td:first-child { border-left: 1px solid var(--line); padding-left: 17px; padding-right: 7px; }
.table-employees th:last-child, .table-employees td:last-child { border-right: 1px solid var(--line); }
.table-employees th:nth-child(2), .table-employees td:nth-child(2) { padding-left: 0; padding-right: 24px; }
.table-employees th:nth-child(3), .table-employees td:nth-child(3) { padding-left: 21px; padding-right: 3px; }
.table-employees th:nth-child(4), .table-employees td:nth-child(4) { padding-left: 20px; padding-right: 4px; }
.table-employees th:nth-child(5), .table-employees td:nth-child(5) { padding-left: 30px; padding-right: 0; }
.table-employees th:nth-child(6), .table-employees td:nth-child(6) { padding-left: 14px; padding-right: 10px; }
.table-employees th:nth-child(7), .table-employees td:nth-child(7) { padding-left: 18px; padding-right: 6px; }
.table-employees th:nth-child(8), .table-employees td:nth-child(8) { padding-left: 30px; padding-right: 0; }
.table-employees th:nth-child(9), .table-employees td:nth-child(9) { padding-left: 16px; padding-right: 8px; }
.table-employees .row-actions { justify-content: center; }
.table-roles th, .table-roles td { height: 49px; }
.table-roles td:nth-child(3) { white-space: normal; overflow-wrap: anywhere; padding-top: 10px; padding-bottom: 10px; }
.table-logs th { height: 55px; }
.table-logs td { height: 45px; }
.table-enrollments th { height: 50px; }
.table-enrollments td { height: 58px; }
.col-center { text-align: center !important; }
.cell-strong { color: #333; }
.cell-muted { color: #888; }
.cell-check { width: 36px; }
.cell-link, .records-link { display: inline; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.cell-link:hover, .records-link:hover { color: #c4282c; }
.row-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.row-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.row-link .svg-icon { width: 14px; height: 14px; }
.link-green { color: #2f9e4f; }
.link-green:hover { color: #248640; }
.link-blue { color: #2d8cf0; }
.link-blue:hover { color: #1f74cd; }
.link-red { color: #ef5350; }
.link-red:hover { color: #d63e3b; }
.link-cyan { color: #2c9fbd; }
.badge-status { font-size: 13px; }
.badge-done { color: #2f9e4f; }
.badge-wait { color: #c4282c; }
.badge-normal { color: #333; }

/* ---------- 分页 ---------- */
.pagination-row {
    margin-top: auto;
    padding: 24px 0 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pagination { display: flex; align-items: center; gap: 7px; }
.page-btn {
    min-width: 31px;
    height: 31px;
    padding: 0 7px;
    border: 1px solid #e6eaf0;
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    line-height: 1;
}
.page-btn:hover { border-color: #d0d0d0; }
.page-btn.active { border-color: #e6eaf0; color: #333; }
.page-btn.disabled { color: #c4c4c4; pointer-events: none; background: #fff; }
.page-btn.page-nav { min-width: 21px; width: 21px; height: 31px; padding: 0; border: 0; background: transparent; color: #bfbfbf; }
.page-btn.page-nav:hover { color: #888; }
.page-arrow { width: 20px; height: 20px; display: block; object-fit: contain; }
.page-ellipsis { color: #999; font-size: 12px; padding: 0; }

/* ---------- 仪表盘 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: none; }
.stat-card {
    height: 192px;
    background: #fff;
    position: relative;
    padding: 25px 23px;
    box-shadow: 0 1px 4px rgba(80, 50, 30, .02);
}
.stat-head { display: flex; align-items: center; height: 24px; }
.stat-bar { width: 5px; height: 24px; background: #e4704a; margin-right: 12px; flex: none; }
.stat-title { font-size: 20px; color: #333; letter-spacing: .3px; }
.stat-number {
    margin-top: 42px;
    margin-left: 15px;
    font-size: 46px;
    line-height: 1;
    color: #333;
    font-weight: 700;
    letter-spacing: 0;
    font-family: "Helvetica Neue", "PingFang SC", Arial, sans-serif;
    transform: scaleX(1.07);
    transform-origin: 0 50%;
}
.stat-foot { margin-top: 12px; margin-left: -1px; font-size: 15px; color: #777; }
.stat-delta { color: #333; font-size: 15px; margin-left: 6px; }
.stat-delta .delta-arrow { width: 8px; height: 7px; display: inline-block; vertical-align: middle; margin-right: 3px; margin-top: -1px; }
.stat-delta.flat { color: #777; font-size: 15px; margin-left: 0; }
.stat-icon { position: absolute; right: 24px; top: 50px; width: 90px; height: 90px; }
.stat-icon img { width: 90px; height: 90px; display: block; }
.chart-card {
    flex: 1;
    min-height: 520px;
    background: #fff;
    padding: 24px 21px 10px 23px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.section-title { display: flex; align-items: center; height: 26px; font-size: 20px; color: #333; font-weight: 400; }
.section-title .stat-bar { height: 24px; margin-right: 12px; }
.chart-box { flex: 1; width: 100%; min-height: 420px; margin-top: 8px; }
.chart-xlabels { position: absolute; left: 23px; right: 21px; bottom: 66px; height: 22px; pointer-events: none; }
.chart-xlabels span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 16px;
    line-height: 22px;
    color: #777;
    white-space: nowrap;
}
.chart-ylabels { position: absolute; inset: 0; pointer-events: none; }
.chart-ylabels span {
    position: absolute;
    left: 61px;
    width: 69px;
    text-align: right;
    font-size: 16px;
    line-height: 22px;
    color: #777;
}

/* ---------- 课程管理 ---------- */
.course-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; margin-bottom: 13px; position: relative; z-index: 2; }
.course-tab {
    width: 115px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f9fafc;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
}
.course-tab.is-active { background: #c4282c; border-color: #e6eaf0; color: #fff; }
.course-add {
    height: 29px;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    background: #c4282c;
    border: 1px solid #ffc310;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}
.course-tabs + .table-wrap { margin-top: 0; }
.course-table-wrap { margin-top: 0; }
.table-check {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
}
.table-check[hidden] { display: none; }
.table-check:checked { background: var(--red); border-color: var(--red); }
.table-check:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.included-link { color: #2d8cf0; border: 0; background: none; padding: 0; font-size: 13px; cursor: pointer; }
.system-name { color: #333; }
.search-pill { border-radius: 999px; padding: 0 20px; }

/* ---------- 员工 ---------- */

.emp-avatar { width: 36px; height: 36px; display: inline-block; vertical-align: middle; border-radius: 50%; overflow: hidden; }
.switch {
    width: 36px;
    height: 18px;
    border-radius: 999px;
    border: 0;
    background: #1d55fc;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: background .15s;
    padding: 0;
}
.switch::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 20px;
    transition: left .15s;
}
.switch.off { background: #d9d9d9; }
.switch.off::after { left: 2px; }
.table-employees .switch:disabled, .table-employees .row-link:disabled { opacity: .45; cursor: not-allowed; }
.switch-label { margin-left: 8px; font-size: 14px; color: #333; vertical-align: middle; }

/* ---------- 安全设置 ---------- */
.security-page { padding: 18px 28px 0; }
.security-heading { position: relative; font-size: 18px; color: #222; padding: 6px 0 22px 3px; line-height: 23px; }
.security-heading::after {
    content: "";
    position: absolute;
    left: -32px;
    right: -42px;
    bottom: -1px;
    height: 1px;
    background: #e6e6e6;
}
.security-body { padding: 31px 0 20px 17px; }
.avatar-row { display: flex; align-items: flex-start; margin-bottom: 30px; }
.security-label { width: 89px; flex: none; font-size: 15px; color: #333; line-height: 22px; padding-top: 8px; }
.avatar-title { font-size: 15px; color: #333; margin-bottom: 18px; }
.avatar-upload {
    width: 100px;
    height: 100px;
    padding-top: 14px;
    border: 1px dashed #d7dbe1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #bdbdbc;
    font-size: 12px;
    gap: 5px;
    background: #f8f8fa;
    cursor: pointer;
}
.avatar-upload .avatar-ph { width: 50px; height: 50px; display: inline-block; border-radius: 50%; overflow: hidden; }
.avatar-upload .svg-icon { color: #b9b9b9; }
.security-form { display: flex; flex-direction: column; gap: 24px; }
.security-form .form-line { display: flex; align-items: center; }
.security-form .security-label { padding-top: 0; width: 89px; }
.security-form .form-control {
    flex: none;
    width: 350px;
    height: 48px;
    padding: 0 18px;
    border-color: #e2e2e2;
    border-radius: 5px;
    font-size: 16px;
}
.security-form .form-control::placeholder { color: #b8b8b8; }
.security-form .red-required { color: #c4282c; font-size: 12px; line-height: 1; margin-right: 2px; vertical-align: 2px; }
.security-save { margin: 36px 0 0 0; width: 170px; height: 45px; border-radius: 999px; font-size: 15px; }
.security-page .pagination-row { margin-left: -15px; }

/* ---------- 日志 ---------- */
.logs-page { padding: 22px 8px 0 23px; }
.logs-filter {
    width: calc(100% + 24px);
    height: 64px;
    padding: 0 13px;
    gap: 0;
    border: 1px solid #f5f5f5;
    background: #fff;
}
.logs-filter .input, .logs-filter .select { border-color: #e6eaf0; border-radius: 999px; }
.logs-filter .select { width: 179px; padding-left: 14px; color: #aaa; }
.logs-filter .input::placeholder { color: #aaa; }
.logs-filter .select + .select { margin-left: 22px; }
.logs-filter .logs-time-label { width: 80px; margin-left: 40px; margin-right: 9px; }
.logs-filter .logs-sep { width: 16px; margin: 0 13px; text-align: center; }
.logs-filter .date-wrap { position: relative; width: 252px; flex: none; }
.date-wrap .input { width: 100%; padding-right: 38px; }
.date-wrap .svg-icon { position: absolute; right: 11px; top: 12px; color: #999; }
.logs-filter .btn { height: 40px; border-radius: 999px; }
.logs-filter .btn-search { width: 76px; min-width: 76px !important; margin-left: 24px; padding: 0; }
.logs-filter .btn-ghost { width: 76px; min-width: 76px; margin-left: 14px; padding: 0; color: #747474; border-color: #d1d1d1; }
.logs-page .table-wrap { margin-top: 12px; }
.logs-page .table-logs { margin-top: 0; }
.table-logs th { height: 49px; padding: 0 15px; }
.table-logs td { height: 49px; padding: 0 15px; }
.table-logs th:first-child, .table-logs td:first-child { padding-left: 19px; }
.logs-table-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; }
.logs-page .pagination-row { margin-left: -11px; }

/* ---------- 模态弹窗 ---------- */
.modal-mask {
    position: fixed;
    inset: 0;
    background: #808080;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: auto;
}
.modal {
    background: #fff;
    border-radius: 24px;
    width: 600px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalIn .16s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(8px) scale(.995); }
    to { opacity: 1; transform: none; }
}
.modal-head {
    height: 66px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #222;
    border-bottom: 1px solid #f2f2f2;
    padding: 0 60px;
    position: relative;
}
.modal-close {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.modal-close:hover { background: #f6f6f6; }
.modal-body { padding: 30px 32px; overflow: auto; flex: 1; }
.modal-foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 22px 32px;
    border-top: 1px solid #f2f2f2;
}
.modal-foot.right { justify-content: flex-end; }
.modal > form, .modal .ajax-form { margin: 0; }
.modal-sub { color: #888; font-size: 13px; }
.modal-loading { min-height: 180px; display: flex; align-items: center; justify-content: center; color: #999; }

/* 表单 */
.form-row { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.form-row:last-child { margin-bottom: 0; }
.form-label {
    width: 128px;
    flex: none;
    text-align: right;
    font-size: 16px;
    color: #333;
    line-height: 50px;
    padding-top: 1px;
}
.form-label .required { color: #c4282c; margin-right: 2px; }
.form-control {
    flex: 1;
    height: 50px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: #333;
    outline: none;
    min-width: 0;
    transition: border-color .15s;
}
.form-control::placeholder, .form-textarea::placeholder { color: #b8b8b8; }
.form-control:focus, .form-textarea:focus { border-color: #cf8a8c; }
.form-textarea {
    width: 100%;
    min-height: 130px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 15px;
    resize: vertical;
    outline: none;
    line-height: 1.6;
}
.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M2 2l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-unit { flex: none; line-height: 50px; color: #333; font-size: 15px; }
.form-block { margin-bottom: 22px; }
.form-block .form-label { width: auto; text-align: left; line-height: 1.5; margin-bottom: 12px; display: block; padding: 0; }
.form-block-title { font-size: 16px; color: #333; margin: 6px 0 18px; }
.form-hint { font-size: 13px; color: #999; margin-top: 8px; }
.form-error { color: #d33; font-size: 13px; min-height: 18px; margin-top: 8px; display: none; }
.form-error.show { display: block; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 12px; }
.radio-label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #333; cursor: pointer; white-space: nowrap; }
.radio-label input { display: none; }
.radio-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid #d5d5d5;
    background: #fff;
    position: relative;
    flex: none;
}
.radio-label input:checked + .radio-dot { border-color: #ef6a2f; }
.radio-label input:checked + .radio-dot::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: #ef6a2f;
    border-radius: 50%;
    left: 3px;
    top: 3px;
}
.radio-label.checked-text { color: #ef6a2f; }
.check-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #333; cursor: pointer; margin-top: 6px; }
.check-line input { display: none; }
.check-box { width: 17px; height: 17px; border: 1px solid #d5d5d5; border-radius: 3px; background: #fff; position: relative; }
.check-line input:checked + .check-box { background: #ef6a2f; border-color: #ef6a2f; }
.check-line input:checked + .check-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.upload-box {
    width: 94px;
    height: 94px;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #b9b9b9;
    font-size: 12px;
    cursor: pointer;
}
.upload-box .svg-icon { width: 28px; height: 28px; color: #c0c0c0; }
.upload-box:hover { border-color: #d8d8d8; }
.upload-row { display: flex; align-items: flex-start; gap: 20px; }

/* 学员详情弹窗 */
.modal.detail-modal {
    width: 1425px;
    max-width: calc(100vw - 40px);
    min-width: 0;
    max-height: none;
    align-self: flex-start;
    margin: 0 0 120px;
    border-radius: 0;
}
.modal-mask:has(.detail-modal) { padding: 0; }
.detail-modal .modal-head { height: 62px; font-size: 20px; color: #333; }
.detail-modal .modal-close { right: 17px; color: #333; }
.detail-modal .modal-body { padding: 24px 22px 48px; overflow: visible; }
.detail-section { margin-bottom: 30px; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.detail-section-title { font-size: 20px; font-weight: 400; line-height: 24px; color: #333; }
.detail-section .btn { height: 46px; min-width: 119px; border-radius: 4px; font-size: 16px; }
.detail-section .btn-red { background: #c4282c; border-color: #c4282c; }
.detail-actions { display: flex; align-items: center; gap: 16px; }

.info-table { width: 1377px; border-collapse: collapse; table-layout: fixed; }
.info-table th, .info-table td {
    height: 54px;
    border: 1px solid #d9dfe8;
    padding: 0 16px;
    font-size: 16px;
    line-height: 24px;
}
.info-table th { background: #fafbfc; color: #5b6c86; font-weight: 400; text-align: left; }
.info-table td { background: #fff; color: #333; }
.info-table .info-filler { border: 0; }
.info-table td.info-id { font-size: 15px; white-space: nowrap; }

.detail-record-section { margin-bottom: 71px; }
.detail-record-section .detail-section-head { margin-bottom: 23px; }
.detail-section-head:has(.btn) { margin-bottom: 17px; }
.detail-section-head:not(:has(.btn)) .detail-section-title { padding-top: 3px; }
.table-scroll {
    width: 1381px;
    max-width: 100%;
    margin-left: -7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-color: #b8bec8 #f4f6f8;
    scrollbar-width: thin;
}
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-track { background: #f4f6f8; border-radius: 4px; }
.table-scroll::-webkit-scrollbar-thumb { background: #b8bec8; border-radius: 4px; }
.detail-scroll {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-color: #b8bec8 #f4f6f8;
    scrollbar-width: thin;
}
.detail-scroll::-webkit-scrollbar { height: 8px; }
.detail-scroll::-webkit-scrollbar-track { background: #f4f6f8; border-radius: 4px; }
.detail-scroll::-webkit-scrollbar-thumb { background: #b8bec8; border-radius: 4px; }
.enroll-record-table {
    display: table;
    width: 2174px;
    min-width: 2174px;
    max-width: none;
    border-collapse: collapse;
    table-layout: fixed;
}
.enroll-record-table th, .enroll-record-table td {
    border: 1px solid #d9dfe8;
    padding: 10px;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}
.enroll-record-table thead th {
    height: 43px;
    padding-top: 0;
    padding-bottom: 0;
    background: #fafbfc;
    color: #5b6c86;
    font-weight: 400;
}
.enroll-record-table th.th-warm { background: #fef1e1; }
.enroll-record-table th.th-cool { background: #ebfcf0; }
.enroll-record-table .fee-columns-toggle {
    display: inline-flex;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #8a97a9;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
}
.enroll-record-table .fee-columns-toggle:hover { color: #43536a; background: rgba(75, 95, 120, .07); }
.enroll-record-table .fee-columns-toggle:focus-visible { outline: 2px solid #8ca9d1; outline-offset: 1px; }
.enroll-record-table .fee-toggle-icon {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .16s ease;
}
.enroll-record-table .fee-columns-toggle[aria-expanded="true"] .fee-toggle-icon { transform: rotate(135deg); }
.enroll-record-table.fees-collapsed-warm .warm-extra,
.enroll-record-table.fees-collapsed-cool .cool-extra { display: none; }
.enroll-record-table[class*="fees-collapsed-"] { width: auto; min-width: 0; }
.enroll-record-table th.th-coupon {
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 20px;
    text-align: center;
}
.enroll-record-table td.col-warm { background: #fbf8f3; }
.enroll-record-table td.col-cool { background: #f8fcf9; }
.enroll-record-table .payment-date-form { margin: 0; }
.enroll-record-table .payment-date-input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    font: inherit;
}
.enroll-record-table .payment-date-input:hover,
.enroll-record-table .payment-date-input:focus { border-color: #c9d2df; background: #fff; outline: none; }
.enroll-record-table td.td-coupon { padding-left: 8px; padding-right: 8px; text-align: center; }
.enroll-record-table td.col-course { text-align: center; }
.enroll-record-table td.col-points { padding-left: 4px; padding-right: 4px; text-align: center; }
.enroll-record-table .points-note { white-space: pre-line; }
.enroll-record-table th:last-child, .enroll-record-table td:last-child { border-right: 0; overflow: hidden; }
.enroll-record-table td .inner-link {
    display: inline;
    margin: 0;
    border: 0;
    background: none;
    padding: 0;
    color: #327dd7;
    font-size: 16px;
    cursor: pointer;
}
.enroll-record-table .record-qr-unavailable { color: #999; }
.enroll-record-table td .record-action-link { color: #3ba55d; }
.payment-qr-mask { position: fixed; inset: 0; z-index: 10000002; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .45); }
.payment-qr-dialog { width: min(360px, 100%); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(30, 38, 48, .14); }
.payment-qr-head { position: relative; padding: 17px 48px; border-bottom: 1px solid #eef0f3; text-align: center; font-size: 16px; }
.payment-qr-close { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: #777; font-size: 25px; cursor: pointer; }
.payment-qr-body { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 28px 24px; }
.payment-qr-body img { display: block; width: 220px; max-width: 100%; height: auto; image-rendering: pixelated; }
.payment-qr-download { padding: 10px 28px; border-radius: 24px; background: #c4282c; color: #fff; text-decoration: none; }
.image-viewer-mask { position: fixed; inset: 0; z-index: 10000003; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .55); }
.image-viewer-dialog { display: flex; flex-direction: column; width: min(760px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(30, 38, 48, .18); }
.image-viewer-head { position: relative; flex: none; padding: 17px 48px; border-bottom: 1px solid #eef0f3; text-align: center; font-size: 16px; }
.image-viewer-close { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: #777; font-size: 25px; cursor: pointer; }
.image-viewer-body { display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow: auto; }
.image-viewer-body img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid #eef0f3; border-radius: 4px; }
.enroll-record-table .pay-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.enroll-record-table .final-note {
    display: block;
    width: 96px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px;
    color: #327dd7;
    text-align: center;
    white-space: normal;
    line-height: 24px;
}
.enroll-record-table td.record-total {
    height: 41px;
    background: #fafbfc;
    border-left: 1px solid #d9dfe8;
    border-top: 1px solid #d9dfe8;
    border-bottom: 1px solid #d9dfe8;
    border-right: 0;
    padding: 0;
    color: #5b6c86;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
}
.enroll-record-table td.record-total > div {
    display: block;
    width: 2054px;
    padding: 8px 10px;
    text-align: center;
    box-sizing: border-box;
}
.enroll-record-table td.record-total span { color: #333; margin-left: 6px; }

.detail-kv { width: 1377px; border-collapse: collapse; table-layout: fixed; }
.detail-kv th, .detail-kv td {
    border: 1px solid #d9dfe8;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    vertical-align: middle;
}
.detail-kv th { width: 130px; background: #fafbfc; color: #5b6c86; font-weight: 400; text-align: left; }
.detail-kv .detail-list-line { display: flex; gap: 40px; line-height: 24px; }
.detail-kv .detail-list-line + .detail-list-line { margin-top: 6px; }
.detail-kv .detail-list-line .date { min-width: 146px; color: #333; }
.detail-kv .detail-list-line .money-note { font-style: normal; }
.detail-kv .orange-note { color: #f1762e; margin-left: 20px; }

.detail-table { width: 1377px; border-collapse: collapse; table-layout: fixed; }
.detail-table th {
    height: 44px;
    background: #fafbfc;
    color: #5b6c86;
    font-weight: 400;
    font-size: 16px;
    border: 1px solid #d9dfe8;
    text-align: left;
    padding: 0 12px;
    white-space: nowrap;
}
.detail-table td {
    border: 1px solid #d9dfe8;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    vertical-align: middle;
    height: 54px;
}
.detail-table .inner-link { display: inline; margin: 0; border: 0; background: none; padding: 0; color: #327dd7; font-size: 16px; }
.detail-empty { color: #aaa; font-size: 14px; padding: 16px; }
.detail-table th.center, .detail-table td.center { text-align: center; }
.money-note { color: #f1762e; }
.stage-table td { height: 54px; }
.stage-table th { height: 44px; background: #fafbfc; }
.stage-course { text-align: center; color: #333; font-size: 16px; }
.stage-course .package-link { display: block; color: #327dd7; margin-top: 4px; font-size: 16px; }
.detail-log-list { border: 1px solid #d9dfe8; padding: 18px 20px; font-size: 16px; color: #333; min-height: 120px; }
.detail-log-list p { margin: 0 0 12px; display: flex; gap: 30px; line-height: 24px; }
.detail-log-list p:last-child { margin-bottom: 0; }

/* 小尺寸列表弹窗 */
.mini-table { width: 100%; border-collapse: collapse; border: 1px solid #e4e9f0; }
.mini-table th, .mini-table td { border: 1px solid #e4e9f0; padding: 12px 14px; font-size: 13px; text-align: left; }
.mini-table th { background: #f8f9fb; color: #555; font-weight: 400; }
.points-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 0 20px; color: #555; font-size: 15px; }
.points-head b { color: #333; font-weight: 500; }
.points-record { display: flex; gap: 22px; padding: 10px 0; font-size: 14px; color: #333; align-items: baseline; }
.points-record .time { color: #333; min-width: 180px; }
.points-record .minus { color: #c4282c; }
.points-record .plus { color: #df5a2a; }
.modal-points { width: 820px; }
.modal-points .modal-head {
    height: 58px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-points .modal-close { top: 12px; right: 16px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-points .modal-close:hover { background: transparent; }
.modal-points .modal-body { padding: 18px 30px 0 29px; }
.modal-points .points-table { table-layout: fixed; }
.modal-points .points-table th, .modal-points .points-table td { height: 54px; padding: 0 16px; font-size: 15px; vertical-align: middle; }
.modal-points .points-table th { width: 130px; }
.modal-points .modal-foot { justify-content: flex-end; gap: 17px; padding: 17px 30px 15px; border-top: 0; }
.modal-points .btn-pill-outline,
.modal-points .btn-pill-orange,
.modal-points .btn-pill-solid { width: 155px; min-width: 0; height: 50px; border-radius: 999px; font-size: 15px; }
.modal-points .btn-pill-outline { border: 1px solid #dedede; background: #fff; color: #777; }
.modal-points .btn-pill-orange { border: 1px solid #c4282c; background: #fff; color: #c4282c; }
.modal-points .btn-pill-solid { border: 0; background: #c4282c; color: #fff; }
.modal-points .points-table th { color: #5b6c86; background: #f9fafc; }
.modal-points .points-table tr + tr th { text-align: center; }
.modal-points .points-table tr:last-child td { padding: 12px 16px; }

.modal-points-form {
    width: 618px;
    background: #fff;
    transform: translate(-39px, -24px);
}
.modal-points-form .modal-head {
    height: 60px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-points-form .modal-close { color: #777; }
.modal-points-form .modal-close:hover { background: #f6f6f6; }
.modal-points-form .modal-body { padding: 21px 24px 0 22px; }
.modal-points-form .form-row { gap: 0; margin-bottom: 0; align-items: flex-start; }
.modal-points-form .form-row + .form-row { margin-top: 20px; }
.modal-points-form .form-label {
    width: 103px;
    flex: none;
    text-align: left;
    font-size: 18px;
    color: #333;
    line-height: 50px;
    padding-top: 0;
}
.modal-points-form .form-row:has(.form-textarea) .form-label { padding-top: 0; }
.modal-points-form .form-control {
    height: 50px;
    background: #fff;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 17px;
    color: #333;
}
.modal-points-form .form-control::placeholder { color: #b0b0b0; }
.modal-points-form .form-textarea {
    flex: 1;
    background: #fff;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    min-height: 144px;
    height: 144px;
    padding: 14px 16px;
    font-size: 17px;
    color: #333;
    resize: none;
}
.modal-points-form .form-textarea::placeholder { color: #b0b0b0; }
.modal-points-form .modal-foot {
    justify-content: flex-end;
    gap: 24px;
    border-top: 0;
    padding: 25px 24px;
}
.modal-points-form .btn-modal-ghost {
    width: 155px;
    min-width: 155px;
    height: 49px;
    padding: 0;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #d9dfe8;
    color: #777;
    font-size: 15px;
}
.modal-points-form .btn-modal-primary {
    width: 155px;
    min-width: 155px;
    height: 49px;
    padding: 0;
    border-radius: 25px;
    background: #c4282c;
    color: #fff;
    font-size: 15px;
}
.modal-points-form .form-error { min-height: 0; margin: 0; }

/* 跟进时间轴 */
.detail-commissions > summary { display: block; padding: 20px; border: 1px solid #d9dfe8; color: #c4282c; font-size: 18px; font-weight: 700; text-align: center; cursor: pointer; list-style: none; }
.detail-commissions > summary::-webkit-details-marker { display: none; }
.detail-commissions .commission-hide, .detail-commissions[open] .commission-show { display: none; }
.detail-commissions[open] .commission-hide { display: inline; }
.detail-commissions[open] > .detail-section { margin-top: 24px; }
.commission-table td:first-child { overflow-wrap: anywhere; }
.commission-image-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 12px; margin-top: 20px; }
.commission-image-row > .form-label { padding-top: 9px; }
.commission-existing-preview-list, .commission-upload-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.commission-existing-preview-list:empty { display: none; }
.commission-existing-preview-list { margin-bottom: 10px; }
.commission-image-row .follow-preview { position: relative; width: 86px; height: 86px; overflow: hidden; border: 1px solid #d9dfe8; border-radius: 6px; background: #f7f8fa; }
.commission-image-row .follow-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.commission-image-row .follow-preview-del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; padding: 0 0 1px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .58); color: #fff; font-size: 14px; line-height: 20px; text-align: center; cursor: pointer; }
.commission-upload { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border: 1px dashed #cbd2dc; border-radius: 6px; color: #8b95a1; font-size: 13px; cursor: pointer; }
.commission-upload:hover { border-color: #c4282c; color: #c4282c; }
.commission-upload .enrollment-upload-plus { font-size: 32px; line-height: 34px; }
.commission-upload-wrap .follow-preview-list { display: contents; }
.commission-upload-wrap .follow-preview { flex: none; }
.commission-upload-hint { margin-top: 8px; color: #8b95a1; font-size: 12px; }
.follow-list { padding: 0; }
.follow-item { position: relative; display: flex; align-items: center; height: 57px; font-size: 15px; }
.follow-item::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 43px;
    bottom: -18px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, #d9d9d9 0, #d9d9d9 2px, transparent 2px, transparent 6px);
}
.follow-item:last-child::after { display: none; }
.follow-dot { width: 20px; flex: none; display: flex; align-items: center; justify-content: center; }
.follow-dot i { width: 20px; height: 20px; border-radius: 50%; background: #333; border: 4px solid #d9d9d9; }
.follow-time { width: 168px; flex: none; margin-left: 18px; color: #333; }
.follow-person { width: 47px; flex: none; color: #333; }
.follow-note { color: #333; flex: 1; }
.follow-img { color: #2575d6; background: #efefef; border: 0; border-radius: 3px; width: 76px; height: 30px; padding: 0; font-size: 14px; cursor: pointer; }
.empty-tip { padding: 30px 0; text-align: center; color: #aaa; font-size: 14px; }

/* 打包课程详情（设计稿 32） */
.modal-package {
    width: 810px;
    max-height: none;
    align-self: flex-start;
    margin-top: 192px;
    position: relative;
    left: 45px;
}
.modal-package .modal-head {
    height: 60px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-package .modal-close {
    top: 10px;
    right: 16px;
    transform: none;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #777;
}
.modal-package .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-package .modal-close:hover { background: transparent; }
.modal-package .modal-body { padding: 24px; overflow: visible; }
.package-info { width: 100%; border: 1px solid #d9dfe8; border-collapse: collapse; table-layout: fixed; }
.package-info th, .package-info td {
    height: 54px;
    padding: 0 24px;
    border: 1px solid #d9dfe8;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    vertical-align: middle;
}
.package-info th { background: #f9fafc; color: #5b6c86; font-weight: 400; }
.package-info td { color: #333; }
.package-info td.cell-price { padding-left: 16px; }
.package-actions { display: flex; justify-content: flex-end; gap: 24px; margin-top: 24px; }
.package-actions .btn { width: 156px; min-width: 156px; height: 50px; padding: 0; border-radius: 25px; font-size: 16px; }
.package-actions .btn-ghost { border: 1px solid #d9dfe8; background: #fff; color: #555; }
.package-actions .btn-primary { border: 0; background: #c4282c; color: #fff; }
.modal-record {
    width: 710px;
    max-height: none;
    align-self: flex-start;
    margin-top: 303px;
    position: relative;
    left: 38px;
}
.modal-record .modal-head {
    height: 60px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-record .modal-close {
    top: 12px;
    right: 16px;
    transform: none;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #777;
}
.modal-record .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-record .modal-close:hover { background: transparent; }
.modal-record .modal-body { padding: 22px 24px 30px; overflow: visible; }
.record-info {
    display: flex;
    align-items: center;
    height: 22px;
    font-size: 18px;
    line-height: 22px;
    color: #1a1a1a;
    white-space: nowrap;
    font-feature-settings: "palt";
}
.record-info-course { margin-left: 2px; }
.record-info-divider { flex: none; width: 2px; height: 19px; margin: 0 13px 0 19px; background: #ebebeb; }
.record-info-student { margin-left: 1px; }
.record-table {
    width: 100%;
    margin-top: 25px;
    border: 1px solid #d9dfe8;
    border-collapse: collapse;
    table-layout: fixed;
}
.record-table th, .record-table td {
    height: 54px;
    padding: 0 19px;
    border: 1px solid #d9dfe8;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    vertical-align: middle;
}
.record-table th { background: #f9fafc; color: #5b6c86; font-weight: 400; }
.record-table td { color: #333; }
.record-table .record-status.is-active { color: #33954b; }
.record-table .record-empty { text-align: center; color: #aaa; }

/* 核销 */
.modal-verify {
    width: 580px;
}
.modal-verify .modal-head {
    height: 60px;
    padding: 0 60px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-verify .modal-close {
    top: 14px;
    right: 12px;
    transform: none;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #777;
}
.modal-verify .modal-close:hover { background: transparent; }
.modal-verify .modal-body { padding: 24px 24px 31px; overflow: visible; }
.verify-name-row { display: flex; align-items: center; height: 50px; }
.verify-label { flex: none; color: #333; font-size: 16px; line-height: 22px; }
.verify-name-row .verify-label { width: 103px; line-height: 50px; }
.verify-student-wrap { position: relative; flex: 1; min-width: 0; }
.verify-input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 10px 2px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 16px;
    outline: none;
}
.verify-input::placeholder { color: #aaa; }
.verify-results {
    position: static;
    z-index: 30;
    display: none;
    max-height: 192px;
    margin-top: -1px;
    padding: 0 14px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9dfe8;
    border-top: 0;
    border-radius: 0 0 6px 6px;
}
.verify-results.show { display: block; }
.verify-name-row:has(.verify-results.show) { height: auto; align-items: flex-start; }
.verify-name-row:has(.verify-results.show) .verify-label { line-height: 50px; }
.verify-result-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #d9dfe8;
    background: #fff;
    color: #333;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}
.verify-result-item:hover { background: #fafafa; }
.verify-result-name { flex: none; width: 80px; }
.verify-result-phone { flex: none; font-family: Calibri, "Microsoft YaHei", sans-serif; font-size: 17px; letter-spacing: 2px; }
.verify-result-empty { display: flex; align-items: center; height: 48px; padding: 0 1px; border-bottom: 1px solid #d9dfe8; color: #aaa; font-size: 16px; }
.verify-section { margin-top: 34px; }
.verify-courses { display: flex; align-items: center; flex-wrap: wrap; row-gap: 16px; min-height: 18px; margin-top: 29px; }
.verify-stage-row { margin: 34px 0 0; gap: 0; }
.verify-stage-row .verify-label { width: 103px; line-height: 50px; }
.modal-verify .form-control { height: 50px; border: 1px solid #d9dfe8; border-radius: 6px; font-size: 16px; color: #333; }
.modal-verify .form-control:focus { border-color: #d9dfe8; }
.verify-course-option { display: flex; align-items: center; flex: none; height: 18px; color: #333; font-size: 16px; line-height: 18px; cursor: pointer; }
.verify-course-option + .verify-course-option { margin-left: 66px; }
.verify-course-option input { display: none; }
.verify-radio-dot { position: relative; flex: none; width: 18px; height: 18px; margin-right: 12px; border: 1px solid #ccc; border-radius: 50%; background: #fff; }
.verify-radio-dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #e15503; display: none; }
.verify-course-option input:checked + .verify-radio-dot { border-color: #e15503; }
.verify-course-option input:checked + .verify-radio-dot::after { display: block; }
.verify-upload { margin-top: 35px; }
.verify-upload .upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100px;
    height: 100px;
    margin-top: 14px;
    padding-top: 24px;
    gap: 6px;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    background: #fff;
    color: #a4acb5;
    font-size: 14px;
    line-height: 19px;
    cursor: pointer;
}
.verify-upload .upload-box svg { width: 28px; height: 28px; color: #a4acb5; }
.verify-upload .upload-box:hover { border-color: #d7dbe0; }
.verify-foot { justify-content: flex-end; padding: 24px; border-top: 1px solid #d9dfe8; }
.verify-foot .btn-modal-primary {
    min-width: 0;
    width: 140px;
    height: 50px;
    padding: 0 0 2px;
    border-radius: 25px;
    background: #c4282c;
    color: #fff;
    font-size: 16px;
}
.verify-foot .btn-modal-primary:hover { background: #c4282c; filter: none; }
.verify-foot .btn-modal-primary.btn-disabled { background: #e4e4e4 !important; color: #fff !important; }
.btn-disabled { background: #ededed !important; color: #b0b0b0 !important; pointer-events: none; }

/* 新增缴费/预存 */
.modal-pay { width: 580px; }

/* 添加报名（高表单） */
.modal-enroll-form { width: 600px; }
.modal-student-form { width: 578px; }
.modal-form .modal-body { padding: 28px 28px 8px; }
.modal-form .form-label { width: 100px; font-size: 16px; }
.modal-form .form-row { margin-bottom: 21px; }
.modal-form .form-control { height: 50px; }
.modal-form .form-block { margin-bottom: 20px; }
.modal-form .form-block .form-label { font-size: 16px; }
.modal-form .modal-foot { justify-content: flex-end; }

/* 学员新增/编辑（设计稿 18） */
.modal-student-form {
    width: 580px;
    align-self: flex-start;
    margin-top: 58px;
    max-height: none;
}
.modal-student-form .modal-head { height: 60px; padding: 0 60px 2px; background: #fafcff; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; color: #333; font-size: 20px; font-weight: 700; }
.modal-student-form .modal-close { top: 13px; right: 18px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-student-form .modal-close:hover { background: transparent; }
.modal-student-form .modal-body { padding: 24px 20px 41px 24px; overflow: visible; }
.modal-student-form .modal-foot .btn { width: 120px; min-width: 0; height: 50px; border-radius: 25px; font-size: 16px; }
.modal-student-form .form-row { gap: 0; margin-bottom: 24px; align-items: center; }
.modal-student-form .form-label {
    width: 107px;
    min-width: 0;
    flex: none;
    text-align: left;
    font-size: 16px;
    line-height: 50px;
    padding: 0;
    white-space: nowrap;
    color: #333;
}
.modal-student-form .form-control {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    padding: 0 14px 2px;
    font-size: 16px;
    color: #333;
}
.modal-student-form .form-control:focus { border-color: #d9dfe8; }
.modal-student-form .form-control::placeholder { color: #aaa; }
.modal-student-form .form-select,
.modal-student-form .input-chevron {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 .8 5.8 6 1 11.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 7px 12px;
}
.modal-student-form .form-select:has(option[value=""]:checked) { color: #aaa; }
.modal-student-form .city-select { position: relative; flex: 1; min-width: 0; }
.modal-student-form .city-select select[hidden],
.modal-student-form .city-select-panel[hidden] { display: none; }
.modal-student-form .city-select-button { display: block; width: 100%; text-align: left; cursor: pointer; background-color: #fff; }
.modal-student-form .city-select-button.is-placeholder { color: #aaa; }
.modal-student-form .city-select-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    padding: 8px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.modal-student-form .city-select-search { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #d9dfe8; border-radius: 4px; font-size: 14px; outline: none; }
.modal-student-form .city-select-search:focus { border-color: #c4282c; }
.modal-student-form .city-select-list { max-height: 200px; overflow-y: auto; margin-top: 4px; }
.modal-student-form .city-select-group, .modal-student-form .city-select-empty { padding: 7px 10px; color: #999; font-size: 13px; }
.modal-student-form .city-select-option { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 4px; background: #fff; color: #333; text-align: left; cursor: pointer; }
.modal-student-form .city-select-option:hover, .modal-student-form .city-select-option:focus { background: #f5f6f8; outline: none; }
.modal-student-form .city-select-option[aria-pressed="true"] { color: #c4282c; }
.modal-student-form .row-tight { margin-top: -9px; }
.modal-student-form .row-last { margin-bottom: 0; }
.modal-student-form .student-activities { border-top: 1px solid #e7eaf0; margin-top: 24px; padding-top: 18px; }
.modal-student-form .student-activities-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #333; }
.modal-student-form .student-activity-row { display: grid; grid-template-columns: 1fr 150px 1fr auto; gap: 8px; margin-bottom: 10px; align-items: center; }
.modal-student-form .modal-foot { padding: 24px; border-top: 1px solid #d9dfe8; justify-content: flex-end; }
.modal-student-form .modal-foot .btn { height: 50px; min-width: 130px; border-radius: 25px; }

/* 课程新增表单（设计稿 30/31） */
.modal-course-form {
    width: 636px;
    align-self: flex-start;
    margin-top: 117px;
}
.modal-course-form.modal-course-package { margin-top: 76px; }
.modal-course-form .modal-head {
    height: 60px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    padding-bottom: 2px;
}
.modal-course-form .modal-close {
    top: 10px;
    right: 13px;
    transform: none;
    width: 26px;
    height: 26px;
    padding: 0;
    color: #777;
}
.modal-course-form .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-course-form .modal-close:hover { background: transparent; }
.modal-course-form .modal-body { padding: 22px 24px 31px 23px; }
.modal-course-form.modal-course-package .modal-body { padding-left: 24px; }
.modal-course-form .form-row { gap: 0; margin-bottom: 24px; align-items: flex-start; }
.modal-course-form .form-label {
    width: 100px;
    min-width: 0;
    flex: none;
    text-align: left;
    font-size: 18px;
    color: #333;
    line-height: 60px;
    padding-top: 0;
    white-space: nowrap;
    overflow: visible;
}
.modal-course-form.modal-course-package .form-label { width: 118px; }
.modal-course-form.modal-course-package .form-control { padding-left: 24px; }
.modal-course-form.modal-course-package .form-textarea { padding-left: 24px; }
.modal-course-form.modal-course-package .form-select { background-position: right 23px center; }
.modal-course-form.modal-course-package .ctl-unit { padding-right: 15px; }
.modal-course-form.modal-course-package .stepper-btn .svg-icon { width: 18px; height: 18px; }
.modal-course-form .form-control {
    height: 60px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    padding: 0 23px 2px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
}
.modal-course-form .form-control::placeholder { color: #aaa; }
.modal-course-form .form-select:has(option[value=""]:checked) { color: #aaa; }
.modal-course-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 .8 5.8 6 1 11.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 7px 12px;
}
.modal-course-form .ctl-unit { display: flex; align-items: center; padding-right: 14px; }
.modal-course-form .ctl-unit input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    color: inherit;
}
.modal-course-form .ctl-unit .unit { flex: none; margin-left: 12px; font-size: 18px; color: #333; }
.modal-course-form .row-name { margin-bottom: 24px; }
.modal-course-form.modal-course-package .row-name { margin-bottom: 22px; }
.modal-course-form .row-price { margin-bottom: 32px; }
.modal-course-form .row-stage { height: 47px; margin-bottom: 32px; }
.modal-course-form .row-stage .form-label { line-height: 47px; }
.modal-course-form .row-note { margin-bottom: 0; }
.modal-course-form .form-textarea {
    height: 172px;
    min-height: 172px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    padding: 15px 23px 16px;
    font-size: 18px;
    line-height: 26px;
    resize: none;
}
.modal-course-form .form-textarea::placeholder { color: #aaa; }
.modal-course-form .modal-foot {
    padding: 24px;
    border-top: 1px solid #d9dfe8;
    justify-content: flex-end;
    gap: 25px;
}
.modal-course-form .btn-modal-ghost,
.modal-course-form .btn-modal-primary {
    width: 156px;
    min-width: 156px;
    height: 50px;
    border-radius: 25px;
    font-size: 16px;
}
.modal-course-form .btn-modal-ghost { border: 1px solid #d9dfe8; background: #fff; color: #777; }
.modal-course-form .btn-modal-primary { background: #c4282c; color: #fff; }
.stage-stepper { display: flex; align-items: center; gap: 10px; }
.modal-course-form .stage-stepper { margin-left: auto; gap: 15px; }
.stepper-btn {
    width: 72px;
    height: 47px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stepper-btn .svg-icon { display: block; width: 20px; height: 20px; }
.stage-value {
    width: 115px;
    height: 47px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
}
.multi-select { position: relative; flex: 1; min-width: 0; }
.modal-course-form .multi-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 22px;
    cursor: pointer;
}
.modal-course-form .multi-select-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    color: #333;
}
.modal-course-form .multi-select-text.placeholder { color: #aaa; }
.modal-course-form .multi-select-arrow { display: flex; flex: none; position: relative; top: 1px; left: -1px; margin-left: 12px; color: #777; }
.modal-course-form .multi-select-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow: auto;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    z-index: 30;
}
.modal-course-form .multi-select.open .multi-select-panel { display: block; }
.modal-course-form .multi-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}
.modal-course-form .multi-option:hover { background: #faf6f2; }
.modal-course-form .multi-option[hidden] { display: none; }
.modal-course-form .multi-option input { accent-color: #c4282c; }
.multi-select-box { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0 0; }
.check-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #555; cursor: pointer; }
.check-chip input { accent-color: #c4282c; }

/* 新增员工 */
/* 新增员工（设计稿 35） */
.modal-employee { width: 595px; align-self: flex-start; margin-top: 160px; }
.modal-employee .modal-head {
    height: 60px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    padding-bottom: 2px;
}
.modal-employee .modal-close { top: 10px; right: 11px; transform: none; width: 26px; height: 26px; padding: 0; color: #777; }
.modal-employee .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-employee .modal-close:hover { background: transparent; }
.modal-employee .modal-body { padding: 24px 25px 29px 25px; }
.modal-employee .form-row { gap: 0; margin-bottom: 24px; align-items: flex-start; }
.modal-employee .form-label {
    width: 117px;
    min-width: 0;
    flex: none;
    text-align: left;
    font-size: 19px;
    line-height: 60px;
    padding-top: 0;
    white-space: nowrap;
}
.modal-employee .row-avatar .form-label { line-height: 40px; }
.modal-employee .form-control {
    height: 60px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 19px;
    color: #333;
}
.modal-employee .form-control::placeholder { color: #aaa; }
.modal-employee .form-select:has(option[value=""]:checked) { color: #aaa; }
.modal-employee .row-confirm { margin-bottom: 0; }
.modal-employee .form-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
    background-position: right 17px center;
    background-size: 18px 18px;
}
.modal-employee .upload-box {
    width: 120px;
    height: 120px;
    border: 1px solid #d7dbe0;
    border-radius: 8px;
    background: #f7f8fa;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 32px;
    gap: 0;
    cursor: pointer;
}
.modal-employee .upload-plus { display: flex; color: #a4acb5; }
.modal-employee .upload-plus .svg-icon { width: 28px; height: 28px; display: block; }
.modal-employee .upload-text { margin-top: 12px; font-size: 14px; line-height: 18px; color: #a4acb5; }
.modal-employee .modal-foot {
    padding: 16px 24px 25px;
    border-top: 1px solid #d9dfe8;
    justify-content: flex-end;
    gap: 14px;
}
.modal-employee .btn-modal-ghost,
.modal-employee .btn-modal-primary {
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    padding-bottom: 2px;
}
.modal-employee .btn-modal-ghost { width: 119px; min-width: 119px; border: 1px solid #d9dfe8; background: #fff; color: #777; }
.modal-employee .btn-modal-primary { width: 120px; min-width: 120px; background: #c4282c; color: #fff; }
/* 新增角色 */
.modal-role .modal-body { padding: 30px 30px 32px; }
.modal-role .form-row { align-items: flex-start; margin-bottom: 26px; }
.modal-role .form-row + .form-row { margin-bottom: 0; }
.modal-role .form-label {
    width: 112px;
    font-size: 17px;
    line-height: 50px;
    color: #333;
}
.modal-role .form-control {
    height: 50px;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 17px;
}
.modal-role .perm-options {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    gap: 10px 18px;
    min-height: 50px;
}
.modal-role .perm-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1;
    color: #333;
    cursor: pointer;
}
.modal-role .perm-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #c4282c;
    cursor: pointer;
}
.modal-role .perm-empty { font-size: 16px; line-height: 50px; color: #999; }
.modal-role .form-error { margin-top: 14px; }
.modal-role .modal-foot { padding: 16px 24px 25px; }
/* 新增体系（设计稿 33） */
.modal-system { width: 617px; }
.modal-system .modal-head {
    height: 60px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    padding-bottom: 2px;
}
.modal-system .modal-close { top: 9px; right: 12px; transform: none; width: 26px; height: 26px; padding: 0; color: #777; }
.modal-system .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-system .modal-close:hover { background: transparent; }
.modal-system .modal-body { padding: 22px 25px 0 19px; }
.modal-system .form-row { gap: 25px; margin-bottom: 24px; align-items: flex-start; }
.modal-system .form-label {
    width: 80px;
    min-width: 0;
    flex: none;
    text-align: right;
    font-size: 19px;
    color: #333;
    line-height: 60px;
    padding-top: 0;
    white-space: nowrap;
}
.modal-system .form-control {
    height: 60px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    padding: 0 21px 2px;
    font-size: 19px;
    color: #333;
}
.modal-system .form-control::placeholder { color: #aaa; }
.modal-system .row-last { margin-bottom: 0; }
.modal-system .modal-foot {
    padding: 24px 24px 24px;
    border-top: 0;
    justify-content: flex-end;
    gap: 24px;
}
.modal-system .btn-modal-ghost,
.modal-system .btn-modal-primary {
    width: 156px;
    min-width: 156px;
    height: 50px;
    border-radius: 25px;
    font-size: 16px;
    padding-bottom: 2px;
}
.modal-system .btn-modal-ghost { border: 1px solid #d9dfe8; background: #fff; color: #777; }
.modal-system .btn-modal-primary { background: #c4282c; color: #fff; }
.modal-upload-row { display: flex; align-items: center; }

.modal-enroll-form .enrollment-deposit { padding-top: 16px; }
.modal-enroll-form .enrollment-deposit .radio-label { color: #999; cursor: not-allowed; }
.modal-enroll-form .enrollment-amount { position: relative; }
.modal-enroll-form .enrollment-amount .form-control { padding-right: 40px; }
.modal-enroll-form .enrollment-amount .form-unit { position: absolute; right: 14px; top: 0; line-height: 50px; }
.enrollment-upload-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 14px; }
.enrollment-upload { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100px; height: 100px; border: 1px solid #d9dfe8; border-radius: 8px; color: #a4acb5; font-size: 14px; cursor: pointer; }
.enrollment-upload-plus { font-size: 40px; font-weight: 300; line-height: 42px; }
.enrollment-upload:hover { border-color: #a4acb5; }
.enrollment-upload-wrap .follow-preview-list { display: contents; }
.enrollment-upload-wrap .follow-preview { position: relative; width: 100px; height: 100px; }
.enrollment-upload-wrap .follow-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.enrollment-upload-wrap .follow-preview-del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #c4282c; color: #fff; cursor: pointer; }
.enrollment-detail-images { display: flex; flex-wrap: wrap; gap: 12px; }
.enrollment-detail-images img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; }

/* 确认框 */
.confirm-modal { width: 390px; border-radius: 12px; }
.confirm-modal .modal-head { height: 60px; font-size: 18px; }
.confirm-modal .modal-body { padding: 28px 30px 30px; text-align: center; color: #555; font-size: 14px; }
.confirm-modal .modal-foot { padding: 0 30px 26px; border: 0; }
.confirm-modal .btn { min-width: 110px; height: 40px; border-radius: 999px; }

/* Toast */
#toast-root { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
    padding: 10px 22px;
    background: rgba(34, 34, 34, .86);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    animation: toastIn .18s ease-out;
}
.toast.error { background: rgba(184, 38, 41, .94); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 登录页 ---------- */
.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(24px, 9vh, 110px) clamp(24px, 8.5vw, 163px);
    background-color: #eccfb2;
    background-image: linear-gradient(180deg,
        #e1bad0 0%,
        #e6c1d0 10%,
        #e7c5c9 20%,
        #f1d1cc 30%,
        #ebcbbf 40%,
        #f3cb9f 50%,
        #eec688 60%,
        #f3c581 70%,
        #f2c396 80%,
        #f2be95 90%,
        #f5d0a9 100%);
    overflow-x: hidden;
}
.login-hero {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.login-glow {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(42% 48% at 100% 40%, rgba(164, 104, 205, .50), transparent 72%),
        radial-gradient(38% 32% at 98% 0%, rgba(255, 201, 83, .50), transparent 70%),
        radial-gradient(30% 30% at 94% 96%, rgba(255, 158, 122, .32), transparent 72%);
}
.login-brand {
    position: fixed;
    left: clamp(24px, 2vw, 38px);
    top: clamp(24px, 7.3vh, 79px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.15vw, 22px);
}
.login-logo {
    display: grid;
    place-items: center;
    width: clamp(48px, 3.7vw, 71px);
    aspect-ratio: 1;
    border-radius: clamp(12px, .85vw, 16px);
    background: #fff;
    color: #c4282c;
    box-shadow: 0 5px 16px rgba(160, 100, 60, .14);
}
.login-logo svg { width: 100%; height: 100%; }
.login-brand-name {
    font-size: clamp(20px, 1.67vw, 32px);
    font-weight: 700;
    letter-spacing: 1px;
    color: #2c2c2c;
}
.login-card {
    --field-h: clamp(48px, 7.3vh, 79px);
    --row-gap: clamp(14px, 3.1vh, 33px);
    position: relative;
    z-index: 2;
    width: min(638px, 100%);
    padding: clamp(30px, 5.2vh, 56px) clamp(24px, 3.1vw, 59px) clamp(30px, 4.6vh, 50px);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(120, 55, 30, .16);
}
.login-title {
    margin: 0 0 clamp(28px, 6.2vh, 67px);
    font-size: clamp(26px, 1.77vw, 34px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 8px;
    text-indent: 8px;
    text-align: center;
    color: #222;
}
.login-field {
    display: block;
    width: 100%;
    height: var(--field-h);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #c8ced7;
    border-radius: 8px;
    padding: 0 clamp(14px, 1.15vw, 22px);
    font-size: clamp(15px, .99vw, 19px);
    color: #333;
    outline: none;
}
.login-field::placeholder { color: #b7b7b7; }
.login-field:focus { border-color: #cf8d8f; }
.login-field + .login-field { margin-top: var(--row-gap); }
.login-captcha-row {
    display: flex;
    align-items: stretch;
    gap: clamp(12px, 1vw, 19px);
    margin-top: var(--row-gap);
}
.login-captcha-row .login-captcha { flex: 1; min-width: 0; }
.login-captcha-img {
    flex: none;
    height: var(--field-h);
    width: calc(var(--field-h) * 189 / 79);
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #fff;
    object-fit: fill;
    cursor: pointer;
}
.login-submit {
    display: block;
    width: 100%;
    height: calc(var(--field-h) + 9px);
    margin-top: clamp(22px, 5.5vh, 59px);
    border: 0;
    border-radius: 999px;
    background: #c4282c;
    color: #fff;
    font-size: clamp(16px, 1.04vw, 20px);
    letter-spacing: 1px;
    cursor: pointer;
}
.login-submit:hover { background: #b02226; }
.login-remember-row {
    display: flex;
    align-items: center;
    margin-top: clamp(16px, 3.2vh, 35px);
    min-height: 22px;
}
.login-ck {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, .83vw, 16px);
    color: #333;
    cursor: pointer;
}
.login-ck input { display: none; }
.login-ck .ck-box {
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    border-radius: 3px;
    background: #fff;
    position: relative;
    display: inline-block;
    flex: none;
}
.login-ck input:checked + .ck-box { background: #c4282c; border-color: #c4282c; }
.login-ck input:checked + .ck-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.login-error {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #c4282c;
    text-align: center;
}
@media (max-width: 900px) {
    .login-page {
        justify-content: center;
        align-items: flex-start;
        padding: 112px 20px 32px;
    }
    .login-hero {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 42% center;
        opacity: .5;
    }
    .login-glow {
        background:
            radial-gradient(80% 60% at 100% 0%, rgba(255, 200, 90, .25), transparent 70%),
            linear-gradient(180deg, rgba(255, 245, 235, .12), rgba(255, 240, 220, .22));
    }
    .login-brand { top: 22px; left: 20px; }
    .login-logo { width: 46px; border-radius: 12px; }
    .login-brand-name { font-size: 20px; letter-spacing: .5px; }
    .login-card {
        width: min(520px, 100%);
        border-radius: 20px;
        padding: 32px 24px;
    }
    .login-title { margin-bottom: 28px; font-size: 26px; }
}

/* ---------- 响应式兜底 ---------- */
@media (max-width: 1500px) {
    .filter-row { flex-wrap: wrap; }
    .filter-actions { margin-left: 0; }
    .stat-icon { right: 18px; }
    .stat-title { font-size: 15px; }
    .stat-number { font-size: 36px; }
    .nav-item { font-size: 15px; }
    .sub-item { padding-left: 56px; }
}

/* ---------- 学员详情补充 ---------- */
.modal-salons { width: 620px; align-self: flex-start; margin-top: 300px; }
.modal-salons .modal-head { height: 60px; padding-bottom: 2px; font-size: 20px; font-weight: 700; color: #333; background: #fafcff; border: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; }
.modal-salons .modal-close { top: 14px; right: 11px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-salons .modal-close:hover { background: transparent; }
.modal-salons .modal-body { padding: 16px 24px 58px; overflow: visible; }
.salon-block { margin-left: 1px; border: 1px solid #d9dfe8; }
.salon-block + .salon-block { margin-top: 16px; }
.salon-row { display: flex; height: 53px; }
.salon-row + .salon-row { height: 54px; border-top: 1px solid #d9dfe8; }
.salon-label { flex: none; width: 130px; padding-left: 19px; background: #f9fafc; border-right: 1px solid #d9dfe8; color: #5b6c86; font-size: 16px; line-height: 53px; }
.salon-value { flex: 1; min-width: 0; padding: 0 16px; color: #333; font-size: 16px; line-height: 53px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.salon-date { position: relative; top: -1px; }
.salon-empty { padding: 40px 0; text-align: center; color: #999; font-size: 15px; }

/* ---------- 积分 ---------- */
.points-table th { width: 148px; vertical-align: middle; }
.points-table td { vertical-align: top; min-height: 48px; }
.points-line { display: flex; gap: 16px; line-height: 38px; font-size: 15px; color: #333; }
.points-line .time { min-width: 170px; }
.points-line em { font-style: normal; }
.points-line .minus { color: #c4282c; }
.points-line .plus { color: #c4282c; }

/* ---------- 赠送 ---------- */
.modal-gift { width: 618px; }
.modal-gift .modal-body { padding: 26px 28px; }
.modal-gift .modal-head { height: 58px; padding: 0 60px 2px; background: #fafcff; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; color: #333; font-size: 20px; font-weight: 700; }
.modal-gift .modal-foot { border-top: 0; padding: 20px 24px 24px; justify-content: flex-end; flex-wrap: wrap; gap: 17px; }
.modal-gift .modal-foot .btn-pill-outline,
.modal-gift .modal-foot .btn-pill-orange,
.modal-gift .modal-foot .btn-pill-solid { width: 119px; min-width: 0; height: 50px; border-radius: 999px; font-size: 15px; }
.modal-gift .modal-foot .btn-pill-outline { background: #fff; border: 1px solid #d9dfe8; color: #777; }
.modal-gift .modal-foot .gift-export { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.modal-gift .modal-foot .btn-pill-orange { background: #fff; border: 1px solid #c4282c; color: #c4282c; }
.modal-gift .modal-foot .btn-pill-solid { background: #c4282c; border: 0; color: #fff; }
.gift-table th { vertical-align: middle; color: #5b6c86; background: #f9fafc; }
.gift-line { line-height: 2.1; font-size: 14px; }
.gift-highlight { color: #ff6d29; font-style: normal; margin-left: 2px; }

/* 赠送/消耗表单（设计稿 09/10） */
.modal-gift-form { width: 618px; transform: translateY(-18px); }
.modal-gift-form .modal-head { height: 58px; background: #fafcff; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; font-size: 20px; font-weight: 700; color: #333; }
.modal-gift-form .modal-body { padding: 30px 25px 0; }
.modal-gift-form .form-row { gap: 0; margin-bottom: 0; }
.modal-gift-form .form-row + .form-row { margin-top: 34px; }
.modal-gift-form .form-label { width: 106px; flex: none; text-align: left; font-size: 18px; color: #333; line-height: 21px; padding-top: 14px; }
.modal-gift-form .radio-row { padding-top: 14px; flex: 1; gap: 44px; }
.modal-gift-form .form-control { height: 40px; }
.modal-gift-form .form-row:nth-of-type(2) .form-control { height: 49px; }
.modal-gift-form .form-control { border-color: #d9dfe8; font-size: 18px; }
.modal-gift-form .form-select:has(option[value=""]:checked) { color: #aaa; }
.modal-gift-form .form-control::placeholder { color: #aaa; }
.modal-gift-form:has(.gift-time-input) .modal-head { height: 60px; border: 1px solid #f2f2f2; }
.modal-gift-form:has(.gift-time-input) .form-label { width: 99px; font-size: 18px; line-height: 50px; padding-top: 0; }
.modal-gift-form:has(.gift-time-input) .modal-body { padding: 24px 24px 0; }
.modal-gift-form:has(.gift-time-input) .form-row + .form-row { margin-top: 24px; }
.modal-gift-form:has(.gift-time-input) .form-control { height: 50px; }
.modal-gift-form:has(.gift-time-input) .form-select {
    appearance: none; -webkit-appearance: none; padding-right: 44px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 .8 5.8 6 1 11.2'/%3E%3C/svg%3E") no-repeat right 22px center / 7px 12px;
}
.modal-gift-form .gift-time-input.input-chevron {
    height: 50px; border-color: #d9dfe8; padding-right: 44px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 .8 5.8 6 1 11.2'/%3E%3C/svg%3E") no-repeat right 22px center / 7px 12px;
}
.modal-gift-form .gift-time-input.input-chevron .form-control { height: 48px; }
.modal-gift-form:has(.gift-time-input) .modal-foot { border-top: 1px solid #d9dfe8; margin-top: 24px; padding: 24px; gap: 20px; }
.modal-gift-form:has(.gift-time-input) .btn-modal-ghost,
.modal-gift-form:has(.gift-time-input) .btn-modal-primary { width: 120px; min-width: 120px; height: 46px; font-size: 16px; }
.modal-gift-form .btn-modal-ghost { border-color: #d9dfe8; color: #777; }
.modal-gift-form .form-control::placeholder { color: #b8b8b8; }
.modal-gift-form .gift-time-input { flex: 1; display: flex; align-items: center; border: 1px solid #e2e2e2; border-radius: 6px; background: #fff; height: 52px; }
.modal-gift-form .gift-time-input .form-control { border: 0; height: 50px; }
.modal-gift-form .gift-time-input .svg-icon { margin-right: 14px; color: #999; }
.modal-gift-form .modal-foot { justify-content: flex-end; gap: 17px; border-top: 0; padding: 46px 24px 24px; }
.modal-gift-form .btn-modal-ghost,
.modal-gift-form .btn-modal-primary { width: 119px; min-width: 119px; height: 49px; padding: 0; font-size: 15px; }
.modal-gift-form .btn-modal-primary { background: #c4282c; color: #fff; }
.modal-gift-form .form-error { min-height: 0; margin: 0; }

/* ---------- 跟进 ---------- */
.modal-follow { width: 412px; border-radius: 18px; transform: none; }
.modal-follow .modal-head { height: 42px; padding: 0 42px; font-size: 14px; font-weight: 700; color: #333; background: #fafcff; border-bottom: 1px solid #f2f2f2; border-radius: 18px 18px 0 0; }
.modal-follow .modal-close { top: 8px; right: 6px; transform: none; width: 18px; height: 18px; padding: 0; color: #777; }
.modal-follow .modal-close-icon { width: 12px; height: 12px; }
.modal-follow .modal-close:hover, .modal-follow-form .modal-close:hover { background: transparent; }
.modal-follow-form .modal-close { top: 11px; right: 12px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-follow .modal-body { flex: 0 1 auto; min-height: 154px; padding: 5px 17px 24px; overflow: auto; }
.modal-follow .modal-foot { border-top: 1px solid #d9dfe8; padding: 17px; justify-content: flex-end; }
.modal-follow .follow-list { padding: 0; }
.modal-follow .follow-item { gap: 0; min-height: 41px; height: auto; padding: 9px 0; font-size: 12px; line-height: 22px; align-items: flex-start; }
.modal-follow .follow-item::after { left: 7px; top: 27px; bottom: -14px; }
.modal-follow .follow-dot { width: 14px; height: 22px; }
.modal-follow .follow-dot i { width: 14px; height: 14px; border-width: 3px; }
.modal-follow .follow-time { width: 111px; margin-left: 13px; white-space: nowrap; }
.modal-follow .follow-person { width: auto; min-width: 24px; margin: 0 10px; white-space: nowrap; }
.modal-follow .follow-note { min-width: 0; padding-right: 8px; overflow-wrap: anywhere; }
.modal-follow .follow-img { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 55px; height: 22px; font-size: 11px; text-decoration: none; }
.modal-follow .form-label { font-size: 15px; }
.modal-follow .follow-foot-btn { height: 34px; min-width: 105px; padding: 0 15px; border: 0; border-radius: 17px; background: #c4282c; color: #fff; font-size: 13px; }

.modal-student-notes .student-note-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.modal-student-notes .student-note-item:last-child { border-bottom: 0; }
.modal-student-notes .student-note-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #888; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.modal-student-notes .student-note-content { margin-top: 4px; color: #333; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }

/* 添加跟进记录 */
.modal-follow-form { width: 574px; transform: translate(-3px, -18.5px); }
.modal-follow-form .modal-head { height: 60px; font-size: 20px; font-weight: 700; color: #333; background: #fafcff; border: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; }
.modal-follow-form .modal-close { right: 20px; }
.modal-follow-form .modal-body { padding: 24px 17px 32px 24px; overflow: hidden; }
.modal-follow-form .form-row { gap: 27px; margin-bottom: 0; align-items: flex-start; }
.modal-follow-form .form-label { width: 76px; flex: none; text-align: left; font-size: 17px; letter-spacing: 1px; color: #333; line-height: 43px; padding-top: 0; white-space: nowrap; }
.modal-follow-form .row-note { margin-top: 24px; }
.modal-follow-form .row-note .form-label { line-height: 18px; padding-top: 14px; }
.modal-follow-form .time-input-wrap { position: relative; flex: 1; height: 50px; }
.modal-follow-form .follow-time-display { width: 100%; height: 50px; border: 1px solid #d9dfe8; border-radius: 6px; padding: 0 44px 0 16px; font-size: 17px; letter-spacing: 1px; color: #333; background: #fff; }
.modal-follow-form .follow-time-display::placeholder { color: #aaa; }
.modal-follow-form .follow-time-real { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.modal-follow-form .time-input-wrap > .svg-icon { position: absolute; right: 18px; top: 16px; width: 18px; height: 18px; color: #555; pointer-events: none; }
.modal-follow-form .note-col { flex: 1; min-width: 0; }
.modal-follow-form .form-textarea { display: block; width: 100%; min-height: 103px; height: 103px; resize: none; border-color: #d9dfe8; border-radius: 6px; padding: 11px 16px 12px; font-size: 17px; letter-spacing: 1px; line-height: 22px; }
.modal-follow-form .form-textarea::placeholder { color: #aaa; }
.modal-follow-form .row-upload { margin-top: 24px; }
.modal-follow-form .row-upload .form-label { line-height: 18px; padding-top: 4px; }
.modal-follow-form .follow-upload { width: 100px; height: 100px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d9dfe8; border-radius: 8px; padding: 0; background: #fff; color: #99a3ad; cursor: pointer; }
.modal-follow-form .follow-upload svg { width: 31px; height: 31px; color: #99a3ad; }
.modal-follow-form .upload-text { font-size: 13px; letter-spacing: 2px; line-height: 13px; color: #a4acb5; }
.modal-follow-form .follow-upload-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.modal-follow-form .follow-preview-list { display: contents; }
.modal-follow-form .follow-preview { position: relative; width: 100px; height: 100px; border: 1px solid #d9dfe8; border-radius: 8px; overflow: hidden; background: #f7f8fa; }
.modal-follow-form .follow-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modal-follow-form .follow-preview-del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; padding: 0 0 1px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; line-height: 20px; text-align: center; cursor: pointer; }
.modal-follow-form .follow-preview-del:hover { background: rgba(0, 0, 0, .72); }
.modal-follow-form .follow-form-foot { border-top: 1px solid #d9dfe8; padding: 24px 18px; justify-content: flex-end; }
.modal-follow-form .follow-save-btn { display: block; margin: 0; width: 106px; height: 48px; padding: 0; border: 0; border-radius: 24px; background: #c4282c; color: #fff; font-size: 16px; box-shadow: none; }

/* 日期与时间选择 */
input.date-picker {
    cursor: pointer;
    padding-right: 42px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5-5 5'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.modal-follow-form .follow-time-display.date-picker { background-image: none; }
.date-picker:focus { outline: none; border-color: #c4282c !important; }
body .layui-laydate {
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(30, 38, 48, .14);
    color: #333;
    overflow: hidden;
}
body .layui-laydate-header { background: #fafcff; border-bottom: 1px solid #eef0f3; }
body .layui-laydate-header i:hover,
body .layui-laydate-header span:hover,
body .layui-laydate-footer span:hover,
body .layui-laydate-footer span[lay-type=date] { color: #c4282c; }
body .layui-laydate-content td,
body .layui-laydate-list li { border-radius: 4px; }
body .layui-laydate .layui-this { background-color: #c4282c !important; color: #fff !important; }
body .layui-laydate-footer { border-top-color: #eef0f3; }
body .layui-laydate-footer .laydate-btns-confirm { background: #c4282c; border-color: #c4282c; color: #fff; }
body .layui-laydate-footer .laydate-btns-confirm:hover { color: #fff; opacity: .9; }
.standard-select-menu {
    position: fixed;
    z-index: 10000001;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 38, 48, .14);
}
.standard-select-group { padding: 8px 10px 4px; color: #999; font-size: 13px; }
.standard-select-option {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #333;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}
.standard-select-option:hover, .standard-select-option:focus { background: #f3f5f8; outline: none; }
.standard-select-option[aria-selected="true"] { background: #c4282c; color: #fff; }
.standard-select-option:disabled { color: #aaa; cursor: not-allowed; background: transparent; }
.modal-student-form .city-select-panel { box-shadow: 0 8px 24px rgba(30, 38, 48, .14); }
.modal-student-form .city-select-option[aria-pressed="true"] { background: #c4282c; color: #fff; }
.modal-follow-form .form-error { margin: 0; min-height: 0; }

/* ---------- 费用 ---------- */
.modal-fee { width: 600px; align-self: flex-start; margin-top: 290px; }
.modal-fee .modal-head { height: 60px; padding-bottom: 2px; font-size: 20px; font-weight: 700; color: #333; background: #fafcff; border: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; }
.modal-fee .modal-close { top: 11px; right: 10px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-fee .modal-close:hover { background: transparent; }
.modal-fee .modal-body { padding: 18px 24px 31px; overflow: visible; }
.modal-fee .form-label { display: block; width: auto; text-align: left; font-size: 17px; color: #333; line-height: 24px; padding: 0; }
.fee-row1 { display: flex; align-items: center; height: 50px; }
.fee-row1 .form-label { flex: none; width: 90px; padding-bottom: 2px; }
.fee-row1 .unit-input { flex: 1; min-width: 0; }
.fee-row2 .form-label { margin-top: 30px; }
.modal-fee .radio-row { gap: 60px; margin-top: 17px; padding-top: 0; flex-wrap: nowrap; height: 24px; }
.modal-fee .radio-label { gap: 12px; font-size: 17px; line-height: 24px; color: #555; }
.modal-fee .radio-dot { width: 18px; height: 18px; border: 1.5px solid #ccc; }
.modal-fee .radio-label input:checked + .radio-dot { border-color: #e15503; }
.modal-fee .radio-label input:checked + .radio-dot::after { width: 8px; height: 8px; left: 3.5px; top: 3.5px; background: #e15503; }
.fee-note { color: #666; line-height: 24px; height: 24px; margin-left: -2px; }
.fee-amount { display: inline-block; height: 24px; color: #ff6d29; margin-left: 3px; letter-spacing: 2px; line-height: 24px; vertical-align: top; font-family: Calibri, "Microsoft YaHei", sans-serif; }
.fee-num { display: inline-block; height: 24px; letter-spacing: 2px; line-height: 24px; vertical-align: top; font-family: Calibri, "Microsoft YaHei", sans-serif; }
.fee-row3 .form-label { margin-top: 29px; }
.fee-row4 .form-label { margin-top: 29px; }
.fee-row3 .unit-input, .fee-row4 .unit-input { width: 100%; height: 50px; border: 1px solid #d9dfe8; border-radius: 6px; margin-top: 18px; }
.fee-row4 .unit-input { margin-top: 20px; }
.fee-row3 .unit-input .form-control, .fee-row4 .unit-input .form-control { height: 48px; font-size: 17px; padding: 0 12px; }
.fee-row1 .unit-input { height: 50px; border: 1px solid #d9dfe8; border-radius: 6px; }
.fee-row1 .unit-input .form-control { height: 48px; font-size: 17px; padding: 0 12px; }
.modal-fee .unit-input .form-control::placeholder { color: #aaa; }
.modal-fee .unit-input .unit { padding: 0 12px; font-size: 17px; color: #333; }
.modal-fee .modal-foot { border-top: 1px solid #d9dfe8; padding: 24px; }
.modal-fee .btn-modal-primary { width: 120px; min-width: 0; height: 50px; padding: 0; border-radius: 25px; background: #c4282c; color: #fff; font-size: 15px; }
.unit-input { display: flex; align-items: center; border: 1px solid #e2e2e2; border-radius: 6px; background: #fff; overflow: hidden; }
.unit-input .form-control { border: 0; flex: 1; border-radius: 0; height: 48px; }
.unit-input .unit { padding: 0 16px; color: #333; font-size: 15px; }
.modal-fees { width: 810px; }
.modal-fees .modal-head { height: 60px; font-size: 20px; font-weight: 700; color: #333; background: #fafcff; border: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; }
.modal-fees .modal-close { top: 11px; right: 12px; transform: none; width: 25px; height: 25px; padding: 0; color: #777; }
.modal-fees .modal-close:hover { background: transparent; }
.modal-fees .modal-body { padding: 24px 24px 0; overflow: hidden; }
.fees-rows { border: 1px solid #d9dfe8; }
.fees-row { display: flex; }
.fees-row + .fees-row { border-top: 1px solid #d9dfe8; }
.fees-r1 { min-height: 124px; }
.fees-r2 { min-height: 125px; }
.fees-r3, .fees-r4 { height: 54px; }
.fees-r5 { min-height: 157px; }
.fees-label { flex: none; width: 130px; background: #fafbfc; color: #5b6c86; font-size: 16px; font-weight: 400; line-height: 34px; white-space: nowrap; border-right: 1px solid #d9dfe8; }
.fees-r1 .fees-label { padding: 9px 0 0 14px; }
.fees-r2 .fees-label, .fees-r3 .fees-label, .fees-r4 .fees-label, .fees-r5 .fees-label { padding: 9px 0 0 14px; }
.fees-label-wide { width: 168px; }
.fees-cell { flex: 1; min-width: 0; font-size: 17px; color: #333; }
.fees-r1 .fees-cell { padding: 9px 16px 14px 16px; }
.fees-r2 .fees-cell { padding: 8px 16px 14px 16px; }
.fees-r3 .fees-cell { padding: 10px 16px 9px 16px; }
.fees-r4 .fees-cell { padding: 10px 16px 9px 19px; }
.fees-r5 .fees-cell { padding: 10px 16px 11px 16px; }
.fees-line { display: block; line-height: 34px; font-size: 17px; color: #333; white-space: nowrap; }
.fees-indent { text-indent: 99px; }
.fees-key { color: #777; margin-right: 14px; }
.fees-green { color: #33954c; }
.fees-orange { color: #ff6d29; }
.fees-empty { color: #aaa; }
.fees-rows .n { font-family: Calibri, sans-serif; }
.fees-foot { display: flex; justify-content: flex-end; gap: 25px; padding: 18px 0 28px; margin-right: -1px; }
.fees-del-btn { width: 163px; height: 50px; padding: 0; border: 1px solid #d9dfe8; border-radius: 25px; background: #fff; color: #555; font-size: 15px; box-shadow: none; }
.fees-add-btn { width: 153px; height: 50px; padding: 0; border: 0; border-radius: 25px; background: #c4282c; color: #fff; font-size: 15px; box-shadow: none; }
.modal-note { width: 810px; align-self: flex-start; margin-top: 319px; }
.modal-note .modal-head { height: 60px; padding: 0 60px 2px; background: #fafcff; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; color: #333; font-size: 20px; font-weight: 700; }
.modal-note .modal-close { top: 11px; right: 17px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-note .modal-body { padding: 24px 23px 34px 24px; overflow: visible; }
.note-table { width: 100%; border-collapse: collapse; border: 1px solid #d9dfe8; table-layout: fixed; }
.note-table th, .note-table td { border: 1px solid #d9dfe8; padding: 16px; font-size: 16px; line-height: 22px; color: #333; text-align: left; vertical-align: top; }
.note-table th { width: 130px; background: #f9fafc; font-weight: 400; color: #5b6c86; }
.note-table tr:first-child th { padding-left: 17px; padding-bottom: 15px; }
.note-table tr:first-child td { padding-left: 15px; padding-bottom: 15px; }
.note-table tr:last-child th { padding-left: 23px; }
.note-table tr:last-child td { padding: 7px 16px 13px; }
.note-table tr:last-child td { height: 113px; }
.note-images { display: flex; gap: 12px; }
.note-images img { display: block; width: 93px; height: 93px; object-fit: cover; }
.note-empty { color: #aaa; }

/* ---------- 退款 ---------- */
/* 课程退费（设计稿 25） */
.modal-refund { width: 600px; align-self: flex-start; margin-top: 194px; max-height: none; }
.modal-refund .modal-head { height: 60px; padding: 0 60px 2px; background: #fafcff; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; color: #333; font-size: 20px; font-weight: 700; }
.modal-refund .modal-close { top: 10px; right: 19px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-refund .modal-close:hover { background: transparent; }
.modal-refund .modal-body { padding: 17px 24px 15px; overflow: visible; }
.modal-refund .refund-row { display: flex; align-items: center; margin-bottom: 24px; }
.modal-refund .refund-label { flex: none; width: 103px; font-size: 16px; line-height: 50px; color: #333; text-align: left; white-space: nowrap; }
.modal-refund .refund-control { flex: 1; min-width: 0; height: 50px; padding: 0 16px 2px; border: 1px solid #d9dfe8; border-radius: 6px; background: #fff; color: #333; font-size: 16px; outline: none; }
.modal-refund .refund-control::placeholder { color: #aaa; }
.modal-refund .refund-ratio-wrap { position: relative; flex: 1; min-width: 0; }
.modal-refund .refund-ratio-wrap .refund-control { width: 100%; padding-right: 56px; }
.modal-refund .refund-pct { position: absolute; right: 34px; top: 0; line-height: 50px; font-size: 16px; color: #333; pointer-events: none; }
.modal-refund .refund-note-row { align-items: flex-start; margin-bottom: 20px; }
.modal-refund .refund-note-row .refund-label { line-height: 22px; }
.modal-refund .refund-textarea { flex: 1; min-width: 0; height: 90px; padding: 16px 16px 2px; border: 1px solid #d9dfe8; border-radius: 6px; background: #fff; color: #333; font-size: 16px; line-height: 22px; resize: none; outline: none; }
.modal-refund .refund-textarea::placeholder { color: #aaa; }
.modal-refund .refund-upload-row { align-items: flex-start; margin-bottom: 0; }
.modal-refund .refund-upload-row .refund-label { line-height: 22px; margin-top: -1px; }
.modal-refund .refund-upload { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100px; height: 100px; padding-top: 24px; border: 1px solid #d7dbe0; border-radius: 8px; background: #f7f8fa; color: #a4acb5; font-size: 14px; line-height: 19px; cursor: pointer; }
.modal-refund .refund-upload .svg-icon { width: 28px; height: 28px; margin-left: 1px; }
.modal-refund .modal-foot { padding: 24px; border-top: 1px solid #d9dfe8; justify-content: flex-end; }
.modal-refund .modal-foot .btn-modal-primary { width: 140px; min-width: 0; height: 50px; padding: 0 0 2px; border-radius: 25px; background: #c4282c; color: #fff; font-size: 16px; }
/* 退费详情（设计稿 04） */
.modal-refund-detail { width: 838px; max-height: none; align-self: flex-start; margin-top: 319px; position: relative; left: 14px; }
.modal-refund-detail .modal-head {
    height: 60px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-refund-detail .modal-close { top: 11px; right: 13px; transform: none; width: 26px; height: 26px; padding: 0; color: #777; }
.modal-refund-detail .modal-close .svg-icon { width: 26px; height: 26px; }
.modal-refund-detail .modal-close:hover { background: transparent; }
.modal-refund-detail .modal-body { padding: 24px 24px 59px; overflow: visible; }
.refund-table { width: 100%; border-collapse: collapse; border: 1px solid #d9dfe8; table-layout: fixed; }
.refund-table th, .refund-table td {
    height: 54px;
    padding: 0 16px;
    border: 1px solid #d9dfe8;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    vertical-align: middle;
    color: #333;
}
.refund-table th { padding: 0 24px; background: #f9fafc; color: #5b6c86; font-weight: 400; }
.refund-table .row-note th { height: 114px; padding-top: 16px; vertical-align: top; }
.refund-table .row-note td { height: 114px; padding: 7px 16px 14px; vertical-align: top; }
.refund-thumb { display: block; width: 92px; height: 92px; object-fit: cover; }

/* ---------- 预存/缴费 ---------- */
.modal-pay { width: 580px; }

/* 新增缴费（设计稿 21） */
.modal-pay {
    align-self: flex-start;
    margin-top: 211px;
}
.modal-pay .modal-head {
    height: 60px;
    padding: 0 24px 2px 60px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-pay .modal-close { top: 13px; right: 12px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-pay .modal-close:hover { background: transparent; }
.modal-pay .modal-body { padding: 24px 24px 31px; overflow: visible; }
.modal-pay .pay-row { display: flex; align-items: center; height: 50px; margin-bottom: 24px; }
.modal-pay .pay-label { flex: none; width: 103px; color: #333; font-size: 18px; line-height: 50px; white-space: nowrap; }
.modal-pay .pay-control {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px 2px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 16px;
    outline: none;
}
.modal-pay .pay-control:focus { border-color: #d9dfe8; }
.modal-pay .pay-control::placeholder { color: #aaa; }
.modal-pay .pay-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4.5 5L1 11'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 7px 12px;
}
.modal-pay .pay-select:has(option[value=""]:checked) { color: #aaa; }
.modal-pay .pay-unit { flex: none; margin-left: 19px; color: #333; font-size: 16px; line-height: 50px; }
.modal-pay .pay-waive { margin-top: 40px; height: 18px; display: flex; align-items: center; }
.modal-pay .pay-radio { display: inline-flex; align-items: center; color: #333; font-size: 16px; line-height: 18px; cursor: pointer; }
.modal-pay .pay-radio input { display: none; }
.modal-pay .pay-radio-dot { position: relative; flex: none; width: 18px; height: 18px; margin-right: 12px; border: 1px solid #ccc; border-radius: 50%; background: #fff; }
.modal-pay .pay-radio-dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #e15503; display: none; }
.modal-pay .pay-radio input:checked + .pay-radio-dot { border-color: #e15503; }
.modal-pay .pay-radio input:checked + .pay-radio-dot::after { display: block; }
.modal-pay .pay-note { display: block; width: 100%; margin-top: 25px; }
.modal-pay .pay-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100px;
    height: 100px;
    margin-top: 18px;
    padding-top: 19px;
    gap: 11px;
    border: 1px solid #d7dbe0;
    border-radius: 6px;
    background: #f7f8fa;
    color: #a4acb5;
    font-size: 14px;
    line-height: 19px;
    cursor: pointer;
}
.modal-pay .pay-upload:hover { border-color: #d7dbe0; }
.modal-pay .pay-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.modal-pay .pay-upload-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
}
.modal-pay .pay-upload-wrap .pay-upload { margin-top: 0; }
.modal-pay .pay-preview-list { display: contents; }
.modal-pay .pay-preview-list .follow-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #d9dfe8;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f8fa;
}
.modal-pay .pay-preview-list .follow-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-pay .pay-preview-list .follow-preview-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    padding: 0 0 1px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}
.modal-pay .pay-preview-list .follow-preview-del:hover { background: rgba(0, 0, 0, .72); }
.modal-pay .modal-foot { padding: 24px; border-top: 1px solid #d9dfe8; justify-content: flex-end; }
.modal-pay .modal-foot .btn-modal-primary {
    width: 156px;
    min-width: 0;
    height: 50px;
    padding: 0 0 2px;
    border-radius: 25px;
    background: #c4282c;
    color: #fff;
    font-size: 16px;
}
.modal-pay .modal-foot .btn-modal-primary:hover { background: #c4282c; filter: none; }

/* 编辑预存金（设计稿 20） */
.modal-deposit {
    width: 617px;
    margin-left: 3px;
    align-self: flex-start;
    margin-top: 222px;
}
.modal-deposit .modal-head {
    height: 60px;
    padding: 0 60px 2px;
    background: #fafcff;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 24px 24px 0 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}
.modal-deposit .modal-close { top: 14px; right: 21px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-deposit .modal-close:hover { background: transparent; }
.modal-deposit .modal-body { padding: 24px 24px 31px; overflow: visible; }
.modal-deposit .form-block { margin-bottom: 34px; }
.modal-deposit .form-block-last { margin-bottom: 0; }
.modal-deposit .form-label {
    display: block;
    width: auto;
    margin: 0 0 27px;
    padding: 0;
    color: #333;
    font-size: 18px;
    line-height: 18px;
    text-align: left;
}
.modal-deposit .deposit-row { display: flex; align-items: center; }
.modal-deposit .deposit-row .form-control {
    flex: 1;
    min-width: 0;
    height: 60px;
    padding: 0 18px 2px;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 18px;
    outline: none;
}
.modal-deposit .deposit-row .form-control::placeholder { color: #aaa; }
.modal-deposit .deposit-input-group { display: flex; flex: 1; min-width: 0; }
.modal-deposit .deposit-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid #d9dfe8;
    border-radius: 6px 0 0 6px;
    background: #f9fafc;
    color: #333;
    cursor: pointer;
}
.modal-deposit .deposit-input-group .form-control { border-radius: 0 6px 6px 0; border-left: 0; }
.modal-deposit .unit { flex: none; margin-left: 24px; color: #333; font-size: 18px; line-height: 22px; }
.modal-deposit .modal-foot { padding: 24px; border-top: 1px solid #d9dfe8; justify-content: flex-end; }
.modal-deposit .modal-foot .btn-modal-primary {
    width: 156px;
    min-width: 0;
    height: 50px;
    padding: 0 0 2px;
    border-radius: 25px;
    background: #c4282c;
    color: #fff;
    font-size: 16px;
}
.modal-deposit .modal-foot .btn-modal-primary:hover { background: #c4282c; filter: none; }

/* ---------- 课程/系统/员工 ---------- */
.modal-enroll-form { width: 580px; align-self: flex-start; margin-top: 54px; max-height: none; }
.modal-enroll-form .modal-body { padding: 24px; }
.enrollment-student-search { position: relative; flex: 1; min-width: 0; }
.enrollment-student-search .form-control { width: 100%; }
.enrollment-student-results { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid #d9dfe8; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.enrollment-student-results[hidden] { display: none; }
.enrollment-student-results button { display: block; width: 100%; padding: 10px 14px; border: 0; background: #fff; text-align: left; cursor: pointer; }
.enrollment-student-results button:hover, .enrollment-student-results button:focus { background: #f2f5f8; }
.modal-enroll-form .modal-close { top: 13px; right: 12px; }
.modal-enroll-form .form-block .form-label { display: block; width: auto; margin: 0 0 12px; padding: 0; line-height: 1.5; color: #333; text-align: left; white-space: normal; }
.modal-enroll-form .form-block .form-control { width: 100%; }
.modal-enroll-form .form-block-title { font-size: 16px; font-weight: 700; color: #333; margin: 4px 0 20px; }
.modal-enroll-form .form-row .form-unit { flex: none; margin-left: 24px; color: #333; font-size: 16px; line-height: 1.5; }
.modal-enroll-form .enroll-actual-paid { flex: 1; min-width: 0; display: flex; align-items: center; height: 50px; font-size: 20px; font-weight: 700; color: #c4282c; }
.modal-enroll-form .enroll-actual-paid .form-unit { font-size: 16px; font-weight: 400; color: #333; }
.modal-enroll-form .radio-row { gap: 26px; }
.modal-enroll-form .radio-dot { width: 18px; height: 18px; border-color: #ccc; }
.modal-enroll-form .radio-label input:checked + .radio-dot { border-color: #e15503; }
.modal-enroll-form .radio-label input:checked + .radio-dot::after { width: 10px; height: 10px; left: 3px; top: 3px; background: #e15503; }
.modal-enroll-form .modal-foot { padding: 24px; border-top: 1px solid #d9dfe8; justify-content: flex-end; }
.modal-enroll-form .modal-foot .btn-modal-primary { width: 156px; min-width: 0; height: 50px; padding: 0 0 2px; border-radius: 25px; background: #c4282c; color: #fff; font-size: 16px; }
.orange-note { color: #f1762e; }

/* 包含课程（设计稿 23） */
.modal-included { width: 726px; align-self: flex-start; margin-top: 360px; }
.modal-included .modal-head { height: 60px; padding: 0 60px 2px; background: #fafcff; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; border-radius: 24px 24px 0 0; color: #333; font-size: 20px; font-weight: 700; }
.modal-included .modal-close { top: 13px; right: 16px; transform: none; width: 24px; height: 24px; padding: 0; color: #777; }
.modal-included .modal-body { padding: 24px 24px 54px; }
.included-table { width: 100%; border-collapse: collapse; border: 1px solid #d9dfe8; table-layout: fixed; }
.included-table th, .included-table td { height: 55px; padding: 0 16px; border: 1px solid #d9dfe8; font-size: 18px; color: #333; text-align: left; vertical-align: middle; }
.included-table th { width: 130px; background: #f9fafc; font-weight: 400; color: #5b6c86; }

/* 补缴记录折叠（超过 3 条） */
.enroll-record-table tbody.is-collapsed:not(.is-expanded) tr.pay-extra { display: none; }
.enroll-record-table tbody { border-bottom: 1px solid #d9dfe8; }
.enroll-record-table .pay-toggle { display: block; margin-top: 6px; padding: 0; border: 0; background: none; color: #2575d6; font-size: 14px; cursor: pointer; }

/* ---------- 切图资源 ---------- */
.modal-close-icon { width: 20px; height: 20px; display: block; object-fit: contain; }
.row-icon { width: 14px; height: 14px; display: block; object-fit: contain; }
.btn-icon { width: 18px; height: 18px; display: block; object-fit: contain; }

.action-row .btn-print {
    width: 110px;
    min-width: 0;
    padding: 0;
    border: 1px solid #ff3c41;
    background: #fff;
    color: #c4282c;
    font-size: 14px;
}
.action-row .btn-print:hover { background: #fdf6f6; }

.modal-pay .pay-upload {
    padding: 0;
    border: 0;
    background: url('/static/images/common/upload-upload.png') center / 100% 100% no-repeat;
}
.verify-upload .upload-box {
    padding: 0;
    border: 0;
    background: url('/static/images/common/upload-outline.png') center / 100% 100% no-repeat;
}
.modal-employee .upload-box {
    padding: 0;
    border: 0;
    background: url('/static/images/common/upload-employee.png') center / 100% 100% no-repeat;
}
.avatar-upload {
    padding: 0;
    border: 0;
    display: block;
    position: relative;
    overflow: hidden;
    background: url('/static/images/common/upload-avatar.png') center / 100% 100% no-repeat;
}
.avatar-upload input[type="file"] { display: none; }
.avatar-upload-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-upload-img.is-hidden { display: none; }

.radio-dot,
.modal-fee .radio-dot,
.modal-enroll-form .radio-dot,
.verify-radio-dot,
.modal-pay .pay-radio-dot {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: url('/static/images/common/radio-unchecked.png') center / contain no-repeat;
}
.radio-label input:checked + .radio-dot,
.modal-fee .radio-label input:checked + .radio-dot,
.modal-enroll-form .radio-label input:checked + .radio-dot,
.verify-course-option input:checked + .verify-radio-dot,
.modal-pay .pay-radio input:checked + .pay-radio-dot {
    border: 0;
    background-image: url('/static/images/common/radio-checked.png');
}
.radio-label input:checked + .radio-dot::after,
.modal-fee .radio-label input:checked + .radio-dot::after,
.modal-enroll-form .radio-label input:checked + .radio-dot::after,
.verify-course-option input:checked + .verify-radio-dot::after,
.modal-pay .pay-radio input:checked + .pay-radio-dot::after { display: none; }

.stepper-btn img { display: block; width: 30px; height: 30px; object-fit: contain; }
.modal-course-form.modal-course-package .stepper-btn img { width: 18px; height: 18px; }
.modal-deposit .deposit-plus img { display: block; width: 26px; height: 26px; object-fit: contain; }
.modal-course-form .multi-select-arrow img { display: block; width: 24px; height: 24px; object-fit: contain; }

.select {
    background-image: url('/static/images/common/icon-select-triangle.png');
    background-size: 14px 11px;
    background-position: right 14px center;
}
.form-select {
    background-image: url('/static/images/common/icon-select-arrow.png');
    background-size: 24px 24px;
    background-position: right 11px center;
}
.modal-student-form .form-select { background-position: right 17px center; }
.modal-course-form .form-select { background-position: right 13px center; }
.modal-course-form.modal-course-package .form-select { background-position: right 14px center; }
.modal-employee .form-select { background-position: right 14px center; }
.modal-pay .pay-select { background-position: right 9px center; }

.login-page {
    background-color: #eccfb2;
    background-image: url('/static/images/login/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.login-ck .ck-box {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 0;
    background: url('/static/images/login/checkbox.png') center / contain no-repeat;
}
.login-ck input:checked + .ck-box {
    border: 0;
    background: url('/static/images/login/checkbox-checked.png') center / contain no-repeat;
}
.login-ck input:checked + .ck-box::after { display: none; }
.login-glow { display: none; }
.export-action .btn-icon { width: 20px; height: 20px; }
.export-action.export-btn .btn-icon, .systems-filter .btn-icon { width: 18px; height: 18px; }
