/* ========= 工厂智慧招聘 · 样式 ========= */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  --brand: #2e75b6;
  --brand-dark: #1f5c94;
  --brand-light: #e9f2fb;
  --ok: #16a34a;
  --err: #dc2626;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f3f5f9;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6;
}
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; }

/* ---------- 移动端容器 ---------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: #fff; }
.hero {
  background: linear-gradient(135deg, #2e75b6 0%, #1f5c94 100%);
  color: #fff; padding: 26px 20px 30px; border-radius: 0 0 22px 22px;
}
.hero h1 { font-size: 20px; letter-spacing: 1px; }
.hero .sub { opacity: .92; font-size: 13px; margin-top: 8px; }
.hero .sub2 { opacity: .85; font-size: 13px; margin-top: 4px; }
.hero .direct { display: inline-block; margin-top: 12px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 3px 14px; font-size: 13px; }

/* 岗位剩余名额 */
.remain { display: inline-block; background: #fff4e5; color: #c2660a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.position.closed { opacity: .55; }
.position.closed h3, .position.closed .remain { color: #9ca3af; }
.position .jd { white-space: pre-wrap; font-size: 14px; background: #fafbfc; border-radius: 10px; padding: 10px 12px; margin-top: 8px; }

/* 底部醒目 CTA */
.cta-note { text-align: center; font-size: 16px; font-weight: 700; color: var(--brand-dark); margin: 18px 0 10px; }
.cta-note em { color: #c2410c; font-style: normal; }

/* 放行二维码 */
.pass-qr { text-align: center; padding: 20px 12px; }
.pass-qr .ok-icon { font-size: 44px; }
.pass-qr .qr-holder { display: inline-block; background: #16a34a; padding: 14px; border-radius: 16px; margin: 12px 0; }
.pass-qr .pass-text { font-size: 15px; font-weight: 700; color: #16a34a; }
.pass-qr .pass-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* FAQ 对比表 */
.faq-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
.faq-table th, .faq-table td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.faq-table th { background: var(--brand-light); color: var(--brand-dark); }

/* 通知书 */
.offer-doc .doc-line { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 8px 0; font-size: 14px; }
.offer-doc .doc-line b { color: var(--brand-dark); }
.notice-status { display: inline-block; background: var(--brand-light); color: var(--brand-dark); border-radius: 999px; padding: 3px 14px; font-size: 13px; font-weight: 700; }

/* A4 打印 */
@media print {
  @page { size: A4; margin: 18mm; }
  body { background: #fff; }
  .print-sheet { font-family: "SimSun", serif; color: #000; }
  .print-sheet h1 { text-align: center; font-size: 22px; margin-bottom: 6px; }
  .print-sheet .sub { text-align: center; font-size: 14px; margin-bottom: 14px; }
  .print-sheet .body { font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
  .print-sheet .sigline { display: flex; justify-content: space-between; margin-top: 30px; font-size: 14px; }
  .print-sheet img.sig { height: 90px; }
  .no-print { display: none !important; }
}
.container { padding: 16px 16px 40px; }

/* 卡片 */
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.tag { display: inline-block; background: var(--brand-light); color: var(--brand); border-radius: 999px; padding: 2px 10px; font-size: 12px; margin-right: 6px; margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 13px; }
.pre { white-space: pre-wrap; font-size: 14px; }
.imgfull { width: 100%; border-radius: 10px; display: block; margin: 8px 0; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 10px; padding: 11px 18px; font-size: 15px; background: var(--brand); color: #fff; transition: opacity .15s; }
.btn:active { opacity: .8; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-ok { background: var(--ok); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-danger { background: #fff; color: var(--err); border: 1px solid var(--err); }
.btn-call { background: #f59e0b; }

/* 步骤入口网格 */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 4px; text-align: left; font-size: 15px; font-weight: 600; color: var(--text);
}
.step .no { font-size: 12px; color: var(--brand); font-weight: 700; }
.step .desc { font-size: 12px; color: var(--muted); font-weight: 400; }

/* 表单 */
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.form-item input, .form-item textarea, .form-item select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafbfc; outline: none;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus { border-color: var(--brand); background: #fff; }
.form-item textarea { min-height: 90px; resize: vertical; }

/* 顶栏（二级页） */
.topbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 5; }
.topbar .back { border: none; background: none; font-size: 20px; color: var(--brand); padding: 2px 8px; }
.topbar .title { font-weight: 700; font-size: 16px; }

/* 签名板 */
.sign-pad-wrap { background: #fafbfc; border: 1px dashed var(--line); border-radius: 12px; padding: 8px; }
canvas#signPad { width: 100%; height: 180px; touch-action: none; display: block; background: #fff; border-radius: 8px; }

/* 聊天 */
.chat-box { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 12px; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #f1f5f9; border-bottom-left-radius: 4px; }
.chat-input { display: flex; gap: 8px; position: sticky; bottom: 0; background: #fff; padding: 10px 0; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; outline: none; }

/* FAQ 手风琴 */
.faq-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-item .q { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-item .a { display: none; margin-top: 8px; color: var(--muted); font-size: 14px; }
.faq-item.open .a { display: block; }

/* 录用通知单 */
.offer-doc { border: 2px solid var(--brand); border-radius: 14px; padding: 22px 18px; background: #fff; position: relative; }
.offer-doc::before { content: '录用通知'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 3px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 4px; }
.offer-doc .stamp { text-align: right; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* 步骤指示 */
.flow-nav { display: flex; justify-content: space-between; align-items: center; margin: 14px 0; font-size: 13px; }
.flow-nav .dots { flex: 1; height: 1px; background: var(--line); margin: 0 8px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(20px); background: rgba(23,32,48,.92); color: #fff; padding: 10px 22px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 99; max-width: 86vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-err { background: rgba(200,30,30,.94); }

/* ---------- 管理后台 ---------- */
body.admin { background: #eef1f6; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 20px 16px 60px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.admin-head h1 { font-size: 20px; color: var(--brand-dark); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--text); }
.tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ===== 后台二级标签（车间岗位管理 / 设置） ===== */
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.subtabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--text); }
.subtabs button.active { background: #eaf2fb; border-color: var(--brand); color: var(--brand); font-weight: 700; }
.panel { display: none; }
.panel.active { display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--line); }
.stat .num { font-size: 26px; font-weight: 700; color: var(--brand-dark); }
.stat .lbl { font-size: 13px; color: var(--muted); }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-size: 14px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { background: #f8fafc; font-weight: 600; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tbl input[type="date"], .tbl select, .tbl input[type="text"] { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; }
.tbl-wrap { overflow-x: auto; }
.sign-card { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 12px 12px 0; width: 240px; vertical-align: top; }
.sign-card img { width: 100%; border: 1px dashed var(--line); border-radius: 8px; background: #fff; }
.editor-item { margin-bottom: 12px; }
.editor-item label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.editor-item input, .editor-item textarea, .editor-item select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.editor-item textarea { min-height: 70px; }
.editor-item input[type="checkbox"] { width: auto; padding: 0; margin: 0; flex: 0 0 auto; }

/* ⑧ 首页展示内容：卡片式勾选项 */
.hs-opts { display: flex; flex-direction: column; gap: 8px; }
.hs-opt { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; color: #1f2937 !important; margin: 0 !important; background: #f8fafc; border: 1px solid #e3edf7; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.hs-opt input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }
.hs-opt b { display: block; font-size: 14px; color: #1f2937; }
.hs-opt em { display: block; font-style: normal; font-size: 12px; color: #8a97a8; margin-top: 2px; }
.hs-opt:active { background: #eef5fc; }

/* 岗位块状标签（参观页等处使用） */
.pos-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pos-chip { padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); font-size: 13.5px; font-weight: 600; line-height: 1.3; transition: all .15s; }
.pos-chip.active { background: linear-gradient(135deg, #2e75b6, #5b9bd5); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(46,117,182,.28); }

/* 首页岗位卡片：更清晰的层级与排版 */
.position .pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.position .pc-head h3 { margin: 0; font-size: 17px; color: var(--brand-dark); }
.position .pc-pay { flex: 0 0 auto; display: inline-block; background: #fff4e5; color: #c2660a; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.position .pc-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.position .pc-meta .remain { padding: 3px 12px; }
.position .pc-home { margin-top: 8px; font-size: 13px; line-height: 1.6; padding: 7px 10px 0; background: #f7fbff; white-space: normal; word-break: break-all; display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; line-clamp: 2; overflow: hidden !important; }
.position .pc-sec { margin-top: 10px; border: 1px solid #e3edf7; border-radius: 10px; overflow: hidden; }
.position .pc-sec-h { background: #eaf2fb; color: var(--brand-dark); font-size: 12.5px; font-weight: 700; padding: 6px 12px; }
.position .pc-sec-b { white-space: pre-wrap; font-size: 13.5px; line-height: 1.75; color: #2b3646; padding: 10px 12px; background: #fbfdff; }
.position.closed { opacity: .55; }
.position.closed h3, .position.closed .remain { color: #9ca3af; }
.position.closed .pc-sec-h { background: #f1f3f6; color: #9ca3af; }
.position.closed .pc-sec-b { background: #fafbfc; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.admin-card h3 { margin-bottom: 12px; font-size: 16px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.login-box { max-width: 360px; margin: 12vh auto; }
.login-box .card { padding: 28px; }
.login-box h2 { text-align: center; margin-bottom: 4px; }
.modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; }
.modal h3 { margin-bottom: 14px; }
.hidden { display: none !important; }
#qrBox { background: #fff; padding: 14px; border-radius: 12px; display: inline-block; border: 1px solid var(--line); }

@media (max-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  table.tbl { font-size: 13px; }
}

/* ===== 在线语音播放器 ===== */
.tts-player { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tts-btn { border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 13px; flex-shrink: 0; }
.tts-bar { flex: 1; height: 8px; background: #e3ecf7; border-radius: 4px; overflow: hidden; min-width: 60px; }
.tts-fill { height: 100%; background: var(--brand); border-radius: 4px; transition: width .3s linear; }
.tts-pct { font-size: 12px; color: #5a6c85; flex-shrink: 0; width: 34px; text-align: right; }

/* ===== 放行码醒目提示 ===== */
.pass-alert { margin-top: 14px; background: #fff3e0; border: 2px dashed #e8720c; color: #d9530d; font-size: 17px; font-weight: 700; padding: 12px 10px; border-radius: 10px; line-height: 1.5; }

/* ===== 扫码进入确认弹窗 ===== */
.gate-mask { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 18px; }
.gate-card { background: #fff; border-radius: 18px; padding: 26px 22px; width: 100%; max-width: 520px; max-height: 86vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(15,23,42,.25); }
.gate-card h3 { text-align: center; font-size: 19px; margin-bottom: 14px; color: #1f2937; }
.gate-icon { text-align: center; font-size: 40px; margin-bottom: 4px; }
.gate-q { background: #f0f6fd; border: 1px solid #d7e6f7; border-left: 4px solid var(--brand); border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.7; color: #1f2937; margin-bottom: 10px; }
.gate-note { text-align: center; font-size: 13px; color: #8a5b00; margin: 8px 0 12px; }

/* 保存二维码到相册（防止中途退出后无法再次扫码） */
.save-qr-tip { background: #fff8e8; border: 1px solid #f3d9a4; color: #8a5b00; font-size: 13px;
  line-height: 1.65; padding: 10px 12px; border-radius: 10px; margin-top: 14px; }
.qr-save-box { margin: 6px 0 2px; }
.qr-save-card .gate-note { text-align: left; font-size: 13.5px; line-height: 1.75; color: #475569; }
.qr-save-card .gate-note b { color: #b45309; }

/* 首页顶部：保存二维码红色提醒条（放在岗位列表上方，先提醒保存） */
.qr-banner { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px;
  background: linear-gradient(135deg, #e11d48, #b91c1c); color: #fff;
  border: 2px solid #fecdd3; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(190, 18, 60, .26); }
.qr-banner .qb-ico { font-size: 22px; line-height: 1; }
.qr-banner .qb-txt { flex: 1; min-width: 0; }
.qr-banner .qb-txt b { display: block; font-size: 16px; letter-spacing: .3px; }
.qr-banner .qb-txt span { display: block; font-size: 12px; line-height: 1.5; color: #ffe4e6; margin-top: 3px; }
.qr-banner .qb-btn { flex: 0 0 auto; background: #fff; color: #be123c; border: 0; font-weight: 800;
  font-size: 14px; padding: 9px 16px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); }
.qr-banner .qb-btn:active { transform: scale(.97); }

/* 签署页：应聘岗位自动带出后只显示岗位名称 */
.sp-show { background: #f1f7fd; border: 1px solid #cfe0f2; border-radius: 10px; padding: 10px 12px; }
.sp-show b { display: block; font-size: 16px; color: #0f4c81; }
.sp-show .sp-change { margin-top: 6px; background: none; border: 0; padding: 0; color: #6b7280;
  font-size: 12px; text-decoration: underline; }

/* ===== 岗位下方电话咨询横幅（品牌渐变，嵌入图条样式） ===== */
.tel-banner { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #2e75b6, #5b9bd5); border-radius: 14px; padding: 14px 18px; margin: 2px 0 16px; box-shadow: 0 4px 14px rgba(46,117,182,.28); }
.tel-banner .tel-ico { font-size: 30px; flex-shrink: 0; }
.tel-banner .tel-txt { font-size: 14px; line-height: 1.55; color: #eaf3fc; }
.tel-banner a { font-size: 21px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .5px; }
.tel-banner .tel-time { display: block; font-size: 12px; color: #d7e8fa; margin-top: 2px; }

/* ===== 通知书保存醒目提示 ===== */
.offer-save-btn { font-size: 17px; padding: 13px; }
.save-tip { background: #fff3e0; border: 2px solid #e8720c; color: #c0392b; font-size: 17px; font-weight: 700; text-align: center; line-height: 1.6; padding: 12px 10px; border-radius: 12px; }

/* ===== 入厂引导：主界面二选一大卡片（去人力资源部 / 去车间） ===== */
.guide-choice { display: flex; align-items: center; gap: 14px; width: 100%; border: 2px solid var(--brand); background: #fff; border-radius: 16px; padding: 18px 16px; margin-bottom: 12px; text-align: left; box-shadow: 0 3px 12px rgba(46,117,182,.10); transition: all .15s; }
.guide-choice:active { transform: scale(.985); }
.guide-choice .gc-ico { font-size: 30px; flex-shrink: 0; width: 44px; text-align: center; }
.guide-choice .gc-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.guide-choice .gc-txt b { font-size: 18px; }
.guide-choice .gc-txt span { font-size: 13px; color: #7a8b9e; }
.guide-choice .gc-arrow { font-size: 26px; color: #b9c8d8; flex-shrink: 0; }
.guide-choice-hr { border-color: #2e75b6; background: linear-gradient(135deg, #f4f9ff, #e8f2fd); }
.guide-choice-hr .gc-txt b { color: #1c5c96; }
.guide-choice-ws { border-color: #16a34a; background: linear-gradient(135deg, #f3fcf6, #e6f8ec); }
.guide-choice-ws .gc-txt b { color: #14713a; }
.guide-choice-ws .gc-arrow { color: #9ecfb0; }

/* ===== 车间引导：车间标签（数量随后台车间增减） ===== */
.ws-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ws-tab { flex: 1 1 30%; min-width: 96px; border: 2px solid var(--brand); background: #fff; color: var(--brand); border-radius: 12px; padding: 12px 4px; font-size: 15px; font-weight: 600; transition: all .15s; }
.ws-tab.active { background: linear-gradient(135deg, #2e75b6, #5b9bd5); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(46,117,182,.3); }
.ws-step-tag { display: inline-block; background: #eaf2fb; color: var(--brand); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }

/* ===== AI 语音问答：录音中脉冲 ===== */
#voiceMicBtn.recording { background: #d33; color: #fff; border-color: #d33; animation: rec-pulse 1.2s infinite; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* ===== 锻造车间（模锻）车间主任电话条 ===== */
.ws-director { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #c0392b, #e74c3c); border-radius: 14px; padding: 14px 16px; margin-top: 12px; box-shadow: 0 4px 14px rgba(192,57,43,.28); text-decoration: none; }
.ws-director .d-ico { font-size: 26px; flex-shrink: 0; }
.ws-director .d-txt { font-size: 14px; line-height: 1.55; color: #fdeaea; }
.ws-director b { font-size: 20px; color: #fff; letter-spacing: .5px; }
.ws-director.hidden { display: none; }

/* ===== 体检医院对比图表 ===== */
.vs-chart { border: 1.5px solid #d7e6f7; border-radius: 14px; overflow: hidden; margin: 10px 0 4px; background: #fff; }
.vs-head { display: flex; align-items: stretch; background: linear-gradient(135deg, #2e75b6, #5b9bd5); }
.vs-col-head { flex: 1; padding: 12px 8px; text-align: center; position: relative; color: #fff; font-size: 15px; line-height: 1.4; }
.vs-col-head.rec { background: rgba(255,255,255,.14); }
.vs-col-head b { font-size: 15px; }
.vs-badge { display: inline-block; background: #f0b429; color: #5b4200; font-size: 11px; font-weight: 700; border-radius: 8px; padding: 1px 8px; margin-bottom: 4px; }
.vs-mid { display: flex; align-items: center; padding: 0 10px; color: #cfe3f7; font-weight: 700; font-size: 14px; }
.vs-row { display: flex; border-top: 1px solid #e8f1fa; }
.vs-row:nth-child(odd) { background: #f7fbff; }
.vs-label { flex: 0 0 74px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); background: #eef5fc; padding: 10px 4px; text-align: center; }
.vs-val { flex: 1; padding: 10px 8px; font-size: 13.5px; line-height: 1.55; color: #1f2937; display: flex; align-items: center; }
.vs-val + .vs-val { border-left: 1px dashed #dbe7f3; }

/* ===== 宿舍导航 ===== */
.dorm-nav-btn { background: linear-gradient(135deg, #1e8e5a, #34a853); border: none; color: #fff; font-size: 16px; }
.dorm-mask { position: fixed; inset: 0; background: rgba(15,23,42,.62); z-index: 95; display: flex; align-items: center; justify-content: center; padding: 18px; }
.dorm-mask.hidden { display: none; }
.dorm-card { background: #fff; border-radius: 16px; padding: 16px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; }
.dorm-card h3 { text-align: center; margin-bottom: 10px; color: #1f2937; }
.dorm-card img { width: 100%; border-radius: 10px; border: 1px solid #e2e8f0; }

/* ===== 停招车间灰色标签 ===== */
.ws-tab.ws-disabled { background: #eef1f5; border-color: #d5dbe3; color: #9aa5b1; box-shadow: none; opacity: .75; }

/* ===== 宿舍引导：分步 + 宿管电话 ===== */
.dorm-card img { margin-bottom: 10px; }
.dorm-step-label { background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; border-radius: 8px 8px 0 0; padding: 4px 12px; margin: 4px 0 -4px; display: inline-block; }
.dorm-call-btn { margin-top: 6px; font-size: 15px; background: linear-gradient(135deg, #c0392b, #e74c3c); }

/* ===== 快捷问题按钮（语音问答区） ===== */
.quick-qs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.qq-chip { border: 1.5px solid var(--brand); background: var(--brand-light); color: var(--brand-dark); border-radius: 999px; padding: 8px 14px; font-size: 14px; line-height: 1.4; text-align: left; transition: all .15s; }
.qq-chip:active { background: var(--brand); color: #fff; }

/* ===== 拓普 LOGO ===== */
.hero-logo { background: #fff; border-radius: 10px; padding: 7px 12px; display: inline-block; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.hero-logo img { height: 24px; display: block; }
.doc-logo { height: 26px; display: block; margin: 0 0 10px; }
.offer-logo { display: block; height: 26px; margin: 0 0 10px; }

/* ===== 车间参观页：两个出口按钮醒目区分 ===== */
.tour-sep { text-align: center; font-size: 12px; color: var(--muted); margin: 24px 0 10px; letter-spacing: 2px; }
.tour-other-btn { background: #fff !important; color: #64748b !important; border: 2px solid #cbd5e1 !important; font-weight: 600; padding: 12px; }
.tour-other-btn:active { background: #f1f5f9 !important; }
.tour-done-btn { background: linear-gradient(135deg, #16a34a, #0f8a3d) !important; color: #fff !important; font-size: 18px !important; font-weight: 700 !important; padding: 18px !important; border-radius: 14px !important; margin-top: 14px; box-shadow: 0 6px 16px rgba(22,163,74,.3); }

/* ===== 首页工厂名两行：部门名另起一行 ===== */
.hero-dept { display: inline-block; font-size: 17px; font-weight: 700; letter-spacing: 1px; margin-top: 2px; }

/* ===== 车间标签：锻造车间（模锻）两行居中 ===== */
.ws-tabs { align-items: stretch; }
.ws-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; padding: 10px 6px; }
.ws-tab-sub { font-size: 12px; font-weight: 500; opacity: .9; margin-top: 1px; }

/* ===== 参观页：参观完毕在上，换车间在下 ===== */
.tour-sep2 { text-align: center; font-size: 12px; color: var(--muted); margin: 20px 0 8px; letter-spacing: 2px; }
.tour-done-btn { margin-top: 0 !important; }
.tour-other-btn { padding: 14px !important; font-size: 16px !important; }

/* ===== 车间参观页：三个并列选择按钮（颜色区分防选错） + AI问答小入口 ===== */
.tour-choice-row { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.tour-chip { flex: 1 1 0; min-width: 0; border: none; border-radius: 14px; padding: 12px 4px; font-size: 14px; font-weight: 700; line-height: 1.35; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(15,23,42,.12); }
.tour-chip:active { transform: scale(.96); }
.tour-chip .tc-ico { font-size: 22px; margin-bottom: 4px; }
.tour-chip.chip-ok { background: linear-gradient(160deg, #16a34a, #0f8a3d); box-shadow: 0 4px 12px rgba(22,163,74,.35); }
.tour-chip.chip-ws { background: linear-gradient(160deg, #2e75b6, #1f5a96); box-shadow: 0 4px 12px rgba(46,117,182,.35); }
.tour-chip.chip-no { background: linear-gradient(160deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(217,119,6,.3); }

/* ===== 常见问题 · AI问答全屏弹层（替代原独立咨询页） ===== */
.faqfull-mask { position: fixed; inset: 0; background: var(--bg, #eef3f9); z-index: 96; display: flex; flex-direction: column; }
.faqfull-mask.hidden { display: none; }
.faqfull-topbar { display: flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; padding: 12px 14px; flex-shrink: 0; }
.faqfull-topbar .back { background: rgba(255,255,255,.18); border: none; color: #fff; font-size: 22px; width: 34px; height: 34px; border-radius: 50%; line-height: 1; }
.faqfull-topbar .title { font-size: 16px; font-weight: 700; }
.faqfull-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px; }

/* ===== 后台：待报到按钮（橙色醒目） ===== */
.btn-warn { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: #fff !important; font-weight: 700 !important; border: none !important; box-shadow: 0 2px 6px rgba(217,119,6,.3); }
.btn-warn:active { background: #d97706 !important; }

/* ===== 求职者名单：紧凑单行显示，一目了然 ===== */
#applicantTbl { font-size: 12.5px; }
#applicantTbl th, #applicantTbl td { padding: 7px 8px; white-space: nowrap; }
#applicantTbl .btn-sm { padding: 4px 10px; font-size: 12px; }
#applicantTbl .row-btns { flex-wrap: nowrap; gap: 5px; }
#applicantTbl .muted { font-size: 11px; }
#applicantTbl .sign-yes { color: #16a34a; font-weight: 700; text-decoration: underline; }
#applicantTbl .sign-no { color: #9aa5b1; }
#applicantTbl .sign-only { display: inline-block; background: #fff4e5; color: #c2660a; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
#applicantTbl td.c-state { padding-left: 4px; padding-right: 4px; }

/* ===== 后台：车间引导（按车间分标签，步骤式照片） ===== */
.ws-admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ws-shop-tab { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.ws-shop-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.ws-shop-num { background: #eef2f7; color: var(--muted); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 700; }
.ws-shop-tab.active .ws-shop-num { background: rgba(255,255,255,.28); color: #fff; }
.ws-step-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.ws-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.ws-step-no { background: #eaf2fb; color: var(--brand); border-radius: 8px; padding: 3px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ws-step-move { margin-left: auto; display: flex; gap: 4px; }
.ws-step-move .btn-sm { padding: 3px 10px; font-size: 13px; }
.ws-step-card img { max-width: 240px; border-radius: 8px; display: block; margin: 4px 0; }
.ws-step-desc { font-size: 13px; margin: 4px 0 8px; }

/* ===== 车间参观页：AI问答入口（加大更醒目）+ 热门问题提示 ===== */
.tour-faq-link { display: block; width: 100%; color: var(--brand) !important; border: 2px dashed var(--brand) !important; background: #f0f7ff !important; font-size: 17px !important; font-weight: 700; padding: 15px 12px !important; border-radius: 12px; box-shadow: 0 3px 10px rgba(46,117,182,.12); }
.tour-faq-link:active { background: #e0efff !important; }
.tour-faq-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; justify-content: center; }
.tfh-label { font-size: 12px; color: var(--muted); }
.tfh-chip { border: 1px solid #bcd6f0; background: #fff; color: var(--brand); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.tfh-chip:active { background: #e8f2fc; }

/* ===== 录用通知书页：常见问题弹层 ===== */
.faq-open-btn { background: #fff; color: var(--brand); border: 2px solid var(--brand); font-size: 16px; font-weight: 600; }
.faq-mask { z-index: 94; align-items: flex-start; padding: 24px 16px; }
.faq-sheet { max-height: 90vh; }
.faq-sheet-list { max-height: none; }
.faq-sheet .faq-item:last-child { border-bottom: none; }
#dormMask { z-index: 97; }

/* ===== 帐号管理：权限网格与帐号卡片 ===== */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.perm-item { display: flex; align-items: center; gap: 8px; border: 1.5px solid #d7dee8; border-radius: 10px; padding: 10px 12px; cursor: pointer; font-weight: 500; font-size: 14px; background: #fff; transition: all .12s; user-select: none; }
.perm-item.on { border-color: var(--brand); background: #e8f1fb; color: var(--brand-dark); }
.perm-item input { width: 16px; height: 16px; accent-color: var(--brand); }
.acc-card { border: 1.5px solid #e3e9f2; border-radius: 12px; padding: 13px 15px; margin-bottom: 10px; background: #fff; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-perms { margin: 8px 0 4px; line-height: 1.9; }
.chip-perm { display: inline-block; background: #e8f1fb; color: var(--brand-dark); border-radius: 999px; padding: 3px 11px; font-size: 12px; margin: 2px 5px 2px 0; border: 1px solid #cfe0f2; }
.chip-perm.all { background: #e6f7ec; color: #15803d; border-color: #bbe7c9; font-weight: 600; }
.badge-admin, .badge-sub, .badge-built { display: inline-block; border-radius: 999px; font-size: 11px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; font-weight: 600; }
.badge-admin { background: #f59e0b; color: #fff; }
.badge-sub { background: #e2e8f0; color: #475569; }
.badge-built { background: #eef1f6; color: #94a3b8; }

/* ===== 一键自检结果 ===== */
.sc-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 4px; border-bottom: 1px dashed #e5eaf1; }
.sc-item:last-of-type { border-bottom: none; }
.sc-summary { margin-top: 10px; border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.sc-summary.ok { background: #e6f7ec; color: #15803d; border: 1.5px solid #bbe7c9; }
.sc-summary.bad { background: #fdecec; color: #c02626; border: 1.5px solid #f5c2c2; }

/* ===== 后台：岗位/车间归属与介绍分类 ===== */
.shop-chip { display: inline-block; background: #eaf2fb; color: var(--brand-dark); border: 1px solid #cfe0f2; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.shop-chip-none { background: #fdecec; color: #c02626; border-color: #f5c2c2; }
.mini-ok { display: inline-block; background: #e6f7ec; color: #15803d; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
.sec-block-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-block-head b { font-size: 15px; color: var(--brand-dark); }
.pos-intro-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.pi-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.pi-text { font-size: 13px; color: #475569; white-space: pre-wrap; line-height: 1.7; background: #f7fafd; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
#m_shop_new.hidden { display: none; }

/* ===== 求职者端：参观页车间/部门切换 ===== */
.tour-shop-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.tour-shop-bar .ws-tab { flex: 0 0 auto; min-width: 0; padding: 9px 16px; font-size: 14px; }
.tour-shop-cur { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.tour-pos-card .tag-pay { display: inline-block; background: #fff4e5; color: #c2660a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; margin-left: 6px; }

/* ===== 参观页：岗位介绍卡（头部信息条 + 分块小图标条目） ===== */
.tour-pos-card { padding: 0; overflow: hidden; border: 1px solid #dbe8f6; box-shadow: 0 2px 10px rgba(16, 52, 90, .06); }
.tpc-hero { padding: 14px 14px 12px; background: linear-gradient(135deg, #eaf4ff 0%, #f7fbff 70%); border-bottom: 1px solid #e4eefa; }
.tpc-hero-row { display: flex; align-items: flex-start; gap: 10px; }
.tpc-hero-main { flex: 1 1 auto; min-width: 0; }
.tpc-title { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.25; color: #0d2f52; letter-spacing: .3px; }
.tpc-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tpc-pay { display: inline-block; background: #fff1df; color: #b8610a; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.tpc-remain { display: inline-block; background: #e6f7ee; color: #0d7a45; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.tpc-remain.off { background: #eef1f6; color: #6b7280; }
.tpc-speak { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; font-size: 13px; font-weight: 800; border-radius: 999px; border: none; background: var(--brand); color: #fff; white-space: nowrap; box-shadow: 0 3px 8px rgba(29, 111, 208, .25); }
.tpc-speak:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(29, 111, 208, .25); }
.tpc-player:empty { display: none; }
.tpc-player .tts-player { margin-top: 10px; margin-bottom: 0; }
.tpc-body { padding: 4px 12px 14px; }

/* 每个内容块：彩色图标 + 标题栏 */
.tsec { border: 1px solid #e6eef8; border-radius: 14px; background: #fff; margin-top: 10px; overflow: hidden; }
.tsec-h { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #f5f9ff; border-bottom: 1px solid #eaf1f9; }
.tsec-ico { width: 25px; height: 25px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e3efff; font-size: 14px; line-height: 1; }
.tsec-name { font-size: 14px; font-weight: 800; color: #12406b; letter-spacing: .4px; }
.tsec-b { padding: 10px 12px 12px; }
.tsec-p { margin: 0; font-size: 13.5px; line-height: 1.78; color: #47556a; white-space: pre-line; word-break: break-word; }
.tsec-lead { font-size: 12px; color: #90a4bc; font-weight: 600; letter-spacing: .3px; margin-bottom: 8px !important; }
.tsec-row + .tsec-row, .tsec-row + .tsec-p, .tsec-p + .tsec-row { margin-top: 9px; padding-top: 9px; border-top: 1px dashed #eef2f8; }
.tsec-row-h { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.tsec-num { flex: 0 0 auto; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 6px; background: #eaf3ff; color: #1d6fd0; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tsec-label { font-size: 13.5px; font-weight: 800; color: #1f3a5c; line-height: 1.4; }
/* 分块配色：职责=蓝 / 时间=橙 / 薪资=红 / 食宿=青 */
.tsec.is-time .tsec-h { background: #fff8ee; border-bottom-color: #fbeed9; }
.tsec.is-time .tsec-ico { background: #ffeacb; }
.tsec.is-time .tsec-name { color: #9a5a06; }
.tsec.is-time .tsec-num { background: #fff0da; color: #b0690a; }
.tsec.is-pay .tsec-h { background: #fef4f2; border-bottom-color: #fbe4df; }
.tsec.is-pay .tsec-ico { background: #ffe0d8; }
.tsec.is-pay .tsec-name { color: #a8321b; }
.tsec.is-pay .tsec-num { background: #ffe9e3; color: #b6402a; }
.tsec.is-live .tsec-h { background: #f1faf8; border-bottom-color: #dcf1ec; }
.tsec.is-live .tsec-ico { background: #d7f2ec; }
.tsec.is-live .tsec-name { color: #0f6b60; }
.tsec.is-live .tsec-num { background: #e2f6f2; color: #127d70; }

/* ===== 参观页：通用说明卡片 ===== */

/* ===== 后台：语音状态徽标 ===== */
.mini-warn { display: inline-block; background: #fff4e5; color: #b45309; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }

/* ===== AI 回答内嵌：宿舍位置引导图 ===== */
.chat-dorm-guide { margin-top: 10px; background: #fff; border: 1px solid #d8e6f4; border-radius: 12px; padding: 10px; white-space: normal; }
.cdg-head { font-size: 13px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.cdg-scroll { max-height: 58vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cdg-step { display: inline-block; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; border-radius: 8px 8px 0 0; padding: 3px 10px; margin-top: 8px; }
.cdg-step:first-child { margin-top: 0; }
.cdg-img { width: 100%; display: block; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; margin-bottom: 8px; }
.cdg-tip { font-size: 13px; color: var(--muted); line-height: 1.7; }
.cdg-btns { display: flex; gap: 8px; margin-top: 4px; }
.cdg-btns .btn { flex: 1; text-align: center; }

/* ===== 概览：系统自检结果 ===== */
.dash-sc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-sc-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-sc-badge { font-size: 15px; font-weight: 800; border-radius: 10px; padding: 10px 16px; white-space: nowrap; }
.dash-sc-badge.sc-ok { background: #e6f7ec; color: #15803d; border: 1.5px solid #bbe7c9; }
.dash-sc-badge.sc-fixed { background: #fff4e5; color: #b45309; border: 1.5px solid #f6d6a8; }
.dash-sc-badge.sc-fail { background: #fdecec; color: #c02626; border: 1.5px solid #f5c2c2; }
.dash-sc-meta { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #334155; }
.dash-sc-meta b { font-size: 14px; color: #1f2937; }
.dash-sc-plan { font-size: 13px; color: #64748b; margin: 2px 0 10px; }
.sc-warn-tip { font-size: 13px; color: #b45309; background: #fff8ec; border: 1px solid #f6d6a8; border-radius: 8px; padding: 8px 10px; }
.dash-sc-fix { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; margin: 4px 0 12px; font-size: 13px; }
.dash-sc-fix-row { margin-top: 4px; color: #475569; line-height: 1.6; }
.dash-sc-groups { margin-top: 6px; }
.dash-sc-group { border: 1px solid #e5eaf1; border-radius: 10px; padding: 6px 12px; margin-bottom: 8px; background: #fcfdff; }
.dash-sc-group > summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #1f2937; padding: 4px 0; }
.sc-grp-n { font-weight: 600; color: #64748b; font-size: 12px; margin-left: 6px; }
.sc-line { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px dashed #eef2f7; font-size: 13px; }
.sc-line > div { flex: 1; }
.sc-line b { color: #334155; font-size: 13px; }
.sc-line-d { color: #64748b; font-size: 12px; line-height: 1.5; }
.sc-line.bad b { color: #c02626; }
.dash-sc-hist { margin-top: 10px; font-size: 13px; }
.dash-sc-hist b { color: #334155; }
.dash-sc-hist-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sc-hist-chip { font-size: 12px; border-radius: 999px; padding: 4px 10px; font-weight: 600; border: 1px solid transparent; }
.sc-hist-chip.sc-ok { background: #e6f7ec; color: #15803d; border-color: #bbe7c9; }
.sc-hist-chip.sc-fixed { background: #fff4e5; color: #b45309; border-color: #f6d6a8; }
.sc-hist-chip.sc-fail { background: #fdecec; color: #c02626; border-color: #f5c2c2; }
.sc-empty { font-size: 13px; color: #64748b; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 16px; text-align: center; }

/* ===== R34：参观页当前车间 + 岗位标签 + 岗位介绍板块 ===== */
.tour-shop-title { font-size: 20px; font-weight: 800; color: var(--brand-dark); margin: 2px 0 8px; text-align: center; }
.pos-sec { margin-bottom: 10px; }
.pos-sec-h { font-size: 13px; font-weight: 700; color: var(--brand-dark); background: #eaf2fb; border-radius: 8px 8px 0 0; padding: 6px 10px; border: 1px solid #d8e6f4; border-bottom: none; }
.pos-sec .pre { border: 1px solid #d8e6f4; border-radius: 0 0 8px 8px; background: #fbfdff; margin: 0; }
.jd-h { font-size: 12.5px; font-weight: 700; color: var(--brand-dark); margin-top: 8px; }
.jd { margin-top: 3px; }

/* ===== R34：悬浮导航（返回上一步 / 返回首页） ===== */
.float-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(15,40,80,.06); }
.float-nav button { flex: 1; height: 38px; font-size: 13.5px; font-weight: 600; border-radius: 999px; border: 1.5px solid #cfe0f2; background: #f4f9ff; color: var(--brand-dark); }
.float-nav #fnBack, .float-nav #fnHome { background: #f4f9ff; border-color: #cfe0f2; color: var(--brand-dark); }
.float-nav.hidden { display: none; }
body.has-floatnav { padding-bottom: 62px; }

/* ==================================================================
   R42：首页信息卡（福利 / 面试时间 / 常见问题 / 招聘专员提醒 统一样式）
   ================================================================== */
.card.home-info { padding: 15px 16px; }
.card.home-info h3 { margin-bottom: 8px; }
.card.home-info .pre { font-size: 14px; line-height: 1.85; color: #2b3646; }
/* 面试时间与常见问题框：高度一致，避免一高一低 */
#view-home .home-info { min-height: 112px; }
.home-faq .hfaq-tip { font-size: 12.5px; margin: -2px 0 8px; }
.hfaq-input { display: flex; gap: 8px; align-items: center; }
.hfaq-input input {
  flex: 1; min-width: 0; border: 1.5px solid #d7e6f7; background: #f8fbff;
  border-radius: 10px; padding: 11px 14px; font-size: 14.5px; outline: none;
}
.hfaq-input input:focus { border-color: var(--brand); background: #fff; }
.hfaq-input .btn { flex: 0 0 auto; padding: 11px 18px; border-radius: 10px; }
.hfaq-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.cta-main { font-size: 17px; padding: 15px; border-radius: 12px; box-shadow: 0 5px 14px rgba(46,117,182,.22); }

/* ==================================================================
   R42：入厂安全须知及承诺书 —— 正式文书排版
   ================================================================== */
.doc-sheet {
  background: #fff; border: 1px solid #e3e8ef; border-radius: 4px;
  padding: 22px 20px 26px; margin-bottom: 14px;
  box-shadow: 0 6px 22px rgba(15, 40, 80, .08);
  font-family: "Songti SC", "SimSun", "STSong", serif; color: #111827;
}
.sheet-logo { height: 20px; display: block; margin: 0 0 10px; opacity: .9; }
.sheet-org { text-align: center; font-size: 15px; font-weight: 700; line-height: 1.55; letter-spacing: 1px; color: #1f2937; }
.sheet-title { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: 4px; margin: 8px 0 6px; color: #111827; }
.sheet-rule { height: 2px; background: #1f2937; margin: 8px 0 14px; }
.sheet-body { font-size: 14px; line-height: 1.95; text-align: justify; }
.sheet-body .doc-p { text-indent: 2em; margin: 0 0 4px; color: #1f2937; }
.sheet-body .doc-h { font-weight: 700; margin: 12px 0 4px; text-indent: 0; color: #111827; }
.sheet-body .doc-warn {
  text-indent: 0; margin: 8px 0; padding: 8px 10px; background: #fff5f5;
  border-left: 3px solid #c02626; color: #9f1d1d; font-weight: 700; line-height: 1.7;
}
.sheet-commit { margin: 14px 0 6px; font-size: 14px; line-height: 1.95; text-indent: 2em; font-weight: 600; }
.sheet-form { margin-top: 16px; border-top: 1px dashed #cbd5e1; padding-top: 12px; }
.sf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sf-row label { flex: 0 0 92px; font-size: 13.5px; color: #374151; font-family: -apple-system, "PingFang SC", sans-serif; }
.sf-row label i { color: #c02626; font-style: normal; }
.sf-row input, .sf-row select {
  flex: 1; min-width: 150px; border: none; border-bottom: 1px solid #94a3b8;
  border-radius: 0; background: transparent; padding: 6px 2px; font-size: 14.5px;
  font-family: -apple-system, "PingFang SC", sans-serif; outline: none;
}
.sf-row input:focus, .sf-row select:focus { border-bottom-color: var(--brand); }
.sf-date { text-align: right; font-size: 13.5px; color: #4b5563; margin-top: 4px; }
.sf-row .sign-pad-wrap { flex: 1 1 100%; }
.sheet-form .sign-pad-wrap { background: #fcfdfe; }

/* ==================================================================
   R42：签署成功的面试提示弹窗
   ================================================================== */
.signok-card { max-width: 420px; padding: 20px 18px 18px; }
.signok-card h3 { font-size: 17px; margin-bottom: 12px; }
.sok-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; background: #f5f9ff; border: 1px solid #e3eefb; margin-bottom: 8px; }
.sok-item .sok-n { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sok-item b { display: block; font-size: 14.5px; color: #14395f; line-height: 1.45; }
.sok-item em { display: block; font-style: normal; font-size: 12px; color: #6b7c93; margin-top: 2px; line-height: 1.5; }
.sok-item.sok-warn { background: #fff8ec; border-color: #f6d6a8; }
.sok-item.sok-warn .sok-n { background: #d97706; }
.sok-item.sok-warn b { color: #9a4a06; }
.signok-card .btn { margin-top: 6px; }

/* ==================================================================
   R42：人力资源部引导 —— 最后一步下方电话提醒
   ================================================================== */
.hr-remind { background: #fff8ec; border: 1.5px dashed #e8a33d; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.hr-remind-h { font-size: 13.5px; font-weight: 800; color: #9a5b06; margin-bottom: 4px; }
.hr-remind p { font-size: 14px; color: #6b4a12; line-height: 1.7; }
.hr-remind a { color: #c0392b; font-weight: 800; font-size: 16px; text-decoration: underline; }

/* ==================================================================
   R42：车间引导 —— 班组长联系框 + 两个并列按钮
   ================================================================== */
.leader-box { background: linear-gradient(135deg, #eef7ff, #f7fbff); border: 1.5px solid #bcd9f4; border-left: 4px solid var(--brand); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.lb-head { font-size: 15px; font-weight: 800; color: #14416b; }
.lb-tip { font-size: 12.5px; color: #6b7c93; margin: 2px 0 8px; }
.lb-list { display: flex; flex-direction: column; gap: 8px; }
.lb-call { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid #d7e6f7; border-radius: 10px; padding: 10px 12px; text-decoration: none; }
.lb-call .lb-name { font-size: 14.5px; font-weight: 800; color: #1f2937; }
.lb-call .lb-phone { font-size: 16px; font-weight: 800; color: #c0392b; letter-spacing: .5px; }
.ws-btn-row { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.ws-btn-row .btn { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.35; padding: 13px 8px; border-radius: 12px; text-align: center; }
.ws-btn-row .btn-ghost { background: #fff; }

/* ==================================================================
   R42：参观页 AI 提问框
   ================================================================== */
.tour-ai { border: 1.5px solid #cfe2f7; background: linear-gradient(135deg, #f7fbff, #fff); }
.tour-ai h3 { font-size: 15.5px; }

/* ==================================================================
   R42：入职申请自动带出提示 / 等待发放通知书
   ================================================================== */
.auto-fill-tip { background: #eefaf1; border: 1px solid #b9e6c8; color: #157347; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.6; margin-bottom: 12px; }
.apply-wait { text-align: center; padding: 26px 18px 22px; }
.apply-wait .aw-icon { font-size: 40px; line-height: 1; }
.apply-wait h3 { margin: 8px 0 4px; font-size: 18px; }
.apply-wait em { color: #c02626; font-style: normal; font-weight: 800; }
.aw-bar { height: 6px; background: #e6eef8; border-radius: 999px; overflow: hidden; margin: 16px auto 0; max-width: 260px; }
.aw-bar span { display: block; height: 100%; width: 38%; border-radius: 999px; background: linear-gradient(90deg, #2e75b6, #6fb0e8); animation: awslide 1.5s ease-in-out infinite; }
@keyframes awslide { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

/* ==================================================================
   R42：录用通知书 —— 正式文书排版
   ================================================================== */
/* ===== 录用通知书（求职端 / 后台共用 · R58 重排） ===== */
.offer-card { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.offer-page {
  width: 100%; max-width: 794px; margin: 0 auto; box-sizing: border-box;
  background: #fff; color: #111827; position: relative;
  padding: 30px 20px 26px; border: 1px solid #e3e8ef; border-radius: 8px;
  font-family: "Songti SC", "SimSun", "STSong", serif;
  box-shadow: 0 6px 22px rgba(15, 40, 80, .08);
}
/* 表头：LOGO 缩小后靠左，公司名、部门居中；编号/日期在标题下方两端对齐 */
.od-top { text-align: center; position: relative; }
.od-logo { display: block; height: 20px; width: auto; margin: 0 0 8px; }
.od-org1 { font-size: 17px; font-weight: 700; letter-spacing: 1px; color: #14283d; line-height: 1.5; }
.od-org2 { font-size: 12.5px; color: #5b6b7d; letter-spacing: 2px; margin-top: 5px; }
.od-rules { margin: 16px 0 0; }
.od-rules .od-r1 { display: block; height: 2px; background: #b8232f; }
.od-rules .od-r2 { display: block; height: 1px; background: #ccd6e0; margin-top: 4px; }
.od-title { text-align: center; font-size: 25px; font-weight: 700; letter-spacing: 10px; color: #111827; margin: 26px 0 10px; text-indent: 10px; }
.od-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; color: #6b7280;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; padding-bottom: 18px; }
.od-to { font-size: 16px; margin: 0 0 12px; color: #111827; }
.od-to b { font-weight: 700; }
.od-p { font-size: 14.5px; line-height: 2; text-align: justify; text-indent: 2em; margin: 0 0 14px; color: #1f2937; }
.od-table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; font-size: 13.5px; }
.od-table th, .od-table td { border: 1px solid #c3cedb; padding: 9px 11px; line-height: 1.6; }
.od-table th { background: #f3f6fa; font-weight: 700; text-align: center; color: #374151; white-space: nowrap; width: 118px; }
.od-table td { color: #111827; }
.od-idc { margin-left: 10px; color: #4b5563; font-size: 13px; letter-spacing: .3px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.od-docs { border: 1px solid #e9b9bc; background: #fdf6f6; border-radius: 6px; padding: 12px 14px 10px; margin: 0 0 18px; }
.od-docs-h { font-size: 13.5px; font-weight: 700; color: #a31826; margin-bottom: 6px; letter-spacing: .3px; }
.od-docs ol { margin: 0; padding-left: 20px; }
.od-docs li { font-size: 13.5px; line-height: 1.95; color: #1f2937; }
/* 落款 + 印章：整体靠右，印章压在落款单位上（真实盖章效果） */
.od-foot { position: relative; margin: 30px 0 6px; min-height: 150px; display: flex; justify-content: flex-end; }
.od-sign { text-align: center; padding-right: 6px; padding-top: 6px; }
.od-sign-org { font-size: 14.5px; line-height: 1.9; color: #1f2937; }
.od-sign-date { font-size: 14px; color: #374151; margin-top: 6px; letter-spacing: 1px; }
.od-seal { position: absolute; right: 4px; top: 0; width: 150px; height: 150px; opacity: .93;
  mix-blend-mode: multiply; pointer-events: none; }
.od-tip { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #e5e7eb; font-size: 10.5px; color: #9ca3af;
  text-align: center; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* 通知书底部：系统入口二维码（保存图片后，离厂也能扫码再进来） */
.od-qrbox { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 9px 12px;
  border: 1px solid #dbe3ec; border-radius: 8px; background: #f8fafc; }
.od-qrbox .od-qr { width: 72px; height: 72px; flex: 0 0 72px; display: block; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 5px; padding: 3px; }
.od-qr-txt { min-width: 0; }
.od-qr-txt b { display: block; font-size: 13.5px; color: #14283d; letter-spacing: .4px; }
.od-qr-txt p { margin: 4px 0 0; font-size: 10.8px; color: #6b7280; line-height: 1.55;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* 打印：只留通知书，A4 恒 1 页（794px = 210mm） */
#offerPrintArea { display: none; }
/* 屏幕上临时量尺寸用（打印前会去掉，打印样式里强制 static） */
#offerPrintArea.measuring { display: block; position: fixed; left: -10000px; top: 0; width: 794px; background: #fff; }
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  body.printing > * { display: none !important; }
  body.printing #offerPrintArea,
  body.printing #offerPrintArea.measuring { display: block !important; position: static !important; left: auto !important; width: auto !important; }
  body.printing #printRoot { display: none !important; }
  #offerPrintArea .offer-page { box-shadow: none; border: 0; border-radius: 0; margin: 0 auto;
    width: 794px; max-width: 794px; padding: 26px 22px; }
  #offerPrintArea .od-tip { display: none; }
}

/* ===== 后台在册名单：身份证号（可点击填写/更改）+ 籍贯·年龄 ===== */
.id-edit { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 158px;
  padding: 3px 8px; border: 1px dashed #9cc0e2; border-radius: 8px; background: #f7fbff;
  font: inherit; text-align: left; cursor: pointer; }
.id-edit:hover { background: #eaf3fd; border-color: #4d8fc9; }
.id-no { font-size: 12.5px; font-weight: 600; color: #22496d; letter-spacing: .2px; word-break: break-all; }
.id-edit.id-empty .id-no { color: #1c5c96; font-weight: 700; }
.id-meta { font-size: 11px; color: #64748b; }
.id-meta.id-bad { color: #b45309; }
.id-preview { margin: -4px 0 10px; font-size: 13px; color: #334155; background: #f6f9fe;
  border: 1px solid #dbe7f6; border-radius: 10px; padding: 8px 11px; line-height: 1.7; }
.id-preview b { color: #1c5c96; }
.offer-id-check { background: #f6f9fe; border: 1px solid #dbe7f6; border-radius: 10px; padding: 9px 12px;
  margin-bottom: 10px; font-size: 13px; color: #334155; line-height: 1.7; }
.offer-id-check.offer-id-miss { background: #fff6e8; border-color: #f3d9a4; color: #92400e; }

/* ===== R58 在册名单：一屏显示 · 信息分行 · 点姓名看详情（性别/籍贯/年龄） ===== */
#applicantTbl { table-layout: fixed; width: 100%; }
#applicantTbl th { white-space: normal; word-break: keep-all; vertical-align: middle; font-size: 12px; color: #6b7f96; letter-spacing: .2px; }
#applicantTbl th.c-name { width: 12%; }
#applicantTbl th.c-phone { width: 12%; }
#applicantTbl th.c-id { width: 18%; }
#applicantTbl th.c-pos { width: 12.5%; }
#applicantTbl th.c-dates { width: 13.5%; }
#applicantTbl th.c-state { width: 9%; }
#applicantTbl th.c-sign { width: 8%; }
#applicantTbl th.c-ops { width: 15%; }
#applicantTbl th.bulk-col, #applicantTbl td.bulk-col { width: 32px; padding: 0 4px; }
#applicantTbl td { padding: 11px 8px; vertical-align: middle; word-break: break-word; font-size: 13px; }
#applicantTbl tbody tr.ap-row:hover > td { background: #f8fbff; }

/* 姓名（点击展开） */
.nm-btn { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 0; border: 0; background: none;
  font: inherit; font-size: 13.5px; font-weight: 700; color: #17324d; cursor: pointer; }
.nm-btn:hover { color: var(--brand-dark); }
.nm-t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-arrow { font-style: normal; font-size: 10px; color: #9db0c6; transition: transform .18s; }
.nm-btn.open .nm-arrow { transform: rotate(180deg); color: var(--brand); }

/* 单元格里可点击的文字（身份证号 / 岗位） */
.cell-link { border: 0; background: none; padding: 0; font: inherit; color: #1c5c96; cursor: pointer; text-align: left; }
.cell-link:hover { color: #0f4f8a; text-decoration: underline; text-underline-offset: 2px; }
.cell-link.mono, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .2px; }
.cell-empty { border: 1px dashed #b7cbe0; background: #f6fbff; color: #2b6ea8; border-radius: 6px;
  padding: 2px 8px; font: inherit; font-size: 12px; cursor: pointer; }
.cell-empty:hover { background: #e8f3ff; border-color: #4d8fc9; }

/* 三个日期：竖排小行，标签对齐 */
#applicantTbl .dline { display: flex; gap: 6px; font-size: 11.5px; line-height: 1.8; white-space: nowrap; }
#applicantTbl .dline i { font-style: normal; color: #96a8bd; flex: none; width: 24px; }

/* 状态徽标 */
.st-chip { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; font-weight: 700;
  white-space: nowrap; background: #eef2f7; color: #475569; }
.st-interview { background: #e8f1fd; color: #1a5dad; }
.st-pending { background: #fff4e2; color: #a86400; }
.st-offer { background: #e9f7ee; color: #166534; }
.st-late { background: #fdecec; color: #b91c1c; }
.st-on { background: #e7f6ea; color: #15803d; }
.st-rej { background: #f1f5f9; color: #64748b; }
/* 已离职：原在职员工（花名册识别 / 后台办理），与「未通过」区分开 */
.st-quit { background: #fdf1e7; color: #b45309; }
.st-signonly { background: #f5f3ff; color: #6d28d9; }
/* 参观后未申请（库内 status='仅签署'）：与「未通过」灰、已离职橙都区分开 */
.st-signedout { background: #eef2ff; color: #4f46e5; }

/* 操作列：永远一行，不再上下挤成两排 */
#applicantTbl .c-ops .ops-line { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
#applicantTbl .c-ops .btn { font-size: 11.5px; padding: 6px 9px; white-space: nowrap; line-height: 1.2; }
.btn-notice { border: 1px solid #cfe0f2; color: #1c5c96; background: #f7fbff; }
.btn-notice:hover { background: #e9f3ff; }

/* 展开的详情行 */
#applicantTbl tr.ap-detail { display: none; }
#applicantTbl tr.ap-detail.open { display: table-row; }
#applicantTbl tr.ap-detail > td { padding: 0; background: #f7fbff; border-bottom: 1px solid #e2ecf7; }
.apd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.apd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px 20px; }
.apd-f { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; min-width: 0; }
.apd-f > span { color: #8296ad; flex: none; }
.apd-f > b { color: #17324d; font-weight: 600; word-break: break-all; }
.apd-f.apd-wide { grid-column: 1 / -1; }
.apd-note { color: #b45309 !important; }
.apd-warn { color: #b45309 !important; font-weight: 500 !important; }
.apd-ops { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 11px; border-top: 1px dashed #dbe7f6; }

/* ===== 手机端：每行一张卡，字段带名称，不需要左右拖动 ===== */
@media (max-width: 760px) {
  #applicantTbl { table-layout: auto; }
  #applicantTbl thead { display: none; }
  #applicantTbl, #applicantTbl tbody { display: block; width: 100%; }
  #applicantTbl tr.ap-row { display: block; width: 100%; padding: 12px 2px 10px; border-bottom: 1px solid var(--line); }
  #applicantTbl tr.ap-row > td { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 5px 4px; border-bottom: 1px dashed #eef3f9; text-align: right; }
  #applicantTbl tr.ap-row > td:last-child { border-bottom: none; }
  #applicantTbl tr.ap-row > td::before { content: attr(data-label); color: #8296ad; font-size: 11.5px; flex: none; text-align: left; }
  #applicantTbl tr.ap-row > td.c-name { justify-content: flex-start; padding-bottom: 2px; }
  #applicantTbl tr.ap-row > td.c-name::before { display: none; }
  #applicantTbl tr.ap-row > td.c-ops { justify-content: flex-end; padding-top: 9px; }
  #applicantTbl .c-ops .ops-line { flex-wrap: wrap; justify-content: flex-end; }
  #applicantTbl tr.ap-detail > td { display: block; padding: 0; border-bottom: 1px solid var(--line); }
  #applicantTbl tr.ap-detail > td::before { content: none; }
  .apd { padding: 12px 10px 14px; }
  .apd-facts { grid-template-columns: 1fr; gap: 8px; }
  .apd-ops .btn { flex: 1 1 45%; }
  #applicantTbl .dline { justify-content: flex-end; }
}

/* ===== 后台引导图：语音播报同步状态 ===== */
.voice-sync { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 12px;
  padding: 10px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.7; border: 1px solid #dbe7f6; background: #f6f9fe; }
.voice-sync b { font-size: 13px; }
.voice-sync span { color: #4b6178; flex: 1 1 260px; }
.voice-sync ul { flex: 1 1 100%; margin: 2px 0 0; padding-left: 20px; color: #92400e; }
.voice-sync .btn { margin-left: auto; }
.voice-sync.vs-ok { border-color: #c6e6d1; background: #f2fbf5; }
.voice-sync.vs-ok b { color: #15803d; }
.voice-sync.vs-bad { border-color: #f3d9a4; background: #fffaf0; }
.voice-sync.vs-bad b { color: #b45309; }
.voice-sync.hidden { display: none; }

/* ===== R57 企业微信通知模板编辑 ===== */
.wecom-tpl { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; line-height: 1.75;
  padding: 10px 12px; border: 1px solid #d7dee8; border-radius: 10px; background: #fbfdff; resize: vertical; min-height: 92px; color: #1f2937; }
.wecom-tpl:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(46,117,182,.10); }
.wecom-vars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wecom-vars .wv { font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 999px; line-height: 1.5;
  border: 1px dashed #9cc0e2; background: #f2f8ff; color: #1c5c96; cursor: pointer; white-space: nowrap; }
.wecom-vars .wv:hover { background: #e3f0fd; border-color: #4d8fc9; }
.wecom-vars .wv:active { transform: scale(.97); }
.wecom-preview { margin-top: 12px; border: 1px solid #dbe7f6; border-radius: 10px; background: #f6f9fe; padding: 10px 12px; }
.wecom-preview .wp-h { font-size: 12px; color: #6b7f96; margin-bottom: 6px; }
.wecom-preview .wp-body { font-size: 13.5px; line-height: 1.85; color: #1f2937; white-space: pre-wrap; word-break: break-word; }

/* ===== R57 在册名单：身份证列含性别，列宽微调，保证仍无横向滚动 ===== */
#applicantTbl th.c-id { width: 17%; }
#applicantTbl th.c-ops { width: 22%; }

/* ===== R58 后台：通知书预览弹窗 / 电子档图片 ===== */
.modal.modal-wide { max-width: 880px; padding: 20px 22px; }
.offer-preview-box { background: #eef2f7; border: 1px solid #dbe3ee; border-radius: 12px; padding: 14px; max-height: 58vh; overflow: auto; }
.offer-preview-box .offer-page { border: 0; box-shadow: 0 3px 14px rgba(15, 40, 80, .10); border-radius: 4px; }
.offer-img-tip { margin: 14px 0 8px; font-size: 12.5px; color: #4b6178; background: #f6f9fe; border: 1px solid #dbe7f6;
  border-radius: 8px; padding: 8px 11px; line-height: 1.7; }
.offer-img { display: block; width: 100%; max-width: 620px; margin: 0 auto 10px; border: 1px solid #dbe3ee; border-radius: 8px; background: #fff; }

/* 手机端：三个日期竖排右对齐，避免横排被裁 */
@media (max-width: 760px) {
  #applicantTbl tr.ap-row > td.c-dates { flex-direction: column; align-items: flex-end; gap: 2px; }
  #applicantTbl tr.ap-row > td.c-dates::before { align-self: flex-start; }
  #applicantTbl .c-ops .ops-line .btn { padding: 6px 10px; }
}

/* 手机端通知书：收窄边距与表格，保证不横向溢出 */
@media (max-width: 480px) {
  .offer-page { padding: 24px 16px 20px; }
  .od-title { font-size: 21px; letter-spacing: 6px; text-indent: 6px; margin-top: 20px; }
  .od-table th { width: 88px; }
  .od-table th, .od-table td { padding: 8px 7px; font-size: 12.5px; }
  .od-idc { display: block; margin-left: 0; margin-top: 3px; word-break: break-all; }
  .od-p { font-size: 13.5px; }
  .od-to { font-size: 15px; }
  .od-sign-org { font-size: 13px; }
  .od-sign-date { font-size: 12.5px; }
  .od-seal { width: 128px; height: 128px; right: 0; }
  .od-foot { min-height: 132px; }
}

/* ========= 员工结构看板（内嵌 iframe 容器）=========
   此前该段样式丢失导致 iframe 只有默认 300px 宽，看板按手机排版显示 —— 已补回 */
.sb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sb-ttl h3 { margin-bottom: 4px; }
.sb-sub { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.sb-ops { display: flex; gap: 8px; flex-shrink: 0; }
.sb-box { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05); }
.sb-frame { display: block; width: 100%; border: 0; background: #fff; }
.sb-mask { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; background: rgba(255, 255, 255, .94); color: var(--muted); font-size: 13px; z-index: 2; }
.sb-mask[hidden] { display: none; }
.sb-spin { width: 28px; height: 28px; border: 3px solid var(--brand-light); border-top-color: var(--brand);
  border-radius: 50%; animation: sbspin .8s linear infinite; }
@keyframes sbspin { to { transform: rotate(360deg); } }
.sb-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) {
  .sb-head { flex-direction: column; }
  .sb-ops { width: 100%; }
  .sb-ops .btn { flex: 1; }
}

/* ========= 岗位详情 / 薪资待遇浮层：右上角大关闭键 =========
   此前 × 按钮无样式（浏览器默认小按钮挤在左上角），不显眼且不符合右手操作习惯 */
.pos-sheet, .tour-sheet { position: relative; }
.pos-sheet-x { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%;
  background: #f1f5f9; border: 1.5px solid #cbd5e1; color: #334155; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 6;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12); transition: transform .12s, background .12s; }
.pos-sheet-x:hover { background: #e2e8f0; }
.pos-sheet-x:active { transform: scale(.9); }
.pos-sheet { padding-top: 8px; }
.tour-sheet { padding-top: 8px; }

/* ========= 看板自检面板（只在后台页面显示，不进任何导出图片）========= */
.sb-health { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05); }
.sbh-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sbh-head b { font-size: 13.5px; color: var(--text); }
.sbh-state { font-size: 12px; color: var(--muted); }
.sbh-state.ok { color: var(--ok); font-weight: 600; }
.sbh-state.bad { color: #b45309; font-weight: 600; }
.sbh-ops { margin-left: auto; display: flex; gap: 8px; }
.sbh-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 8px 16px; margin-top: 10px; }
.sbh-item { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.6; align-items: flex-start;
  padding: 6px 8px; border-radius: 8px; background: #f8fafc; }
.sbh-item .sbh-ico { flex-shrink: 0; width: 16px; text-align: center; }
.sbh-item .sbh-name { font-weight: 600; color: var(--text); flex-shrink: 0; }
.sbh-item .sbh-detail { color: #475569; }
.sbh-item.bad { background: #fff7ed; }
.sbh-item.bad .sbh-name { color: #b45309; }
.sbh-item .sbh-fix { color: #0f766e; }
.sbh-note { margin-top: 8px; font-size: 11px; color: #94a3b8; }
.sbh-placeholder { font-size: 12.5px; color: var(--muted); padding: 4px 2px; }
.sbh-badge { display: inline-block; font-size: 10.5px; padding: 1px 6px; border-radius: 9px; background: #e0f2fe; color: #0369a1; margin-left: 4px; }
@media (max-width: 760px) {
  .sbh-list { grid-template-columns: 1fr; }
  .sbh-ops { width: 100%; margin-left: 0; }
}
@media print { .sb-health { display: none !important; } }
body.printing .sb-health { display: none !important; }

/* 看板自检：可折叠（默认收起，点三角展开） */
.sb-health { margin: 12px 0 0; }
.sbh-head { cursor: pointer; user-select: none; }
.sbh-arrow { display: inline-block; width: 14px; color: #64748b; font-size: 12px; transition: transform .16s; }
.sb-health:not(.collapsed) .sbh-arrow { transform: rotate(90deg); }
.sb-health.collapsed .sbh-list, .sb-health.collapsed .sbh-note { display: none; }
.sb-health.collapsed { padding-bottom: 10px; }

/* 再次进入时的进度提示（继续上次 / 重新开始） */
.resume-info { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px;
  margin: 2px 0 14px; font-size: 13.5px; color: #334155; line-height: 1.95; text-align: left; }
.resume-info b { color: #0f172a; }
.resume-info.hidden { display: none; }

/* ========= 离职名单自动同步状态（在册名单顶部，每日 16:00 10T花名册回写） ========= */
.resign-sync { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; padding: 8px 12px;
  border-radius: 9px; font-size: 13px; line-height: 1.6; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.resign-sync.rs-bad { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.resign-sync[hidden] { display: none; }
.resign-sync b { color: inherit; }
.resign-sync .rs-src { width: 100%; font-size: 11.5px; color: #64748b; }

/* ========= 招聘周报（设置页 · 一表汇报，可截图/导图） ========= */
.wk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wk-nav { display: flex; align-items: center; gap: 8px; }
.wk-period { min-width: 208px; text-align: center; line-height: 1.35; }
.wk-period b { display: block; font-size: 15px; color: #12314f; letter-spacing: .2px; }
.wk-period span { display: block; font-size: 11.5px; color: #7c8ba1; }
.wk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wk-stage { background: #eef1f6; border-radius: 12px; padding: 14px; overflow-x: auto; }
.wk-sheet {
  width: 1000px; max-width: 100%; margin: 0 auto; background: #fff;
  border: 1px solid #dbe3ee; border-radius: 10px; padding: 26px 30px 18px;
  box-shadow: 0 6px 20px rgba(21, 42, 72, .08); box-sizing: border-box;
  color: #1f2937; font-variant-numeric: tabular-nums;
}
.wk-top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 12px; border-bottom: 2px solid #1f4e79; }
.wk-title { font-size: 24px; font-weight: 800; color: #12314f; letter-spacing: 1px; line-height: 1.2; }
.wk-sub { font-size: 12px; color: #64748b; margin-top: 5px; letter-spacing: .4px; }
.wk-when { text-align: right; line-height: 1.5; }
.wk-wk { font-size: 12px; font-weight: 700; color: #1f4e79; }
.wk-range { font-size: 15px; font-weight: 700; color: #12314f; }
.wk-crumb { font-size: 11px; color: #94a3b8; }
.wk-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 14px; }
.wk-tbl th { background: #eef3fa; color: #1f4e79; font-size: 12.5px; font-weight: 700; padding: 9px 4px;
  border-bottom: 1px solid #d7e2f0; text-align: center; white-space: nowrap; }
.wk-tbl th.wk-l { text-align: left; padding-left: 14px; }
.wk-tbl th.wk-subh { font-weight: 400; font-size: 11px; color: #5b7290; background: #f4f7fc; padding: 5px 4px; }
.wk-tbl td.wk-t { color: #8b9bb0; font-size: 12.5px; }
.wk-tbl td { font-size: 14px; padding: 11px 4px; text-align: center; border-bottom: 1px solid #eef1f6; color: #24313f; }
.wk-tbl tbody tr:nth-child(even) td { background: #fafbfd; }
.wk-tbl td.wk-l { text-align: left; padding-left: 14px; }
.wk-pos-name { font-size: 14px; font-weight: 700; color: #12314f; }
.wk-pos-shop { display: block; font-size: 10.5px; color: #8b9bb0; font-weight: 400; margin-top: 2px; letter-spacing: .3px; }
.wk-tag { display: inline-block; font-size: 9.5px; color: #94a3b8; border: 1px solid #dbe3ee; border-radius: 3px; padding: 0 3px; margin-left: 4px; vertical-align: 1px; font-weight: 400; }
.wk-num-0 { color: #b6c2d2; }
.wk-tbl td.wk-strong { font-weight: 700; color: #12314f; }
.wk-rate { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; }
.wk-rate b { font-size: 13.5px; font-weight: 700; }
.wk-rate i { display: block; width: 100%; max-width: 62px; height: 3px; border-radius: 2px; background: #e8eef6; overflow: hidden; }
.wk-rate i span { display: block; height: 100%; border-radius: 2px; }
.wk-rate.r-hi b { color: #15803d; } .wk-rate.r-hi i span { background: #22a06b; }
.wk-rate.r-mid b { color: #1f4e79; } .wk-rate.r-mid i span { background: #4a90d9; }
.wk-rate.r-low b { color: #c2760a; } .wk-rate.r-low i span { background: #e5a13a; }
.wk-rate.r-none b { color: #a8b5c6; }
.wk-tbl tfoot td { background: #f5f8fc; font-weight: 700; color: #12314f; border-top: 2px solid #cfdcec; border-bottom: 0; font-size: 14px; }
.wk-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 10.5px; color: #94a3b8; line-height: 1.7; }
.wk-empty { text-align: center; padding: 40px 0; color: #94a3b8; font-size: 13.5px; }
.wk-hint { margin-top: 12px; font-size: 12px; color: #7c8ba1; line-height: 1.9; }
.wk-hint b { color: #475569; font-weight: 600; }
.wk-more { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e2e8f0; }
@media (max-width: 760px) {
  .wk-sheet { width: 100%; padding: 18px 12px 14px; }
  .wk-tbl th { white-space: normal; word-break: break-all; font-size: 9.5px; padding: 6px 1px; line-height: 1.35; }
  .wk-tbl th.wk-subh { font-size: 8.5px; padding: 3px 1px; }
  .wk-tbl td.wk-t { font-size: 10.5px; }
  .wk-tbl th.wk-l, .wk-tbl td.wk-l { padding-left: 8px; }
  .wk-tbl td { padding: 9px 1px; }
  .wk-bar { flex-direction: column; align-items: stretch; }
  .wk-nav { justify-content: space-between; }
  .wk-period { min-width: 0; }
  .wk-title { font-size: 19px; }
  .wk-tbl th { font-size: 10px; padding: 6px 2px; }
  .wk-tbl td { font-size: 12px; padding: 8px 2px; }
  .wk-pos-name { font-size: 12px; }
  .wk-foot { flex-direction: column; gap: 2px; }
}

/* ================= 岗位编辑器（新增 / 编辑岗位 · 步骤卡片式） ================= */
.modal.pf-modal {
  padding: 0; width: min(980px, 96vw); max-width: 980px;
  height: min(90vh, 940px); max-height: 92vh;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 35, 60, .22);
}
.pf-modal h3 { margin: 0; font-size: 19px; color: #12314f; letter-spacing: .3px; }

/* 顶部标题条 */
.pf-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 60%, #fff 100%);
  border-bottom: 1px solid #e2ecf7; position: relative;
}
.pf-head::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #2e75b6, #5b9bd5); }
.pf-badge {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 21px; background: #fff; border: 1px solid #d8e6f5; box-shadow: 0 2px 8px rgba(46, 117, 182, .12);
}
.pf-head-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pf-head p { margin: 3px 0 0; font-size: 12px; color: #7c8ba1; line-height: 1.5; }
.pf-head p i { font-style: normal; color: #dc2626; font-weight: 700; }
.pf-x {
  margin-left: auto; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #dbe5f0;
  background: #fff; color: #64748b; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.pf-x:hover { background: #f1f5f9; color: #334155; }

/* 滚动区 */
.pf-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 18px 6px; background: #f7f9fc; }
.pf-tip {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #4b6b8a; line-height: 1.6;
  background: #eef6ff; border: 1px solid #d7e8f9; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px;
}

/* 步骤卡片 */
.pf-sec { background: #fff; border: 1px solid #e3ebf4; border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.pf-sec-h { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fbfdff; border-bottom: 1px dashed #e8eff8; }
.pf-no {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2e75b6, #5b9bd5);
  box-shadow: 0 2px 6px rgba(46, 117, 182, .25);
}
.pf-ic { font-size: 17px; line-height: 1; }
.pf-sec-t { min-width: 0; }
.pf-sec-t b { display: block; font-size: 14px; color: #1a2c42; font-weight: 700; line-height: 1.4; }
.pf-sec-t b i { font-style: normal; color: #dc2626; margin-left: 2px; }
.pf-sec-t em { display: block; font-style: normal; font-size: 11.5px; color: #8b9bb0; line-height: 1.5; margin-top: 1px; }
.pf-sec-b { padding: 13px 14px 14px; }

/* 表单控件 */
.pf-in, .pf-sec-b select, .pf-sec-b input[type="text"], .pf-sec-b input[type="number"], .pf-sec-b textarea {
  width: 100%; border: 1px solid #dbe5f0; border-radius: 10px; padding: 10px 12px; font-size: 14.5px;
  color: #1f2937; background: #fff; transition: border-color .15s, box-shadow .15s; line-height: 1.6;
}
.pf-sec-b textarea { resize: vertical; }
.pf-in:focus, .pf-sec-b select:focus, .pf-sec-b input:focus, .pf-sec-b textarea:focus {
  outline: none; border-color: #6aa5dd; box-shadow: 0 0 0 3px rgba(46, 117, 182, .12);
}
.pf-note { font-size: 11.5px; color: #8b9bb0; line-height: 1.7; margin: 7px 0 0; }
.pf-note b { color: #4b6b8a; }
.pf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.pf-count { font-size: 11.5px; color: #9aa9bd; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 计薪方式 / 入职动线：卡片式单选 */
.pf-seg, .pf-choice { display: grid; gap: 8px; }
.pf-seg { grid-template-columns: repeat(3, 1fr); }
.pf-choice { grid-template-columns: 1fr 1fr; }
.pf-seg button, .pf-choice button {
  text-align: left; border: 1.5px solid #e0e9f3; border-radius: 11px; background: #fbfdff; padding: 10px 12px;
  transition: all .15s; color: #33475f;
}
.pf-seg button b, .pf-choice button b { display: block; font-size: 13.5px; font-weight: 700; color: #1a2c42; line-height: 1.4; }
.pf-seg button em, .pf-choice button em { display: block; font-style: normal; font-size: 11.5px; color: #8b9bb0; margin-top: 2px; line-height: 1.5; }
.pf-seg button:hover, .pf-choice button:hover { border-color: #b9d4ee; background: #f5faff; }
.pf-seg button.on, .pf-choice button.on {
  border-color: #2e75b6; background: #edf5fe; box-shadow: 0 0 0 3px rgba(46, 117, 182, .1);
}
.pf-seg button.on b, .pf-choice button.on b { color: #1b5c96; }

/* 时间 / 薪资 / 食宿 三列 */
.pf-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-field { display: block; }
.pf-field > span { display: block; font-size: 12.5px; font-weight: 700; color: #4b6b8a; margin-bottom: 5px; }

/* 需求人数：重点区块 */
.pf-sec-key { border-color: #cfe3f6; box-shadow: 0 4px 16px rgba(46, 117, 182, .09); }
.pf-sec-key .pf-sec-h { background: linear-gradient(135deg, #edf5fe, #fbfdff); border-bottom-color: #dbeaf8; }
.pf-num-box { display: flex; align-items: stretch; gap: 8px; max-width: 320px; }
.pf-num-box input {
  flex: 1 1 auto; text-align: center; font-size: 26px; font-weight: 800; color: #12314f;
  padding: 6px 4px; border: 1.5px solid #cfe3f6; border-radius: 12px; background: #fbfdff; font-variant-numeric: tabular-nums;
}
.pf-num-box input:focus { outline: none; border-color: #2e75b6; box-shadow: 0 0 0 3px rgba(46, 117, 182, .12); background: #fff; }
.pf-step {
  flex: 0 0 auto; width: 40px; border: 1.5px solid #dbe5f0; border-radius: 12px; background: #fff;
  font-size: 19px; font-weight: 700; color: #2e75b6; line-height: 1;
}
.pf-step:hover { background: #edf5fe; border-color: #b9d4ee; }
.pf-unit { display: flex; align-items: center; font-size: 13px; color: #8b9bb0; padding: 0 2px; }
.pf-kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 11px; }
.pf-kpi {
  flex: 1 1 130px; background: #f5f9ff; border: 1px solid #e3eef9; border-radius: 11px; padding: 8px 12px;
}
.pf-kpi span { display: block; font-size: 11.5px; color: #7c8ba1; }
.pf-kpi b { display: block; font-size: 20px; font-weight: 800; color: #2b4a68; font-variant-numeric: tabular-nums; line-height: 1.3; }
.pf-kpi-main { background: #eef8f0; border-color: #cdebd5; }
.pf-kpi-main b { color: #15803d; }
.pf-kpi-main.warn { background: #fff7ec; border-color: #f4dfc0; }
.pf-kpi-main.warn b { color: #c2760a; }
.pf-kpi small { font-size: 11px; font-weight: 400; color: #8b9bb0; margin-left: 3px; }

/* 班组长 */
.pf-leaders { display: flex; flex-direction: column; gap: 8px; }
.pf-sec-b .le-row { display: grid; grid-template-columns: 1.1fr 1.3fr auto auto; gap: 8px; align-items: center; }
.pf-sec-b .le-row input { padding: 9px 11px; border: 1px solid #dbe5f0; border-radius: 10px; font-size: 14px; }
.pf-sec-b .le-show { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #4b6b8a; white-space: nowrap; }
.pf-sec-b .le-del { width: 32px; height: 32px; border-radius: 9px; border: 1px solid #f0d6d6; background: #fff7f7; color: #d4514b; font-size: 16px; }
.pf-add {
  margin-top: 9px; border: 1.5px dashed #b9d4ee; background: #fbfdff; color: #2e75b6; border-radius: 10px;
  padding: 9px 14px; font-size: 13px; font-weight: 600; width: 100%;
}
.pf-add:hover { background: #edf5fe; border-color: #2e75b6; }

/* 底部操作条 */
.pf-foot {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid #e6eef7; background: #fff;
  box-shadow: 0 -6px 18px rgba(15, 35, 60, .06);
}
.pf-foot-tip { font-size: 11.5px; color: #8b9bb0; line-height: 1.5; }
.pf-foot-btns { display: flex; gap: 8px; margin-left: auto; }
.pf-foot-btns .btn { min-width: 104px; padding: 10px 18px; font-size: 14.5px; }

.hidden { display: none !important; }

@media (max-width: 760px) {
  .modal.pf-modal { width: 100%; height: 94vh; max-height: 96vh; border-radius: 14px; }
  .pf-head { padding: 13px 14px; }
  .pf-badge { width: 36px; height: 36px; font-size: 18px; }
  .pf-modal h3 { font-size: 17px; }
  .pf-head p { font-size: 11px; }
  .pf-body { padding: 11px 12px 4px; }
  .pf-sec-b { padding: 11px 12px 12px; }
  .pf-seg, .pf-choice, .pf-grid3, .pf-grid2 { grid-template-columns: 1fr; }
  .pf-seg { grid-template-columns: 1fr 1fr 1fr; }
  .pf-seg button { padding: 8px 6px; text-align: center; }
  .pf-seg button em { display: none; }
  .pf-sec-b .le-row { grid-template-columns: 1fr 1fr; }
  .pf-num-box { max-width: none; }
  .pf-foot { padding: 10px 12px; }
  .pf-foot-tip { display: none; }
  .pf-foot-btns { width: 100%; }
  .pf-foot-btns .btn { flex: 1 1 0; }
}

/* 岗位管理页头：标题 + 步骤条 */
.pos-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pos-head h3 { margin-bottom: 4px; }
.pos-head p { margin: 0; font-size: 12.5px; line-height: 1.6; max-width: 620px; }
.pf-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.pf-flow span {
  font-size: 12px; color: #2e5b86; background: #eef6ff; border: 1px solid #dbe9f8; border-radius: 999px;
  padding: 3px 10px; white-space: nowrap;
}
.pf-flow i { font-style: normal; color: #b6c6d8; font-size: 12px; }
.pos-note { font-size: 12px; line-height: 1.75; margin-bottom: 10px; }
@media (max-width: 760px) {
  .pos-head { flex-direction: column; }
  .pf-flow span { font-size: 11px; padding: 2px 8px; }
}

/* 编辑器内层：弹性列布局（头部固定 / 中部滚动 / 底部固定） */
.pf-wrap { display: flex; flex-direction: column; height: 100%; min-height: 0; }

/* ===== 引导图管理 v2（操作指引 + 标签卡片 + 步骤轨道） ===== */
.ws-howto { background: linear-gradient(120deg, #f1f8ff 0%, #f8fcff 100%); border: 1px solid #d9e8f7; border-radius: 14px; padding: 14px 16px; margin-bottom: 4px; }
.ws-howto-h { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: #14417a; margin-bottom: 11px; }
.ws-howto-h .bar { width: 5px; height: 16px; border-radius: 3px; background: var(--brand); }
.ws-howto-row { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.ws-howto-item { flex: 1; min-width: 195px; display: flex; gap: 10px; background: #fff; border: 1px solid #e3eefb; border-radius: 11px; padding: 11px 13px; }
.ws-howto-no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ws-howto-t { font-size: 13.5px; font-weight: 700; color: #1f2937; }
.ws-howto-d { font-size: 12.5px; color: #6b7280; line-height: 1.55; margin-top: 2px; }

.ws-tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 14px 0 0; }
.ws-tag { display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; transition: .16s; }
.ws-tag:hover { border-color: #b9d5ef; box-shadow: 0 4px 12px rgba(46,117,182,.09); transform: translateY(-1px); }
.ws-tag.active { border-color: var(--brand); background: #f5faff; box-shadow: 0 0 0 3px rgba(46,117,182,.13); }
.ws-tag-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #eff5fc; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ws-tag.active .ws-tag-ico { background: #e2effd; }
.ws-tag-main { flex: 1; min-width: 0; }
.ws-tag-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 700; color: #1f2937; line-height: 1.35; min-height: 37px; }
.ws-tag-meta { display: block; font-size: 12px; color: #8a94a3; margin-top: 1px; }
.ws-tag-num { flex: none; min-width: 28px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: #eef2f7; color: #6b7280; }
.ws-tag-num.done { background: #e7f6ee; color: #15803d; }
.ws-tag-num.empty { background: #fdeeee; color: #b91c1c; }

.ws-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 14px; }
.ws-toolbar .tail { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.ws-board { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 4px; }
.ws-board-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px dashed #e8eef6; }
.wsb-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #eff5fc; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.wsb-title { font-size: 16px; font-weight: 800; color: #14417a; }
.wsb-sub { font-size: 12.5px; color: #8a94a3; margin-top: 2px; }
.wsb-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.ws-add-btn { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 9px 17px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px rgba(46,117,182,.24); }
.ws-add-btn:hover { background: var(--brand-dark); }

.ws-steps { margin: 4px 0 6px; }
.ws-step-row { display: flex; gap: 12px; }
.ws-rail { flex: none; width: 32px; display: flex; flex-direction: column; align-items: center; padding-top: 10px; }
.ws-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #b9d5ef; color: var(--brand); font-size: 13.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ws-line { flex: 1; width: 2px; background: linear-gradient(#cfe2f5, #eaf2fb); margin: 4px 0; border-radius: 2px; }
.ws-step-box { flex: 1; min-width: 0; display: flex; gap: 12px; background: #fcfdff; border: 1px solid #e8eef6; border-radius: 12px; padding: 10px; margin-bottom: 10px; transition: .16s; }
.ws-step-box:hover { background: #fff; border-color: #c9dff4; box-shadow: 0 5px 16px rgba(31,92,148,.08); }
.ws-step-media { flex: none; width: 134px; height: 100px; border-radius: 9px; overflow: hidden; background: #eef2f7; }
.ws-step-media img, .ws-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-thumb-holder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; font-size: 11.5px; color: #8a94a3; }

/* 点图片放大看原图：只叠一层，不改动列表排版 */
.ws-step-media img.ws-zoomable, .ws-thumb-img.ws-zoomable { cursor: zoom-in; }
.ws-step-media:hover { box-shadow: 0 0 0 2px rgba(31,92,148,.18) inset; }
.photo-zoom { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center;
  background: rgba(8,14,22,.86); padding: 24px; cursor: zoom-out; -webkit-tap-highlight-color: transparent; }
.photo-zoom.on { display: flex; }
.photo-zoom img { max-width: 94vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.5); background: #0b1118; }
.photo-zoom.pz-loading img { min-width: 180px; min-height: 120px; }
.photo-zoom .pz-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; color: #cbd5e1; letter-spacing: .5px; pointer-events: none; }
.photo-zoom .pz-x { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font-size: 16px; line-height: 1; }
@media (max-width: 640px) {
  .photo-zoom { padding: 10px; }
  .photo-zoom img { max-width: 96vw; max-height: 82vh; }
}
.ws-step-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-step-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: #1f2937; }
.ws-step-badge { font-size: 11.5px; font-weight: 700; color: var(--brand); background: #eaf2fb; border-radius: 6px; padding: 1px 8px; }
.ws-step-desc { font-size: 12.5px; color: #6b7280; line-height: 1.55; margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ws-step-ops { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.ws-op { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; color: #4b5563; }
.ws-op:hover:not(:disabled) { border-color: #b9d5ef; color: var(--brand); }
.ws-op.danger:hover { border-color: #fecaca; color: var(--err); }
.ws-op:disabled { opacity: .38; cursor: not-allowed; }

.ws-empty { border: 2px dashed #c7ddf3; border-radius: 14px; background: #f8fbff; padding: 30px 20px; text-align: center; margin: 14px 0; }
.ws-empty-ico { font-size: 30px; }
.ws-empty-t { font-size: 15px; font-weight: 800; color: #14417a; margin-top: 6px; }
.ws-empty-d { font-size: 12.5px; color: #7b8794; margin-top: 4px; line-height: 1.6; }
.ws-empty .btn { margin-top: 12px; }
.ws-leader-slot { position: relative; padding-left: 44px; margin: 0 0 10px; }
.ws-leader-slot::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(#dbe8f5 0 4px, transparent 4px 9px); }

@media (max-width: 640px) {
  .ws-howto-item { min-width: 100%; }
  .ws-tag-grid { grid-template-columns: 1fr; }
  .ws-tag-name { min-height: 0; -webkit-line-clamp: 1; font-size: 14.5px; }
  .ws-tag { padding: 12px 13px; }
  .ws-toolbar { margin: 10px 0 12px; }
  .ws-toolbar .tail { margin-left: 0; width: 100%; }
  .ws-step-media { width: 92px; height: 70px; }
  .ws-step-box { gap: 9px; padding: 9px; }
  .ws-step-desc { -webkit-line-clamp: 3; }
  .wsb-actions { margin-left: 0; width: 100%; }
  .ws-add-btn { width: 100%; }
}

/* 引导图：班组长提示框设置与预览（补齐样式） */
.ws-leader-set { margin: 6px 0 14px; padding: 12px 14px; border: 1px solid #e8eef6; border-radius: 12px; background: #fbfdff; }
.wls-h { font-size: 13.5px; font-weight: 700; color: #14417a; margin-bottom: 9px; }
.wls-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: #4b5563; }
.wls-row input { width: 68px; height: 34px; border: 1px solid #d7e3f0; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 700; color: #1f2937; background: #fff; }
.wls-row .btn { height: 34px; display: inline-flex; align-items: center; }
.wls-tip { font-size: 12.5px; color: #8a94a3; margin-top: 8px; line-height: 1.55; }
.wls-tip b { color: var(--brand); }

.ws-leader-preview { border: 1px dashed #cfe2f5; border-radius: 12px; background: #f7fbff; padding: 10px 12px 12px; }
.wlp-badge { font-size: 12px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
/* 班组长提示框：可像步骤一样直接用 ↑↓ 挪位置 */
.wlp-badge { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wlp-move { display: flex; gap: 6px; }
.wlp-move .ws-op { font-weight: 700; }
.wls-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wls-now { font-size: 12.5px; color: #4b5563; }
.wls-now b { color: var(--brand); }
.ws-leader-preview .leader-box { background: #fff; border: 1px solid #dceaf8; border-radius: 10px; padding: 12px 14px; }

/* 引导图上传弹窗：编号步骤字段 */
.wm-no { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; margin-right: 6px; vertical-align: middle; }
.wm-hint { font-size: 12px; color: #8a94a3; margin-top: 5px; line-height: 1.55; }

/* ===== 首页 v2：降噪 + 突出「开始申请」 ===== */
.hero { padding: 22px 20px 24px; }
.hero .hero-flow { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; background: rgba(255,255,255,.15); border-radius: 999px; padding: 5px 13px; font-size: 12px; color: #eaf3ff; }
.hero .hero-flow i { font-style: normal; opacity: .55; }
.hero .hero-intro { margin-top: 10px; }
.hero .hero-intro .direct { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.26); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; line-height: 1.65; color: #f2f8ff; white-space: pre-wrap; }
.hero .hero-intro.open .direct { display: block; }
.hero-intro-toggle { margin-top: 6px; background: none; border: 0; color: #cfe4ff; font-size: 12px; padding: 2px 0; }

.home-sec { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.home-sec h3 { margin: 0; font-size: 17px; color: #14417a; }
.home-sec-count { font-size: 12px; font-weight: 700; color: var(--brand); background: #eaf2fb; border-radius: 999px; padding: 2px 9px; }
.home-sec-tip { margin-left: auto; font-size: 11.5px; color: #9aa3ad; }

.position { padding: 14px 15px; margin-bottom: 10px; border-radius: 13px; }
.position .pc-head h3 { font-size: 16.5px; }
.position .pc-right { display: flex; align-items: center; gap: 8px; flex: none; }
.position .pc-arr { color: #c2cbd6; font-size: 18px; line-height: 1; }
.position .pc-meta { margin-top: 6px; gap: 6px; }
.position .pc-meta .remain { font-size: 11.5px; padding: 2px 9px; }
.position .pc-meta .tag { font-size: 11.5px; }

.pc-pay.off { background: #eef1f6; color: #9ca3af; }
.remain.off { background: #eef1f6; color: #9ca3af; }

.home-faq-card { padding: 13px 14px; margin-bottom: 12px; }
.hfaq-title { font-size: 14px; font-weight: 700; color: #14417a; margin-bottom: 8px; }
.home-faq-card .hfaq-input { display: flex; gap: 8px; }
.home-faq-card .hfaq-input input { flex: 1; height: 40px; border: 1px solid #dbe6f2; border-radius: 10px; padding: 0 12px; font-size: 14px; background: #fbfdff; }
.home-faq-card .hfaq-input .btn { height: 40px; padding: 0 16px; border-radius: 10px; }
.home-faq-card .hfaq-hints { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.home-faq-card .tfh-label { font-size: 11.5px; color: #9aa3ad; }
.home-faq-card .tfh-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; }

#view-home .home-note { padding: 13px 14px; background: #fbfdff; border-style: dashed; margin-bottom: 12px; }
#view-home .home-note h3 { font-size: 14px; margin-bottom: 6px; }
#view-home .home-note .pre { font-size: 12.5px; line-height: 1.65; }
#view-home .home-info { min-height: 0; }

#view-home .container { padding-bottom: 88px; }
.home-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; z-index: 45;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-top: 1px solid #e8eef6; box-shadow: 0 -4px 16px rgba(15,40,80,.07); }
.home-bar .hb-ghost { flex: 0 0 auto; height: 48px; padding: 0 13px; border: 1px solid #d7e3f0; background: #fff; color: #4b6b8a; border-radius: 12px; font-size: 12.5px; font-weight: 700; }
.home-bar .hb-main { flex: 1; height: 48px; border: 0; border-radius: 12px; color: #fff; font-size: 16.5px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(135deg, #2e75b6 0%, #1f5c94 100%); box-shadow: 0 6px 16px rgba(31,92,148,.28); display: flex; align-items: center; justify-content: center; gap: 8px; }
.home-bar .hb-main.is-off { background: #cbd5e1; box-shadow: none; }
.home-bar .hb-arr { font-size: 19px; opacity: .85; }

@media (max-width: 380px) {
  .home-bar .hb-ghost { padding: 0 10px; font-size: 11.5px; }
  .home-bar .hb-main { font-size: 15.5px; }
}

/* ===== 系统设置：折叠面板（默认收起，点开编辑） ===== */
.set-toolbar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12.5px; color: #8a94a3; }
.set-tb-tip { flex: 1; }
.set-tb-acts { display: flex; gap: 8px; }
#panel-settings .set-sec { padding: 0; overflow: hidden; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.set-head { display: flex; align-items: center; gap: 10px; padding: 13px 15px; cursor: pointer; user-select: none; transition: background .15s; }
.set-head:hover { background: #f7fbff; }
.set-head:focus-visible { outline: 2px solid #b9d5ef; outline-offset: -2px; }
.set-idx { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #eef5fc; color: var(--brand); font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.set-title { flex: none; max-width: 58%; font-size: 15px; font-weight: 700; color: #14417a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-sum { flex: 1; min-width: 0; font-size: 12px; color: #9aa3ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-chev { flex: none; color: #9aa3ad; font-size: 13px; transition: transform .18s; }
.set-sec.open .set-chev { transform: rotate(180deg); }
.set-body { display: none; padding: 2px 15px 15px; border-top: 1px dashed #eef2f7; }
.set-sec.open .set-body { display: block; }
.set-sec.open { box-shadow: 0 6px 18px rgba(31,92,148,.08); }

@media (max-width: 520px) {
  .set-title { max-width: 46%; font-size: 14px; }
  .set-sum { display: none; }
}

/* 首页底部固定按钮出现时，给页面末尾的 HR 入口留出空间（用 padding 防外边距塌陷） */
body.home-on { padding-bottom: 92px; background: #fff; }

/* 数据备份与清理卡片 */
.bk-export { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: #f7fbff; border: 1px solid #e3eefb; border-radius: 12px; padding: 12px 14px; }
.bk-export .bk-t { font-size: 14px; font-weight: 700; color: #14417a; }
.bk-export .bk-d { font-size: 12.5px; color: #6b7280; line-height: 1.6; margin-top: 3px; }
.bk-sep { height: 1px; background: repeating-linear-gradient(90deg, #e8eef6 0 6px, transparent 6px 12px); margin: 14px 0; }
.bk-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #1f2937; cursor: pointer; }
.bk-check input { width: 17px; height: 17px; }
.bk-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 13.5px; color: #4b5563; }
.bk-row input { width: 78px; height: 34px; border: 1px solid #d7e3f0; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 700; color: #1f2937; background: #fff; }
.bk-row .btn { height: 34px; display: inline-flex; align-items: center; }
@media (max-width: 520px) { .bk-export { grid-template-columns: 1fr; } .bk-export .btn { width: 100%; } }

/* 引导图统一横版：4:3 画框，任何比例的图都不会被拉变形 */
.imgfull { aspect-ratio: 4 / 3; object-fit: contain; background: #e8eef5; border-radius: 10px; display: block; width: 100%; margin: 8px 0; }
.home-faq-card img.imgfull, .faq-body img.imgfull { aspect-ratio: auto; object-fit: contain; }

/* ============ 引导图查看器（点击图片全屏放大） ============
   注意：这一层必须有 fixed 定位和足够高的 z-index，
   否则它会以普通块元素的形式被追加到页面最底部 —— 就是「图片跑到最下面、关不掉」的根因。 */
#imgViewer {
  position: fixed; inset: 0; z-index: 9999;
  display: none; background: rgba(0, 0, 0, .94);
  overscroll-behavior: contain; touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#imgViewer.on { display: block; }
#imgViewer .iv-body {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden; touch-action: none;
}
#imgViewer .iv-body img {
  max-width: 100vw; max-height: 100vh; width: auto; height: auto;
  transform-origin: center center; will-change: transform;
  transition: transform .12s ease-out; pointer-events: none;
}
#imgViewer .iv-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 42px; height: 42px; line-height: 40px; text-align: center;
  border-radius: 50%; font-size: 26px; font-weight: 400;
  color: #fff; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  cursor: pointer;
}
#imgViewer .iv-tip {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
  text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .78);
  pointer-events: none;
}
body.iv-open { overflow: hidden; }
img.ws-zoom { cursor: zoom-in; }
