/* ============================================
   EXPLORER AVI - 深色科技主题（手机端默认）
   Dark Aviation Tech Theme (Mobile Default)
   PC端在 @media (min-width:768px) 中覆盖为浅色
   ============================================ */

:root {
  /* ---- 核心配色（深色 - 手机端/APP端，严格对齐 saas.zhaojiren.com） ---- */
  --bg-primary: #060E1A;
  --bg-secondary: #0B1929;
  --bg-card: #0F2035;
  --bg-card-hover: #132A45;
  --bg-input: #132A45;
  --border-color: #1A3050;
  --border-glow: rgba(0,229,160,0.25);

  /* ---- 文字颜色（深色背景用浅色字） ---- */
  --text-primary: #E8F0FE;
  --text-secondary: #8BA3C7;
  --text-muted: #4A6585;

  /* ---- 强调色（青绿→青蓝渐变，严格对齐参考站） ---- */
  --accent-teal: #00E5A0;
  --accent-cyan: #00B4D8;
  --accent-blue: #3b82f6;
  --accent-orange: #f59e0b;
  --accent-red: #FF4D6A;
  --accent-pink: #ff6b81;
  --accent-yellow: #FFB020;
  --accent-green: #10b981;

  /* ---- 语义色（对齐参考站） ---- */
  --success: #10b981;
  --info: #00B4D8;
  --warning: #FFB020;
  --danger: #FF4D6A;

  /* ---- 圆角 ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* ---- 阴影 ---- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(0,229,160,0.12);
  --shadow-button: 0 4px 14px rgba(0,229,160,0.2);

  /* ---- 尺寸 ---- */
  --nav-height: 56px;
  --tabbar-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* 预留滚动条槽位，避免内容加载后滚动条出现导致整页向右偏移/拉伸。
   关键点：滚动容器必须是 html（根），scrollbar-gutter 才能生效 */
html { scrollbar-gutter: stable; }

body {
  font-family: -apple-system, 'SF Pro Display', 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip 阻止横向溢出，但【不会】把 body 变成滚动容器（hidden 会），
     从而保持 html 为唯一滚动容器，scrollbar-gutter 才生效 */
  overflow-x: clip;
  scrollbar-gutter: stable;
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- 页面容器 ---- */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: calc(var(--tabbar-height) + 88px);
}
@media (min-width: 768px) {
  .page-container { padding: 24px; padding-bottom: 24px; }
}
@media (max-width: 480px) {
  .page-container { padding: 10px; padding-bottom: calc(var(--tabbar-height) + 88px); }
}

/* ============================================
   顶部导航栏
   ============================================ */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(10,14,26,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(30,42,58,0.8);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.top-nav .logo-area {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.top-nav .logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #00e5b8, #00d4aa);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,229,184,0.3);
}
.top-nav .logo-icon-img {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}
.top-nav .logo-text {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.top-nav .logo-sub {
  font-size: 9px; color: var(--text-muted); letter-spacing: 2px;
  margin-top: -2px; text-transform: uppercase;
}
.top-nav .nav-right {
  display: flex; align-items: center; gap: 12px;
}
.top-nav .user-info {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
}
.top-nav .user-avatar {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #00d4aa);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #fff;
}

/* ---- 主内容区 ---- */
.main-content {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  /* clip 阻止横向溢出，但不创建滚动容器，保持 html 为唯一滚动容器 */
  overflow-x: clip;
  scrollbar-gutter: stable;
}

/* 隐藏系统顶部导航栏（移动端+桌面端），去掉顶部占位 */
.top-nav { display: none !important; }
@media (max-width: 767px) {
  .main-content {
    margin-top: 0 !important;
    /* 去掉 overflow-x:clip，否则页眉 position:sticky 会在 main-content 内失效 */
    overflow-x: visible !important;
  }
  /* 隐藏移动端各页大标题+面包屑（仅保留 APP 风格页眉） */
  .pc-page-title { display: none !important; }

  /* 移动端去掉最外层容器四边留白（四边最外侧边框） */
  .page-container {
    padding: 0 0 calc(var(--tabbar-height) + 88px) 0 !important;
  }

  /* 首页/财务/个人中心/签到/题库 与学员页保持相同左右边距，内容不要贴边 */
  .page-container.dash-page,
  .page-container.finance-page,
  .page-container.my-page,
  .page-container.ci-page,
  .page-container.quiz-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* 页眉所在面板去掉顶部内边距和顶部边框，让页眉真正贴顶 */
  .exam-panel,
  .student-panel,
  .checkin-panel-v2 {
    padding-top: 0 !important;
    border-top: none !important;
  }

  /* 所有主 Tab 页页眉：顶到最上、左右到边、锁定、背景与页面一致 */
  .exam-page-header,
  .student-page-header,
  .checkin-page-header-v2,
  .dash-page-header,
  .finance-page-header,
  .my-page-header,
  .quiz-page-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    margin-top: 0 !important;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    background: var(--bg-primary) !important;
    border: none !important;
    box-sizing: border-box !important;
  }

  /* 默认：页眉在 page-container 内，宽度 100% 即可 */
  .exam-page-header,
  .student-page-header,
  .checkin-page-header-v2,
  .dash-page-header,
  .finance-page-header,
  .my-page-header,
  .quiz-page-header {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 在 12px padding 面板内的页眉，突破面板到屏幕边缘 */
  .exam-panel > .exam-page-header,
  .student-panel > .student-page-header {
    width: calc(100% + 26px) !important;
    margin-left: -13px !important;
    margin-right: -13px !important;
  }

  /* 签到页 header 有额外的上下负边距，单独覆盖 */
  .checkin-page-header-v2 {
    margin-top: 0 !important;
    padding: 10px 16px !important;
    border-radius: 0 !important;
  }

  /* 强制覆盖 dashboard.php 内联样式：首页页眉四角直角、宽度顶满、背景一致 */
  html body .page-container .exam-page-header.dash-page-header,
  html body .page-container .finance-page-header,
  html body .page-container .my-page-header,
  html body .page-container .checkin-page-header-v2,
  html body .page-container .quiz-page-header {
    border-radius: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--bg-primary) !important;
    border: none !important;
  }

  /* 带左右内边距的页面，页眉用负边距突破容器，保持到边到顶 */
  html body .page-container.dash-page > .dash-page-header,
  html body .page-container.finance-page > .finance-page-header,
  html body .page-container.my-page > .my-page-header,
  html body .page-container.ci-page > .checkin-page-header-v2,
  html body .page-container.quiz-page > .quiz-page-header {
    width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
  }

  /* 学员/考试页眉所在面板去掉圆角、边框与裁剪，避免顶部被裁成圆弧 */
  .exam-panel,
  .student-panel {
    border-radius: 0 !important;
    border: none !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* 学员/考试页眉必须顶到面板边缘 */
  .exam-panel > .exam-page-header {
    width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
  }
  .student-panel > .student-page-header {
    width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
  }
}

/* ============================================
   统计卡片组
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 4px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.stat-number {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-all;
  overflow-wrap: break-word;
  letter-spacing: -0.5px;
}
.stat-number.green { color: var(--accent-teal); }
.stat-number.cyan { color: var(--accent-cyan); }
.stat-number.orange { color: var(--accent-orange); }
.stat-number.red { color: var(--accent-red); }
.stat-number.blue { color: var(--accent-blue); }
.stat-label {
  font-size: 11px; color: var(--text-muted); margin-top: 6px;
  font-weight: 500;
}

/* ============================================
   功能卡片/面板
   ============================================ */
.panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow-x: clip;
}
.panel:hover {
  border-color: rgba(0,229,184,0.3);
}
@media (max-width: 480px) {
  .panel { padding: 14px; border-radius: var(--radius-md); margin-bottom: 12px; }
}
.panel-title {
  font-size: 13px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 8px;
  position: relative;
  padding-left: 14px;
}
.panel-title-text {
  display: flex; align-items: center; gap: 8px;
}
.panel-back-link {
  font-size: 13px; font-weight: 600;
  color: var(--accent-teal);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.panel-back-link:hover { opacity: 0.85; }

/* 周报/表单页返回按钮 */
.rp-back-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px 6px 8px;
  background: rgba(0,229,160,.10);
  border: 1px solid rgba(0,229,160,.22);
  border-radius: 999px;
  color: var(--accent-teal);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.rp-back-link svg { width: 16px; height: 16px; }
.rp-back-link:hover { background: rgba(0,229,160,.18); border-color: rgba(0,229,160,.35); }
.panel-title::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 18px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 2px;
}

/* ============================================
   搜索筛选栏
   ============================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 16px; align-items: center;
}
/* 财务收支筛选栏：整体调扁约三分之一 */
.finance-filter-bar { gap: 8px; margin-bottom: 12px; }
.finance-filter-bar .search-input,
.finance-filter-bar .select-input {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-position: right 9px center;
  padding-right: 28px;
}
.finance-filter-bar .search-input::placeholder { font-size: 12px; }
.finance-filter-bar .btn-sm {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}
.search-input {
  flex: 1; min-width: 150px;
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}
.search-input:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,229,184,0.12);
}
.search-input::placeholder { color: var(--text-muted); }
.select-input {
  height: 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  min-width: 110px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.select-input:focus { border-color: var(--accent-teal); }

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 20px;
  border: none; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent-teal);
  color: #051210;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,229,184,0.35);
  filter: brightness(1.05);
}
.btn-primary:active { transform: translateY(0); }

.btn-danger {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,71,87,0.25);
}
.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,71,87,0.35);
}
.btn-danger:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-teal);
  color: var(--accent-teal);
}
.btn-outline:hover {
  background: rgba(0,229,184,0.08);
}
.btn-sm {
  height: 26px; padding: 0 10px; font-size: 11px;
  border-radius: var(--radius-sm);
}
.btn-icon {
  width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm);
}
.btn-logout {
  background: rgba(255,71,87,0.1);
  color: var(--accent-red);
  border: 1.5px solid rgba(255,71,87,0.25);
}
.btn-logout:hover { background: rgba(255,71,87,0.18); }

/* 退出登录图标按钮 */
.btn-logout-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  background: rgba(15,23,42,0.85);
  color: #a0aec0;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-logout-icon svg { width: 15px; height: 15px; stroke-width: 2.2; }
.btn-logout-icon:hover {
  background: rgba(255,71,87,0.15);
  color: #ff5b6e;
  border-color: rgba(255,71,87,0.35);
}

/* 页面有内联退出按钮时，隐藏顶部导航栏的原始退出图标 */
.has-inline-logout ~ .top-nav .nav-right .btn-logout-icon,
body:has(.has-inline-logout) .top-nav .nav-right .btn-logout-icon { display: none !important; }

/* ============================================
   列表项
   ============================================ */
.list-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
  display: flex; justify-content: space-between; align-items: center;
}
.list-item:hover {
  border-color: rgba(0,229,184,0.3);
  background: var(--bg-card-hover);
  transform: translateX(3px);
}
.list-item-main { flex: 1; min-width: 0; }
.list-item-title {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 4px;
}
.list-item-sub {
  font-size: 12px; color: var(--text-secondary);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.list-item-actions {
  display: flex; gap: 8px; flex-shrink: 0; margin-left: 12px;
}
.card-actions-row {
  width: 100%; margin-left: 0; margin-top: 12px; gap: 10px;
}
.card-actions-row .btn-action {
  flex: 1; height: 32px; border-radius: var(--radius-md);
  font-size: 12px; font-weight: 600; gap: 6px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.card-actions-row .btn-action svg {
  width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2;
}
.card-actions-row .btn-action-edit {
  background: var(--accent-teal);
  color: #051210;
  box-shadow: 0 4px 14px rgba(0,229,184,0.25);
}
.card-actions-row .btn-action-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,229,184,0.35);
}
.card-actions-row .btn-action-delete {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,129,0.25);
}
.card-actions-row .btn-action-delete:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,107,129,0.35);
}
@media (max-width: 480px) {
  .list-item { flex-direction: column; align-items: stretch; }
  .list-item-actions { margin-left: 0; margin-top: 10px; justify-content: flex-end; }
  .card-actions-row { margin-top: 12px; }
  .card-actions-row .btn-action { height: 30px; font-size: 11px; }
}

.finance-record-item { flex-direction: column; align-items: stretch; }
.finance-record-item .list-item-main { width: 100%; }
.finance-record-item .list-item-actions {
  margin-left: 0; margin-top: 12px; justify-content: flex-end;
}

/* ============================================
   状态标签（Tag/Badge）
   ============================================ */
.tag {
  display: inline-flex; align-items: center;
  padding: 0px 6px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}
/* 学员状态标签（培训中/已毕业等）- 更大 */
.student-status-tag {
  padding: 1px 8px !important;
  font-size: 10px !important;
}
.tag-success {
  background: rgba(16,185,129,0.12); color: var(--accent-green);
  border: 1px solid rgba(16,185,129,0.3);
}
.tag-info {
  background: rgba(59,130,246,0.12); color: var(--accent-blue);
  border: 1px solid rgba(59,130,246,0.3);
}
.tag-warning {
  background: rgba(245,158,11,0.12); color: var(--accent-orange);
  border: 1px solid rgba(245,158,11,0.3);
}
.tag-danger {
  background: rgba(255,71,87,0.12); color: var(--accent-red);
  border: 1px solid rgba(255,71,87,0.3);
}
.tag-default {
  background: rgba(255,255,255,0.04); color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.tag-primary {
  background: rgba(0,229,184,0.12); color: var(--accent-teal);
  border: 1px solid rgba(0,229,184,0.3);
}
.tag-course {
  background: rgba(59,130,246,0.12); color: var(--accent-blue);
  border: 1px solid rgba(59,130,246,0.3);
}
.tag-gold {
  background: rgba(245,158,11,0.12); color: var(--accent-orange);
  border: 1px solid rgba(245,158,11,0.3);
}
.tag-purple {
  background: rgba(168,85,247,0.12); color: #a78bfa;
  border: 1px solid rgba(168,85,247,0.3);
}

/* ============================================
   表单
   ============================================ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}
.form-control {
  width: 100%; height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.25s;
}
.form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,229,184,0.1);
}
textarea.form-control { height: auto; min-height: 68px; padding: 10px 12px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-control:disabled,
.form-control.disabled {
  opacity: 0.45;
  background: rgba(0,0,0,0.03);
  color: var(--text-muted);
  cursor: not-allowed;
}
.practice-label.disabled {
  color: var(--text-muted);
  opacity: 0.4;
}
/* 禁用的实操科目：整项隐藏（非本执照类型的科目不显示） */
.practice-item.disabled {
  display: none !important;
}
/* 级联禁用（某科未通过后后续科目灰显但可见） */
.practice-item.cascade-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.practice-item.cascade-disabled .practice-label {
  color: var(--text-muted);
}
.practice-item.cascade-disabled .practice-select,
.practice-item.cascade-disabled select {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
}

/* ============================================
   底部Tab导航（移动端）
   ============================================ */
.tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: var(--tabbar-height);
  background: rgba(10,14,26,0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(30,42,58,0.8);
  display: flex;
  align-items: center; justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 768px) { .tab-bar { display: none; } }

.tab-bar-5 .tab-item { font-size: 10.5px; padding: 6px 8px; }
.tab-bar-5 .tab-item svg { width: 22px; height: 22px; }
.tab-bar-4 .tab-item { font-size: 11px; padding: 6px 10px; }
.tab-bar-4 .tab-item svg { width: 23px; height: 23px; }
.tab-bar-3 .tab-item { font-size: 11.5px; padding: 6px 12px; }
.tab-bar-3 .tab-item svg { width: 24px; height: 24px; }
.tab-bar-6 .tab-item { font-size: 10px; padding: 5px 4px; }
.tab-bar-6 .tab-item svg { width: 21px; height: 21px; }
.tab-bar-7 .tab-item { font-size: 9.5px; padding: 4px 2px; }
.tab-bar-7 .tab-item svg { width: 20px; height: 20px; }
.tab-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--text-muted);
  font-size: 10px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  min-width: 56px;
}
.tab-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tab-item .tab-active-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent-teal);
  transition: transform 0.2s ease;
}
.tab-item.active { color: var(--accent-teal); }
.tab-item.active .tab-active-line { transform: translateX(-50%) scaleX(1); }
.tab-item:hover { color: var(--accent-teal); }

/* ============================================
   侧边导航（PC端）- 参考 saas.zhaojiren.com 风格
   ============================================ */
.side-nav { display: none; }

/* PC 端隐藏移动汉堡按钮 */
.hide-pc { display: inline-flex; }
@media (min-width: 768px) {
  .hide-pc { display: none !important; }
  .nav-drawer,
  #navDrawer,
  #navDrawerMask { display: none !important; }
}
/* 移动端隐藏汉堡 */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
/* 抽屉打开态 */
.nav-drawer.nav-drawer-open { left: 0 !important; }

/* 顶部菜单按钮 */
.nav-menu-btn{background:transparent;border:none;color:rgba(255,255,255,.9);padding:6px 10px;margin-right:8px;border-radius:6px;display:inline-flex;align-items:center;cursor:pointer;}
.nav-menu-btn:hover{background:rgba(255,255,255,.08);}
.nav-menu-btn svg{width:22px;height:22px;}
@media (min-width: 768px) {
  .side-nav {
    display: flex;
    flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 220px;
    background: #111827;
    border-right: 1px solid rgba(0,0,0,0.06);
    padding: 0;
    overflow-y: auto;
    z-index: 90;
  }

  /* 侧边栏顶部Logo区（去占位，Logo整体上移） */
  .side-nav::before { display: none; }

  /* ===== 桌面端深色 APP 主题布局（所有页面统一与 APP 深色风格一致）===== */
  .main-content {
    margin-left: 220px;
    min-height: 100vh;
    background: var(--bg-primary);
  }

  .page-container { padding-bottom: 24px; }

  /* 桌面端隐藏移动端元素 */
  .tab-bar { display: none !important; }
  .top-nav { display: none !important; }
}
.side-menu { list-style: none; padding: 4px 10px; flex: 1; }
.side-menu > li { margin-bottom: 1px; }
.side-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  border-radius: 8px;
  margin-bottom: 1px;
  transition: all 0.2s ease;
}
.side-menu li a:hover {
  background: rgba(0,0,0,0.06);
  color: #e2e8f0;
}
.side-menu li a.active {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding-left: 11px;
}
.side-menu li a svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* 侧边栏底部退出按钮 */
.side-menu .sidebar-footer {
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* 侧边栏Logo区域 */
.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, transparent 100%);
  flex-shrink: 0;
}
.sidebar-logo-icon,
.sidebar-logo-img {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(59,130,246,0.3);
  flex-shrink: 0;
  object-fit: cover;
}
.sidebar-brand-text { display: flex; flex-direction: column; }
.sidebar-brand-name {
  font-size: 13px; font-weight: 800;
  color: #f1f5f9; letter-spacing: 1px;
}
.sidebar-brand-sub {
  font-size: 13px; font-weight: 800;
  color: #f1f5f9; letter-spacing: 1px; margin-top: 1px;
}

/* 折叠箭头 */
.menu-arrow {
  margin-left: auto;
  font-size: 10px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}
.menu-open > .menu-toggle .menu-arrow,
.submenu-open > .submenu-toggle .menu-arrow {
  transform: rotate(90deg);
}

/* 一级折叠：有子菜单的父项 */
.menu-toggle {
  cursor: pointer;
  user-select: none;
}
.menu-toggle:hover {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

/* 子菜单默认收起 */
.side-submenu {
  list-style: none;
  padding: 0 0 0 22px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
  opacity: 0;
}
/* 展开状态 */
.menu-open > .side-submenu,
.submenu-open > .side-submenu {
  max-height: 600px;
  opacity: 1;
  margin: 2px 0 6px 0;
}
.side-submenu li a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.side-submenu li a:hover { color: var(--text-primary); }

/* 三级子菜单 */
.submenu-toggle {
  cursor: pointer;
  user-select: none;
}
.submenu-toggle:hover {
  color: var(--text-primary) !important;
}
.side-submenu.level-3 {
  padding-left: 14px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  opacity: 0;
}
.submenu-open > .side-submenu.level-3 {
  max-height: 300px;
  opacity: 1;
  margin: 2px 0 4px 0;
}
.side-submenu.level-3 li a {
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-secondary);
}
.side-submenu.level-3 li a:hover { color: var(--accent-teal); }

/* ============================================
   分页 — 两排布局
   第一排：上一页 / 页码数字 / 下一页（居中）
   第二排：每页条数 · 跳转（两端分布）
   ============================================ */

/* --- 第一排：页码导航 --- */
.pagination-row-nav {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.pagi-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.2s;
  white-space: nowrap;
}
.pagi-btn:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.pagi-btn.pagi-disabled {
  opacity: 0.35; pointer-events: none;
}

.pagi-numbers {
  display: flex; align-items: center; gap: 6px;
}
.pagi-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.2s;
}
.pagi-num:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.pagi-num.pagi-active {
  background: var(--accent-teal);
  color: #051210; border-color: transparent; font-weight: 700;
}

/* --- 第二排：控制栏 --- */
.pagination-row-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-secondary);
}
.page-size-control, .page-jump-control {
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.page-size-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  padding: 6px 10px; font-size: 13px;
  outline: none; min-width: 74px;
  cursor: pointer; user-select: none;
  transition: all 0.2s;
}
.page-size-trigger:active { border-color: var(--accent-teal); background: var(--bg-card-hover); }
.page-size-trigger svg { color: var(--text-muted); }
.page-jump-input {
  width: 56px; text-align: center;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  padding: 6px 6px; font-size: 13px;
  outline: none;
}
.page-jump-control .btn-sm { padding: 6px 12px; font-size: 12px; }

/* --- 每页条数向上/向下展开下拉列表 --- */
.page-size-control { position: relative; }
.page-size-dropdown {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  min-width: 140px;
  background: #111a2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.45);
  padding: 6px 0;
  z-index: 10001;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.page-size-dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.page-size-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  font-size: 14px; color: #e8f0fe;
  cursor: pointer; user-select: none;
  transition: all 0.15s;
}
.page-size-dropdown-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.04); }
.page-size-dropdown-item:hover { background: rgba(255,255,255,0.04); }
.page-size-dropdown-item.active {
  color: var(--accent-teal);
  background: rgba(0,229,184,0.08);
  font-weight: 600;
}
.page-size-dropdown-check {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-teal);
}

/* 深色主题分页控件适配 */
body.dark-app-theme .main-content .pagination-row-controls,
body.dark-app-theme .main-content .pagination-row-nav { color: var(--text-muted, #8892a4); }
body.dark-app-theme .main-content .pagi-btn,
body.dark-app-theme .main-content .pagi-num {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  color: var(--text-primary, #e8f0fe) !important;
}
body.dark-app-theme .main-content .pagi-btn:hover,
body.dark-app-theme .main-content .pagi-num:hover { border-color: rgba(0,229,184,.35) !important; }
body.dark-app-theme .main-content .pagi-num.pagi-active {
  background: var(--accent-teal) !important;
  color: #051210 !important; border-color: transparent !important;
}
body.dark-app-theme .main-content .page-size-select,
body.dark-app-theme .main-content .page-jump-input {
  background: var(--bg-secondary, #0b1929) !important;
  color: var(--text-primary, #e8f0fe) !important;
  border-color: var(--border-color, #1a3050) !important;
}

/* ============================================
   统一底部滑出弹窗（Bottom Sheet）— 全局标准
   参考：移动端APP底部弹出，桌面端居中模态
   ============================================ */

/* ---- 遮罩层 ---- */
.modal-overlay,
#campusModal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(6,10,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: flex-end;        /* 移动端：底部对齐 */
  justify-content: center;
}
/* 桌面端：居中 */
@media (min-width: 600px) {
  .modal-overlay, #campusModal { align-items: center; }
}

/* 显示状态 */
.modal-overlay[style*='flex'],
#campusModal[style*='flex'] {
  animation: bsOverlayIn 0.2s ease-out forwards;
}
@keyframes bsOverlayIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- 弹窗面板（统一bottom-sheet样式）---- */
.modal-box,
.campus-modal-box {
  width: 100%; max-width: 460px; max-height: 85vh;
  background: #111a2e;
  border-radius: 18px 18px 0 0;   /* 移动端：顶部圆角 */
  overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
  transform: translateY(100%);       /* 初始：滑出屏幕外 */
  opacity: 0;
  transition: all 0.32s cubic-bezier(0.32,0.72,0,1);
}
/* 桌面端：全圆角+缩放 */
@media (min-width: 600px) {
  .modal-box, .campus-modal-box {
    border-radius: 18px;
    transform: scale(0.92);
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
}

/* 入场动画：面板滑入/放大 */
.modal-overlay[style*='flex'] .modal-box,
#campusModal[style*='flex'] .campus-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* 居中式确认弹窗 */
.modal-overlay.confirm-center { align-items: center; }
.modal-confirm-box {
  width: calc(100% - 48px);
  max-width: 320px;
  background: #111a2e;
  border-radius: 18px;
  padding: 24px 20px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
  transition: all 0.25s ease;
}
.modal-overlay.confirm-center[style*='flex'] .modal-confirm-box {
  transform: scale(1);
  opacity: 1;
}
.modal-confirm-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(244,67,54,0.12);
  color: #ff6b6b;
  display: flex; align-items: center; justify-content: center;
}
.modal-confirm-icon svg { width: 26px; height: 26px; }
.modal-confirm-title { font-size: 17px; font-weight: 700; color: #e8f0fe; margin-bottom: 10px; }
.modal-confirm-msg { font-size: 14px; color: #8892a4; line-height: 1.5; margin-bottom: 22px; }
.modal-confirm-actions { display: flex; gap: 10px; }
.modal-confirm-actions .btn { flex: 1; padding: 11px 0; font-size: 14px; font-weight: 600; border-radius: 11px; border: none; cursor: pointer; }
.modal-confirm-actions .btn-outline { background: transparent; color: #8892a4; border: 1px solid rgba(255,255,255,0.12); }
.modal-confirm-actions .btn-outline:active { background: rgba(255,255,255,0.06); }
.modal-confirm-actions .btn-danger { background: #ff6b6b; color: #fff; }
.modal-confirm-actions .btn-danger:active { background: #e85c5c; }

/* ---- 拖拽条（Drag Handle）---- */
.bsheet-handle {
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.15);
  margin: 10px auto 6px; cursor: grab;
}
.bsheet-handle:active { cursor: grabbing; background: rgba(255,255,255,0.25); }

/* ---- 头部（标题栏）---- */
.modal-header,
.campus-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modal-header h3,
.campus-modal-header h3 {
  font-size: 16px; font-weight: 700; color: #e8f0fe;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin: 0; padding: 0;
}
.modal-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: none;
  color: #8892a4; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; transition: all 0.2s;
}
.modal-close:active { background: rgba(255,107,107,0.15); color: #ff6b6b; }

/* ---- 底部按钮区 ---- */
.modal-footer {
  display: flex; gap: 10px; padding: 14px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}
.modal-footer .btn { flex: 1; padding: 11px 0; font-size: 14px; font-weight: 600; border-radius: 11px; }

/* ---- 考点管理弹窗内部 ---- */
.campus-modal-body { padding: 12px 16px; }
.campus-modal-desc { font-size: 12px; color: #8892a4; margin-bottom: 12px; line-height: 1.5; }

/* 考点列表项 */
.campus-list-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(15,25,41,0.8);
  border: 1px solid rgba(26,48,80,0.6);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.campus-item-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: linear-gradient(135deg, #f44336, #e91e63);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.campus-item-info { flex: 1; min-width: 0; }
.campus-item-name {
  font-size: 14px; font-weight: 600; color: #e8f0fe;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.campus-item-addr {
  font-size: 11.5px; color: #8892a4; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.campus-item-actions {
  display: flex; gap: 6px; flex-shrink: 0;
}
.campus-item-actions .btn-action {
  width: 30px; height: 30px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(26,48,80,0.6);
  background: rgba(15,25,41,0.6);
  cursor: pointer; transition: all 0.2s;
}
.campus-item-actions .btn-action-edit:hover {
  border-color: rgba(0,229,184,0.4); color: #00e5a0;
}
.campus-item-actions .btn-action-delete:hover {
  border-color: rgba(255,107,107,0.4); color: #ff6b6b;
}
/* 添加/关闭按钮 */
.campus-add-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #00e5a0, #00c896);
  color: #04121f;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 6px;
  transition: opacity 0.2s;
}
.campus-add-btn:hover { opacity: 0.88; }
.campus-close-btn {
  width: 100%; padding: 11px;
  background: transparent;
  color: #8ba3c7;
  border: 1px solid rgba(26,48,80,0.6);
  border-radius: 12px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; margin-top: 8px;
  transition: all 0.2s;
}
.campus-close-btn:hover {
  background: rgba(255,255,255,0.04); color: #e8f0fe;
}

/* ============================================
   登录页 V2 (saas.zhaojiren.com 风格)
   ============================================ */
/* ===== 登录页（严格对齐 saas.zhaojiren.com 深色 SaaS 风格） ===== */
/* ============================================
   登录页面 V3 - 科技粒子背景版（对齐参考站）
   ============================================ */
.login-page-v3 {
  min-height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  background: #060E1A;
  position: relative; overflow: hidden;
  padding: 16px;
  padding-top: 7vh;
}

.login-card-v3 {
  width: 100%; max-width: 400px;
  background: #0F2035;
  border: 1px solid #1E3A5F;
  border-radius: 10px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 1px rgba(0,229,160,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; z-index: 1;
}

/* 品牌区 - 居中 */
.login-brand-v3 {
  text-align: center;
  margin-bottom: 12px;
}
.login-logo-v3 {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #00E5A0, #00B4D8);
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,229,160,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset;
  margin-bottom: 10px;
}
.login-logo-v3 svg { width: 35px; height: 35px; }
.login-title-v3 {
  font-size: 22px; font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.login-subtitle-v3 {
  font-size: 13px; color: #8BA3C7;
  letter-spacing: 0.5px;
}

/* 标题栏（替代标签页） */
.login-header-v3 {
  text-align: center;
  font-size: 16px; font-weight: 700;
  color: #E8F0FE;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(26, 48, 80, 0.5);
  letter-spacing: 2px;
}

/* 错误提示 */
.login-error-v3 {
  background: rgba(255,77,106,0.1);
  border: 1px solid rgba(255,77,106,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  color: #FF4D6A;
  font-size: 13px;
  text-align: center;
}

/* 表单 */
.login-form-v3 { margin-bottom: 20px; }
.login-field-v3 { margin-bottom: 16px; }
.label-v3 {
  display: block;
  font-size: 12px; font-weight: 500;
  color: #8BA3C7;
  margin-bottom: 6px;
}
.input-v3 {
  width: 100%;
  height: 46px;
  background: rgba(19, 42, 69, 0.9);
  border: 1.5px solid rgba(26, 48, 80, 0.8);
  border-radius: 10px;
  padding: 0 16px;
  color: #E8F0FE;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}
.input-v3:focus {
  border-color: #00E5A0;
  box-shadow: 0 0 0 3px rgba(0,229,160,0.1);
  background: rgba(19, 42, 69, 1);
}
.input-v3::placeholder { color: #4A6585; }

/* 登录按钮 */
.login-btn-v3 {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #00C9FF, #00B4D8);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(0,180,216,0.3);
  letter-spacing: 2px;
}
.login-btn-v3:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,180,216,0.45);
}
.login-btn-v3:active { transform: translateY(0); }

/* 底部 - 学员签到入口 */
.login-footer-v3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.login-link-v3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all 0.25s ease;
  border: none;
}
.login-link-v3.link-register {
  background: transparent;
  color: #00e5a0;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-link-v3.link-register:hover {
  background: transparent;
  color: #4dffb8;
  box-shadow: none;
  text-decoration: underline;
}

/* 入场动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-in { animation: fadeInUp 0.35s ease-out both; }

/* 教员登录页底部页脚 */
.login-page-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  text-align: center;
  padding: 14px 0;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: rgba(138, 174, 199, 0.75);
  letter-spacing: 1.5px;
  background: rgba(6, 14, 26, 0.92);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* PC端适配 */
@media (min-width: 768px) {
  .login-card-v3 {
    max-width: 420px;
    padding: 32px 32px 28px;
  }
  .login-logo-v3 { width: 78px; height: 78px; margin-bottom: 12px; }
  .login-logo-v3 svg { width: 39px; height: 39px; }
  .login-title-v3 { font-size: 24px; }
}

/* ============================================
   详情页
   ============================================ */
.detail-section { margin-bottom: 20px; }
.detail-row {
  display: flex; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 14px;
}
.detail-label { width: 90px; color: var(--text-muted); flex-shrink: 0; }
.detail-value { color: var(--text-primary); flex: 1; word-break: break-all; }

/* ============================================
   空状态
   ============================================ */
.empty-state {
  text-align: center; padding: 48px 20px; color: var(--text-muted);
}
.empty-state svg { width: 64px; height: 64px; stroke: var(--border-color); margin-bottom: 16px; }
.empty-state p { font-size: 14px; }

/* ============================================
   Toast提示
   ============================================ */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 2000;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast-success { background: rgba(16,185,129,0.92); color: #fff; }
.toast-error { background: rgba(255,71,87,0.92); color: #fff; }
.toast-info { background: rgba(59,130,246,0.92); color: #fff; }

/* ============================================
   月度分组标题
   ============================================ */
.month-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 4px; margin-top: 8px;
  font-size: 14px; font-weight: 700; color: var(--accent-teal);
}
.month-header .date-icon {
  width: 24px; height: 24px;
  background: var(--accent-blue);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

/* ============================================
   图表容器
   ============================================ */
.chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}
.chart-title {
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ============================================
   响应式辅助
   ============================================ */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } }
.show-mobile { display: block; }
@media (min-width: 768px) { .show-mobile { display: none; } }

/* ============================================
   动画
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.35s ease-out both; }

/* ============================================
   PC端内容区调整 - 铺满自适应
   ============================================ */
@media (min-width: 768px) {
  .page-container { max-width: none; width: 100%; padding: 24px 28px; }
  .panel { padding: 24px; }
  .stat-number { font-size: 24px; }

  /* 统计卡片网格 - PC端4列铺满 */
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  /* 图表容器铺满 */
  .chart-container { width: 100%; }
}

/* ============================================
   PWA 安装按钮
   ============================================ */
.pwa-install-btn {
  position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%);
  z-index: 9999; display: none; align-items: center; gap: 6px;
  padding: 10px 18px; border: none; border-radius: var(--radius-full);
  background: var(--accent-teal);
  color: #051210; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,229,184,0.35);
  -webkit-tap-highlight-color: transparent;
}
.pwa-install-btn:active { transform: translateX(-50%) scale(0.96); }
@media (min-width: 768px) { .pwa-install-btn { bottom: 24px; } }

/* ============================================
   考试管理页样式
   ============================================ */
.exam-panel { padding: 16px; }
@media (min-width: 768px) { .exam-panel { padding: 24px; } }
@media (max-width: 480px) { .exam-panel { padding: 12px; } }

.exam-page-header,
.quiz-page-header,
.checkin-page-header-v2 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-primary);
  padding: 10px 16px;
  border-radius: 0;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -16px;
  box-sizing: border-box;
}
.checkin-page-header-v2 { background: var(--bg-primary); border-radius: 16px 16px 0 0; margin-top: -20px; padding: 10px 24px; }
@media (min-width: 768px) {
  .exam-page-header,
  .quiz-page-header,
  .checkin-page-header-v2 { width: calc(100% + 48px); margin-left: -24px; margin-right: -24px; margin-top: -24px; padding: 12px 24px; }
  .checkin-page-header-v2 { border-radius: 16px 16px 0 0; }
}
@media (max-width: 480px) {
  .exam-page-header,
  .quiz-page-header { width: calc(100% + 24px); margin-left: -12px; margin-right: -12px; margin-top: -12px; padding: 10px 12px; }
  .checkin-page-header-v2 { width: calc(100% + 28px); margin-left: -14px; margin-right: -14px; margin-top: -12px; padding: 10px 14px; border-radius: 0; }
}
.exam-page-brand {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--accent-teal); margin-bottom: 2px;
}
.exam-page-title {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
/* 首页页眉 LOGO + 名称 */
.dash-header-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash-logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(0,229,160,.25); flex-shrink: 0; background: #0b1628; }
.dash-logo-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: linear-gradient(135deg,#00e5a0,#00b4d8); color: #04121b; flex-shrink: 0; }
.dash-header-title { font-size: 17px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48vw; }
/* LOGO 色调统一：把原蓝色往青绿色偏移，降低饱和度并压暗，使 LOGO 与深色页面更协调 */
.dash-logo-img,
.my-org-logo img,
.top-nav .logo-icon-img {
  filter: hue-rotate(-30deg) saturate(0.6) brightness(0.72) contrast(1.2);
}
.exam-page-date { display: flex; align-items: center; gap: 8px; }
.exam-page-day {
  font-size: 28px; font-weight: 800; line-height: 1;
  color: var(--text-primary);
}
.exam-page-day-text {
  font-size: 12px; color: var(--text-secondary); font-weight: 500;
  margin-top: 3px;
}
/* 内联紧凑退出按钮（放在日期后面） */
.btn-logout-inline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0;
  background: rgba(15,23,42,.7);
  color: #8898aa;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  transition: all .2s ease;
  flex-shrink: 0;
}
.btn-logout-inline svg { width: 14px; height: 14px; stroke-width: 2.2; }
.btn-logout-inline:hover {
  background: rgba(255,71,87,.15);
  color: #ff5b6e;
  border-color: rgba(255,71,87,.3);
}

/* ========== 我的页面 ========== */
.my-page-header { margin-bottom: 16px; }
.my-org-card {
  background: linear-gradient(180deg, rgba(11,33,60,0.95) 0%, rgba(8,22,40,0.98) 100%);
  border: 1px solid rgba(0,229,184,0.15);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.my-org-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.my-org-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #04121f;
  flex-shrink: 0; overflow: hidden;
}
.my-org-logo img { width: 100%; height: 100%; object-fit: cover; }
.my-org-meta { flex: 1; min-width: 0; }
.my-org-name {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.my-org-badge {
  font-size: 10px; font-weight: 600;
  color: var(--accent-teal);
  background: rgba(0,229,184,0.12);
  border: 1px solid rgba(0,229,184,0.25);
  padding: 1px 7px; border-radius: var(--radius-full);
}
.my-org-admin { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.my-org-dates {
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.my-org-date-item { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.my-org-date-item + .my-org-date-item { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04); }
.my-org-date-label { color: var(--text-muted); }
.my-org-date-value { color: var(--text-secondary); font-weight: 500; }
.my-org-renew {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: #04121f; font-size: 14px; font-weight: 700;
  border-radius: var(--radius-md); text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,229,160,0.25);
  transition: all 0.25s ease;
}
.my-org-renew svg { width: 18px; height: 18px; }
.my-org-renew:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,229,160,0.35); }

.my-menu-panel .panel-title,
.my-info-panel .panel-title { margin-bottom: 12px; }
.my-menu-list { display: flex; flex-direction: column; gap: 8px; }
.my-menu-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.my-menu-item:hover {
  background: rgba(0,229,184,0.06);
  border-color: rgba(0,229,184,0.18);
  transform: translateX(3px);
}
.my-menu-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.my-menu-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.my-menu-info { flex: 1; min-width: 0; }
.my-menu-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.my-menu-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.my-menu-arrow { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }

.my-info-list { display: flex; flex-direction: column; gap: 10px; }
.my-info-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.my-info-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.my-info-label { color: var(--text-muted); min-width: 70px; }
.my-info-value { color: var(--text-secondary); font-weight: 500; }

@media (min-width: 768px) {
  .my-menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* 筛选胶囊 */
.exam-filter-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  align-items: center; margin-bottom: 16px;
}
.exam-pill {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  line-height: 1.3;
  text-decoration: none; white-space: nowrap;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}
.exam-pill:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}
.exam-pill.active {
  background: rgba(0,229,184,0.12);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  padding: 5px 12px;
}
.exam-view-toggle-btn { cursor: pointer; border-style: dashed !important; opacity: 0.7; }
.exam-view-toggle-btn:hover { opacity: 1; }

/* + 添加按钮 - 与筛选标签差不多大 */
.exam-add-btn {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
  line-height: 1.3;
  text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, #00E5A0, #00B4D8);
  color: #04121f;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,229,160,0.25);
}
.exam-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,229,160,0.4);
}
.exam-add-btn:active { transform: translateY(0); }

/* 考试简排视图 - 只留姓名、执照类型、首考/补考、是否通过 */
.exam-compact-view .exam-card {
  padding: 8px 14px;
  margin-bottom: 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.exam-compact-view .exam-card-info,
.exam-compact-view .exam-card-tags,
.exam-compact-view .exam-card-actions { display: none; }
.exam-compact-view .exam-card-header {
  flex-direction: row; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
.exam-compact-view .exam-card-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.exam-compact-view .exam-card-date {
  font-size: 11px; color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
}
/* 简排模式下的通过/未通过状态标签 */
.exam-compact-status { display: none; }
.exam-compact-view .exam-compact-status {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}

/* 搜索栏 */
.exam-search-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px; align-items: center;
}
.exam-search-input-wrap {
  flex: 1; min-width: 150px;
  display: flex; align-items: center; gap: 8px;
  height: 30px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.exam-search-input-wrap:focus-within {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,229,184,0.1);
}
.exam-search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px;
}
.exam-search-input::placeholder { color: var(--text-muted); }
.exam-select {
  height: 30px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  padding-right: 32px;
  color: var(--text-primary);
  font-size: 14px; font-weight: 500;
  outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 110px;
}
.exam-select:focus { border-color: var(--accent-teal); }

/* 横向统计卡 */
.exam-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px;
}
@media (min-width: 768px) { .exam-stats-row { gap: 12px; } }
.exam-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
  transition: all 0.25s ease;
}
.exam-stat:hover {
  border-color: rgba(0,229,184,0.25);
  transform: translateY(-2px);
}
.exam-stat-value {
  font-size: 22px; font-weight: 800; line-height: 1.2;
}
@media (min-width: 768px) { .exam-stat-value { font-size: 24px; } }
.exam-stat-value.green { color: var(--accent-teal); }
.exam-stat-value.cyan { color: var(--accent-cyan); }
.exam-stat-value.orange { color: var(--accent-orange); }
.exam-stat-value.red { color: var(--accent-red); }
.exam-stat-value.purple { color: #a78bfa; }
.exam-stat-label {
  font-size: 11px; color: var(--text-muted); margin-top: 5px;
  font-weight: 500;
}
/* 统计卡片可点击态 */
a.exam-stat-clickable {
  text-decoration: none; color: inherit;
  cursor: pointer;
}
a.exam-stat-clickable:hover {
  border-color: rgba(0,229,184,0.4);
  box-shadow: 0 4px 16px rgba(0,229,184,0.1);
}
a.exam-stat-clickable:active {
  transform: translateY(0);
}

/* 考试卡片 */
.exam-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 6px 11px;
  margin-bottom: 5px;
  transition: all 0.25s ease;
}
.exam-card:hover {
  border-color: rgba(0,229,184,0.25);
  background: var(--bg-card-hover);
}
.exam-card-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 3px;
}
.exam-card-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
}
.exam-student-link {
  color: var(--text-primary); text-decoration: none; font-weight: 700;
}
.exam-student-link:hover { color: var(--accent-teal); }
.exam-card-date {
  font-size: 11px; font-weight: 400; color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
}

.exam-card-info {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 12px;
}
.exam-info-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  font-size: 13px; color: var(--text-secondary);
}
.exam-status-success { color: var(--accent-green); font-weight: 600; }
.exam-status-warning { color: var(--accent-orange); font-weight: 600; }
.exam-status-danger { color: var(--accent-red); font-weight: 600; }
.exam-result-text { color: var(--text-primary); font-weight: 500; }
.exam-result-success { color: var(--accent-green); font-weight: 600; }
.exam-result-danger { color: var(--accent-red); font-weight: 600; }
.exam-result-default { color: var(--accent-orange); font-weight: 500; }
.exam-status-tag {
  display: inline-flex; align-items: center;
  padding: 1px 7px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600;
}
.exam-status-tag-success {
  background: rgba(16,185,129,0.12); color: var(--accent-green);
  border: 1px solid rgba(16,185,129,0.3);
}
.exam-status-tag-danger {
  background: rgba(255,71,87,0.12); color: var(--accent-red);
  border: 1px solid rgba(255,71,87,0.3);
}
.exam-status-tag-warning {
  background: rgba(245,158,11,0.12); color: var(--accent-orange);
  border: 1px solid rgba(245,158,11,0.3);
}
.exam-card .tag-success {
  background: rgba(0,229,184,0.12);
  color: var(--accent-teal);
  border-color: rgba(0,229,184,0.3);
}

.exam-card-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 10px;
}

.exam-card-actions {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
/* 详情页2按钮等宽布局 */
.exam-card-actions-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.exam-card-actions .btn,
.exam-card-actions-2 .btn { width: 100%; padding: 0 4px; height: 26px; }

/* 明细按钮 - 青绿描边风格 */
.btn-exam-detail {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,229,184,0.08);
  color: var(--accent-teal);
  border: 1.5px solid rgba(0,229,184,0.35);
  border-radius: var(--radius-md);
  font-size: 11px; font-weight: 600;
  padding: 4px 0;
  height: 26px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-exam-detail:hover {
  background: rgba(0,229,184,0.16);
  border-color: var(--accent-teal);
}
.exam-detail-btn {
  cursor: pointer;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  transition: all 0.2s ease;
  color: var(--accent-teal);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}
.exam-detail-btn:hover {
  background: rgba(0,229,184,0.08);
  border-color: var(--accent-teal);
}

@media (max-width: 480px) {
  .exam-stats-row { gap: 6px; }
  .exam-stat { padding: 6px 2px; }
  .exam-stat-value { font-size: 18px; }
  .exam-stat-label { font-size: 9px; }
  .exam-info-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .exam-card { padding: 14px; }
  .exam-card-header { flex-direction: row; align-items: flex-start; gap: 8px; }
  .exam-card-date { padding-top: 2px; }
  .exam-card-actions { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .exam-card-actions .btn { font-size: 11px; padding: 4px 0; height: 26px; }
}

/* ---- 系统公告 ---- */
.notice-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.notice-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.notice-section-title {
  font-size: 12.5px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 5px;
}
.notice-section-title .notice-icon { font-size: 13px; }
.notice-publish-btn {
  font-size: 12px; font-weight: 600; padding: 4px 14px;
  border-radius: 16px; border: 1.5px solid rgba(0,229,184,.45);
  background: transparent; color: var(--accent-teal); cursor: pointer;
  transition: .15s; white-space: nowrap;
}
.notice-publish-btn:hover {
  background: rgba(0,229,184,.08); border-color: var(--accent-teal);
}
.notice-form {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.notice-empty {
  text-align: center; padding: 14px 0 4px;
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.notice-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}
.notice-card:last-child { margin-bottom: 0; }
/* 公告卡片内标题行 */
.notice-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
/* 公告卡片内条目（无独立边框） */
.notice-item {
  padding: 6px 0;
}
.notice-item + .notice-item {
  border-top: 1px solid var(--border-color, rgba(0,0,0,0.08));
  padding-top: 8px;
}
.notice-title {
  font-size: 13px; font-weight: 700; color: var(--accent-teal);
  margin-bottom: 3px;
}
.notice-content {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.4; margin-bottom: 5px;
}
.notice-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
}
.notice-publisher {
  font-size: 11px; color: var(--text-secondary); font-weight: 500;
}
.notice-delete {
  color: var(--accent-red); text-decoration: none; font-size: 11px;
}
.notice-delete:hover { text-decoration: underline; }

/* ---- 教员数据 ---- */
.coach-data-section { margin-bottom: 14px; }
.coach-data-title {
  font-size: 12.5px; font-weight: 700; color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.coach-data-title .coach-icon { font-size: 13px; }

/* 版块小标题图标统一缩小 */
.section-icon { font-size: 13px; line-height: 1; }
.notice-icon {
  width: 14px; height: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.coach-data-scroll {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.coach-data-scroll::-webkit-scrollbar { display: none; }
.coach-data-card {
  flex: 1 0 0;
  min-width: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 3px;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}
.coach-data-card:hover, .coach-data-card.active {
  border-color: var(--accent-teal);
  background: rgba(0,229,184,0.06);
}
.coach-data-name {
  font-size: 12px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 3px;
}
.coach-data-nums {
  display: flex; justify-content: center; gap: 5px;
}
.coach-data-nums div {
  display: flex; flex-direction: column; align-items: center;
}
.coach-data-nums b {
  font-size: 13px; font-weight: 500; color: var(--accent-cyan);
  line-height: 1.1;
}
.coach-data-nums span {
  font-size: 9px; color: var(--text-muted); margin-top: 1px;
}
@media (max-width: 480px) {
  .coach-data-card { padding: 5px 2px; }
  .coach-data-name { font-size: 11px; margin-bottom: 2px; }
  .coach-data-nums { gap: 4px; }
  .coach-data-nums b { font-size: 12px; }
  .coach-data-nums span { font-size: 8px; }
}

/* ============================================
   学员档案页样式
   ============================================ */
.student-panel { padding: 16px; }
@media (min-width: 768px) { .student-panel { padding: 24px; } }
@media (max-width: 480px) { .student-panel { padding: 12px; } }

.student-page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-primary);
  padding: 8px 4px 10px;
  border-radius: 0;
}
.student-page-brand {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--accent-teal); margin-bottom: 2px;
}
.student-page-title {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.student-page-date { display: flex; align-items: center; gap: 8px; }
.student-page-day {
  font-size: 28px; font-weight: 800; line-height: 1;
  color: var(--text-primary);
}
.student-page-day-text {
  font-size: 12px; color: var(--text-secondary); font-weight: 500;
  margin-top: 3px;
}

/* 统计卡片 */
.student-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 12px;
}
.student-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
  transition: all 0.25s ease;
}
.student-stat:hover {
  border-color: rgba(0,229,184,0.25);
  transform: translateY(-2px);
}
.student-stat-value {
  font-size: 22px; font-weight: 800; line-height: 1.2;
}
.student-stat-value.green { color: var(--accent-teal); }
.student-stat-value.cyan { color: var(--accent-cyan); }
.student-stat-value.orange { color: var(--accent-orange); }
.student-stat-label {
  font-size: 11px; color: var(--text-muted); margin-top: 5px;
  font-weight: 500;
}

/* 筛选胶囊 */
.student-filter-pills {
  display: flex; gap: 6px; flex-wrap: nowrap;
  align-items: center; margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.student-filter-pills::-webkit-scrollbar { display: none; }
.student-filter-pills .btn-sm {
  height: 24px; padding: 3px 10px; font-size: 10px; font-weight: 500;
  flex-shrink: 0;
}
.student-filter-pills .btn-add-right {
  margin-left: auto;
  flex-shrink: 0;
}
.student-pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 500;
  line-height: 1.3;
  text-decoration: none; white-space: nowrap;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.student-pill:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}
.student-pill.active {
  background: rgba(0,229,184,0.12);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* 搜索栏 */
.student-search-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px; align-items: center;
}
.student-search-input-wrap {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; gap: 8px;
  height: 30px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.student-search-input-wrap:focus-within {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,229,184,0.1);
}
.student-search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px;
}
.student-search-input::placeholder { color: var(--text-muted); }
.student-select {
  height: 30px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  padding-right: 32px;
  color: var(--text-primary);
  font-size: 14px; font-weight: 500;
  outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 110px;
}
.student-select:focus { border-color: var(--accent-teal); }

/* ============================================
   自定义下拉选择器（替代原生 select）
   深色弹窗风格：深色面板 + teal选中 + 无radio圆圈
   ============================================ */
.custom-select {
  position: relative;
  min-width: 110px;
  flex-shrink: 0;
}
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
  width: 100%;
  height: 30px;
  padding: 0 12px;
  background: #132A45;
  border: 1.5px solid rgba(0,229,160,0.45);
  border-radius: 8px;
  color: #e8f0fe;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.custom-select-trigger:hover { border-color: #00e5a0; }
.custom-select.open .custom-select-trigger {
  border-color: #00e5a0;
  box-shadow: 0 0 0 3px rgba(0,229,160,0.12);
}
.custom-select-value {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; text-align: left;
  color: #e8f0fe;
}
.custom-select-arrow {
  width: 18px; height: 18px; flex-shrink: 0;
  color: #00e5a0; transition: transform 0.2s ease;
}
.custom-select.open .custom-select-arrow { transform: rotate(180deg); }

/* 下拉弹窗 - 深色风格 */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  z-index: 200;
  min-width: 100%;
  width: max-content;
  background: #162a45;
  border: 1px solid rgba(26,48,80,0.8);
  border-radius: 12px;
  padding: 6px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.2s ease;
  overflow: hidden;
}
.custom-select.open .custom-select-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 选项行 - 深色风格（无radio圆圈） */
.custom-select-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  font-size: 15px; font-weight: 400;
  color: #e8f0fe;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.custom-select-option:last-child { border-bottom: none; }
.custom-select-option:hover,
.custom-select-option:active {
  background: rgba(255,255,255,0.04);
}

/* 选中项：teal文字 + 微高亮 */
.custom-select-option.selected {
  color: #00e5a0;
  font-weight: 600;
  background: rgba(0,229,160,0.08);
}
/* 移除所有radio圆圈 */
.custom-select-option:not(.selected)::after,
.custom-select-option.selected::after,
.custom-select-option.selected::before {
  display: none !important;
}

/* 学员卡片 */
.student-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 6px 11px;
  margin-bottom: 5px;
  transition: all 0.25s ease;
}
.student-card:hover {
  border-color: rgba(0,229,184,0.25);
  background: var(--bg-card-hover);
}
.student-card-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 3px;
}
.student-card-title {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  flex: 1; min-width: 0;
}
.student-name-link {
  color: var(--text-primary); text-decoration: none;
}
.student-name-link:hover { color: var(--accent-teal); }
.student-status-tag {
  flex-shrink: 0; white-space: nowrap;
}
.student-remark-row {
  grid-column: 1 / -1;
  color: var(--text-secondary);
}
.student-card-info {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 5px;
}
.student-info-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  font-size: 12px; color: var(--text-secondary);
  text-align: left;
}
.student-info-row .info-label {
  color: var(--text-muted);
  font-weight: 500;
}
.student-info-row .info-value {
  color: rgba(255,255,255,0.55);
}
.student-info-row span:only-child,
.student-info-row.student-remark-row span {
  grid-column: 1 / -1;
}
.student-card-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.student-card-actions .btn { width: 100%; padding: 0 4px; }

/* 扁平按钮（编辑/删除调矮） */
.btn-flat {
  height: 24px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
}
.student-actions-flat { margin-top: 4px; }
.student-actions-flat .btn-flat {
  height: 24px !important;
  font-size: 11px !important;
}

/* 简排模式 - 单行紧凑 */
.student-row-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.student-row-compact:hover {
  border-color: rgba(0,229,184,0.25);
  background: var(--bg-card-hover);
}
.compact-name-area {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
}
.compact-name {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.compact-name:hover { color: var(--accent-teal); }
.compact-tag {
  flex-shrink: 0;
  font-size: 10px; padding: 2px 8px;
}
.compact-date {
  flex-shrink: 0;
  font-size: 13px; color: var(--text-muted);
  white-space: nowrap;
}
.compact-status {
  flex-shrink: 0;
  font-size: 11px; padding: 3px 10px;
}

/* 批量操作 */
.batch-action-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.batch-check-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
}
.batch-check-all input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent-teal);
  cursor: pointer;
}
.batch-selected-count {
  font-size: 13px; color: var(--text-secondary);
  flex: 1;
}
.batch-selected-count strong { color: var(--accent-teal); }
.student-batch-checkbox {
  display: inline-flex; align-items: center; margin-right: 6px;
}
.student-batch-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent-teal);
  cursor: pointer;
}
.student-card-manage .student-card-title {
  align-items: center;
}
.alert {
  padding: 12px 16px; border-radius: var(--radius-md);
  margin-bottom: 16px; font-size: 14px;
}
.alert-success {
  background: rgba(16,185,129,0.1); color: var(--accent-green); border: 1px solid rgba(16,185,129,0.2);
}
.alert-danger {
  background: rgba(255,71,87,0.1); color: var(--accent-red); border: 1px solid rgba(255,71,87,0.2);
}

@media (max-width: 480px) {
  .student-stats-row { gap: 5px; }
  .student-stat { padding: 6px 2px; }
  .student-stat-value { font-size: 18px; }
  .student-stat-label { font-size: 9px; }
  .student-filter-pills { gap: 6px; }
  .student-filter-pills .btn-sm { height: 24px; padding: 3px 10px; font-size: 10px; }
  .student-pill { padding: 3px 10px; font-size: 10px; }
  .student-info-row { grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; }
  .student-card { padding: 14px; }
  .student-card-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .student-card-actions .btn { font-size: 12px; }
}

/* ============================================
   签到管理页样式
   ============================================ */
.checkin-panel { padding: 16px; }
@media (min-width: 768px) { .checkin-panel { padding: 24px; } }
@media (max-width: 480px) { .checkin-panel { padding: 12px; } }

.checkin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.checkin-page-brand {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--accent-teal); margin-bottom: 2px;
}
.checkin-page-title {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.checkin-page-date { text-align: right; }
.checkin-page-day {
  font-size: 28px; font-weight: 800; line-height: 1;
  color: var(--text-primary);
}
.checkin-page-day-text {
  font-size: 12px; color: var(--text-secondary); font-weight: 500;
  margin-top: 3px;
}

/* 顶部标签 */
.checkin-top-tabs {
  display: flex; gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.checkin-top-tabs::-webkit-scrollbar { display: none; }
.checkin-top-tab {
  flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px; font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.checkin-top-tab svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.checkin-top-tab.active {
  background: rgba(0,229,184,0.12);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* 控制区 */
.checkin-controls {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 12px; flex-wrap: wrap;
}
.checkin-select {
  flex: 1;
  height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  padding-right: 32px;
  color: var(--text-primary);
  font-size: 14px; font-weight: 500;
  outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 110px;
}
.checkin-period {
  display: flex; flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.checkin-period button {
  flex: 1;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.checkin-period button.active {
  background: rgba(0,229,184,0.12);
  color: var(--accent-teal);
}

/* 统计卡片 */
.checkin-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px;
}
.checkin-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 4px;
  text-align: center;
}
.checkin-stat-value {
  font-size: 24px; font-weight: 800; line-height: 1.2;
}
.checkin-stat-value.green { color: var(--accent-teal); }
.checkin-stat-value.cyan { color: var(--accent-cyan); }
.checkin-stat-value.orange { color: var(--accent-orange); }
.checkin-stat-value.red { color: var(--accent-red); }
.checkin-stat-label {
  font-size: 10px; color: var(--text-muted); margin-top: 5px;
  font-weight: 500;
}

/* 进度条 */
.checkin-progress-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px; color: var(--text-secondary);
}
.checkin-progress-value { color: var(--accent-teal); font-weight: 600; }
.checkin-progress-track {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}
.checkin-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* 搜索 */
.checkin-search-bar { margin-bottom: 12px; }
.checkin-search-input-wrap {
  display: flex; align-items: center; gap: 8px;
  height: 46px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.checkin-search-input-wrap:focus-within {
  border-color: var(--accent-teal);
}
.checkin-search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px;
}
.checkin-search-input::placeholder { color: var(--text-muted); }

/* 学员签到卡片 */
.checkin-student-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}
.checkin-student-card:hover {
  border-color: rgba(0,229,184,0.25);
  background: var(--bg-card-hover);
}
.checkin-student-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.checkin-student-avatar.avatar-teal { background: linear-gradient(135deg, #00e5b8, #00d4aa); }
.checkin-student-avatar.avatar-orange { background: linear-gradient(135deg, #f59e0b, #ffb347); }
.checkin-student-avatar.avatar-pink { background: linear-gradient(135deg, #ff6b81, #ff4757); }
.checkin-student-avatar.avatar-purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.checkin-student-avatar.avatar-green { background: linear-gradient(135deg, #10b981, #059669); }
.checkin-student-info {
  flex: 1; min-width: 0;
}
.checkin-student-header {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 6px;
  margin-bottom: 4px; overflow: hidden;
}
.checkin-student-name {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; flex-shrink: 0;
}
.checkin-course-tag {
  font-size: 10px; padding: 2px 8px; flex-shrink: 0;
}
.checkin-coach-tag {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 600; color: var(--accent-cyan);
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  white-space: nowrap; flex-shrink: 0;
}
.checkin-student-sub {
  font-size: 12px; color: var(--text-secondary);
}
.checkin-status {
  flex-shrink: 0;
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border-color);
}
.checkin-status.checked {
  background: rgba(16,185,129,0.1);
  color: var(--accent-green);
  border-color: rgba(16,185,129,0.25);
}
.checkin-status.pending {
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.checkin-status.pending:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

@media (max-width: 480px) {
  .checkin-stats-row { gap: 6px; }
  .checkin-stat { padding: 10px 2px; }
  .checkin-stat-value { font-size: 20px; }
  .checkin-stat-label { font-size: 9px; }
  .checkin-top-tab { font-size: 11px; padding: 7px 10px; }
  .checkin-student-avatar { width: 40px; height: 40px; font-size: 16px; }
  .checkin-student-name { font-size: 14px; }
  .checkin-student-sub { font-size: 11px; }
  .checkin-status { padding: 4px 12px; font-size: 11px; }
}

/* ============================================
   工资管理
   ============================================ */
.salary-page-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.salary-page-brand {
  font-size: 11px; letter-spacing: 2px; color: var(--accent-teal);
  text-transform: uppercase; margin-bottom: 4px;
}
.salary-page-title {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
}
.salary-page-date {
  text-align: right; color: var(--text-primary);
}
.salary-page-day {
  font-size: 28px; font-weight: 700; line-height: 1;
  color: var(--text-primary);
}
.salary-page-day-text {
  font-size: 12px; color: var(--text-secondary); margin-top: 2px;
}

/* ============================================
   签到管理页 V2 (参考 saas.zhaojiren.com)
   ============================================ */
.checkin-panel-v2 { padding: 14px; }
@media (min-width: 768px) { .checkin-panel-v2 { padding: 20px; } }

/* 页面标题 V2 */
.checkin-page-header-v2 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.checkin-page-header-v2 .checkin-page-brand {
  font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--accent-teal); margin-bottom: 2px;
}
.checkin-page-header-v2 .checkin-page-title {
  font-size: 15px; font-weight: 700; color: #f1f5f9;
}
.checkin-page-header-v2 .checkin-page-date { text-align: right; }
.checkin-page-header-v2 .checkin-page-day {
  font-size: 28px; font-weight: 800; line-height: 1; color: #f1f5f9;
}
.checkin-page-header-v2 .checkin-page-day-text {
  font-size: 12px; color: var(--text-secondary); font-weight: 500; margin-top: 3px;
}

/* 顶部标签 V2 */
.checkin-top-tabs-v2 {
  display: flex; gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto; scrollbar-width: none;
}
.checkin-top-tabs-v2::-webkit-scrollbar { display: none; }
.checkin-top-tab-v2 {
  flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 11px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: all 0.25s ease;
}
.checkin-top-tab-v2 svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.checkin-top-tab-v2.active {
  background: rgba(0,229,184,0.12);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* 教员选择 */
.checkin-coach-select-v2 { margin-bottom: 10px; }
.checkin-select-v2 {
  width: 100%;
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  padding-right: 32px;
  color: var(--text-primary);
  font-size: 14px; font-weight: 500;
  outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* 上午/下午大按钮 */
.checkin-period-v2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.checkin-period-btn {
  height: 38px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
}
.checkin-period-btn.active {
  background: rgba(0,229,184,0.1);
  border-color: rgba(0,229,184,0.35);
  color: var(--accent-teal);
  box-shadow: 0 0 20px rgba(0,229,184,0.08);
}

/* 统计卡片 V2 */
.checkin-stats-row-v2 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.checkin-stat-v2 {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  text-align: center;
}
.checkin-stat-v2 .stat-num {
  font-size: 20px; font-weight: 800; line-height: 1.2;
}
.checkin-stat-v2 .stat-lbl {
  font-size: 10px; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}
.stat-teal .stat-num { color: var(--accent-teal); }
.stat-cyan .stat-num { color: var(--accent-cyan); }
.stat-orange .stat-num { color: var(--accent-orange); }
.stat-red .stat-num { color: var(--accent-red); }

/* 进度条 V2 */
.checkin-progress-section-v2 { margin-bottom: 14px; }
.progress-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px; color: var(--text-secondary);
}
.progress-ratio { color: var(--accent-teal); font-weight: 600; }
.progress-track-v2 {
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill-v2 {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* 搜索栏 V2 */
.checkin-search-bar-v2 {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.search-wrap-v2 {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
}
.search-wrap-v2:focus-within { border-color: var(--accent-teal); }
.search-wrap-v2 svg {
  width: 16px; height: 16px; stroke: var(--text-muted);
  fill: none; stroke-width: 2; flex-shrink: 0;
}
.search-wrap-v2 input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 14px;
}
.filter-select-v2 {
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 12px;
  color: var(--text-primary);
  font-size: 13px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

/* 学员签到卡片 V2 */
.checkin-student-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}
.card-modal-header {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  position: relative;
}
.modal-drag-handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.modal-title-text {
  font-size: 17px; font-weight: 700; color: var(--text-primary);
}

/* 学员信息区 */
.card-student-info-v2 {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}
.avatar-circle {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.avatar-circle.avatar-teal { background: linear-gradient(135deg, #00e5b8, #00d4aa); }
.avatar-circle.avatar-orange { background: linear-gradient(135deg, #f59e0b, #ffb347); }
.avatar-circle.avatar-pink { background: linear-gradient(135deg, #ff6b81, #ff4757); }
.avatar-circle.avatar-purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.avatar-circle.avatar-green { background: linear-gradient(135deg, #10b981, #059669); }
.avatar-circle.avatar-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.avatar-circle.avatar-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.avatar-circle.avatar-yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }
.info-main { flex: 1; min-width: 0; }
.info-name { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.info-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 状态行 */
.card-status-line {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
}
.status-label { color: var(--text-muted); }
.status-badge {
  padding: 3px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
}
.badge-checked {
  background: rgba(0,229,184,0.12);
  color: var(--accent-teal);
  border: 1px solid rgba(0,229,184,0.25);
}
.badge-pending {
  background: rgba(245,158,11,0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(245,158,11,0.25);
}

/* 操作按钮网格 */
.card-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.action-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 11px; font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.action-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.action-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.action-primary {
  background: rgba(0,229,184,0.08);
  border-color: rgba(0,229,184,0.3);
  color: var(--accent-teal);
}
.action-primary:not(:disabled):hover {
  background: rgba(0,229,184,0.15);
}
.action-secondary:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.action-warning:hover { background: rgba(245,158,11,0.1); color: var(--accent-orange); border-color: rgba(245,158,11,0.3); }
.action-muted:hover { background: var(--bg-card-hover); color: var(--text-primary); }

/* 底部操作栏 */
.card-bottom-actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.bottom-btn {
  height: 32px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  gap: 5px;
}
.bottom-confirm {
  background: linear-gradient(135deg, #00e5b8, #00d4aa);
  color: #0a0e1a;
  box-shadow: 0 2px 8px rgba(0,229,184,0.25);
}
.bottom-confirm:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(0,229,184,0.35); }
.bottom-delete {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.25);
  color: var(--accent-red);
}
.detail-link-btn {
  width: 100%; height: 38px;
  background: transparent;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
}
.detail-link-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0,229,184,0.04);
}

/* 记录视图控制区 */
.checkin-controls-v2 {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap;
}

@media (max-width: 480px) {
  .checkin-stats-row-v2 { gap: 6px; }
  .checkin-stat-v2 { padding: 10px 2px; }
  .checkin-stat-v2 .stat-num { font-size: 20px; }
  .card-action-grid { gap: 8px; }
  .action-btn { height: 56px; font-size: 12px; }
  .action-btn svg { width: 18px; height: 18px; }
  .bottom-btn { height: 36px; font-size: 13px; }
}

/* 统计卡 */
.salary-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.salary-stat-card {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 16px 8px; text-align: center;
}
.salary-stat-value {
  font-size: 24px; font-weight: 700; color: var(--accent-cyan);
  margin-bottom: 4px; white-space: nowrap;
}
.salary-stat-label {
  font-size: 12px; color: var(--text-muted);
}

/* 控制区 */
.salary-controls {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap;
}
.salary-view-tabs {
  display: flex; background: transparent;
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  overflow: hidden; flex-shrink: 0;
}
.salary-view-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-size: 13px; color: var(--text-secondary);
  text-decoration: none; transition: all 0.25s ease;
}
.salary-view-tab svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.salary-view-tab.active {
  background: var(--accent-teal); color: #051210; font-weight: 600;
}
.salary-search-bar {
  flex: 1; min-width: 140px;
}
.salary-search-input {
  width: 100%; height: 40px; background: var(--bg-input);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 0 14px; color: var(--text-primary); font-size: 14px;
  outline: none;
}
.salary-search-input:focus { border-color: var(--accent-teal); }
.salary-add-btn { flex-shrink: 0; }

/* 月份分组 */
.salary-month-section { margin-bottom: 16px; }
.salary-month-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.salary-month-title {
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  display: flex; align-items: center; gap: 6px;
}
.salary-month-icon { font-size: 14px; }
.salary-month-total {
  background: var(--accent-teal); color: #051210;
  padding: 4px 14px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
}
.salary-month-list {
  display: flex; flex-direction: column; gap: 8px;
}

/* 工资项 */
.salary-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 12px 14px;
}
.salary-item-main { flex: 1; min-width: 0; }
.salary-item-name {
  font-size: 15px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 4px;
}
.salary-item-meta {
  font-size: 12px; color: var(--text-muted);
}
.salary-item-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.salary-item-amount {
  font-size: 18px; font-weight: 700; color: var(--accent-teal);
  white-space: nowrap;
}
.salary-item-actions {
  display: flex; gap: 6px;
}
.salary-action-edit, .salary-action-delete {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color); background: transparent;
  color: var(--text-secondary); cursor: pointer; text-decoration: none;
}
.salary-action-edit:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.salary-action-delete:hover { border-color: var(--accent-red); color: var(--accent-red); }

/* 排行视图 */
.salary-rank-section { margin-top: 4px; }
.salary-rank-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-size: 14px; color: var(--text-primary);
}
.salary-rank-count { font-size: 12px; color: var(--text-muted); }
.salary-rank-list { display: flex; flex-direction: column; gap: 8px; }
.salary-rank-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 12px 14px;
}
.salary-rank-rank {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.06); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.salary-rank-main { flex: 1; min-width: 0; }
.salary-rank-name {
  font-size: 15px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 4px;
}
.salary-rank-level {
  font-size: 11px; color: var(--accent-teal);
  border: 1px solid rgba(0,229,184,0.3); padding: 2px 8px; border-radius: var(--radius-full);
  margin-left: 6px;
}
.salary-rank-meta { font-size: 12px; color: var(--text-muted); }
.salary-rank-amount {
  font-size: 17px; font-weight: 700; color: var(--accent-teal);
  white-space: nowrap;
}

/* ============================================
   教员考核
   ============================================ */
.assessment-rank-section {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 18px;
  margin-bottom: 16px;
}
.assessment-rank-title {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  text-align: center; margin-bottom: 18px;
}
.assessment-rank-chart {
  display: flex; justify-content: space-around; align-items: flex-end;
  height: 160px; gap: 16px;
}
.assessment-rank-bar-wrap {
  flex: 1; max-width: 90px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 100%;
}
.assessment-rank-icon { font-size: 20px; margin-bottom: 4px; }
.assessment-rank-name {
  font-size: 13px; color: var(--text-primary); margin-bottom: 2px;
  white-space: nowrap;
}
.assessment-rank-rate {
  font-size: 12px; color: var(--accent-cyan); margin-bottom: 8px;
}
.assessment-rank-bar-bg {
  width: 52px; height: 80px; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative; overflow: hidden;
}
.assessment-rank-bar-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 0.6s ease;
}

.assessment-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.assessment-section-title {
  font-size: 14px; font-weight: 600; color: var(--accent-teal);
}
.assessment-filter-actions {
  display: flex; align-items: center; gap: 8px;
}
.assessment-filter-form { display: flex; }
.assessment-select {
  height: 38px; background: var(--bg-input);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 0 14px; padding-right: 32px; color: var(--text-primary);
  font-size: 13px; outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  min-width: 120px;
}

.assessment-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 12px 14px;
}
.assessment-checkbox { position: relative; flex-shrink: 0; }
.assessment-checkbox input { display: none; }
.assessment-checkbox span {
  display: block; width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border-color); background: var(--bg-input);
  cursor: pointer; transition: all 0.2s ease;
}
.assessment-checkbox input:checked + span {
  background: var(--accent-teal); border-color: var(--accent-teal);
}
.assessment-checkbox input:checked + span::after {
  content: '\2713'; display: block; color: #051210; font-size: 12px;
  text-align: center; line-height: 18px; font-weight: 700;
}
.assessment-item-main { flex: 1; min-width: 0; }
.assessment-item-name {
  font-size: 15px; font-weight: 500; color: var(--text-primary);
}
.assessment-item-level {
  font-size: 11px; color: var(--accent-teal);
  border: 1px solid rgba(0,229,184,0.3); padding: 2px 8px; border-radius: var(--radius-full);
  margin-left: 6px;
}
.assessment-item-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.assessment-item-stat {
  font-size: 12px; color: var(--text-muted); white-space: nowrap;
}
.assessment-item-rate {
  font-size: 16px; font-weight: 700; white-space: nowrap;
}
.assessment-item-rate.success { color: var(--accent-teal); }
.assessment-item-rate.danger { color: var(--accent-red); }

@media (max-width: 480px) {
  .salary-stats-row { gap: 6px; }
  .salary-stat-card { padding: 12px 4px; }
  .salary-stat-value { font-size: 18px; }
  .salary-stat-label { font-size: 10px; }
  .salary-controls { gap: 8px; }
  .salary-view-tab { padding: 7px 10px; font-size: 12px; }
  .salary-item { padding: 10px 12px; }
  .salary-item-name { font-size: 14px; }
  .salary-item-amount { font-size: 16px; }
  .assessment-rank-chart { height: 140px; gap: 10px; }
  .assessment-rank-bar-bg { width: 40px; height: 60px; }
  .assessment-rank-name { font-size: 12px; }
  .assessment-item { padding: 10px 12px; }
  .assessment-item-stat { display: none; }
}

/* ============================================
   财务管理首页
   ============================================ */
.finance-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.finance-dashboard-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 22px 14px;
  text-decoration: none; transition: all 0.25s ease;
}
.finance-dashboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,184,0.35);
  box-shadow: var(--shadow-glow);
}
.finance-dashboard-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.finance-dashboard-icon svg {
  width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8;
}
.finance-dashboard-text { text-align: center; }
.finance-dashboard-title {
  font-size: 15px; font-weight: 500; color: var(--text-primary);
  margin-bottom: 4px;
}
.finance-dashboard-desc {
  font-size: 12px; color: var(--text-muted); line-height: 1.4;
}
@media (max-width: 480px) {
  .finance-dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .finance-dashboard-card { padding: 18px 10px; }
  .finance-dashboard-icon { width: 44px; height: 44px; border-radius: 12px; }
  .finance-dashboard-icon svg { width: 22px; height: 22px; }
  .finance-dashboard-title { font-size: 14px; }
  .finance-dashboard-desc { font-size: 11px; }
}

/* ============================================
   财务模块 — 顶部Tab三栏布局
   ============================================ */

/* --- Tab 导航栏（药丸按钮） --- */
.finance-tab-bar {
  display: flex; gap: 0; margin: 0 0 14px; padding: 3px;
  background: var(--bg-secondary, #0b1929);
  border: 1px solid var(--border-color, #1a3050);
  border-radius: 12px;
}
.finance-tab-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 28px; padding: 0 6px;
  border-radius: 9px;
  font-size: 12px; font-weight: 500;
  color: var(--text-muted, #8892a4);
  background: transparent;
  border: none;
  cursor: pointer; transition: all 0.22s ease; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.finance-tab-icon { font-size: 13px; }
.finance-tab-btn.finance-tab-active {
  background: linear-gradient(135deg, #00e5a0, #00c896);
  color: #04121f;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,229,184,0.25);
}
.finance-tab-panel { }
.finance-tab-hidden { display: none !important; }

/* --- 统计卡（小） --- */
.fin-stats-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px;
}
.fin-stat-card {
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 12px; padding: 10px 6px; text-align: center;
}
.fin-stat-amount { font-size: 15px; font-weight: 700; line-height: 1.3; }
.fin-stat-label { font-size: 10px; color: var(--text-muted, #8892a4); margin-top: 2px; }
.fin-stat-teal .fin-stat-amount { color: #00e5a0; }
.fin-stat-red .fin-stat-amount { color: #ff6b6b; }
.fin-stat-default .fin-stat-amount { color: var(--text-primary, #e8f0fe); }

/* --- 操作栏：添加按钮 + 搜索 --- */
.fin-action-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.fin-add-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: all 0.2s;
  flex-shrink: 0;
}
.fin-add-teal { background: rgba(0,229,184,0.12); color: #00e5a0; border: 1px solid rgba(0,229,184,0.3); }
.fin-add-teal:hover { background: rgba(0,229,184,0.2); }
.fin-add-red { background: rgba(255,107,107,0.08); color: #ff6b6b; border: 1px solid rgba(255,107,107,0.25); }
.fin-add-red:hover { background: rgba(255,107,107,0.15); }

.fin-search-box {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 18px; padding: 6px 12px;
}
.fin-search-box svg { width: 14px; height: 14px; stroke: var(--text-muted, #8892a4); flex-shrink: 0; }
.fin-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 12px; color: var(--text-primary, #e8f0fe);
  min-width: 0;
}
.fin-search-input::placeholder { color: var(--text-muted, #8892a4); }

/* --- 记录卡片列表 --- */
.fin-record-list { display: flex; flex-direction: column; gap: 6px; }
.fin-record-card {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-left: 3px solid var(--accent-teal, #00e5a0);
  border-radius: 10px; padding: 5px 10px;
  transition: border-color 0.2s;
}
.fin-record-card:hover { border-color: rgba(0,229,184,0.35); }

/* 左侧图标：统一红色调 */
.fin-rec-icon {
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(255,107,107,0.12); color: #ff6b6b;
}
.fin-rec-icon svg { width: 13px; height: 13px; stroke-width: 2.2; }
.fin-rec-up { background: rgba(255,107,107,0.12); color: #ff6b6b; }

/* 中间内容 */
.fin-rec-body { flex: 1; min-width: 0; }
.fin-rec-top { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 2px; }
.fin-rec-name { font-size: 13px; font-weight: 600; color: var(--text-primary, #e8f0fe); }
.fin-rec-tag {
  font-size: 10px; padding: 1px 6px; border-radius: 8px; font-weight: 500;
}
.fin-tag-income { background: rgba(0,229,184,0.12); color: #00e5a0; }
.fin-tag-expense { background: rgba(255,107,107,0.12); color: #ff6b6b; }
.fin-rec-pay {
  font-size: 10px; padding: 1px 6px; border-radius: 8px;
  background: rgba(29,194,80,0.08); color: #1dc250;
}
.fin-rec-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-muted, #8892a4);
}
.fin-rec-operator { margin-left: auto; }

/* 右侧金额+操作 */
.fin-rec-right { text-align: right; flex-shrink: 0; }
.fin-rec-amount { font-size: 14px; font-weight: 700; line-height: 1.3; }
.fin-amount-plus { color: #00e5a0; }
.fin-amount-minus { color: #ff6b6b; }
.fin-rec-actions { display: flex; gap: 5px; margin-top: 3px; justify-content: flex-end; }
.fin-rec-edit, .fin-rec-del {
  width: 24px; height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: all 0.2s;
  background: rgba(0,229,184,0.08); color: #00e5a0;
  text-decoration: none;
}
.fin-rec-edit svg, .fin-rec-del svg { width: 12px; height: 12px; }
.fin-rec-del { background: rgba(255,107,107,0.08); color: #ff6b6b; }
.fin-rec-edit:hover { background: rgba(0,229,184,0.18); }
.fin-rec-del:hover { background: rgba(255,107,107,0.18); }

/* ====== 数据统计 Tab ====== */
.fin-section-title {
  font-size: 13px; font-weight: 600; color: var(--text-primary, #e8f0fe);
  margin: 16px 0 10px; display: flex; align-items: center; gap: 6px;
}
.fin-section-title:first-child { margin-top: 4px; }
.fin-section-icon { font-size: 14px; }

/* 大卡片 */
.fin-big-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.fin-big-card {
  background: linear-gradient(145deg, rgba(15,32,53,0.9), rgba(11,25,41,0.95));
  border: 1px solid var(--border-color, #1a3050); border-radius: 14px;
  padding: 14px 12px;
}
.fin-big-teal { border-left: 3px solid #00e5a0; }
.fin-big-red { border-left: 3px solid #ff6b6b; }
.fin-big-label { font-size: 11px; color: var(--text-muted, #8892a4); margin-bottom: 4px; }
.fin-big-value { font-size: 20px; font-weight: 800; line-height: 1.2; }
.fin-big-teal .fin-big-value { color: #00e5a0; }
.fin-big-red .fin-big-value { color: #ff6b6b; }
.fin-big-sub { font-size: 10px; color: var(--text-muted, #8892a4); margin-top: 2px; }

/* 净利润行 */
.fin-profit-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 12px; padding: 12px 14px; margin-top: 10px;
}
.fin-profit-label { font-size: 13px; color: var(--text-secondary, #8ba3c7); }
.fin-profit-value { font-size: 18px; font-weight: 800; }
.fin-profit-plus { color: #00e5a0; }
.fin-profit-minus { color: #ff6b6b; }

/* 本月收支 */
.fin-month-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px;
}
.fin-month-card {
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 12px; padding: 12px 14px;
}
.fin-month-label { font-size: 11px; color: var(--text-muted, #8892a4); margin-bottom: 4px; }
.fin-month-val { font-size: 16px; font-weight: 700; }
.fin-month-teal { color: #00e5a0; }
.fin-month-red { color: #ff6b6b; }

/* 学费统计 */
.fin-tuition-row {
  display: flex; gap: 10px; margin-bottom: 10px;
}
.fin-tuition-item {
  flex: 1; background: var(--bg-secondary, #0b1929);
  border: 1px solid var(--border-color, #1a3050); border-radius: 10px;
  padding: 10px; text-align: center;
}
.fin-tuition-val { font-size: 16px; font-weight: 700; color: var(--text-primary, #e8f0fe); }
.fin-tuition-lbl { font-size: 10px; color: var(--text-muted, #8892a4); margin-top: 2px; }
.fin-progress-wrap { margin-top: 6px; }
.fin-progress-bar {
  height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}
.fin-progress-fill {
  height: 100%; background: linear-gradient(90deg, #00e5a0, #00b4d8); border-radius: 3px;
  transition: width 0.5s ease;
}
.fin-progress-text {
  font-size: 10px; color: var(--text-muted, #8892a4); margin-top: 4px; text-align: center;
}

/* 分类统计 */
.fin-cat-list { display: flex; flex-direction: column; gap: 6px; }
.fin-cat-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 10px; padding: 10px 12px;
}
.fin-cat-name { font-size: 13px; font-weight: 500; color: var(--text-primary, #e8f0fe); flex-shrink: 0; min-width: 52px; }
.fin-cat-detail { display: flex; gap: 5px; flex: 1; }
.fin-cat-type { font-size: 10px; padding: 2px 7px; border-radius: 6px; font-weight: 500; }
.fin-cat-inc { background: rgba(0,229,184,0.1); color: #00e5a0; }
.fin-cat-exp { background: rgba(255,107,107,0.1); color: #ff6b6b; }
.fin-cat-amounts { text-align: right; flex-shrink: 0; }
.fin-cat-amt { font-size: 13px; font-weight: 600; display: block; }
.fin-amt-inc { color: #00e5a0; }
.fin-amt-exp { color: #ff6b6b; }

/* 图表容器 */
.fin-chart-wrap {
  background: var(--bg-secondary, #0b1929); border: 1px solid var(--border-color, #1a3050);
  border-radius: 12px; padding: 12px; overflow: hidden;
}
.fin-chart-wrap canvas { width: 100% !important; max-height: 220px; }

/* 响应式：窄屏统计卡变2列 */
@media (max-width: 480px) {
  .fin-stats-row { grid-template-columns: repeat(2,1fr); }
  .fin-stats-row .fin-stat-card:nth-child(3),
  .fin-stats-row .fin-stat-card:nth-child(4) { margin-top: 0; }
}

/* ============================================
   自定义下拉选择器（cs-* 弹窗picker风格）
   深色主题：深色面板 + teal选中 + 无radio圆圈
   ============================================ */

/* 触发按钮（深色风格） */
.custom-select-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: #e8f0fe;
  background: #132A45;
  border: 1.5px solid rgba(0,229,160,0.4);
  cursor: pointer; user-select: none;
  transition: all 0.2s; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.custom-select-trigger:hover {
  border-color: #00e5a0;
  background: #152e4a;
}
.custom-select-trigger .cs-arrow {
  width: 18px; height: 18px;
  stroke: #00e5a0;
  transition: transform 0.25s ease;
}
.custom-select-trigger.cs-open .cs-arrow {
  transform: rotate(180deg);
}

/* 下拉面板 - 深色风格 */
.custom-select-dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  min-width: 200px; max-width: 280px;
  background: #162a45;
  border: 1px solid rgba(26,48,80,0.8);
  border-radius: 13px;
  padding: 6px 0;
  z-index: 10001;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
}
.custom-select-dropdown.cs-open {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* 下拉选项 - 深色风格（无radio圆圈） */
.cs-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  cursor: pointer; transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  color: #e8f0fe;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-option:last-child { border-bottom: none; }
.cs-option:hover,
.cs-option:active { background: rgba(255,255,255,0.04); }

/* 移除所有radio圆圈 */
.cs-option:not(.cs-selected)::after,
.cs-option.cs-selected::after,
.cs-option.cs-selected::before {
  display: none !important;
}

/* 选中项：teal文字 + 微高亮背景 */
.cs-option.cs-selected {
  color: #00e5a0 !important;
  font-weight: 600;
  background: rgba(0,229,160,0.08);
}
.cs-option-text,
.cs-opt-label {
  font-size: 15px; color: #e8f0fe; transition: color 0.15s;
}
.cs-option.cs-selected .cs-option-text,
.cs-selected .cs-opt-label {
  color: #00e5a0 !important; font-weight: 600;
}

/* 原生 select - 深色触发器（移动端原生渲染） */
body.dark-app-theme select.form-control,
body.dark-app-theme select,
.modal-box select.form-control,
.campus-modal-box select.form-control {
  background: #132A45 !important;
  color: #e8f0fe !important;
  border-color: rgba(0,229,160,0.4) !important;
  appearance: auto;
  -webkit-appearance: menulist;
  background-image: none;
  padding-right: 12px !important;
}

/* 弹窗内表单控件深色适配 */
.modal-box input.form-control,
.modal-box textarea.form-control,
.campus-modal-box input.form-control {
  background: rgba(15,25,41,0.9) !important;
  color: #e8f0fe !important;
  border-color: rgba(26,48,80,0.7) !important;
}
.modal-box input.form-control::placeholder,
.campus-modal-box input.form-control::placeholder {
  color: #556080 !important;
}
.modal-box input.form-control:focus,
.campus-modal-box input.form-control:focus {
  border-color: rgba(0,229,184,0.5) !important;
  box-shadow: 0 0 0 2px rgba(0,229,184,0.1) !important;
}

/* 弹窗内按钮深色适配 */
.modal-box .btn-primary {
  background: linear-gradient(135deg, #00e5a0, #00c896) !important;
  color: #04121f !important;
  border: none !important;
  font-weight: 600;
}
.modal-box .btn-outline {
  background: transparent !important;
  color: #8ba3c7 !important;
  border: 1px solid rgba(26,48,80,0.7) !important;
}

/* ============================================
   移动端底部选择器（学员选择器）- 深色风格
   ============================================ */
.mobile-picker-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 44px; padding: 0 14px;
  background: #132A45; color: #e8f0fe;
  border: 1.5px solid rgba(0,229,160,0.4); border-radius: 10px;
  font-size: 14px; cursor: pointer; user-select: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mobile-picker-trigger.placeholder { color: #5a6a85; }
.mobile-picker-trigger.active, .mobile-picker-trigger:focus {
  border-color: #00e5a0;
  box-shadow: 0 0 0 2px rgba(0,229,184,0.12);
}
.mobile-picker-trigger::after {
  content: ''; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid #00e5a0;
}
.mobile-picker-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mobile-picker-overlay.show { opacity: 1; visibility: visible; }
.mobile-picker-sheet {
  width: 100%; max-height: 78vh; background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transform: translateY(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.mobile-picker-overlay.show .mobile-picker-sheet { transform: translateY(0); }
.mobile-picker-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.mobile-picker-header h4 { font-size: 17px; font-weight: 600; }
.mobile-picker-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-input); border: 1px solid var(--border-color);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
}
.mobile-picker-body {
  flex: 1; overflow-y: auto; position: relative;
  padding: 0 0 20px; scroll-behavior: auto;
}
.mobile-picker-group {}
.mobile-picker-group-title {
  position: sticky; top: 0; z-index: 2;
  padding: 6px 16px; font-size: 13px; font-weight: 600;
  color: var(--accent-teal); background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.mobile-picker-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px; color: var(--text-primary); cursor: pointer;
}
.mobile-picker-item:active { background: rgba(0,229,184,0.06); }
.mobile-picker-item.selected { color: #00e5a0; font-weight: 600; background: rgba(0,229,160,0.08); }
/* 隐藏radio圆圈 */
.mobile-picker-item-radio { display: none !important; }
.mobile-picker-index {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  background: rgba(17,24,39,0.88); border: 1px solid var(--border-color);
  border-radius: 14px; padding: 4px 2px; z-index: 10;
  user-select: none; touch-action: none;
}
.mobile-picker-index-item {
  width: 22px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-secondary); cursor: pointer;
}
.mobile-picker-index-item.active { color: var(--accent-teal); font-weight: 700; }
.mobile-picker-toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(0.8);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,229,184,0.15); border: 1px solid rgba(0,229,184,0.25);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: var(--accent-teal);
  opacity: 0; visibility: hidden; transition: all 0.15s ease; pointer-events: none;
  z-index: 1200;
}
.mobile-picker-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 769px) {
  .mobile-picker-overlay { align-items: center; justify-content: center; padding: 20px; }
  .mobile-picker-sheet { max-width: 420px; border-radius: var(--radius-xl); transform: translateY(20px) scale(0.96); max-height: 70vh; }
  .mobile-picker-overlay.show .mobile-picker-sheet { transform: translateY(0) scale(1); }
}

/* ============================================
   全局深色选择器（自动替换原生select）
   ============================================ */
.ds-container{position:relative}
.ds-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:36px;padding:0 12px;background:#132A45;border:1.5px solid rgba(0,229,160,.4);border-radius:10px;color:#e8f0fe;font-size:14px;cursor:pointer;transition:all .2s;-webkit-tap-highlight-color:transparent;box-sizing:border-box}
.ds-trigger:active{border-color:#00e5a0}
.ds-trigger-text{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-arrow{width:18px;height:18px;stroke:#00e5a0;flex-shrink:0;transition:transform .2s}
/* 弹窗遮罩 */
.ds-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;background:rgba(0,0,0,.55);align-items:flex-end;justify-content:center;opacity:0;transition:opacity .25s ease}
.ds-overlay.ds-show{opacity:1}
/* 弹窗面板 */
.ds-panel{width:100%;max-width:420px;max-height:60vh;background:#162a45;border-radius:14px 14px 0 0;overflow:hidden;transform:translateY(100%);transition:transform .3s cubic-bezier(.32,.72,0,1);box-shadow:0 -8px 30px rgba(0,0,0,.5)}
.ds-overlay.ds-show .ds-panel{transform:translateY(0)}
@media(min-width:600px){.ds-overlay{align-items:center}.ds-panel{border-radius:14px;max-height:70vh;transform:scale(.92);opacity:0;transition:all .25s ease;box-shadow:0 12px 40px rgba(0,0,0,.5)}.ds-overlay.ds-show .ds-panel{transform:scale(1);opacity:1}}
/* 头部 */
.ds-header{display:flex;align-items:center;justify-content:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0}
.ds-title{font-size:15px;font-weight:600;color:#e8f0fe}
.ds-close-btn{width:28px;height:28px;border-radius:50%;background:transparent;border:none;color:#8892a4;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;position:absolute;right:12px}
/* 选项列表 */
.ds-options{padding:6px 0;overflow-y:auto;max-height:calc(60vh - 52px);-webkit-overflow-scrolling:touch}
.ds-option{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;cursor:pointer;transition:background .15s;-webkit-tap-highlight-color:transparent;border-bottom:1px solid rgba(255,255,255,.06);color:#e8f0fe;font-size:15px}
.ds-option:last-child{border-bottom:none}
.ds-option:active{background:rgba(255,255,255,.04)}
/* 无radio圆圈 */
.ds-option:not(.ds-selected)::after,.ds-selected::after,.ds-selected::before{display:none!important}
/* 选中项 */
.ds-selected{color:#00e5a0!important;font-weight:600;background:rgba(0,229,160,.08)}
.ds-opt-label{font-size:15px;color:#e8f0fe;transition:color .15s}

/* 统一编辑页独立选择器（cs-trigger）高度，与搜索框一致，并压制各页面内联 44px */
.cs-trigger{height:36px!important;padding:0 12px!important}

/* 签到页多选学员列表 */
.checkin-student-picker {
  position: relative;
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  max-height: 320px;
  overflow: hidden;
}
.checkin-student-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  scroll-behavior: auto;
}
.checkin-student-all {
  display: flex; align-items: center;
  padding: 10px 14px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; border-bottom: 1px solid var(--border-color);
}
.checkin-student-all input { margin-right: 10px; }
.checkin-student-group {}
.checkin-student-group-title {
  position: sticky; top: 0; z-index: 2;
  padding: 6px 14px; font-size: 13px; font-weight: 600;
  color: var(--accent-teal); background: var(--bg-input);
  border-bottom: 1px solid var(--border-color);
}
.checkin-student-item {
  display: flex; align-items: center;
  padding: 10px 14px; font-size: 14px;
  cursor: pointer; transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.checkin-student-item:hover { background: var(--bg-card-hover); }
.checkin-student-item input { margin-right: 10px; }
.checkin-letter-index {
  width: 28px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(17,24,39,0.88);
  border-left: 1px solid var(--border-color);
  user-select: none; touch-action: none;
}
.checkin-letter-index-item {
  width: 22px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-secondary); cursor: pointer;
}
.checkin-letter-index-item.active { color: var(--accent-teal); font-weight: 700; }

/* ---- 系统设置 LOGO 上传 ---- */
.logo-upload-area {
  background: var(--bg-input);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 10px;
}
.logo-file-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.logo-file-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.logo-file-input::file-selector-button {
  margin-right: 10px;
  padding: 5px 10px;
  border: none; border-radius: var(--radius-sm);
  background: var(--bg-card-hover);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
}
.logo-upload-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border: none; border-radius: var(--radius-md);
  background: var(--accent-teal);
  color: #051210;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.logo-upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.logo-upload-btn:not(:disabled):hover { opacity: 0.9; }
.logo-upload-btn:not(:disabled):active { transform: scale(0.98); }
.logo-file-name {
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}
.logo-progress-wrap {
  margin-top: 12px;
  display: none;
}
.logo-progress-wrap.show { display: block; }
.logo-progress-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px; color: var(--text-secondary);
}
.logo-progress-value { color: var(--accent-teal); font-weight: 600; }
.logo-progress-track {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.logo-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 3px;
  transition: width 0.2s linear;
}
.logo-preview {
  margin-top: 12px;
  display: flex; align-items: center; gap: 10px;
}
.logo-preview img {
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 4px;
}
.logo-preview-label {
  font-size: 12px; color: var(--text-muted);
}

/* ============================================
   深色APP主题（桌面端覆盖）
   非数据概览页面保持深色风格，与签到页一致
   ============================================ */
/* 深色主题下顶部导航栏已隐藏，移除其占位的 56px 顶部间距（根因修复） */
body.dark-app-theme .main-content {
  margin-top: 0 !important;
}
/* 整页统一背景，消除内容区四周的色差"边框" */
body.dark-app-theme {
  background: #0b1628;
}
/* 签到页(APP首页)去圆角，保留品牌头部，内容有边距，无顶部留空 */
body.dark-app-theme .ci-page {
  border-radius: 0 !important;
  padding: 0 16px calc(var(--tabbar-height) + env(safe-area-inset-bottom, 0px) + 40px) 16px !important;
}
/* 签到页品牌头部（无分隔线） */
body.dark-app-theme .ci-header {
  margin: 0 -16px 0 -16px !important;
  padding: 10px 16px !important;
}

/* ===== 题库顶部横向菜单（仿签到页 Tab 胶囊） ===== */
.quiz-menu-bar {
  display: flex;
  gap: 4px;
  margin: 6px 0 12px;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 3px;
  border: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}
.quiz-menu-bar::-webkit-scrollbar { display: none; }
.quiz-menu-item {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: .18s;
  min-width: 44px;
}
.quiz-menu-item.active {
  background: linear-gradient(135deg,#1fd1a8,#13b58e);
  color: #04121f;
  box-shadow: 0 2px 8px rgba(31,209,168,.25);
}
.quiz-menu-item:not(.active):active { background: var(--bg-card); }
.quiz-menu-item:hover:not(.active) { background: rgba(31,209,168,.08); }

/* ===== 深色APP主题 — 全局生效（移动端+桌面端） ===== */
/* 主内容区深色背景 + 去除顶部导航占位 */
body.dark-app-theme .main-content {
  margin-top: 0 !important;
  background: #0b1628;
}
body.dark-app-theme .main-content > .page-container,
body.dark-app-theme .main-content > .panel {
  background: var(--bg-primary) !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 16px calc(var(--tabbar-height) + env(safe-area-inset-bottom, 0px) + 40px) 16px !important;
  max-width: none !important;
  margin: 0 !important;
}
/* 面板级包裹层：背景与页眉一致(--bg-primary)，去掉盒子外框感 */
body.dark-app-theme .main-content .panel,
body.dark-app-theme .main-content .exam-panel,
body.dark-app-theme .main-content .student-panel,
body.dark-app-theme .main-content .checkin-panel,
body.dark-app-theme .main-content .checkin-panel-v2 {
  background: var(--bg-primary) !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--text-primary, #e8f0fe) !important;
  padding: 0 !important;
}
/* 学员页/考试页头部卡片：直角+贴边+无边框+背景一致+滚动固定（无分隔线） */
body.dark-app-theme .main-content .student-page-header,
body.dark-app-theme .main-content .exam-page-header,
body.dark-app-theme .main-content .checkin-page-header-v2,
body.dark-app-theme .main-content .dash-page-header,
body.dark-app-theme .main-content .finance-page-header,
body.dark-app-theme .main-content .my-page-header,
body.dark-app-theme .main-content .quiz-page-header {
  border-radius: 0 !important;
  margin: 0 -16px 4px -16px !important;
  padding: 10px 16px 10px 16px !important;
  border: none !important;
  background: var(--bg-primary) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  width: auto !important;
}
/* 卡片深色 */
body.dark-app-theme .main-content .student-card,
body.dark-app-theme .main-content .exam-card,
body.dark-app-theme .main-content .notice-card,
body.dark-app-theme .main-content .notice-section,
body.dark-app-theme .main-content .coach-data-card,
body.dark-app-theme .main-content .list-item,
body.dark-app-theme .main-content .checkin-student-item,
body.dark-app-theme .main-content .student-row-compact {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  color: var(--text-primary, #e8f0fe) !important;
  box-shadow: none !important;
}
body.dark-app-theme .main-content .student-card:hover,
body.dark-app-theme .main-content .exam-card:hover,
body.dark-app-theme .main-content .list-item:hover {
  border-color: rgba(0,229,184,0.25) !important;
  background: var(--bg-card-hover, #132a45) !important;
}
/* 统计卡 — 圆角卡片样式（参考数据概览页） */
body.dark-app-theme .main-content .student-stat,
body.dark-app-theme .main-content .checkin-stat-v2,
body.dark-app-theme .main-content .stat-card,
body.dark-app-theme .main-content .exam-stat {
  background: var(--bg-secondary, #0b1929) !important;
  border: 1px solid var(--border-color, #1a3050) !important;
  border-radius: 14px !important;
  color: var(--text-primary, #e8f0fe) !important;
  box-shadow: none !important;
  padding: 12px 10px !important;
}
/* 教员数据标题行区域 加卡片感 */
body.dark-app-theme .main-content .coach-data-section {
  background: var(--bg-secondary, #0b1929) !important;
  border: 1px solid var(--border-color, #1a3050) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 12px !important;
  margin-bottom: 12px !important;
}
/* 文字颜色 */
body.dark-app-theme .main-content h1,body.dark-app-theme .main-content h2,body.dark-app-theme .main-content h3,
body.dark-app-theme .main-content .student-page-title,body.dark-app-theme .main-content .exam-page-title,
body.dark-app-theme .main-content .checkin-page-title,body.dark-app-theme .main-content .checkin-page-header-v2 .checkin-page-title {
  color: var(--text-primary, #e8f0fe) !important;
}
body.dark-app-theme .main-content .text-secondary,body.dark-app-theme .main-content .info-label,
body.dark-app-theme .main-content .stat-label,body.dark-app-theme .main-content .student-stat-label,
body.dark-app-theme .main-content .checkin-stat-label,body.dark-app-theme .main-content .exam-stat-label,
body.dark-app-theme .main-content .student-card-info,body.dark-app-theme .main-content .exam-card-date {
  color: var(--text-secondary, #8ba3c7) !important;
}
body.dark-app-theme .main-content .text-muted { color: var(--text-muted, #4a6585) !important; }
/* 输入框深色 */
body.dark-app-theme .main-content .form-control,body.dark-app-theme .main-content .login-input-v2,
body.dark-app-theme .main-content .search-wrap-v2,body.dark-app-theme .main-content .student-search-input-wrap,
body.dark-app-theme .main-content .exam-search-bar input,body.dark-app-theme .main-content .student-search-input-wrap input {
  background: var(--bg-input, #132a45) !important;
  border-color: var(--border-color, #1a3050) !important;
  color: var(--text-primary, #e8f0fe) !important;
}
body.dark-app-theme .main-content .form-control::placeholder,body.dark-app-theme .main-content input::placeholder {
  color: var(--text-muted, #4a6585) !important;
}
/* 按钮深色 */
body.dark-app-theme .main-content .btn-primary { background: linear-gradient(135deg,#1fd1a8,#13b58e) !important; color: #04121f !important; border: none !important; }
body.dark-app-theme .main-content .btn-danger { background: linear-gradient(135deg,#ff5b6e,#e03e52) !important; color: #fff !important; }
body.dark-app-theme .main-content .btn-outline { border-color: rgba(0,229,184,.4) !important; color: var(--accent-teal, #00e5a0) !important; background: transparent !important; }
body.dark-app-theme .main-content .action-btn { background: var(--bg-secondary, #0b1929) !important; border-color: var(--border-color, #1a3050) !important; color: var(--text-secondary, #8ba3c7) !important; }
/* 标签深色 */
body.dark-app-theme .main-content .tag-success { background: rgba(22,214,168,.14) !important; color: #16d6a8 !important; }
body.dark-app-theme .main-content .tag-info { background: rgba(39,163,224,.14) !important; color: #27a3e0 !important; }
body.dark-app-theme .main-content .tag-warning { background: rgba(245,166,35,.14) !important; color: #f5a623 !important; }
body.dark-app-theme .main-content .tag-danger { background: rgba(255,91,110,.14) !important; color: #ff5b6e !important; }
body.dark-app-theme .main-content .tag-primary { background: rgba(155,107,255,.14) !important; color: #9b6bff !important; }
/* 筛选标签 — 放大 */
body.dark-app-theme .main-content .exam-pill,
body.dark-app-theme .main-content .student-filter-pill {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  color: var(--text-secondary, #8ba3c7) !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
}
body.dark-app-theme .main-content .exam-pill.active,
body.dark-app-theme .main-content .student-filter-pill.active {
  background: linear-gradient(135deg,#1fd1a8,#13b58e) !important;
  color: #04121f !important;
  border-color: transparent !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
}
body.dark-app-theme .main-content .exam-add-btn,
body.dark-app-theme .main-content .student-add-btn {
  background: linear-gradient(135deg,#1fd1a8,#13b58e) !important;
  color: #04121f !important;
  border: none !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
}
/* 侧边栏去边框 */
body.dark-app-theme .side-nav { background: #0b1628; border-right: none; }
/* 教员卡片 */
body.dark-app-theme .main-content .coach-data-section,body.dark-app-theme .main-content .coach-data-scroll { background: transparent; }
body.dark-app-theme .main-content .coach-data-card { background: var(--bg-secondary, #0b1929) !important; border-color: var(--border-color, #1a3050) !important; color: var(--text-primary, #e8f0fe) !important; }
body.dark-app-theme .main-content .coach-data-card.active { border-color: var(--accent-teal, #00e5a0) !important; background: rgba(0,229,184,.06) !important; }
body.dark-app-theme .main-content .coach-data-name,body.dark-app-theme .main-content .coach-data-nums { color: var(--text-primary, #e8f0fe) !important; }
/* 分页/表格/公告等（旧.pagination兼容保留，优先新类名） */
body.dark-app-theme .main-content .pagination a,body.dark-app-theme .main-content .pagination span,
body.dark-app-theme .main-content .pagi-btn,body.dark-app-theme .main-content .pagi-num { background: var(--bg-secondary, #0b1929) !important; border-color: var(--border-color, #1a3050) !important; color: var(--text-primary, #e8f0fe) !important; }
body.dark-app-theme .main-content .pagination a:hover,
body.dark-app-theme .main-content .pagi-btn:hover,
body.dark-app-theme .main-content .pagi-num:hover { border-color: rgba(0,229,184,.35) !important; }
body.dark-app-theme .main-content table { color: var(--text-primary, #e8f0fe) !important; }
body.dark-app-theme .main-content table th,body.dark-app-theme .main-content table td { border-color: var(--border-color, #1a3050) !important; }
body.dark-app-theme .main-content table tr:hover { background: rgba(15,32,53,.5) !important; }
/* 系统公告 — 标题在卡片内，统一卡片样式 */
body.dark-app-theme .main-content .notice-section {
  background: var(--bg-secondary, #0b1929) !important;
  border: 1px solid var(--border-color, #1a3050) !important;
  border-radius: 14px !important;
  padding: 12px 10px !important;
  margin-bottom: 12px !important;
  color: var(--text-primary, #e8f0fe) !important;
  box-shadow: none !important;
}
/* 公告统一卡片（标题头+内容都在里面）—— 去掉外框，直接躺在背景上 */
body.dark-app-theme .main-content .notice-section > .notice-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}
/* 卡片内标题行 */
body.dark-app-theme .main-content .notice-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px !important;
}
body.dark-app-theme .main-content .notice-section-title {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--text-primary, #e8f0fe) !important;
  display: flex; align-items: center; gap: 5px !important;
}
body.dark-app-theme .main-content .notice-section-title .notice-icon {
  font-size: 13px !important;
}
body.dark-app-theme .main-content .notice-publish-btn {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 3px 12px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(0,229,184,.45) !important;
  background: transparent !important;
  color: var(--accent-teal, #00e5a0) !important;
}
body.dark-app-theme .main-content .notice-publish-btn:hover {
  background: rgba(0,229,184,.12) !important;
  border-color: var(--accent-teal, #00e5a0) !important;
}
/* 卡片内公告条目 — 无独立边框 */
body.dark-app-theme .main-content .notice-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
  margin-bottom: 0 !important;
}
body.dark-app-theme .main-content .notice-item + .notice-item {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding-top: 8px !important;
}
body.dark-app-theme .main-content .notice-title {
  font-size: 13px !important;
  color: var(--accent-teal, #00e5a0) !important;
  margin-bottom: 2px !important;
}
body.dark-app-theme .main-content .notice-content {
  font-size: 12px !important;
  color: var(--text-secondary, #8ba3c7) !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
}
body.dark-app-theme .main-content .notice-meta {
  font-size: 11px !important;
  color: var(--text-muted, #4a6585) !important;
}
body.dark-app-theme .main-content .notice-publisher {
  font-size: 11px !important;
  color: var(--text-secondary, #8ba3c7) !important;
}
body.dark-app-theme .main-content .notice-delete {
  font-size: 11px !important;
  color: var(--accent-red, #ff5b6e) !important;
}
body.dark-app-theme .main-content .notice-empty {
  text-align: center !important;
  padding: 10px 0 4px !important;
  font-size: 12px !important;
  color: var(--text-muted, #4a6585) !important;
}
body.dark-app-theme .main-content .stats-grid { gap: 10px; }
body.dark-app-theme .main-content .panel-title { color: var(--text-primary, #e8f0fe) !important; }
body.dark-app-theme .main-content .empty-state,body.dark-app-theme .main-content .empty-state p { color: var(--text-muted, #4a6585) !important; }
body.dark-app-theme .main-content .panel[style*="margin"] { background: transparent !important; border: none !important; box-shadow: none !important; }

/* 数据概览页：板块背景与页眉(--bg-primary)一致，仅作用于仪表盘，不动移动端其他卡片 */
body.dark-app-theme .main-content .dash-page .stat-card,
body.dark-app-theme .main-content .dash-page .panel,
body.dark-app-theme .main-content .dash-page .panel[style*="margin"],
body.dark-app-theme .main-content .dash-page .notice-section {
  background: var(--bg-primary, #060E1A) !important;
}

/* ===== 签到页(APP)统一为考试页墨绿霓虹风格并调扁控件 ===== */
body.dark-app-theme .main-content .ci-page .ci-tabs {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  padding: 2px !important;
  border-radius: 10px !important;
}
body.dark-app-theme .main-content .ci-page .ci-tab {
  padding: 5px 3px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
  color: var(--text-secondary, #8ba3c7) !important;
}
body.dark-app-theme .main-content .ci-page .ci-tab.active {
  background: linear-gradient(135deg,#1fd1a8,#13b58e) !important;
  color: #04121f !important;
  box-shadow: 0 2px 8px rgba(31,209,168,.25) !important;
}
body.dark-app-theme .main-content .ci-page .ci-select-trigger,
body.dark-app-theme .main-content .ci-page .ci-search input {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  color: var(--text-primary, #e8f0fe) !important;
  border-radius: 10px !important;
}
body.dark-app-theme .main-content .ci-page .ci-select-trigger {
  padding: 6px 11px !important;
  font-size: 12px !important;
}
body.dark-app-theme .main-content .ci-page .ci-search input {
  height: 34px !important;
  font-size: 12.5px !important;
  padding: 0 12px 0 36px !important;
}
body.dark-app-theme .main-content .ci-page .ci-period {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  border-radius: 10px !important;
}
body.dark-app-theme .main-content .ci-page .ci-period button {
  height: 28px !important;
  font-size: 11.5px !important;
  color: var(--text-secondary, #8ba3c7) !important;
}
body.dark-app-theme .main-content .ci-page .ci-period button.active {
  background: linear-gradient(135deg,#1fd1a8,#13b58e) !important;
  color: #04121f !important;
}
body.dark-app-theme .main-content .ci-page .ci-stat {
  background: var(--bg-secondary, #0b1929) !important;
  border-color: var(--border-color, #1a3050) !important;
  border-radius: 11px !important;
  padding: 7px 3px 5px !important;
}
body.dark-app-theme .main-content .ci-page .ci-stat-n { font-size: 20px !important; }
body.dark-app-theme .main-content .ci-page .ci-stat-lb { font-size: 9px !important; color: var(--text-secondary, #8ba3c7) !important; }
body.dark-app-theme .main-content .ci-page .ci-progress-wrap {
  background: var(--bg-secondary, #0b1929) !important;
  border-radius: 11px !important;
  padding: 9px 12px !important;
}
body.dark-app-theme .main-content .ci-page .ci-progress-bar { background: var(--bg-input, #132a45) !important; }
body.dark-app-theme .main-content .ci-page .ci-progress-label,
body.dark-app-theme .main-content .ci-page .ci-progress-val { font-size: 12px !important; }

/* ===== 考试页筛选按钮再调扁 ===== */
body.dark-app-theme .main-content .exam-pill,
body.dark-app-theme .main-content .student-filter-pill {
  font-size: 11px !important;
  padding: 3px 11px !important;
  line-height: 1.2 !important;
  border-radius: 16px !important;
}
body.dark-app-theme .main-content .exam-pill.active,
body.dark-app-theme .main-content .student-filter-pill.active {
  font-size: 11px !important;
  padding: 3px 11px !important;
  line-height: 1.2 !important;
}
body.dark-app-theme .main-content .exam-add-btn,
body.dark-app-theme .main-content .student-add-btn {
  font-size: 11px !important;
  padding: 3px 11px !important;
  line-height: 1.2 !important;
  border-radius: 16px !important;
}

/* ===== 深色主题 仅桌面端布局 ===== */
@media (min-width: 768px) {
  body.dark-app-theme .main-content { margin-left: 220px; }
}

