:root {
  --orange: #ff7a45;
  --orange-d: #f2611f;
  --orange-l: #fff1e8;
  --green: #14b89a;
  --green-d: #0e9c83;
  --green-l: #e6f8f4;
  --yellow: #faad14;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --ink: #1f2937;
  --ink2: #4b5563;
  --ink3: #9ca3af;
  --line: #eceef2;
  --bg: #f6f7f9;
  --card: #ffffff;
  --danger: #e5484d;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(17, 24, 39, .05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--orange-d); }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff9a62 55%, var(--green) 160%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 122, 69, .22);
}
.topbar .tb-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.topbar .tb-sub { font-size: 11px; opacity: .88; }
.topbar .tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-btn {
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.16);
  color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px;
  cursor: pointer; position: relative;
}
.tb-btn:active { transform: scale(.97); }
.dot {
  position: absolute; top: -2px; right: -2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #e5484d; color: #fff; border-radius: 999px;
  font-size: 10px; line-height: 16px; text-align: center;
  border: 1.5px solid #fff;
}

.page { padding: 14px 14px 96px; max-width: 720px; margin: 0 auto; }

/* 卡片 */
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px;
}
.card-hd { display: flex; align-items: center; margin-bottom: 10px; }
.card-hd h3 { margin: 0; font-size: 15px; font-weight: 700; }
.card-hd .hd-right { margin-left: auto; font-size: 12px; color: var(--ink3); }

/* 英雄区 */
.hero {
  background: linear-gradient(135deg, #ff8c42 0%, #ffa751 40%, #22c1a4 100%);
  border-radius: 18px; padding: 18px 16px; color: #fff;
  margin-bottom: 12px; box-shadow: 0 6px 20px rgba(255,140,66,.25);
}
.hero h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.hero .hero-sub { font-size: 12px; opacity: .92; }
.hero-stats { display: flex; margin-top: 14px; gap: 8px; }
.hero-stat { flex: 1; background: rgba(255,255,255,.18); border-radius: 12px; padding: 8px 6px; text-align: center; }
.hero-stat b { display: block; font-size: 19px; line-height: 1.25; }
.hero-stat span { font-size: 11px; opacity: .9; }

/* 打卡项卡片 */
.item-card {
  background: var(--card); border-radius: var(--radius); padding: 14px;
  margin-bottom: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  border-left: 4px solid var(--orange);
}
.item-card.green { border-left-color: var(--green); }
.item-card.yellow { border-left-color: var(--yellow); }
.item-card.done { opacity: .82; }
.item-icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--orange-l);
}
.item-card.green .item-icon { background: var(--green-l); }
.item-card.yellow .item-icon { background: #fff8e6; }
.item-main { flex: 1; min-width: 0; }
.item-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.item-desc { font-size: 12px; color: var(--ink3); margin-top: 2px; }
/* 按钮被禁用时的原因说明：必须让用户知道是「时间未到」还是「已完成」 */
.item-reason { font-size: 11.5px; color: #b45309; background: #fff7ed; border-radius: 6px; padding: 3px 7px; margin-top: 5px; display: inline-block; }
.item-act { flex: none; }

/* 徽标 */
.badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 18px;
}
.badge.valid { background: var(--green-l); color: var(--green-d); }
.badge.pending_review, .badge.ai_checking { background: #eef2ff; color: #4f46e5; }
.badge.rejected { background: var(--orange-l); color: var(--orange-d); }
.badge.expired, .badge.reversed { background: #f3f4f6; color: #6b7280; }
.badge.appealing { background: #fef3c7; color: #b45309; }
.badge.gold { background: #fef3c7; color: #b7791f; }
.badge.fail { background: #fee2e2; color: #b91c1c; }
.badge.silver { background: #f1f5f9; color: #64748b; }
.badge.bronze { background: #fff7ed; color: #c2410c; }

/* 按钮 */
.btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 10px; padding: 9px 16px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: transform .1s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:disabled { background: #fdba74; border-color: #fdba74; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-block { display: block; width: 100%; padding: 12px; font-size: 15px; }
.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn-row { display: flex; gap: 8px; }
.btn-row .btn { flex: 1; min-width: 0; }
/* 风控处置：4 个动作按钮固定一行等分。
   长文案 + flex 默认 min-width:auto 会把卡片撑出屏幕，
   这里锁定单行、允许收缩，并收紧内边距/字号保证窄屏可放。 */
.rk-disp-row { flex-wrap: nowrap; gap: 6px; }
.rk-disp-row .btn {
  /* 四个动作固定一行：等分宽度 + 收紧内边距与字号，320px 窄屏也能完整放下 */
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  padding: 5px 2px;
  font-size: 12px;
  letter-spacing: 0;
}

/* 表单 */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--ink2); }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; background: #fff; color: var(--ink); outline: none;
}
.input:focus { border-color: var(--orange); }
.hint { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.hint.warn { color: var(--orange-d); }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin: 10px 0; }
.check input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--orange); }

/* 底部导航 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar button {
  flex: 1; border: 0; background: none; padding: 7px 0 6px; cursor: pointer;
  color: var(--ink3); font-size: 10.5px; position: relative;
}
.tabbar button .ti { display: block; font-size: 19px; line-height: 1.3; }
.tabbar button.on { color: var(--orange); font-weight: 700; }
.tabbar .dot { top: 2px; right: 50%; margin-right: -20px; }

/* 列表 */
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; }
.row-sub { font-size: 12px; color: var(--ink3); margin-top: 1px; }
.row-right { flex: none; font-size: 13px; }

/* 进度条 */
.bar { height: 7px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--green)); border-radius: 999px; }

/* 表格：窄屏可横向滚动 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
table.tb { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 420px; }
table.tb th, table.tb td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.tb th { color: var(--ink3); font-weight: 600; background: #fafbfc; }
table.tb td.wrap { white-space: normal; min-width: 150px; }

/* 角色徽章 */
.rbadge {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; background: #eef0f3; color: var(--ink2);
}
.rbadge.r-system_admin { background: #fdecea; color: #b42318; }
.rbadge.r-school_admin { background: #fff2e0; color: #b35c00; }
.rbadge.r-college_admin { background: #e6f4ff; color: #1668a8; }
.rbadge.r-reviewer { background: #e9f7ee; color: #1a7f45; }

/* 个人资料信息行 */
.plist { display: flex; flex-direction: column; }
.prow {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.prow:last-child { border-bottom: 0; }
.pk { flex: none; width: 88px; font-size: 13px; color: var(--ink3); }
.pv {
  flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink);
  word-break: break-all;
}

/* 题目单行列表 */
.qtable { display: flex; flex-direction: column; border: 0.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qrow {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff;
}
.qrow:last-child { border-bottom: 0; }
.qrow.off { background: #f7f8fa; }
.qrow.off .qrow-stem, .qrow.off .qrow-opts { opacity: .6; }
.qrow-l { flex: 1; min-width: 0; }
.qrow-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qrow-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.qmeta { font-size: 11.5px; color: var(--ink3); background: #f0f2f5; padding: 1px 7px; border-radius: 999px; }
.qrow-stem { font-size: 13.5px; line-height: 1.5; color: var(--ink); word-break: break-word; }
.qrow-opts {
  display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px;
  font-size: 12px; color: var(--ink2);
}
.qo b { color: var(--ink3); margin-right: 2px; font-weight: 600; }
.qrow-acts { display: flex; gap: 6px; }
.qe-opts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px;
}
@media (max-width: 380px) { .qe-opts { grid-template-columns: minmax(0, 1fr); } }

/* 题目列表 */
.qlist { display: flex; flex-direction: column; gap: 10px; }
.qitem {
  border: 0.5px solid var(--line); border-radius: var(--radius, 10px);
  padding: 10px 12px; background: #fff;
}
.qitem.off { background: #f7f8fa; opacity: .72; }
.qitem-hd {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink3); margin-bottom: 5px;
}
.qtype {
  padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
}
.qtype.t-single { background: #e6f4ff; color: #1668a8; }
.qtype.t-multiple { background: #fff2e0; color: #b35c00; }
.qtype.t-judge { background: #e9f7ee; color: #1a7f45; }
.qoff { color: #b42318; background: #fdecea; padding: 1px 7px; border-radius: 999px; }
.qans { margin-left: auto; font-weight: 600; color: var(--ink2); }
.qstem { font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.qopts {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 6px; font-size: 12.5px; color: var(--ink2);
}
.qacts { display: flex; gap: 8px; margin-top: 9px; }

/* 列表分页 */
.grid-2 {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 10px;
}
@media (max-width: 340px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.pager {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 12px;
}
.pager-txt { font-size: 12.5px; color: var(--ink3); }
.pager .btn-sm[disabled] { opacity: .45; cursor: not-allowed; }
/* 审核工作台翻页：页码信息 + 跳页输入 */
.pager { flex-wrap: wrap; }
.pager-info { font-size: 12.5px; color: var(--ink3); }
.pager-info b { color: var(--ink); }
.pager-jump { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink3); }
.pager-jump .input { width: 76px; padding: 5px 8px; text-align: center; }
/* 每页显示条数（统一翻页控件最右侧） */
.pager-size { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink3); white-space: nowrap; }
.pager-size .input { width: auto; min-width: 66px; padding: 5px 8px; text-align: center; }

/* 空态 */
.empty { text-align: center; padding: 40px 20px; color: var(--ink3); }
.empty .e-ico { font-size: 40px; }
.empty .e-txt { margin-top: 8px; font-size: 13px; }

/* 弹窗 */
.mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(17,24,39,.45);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 440px;
  max-height: 86vh; display: flex; flex-direction: column;
  animation: pop .18s ease-out;
}
@keyframes pop { from { transform: scale(.94); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.modal-hd { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal-hd b { font-size: 15px; }
.modal-x { margin-left: auto; border: 0; background: none; font-size: 17px; color: var(--ink3); cursor: pointer; }
.modal-bd { padding: 16px; overflow-y: auto; }
.modal-ft { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.modal-ft .btn { flex: 1; }
.confirm-text { font-size: 14px; line-height: 1.6; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(14px);
  background: rgba(31,41,55,.94); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-size: 13.5px; z-index: 90;
  opacity: 0; pointer-events: none; transition: all .22s; max-width: 84vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: rgba(20,184,154,.96); }
.toast.err { background: rgba(229,72,77,.96); }

/* 答题 */
.q-stem { font-size: 15px; font-weight: 600; line-height: 1.6; margin-bottom: 10px; }
.q-opt {
  display: flex; align-items: flex-start; gap: 9px;
  border: 1.5px solid var(--line); border-radius: 11px;
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer; background: #fff;
}
.q-opt.on { border-color: var(--orange); background: var(--orange-l); }
.q-opt.right { border-color: var(--green); background: var(--green-l); }
.q-opt.wrong { border-color: var(--danger); background: #fef2f2; }
.q-opt .q-k {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: #f1f3f6; color: var(--ink2);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.q-opt.on .q-k { background: var(--orange); color: #fff; }
.q-anal {
  background: var(--green-l); border-radius: 10px; padding: 10px 12px;
  font-size: 13px; margin-top: 8px; color: #0f5f52; line-height: 1.6;
}

/* 题干后的题型标签（单选/多选/判断） */
.q-type {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  font-size: 11.5px; font-weight: 600; border-radius: 5px;
  background: #eef2ff; color: #4c5fd5; vertical-align: middle;
}
/* 答题结果：我的选择 / 正确答案 */
.q-res {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 10px; padding: 8px 11px; border-radius: 9px;
  background: #f8f9fb; font-size: 13px; color: #57606a;
}
.q-res b.ok { color: #1a7f37; }
.q-res b.bad { color: #d1242f; }

/* 慢跑/早餐详情里的「每一轮提交」卡片 */
.sub-round {
  border: 1px solid #e6e8eb; border-radius: 10px;
  padding: 10px 11px; margin-bottom: 9px; background: #fcfcfd;
}
.sub-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sub-round .rec-thumb { width: 100%; height: auto; max-height: 190px; object-fit: contain; margin-bottom: 8px; }
.sub-bd { font-size: 12.5px; color: #57606a; line-height: 1.75; }
.sub-bd b { color: var(--ink, #1f2328); }

/* 上传 */
.up-box {
  border: 2px dashed #f3b08a; border-radius: 14px;
  padding: 26px 16px; text-align: center; background: var(--orange-l); cursor: pointer;
}
.up-box.g { border-color: #7fdcc8; background: var(--green-l); }
.up-ico { font-size: 34px; }
.up-txt { font-size: 13px; color: var(--ink2); margin-top: 6px; }
.up-prev { width: 100%; border-radius: 12px; margin-top: 10px; display: block; }

/* 已选图片的预览区：缩略图 + 文件名/大小 + 删除按钮 */
.up-preview { margin-top: 10px; border: 1px solid var(--line, #eee); border-radius: 12px; overflow: hidden; background: #fff; }
.up-preview .up-prev { margin-top: 0; border-radius: 0; max-height: 260px; object-fit: cover; }
.up-meta { padding: 9px 11px; border-top: 1px solid var(--line, #eee); }
.up-name { font-size: 13px; color: var(--ink, #333); font-weight: 600; word-break: break-all; line-height: 1.35; }
.up-size { font-size: 11.5px; color: var(--ink3, #9ca3af); margin-top: 2px; }
.up-del { display: block; width: 100%; padding: 10px; border: 0; border-top: 1px solid var(--line, #eee); background: #fff; color: #e8590c; font-size: 14px; font-weight: 600; cursor: pointer; }
.up-del:active { background: #fff7ed; }

/* 详情 */
.kv { display: flex; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--ink3); flex: none; width: 84px; }
.kv .v { flex: 1; word-break: break-all; }

/* 荣誉 */
.medal-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.medal {
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1.5px solid var(--line); background: #fff;
}
.medal.gold { border-color: #f5c445; background: #fffbeb; color: #b7791f; }
.medal.silver { border-color: #cbd5e1; background: #f8fafc; color: #64748b; }
.medal.bronze { border-color: #e0a06a; background: #fff7ed; color: #c2410c; }
.medal.lock { color: var(--ink3); }

/* 登录页 */
.auth-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 24px 18px; max-width: 460px; margin: 0 auto;
}
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo .l-ico { font-size: 46px; }
.auth-logo h1 { font-size: 21px; margin: 8px 0 3px; color: var(--ink); font-weight: 800; }
.auth-logo p { margin: 0; font-size: 13px; color: var(--ink3); }
.seg {
  display: flex; background: #eef0f3; border-radius: 10px; padding: 3px; margin-bottom: 14px;
}
.seg button {
  flex: 1; border: 0; background: none; padding: 8px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink2); cursor: pointer;
}
.seg button.on { background: #fff; color: var(--orange-d); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* 邮箱：只读展示（随账号自动补全），不可直接编辑 */
.mail-lock .input, .mail-view {
  background: #f6f7f9;
  color: var(--ink2);
  border-style: dashed;
}
.link-btn {
  border: 0; background: none; padding: 6px 0 0;
  color: var(--orange-d); font-size: 12.5px; cursor: pointer;
}
.row-gap { display: flex; gap: 8px; align-items: stretch; }
.row-gap .input { flex: 1; min-width: 0; }
.btn-send {
  flex: none; padding: 0 14px; white-space: nowrap;
  border: 1px solid var(--orange); color: var(--orange-d);
  background: var(--orange-l); border-radius: 10px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.btn-send:disabled { opacity: .6; cursor: not-allowed; }

/* 图形验证码画布：点击换一张 */
.cap {
  flex: none; width: 104px; height: 38px;
  border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line);
  display: block;
}
.cap:active { transform: scale(.98); }

/* 三页签时字号略收，避免 390px 下换行 */
.seg.seg-3 button { font-size: 13px; padding: 8px 4px; white-space: nowrap; }
.seg.seg-2 button { font-size: 13.5px; }
.seg.seg-4 button { font-size: 12.5px; padding: 8px 3px; white-space: nowrap; }
.seg.seg-5 button { font-size: 12.5px; padding: 8px 2px; white-space: nowrap; }
/* 禁用按钮：不可点且视觉上明确不可用（验证码未发出、取不到邮箱等场景） */
.btn-disabled, .btn[disabled] {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}

/* 审核工作台 */
.wk-item {
  background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.wk-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wk-seq { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--ink3); }
.wk-img { width: 100%; border-radius: 10px; display: block; margin: 8px 0; background: #f3f4f6; }

/* ========== 审核工作台：列表式工单 ========== */
/* 行：复选框 + 缩略图 + 信息 + 右侧审核按钮 */
.wk-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 10px 12px;
  margin-bottom: 8px; box-shadow: var(--shadow);
}
.wk-row.done { background: #fafbfc; }
.wk-pick { flex: none; width: 20px; display: flex; align-items: center; justify-content: center; }
.wk-pick input { width: 17px; height: 17px; cursor: pointer; }
.wk-thumb {
  flex: none; width: 62px; height: 62px; object-fit: cover;
  border-radius: 9px; background: #f3f4f6; cursor: zoom-in; display: block;
  border: 1px solid #eee;
}
.wk-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: default;
}
.wk-info { flex: 1; min-width: 0; }
.wk-line1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.wk-line2 { font-size: 12px; color: var(--ink3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-line3 { font-size: 11.5px; color: var(--ink3); margin-top: 2px; }
.wk-acts { flex: none; display: flex; flex-direction: column; gap: 5px; width: 74px; }
.wk-acts .btn { width: 100%; margin: 0; }

/* 批量操作条 */
.bulk-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff; border-radius: 12px; padding: 10px 12px;
  margin-bottom: 10px; box-shadow: var(--shadow);
}
.bulk-bar .btn { margin: 0; }
.btn-danger { background: #e5484d; border-color: #e5484d; color: #fff; }
.btn-danger:disabled { background: #f3a3a5; border-color: #f3a3a5; }

/* 图片灯箱：点击缩略图放大 */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 20px;
}
.lightbox img {
  max-width: 100%; max-height: 86vh; border-radius: 8px;
  object-fit: contain; background: #fff;
}
.lb-cap { color: rgba(255,255,255,.8); font-size: 13px; margin-top: 12px; }

/* 学生端记录详情里的提交图片缩略图 */
.rec-thumb {
  width: 84px; height: 84px; object-fit: cover; border-radius: 9px;
  background: #f3f4f6; cursor: zoom-in; display: block; border: 1px solid #eee;
}
.rec-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #9ca3af; cursor: default;
}

/* 管理端风控处置：图片对比缩略图（比记录页更大，便于辨认是否同一张图） */
.rk-thumb {
  width: 118px; height: 118px; object-fit: cover; border-radius: 10px;
  background: #f3f4f6; border: 1px solid #eee; display: block; cursor: zoom-in;
}
.rk-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #9ca3af; cursor: default; text-align: center;
  line-height: 1.3; padding: 4px; box-sizing: border-box;
}
.rk-photo-cap {
  font-size: 11px; color: var(--ink3); margin-top: 4px;
  line-height: 1.35; word-break: break-all;
}
.ai-box {
  background: #f8f9fb; border-radius: 10px; padding: 9px 11px;
  font-size: 12.5px; color: var(--ink2); line-height: 1.6;
}
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0; }
.reason-grid .btn { font-size: 12.5px; padding: 8px; }
.reason-grid .btn.on { background: var(--orange); border-color: var(--orange); color: #fff; }

/* 管理端 */
.admin-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 52px; z-index: 20; }
.admin-tabs button {
  flex: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 6px 13px; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.admin-tabs button.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-box { background: #fff; border-radius: 12px; padding: 13px; box-shadow: var(--shadow); }
.stat-box b { display: block; font-size: 22px; color: var(--green-d); line-height: 1.3; }
.stat-box span { font-size: 12px; color: var(--ink3); }
.banner {
  background: #fff7e6; border: 1px solid #ffe1a8; color: #a15c00;
  border-radius: 10px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 10px;
}

.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; vertical-align: -2px; }
@keyframes sp { to { transform: rotate(360deg) } }

@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .reason-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 表格里的勾选框列（白名单） */
.tb .wl-chk, .tb #wlChkAll { width: 15px; height: 15px; cursor: pointer; }
