/* ============================================
   PC 端布局（仅 html.pc-mode 生效，移动端不受影响）
   ============================================ */

html.pc-mode body {
  background: #F0F2F5;
}

/* ---------- 顶部栏 ---------- */
html.pc-mode .header {
  left: 232px;
  right: 0;
  height: 56px;
  /* 覆盖移动端宽屏媒体查询里的 max-width:1080px，避免顶栏两侧留空 */
  max-width: none;
  margin: 0;
  padding: 0 24px;
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

html.pc-mode .header-logo {
  display: none;
}

html.pc-mode .header-title {
  font-size: 17px;
  font-weight: 600;
}

html.pc-mode .header-action {
  font-size: 14px;
  color: var(--primary);
}

/* ---------- 主内容区 ---------- */
html.pc-mode .main {
  top: 56px;
  left: 232px;
  right: 0;
  bottom: 0;
  /* 覆盖移动端宽屏媒体查询里的居中限宽与左右描边 */
  max-width: none;
  margin: 0;
  border-left: 0;
  border-right: 0;
  padding: 20px 24px 40px;
  background: #F0F2F5;
}

html.pc-mode .tabbar {
  display: none;
}

/* ---------- 左侧导航 ---------- */
html.pc-mode .pc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 232px;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 120;
}

html.pc-mode .pc-brand {
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

html.pc-mode .pc-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

html.pc-mode .pc-brand span {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.pc-mode .pc-nav {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px 12px;
  /* 隐藏滚动条，避免右侧出现竖条 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.pc-mode .pc-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html.pc-mode .pc-nav-group {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 12px 10px 5px;
  letter-spacing: .5px;
}

html.pc-mode .pc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 2px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

html.pc-mode .pc-nav-item:hover {
  background: #F5F7FA;
}

html.pc-mode .pc-nav-item.active {
  background: #E6F1FB;
  color: var(--primary);
  font-weight: 600;
}

html.pc-mode .pc-nav-icon {
  width: 20px;
  text-align: center;
  flex: 0 0 auto;
}

html.pc-mode .pc-sidebar-foot {
  flex: 0 0 auto;
  padding: 10px;
  border-top: 1px solid var(--border);
}

/* ---------- 仪表盘：弹性面板流，同排等高，无栅格强制对齐 ---------- */
html.pc-mode #main.pc-dash {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  max-width: 1360px;
  margin: 0 auto;
}

html.pc-mode #main.pc-dash > .stat-grid,
html.pc-mode #main.pc-dash > .stat-grid-4 {
  flex: 1 1 100%;
  margin-bottom: 0;
}

/* 普通卡片：按内容弹性占位，同排面板自动等高 */
html.pc-mode #main.pc-dash > .card {
  flex: 1 1 440px;
  min-width: 0;
  margin-bottom: 0;
  border: 1px solid #EEF1F5;
  display: flex;
  flex-direction: column;
}

/* 卡片内容区纵向铺开，底部对齐（按钮/列表贴底，视觉整齐） */
html.pc-mode #main.pc-dash > .card > .card-title {
  flex: 0 0 auto;
}

html.pc-mode #main.pc-dash > .card.pc-span-2 {
  flex: 1 1 100%;
}

/* 仪表盘统计卡：悬浮反馈与更均衡的高度 */
html.pc-mode #main.pc-dash .stat-grid {
  gap: 14px;
}
html.pc-mode #main.pc-dash .stat-card {
  border: 1px solid #EEF1F5;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow .15s, transform .15s;
}
html.pc-mode #main.pc-dash .stat-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}
html.pc-mode #main.pc-dash .stat-big {
  border: 0;
  min-height: 0;
}

/* ---------- 我的 ---------- */
html.pc-mode #main.pc-mine {
  display: block;
  max-width: 1360px;
  margin: 0 auto;
}

html.pc-mode .pc-mine-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

html.pc-mode .pc-mine-side > .card,
html.pc-mode .pc-mine-body > .card {
  margin-bottom: 16px;
}

html.pc-mode .pc-mine-side > .card:last-child,
html.pc-mode .pc-mine-body > .card:last-child {
  margin-bottom: 0;
}

html.pc-mode .pc-mine-side > .card .btn {
  height: 38px;
  line-height: 38px;
  font-size: 14px;
}

/* 设置项改为双列磁贴 */
html.pc-mode .pc-mine-body > .card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

html.pc-mode .pc-mine-body > .card > .card-title {
  grid-column: 1 / -1;
}

html.pc-mode .pc-mine-body > .card .list-item {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}

html.pc-mode .pc-mine-body > .card .list-item:hover {
  border-color: #BBD4F0;
  box-shadow: 0 2px 10px rgba(74, 144, 217, .12);
}

/* ---------- 通用管理页（表格化） ---------- */
html.pc-mode #main.pc-sheet {
  max-width: 1360px;
  margin: 0 auto;
}

html.pc-mode #main.pc-sheet > .card {
  margin-bottom: 16px;
}

html.pc-mode #main.pc-sheet .list-item {
  padding: 12px 18px;
}

html.pc-mode #main.pc-sheet .list-item:hover {
  background: #F7F9FC;
}

html.pc-mode #main.pc-sheet .form-row {
  display: flex;
  gap: 16px;
}

html.pc-mode #main.pc-sheet .form-row > .form-group {
  flex: 1;
  min-width: 0;
}

/* ---------- 日历 ---------- */
html.pc-mode #main.pc-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 16px;
  align-items: start;
  max-width: 1680px;
  margin: 0 auto;
}

html.pc-mode #main.pc-calendar > .month-summary {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

html.pc-mode #main.pc-calendar > .calendar {
  margin-bottom: 0;
  padding: 16px;
}

html.pc-mode #main.pc-calendar > #cal-day-events {
  position: sticky;
  top: 0;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
}

html.pc-mode #main.pc-calendar > #cal-day-events > .card {
  margin-bottom: 12px;
}

html.pc-mode #main.pc-calendar .cal-day {
  aspect-ratio: auto;
  min-height: 108px;
  align-items: stretch;
  justify-content: flex-start;
  padding: 6px;
  gap: 2px;
  border: 1px solid #F0F2F5;
}

html.pc-mode #main.pc-calendar .cal-day:hover {
  background: #F7F9FC;
}

html.pc-mode #main.pc-calendar .cal-day .day-num {
  align-self: flex-start;
  font-size: 13px;
  line-height: 1.6;
  flex: 0 0 auto;
}

html.pc-mode #main.pc-calendar .cal-day.today .day-num {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

html.pc-mode #main.pc-calendar .cal-day .day-fee {
  align-self: center;
  font-size: 10px;
  margin-top: 0;
}

/* PC 端：课消金额显示在日期右侧 */
html.pc-mode #main.pc-calendar .cal-day .day-head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex: 0 0 auto;
}

html.pc-mode .pc-cal-chips {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
  overflow: hidden;
}

html.pc-mode .pc-cal-chip {
  font-size: 11px;
  line-height: 1.6;
  padding: 0 5px;
  border-radius: 4px;
  border-left: 2px solid var(--primary);
  background: #E6F1FB;
  color: #1F5C99;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.pc-mode .pc-cal-chip.group {
  background: #F3EDFF;
  color: #5B2D9A;
  border-left-color: #722ED1;
}

html.pc-mode .pc-cal-chip.plan {
  background: #FFF7E6;
  color: #AD5A00;
  border-left-color: #FA8C16;
}

html.pc-mode .pc-cal-chip.assigned {
  background: #FFF1E6;
  color: #AD4E00;
  border-left-color: #FA8C16;
}

html.pc-mode .pc-cal-chip.absent {
  background: #FFF1F0;
  color: #A8071A;
  border-left-color: var(--danger);
}

html.pc-mode .pc-cal-more {
  font-size: 11px;
  color: var(--text-secondary);
  padding-left: 5px;
}

/* ---------- 学生档案左右分栏 ---------- */
html.pc-mode .pc-archive-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 16px;
  max-width: 1680px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

html.pc-mode .pc-archive-toolbar input {
  width: 340px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 19px;
  padding: 0 16px 0 36px;
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 12px center;
}

html.pc-mode .pc-archive-toolbar input:focus {
  outline: none;
  border-color: var(--primary);
}

html.pc-mode .pc-archive-toolbar .pc-spacer {
  flex: 1;
}

html.pc-mode .pc-archive-toolbar .btn {
  width: auto;
  flex: 0 0 auto;
  height: 38px;
  line-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 8px;
}

html.pc-mode .pc-archive-toolbar .btn-primary {
  min-width: 76px;
  padding: 0 20px;
}

html.pc-mode .pc-archive-toolbar .btn-outline {
  border-color: #DCE3EC;
  color: #4A5568;
}

html.pc-mode .pc-archive-toolbar .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #F5F9FF;
}

html.pc-mode .pc-split {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1680px;
  margin: 0 auto;
}

html.pc-mode .pc-panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

html.pc-mode #pc-archive-list {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 150px);
}

html.pc-mode .pc-panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}

html.pc-mode .pc-panel-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

html.pc-mode .pc-list-scroll {
  flex: 1;
  overflow-y: auto;
}

html.pc-mode #pc-archive-list .list-item {
  cursor: pointer;
  padding: 12px 16px;
}

html.pc-mode #pc-archive-list .list-item:hover {
  background: #F7F9FC;
}

html.pc-mode #pc-archive-list .list-item.active {
  background: #E6F1FB;
}

html.pc-mode .pc-split-detail {
  padding: 16px;
  min-height: 320px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

html.pc-mode .pc-split-detail .card {
  box-shadow: none;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

html.pc-mode .pc-split-detail .card:last-child {
  margin-bottom: 0;
}

/* ---------- 弹窗 ---------- */
html.pc-mode .modal {
  align-items: center;
}

html.pc-mode .modal-content {
  width: min(680px, 92vw);
  max-width: none;
  max-height: 86vh;
  border-radius: 14px;
  animation: fadeIn .15s;
  position: relative;
}

html.pc-mode .modal-close {
  top: 14px;
  right: 16px;
}

/* ---------- 登录页 ---------- */
html.pc-mode .auth-logo {
  margin-top: 8vh;
}

html.pc-mode .auth-card {
  max-width: 420px;
  margin: 0 auto;
}

/* ---------- 日历/报表图表自适应 ---------- */
html.pc-mode canvas {
  max-width: 100%;
}

/* ============================================
   桌面端细节优化：信息密度 / 查询条 / 汇总卡
   ============================================ */

/* 顶栏面包屑 */
html.pc-mode .header-brand {
  gap: 10px;
}
html.pc-mode .pc-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
html.pc-mode .pc-crumb::after {
  content: '/';
  color: #C9CED6;
}

/* 管理页表单与按钮密度 */
html.pc-mode #main.pc-sheet .form-input,
html.pc-mode #main.pc-sheet .form-select {
  height: 38px;
  font-size: 14px;
}
html.pc-mode #main.pc-sheet .form-label {
  font-size: 12px;
  margin-bottom: 5px;
}
html.pc-mode #main.pc-sheet .btn {
  height: 38px;
  line-height: 38px;
  font-size: 14px;
}
html.pc-mode #main.pc-sheet .btn-sm {
  height: 32px;
  line-height: 32px;
  font-size: 13px;
}
html.pc-mode #main.pc-sheet .list-item {
  cursor: pointer;
}

/* 搜索区在宽屏下不再铺满 */
html.pc-mode #main.pc-sheet .search-box {
  background: transparent;
  padding: 0 0 12px;
}
html.pc-mode #main.pc-sheet .search-input {
  max-width: 380px;
  height: 38px;
}
html.pc-mode #main.pc-sheet .segment {
  max-width: 380px;
}

/* 查询条件卡片：桌面端横排为一行 */
html.pc-mode #main.pc-sheet > .card.pc-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}
html.pc-mode #main.pc-sheet > .card.pc-filter > .card-title {
  flex: 1 1 100%;
  margin-bottom: 2px;
}
html.pc-mode #main.pc-sheet > .card.pc-filter .form-row {
  display: contents;
}
/* 用后代选择器，兼容包在 .form-row 里的表单项，保证同一行基线一致 */
html.pc-mode #main.pc-sheet > .card.pc-filter .form-group {
  flex: 1 1 150px;
  min-width: 130px;
  max-width: 200px;
  margin-bottom: 0;
}
html.pc-mode #main.pc-sheet > .card.pc-filter .form-group > .form-input,
html.pc-mode #main.pc-sheet > .card.pc-filter .form-group > .form-select {
  width: 100%;
}
html.pc-mode #main.pc-sheet > .card.pc-filter > .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 108px;
  padding: 0 26px;
}
/* 按钮包在 flex 容器里时按内容宽度显示，避免文字被挤压溢出 */
html.pc-mode #main.pc-sheet > .card.pc-filter .btn {
  width: auto;
  padding: 0 18px;
  white-space: nowrap;
}
html.pc-mode #main.pc-sheet > .card.pc-filter > div[style*="display:flex"] {
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}
html.pc-mode #main.pc-sheet > .card.pc-filter > .pc-filter-note {
  flex: 1 1 100%;
}

/* 汇总数字卡：宽屏一行铺满，去掉卡片内嵌套阴影 */
html.pc-mode .report-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
html.pc-mode .report-summary-item {
  background: #FAFBFD;
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 12px 14px;
}
html.pc-mode .report-summary-label {
  min-height: 0;
  margin-bottom: 4px;
  font-size: 12px;
}
html.pc-mode .report-summary-value {
  font-size: 22px;
}

/* 空状态在宽屏下更紧凑 */
html.pc-mode #main .empty {
  padding: 36px 20px;
}

/* ============================================
   统一桌面端视觉：紧凑卡片 + 细分隔线（参考面板类设计）
   ============================================ */
html.pc-mode {
  --pc-border: #E7ECF2;
  --pc-shadow: 0 1px 2px rgba(16, 36, 64, .04);
}

/* 隐藏全站滚动条（保留滚动能力） */
html.pc-mode * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html.pc-mode *::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html.pc-mode .main {
  padding: 16px 20px 32px;
}

html.pc-mode .card {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  box-shadow: var(--pc-shadow);
  padding: 16px;
  margin-bottom: 12px;
}

html.pc-mode .card-title {
  font-size: 15px;
  margin-bottom: 12px;
}

html.pc-mode .list-item {
  padding: 12px 14px;
}

html.pc-mode #main.pc-dash,
html.pc-mode #main.pc-sheet,
html.pc-mode #main.pc-mine {
  max-width: 1440px;
}

/* ---------- 仪表盘（后置微调：与 flex 面板流一致的 10px 间距） ---------- */
html.pc-mode #main.pc-dash {
  gap: 10px;
}

html.pc-mode #main.pc-dash > .card,
html.pc-mode #main.pc-dash > .stat-grid,
html.pc-mode #main.pc-dash > .stat-grid-4 {
  margin-bottom: 0;
}

html.pc-mode #main.pc-dash > .stat-grid {
  gap: 10px;
}

/* 顶部余额卡压缩留白 */
html.pc-mode #main.pc-dash .stat-big {
  padding: 18px 22px;
  border-radius: 10px;
}
html.pc-mode #main.pc-dash .stat-big .stat-value {
  font-size: 28px;
  margin-bottom: 2px;
}

/* 四项指标：紧凑一排，弱化留白 */
html.pc-mode #main.pc-dash > .stat-grid-4 {
  gap: 10px;
}

html.pc-mode #main.pc-dash .stat-grid-4 .stat-card {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  box-shadow: var(--pc-shadow);
  min-height: 76px;
  padding: 12px;
}

html.pc-mode #main.pc-dash .stat-grid-4 .stat-value {
  font-size: 21px;
}

html.pc-mode #main.pc-dash .stat-grid-4 .stat-label {
  font-size: 12px;
}

html.pc-mode #main.pc-sheet > .card:last-child,
html.pc-mode #main.pc-mine > .card:last-child {
  margin-bottom: 0;
}

/* 档案 / 我的：分栏间距与卡片节奏统一为 12px */
html.pc-mode .pc-archive-toolbar {
  margin-bottom: 12px;
}

html.pc-mode .pc-split,
html.pc-mode .pc-mine-grid {
  gap: 12px;
}

html.pc-mode .pc-mine-side > .card,
html.pc-mode .pc-mine-body > .card {
  margin-bottom: 12px;
}

/* ---------- 错题扫描工作台：PC 端大画布 ---------- */
.wb-zoom-bar { display: none; }

html.pc-mode #main.pc-workbench {
  padding: 14px 18px 24px;
}

html.pc-mode .wb-head {
  padding: 10px 12px;
  margin-bottom: 10px;
}

html.pc-mode .wb-head-grid {
  grid-template-columns: 240px 170px 150px;
  gap: 0 12px;
}

html.pc-mode .wb-actions {
  gap: 6px;
  margin-top: 2px;
}

html.pc-mode .wb-actions .btn {
  flex: 0 0 auto;
  padding: 7px 14px;
}

html.pc-mode .wb-hint {
  margin-top: 8px;
  padding: 6px 10px;
}

html.pc-mode .wb-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 12px;
}

html.pc-mode .wb-canvas-card {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 250px);
  min-height: 480px;
  padding: 10px;
}

html.pc-mode .wb-zoom-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
}

html.pc-mode .wb-zoom-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  border-radius: 7px;
  min-width: 30px;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  cursor: pointer;
}

html.pc-mode .wb-zoom-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

html.pc-mode .wb-zoom-label {
  min-width: 48px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}

html.pc-mode .wb-zoom-tip {
  margin-left: auto;
  font-size: 11px;
  color: #B0B7C3;
}

html.pc-mode .wb-fullscreen-btn { margin-left: 4px; }

html.pc-mode .wb-page-strip { margin-bottom: 6px; }
html.pc-mode .wb-page-thumb { width: 72px; }
html.pc-mode .wb-page-thumb img { height: 86px; }

html.pc-mode .wb-canvas-scroll {
  flex: 1;
  min-height: 0;
  max-height: none;
}

html.pc-mode .wb-canvas-inner { min-width: 100%; }

html.pc-mode .wb-side {
  height: calc(100vh - 250px);
  min-height: 480px;
  max-height: none;
  padding: 12px;
}

html.pc-mode .wb-handle {
  width: 14px;
  height: 14px;
}

html.pc-mode .wb-box {
  border-width: 2px;
}

html.pc-mode .wb-canvas-card.wb-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 200;
  height: auto;
  min-height: 0;
  border-radius: 0;
  padding: 12px;
  background: #fff;
}

html.pc-mode .wb-canvas-card.wb-fullscreen .wb-canvas-scroll {
  flex: 1;
  min-height: 0;
  max-height: none;
}

html.pc-mode .wb-canvas-card.wb-fullscreen .wb-page-strip {
  max-height: 110px;
  overflow-y: auto;
}

/* ---------- 班级管理：班级卡片一排 2 个，等高 ---------- */
html.pc-mode #main #group-sections,
html.pc-mode #main #done-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: stretch;
}

/* 已结课折叠面板、空状态占满整行 */
html.pc-mode #main #group-sections > .card,
html.pc-mode #main #group-sections > .empty {
  grid-column: 1 / -1;
}

html.pc-mode #main #group-sections > .group-card,
html.pc-mode #main #done-groups > .group-card {
  height: 100%;
  margin-bottom: 0;
}

/* ---------- 学生管理：每个学生一张卡片，一排 2 个，等高 ---------- */
html.pc-mode #main .list#student-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

html.pc-mode #main .list#student-list > .list-item {
  height: 100%;
  margin: 0;
  border: 1px solid #EEF1F5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

html.pc-mode #main .list#student-list > .list-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

