/* ============================================================
   招聘审核模块
   ============================================================ */

[hidden] { display: none !important; }

/* ---------------- 登录 ---------------- */
.login-view {
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  padding: 44px 20px 64px;
  background:
    radial-gradient(900px 520px at 82% -12%, #2a5482 0%, transparent 62%),
    linear-gradient(160deg, #122c47 0%, #18395c 58%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
}
.login-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(640px 420px at 50% 28%, #000 10%, transparent 74%);
  mask-image: radial-gradient(640px 420px at 50% 28%, #000 10%, transparent 74%);
  pointer-events: none;
}
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 32px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.login-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e7c55a, #c9a227);
  color: #14304d;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.login-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fbf3dc;
  border: 1px solid #f0e2b6;
  color: #9a7410;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}
.login-card h1 { margin: 0 0 6px; font-size: 25px; color: var(--navy); letter-spacing: .5px; }
.login-sub { margin: 0 0 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.login-back { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.login-back:hover { color: var(--navy); }

.role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: #f1f4f8;
  border-radius: 11px;
  margin-bottom: 18px;
}
.role-tab {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: .18s;
}
.role-tab.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(16, 24, 40, .1); }

.login-form { display: flex; flex-direction: column; gap: 13px; }
.setup-hint {
  background: #fbf3dc;
  border: 1px solid #f0e2b6;
  color: #8a6710;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12.5px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea,
.search-input, .panel-toolbar select, .user-create input, .password-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus,
.search-input:focus, .panel-toolbar select:focus, .user-create input:focus, .password-form input:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(46, 90, 138, .12);
  background: #fff;
}
.field textarea { resize: vertical; line-height: 1.7; font-family: inherit; }

.btn-primary, .btn-ghost, .icon-btn {
  border-radius: 9px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  transition: .18s;
  white-space: nowrap;
}
.btn-primary {
  border: 0;
  background: linear-gradient(135deg, #2e5a8a, #1a3a5c);
  color: #fff;
  padding: 10px 18px;
  box-shadow: 0 8px 20px rgba(26, 58, 92, .22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(26, 58, 92, .3); }
.btn-primary:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 9px 14px;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn {
  border: 0;
  background: transparent;
  color: #98a1ad;
  font-size: 26px;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.icon-btn:hover { color: var(--navy); background: #f1f4f8; }
.btn-link { color: var(--navy-2); font-size: 13px; font-weight: 600; align-self: center; }

.form-error { min-height: 18px; color: #c0392b; font-size: 12.5px; }
.form-ok { min-height: 18px; color: #2d7d46; font-size: 12.5px; }

/* ---------------- 工作台 ---------------- */
.app-view { max-width: 1400px; margin: 0 auto; padding: 26px 24px 64px; }

.recruit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.recruit-kicker { font-size: 11px; letter-spacing: 2.2px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.recruit-head h1 { margin: 0; font-size: 28px; color: var(--navy); letter-spacing: .5px; }
.recruit-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.user-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; box-shadow: var(--shadow); }
.user-avatar { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.user-meta { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.user-meta b { font-size: 13.5px; color: var(--ink); }
.user-meta span { font-size: 11.5px; color: var(--muted); }

.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--navy);
}
.stat-card b { display: block; font-size: 25px; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-card span { font-size: 12px; color: var(--muted); }
.stat-card.gold { border-top-color: var(--gold); }
.stat-card.gold b { color: #a67c12; }
.stat-card.green { border-top-color: var(--success, #2d7d46); }
.stat-card.green b { color: #2d7d46; }
.stat-card.red { border-top-color: #c0392b; }
.stat-card.red b { color: #b23b3b; }

.recruit-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.recruit-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
}
.recruit-tabs button:hover { color: var(--ink); border-color: var(--line-strong); }
.recruit-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.panel-title { margin: 4px 0 14px; }
.panel-title h2 { margin: 0 0 4px; font-size: 18px; color: var(--navy); }
.panel-title p { margin: 0; color: var(--muted); font-size: 12.5px; }
.panel-title.sub { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }

.panel-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.panel-toolbar .search-input { flex: 1 1 230px; min-width: 180px; }
.panel-toolbar select { width: auto; min-width: 130px; padding: 9px 30px 9px 10px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }

.import-panel { border: 1px dashed #c8d3e1; border-radius: 13px; padding: 14px; margin-bottom: 14px; background: #f9fbfd; }
.import-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--navy); font-size: 14px; }
.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 14px;
  border: 1px dashed #b9c7d8;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .18s, background .18s;
}
.drop-zone:hover, .drop-zone.dragging { border-color: var(--navy-2); background: #f4f8fd; }
.drop-icon { font-size: 24px; color: var(--navy-2); line-height: 1; }
.drop-title { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.drop-sub { font-size: 11.5px; color: var(--muted); }
.import-summary { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
.import-summary b { color: var(--ink); }
.import-summary .warn { color: #b4761a; }
.import-actions { margin-top: 8px; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 68vh; }
.recruit-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
.recruit-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f5fa;
  color: var(--navy);
  text-align: left;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.recruit-table td { padding: 10px 12px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.recruit-table tr:last-child td { border-bottom: 0; }
.recruit-table tbody tr:hover { background: #f8fafc; }
.recruit-table .name-cell { font-weight: 700; color: var(--ink); }
.recruit-table .sub-cell { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.recruit-table .col-action { width: 86px; text-align: right; }
.recruit-table td.col-action { text-align: right; }
.row-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.row-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.pending { background: #f1f3f6; color: #6b7280; }
.badge.passed { background: #e9f5ef; color: #2d7d46; }
.badge.rejected { background: #fdecec; color: #b23b3b; }
.badge.wait { background: #fbf3dc; color: #9a7410; }

.empty { text-align: center; color: var(--muted); padding: 40px 10px; font-size: 13px; }

/* ---------------- 账号管理 ---------------- */
.user-create { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.user-create input { flex: 1 1 180px; width: auto; }
.user-create .btn-primary { flex: 0 0 auto; }
.password-form { display: flex; gap: 8px; flex-wrap: wrap; }
.password-form input { flex: 1 1 180px; width: auto; }

/* ---------------- 设置 ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.field.full { margin-top: 12px; }
.field.full textarea { font-size: 13.5px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.placeholder-help { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.placeholder-help span { font-size: 11.5px; color: var(--muted); }
.placeholder-help button {
  border: 1px solid var(--line);
  background: #f5f7fa;
  color: var(--navy-2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  cursor: pointer;
}
.placeholder-help button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------- 弹窗 / 详情 ---------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 20, 32, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.modal {
  width: 100%;
  max-width: 1060px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  margin: 18px auto 40px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 21px; color: var(--navy); }
.modal-sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.modal-body { padding: 18px 20px 24px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 18px; }
.detail-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.info-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.info-card h3 { margin: 0 0 10px; font-size: 14px; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.info-card h3::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.info-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.info-card dl div { min-width: 0; }
.info-card dt { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.info-card dd { margin: 0; font-size: 13.5px; color: var(--ink); word-break: break-word; line-height: 1.5; }
.honor-text { font-size: 13px; color: #4b5563; line-height: 1.75; white-space: pre-wrap; max-height: 180px; overflow-y: auto; }

.review-side { display: flex; flex-direction: column; gap: 14px; }
.review-card { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: #fff; }
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.review-card-head h3 { margin: 0; font-size: 15px; color: var(--navy); }
.review-state { font-size: 11.5px; color: var(--muted); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 9px; }
.segmented button {
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
}
.segmented button:hover { border-color: var(--line-strong); color: var(--ink); }
.segmented button.active[data-value="passed"] { background: #e9f5ef; border-color: #b9dfca; color: #2d7d46; }
.segmented button.active[data-value="rejected"] { background: #fdecec; border-color: #f2c4c4; color: #b23b3b; }
.review-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  background: #fbfcfe;
  outline: none;
  margin-bottom: 9px;
}
.review-card textarea:focus { border-color: var(--navy-2); background: #fff; }
.review-card .btn-primary { width: 100%; padding: 8px 12px; font-size: 13px; }
.review-meta { margin-top: 7px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.review-lock { display: none; margin-top: 7px; font-size: 11.5px; color: #b4761a; }
.review-card.locked .segmented, .review-card.locked textarea, .review-card.locked .btn-primary { opacity: .5; pointer-events: none; }
.review-card.locked .review-lock { display: block; }
.print-card { border: 1px solid #e9d9a8; background: #fffdf5; border-radius: 13px; padding: 14px; }
.print-card-title { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.print-card p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.print-card .btn-primary { width: 100%; }

/* ---------------- 打印预览 ---------------- */
.print-modal { max-width: 860px; }
.print-preview-wrap { background: #e9edf3; padding: 22px; overflow: auto; max-height: 66vh; display: flex; justify-content: center; }
.print-paper {
  background: #fff;
  width: min(100%, 720px);
  min-height: 420px;
  padding: 38px 42px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, .18);
  white-space: pre-wrap;
  font-family: "Songti SC", "SimSun", "Microsoft YaHei", serif;
  font-size: 14px;
  line-height: 2;
  color: #111;
  box-sizing: border-box;
}
.modal-foot #doPrint { min-width: 110px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transition: .22s;
  z-index: 2000;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #b23b3b; }


/* 手机端候选名单转卡片，避免横向滚动 */
@media (max-width: 760px) {
  #candidateTableWrap { max-height: none; overflow: visible; border: 0; }
  .candidate-table { min-width: 0; }
  .candidate-table thead { display: none; }
  .candidate-table, .candidate-table tbody, .candidate-table tr, .candidate-table td { display: block; width: 100%; }
  .candidate-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  }
  .candidate-table td {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 0;
    padding: 4px 0;
    font-size: 13px;
  }
  .candidate-table td::before {
    content: attr(data-label);
    flex: 0 0 76px;
    width: 76px;
    color: var(--muted);
    font-size: 11.5px;
    padding-top: 2px;
  }
  .candidate-table td.col-action { padding-top: 8px; }
  .candidate-table td.col-action::before { content: ""; flex: 0 0 0; width: 0; }
  .candidate-table .row-btn { width: 100%; height: 36px; }
  .candidate-table .sub-cell { color: var(--muted); }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .login-view { padding: 28px 16px 48px; min-height: calc(100vh - 88px); }
  .login-card { padding: 26px 22px 22px; }
  .app-view { padding: 18px 14px 48px; }
  .recruit-head h1 { font-size: 23px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .stat-card { padding: 11px 12px; }
  .stat-card b { font-size: 21px; }
  .panel { padding: 12px; }
  .panel-toolbar .search-input { flex: 1 1 100%; }
  .panel-toolbar select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .panel-toolbar .btn-primary, .panel-toolbar .btn-ghost { flex: 1 1 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .info-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-box { width: 100%; justify-content: flex-start; }
  .user-box .btn-ghost { margin-left: auto; }
  .modal-overlay { padding: 8px; }
  .modal { margin: 8px auto; max-height: calc(100vh - 16px); border-radius: 14px; }
  .modal-head { padding: 14px 14px 10px; }
  .modal-body { padding: 12px 14px 18px; }
  .modal-head h2 { font-size: 18px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .role-tabs { margin-bottom: 14px; }
  .info-card dl { grid-template-columns: 1fr 1fr; }
  .print-paper { padding: 22px 20px; font-size: 13px; }
}

/* ===== 审核记录 / 日志 ===== */
.review-history {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-top: 14px;
}
.review-history-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.review-timeline { display: flex; flex-direction: column; gap: 8px; }
.log-item { border-left: 3px solid #dbe4ee; padding: 2px 0 2px 10px; }
.log-item-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink); }
.log-item-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.log-item-remark { font-size: 12px; color: #4d5a68; margin-top: 3px; line-height: 1.5; }
.log-remark { max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 分页 ===== */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 2px 0; color: var(--muted); font-size: 12px; }
.pager-info b { color: var(--navy); }
.pager-controls { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pager-controls #pageInfo { min-width: 52px; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.pager-controls select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; background: #fff; color: var(--ink); font-size: 12px; }
.btn-sm { padding: 5px 10px !important; font-size: 12px !important; }

/* ===== 批量打印选择 ===== */
.recruit-table .col-check { width: 34px; text-align: center; }
.recruit-table .col-check input { width: 15px; height: 15px; accent-color: var(--navy); cursor: pointer; }
.candidate-table tr { position: relative; }
@media (max-width: 760px) {
  .candidate-table td.col-check { position: absolute; top: 12px; right: 12px; width: 22px; padding: 0; z-index: 2; }
  .candidate-table td.col-check::before { content: ""; width: 0; flex: 0 0 0; }
  .candidate-table td.col-check input { width: 18px; height: 18px; }
}

@media (max-width: 760px) {
  .print-preview-wrap { padding: 8px; max-height: none; }
  .print-paper { width: 100%; padding: 22px 18px; font-size: 12.5px; min-height: 320px; }
  .print-modal .modal-foot { flex-wrap: wrap; }
}

/* ===== 打印版式 ===== */
.print-title { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 0 0 14px; color: #000; }
.print-body { white-space: pre-wrap; word-break: break-word; font-family: inherit; margin: 0; }

/* ===== 管理员删除 ===== */
.btn-danger {
  border: 1px solid #e3b5b5;
  background: #fff;
  color: #b23b3b;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-danger:hover { background: #b23b3b; border-color: #b23b3b; color: #fff; }
.btn-danger:disabled { opacity: .6; cursor: default; }
