/* ==================================================================
   顺源招聘系统 统一样式表（含 ColorUI 覆盖层）
   ================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --c-primary: #0081ff;
  --c-primary-2: #4a8cff;
  --c-primary-soft: #eef5ff;
  --c-success: #39b54a;
  --c-warn: #ff9900;
  --c-danger: #e54d42;
  --c-info: #00adb5;
  --c-purple: #7a5cff;
  --c-text: #1f2d3d;
  --c-text-2: #5a6472;
  --c-text-3: #93a0b3;
  --c-border: #e4e8f0;
  --c-border-2: #eef1f6;
  --c-bg: #f4f6fa;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 6px rgba(16, 24, 40, .05);
  --shadow-md: 0 6px 20px rgba(16, 24, 40, .09);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .16);
  --ring: 0 0 0 3px rgba(0, 129, 255, .14);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; }
input, select, textarea, button { font-family: inherit; }

/* ================= 顶部栏 ================= */
.app-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 56px;
  background: linear-gradient(90deg, #0b6fe0 0%, var(--c-primary) 45%, #4a8cff 100%);
  box-shadow: 0 2px 10px rgba(11, 111, 224, .22);
}
.app-topbar .topbar-inner { display: flex; align-items: center; height: 100%; padding: 0 18px; color: #fff; }
.app-topbar .brand { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; letter-spacing: .3px; }
.app-topbar .brand .logo {
  width: 32px; height: 32px; background: rgba(255, 255, 255, .22); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; backdrop-filter: blur(2px);
}
.app-topbar .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.app-topbar .topbar-right a { color: #fff; }
.app-topbar .user-chip {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .16);
  padding: 5px 12px; border-radius: 20px;
}
.app-topbar .hamburger { display: none; font-size: 22px; cursor: pointer; margin-left: auto; padding: 4px; }

/* ================= 侧边栏（PC） ================= */
.app-sidebar {
  position: fixed; top: 56px; left: 0; bottom: 0; width: 224px; background: #fff;
  border-right: 1px solid var(--c-border-2); overflow-y: auto; padding: 12px 0; z-index: 90;
}
.app-sidebar .nav-title { padding: 6px 20px 8px; font-size: 12px; color: var(--c-text-3); letter-spacing: .5px; }
.app-sidebar .nav-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 20px; margin: 2px 10px;
  color: var(--c-text-2); font-size: 14px; border-radius: var(--radius);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.app-sidebar .nav-item .cuIcon { font-size: 17px; }
.app-sidebar .nav-item:hover { background: #f5f8fd; color: var(--c-primary); }
.app-sidebar .nav-item.active {
  background: linear-gradient(90deg, var(--c-primary-soft), #f7fbff);
  color: var(--c-primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--c-primary);
}

/* ================= 内容区 ================= */
.app-main { margin-left: 224px; margin-top: 56px; padding: 18px; min-height: calc(100vh - 56px); }
.app-main .page-wrap { max-width: 1320px; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.page-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; }

/* ================= 卡片 ================= */
.cu-card { border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.cu-card .cu-item { border: none; border-radius: var(--radius-lg); background: transparent; }
.cu-card .cu-item:not(:first-child) { border-top: 1px solid var(--c-border-2); }
.card-body { padding: 18px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card-title .count { font-size: 12px; color: var(--c-text-3); font-weight: 400; }
.table-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }

/* ================= 按钮（统一） ================= */
.cu-btn {
  height: 40px; padding: 0 18px; border: 0; border-radius: var(--radius); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .12s var(--ease), box-shadow .15s var(--ease), opacity .15s;
}
.cu-btn:active { transform: translateY(1px); }
.cu-btn.lg { height: 48px; font-size: 16px; border-radius: 12px; }
.cu-btn.sm { height: 32px; font-size: 13px; padding: 0 12px; border-radius: var(--radius-sm); font-weight: 500; }
.cu-btn.block { width: 100%; }
.cu-btn.bg-blue { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2)); color: #fff; box-shadow: 0 4px 12px rgba(0, 129, 255, .26); }
.cu-btn.bg-blue:hover { box-shadow: 0 6px 16px rgba(0, 129, 255, .34); }
.cu-btn.bg-cyan { background: linear-gradient(135deg, #00b8c4, #22c8d4); color: #fff; }
.cu-btn.bg-green { background: linear-gradient(135deg, #2fa84f, #46c26a); color: #fff; }
.cu-btn.bg-orange { background: linear-gradient(135deg, #ff8f00, #ffab33); color: #fff; }
.cu-btn.bg-purple { background: linear-gradient(135deg, #6a4cff, #8b74ff); color: #fff; }
.cu-btn.bg-brown { background: linear-gradient(135deg, #9a7b5f, #b09070); color: #fff; }
.cu-btn.bg-red { background: linear-gradient(135deg, #e54d42, #f0615a); color: #fff; }
.cu-btn.bg-grey { background: #eef1f6; color: var(--c-text-2); }
.cu-btn.bg-white { background: #fff; color: var(--c-text-2); box-shadow: inset 0 0 0 1px var(--c-border); }
.cu-btn.bg-white:hover { color: var(--c-primary); box-shadow: inset 0 0 0 1px rgba(0, 129, 255, .45); }
.cu-btn.outline-danger { background: #fff; color: var(--c-danger); box-shadow: inset 0 0 0 1px #f3c9c5; }
.cu-btn.outline-danger:hover { background: #feecea; box-shadow: inset 0 0 0 1px #eaa9a3; }
.cu-btn.outline-primary { background: #fff; color: var(--c-primary); box-shadow: inset 0 0 0 1px #bcdcff; }
.cu-btn.outline-primary:hover { background: var(--c-primary-soft); }

/* ================= 表单与输入框（统一） ================= */
.cu-form-group {
  display: flex; align-items: center; gap: 12px; min-height: auto;
  padding: 0; margin-bottom: 12px; border: 0; background: transparent;
}
.cu-form-group .title {
  flex: 0 0 auto; width: 86px; padding: 0; font-size: 14px; color: var(--c-text-2); text-align: left;
}
.cu-form-group input:not([type=checkbox]):not([type=radio]):not([type=file]),
.cu-form-group select,
.cu-form-group textarea,
.field input, .field select, .field textarea,
.filter-bar input[type=text], .filter-bar input[type=date], .filter-bar select, .filter-bar input[type=number] {
  flex: 1 1 auto; width: 100%; height: 42px; padding: 0 13px;
  border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff;
  color: var(--c-text); font-size: 14px; outline: none; box-shadow: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s;
  -webkit-appearance: none; appearance: none;
}
.cu-form-group textarea, .field textarea {
  height: auto; min-height: 84px; padding: 11px 13px; line-height: 1.6; resize: vertical;
}
.cu-form-group select, .field select, .filter-bar select {
  background-image: linear-gradient(45deg, transparent 50%, #93a0b3 50%), linear-gradient(135deg, #93a0b3 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px;
}
.cu-form-group input:focus, .cu-form-group select:focus, .cu-form-group textarea:focus,
.field input:focus, .field select:focus, .field textarea:focus,
.filter-bar input:focus, .filter-bar select:focus {
  border-color: var(--c-primary); box-shadow: var(--ring); background: #fff;
}
.cu-form-group input::placeholder, .cu-form-group textarea::placeholder, .field input::placeholder, .field textarea::placeholder { color: #b3bdcd; }
.cu-form-group input[readonly] { background: #f7f9fc; color: var(--c-text-3); }
.cu-form-group input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--c-primary); }

/* 带图标输入框（登录等） */
.ipt {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px;
  border: 1px solid var(--c-border); border-radius: 12px; background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.ipt:focus-within { border-color: var(--c-primary); box-shadow: var(--ring); }
.ipt .ipt-icon { font-size: 17px; color: var(--c-text-3); flex: 0 0 auto; }
.ipt input { flex: 1 1 auto; border: 0 !important; outline: none; box-shadow: none !important; height: 100%; padding: 0; font-size: 15px; background: transparent; width: 100%; }
.ipt .ipt-eye { cursor: pointer; color: var(--c-text-3); font-size: 17px; flex: 0 0 auto; padding: 4px; }
.ipt .ipt-eye:hover { color: var(--c-primary); }

.field-label { font-size: 13px; color: var(--c-text-2); font-weight: 600; margin: 0 0 6px; display: block; }

/* 表单栅格 */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 22px; }
.form-actions { padding: 18px 0 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-tip { font-size: 12px; color: var(--c-text-2); background: #f6f8fc; border: 1px solid var(--c-border-2); border-radius: var(--radius); padding: 9px 13px; margin-bottom: 14px; line-height: 1.7; }
.form-section-title { font-size: 14px; font-weight: 700; color: var(--c-text); margin: 4px 0 14px; display: flex; align-items: center; gap: 8px; }
.form-section-title::before { content: ""; width: 4px; height: 15px; border-radius: 3px; background: linear-gradient(180deg, var(--c-primary), var(--c-primary-2)); }
.pos-pick { display: flex; flex-wrap: wrap; gap: 8px 18px; width: 100%; max-height: 170px; overflow: auto; padding: 4px 0; }
.pos-pick-item { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--c-text); cursor: pointer; }
.pos-pick-item input { accent-color: var(--c-primary); }

/* 过滤条 */
.filter-bar {
  background: #fff; border-radius: var(--radius-lg); padding: 12px 14px; margin-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; box-shadow: var(--shadow-sm);
}
.filter-bar input[type=text], .filter-bar input[type=date], .filter-bar select, .filter-bar input[type=number] {
  flex: 0 0 auto; width: auto; min-width: 132px; height: 38px;
}

/* ================= 表格 ================= */
.table-card .tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.tbl th {
  position: relative;
  background: #f8fafd; color: var(--c-text-2); font-weight: 600; padding: 12px 14px;
  text-align: left; white-space: nowrap; border-bottom: 1px solid var(--c-border-2); font-size: 13px;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--c-border-2); vertical-align: middle; color: var(--c-text); }
.tbl tbody tr { transition: background .12s var(--ease); }
.tbl tbody tr:hover td { background: #f8fbff; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .cell-main { font-weight: 600; color: var(--c-text); }
.tbl .cell-sub { font-size: 12.5px; color: var(--c-text-3); margin-top: 2px; }
.tbl-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tbl-actions form { display: inline-flex; }

/* 单行表格 + 列宽拖拽 */
.tbl-nowrap td, .tbl-nowrap th { white-space: nowrap; }
.tbl-nowrap td { overflow: hidden; text-overflow: ellipsis; }
.tbl-nowrap .tbl-actions { flex-wrap: nowrap; }
.tbl th .col-resizer {
  position: absolute; top: 0; right: 0; width: 8px; height: 100%;
  cursor: col-resize; z-index: 2; user-select: none;
}
.tbl th .col-resizer:hover, .tbl th .col-resizer:active { background: rgba(11,111,224,.16); }

/* ================= 状态标签 ================= */
.status-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.bg-blue.light { background: #e8f2ff; color: #0b6fe0; }
.bg-cyan.light { background: #e2f8fa; color: #0a8f99; }
.bg-green.light { background: #e8f8ec; color: #26923f; }
.bg-orange.light { background: #fff4e5; color: #c77700; }
.bg-purple.light { background: #efeaff; color: #6741e0; }
.bg-brown.light { background: #f6efe9; color: #8a6a4d; }
.bg-red.light { background: #feecea; color: #cf3b31; }
.bg-grey.light { background: #eef1f6; color: #6b7688; }
.bg-mauve.light { background: #f7e9f5; color: #9c3f8f; }

/* ================= 统计卡片 ================= */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 14px; }
.stat-card {
  background: #fff; border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card .stat-label { font-size: 13px; color: var(--c-text-2); }
.stat-card .stat-num { font-size: 27px; font-weight: 800; line-height: 1.1; letter-spacing: -.5px; }
.stat-card .stat-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; margin-bottom: 4px; box-shadow: 0 6px 14px rgba(16, 24, 40, .12);
}
.stat-icon.bg-blue { background: linear-gradient(135deg, #0b6fe0, #4a8cff); }
.stat-icon.bg-cyan { background: linear-gradient(135deg, #00a6b0, #22c8d4); }
.stat-icon.bg-green { background: linear-gradient(135deg, #2fa84f, #46c26a); }
.stat-icon.bg-orange { background: linear-gradient(135deg, #ff8f00, #ffab33); }
.stat-icon.bg-purple { background: linear-gradient(135deg, #6a4cff, #8b74ff); }
.stat-icon.bg-brown { background: linear-gradient(135deg, #96755a, #b09070); }
.stat-icon.bg-red { background: linear-gradient(135deg, #e54d42, #f0615a); }
.stat-icon.bg-mauve { background: linear-gradient(135deg, #9c3f8f, #bf5fae); }

/* ================= 柱状图 ================= */
.bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 180px; padding-top: 10px; overflow-x: auto; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 28px; }
.bar-col .bar { width: 13px; border-radius: 4px 4px 0 0; min-height: 2px; transition: height .3s var(--ease); }
.bar-col .bar-1 { background: linear-gradient(180deg, #4a8cff, #0081ff); }
.bar-col .bar-2 { background: linear-gradient(180deg, #5fd07a, #39b54a); }
.bar-col .bar-3 { background: linear-gradient(180deg, #ffc266, #ff9900); }
.bar-col .bar-label { font-size: 10px; color: var(--c-text-3); writing-mode: vertical-lr; transform: rotate(180deg); height: 36px; overflow: hidden; }

/* ================= 分页 ================= */
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding: 14px; flex-wrap: wrap; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 9px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--c-text-2); transition: all .15s var(--ease);
}
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-soft); }
.pager .current { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2)); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(0, 129, 255, .28); }
.pager .total { border: none; background: transparent; color: var(--c-text-3); }

/* ================= 抽屉（移动端菜单） ================= */
.drawer-mask { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); z-index: 200; display: none; }
.drawer-mask.show { display: block; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 76%; max-width: 290px; background: #fff; z-index: 210;
  transform: translateX(-100%); transition: transform .26s var(--ease); overflow-y: auto;
}
.drawer.show { transform: translateX(0); box-shadow: var(--shadow-lg); }
.drawer .drawer-head { padding: 22px 18px 16px; background: linear-gradient(135deg, #0b6fe0, #4a8cff); color: #fff; }
.drawer .drawer-head .uname { font-size: 17px; font-weight: 700; }
.drawer .nav-item { display: flex; align-items: center; gap: 10px; padding: 13px 18px; color: var(--c-text-2); font-size: 14px; border-bottom: 1px solid #f6f8fb; }
.drawer .nav-item.active { color: var(--c-primary); font-weight: 600; background: var(--c-primary-soft); }

/* ================= 权限勾选 ================= */
.perm-group { margin-bottom: 18px; }
.perm-group .perm-group-title { font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.perm-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.perm-checks label {
  display: flex; align-items: center; gap: 7px; background: #f7f9fc; border: 1px solid var(--c-border-2);
  border-radius: var(--radius); padding: 8px 14px; font-size: 13px; cursor: pointer;
  transition: all .15s var(--ease);
}
.perm-checks label:hover { border-color: rgba(0, 129, 255, .4); background: #fff; }
.perm-checks label:has(input:checked) { background: var(--c-primary-soft); border-color: rgba(0, 129, 255, .45); color: #0b6fe0; font-weight: 600; }
.perm-checks input { width: 16px; height: 16px; accent-color: var(--c-primary); }
.perm-checks code { font-size: 11px; color: #a9b3c4; font-weight: 400; }

/* ================= 二维码弹层 ================= */
.qr-mask { position: fixed; inset: 0; background: rgba(16, 24, 40, .55); z-index: 300; display: none; align-items: center; justify-content: center; }
.qr-mask.show { display: flex; }
.qr-box {
  background: #fff; border-radius: var(--radius-lg); padding: 22px; text-align: center; max-width: 92vw;
  box-shadow: var(--shadow-lg); animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.qr-box .qr-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.qr-box #qr-canvas { display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--c-border-2); border-radius: var(--radius); }
.qr-box .qr-url { font-size: 12px; color: var(--c-text-3); word-break: break-all; margin: 12px auto 14px; max-width: 260px; line-height: 1.6; }

/* 海报预览：双约束等比缩放，一屏内完整显示 */
.poster-preview {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--c-border-2);
  border-radius: 12px;
  background: #fff;
}

/* ================= 登录页 ================= */
.login-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  background: #0b1a33;
}
.login-brand {
  position: relative; overflow: hidden; padding: 56px 60px; color: #fff;
  background: linear-gradient(140deg, #062a5e 0%, #0b6fe0 55%, #4a8cff 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.login-brand::before,
.login-brand::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .18;
  background: radial-gradient(circle at 30% 30%, #fff, transparent 62%);
}
.login-brand::before { width: 460px; height: 460px; right: -140px; top: -120px; }
.login-brand::after { width: 320px; height: 320px; left: -100px; bottom: -110px; opacity: .12; }
.login-brand .lb-logo {
  width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 26px;
  backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.login-brand .lb-title { font-size: 34px; font-weight: 800; letter-spacing: 1px; line-height: 1.25; }
.login-brand .lb-sub { font-size: 15px; opacity: .82; margin-top: 14px; line-height: 1.9; max-width: 420px; }
.login-brand .lb-features { margin-top: 40px; display: grid; gap: 14px; position: relative; z-index: 2; }
.login-brand .lb-feature { display: flex; align-items: center; gap: 12px; font-size: 14.5px; opacity: .95; }
.login-brand .lb-feature .ico {
  width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto;
}
.login-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #f4f6fa; }
.login-card {
  width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 38px 34px 30px;
  box-shadow: var(--shadow-lg);
}
.login-card .lc-title { font-size: 23px; font-weight: 800; letter-spacing: .5px; }
.login-card .lc-sub { color: var(--c-text-3); font-size: 13.5px; margin: 8px 0 26px; }
.login-card .ipt { margin-bottom: 14px; }
.login-card .btn-login { margin-top: 6px; letter-spacing: 4px; }
.login-card .lc-foot { text-align: center; color: var(--c-text-3); font-size: 12px; margin-top: 22px; line-height: 1.8; }
.login-card .lc-foot b { color: var(--c-text-2); font-weight: 600; }
.err-msg {
  background: #feecea; color: #cf3b31; font-size: 13px; border-radius: var(--radius);
  padding: 10px 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

/* ================= 公开扫码报名页 ================= */
.pub-body { background: linear-gradient(180deg, #0b6fe0 0, #4a8cff 30%, var(--c-bg) 30%); min-height: 100vh; padding: 20px 14px 34px; }
.pub-hero { text-align: center; color: #fff; padding: 8px 0 20px; }
.pub-hero .pos-name { font-size: 23px; font-weight: 800; letter-spacing: .5px; }
.pub-hero .pos-sub { font-size: 13.5px; opacity: .88; margin-top: 8px; }
.pub-card { background: #fff; border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-md); }
.pub-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-meta { font-size: 13px; color: var(--c-text-2); margin-top: 13px; white-space: pre-wrap; line-height: 1.8; }
.pub-foot { text-align: center; color: #fff; font-size: 12px; margin-top: 16px; opacity: .78; }

/* ================= 成功页 ================= */
.done-card {
  width: 100%; max-width: 372px; background: #fff; border-radius: 20px; padding: 40px 28px 28px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.done-icon {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, #2fa84f, #4cd964); color: #fff; font-size: 40px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(57, 181, 74, .35);
}
.done-title { font-size: 21px; font-weight: 800; margin-top: 18px; }
.done-sub { color: var(--c-text-2); font-size: 14px; margin-top: 10px; line-height: 1.8; }
.done-info { background: #f7f9fc; border-radius: var(--radius); padding: 14px 16px; margin: 20px 0; font-size: 13px; color: var(--c-text-2); text-align: left; }
.done-info div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.done-info b { color: var(--c-text); }

/* ================= 错误页 ================= */
.center-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.pub-center { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #0b6fe0 0, #4a8cff 34%, var(--c-bg) 34%); }
.err-card {
  background: #fff; border-radius: 18px; padding: 44px 52px; text-align: center; max-width: 440px; margin: 20px;
  box-shadow: var(--shadow-md);
}
.err-code { font-size: 46px; font-weight: 800; color: var(--c-danger); letter-spacing: 1px; }
.err-msg-text { font-size: 15px; color: var(--c-text-2); margin: 14px 0 24px; line-height: 1.8; }

/* ================= 提示条 ================= */
.flash-toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
  background: rgba(16, 24, 40, .88); color: #fff; padding: 11px 22px; border-radius: 12px;
  font-size: 14px; z-index: 500; display: none; box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
.flash-toast.show { display: block; animation: fadeInUp .26s var(--ease); }
@keyframes fadeInUp { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ================= 响应式 ================= */
@media (max-width: 1023px) {
  .app-sidebar { display: none; }
  .app-main { margin-left: 0; padding: 12px; padding-bottom: 40px; }
  .app-topbar .hamburger { display: block; }
  .topbar-user { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .table-card .tbl { min-width: 660px; }
  .bar-chart { height: 145px; }
  .page-title { font-size: 17px; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel { padding: 28px 18px; min-height: 100vh; }
  .login-card { padding: 30px 24px 24px; border-radius: 18px; }
  .filter-bar { padding: 12px; }
  .filter-bar input[type=text], .filter-bar input[type=date], .filter-bar select { flex: 1 1 44%; min-width: 0; }
  .drawer { width: 80%; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 13px; }
  .stat-card .stat-num { font-size: 23px; }
  .cu-form-group { align-items: flex-start; flex-direction: column; gap: 6px; }
  .cu-form-group .title { width: auto; font-size: 13px; }
  .app-main { padding: 10px; }
}
@media (min-width: 1024px) {
  .login-brand { display: flex; }
}