/* 自学考试管理系统 —— 通用样式
   约定：正文 14px；辅助/说明文字一律 ≥13px 且用深色，不用浅灰小字。
   超级管理员 / 自考教务 / 招生责任人 / 招生老师 共用同一套界面，
   区别只在「能看到哪些菜单 + 能看到哪些学生」，不在样式。 */

:root {
    --primary: #1b5fcc;
    --primary-dark: #14479b;
    --primary-soft: #eaf1fd;
    --nav-bg: #12263f;
    --nav-bg2: #0d1c2e;
    --text: #1c2733;
    --text-mid: #3d4c5c;
    --text-sub: #56677a;
    --line: #e3e8ef;
    --line-soft: #eef1f6;
    --bg: #f4f6fa;
    --card: #ffffff;
    --green: #0f7a55;
    --orange: #b4620a;
    --red: #be2a2a;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(18, 38, 63, .06), 0 6px 18px rgba(18, 38, 63, .05);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- 布局 ---------------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 230px;
    flex: 0 0 230px;
    background: linear-gradient(170deg, #173f70 0%, #12263f 45%, #0d1c2e 100%);
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}
.brand-name { font-size: 16.5px; font-weight: 700; color: #fff; letter-spacing: .8px; }
.brand-sub { font-size: 12.5px; color: rgba(255, 255, 255, .55); }

.nav { padding: 12px 10px; flex: 1; overflow-y: auto; }
.nav-block { margin-bottom: 3px; }
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .74);
    font-size: 14.5px;
    font-weight: 500;
}
.nav-item:hover { background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; }
.nav-item.is-active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(27, 95, 204, .35);
}
.nav-item .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.nav-item > span { flex: 1; }
.nav-caret {
    width: 18px; height: 18px; flex: 0 0 18px; position: relative; opacity: .75;
    border-radius: 4px;
}
.nav-caret:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.nav-caret::before {
    content: ''; position: absolute; left: 5px; top: 7px;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .18s;
}
.nav-block.is-open .nav-caret::before { transform: rotate(180deg); }

.nav-sub { padding: 4px 0 6px 40px; display: none; }
.nav-block.is-open .nav-sub { display: block; }
.nav-sub-item {
    display: block;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .62);
}
.nav-sub-item:hover { background: rgba(255, 255, 255, .07); text-decoration: none; color: #fff; }
.nav-sub-item.is-active { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .1); }

.side-foot {
    padding: 13px 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    box-shadow: 0 1px 2px rgba(18, 38, 63, .03);
}
.top-chip {
    font-size: 13.5px;
    color: var(--text-mid);
    background: var(--primary-soft);
    border: 1px solid #d3e2f8;
    padding: 6px 14px;
    border-radius: 20px;
}
.top-chip b { color: var(--text); }
.top-chip-warn { background: #fdf3e7; border-color: #f0dcb9; color: var(--orange); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.who { font-size: 13.5px; color: var(--text-mid); }
.who b { color: var(--text); }
.role-tag {
    margin-left: 7px;
    font-size: 12.5px;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border-radius: 5px;
    padding: 3px 8px;
    font-weight: 600;
}

.content {
    padding: 22px; flex: 1; overflow-x: hidden;
    background: linear-gradient(180deg, #e8eff9 0%, #f2f6fb 140px, #f2f6fb 100%);
}

/* ---------------- 页头 ---------------- */
.page-head { margin-bottom: 18px; }
.page-title {
    margin: 0; font-size: 22px; font-weight: 700; color: #123b6b; letter-spacing: .5px;
}
.page-desc {
    margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: #3f5470;
    border-left: 4px solid var(--primary); padding: 8px 13px;
    background: linear-gradient(90deg, #eaf2fd 0%, #f4f8fd 100%);
    border-radius: 0 8px 8px 0;
}

/* ---------------- 卡片 / 栅格 ---------------- */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    overflow: hidden;
}
.card-head {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: linear-gradient(90deg, #f0f6ff 0%, #f8fbff 100%);
    border-left: 4px solid var(--primary);
}
.card-title { margin: 0; font-size: 15.5px; font-weight: 700; color: #163b68; letter-spacing: .3px; }
.card-extra { font-size: 13px; }
.card-body { padding: 18px 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------------- 统计卡 ---------------- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.stat-card {
    border: 1px solid #d8e6f8;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 16px;
    text-align: center;
    background: linear-gradient(160deg, #f2f8ff 0%, #ffffff 65%);
}
.stat-card.stat-green { border-color: #cfe9dd; background: linear-gradient(160deg, #eefaf4 0%, #ffffff 65%); }
.stat-card.stat-orange { border-color: #f2ddbf; background: linear-gradient(160deg, #fdf4e8 0%, #ffffff 65%); }
.stat-card.stat-gray { border-color: #e0e5ec; background: linear-gradient(160deg, #f5f7fa 0%, #ffffff 65%); }
.stat-value {
    font-size: 31px; font-weight: 700; color: #13488f; line-height: 1.25;
    display: block; letter-spacing: .5px;
}
.stat-card.stat-green .stat-value { color: #0b6b4a; }
.stat-card.stat-orange .stat-value { color: #a55a06; }
.stat-card.stat-gray .stat-value { color: #46586d; }
.stat-unit { font-size: 13.5px; font-weight: 600; color: var(--text-sub); margin-left: 3px; }
.stat-label { font-size: 14px; color: #43566d; margin-top: 5px; font-weight: 700; }
.stat-sub { font-size: 13px; color: var(--text-sub); margin-top: 3px; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
    text-align: left;
    padding: 12px 12px;
    background: linear-gradient(180deg, #eaf2fd 0%, #e2edfb 100%);
    border-bottom: 1px solid #cfdff2;
    border-top: 1px solid #cfdff2;
    color: #14457f;
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
}
.table th:first-child { border-left: 1px solid #cfdff2; border-top-left-radius: 6px; }
.table th:last-child { border-right: 1px solid #cfdff2; border-top-right-radius: 6px; }
.table td {
    padding: 11px 12px;
    border-bottom: 1px solid #eaeff6;
    color: var(--text);
    vertical-align: middle;
    white-space: nowrap;
}
/* 需要换行的单元格（备注等）单独加 class */
.table td.wrap, .table td .wrap { white-space: normal; }
.table td.wrap { min-width: 180px; max-width: 360px; }
.table tbody tr:nth-child(even) { background: #fafcfe; }
.table tbody tr:hover { background: #eef5fd; }
.table tbody tr:last-child td { border-bottom: 0; }
.ta-center { text-align: center; }

.empty {
    padding: 30px 12px;
    text-align: center;
    color: var(--text-sub);
    font-size: 13.5px;
}

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-mid);
    padding: 7px 15px;
    border-radius: 7px;
    font-size: 13.5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}
.btn:hover { background: #eef3fb; text-decoration: none; color: var(--primary-dark); border-color: #bcd3f0; }
.btn-primary {
    background: linear-gradient(180deg, #2f7ad6 0%, #1b5fcc 100%);
    border-color: #17509f; color: #fff; font-weight: 600;
    box-shadow: 0 2px 6px rgba(27, 95, 204, .3);
}
.btn-primary:hover {
    background: linear-gradient(180deg, #1b5fcc 0%, #14479b 100%);
    border-color: #123d86; color: #fff;
}
.btn-danger { color: var(--red); border-color: #efc7c7; }
.btn-danger:hover { background: #fdf2f2; color: var(--red); }
.btn-ghost { border-color: transparent; }
.btn-sm { padding: 5px 11px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }
.btn .ico { width: 15px; height: 15px; }
.inline-form { display: inline; }
.row-actions { display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; }

.toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.toolbar-left, .toolbar-right { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- 表单 ---------------- */
/* 表单按列数等宽排布（列数由 ui_form 的 cols 决定），控件一律撑满 */
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 13px; }
.form[data-cols="1"] .form-row { grid-template-columns: minmax(0, 1fr); }
.form[data-cols="3"] .form-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form[data-cols="4"] .form-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-col { min-width: 0; }
.col-12 { grid-column: 1 / -1; }
.form-col .input, .form-col select.input, .form-col textarea.input { width: 100%; }
.form-label { display: block; font-size: 13.5px; color: var(--text-mid); margin-bottom: 6px; font-weight: 600; }
.req { color: var(--red); }
.input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 9px 11px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    font-family: inherit;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27, 95, 204, .13); }
select.input { cursor: pointer; }
.input-sm { width: auto; padding: 6px 9px; font-size: 13px; }
.form-help { font-size: 13px; color: var(--text-sub); margin-top: 5px; }
.form-static { padding: 8px 0; color: var(--text); font-size: 14px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.check-line { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-mid); padding: 6px 0; }

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 12px 18px;
  align-items: center;
}
.filter-item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-item > .f-label {
  flex: 0 0 78px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.filter-item > .f-ctrl { flex: 1 1 0; min-width: 0; }
/* 筛选栏里的控件一律撑满各自的格，避免长短不一 */
.filter-item > .f-ctrl > .input,
.filter-item > .f-ctrl > .sel-wrap,
.filter-item > .f-ctrl > select,
.filter-item > .f-ctrl > input { width: 100%; }
.filter-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------------- 可搜索下拉 ---------------- */
.sel-wrap { position: relative; }
.sel-display {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 30px 9px 11px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  position: relative;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.sel-display.placeholder { color: var(--text-sub); }
.sel-display::after {
  content: ''; position: absolute; right: 12px; top: 50%;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-sub);
  transform: translateY(-50%);
  transition: transform .15s;
}
.sel-display.open { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27, 95, 204, .13); }
.sel-display.open::after { transform: translateY(-50%) rotate(180deg); }
.sel-display.sm { padding: 6px 28px 6px 9px; font-size: 13px; }
.sel-panel {
  position: absolute; z-index: 80; top: calc(100% + 3px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 10px 26px rgba(18, 38, 63, .16);
  display: none;
}
.sel-panel.show { display: block; }
.sel-search {
  width: 100%; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 11px; font-size: 13.5px; color: var(--text); font-family: inherit;
  border-radius: 7px 7px 0 0;
}
.sel-search:focus { outline: none; }
.sel-list { max-height: 268px; overflow: auto; }
.sel-opt {
  padding: 9px 11px; font-size: 13.5px; line-height: 1.5;
  color: var(--text); cursor: pointer;
}
.sel-opt:hover, .sel-opt.active { background: var(--primary-soft); }
.sel-opt.on { color: var(--primary-dark); font-weight: 700; }
.sel-opt mark { background: #fff2b8; color: inherit; font-weight: 700; }
.sel-empty { padding: 10px; font-size: 13px; color: var(--text-mid); }

.upload-box { margin-bottom: 12px; }
.upload-box input { font-size: 13px; }

.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
@media (max-width: 1100px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 13.5px;
    background: #fff;
}
.check-card:hover { border-color: #c3d5f0; background: #fafcff; }
.check-card.is-on { border-color: var(--primary); background: var(--primary-soft); }
.check-card input { margin-right: 7px; }
.check-card-name { color: var(--text); font-weight: 600; }
.check-card-sub { display: block; font-size: 13px; color: var(--text-sub); margin-top: 2px; }

/* ---------------- 徽标 / 提示 ---------------- */
.badge {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}
.badge-green { background: #e4f5ed; color: #0b6b4a; border-color: #b6e0cd; }
.badge-orange { background: #fdf0e0; color: #a55a06; border-color: #f2d7ab; }
.badge-red { background: #fceaea; color: #a52020; border-color: #eebdbd; }
.badge-blue { background: #e6f0fd; color: #14479b; border-color: #bcd4f4; }
.badge-gray { background: #eef1f5; color: #55677c; border-color: #dbe1e9; }

.flash-wrap { margin-bottom: 14px; }
.flash {
    padding: 11px 15px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 9px;
    border: 1px solid transparent;
}
.flash-ok { background: #e9f6f0; border-color: #bfe5d5; color: #0f6a4c; }
.flash-err { background: #fdecec; border-color: #f2c9c9; color: #a32020; }
.flash-warn { background: #fdf5e8; border-color: #f0dcb8; color: #8a5606; }
.flash-detail { margin-top: 6px; }
.flash-detail summary { cursor: pointer; font-size: 13.5px; font-weight: 600; }
.flash-list { margin: 6px 0 0; padding-left: 20px; font-size: 13.5px; }
.flash-list li { margin-bottom: 3px; }
.flash-note {
  margin-top: 9px; padding: 11px 13px; border-radius: 7px;
  background: #fdf1e3; border-left: 3px solid var(--orange);
  font-size: 13.5px; line-height: 1.75; color: #333;
}
.flash-note b { color: #8a4b00; }

.tip-list { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--text-sub); }
.tip-list li { margin-bottom: 7px; }

.p-line { margin: 6px 0; font-size: 14px; }

.c-gray { color: var(--text-sub); }
.c-green { color: var(--green); }
.c-orange { color: var(--orange); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-mid);
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 13px;
}
.pager-btn:hover { background: #f4f7fb; text-decoration: none; }
.pager-btn.is-current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager-btn.is-disabled { color: #a9b3bf; cursor: default; }
.pager-info { font-size: 13px; color: var(--text-sub); margin-left: 6px; }

/* ---------------- 登录页 ---------------- */
.login-body {
    background: linear-gradient(150deg, #14345e 0%, #1b5fcc 55%, #2f7ad6 100%);
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    padding: 24px;
}
.login-card {
    width: 520px;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 0 46px 32px;
    box-shadow: 0 18px 48px rgba(9, 25, 48, .28);
    overflow: hidden;
}
.login-card::before {
    content: '';
    display: block;
    height: 8px;
    margin: 0 -46px 34px;
    background: linear-gradient(90deg, #1b5fcc 0%, #2f7ad6 50%, #5aa0e6 100%);
}
.login-head { text-align: center; margin-bottom: 30px; }
.login-title {
    margin: 0; font-size: 28px; font-weight: 700; color: #123b6b; letter-spacing: 2px;
}
.login-sub { margin: 10px 0 0; font-size: 14.5px; color: var(--text-sub); letter-spacing: 1px; }
.login-rule { height: 4px; width: 60px; background: linear-gradient(90deg,#1b5fcc,#5aa0e6); border-radius: 3px; margin: 16px auto 0; }
.login-form .form-label { margin-top: 20px; font-size: 14px; font-weight: 600; }
.login-form .input { height: 48px; font-size: 15.5px; }
.login-form .btn-block { height: 50px; font-size: 17px; letter-spacing: 8px; margin-top: 28px; font-weight: 600; }
.login-tip {
    margin: 20px 0 0; text-align: center; font-size: 13.5px; color: var(--text-sub); line-height: 1.7;
}
.login-copy {
    margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft);
    text-align: center; font-size: 13.5px; color: var(--text-sub);
}

/* 页脚 */
.page-foot { padding: 18px 22px 24px; text-align: center; font-size: 13px; color: var(--text-sub); }

/* ================= 手机端 =================
   一律支持查看与查询；导入/导出类操作只在电脑上做（按钮隐藏 + 服务端也拦）。
   手机上左侧菜单收成抽屉，点左上角「菜单」展开，风格与电脑端完全一致。 */
.menu-toggle { display: none; }
.nav-mask { display: none; }

@media (max-width: 900px) {
    body { font-size: 14.5px; }
    .layout { display: block; }

    .sidebar {
        position: fixed;
        left: 0; top: 0; bottom: 0;
        width: 268px;
        max-width: 82vw;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform .22s ease;
        box-shadow: 4px 0 22px rgba(9, 22, 40, .3);
        overflow-y: auto;
    }
    .sidebar.is-open { transform: translateX(0); }
    .nav-mask {
        display: block; position: fixed; inset: 0; z-index: 150;
        background: rgba(10, 22, 38, .45);
        opacity: 0; pointer-events: none; transition: opacity .2s;
    }
    .nav-mask.show { opacity: 1; pointer-events: auto; }

    .menu-toggle {
        display: inline-flex; align-items: center; gap: 6px;
        border: 1px solid var(--line); background: #fff; color: var(--text-mid);
        padding: 7px 12px; border-radius: 8px; font-size: 14px; font-family: inherit;
        margin-right: 8px; cursor: pointer;
    }

    .main { min-height: 100vh; }
    .topbar { height: 56px; padding: 0 12px; gap: 8px; }
    .topbar-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
    .top-chip { font-size: 12.5px; padding: 5px 10px; white-space: nowrap; }
    .topbar-right { gap: 6px; }
    .topbar-right .who .role-tag { display: none; }
    .content { padding: 12px; }
    .page-title { font-size: 19px; }
    .page-desc { font-size: 13.5px; }

    .card { border-radius: 9px; margin-bottom: 12px; }
    .card-head { padding: 12px 14px; }
    .card-body { padding: 14px; }
    .stat-card { padding: 14px 10px; }
    .stat-value { font-size: 26px; }

    /* 表格：横向滚动，别把列挤成竖排字 */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { font-size: 13px; min-width: 640px; }
    .table th, .table td { padding: 9px 10px; }

    /* 表单：一行一个 */
    .form-row { display: block; }
    .form-col { margin-bottom: 12px; }
    .form-col:last-child { margin-bottom: 0; }
    .check-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; gap: 10px; }
    .filter-item { flex-direction: column; align-items: stretch; gap: 4px; }
    .filter-item > .f-label { flex: none; text-align: left; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .grid-2 { grid-template-columns: 1fr; }

    /* 手机上不做的操作：隐藏按钮 */
    .no-mobile { display: none !important; }
    .page-foot { padding: 14px 12px 20px; font-size: 12.5px; }
}

@media (max-width: 560px) {
    .login-card { padding: 0 22px 24px; border-radius: 12px; }
    .login-card::before { margin: 0 -22px 24px; }
    .login-title { font-size: 23px; }
    .page-title { font-size: 18px; }
    .table { min-width: 560px; }
}

/* 筛选栏的按钮单独一行靠右，别挤在控件堆里 */
.filter-btns { grid-column: 1 / -1; justify-content: flex-end; margin-top: 2px; }
@media (max-width: 900px) { .filter-btns { justify-content: stretch; } }
