* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
/* 底部固定导航栏（.bottombar，约 44px）会盖住页面最底部一条内容：
   滚动/scrollIntoView 时用 scroll-padding 把它让开，否则贴底那一行的按钮点不到（点了等于没点） */
html { scroll-padding-bottom: 84px; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f2f3f5; color: #1f2329; font-size: 14px; line-height: 1.6; }
.app { max-width: 480px; margin: 0 auto; background: #f2f3f5; min-height: 100vh; position: relative; padding-bottom: 84px; scroll-padding-bottom: 84px; }
.topbar { background: #185fa5; color: #fff; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; height: 48px; }
.topbar h1 { font-size: 16px; font-weight: 500; }
.topbar .user { font-size: 12px; opacity: .9; }
.tabs { display: flex; background: #fff; border-bottom: 1px solid #e5e6eb; position: sticky; top: 48px; z-index: 9; }
.tab { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: #4e5969; }
.tab.active { color: #185fa5; font-weight: 500; border-bottom: 2px solid #185fa5; }
.list { padding: 12px; }
.card { position: relative; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card.jobcard { border: 1px solid #185fa5; border-radius: 14px; padding: 14px 16px; }
.card h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.card .meta { font-size: 12px; color: #86909c; margin-bottom: 8px; }
.card .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.card .cbody { padding-right: 44px; }
.card .crow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; font-size: 13px; line-height: 1.4; }
.card .crow:first-child { margin-top: 0; }
.card .crow.headrow { align-items: flex-start; margin-bottom: 4px; }
.card .crow .left { flex: 0 0 60%; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .crow .right { flex: 0 0 40%; min-width: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .crow.headrow .left { flex: 1 1 auto; min-width: 0; }
.card .crow.headrow .right { flex: 0 0 auto; min-width: 0; text-align: right; }
.card .mtime { font-size: 10px; color: #e53935; }
.card .divider { height: 1px; background: #185fa5; margin: 10px 0; }
/* 岗位/性别/薪酬/年龄/班次 五列 */
.card .crow.posrow { gap: 0; margin-top: 6px; align-items: center; height: 20px; }
.card .crow.posrow .cell { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.card .crow.posrow .cell:first-child { text-align: left; padding-left: 0; }
.card .crow.posrow .cell:last-child { text-align: right; padding-right: 0; }
.card .crow.posrow .cell.mjobs { flex: 1.5 1 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.card .crow.posrow .cell.mpay { font-size: 12px; }
.card .crow.footrow { margin-top: 10px; align-items: center; justify-content: flex-start; gap: 6px; }
.card .mname { font-size: 19px; font-weight: 600; color: #e53935; }
.card .headright { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; }
.card .headright .miv { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 10px; color: #d97a1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.card .headright .miv-label { flex: 0 0 auto; }
.card .headright .miv-time { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card .mjobs { font-size: 14px; font-weight: 500; color: #1d2129; }
.card .mgender { color: #185fa5; }
.card .mpay { color: #e53935; font-weight: 600; }
.card .mshift { color: #3b6d11; }
.card .crow .left.mfood { flex: 1 1 auto; min-width: 0; background: #f2f3f5; color: #4e5969; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.card .mregion { flex: 0 0 40px; min-width: 40px; max-width: 40px; background: #f2f3f5; color: #4e5969; font-size: 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; display: inline-flex; align-items: flex-start; justify-content: center; height: 24px; box-sizing: border-box; position: relative; }
.card .mregion:empty { min-height: 24px; }
.mregion-roll { display: flex; flex-direction: column; animation: regionRoll 6s ease-in-out infinite; width: 100%; }
.mregion-item { height: 24px; line-height: 24px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; box-sizing: border-box; }
@keyframes regionRoll {
  0%, 38% { transform: translateY(0); animation-timing-function: linear; }
  40%, 88% { transform: translateY(-24px); animation-timing-function: linear; }
  90%, 100% { transform: translateY(0); }
}
/* 收藏星：黑色大星，40px 宽，距卡片右边缘 10px（整体右移 40px 后的位置） */
.card.jobcard .gfav { position: absolute; right: 10px; top: 14px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 32px; line-height: 1; color: #1f2329; cursor: pointer; z-index: 2; }
.card.jobcard .gfav.on { color: #1f2329; }
/* 二维码按钮：40px 宽，与收藏星同竖线，底部对齐灰块下边缘 */
.card .cbody { position: relative; }
.card.jobcard .gqr { position: absolute; right: -6px; bottom: 0; top: auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #1f2329; background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; box-sizing: border-box; cursor: pointer; z-index: 2; }
.card.jobcard .gqr:active { background: #f2f3f5; }
.qrbox { margin: 12px 0 4px; text-align: center; min-height: 180px; display: flex; align-items: center; justify-content: center; color: #86909c; font-size: 14px; }
.qrbox img { max-width: 100%; max-height: 320px; border-radius: 8px; }
.job-del { display: inline-block; margin-left: 8px; font-size: 12px; color: #e53935; cursor: pointer; }
.job-del:hover { text-decoration: underline; }

/* 折叠卡片：用于手动录入入口 */
.card.collapse { padding: 0; }
.card.collapse .collapse-head { display: flex; align-items: center; justify-content: space-between; padding: 14px; cursor: pointer; }
.card.collapse .collapse-head .subhead { margin: 0; }
.card.collapse .collapse-arrow { color: #86909c; font-size: 14px; }
.card.collapse .collapse-body { padding: 0 14px 14px; }
.tag { background: #e6f1fb; color: #185fa5; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.tag.g { background: #eaf3de; color: #3b6d11; }
.tag.o { background: #faefdd; color: #854f0b; }
.tag.y { background: #fff7d6; color: #8a6d00; }   /* 无招聘（黄） */
.btn { display: block; width: 100%; padding: 12px; background: #185fa5; color: #fff; border: none; border-radius: 10px; font-size: 15px; text-align: center; }
.btn.ghost { background: #fff; color: #185fa5; border: 1px solid #185fa5; }
.btn.wechat { background: #07c160; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: #4e5969; margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 14px; font-family: inherit; }
.field textarea { min-height: 120px; resize: vertical; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; z-index: 20; }
.modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 90%; max-width: 440px; max-height: calc(100vh - 120px); overflow: auto; background: #fff; border-radius: 14px; padding: 18px; z-index: 21; display: none; }
.modal.show, .modal-mask.show { display: block; }
.modal h2 { font-size: 17px; margin-bottom: 10px; }
.modal .close { float: right; font-size: 22px; color: #86909c; line-height: 1; cursor: pointer; }

/* ---- 招工详情弹窗：头部固定 + 内容双列 ---- */
#modal.detail .modal { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.detail-modal { display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 120px); }
.detail-head { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid #e5e6eb; }
.detail-head .dh-txt { min-width: 0; }
.detail-head h2 { margin: 0; font-size: 17px; line-height: 1.3; }
.detail-head .dh-sub { font-size: 12px; color: #86909c; margin-top: 3px; line-height: 1.5; }
/* v241 岗位详情右上角「↗ 转发」：与关闭 × 并成一排（× 原来是 float，进 flex 里要清掉） */
.detail-head .dh-acts { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.detail-head .dh-acts .close { float: none; flex: 0 0 auto; }
.detail-head .dh-share { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  background: #e6f1fb; color: #185fa5; border: 1px solid #b8d4f5; border-radius: 8px;
  font-size: 13px; line-height: 1; padding: 7px 10px; cursor: pointer; white-space: nowrap; user-select: none; }
.detail-head .dh-share:active { background: #d3e3f8; }
.detail-head .dh-share.busy { opacity: .55; pointer-events: none; }
.detail-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 18px 18px; -webkit-overflow-scrolling: touch; }
.detail-grid { display: block; margin-top: 4px; }
.detail-section { padding: 2px 0; }
.section-sep { border: none; border-top: 1px dashed #d9d9d9; margin: 12px 0; }
.field-row { display: flex; gap: 14px; margin-bottom: 10px; }
.field-row:last-child { margin-bottom: 0; }
.field-row .field { flex: 1; margin-bottom: 0; min-width: 0; }
.field-row.full .field { flex: none; width: 100%; }
.detail-grid .field label { font-size: 12px; color: #86909c; display: inline; margin-right: 6px; }
.detail-grid .field > div { display: inline; font-size: 13px; color: #1d2129; line-height: 1.5; word-break: break-all; }
/* 固定格式下空值占位符：灰色弱显示，不隐藏 */
.detail-grid .field > div.v.empty { color: #b0b3bb; }
/* 编辑招工弹窗：字段排版与前端详情页一致（标签+输入同行、双列、区块虚线） */
#modal.edit .modal { max-width: 600px; width: 94vw; }
/* 工厂档案弹窗：标题与关闭按钮固定不滚动，只有下面的表单/媒体内容滚动（v124） */
#modal.facedit .modal { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
#modal.facedit .modal > .edit-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid #e5e6eb; background: #fff; }
#modal.facedit .modal > .edit-head h2 { margin: 0; font-size: 17px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#modal.facedit .modal > .edit-head .close { float: none; flex: 0 0 auto; }
#modal.facedit .modal > #editView { flex: 1 1 auto; overflow-y: auto; padding: 12px 18px 18px; -webkit-overflow-scrolling: touch; }
#modal.edit .detail-grid { margin-top: 8px; }
#modal.edit .detail-section { padding: 0; }
#modal.edit .field-row { margin-bottom: 8px; }
#modal.edit .field { display: flex; align-items: center; gap: 6px; min-width: 0; }
#modal.edit .field label { flex: 0 0 auto; display: inline; margin: 0; white-space: nowrap; }
#modal.edit .field input { flex: 1 1 auto; width: auto; min-width: 0; padding: 5px 8px; font-size: 13px; margin: 0; }
#modal.edit .rowbtns { margin-top: 14px; }

/* ===== AI 整理结果弹窗表格（电脑端宽表，横向滚动对比几十条） ===== */
#modal.clean .modal { max-width: 960px; width: 95vw; max-height: calc(100vh - 120px); padding: 0; overflow: hidden; }
.clean-modal { display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 120px); }
.cm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #e5e6eb; background: #fff; flex: 0 0 auto; flex-wrap: wrap; }
.cm-title { font-size: 15px; font-weight: 600; color: #1f2329; }
.cm-title .badge { background: #185fa5; color: #fff; border-radius: 10px; padding: 1px 8px; font-size: 12px; margin-left: 4px; }
.cm-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.cm-tools button { font-size: 12px; padding: 5px 10px; border: 1px solid #d0d3d9; background: #fff; border-radius: 6px; cursor: pointer; color: #4e5969; }
.cm-tools button:hover { border-color: #185fa5; color: #185fa5; }
.cm-wrap { overflow: auto; flex: 1 1 auto; background: #fff; }
.cm-table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 13px; }
.cm-table th, .cm-table td { border-bottom: 1px solid #eef0f3; border-right: 1px solid #f2f3f5; padding: 7px 8px; text-align: left; white-space: nowrap; vertical-align: middle; }
.cm-table thead th { position: sticky; top: 0; background: #f3f5f8; z-index: 2; color: #4e5969; font-weight: 600; }
.cm-table thead th.sortable { cursor: pointer; user-select: none; }
.cm-table thead th.sortable:hover { color: #185fa5; }
.cm-table tbody tr:hover { background: #fafbfc; }
.cm-table tr.sel td { background: #eef6ff; }
.cm-table input:not([type]), .cm-table input[type=text] { width: 96px; padding: 4px 6px; border: 1px solid #d0d3d9; border-radius: 5px; font-size: 13px; }
.cm-table select { width: 132px; padding: 4px 6px; border: 1px solid #d0d3d9; border-radius: 5px; font-size: 13px; }
.cm-idx { color: #86909c; text-align: center; }
.cm-badge { font-size: 11px; padding: 1px 6px; border-radius: 5px; margin-top: 3px; display: inline-block; cursor: pointer; }
.cm-badge.ok { background: #e6f1fb; color: #185fa5; }
.cm-badge.warn { background: #fff4e0; color: #d97700; }
.cm-badge.err { background: #fde2e2; color: #cb2634; }
.cm-del { color: #cb2634; cursor: pointer; font-size: 13px; }
.cm-del:hover { text-decoration: underline; }
.cm-foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #e5e6eb; background: #fff; flex: 0 0 auto; flex-wrap: wrap; }
.cm-foot .selcount { font-size: 13px; color: #4e5969; }
.cm-foot label { font-size: 12px; color: #86909c; display: flex; align-items: center; gap: 4px; }
.cm-foot input { width: 110px; padding: 5px 8px; border: 1px solid #d0d3d9; border-radius: 6px; font-size: 13px; }
.cm-foot .btn.wechat { margin-left: auto; }
/* ===== AI 整理结果：工厂卡 + 岗位块（改用「工厂明细」5 区块结构，按工厂分组） ===== */
#modal.clean .cm-wrap { padding: 10px 12px; background: #f5f7fa; }
#modal.clean .detail-grid { margin: 0; }
#modal.clean .detail-section { padding: 6px 0 2px; }
#modal.clean .detail-section .field { margin-bottom: 0; }
#modal.clean .field { margin-bottom: 0; }
#modal.clean .field label { display: block; font-size: 12px; color: #86909c; margin-bottom: 3px; }
#modal.clean .field input { width: 100%; padding: 8px 10px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
#modal.clean .field-row { gap: 10px; margin-bottom: 8px; }
#modal.clean .fac-card { border: 1px solid #e5e6eb; border-radius: 12px; margin: 10px 0; overflow: hidden; background: #fff; }
#modal.clean .fac-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 9px 10px; background: #f5f8fc; border-bottom: 1px solid #eef0f3; }
#modal.clean .fac-name { flex: 1 1 150px; }
#modal.clean .fac-name .field input { font-weight: 600; color: #1d2129; }
#modal.clean .fac-region { flex: 0 0 92px; }
#modal.clean .fac-match { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 160px; }
#modal.clean .fac-namelabel { font-size: 12px; color: #4e5969; word-break: break-all; }
#modal.clean .fac-sel { flex: 0 0 auto; max-width: 168px; padding: 7px 8px; border: 1px solid #d0d3d9; border-radius: 8px; font-size: 13px; background: #fff; }
#modal.clean .cand-row { flex-basis: 100%; display: flex; gap: 6px; flex-wrap: wrap; }
#modal.clean .job-block { padding: 8px 10px 10px; border-top: 1px dashed #e5e6eb; }
#modal.clean .job-block.sel { background: #eef6ff; }
#modal.clean .jb-head { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; }
#modal.clean .jb-title { font-weight: 600; color: #1d2129; font-size: 14px; }
#modal.clean .jb-del { margin-left: auto; font-size: 12px; color: #e53935; cursor: pointer; }
#modal.clean .jb-del:hover { text-decoration: underline; }
/* 工制分块：长期工 / 日结 / 临时工 */
#modal.clean .proj-block { margin: 8px 10px 0; border: 1px solid #e3e8ef; border-radius: 10px; overflow: hidden; background: #fff; }
#modal.clean .proj-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fafbfc; border-bottom: 1px solid #eef0f3; }
#modal.clean .proj-name { font-weight: 700; color: #1d2129; font-size: 13px; }
#modal.clean .proj-tag { font-size: 11px; color: #fff; padding: 1px 7px; border-radius: 999px; }
#modal.clean .proj-long .proj-head { background: #e8eefc; }
#modal.clean .proj-long .proj-tag { background: #185fa5; }
#modal.clean .proj-day .proj-head { background: #e8f5e9; }
#modal.clean .proj-day .proj-tag { background: #2e9e4f; }
#modal.clean .proj-temp .proj-head { background: #fff4e5; }
#modal.clean .proj-temp .proj-tag { background: #e08a1e; }
#modal.clean .proj-formal .proj-head { background: #f0e9fb; }
#modal.clean .proj-formal .proj-tag { background: #7b3fb0; }
#modal.clean .proj-count { margin-left: auto; font-size: 11px; color: #86909c; }
#modal.clean .proj-body .job-block { border-top: 1px dashed #e5e6eb; }
#modal.clean .proj-body .job-block:first-child { border-top: none; }
/* 详情页工制分块（与整理页配色一致） */
.detail-modal .gz-block { margin: 10px 0; border: 1px solid #e3e8ef; border-radius: 10px; overflow: hidden; background: #fff; }
.detail-modal .gz-head { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #fafbfc; border-bottom: 1px solid #eef0f3; }
.detail-modal .gz-name { font-weight: 700; color: #1d2129; font-size: 14px; display: inline-block; min-width: 48px; flex: 0 0 auto; }
.detail-modal .gz-tag { font-size: 11px; color: #fff; padding: 1px 7px; border-radius: 999px; }
.detail-modal .gz-long .gz-head { background: #e8eefc; }
.detail-modal .gz-long .gz-tag { background: #185fa5; }
.detail-modal .gz-day .gz-head { background: #e8f5e9; }
.detail-modal .gz-day .gz-tag { background: #2e9e4f; }
.detail-modal .gz-temp .gz-head { background: #fff4e5; }
.detail-modal .gz-temp .gz-tag { background: #e08a1e; }
.detail-modal .gz-count { margin-left: auto; font-size: 11px; color: #86909c; white-space: nowrap; flex: 0 0 auto; }
/* 工制切换按钮：未选中=淡色、选中=深蓝（三个按钮始终可点） */
.detail-modal .gz-tabs { display: inline-flex; align-items: center; gap: 4px; margin-left: 0; flex: 0 0 auto; }
.detail-modal .gz-tab { display: inline-block; width: 48px; box-sizing: border-box; padding: 1px 0; text-align: center; border-radius: 999px; font-size: 11px; line-height: 1.7; border: 1px solid #c3d8f2; background: #e8f0fb; color: #185fa5; cursor: pointer; }
.detail-modal .gz-tab.cur { background: #185fa5; border-color: #185fa5; color: #fff; font-weight: 600; }
/* 工制内容区：三个工制叠放在同一格，容器高度恒等于最高的工制 → 切换/空工制都不改变弹窗高度 */
.detail-modal .gz-bodies { display: grid; }
.detail-modal .gz-body { grid-area: 1 / 1; min-width: 0; }
/* 待处理卡片：与今日发布详情同款（工厂卡 → 月结/日结/临时工切换 → 岗位块） */
.draft-fac { border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; margin: 10px 0; overflow: hidden; }
/* v133 发布页子 Tab */
/* v140 发布页子 Tab：完全固定死（fixed 钉在 48px 顶栏正下方，不随滚动）+ 四键横向均布 */
.pubtabs { display: flex; gap: 8px; padding: 8px 12px; position: fixed; top: 48px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; box-sizing: border-box; z-index: 9; background: #f2f3f5; }
/* fixed 脱离文档流：占位防内容上跳 */
#view-publish::before { content: ''; display: block; height: 53px; }
/* v142 用户管理页 3 子 Tab 复用 .pubtabs（fixed），同样要占位 */
#view-users::before { content: ''; display: block; height: 53px; }
.pubtab { flex: 1 1 0; min-width: 0; padding: 7px 0; border-radius: 999px; border: 1px solid #d0d3d9; background: #fff; color: #4e5969; font-size: 13px; cursor: pointer; text-align: center; white-space: nowrap; }
.pubtab.cur { background: #185fa5; border-color: #185fa5; color: #fff; font-weight: 600; }
.pubsub .list { padding: 10px 12px; }
/* v133 待处理方块墙：一个工厂一个正方块，点开展开编辑 */
.dtile-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 0 10px; }
.dtile { width: calc(33.33% - 7px); min-width: 104px; aspect-ratio: 1 / 1; box-sizing: border-box; border: 1px solid #d0d3d9; border-radius: 12px; background: #fff; padding: 10px 8px; text-align: center; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; overflow: hidden; }
.dtile .dt-name { font-size: 14px; font-weight: 700; color: #1d2129; line-height: 1.3; max-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dtile .dt-sub { font-size: 11px; color: #86909c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dtile .dt-price { font-size: 12px; color: #185fa5; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dtile .dt-dup { font-size: 10px; color: #d4380d; background: #fdecec; border-radius: 999px; padding: 1px 6px; }
.dtile .dt-tip { font-size: 10px; color: #86909c; }
.dtile.cur { background: #185fa5; border-color: #185fa5; }
.dtile.cur .dt-name { color: #fff; }
.dtile.cur .dt-sub { color: #cfe0f5; }
.dtile.cur .dt-price { color: #fff; }
.dtile.cur .dt-tip { color: #9fc3ee; }
.dtile.cur .dt-dup { color: #ffd6cc; background: rgba(212,56,13,.55); }
#draftOpenBox .draft-fac { margin-top: 2px; }
@media (min-width: 700px) { .dtile { width: calc(20% - 8px); min-width: 128px; } }
.draft-fac .fac-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fafbfc; border-bottom: 1px solid #eef0f3; }
.draft-fac .fac-name { font-weight: 700; font-size: 14px; color: #1d2129; }
.draft-fac .fac-region { font-size: 12px; color: #86909c; }
.draft-fac .fac-match { margin-left: auto; font-size: 12px; color: #86909c; }
.draft-fac .fac-selrow { padding: 8px 12px 0; }
.draft-fac .fac-sel { width: 100%; padding: 5px 8px; border: 1px solid #d9dde3; border-radius: 8px; font-size: 13px; }
.draft-fac .gz-container { margin: 8px 12px 12px; border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; }
.draft-fac .gz-head { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #fafbfc; border-bottom: 1px solid #eef0f3; }
.draft-fac .gz-name { font-weight: 700; color: #1d2129; font-size: 14px; display: inline-block; min-width: 48px; flex: 0 0 auto; }
.draft-fac .gz-tabs { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.draft-fac .gz-tab { display: inline-block; width: 48px; box-sizing: border-box; padding: 1px 0; text-align: center; border-radius: 999px; font-size: 11px; line-height: 1.7; border: 1px solid #c3d8f2; background: #e8f0fb; color: #185fa5; cursor: pointer; }
.draft-fac .gz-tab.cur { background: #185fa5; border-color: #185fa5; color: #fff; font-weight: 600; }
.draft-fac .gz-count { margin-left: auto; font-size: 11px; color: #86909c; white-space: nowrap; flex: 0 0 auto; }
.draft-fac .gz-bodies { display: grid; }
.draft-fac .gz-body { grid-area: 1 / 1; min-width: 0; }
.draft-fac .gz-job { padding: 8px 10px 10px; border-top: 1px dashed #e5e6eb; }
.draft-fac .gz-job:first-child { border-top: none; }
.draft-fac .jb-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.draft-fac .jb-title { font-size: 13px; font-weight: 600; color: #1d2129; }
.draft-fac .jb-ops { margin-left: auto; display: inline-flex; gap: 6px; }
.draft-fac .jb-badge { flex: 0 0 auto; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.7; }
.draft-fac .jb-badge.dup { background: #fff1f0; border: 1px solid #ffccc7; color: #cf1322; }
/* 分销管理 */
.dist-tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #eef0f3; color: #57606a; }
.dist-tag.ok { background: #e6f7ec; color: #1a9d54; }
.dist-tag.warn { background: #fff3e0; color: #c2660a; }
.dist-row { padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.dist-row:last-child { border-bottom: none; }
/* v214 表头行：删���按钮永远钉在最右边、坐标恒定不动。
   事故背景：待确认时这行是 [名字][手机号][标签][确定][删除]，点「确定」后整行重渲染、
   「确定」消失 ⇒ 「删除」立刻左移／上移到刚才「确定」的位置，手指还停在那儿就误删了。
   解法：整行 nowrap 单行，按钮包进 .dacts 并用 margin-left:auto 顶到右端；
   名字/手机号可省略收缩，按钮组 flex:0 0 auto 不参与收缩 ⇒ 无论有没有「确定」，删除坐标都一样。 */
.dist-row .dhead { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-height: 30px; }
.dist-row .dhead > b { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-row .dhead > .meta { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* v214 补刀：标签本身不许被压扁。待确认那行是 [名字][手机号][纯分享][待确认][确定][删除]，
   标签多一点就被 flex 挤到换行 —— 「纯分享」变两行 ⇒ 标签从 21px 撑到 40px ⇒ 整行也跟着变 40px；
   点「确定」后标签少一个、不再被挤，行高又落回 30px ⇒ 居中的「删除」上下蹦 5px（误触隐患残留）。
   让标签 flex:0 0 auto + nowrap，高度恒为 21px，无论有没有「确定」行高都是 30px。 */
.dist-row .dhead > .dist-tag { flex: 0 0 auto; white-space: nowrap; line-height: 19px; }
.dist-row .dacts { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; white-space: nowrap; }
/* v216 「我的访客」名单固定高度 + 内部上下滑动。
   v215 刚上线时名单是把卡片撑到底的 —— 访客一多（现在 11 个、以后只会更多），
   卡片会长到老长，下面的「分销总览 / 推广员账号」要滑很久才能看到（用户截图反馈）。
   这里用 max-height 而不是 height：人少时不留空白，人多了才封顶。
   52vh 是按「一屏能完整看到约 3 行、且下方导览条以上不留大片空白」定的；
   同时给 overscroll-behavior: contain，滑到底不会把整页带着一起滚（移动端手感更好）。
   滚动条另做细样式，避免在手机上行内出现粗默认滚动条。 */
.dvscroll { max-height: 52vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.dvscroll::-webkit-scrollbar { width: 4px; }
.dvscroll::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 4px; }
.dvscroll::-webkit-scrollbar-track { background: transparent; }
/* 滚动区里的最后一行不要留底边线（视觉上更干净） */
.dvscroll .dist-row:last-child { border-bottom: none; padding-bottom: 2px; }
.dist-link { margin-top: 6px; font-size: 12px; color: #57606a; }
.dist-link code, .ok-box code { background: #f1f3f5; padding: 2px 6px; border-radius: 4px; font-size: 12px; word-break: break-all; }
.ok-box { margin-top: 10px; padding: 10px; background: #eaf3ff; border-radius: 8px; font-size: 13px; }
.draft-fac .detail-grid .field { margin-bottom: 4px; }
/* 岗位独占一行 + 多岗位左右切换 */
.detail-modal .field-row.gz-jobnav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-modal .field-row.gz-jobnav .field { flex: 1 1 0; min-width: 0; overflow: hidden; }
.detail-modal .gz-nav { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.detail-modal .gz-navbtn { width: 22px; height: 22px; line-height: 20px; text-align: center; border: 1px solid #c3d8f2; border-radius: 50%; color: #185fa5; background: #e8f0fb; font-size: 15px; cursor: pointer; user-select: none; }
.detail-modal .gz-navbtn:active { background: #d3e3f8; }
.detail-modal .gz-posidx { font-size: 11px; color: #86909c; min-width: 26px; text-align: center; }
.detail-modal .gz-job { padding: 8px 12px 10px; border-top: 1px dashed #e5e6eb; }
.detail-modal .gz-job:first-of-type { border-top: none; }
/* 「工厂详情格式」公共块（复用：岗位收藏 / 岗位管理 / 用户管理今日·历史 / 历史明细）——与详情弹窗同款 */
.facblock { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.fbtitle { font-weight: 700; font-size: 14px; color: #1d2129; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fbtitle .fbcnt { margin-left: auto; font-size: 11px; color: #86909c; font-weight: 400; }
.fbtitle .fbopen { margin-left: auto; font-size: 12px; color: #185fa5; font-weight: 400; cursor: pointer; }
/* 列表折叠行：默认只显示工厂摘要，点「打开」弹窗看完整详情+操作 */
.facfold { background: #fff; border: 1px solid #eef0f3; border-radius: 12px; padding: 10px 12px; margin: 10px 0; cursor: pointer; }
.facfold:active { background: #f4f7fb; }
.facfold .ff-main { display: flex; align-items: center; gap: 8px; }
.facfold .ff-name { font-weight: 700; font-size: 14px; color: #1d2129; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facfold .ff-region { font-size: 11px; color: #86909c; flex-shrink: 0; }
.facfold .ff-open { font-size: 12px; color: #185fa5; flex-shrink: 0; font-weight: 400; }
.facfold .ff-sub { margin-top: 3px; font-size: 12px; color: #86909c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facfold .ff-acts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.facfold .ff-acts .mini { font-size: 12px; padding: 5px 12px; }
.facdetail .gz-container { border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; }
.facdetail .gz-head { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #fafbfc; border-bottom: 1px solid #eef0f3; }
.facdetail .gz-name { font-weight: 700; color: #1d2129; font-size: 14px; display: inline-block; min-width: 48px; flex: 0 0 auto; }
.facdetail .gz-tabs { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.facdetail .gz-tab { display: inline-block; width: 48px; box-sizing: border-box; padding: 1px 0; text-align: center; border-radius: 999px; font-size: 11px; line-height: 1.7; border: 1px solid #c3d8f2; background: #e8f0fb; color: #185fa5; cursor: pointer; }
.facdetail .gz-tab.cur { background: #185fa5; border-color: #185fa5; color: #fff; font-weight: 600; }
.facdetail .gz-count { margin-left: auto; font-size: 11px; color: #86909c; white-space: nowrap; flex: 0 0 auto; }
.facdetail .gz-bodies { display: grid; }
.facdetail .gz-body { grid-area: 1 / 1; min-width: 0; }
/* 防跳动铁律：工制/岗位切换用 visibility 叠放（同格重叠，容器高度=最高者，切 tab 不上下跳动）；
   gz-off = 隐藏但占位。禁用 display:none（会脱离 grid 导致容器高度变化 → 弹窗内容跳动） */
.gz-body.gz-off, .facdetail .gz-jobs > .gz-job.gz-off { visibility: hidden; pointer-events: none; user-select: none; }
.facdetail .gz-jobs { display: grid; }
.facdetail .gz-jobs > .gz-job { grid-area: 1 / 1; min-width: 0; }
.facdetail .gz-job { padding: 8px 12px 10px; border-top: 1px dashed #e5e6eb; }
.facdetail .gz-job:first-of-type { border-top: none; }
.facdetail .field-row.gz-jobnav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.facdetail .field-row.gz-jobnav .field { flex: 1 1 0; min-width: 0; overflow: hidden; }
.facdetail .gz-nav { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.facdetail .gz-navbtn { width: 22px; height: 22px; line-height: 20px; text-align: center; border: 1px solid #c3d8f2; border-radius: 50%; color: #185fa5; background: #e8f0fb; font-size: 15px; cursor: pointer; user-select: none; }
.facdetail .gz-navbtn:active { background: #d3e3f8; }
.facdetail .gz-posidx { font-size: 11px; color: #86909c; min-width: 26px; text-align: center; }
.facdetail .gz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e6eb; }
.facdetail .gz-actions .mini { flex: 0 0 auto; }
.facdetail .detail-grid { margin-top: 0; }
/* v232 工厂详情「极度压缩」（只作用于 .facdetail，不波及 #modal.edit / #modal.clean）：
   v228 是 12→6 / 10→4 / 1.5→1.35，这一版再收一档 —— 区块分隔 6→3、字段行距 4→2、值行高 1.35→1.3、
   区块头 7/10→4/10、岗位块内边距 4/6→2/4、操作行 6→4、发布日 6→3。
   注意：字号不动（12/13px 已是可读下限），只压垂直留白，避免"字小到看不清"。 */
.facdetail .detail-section { padding: 0; }
.facdetail .section-sep { margin: 3px 0; }
.facdetail .field-row { margin-bottom: 2px; }
.facdetail .detail-grid .field label { margin-right: 4px; }
.facdetail .detail-grid .field > div { line-height: 1.3; }
.facdetail .gz-head { padding: 4px 10px; }
.facdetail .gz-job { padding: 2px 12px 4px; }
.facdetail .gz-actions { margin-top: 4px; padding-top: 4px; }
.meta.facdate { margin: 3px 0 0; }
.fd-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.7; }
.fd-tag.g { background: #e6f7ec; color: #1a9d54; }
.fd-tag.o { background: #fff4e5; color: #e08a1e; }
/* 待处理草稿表格（普通页面内，非弹窗）复用表格样式 */
#draftBox .cm-wrap { border: 1px solid #e5e6eb; border-radius: 8px; max-height: 62vh; }
#draftBox .cm-foot { border: 1px solid #e5e6eb; border-top: none; border-radius: 0 0 8px 8px; padding: 10px 12px; }
#draftBox .cm-foot button { font-size: 12px; padding: 5px 10px; border: 1px solid #d0d3d9; background: #fff; border-radius: 6px; cursor: pointer; color: #4e5969; }
#draftBox .cm-foot button:hover { border-color: #185fa5; color: #185fa5; }
/* 待处理「弹窗展开」后，表格在电脑端大屏里更高更宽 */
#draftHost .cm-wrap { max-height: 74vh; border: 1px solid #e5e6eb; border-radius: 8px; }
#draftHost .cm-foot { border: 1px solid #e5e6eb; border-top: none; border-radius: 0 0 8px 8px; padding: 10px 12px; }
/* 待处理标题栏的「弹窗展开」按钮 */
.subhead button.mini { font-size: 12px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.media img, .media video { width: 100%; border-radius: 8px; margin-top: 6px; display: block; }
.empty { text-align: center; color: #86909c; padding: 40px 0; }
.publisher { background: #f7f8fa; border-radius: 8px; padding: 10px; font-size: 12px; color: #4e5969; margin-top: 10px; line-height: 1.7; }

/* 工厂管理页 */
.topbar .title { font-size: 16px; font-weight: 500; }
.topbar .back { color: #fff; font-size: 13px; text-decoration: none; opacity: .95; }
.topbar .addbtn, .topbar .navlink { background: rgba(255,255,255,.18); color: #fff; border: none; font-size: 13px; padding: 5px 10px; border-radius: 8px; text-decoration: none; }
.container { padding: 12px; }
/* 工厂列表：卡片网格，一行固定 2 个（v226 由 4 个改 3 个；v239 由 3 个改 2 个：封面更大更好认厂）
   内容区封顶 480px，宽屏也不会变，禁用 auto-fill —— 会按最小宽算出更多列 */
#listView, #factoryList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#listView > .primary, #listView > .infinite-sentinel, #listView > .infinite-end,
#factoryList > .primary, #factoryList > .empty { grid-column: 1 / -1; }
.fcard { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 0; box-shadow: 0 1px 2px rgba(0,0,0,.04); cursor: pointer; min-width: 0; position: relative; }
.fcover { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 10px; object-fit: cover; flex: none; background: #e5e6eb; }
.fcover.noimg { display: flex; align-items: center; justify-content: center; color: #86909c; font-size: 12px; }
.fmeta { flex: 1; padding-left: 0; margin-top: 6px; min-width: 0; }
.fmeta h3 { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdesc { font-size: 11px; color: #86909c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmeta .tags { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px; }
.fmeta .tag { font-size: 10px; padding: 1px 5px; flex: none; }
.lbl { display: block; font-size: 13px; color: #4e5969; margin: 10px 0 4px; }
/* v229 工厂档案编辑弹窗减占位：工厂名称 label 与输入框同行；工厂性质 + 主产内容 双列一行 */
.frow-inline { display: flex; align-items: center; gap: 8px; }
.frow-inline .lbl { margin: 0; flex: 0 0 auto; white-space: nowrap; }
.frow-inline .inp { flex: 1 1 auto; min-width: 0; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.frow2 > div { min-width: 0; }
.inp { width: 100%; padding: 10px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 14px; font-family: inherit; }
.inp.area { min-height: 80px; resize: vertical; }
.sub { font-size: 13px; color: #1f2329; font-weight: 500; margin: 6px 0; }
.badge { display: inline-block; background: #185fa5; color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; margin-left: 4px; }
.subhead { font-size: 14px; font-weight: 600; color: #1f2329; margin: 14px 2px 8px; }
.mini { background: #fff; color: #d4380d; border: 1px solid #ffccc7; border-radius: 8px; font-size: 12px; padding: 4px 10px; }
.card .row.head { align-items: center; justify-content: space-between; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.mthumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; }
.mthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mthumb video { width: 100%; height: 100%; object-fit: cover; }
.mthumb .jplay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 15px; line-height: 34px; text-align: center; pointer-events: none; }
.mthumb .x { position: absolute; top: 2px; right: 2px; z-index: 2; width: 20px; height: 20px; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; text-align: center; line-height: 18px; font-size: 14px; cursor: pointer; }
.uploadbtn { display: inline-block; position: relative; overflow: hidden; margin-top: 10px; background: #e6f1fb; color: #185fa5; font-size: 13px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
/* v199 上传中状态：大视频服务端要真转码，几十秒都可能，必须让用户看到它在动 */
.uploadbtn.busy { opacity: .65; pointer-events: none; }
.uploadbtn.busy::after { content: '上传中…'; margin-left: 8px; font-size: 12px; }
/* v203 修「App 里点＋追加图片/视频 完全没反应、选择器都不弹」（管理台装成桌面 APP 后必现）：
   原来 input 是 1×1 + clip-path 塞在 label 角落里，靠 <label> 的「隐式转发」去激活它。
   部分宿主环境（App 独立窗口 / 微信 WebView / 国产内核）不转发这个点击，用户看到的就是按钮点不动。
   现改为让 file input 透明铺满整个按钮 —— 手指落在按钮的任何位置都是直接落在 input 上，
   走浏览器原生触发，不依赖任何转发。 */
.srfile { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; font-size: 0; -webkit-appearance: none; appearance: none; }
.primary { display: block; width: 100%; padding: 12px; background: #185fa5; color: #fff; border: none; border-radius: 10px; font-size: 15px; margin-top: 14px; }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.amap-credit { font-size: 11px; color: #9aa0a6; text-align: right; margin-top: 6px; line-height: 1.6; }
.amap-credit a { color: #9aa0a6; }
.row3 { display: flex; gap: 8px; }
.row3 > div { flex: 1; min-width: 0; }
.ghost { background: none; border: none; color: #4e5969; font-size: 13px; padding: 0; margin-bottom: 8px; cursor: pointer; }
.danger { display: block; width: 100%; padding: 10px; background: #fff; color: #d4380d; border: 1px solid #ffccc7; border-radius: 10px; font-size: 14px; margin-top: 10px; }

/* 今日招聘：布局切换（网格 / 列表） */
.laybar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 0; font-size: 12px; color: #86909c; }
.lswitch { display: flex; background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; overflow: hidden; }
.lopt { padding: 4px 12px; font-size: 12px; color: #4e5969; cursor: pointer; }
.lopt.active { background: #185fa5; color: #fff; }

/* 网格布局：正方形工厂窗口（白底） */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
.gcard { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; }
.gcover { width: 100%; height: 100%; object-fit: cover; display: block; }
.gph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #fff; color: #c9d9ea; font-size: 34px; font-weight: 600; }
.gmask { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px 8px; background: #fff; border-top: 1px solid #f0f1f3; color: #1f2329; }
.gname { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.gtag { background: #e6f1fb; color: #185fa5; font-size: 11px; padding: 1px 6px; border-radius: 5px; }
.gfav { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.15); color: #b8bdc7; font-size: 16px; line-height: 28px; text-align: center; cursor: pointer; z-index: 2; }

/* 发布：整理结果行卡片 + 工厂匹配 */
.draftrow { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.drtop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.drtop .ck { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.drtop .del { margin-left: auto; color: #d4380d; font-size: 12px; cursor: pointer; }
.drfac { margin: 4px 0 8px; }
.drfac label { display: block; font-size: 12px; color: #4e5969; margin-bottom: 3px; }
.drfac select { width: 100%; padding: 8px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 13px; background: #fff; }
.cands { margin-top: 5px; font-size: 12px; color: #4e5969; }
.cand { display: inline-block; background: #e6f1fb; color: #185fa5; border-radius: 6px; padding: 2px 7px; margin: 0 5px 4px 0; cursor: pointer; }
.drfields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rf label { display: block; font-size: 12px; color: #86909c; margin-bottom: 2px; }
.rf input { width: 100%; padding: 7px 8px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 13px; }
.mbadge { font-size: 11px; padding: 1px 7px; border-radius: 6px; }
.mbadge.ok { background: #eaf3de; color: #3b6d11; }
.mbadge.warn { background: #faefdd; color: #854f0b; }
.mbadge.err { background: #fcebeb; color: #a32d2d; }
.drbtns, .rowbtns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
/* 按钮内文字不折行：按钮多了（如地图定位 4 个）宁可换行到第二排，也不要「搜索定/位」断成两截 */
.drbtns .mini, .rowbtns .mini { white-space: nowrap; }
.mini.ok { background: #185fa5; color: #fff; border: 1px solid #185fa5; }
.mini.danger { display: inline-block; width: auto; padding: 4px 10px; background: #fff; color: #d4380d; border: 1px solid #ffa39e; border-radius: 8px; font-size: 12px; margin: 0; white-space: nowrap; }
.mini.danger:hover { background: #fff1f0; }
.admin-job-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.admin-job-row h3 { flex: 1 1 auto; margin: 0; line-height: 1.4; }
.admin-job-row .mini { flex: 0 0 auto; }
.admin-job-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 0 0 auto; }
.hint { font-size: 12px; color: #86909c; margin-top: 6px; line-height: 1.5; }
.gfav.on { color: #ffb800; }

/* 发布页：行业模板选择条 */
.indtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.indtab { background: #fff; color: #4e5969; border: 1px solid #e5e6eb; border-radius: 16px; padding: 5px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.indtab.active { background: #185fa5; color: #fff; border-color: #185fa5; }
/* 模板表单：字段行内的单位提示 */
.rf { position: relative; }
.rf .unit { display: block; font-size: 11px; color: #86909c; margin-top: 2px; }

/* 统一首页底部导航 */
.bottombar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; background: #fff; border-top: 1px solid #e5e6eb; z-index: 12; }
/* v226 底栏字号 13px→15px（用户要求加大），文案同步改为 今日招聘/历史招聘/工厂详情/我的记录 */
/* ⚠ 每个 tab 都常驻 2px 透明上边框：选中时只换颜色、不加边框。
   否则 .active 一多出 2px，整条底栏高度就变（stretch 会把所有 tab 拉高），
   文字跟着往下顶，点一下「跳」一下 —— 这是旧的抖动根因。 */
.btab { flex: 1; min-width: 0; text-align: center; padding: 10px 0; font-size: 15px; color: #4e5969; cursor: pointer; white-space: nowrap; border-top: 2px solid transparent; box-sizing: border-box; }
.btab.active { color: #185fa5; font-weight: 600; border-top-color: #185fa5; }
/* 后台 6 个 tab 挤在一条，15px 在窄屏（≤360px）会顶到边 —— 收到 14px */
.bottombar.btab5 .btab { font-size: 14px; padding: 10px 0; }

/* 今日/历史 筛选条：两行三列均布 */
.filterbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #eef0f3; }
/* v195 招聘管理筛选条只有两个筛选项（性质 / 区域）→ 两列均分，不留空位 */
.filterbar.filterbar-2 { grid-template-columns: repeat(2, 1fr); }
/* v195 招聘管理列表标题行：左侧统计 + 右侧「导出图片」 */
.subhead.pt2head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.subhead.pt2head button.mini { margin-left: 0; flex: 0 0 auto; }
.fsel { font-size: 13px; padding: 6px 26px 6px 8px; border: 1px solid #d9dce1; border-radius: 7px; background: #fff; color: #1d2129; cursor: pointer; outline: none; width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2386909c'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; box-sizing: border-box; }
.fsel:focus { border-color: #185fa5; }
/* 性质多选下拉面板 */
.fmulti { position: relative; }
.fsel-trigger { text-align: left; white-space: nowrap; flex: 0 0 auto; }
/* v223 今日招聘筛选条：6 个筛选项收窄成 3 列（比原来挤一点），右侧多一列动作按钮 ——
   上「清除」（清空全部筛选）、下「刷新」（重新定位+重拉今日列表）。
   两枚按钮各自占第 4 列的第 1/2 行（不是跨行的一个盒子），所以高度天然与左右两行筛选框齐平。 */
/* 右侧动作列给 44px（「清除 / 刷新」2 字 12px 只需 32px），剩下全留筛选项：
   实测算下来每个筛选项 ≈101px，文字可用 ≈76px —— 「班次·已选2项」≈72px 放得下不截断。 */
.filterbar.filterbar-act { grid-template-columns: repeat(3, 1fr) 44px; gap: 6px 8px; padding: 8px 10px 8px 12px; }
.filterbar-act .fsel { font-size: 12px; padding: 5px 18px 5px 7px; background-position: right 7px center; }
.fbar-act { grid-column: 4; height: 100%; min-height: 28px; padding: 0 4px; border: 1px solid #d9dce1; border-radius: 7px; background: #fff; font-size: 12px; color: #185fa5; cursor: pointer; box-sizing: border-box; white-space: nowrap; overflow: hidden; }
.fbar-clear { grid-row: 1; color: #d4380d; border-color: #ffccc7; }
.fbar-refresh { grid-row: 2; }
/* 生效中的筛选项高亮（收窄后光看文字不易分辨），只作用于这条筛选条 */
.filterbar-act .fsel.on { border-color: #185fa5; color: #185fa5; background: #f2f8ff; font-weight: 500; }
.fbar-act:active { opacity: .85; }
/* 没筛选可清时置灰（布局不动，避免按钮忽有忽无导致整条抖动） */
.fbar-act[disabled] { color: #a9aeb8; border-color: #e5e6eb; background: #f7f8fa; cursor: not-allowed; }
.fbar-act.busy { opacity: .55; pointer-events: none; }
.fpanel { position: absolute; top: calc(100% + 4px); left: 0; z-index: 50; background: #fff; border: 1px solid #d9dce1; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 6px; min-width: 132px; max-height: 248px; overflow: auto; }
.fopt { display: block; font-size: 13px; color: #1d2129; padding: 6px 8px; white-space: nowrap; cursor: pointer; }
.fopt input { margin-right: 7px; vertical-align: middle; }
.filterbar-reset { width: 100%; text-align: right; font-size: 12px; color: #d4380d; cursor: pointer; padding: 2px 12px 0; background: #fff; }
/* 全局固定定位下拉面板：脱离 .filterbar 滚动容器，避免被裁剪 */
/* v208 修「顶部筛选区漏光」：这一块是 sticky 吸顶浮层，但它自己、以及内部的 .fsrch（搜索行）
   都没有背景色，只有 .filterbar 有白底。于是页面滚动时，下层工厂卡片会从没被白底盖住的地方
   透出来 —— 具体就是搜索框与筛选栏之间那 8px 边距、以及「搜索」按钮上下各 2~3px，
   看起来就像顶部筛选项漏光。吸顶浮层必须自带不透明底：这里整块铺白，
   搜索行 + 性质/区域/新建工厂一起把下方内容挡住。
   （同 .filterbar-host 的还有今日招聘 / 历史 / 招聘管理三处筛选条，一并受益） */
.filterbar-host { position: sticky; top: 48px; z-index: 8; margin-top: -12px; margin-left: -12px; margin-right: -12px; width: calc(100% + 24px); background: #fff; }
/* v228 招聘管理筛选条：向上贴住子 Tab、滚动吸顶 —— 发布页子 Tab .pubtabs 是 fixed 钉在 48px 顶栏下
   （底沿实测 99px），吸顶点 97px 留 2px 塞到子 Tab 背景下（子 Tab z-index 更高且不透明，不会露缝）；
   margin-top:-12px 抵消 .container 的 12px 顶部内边距，让筛选条默认就贴住子 Tab（原缝 14px）。
   它是 .pubsub 直接子元素（无内边距），不需要 .filterbar-host 那套负 margin */
#pubTodayFilterbar { position: sticky; top: 97px; z-index: 8; background: #fff; margin-top: -12px; }
.filter-dropdown-mask { position: fixed; inset: 0; z-index: 200; background: transparent; display: none; }
.filter-dropdown { position: fixed; left: 0; top: 0; z-index: 201; background: #fff; border: 1px solid #d9dce1; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 6px; min-width: 132px; max-width: calc(100vw - 16px); max-height: 248px; overflow: auto; box-sizing: border-box; }

/* v230 工厂下拉（可搜索）：工厂 140+ 家，原生 <select> 塞不进搜索框。
   换成「.fac-sel 按钮 + 全局固定面板（.fpick）」，面板顶部一条搜索框（输入即筛厂名）；
   选中值写回隐藏 input（id 与原来的 <select> 一致），所以 onGroupFactory / onDraftFactoryPick 零改动。
   注意：按钮同时带 .fac-sel（沿用两处尺寸/边框），所以这里用「id + 双类」提权压过
   #modal.clean .fac-sel / .draft-fac .fac-sel 的 background 简写（简写会把箭头图清掉）。 */
.fac-sel.fac-pick-btn { text-align: left; cursor: pointer; box-sizing: border-box; background-color: #fff; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2386909c'/></svg>"); background-repeat: no-repeat; background-position: right 8px center; }
#modal.clean .fac-sel.fac-pick-btn { padding-right: 22px; }
.draft-fac .fac-sel.fac-pick-btn { padding-right: 22px; }
.fac-sel.fac-pick-btn.on { border-color: #185fa5; color: #185fa5; background-color: #f2f8ff; font-weight: 500; }
.filter-dropdown.fpick { min-width: 236px; max-height: 320px; overflow: hidden; }
.fpick-q { padding: 2px 2px 6px; border-bottom: 1px solid #eef0f3; }
.fpick-q .inp { height: 34px; padding: 0 10px; font-size: 13px; box-sizing: border-box; }
.fpick-tip { font-size: 11px; color: #98a1ad; padding: 5px 2px 0; }
.fpick-list { max-height: 230px; overflow: auto; padding-top: 4px; }
.fpick-item { display: block; font-size: 13px; color: #1d2129; padding: 7px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpick-item:hover { background: #f2f6fc; }
.fpick-item.on { background: #e8f3ff; color: #185fa5; font-weight: 600; }
.fpick-item.clear { color: #8a9099; }
.fpick-item.new { color: #185fa5; border-top: 1px solid #eef0f3; margin-top: 3px; padding-top: 8px; border-radius: 0 0 6px 6px; }
.fpick-empty { padding: 12px 8px; font-size: 12px; color: #98a1ad; text-align: center; }

/* 地图定位（工厂编辑页选点 + 详情位置块） */
.map-pick { width: 100%; height: 220px; border-radius: 8px; background: #eef0f3; overflow: hidden; }
/* 地图按需加载态：不再占 220px 空白，只留一枚按钮（点开才真的拉高德 SDK） */
.map-pick.map-lazy { height: auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 14px 0; }
.map-lazy-btn { background: #fff; border: 1px solid #dcdfe6; }
.locbox { margin-top: 10px; font-size: 13px; color: #4e5969; line-height: 1.8; }
.locbox .mini { margin-left: 4px; text-decoration: none; display: inline-block; }
.gtag.dist { background: #e8f3ff; color: #185fa5; }
.mini { font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid #d9dce1; background: #fff; color: #185fa5; cursor: pointer; text-decoration: none; }
a.mini { color: #185fa5; }
/* v220：已整厂收藏的工厂 —— 「整厂收藏」按钮灰掉且不可点（列表行 + 弹窗工具栏两处都要压过各自配色） */
.mini[disabled] { cursor: not-allowed; }
.mini.mgr-collect[disabled] { opacity: 1; background: #f5f6f8; color: #98a1ad; border-color: #e4e7ec; }
.detail-modal .mgtb .mgtb-btns .mini.mgtb-collect[disabled] { opacity: 1; background: #f5f6f8; color: #98a1ad; border-color: #e4e7ec; }

/* ===== 自定义确认弹窗（替代原生 confirm，按钮固定「取消 / 确定」） ===== */
.cf-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 30; display: none; }
.cf-mask.show { display: block; }
.cf-dialog { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 80%; max-width: 320px; background: #fff; border-radius: 12px; padding: 18px; z-index: 31; box-sizing: border-box; }
.cf-text { font-size: 14px; color: #1d2129; line-height: 1.5; margin-bottom: 16px; }
.cf-btns { display: flex; gap: 10px; }
.cf-btn { flex: 1; padding: 10px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; }
.cf-btn.cancel { background: #f2f3f5; color: #4e5969; }
.cf-btn.ok { background: #185fa5; color: #fff; }
.cf-btn:active { opacity: .85; }

/* ===== 客服对话框（求职者二维码入口 + 管理者回复共用） ===== */
#modal.chat .modal { padding: 0; overflow: hidden; max-height: calc(100vh - 120px); }
.chat-modal { display: flex; flex-direction: column; height: 76vh; max-height: calc(100vh - 120px); box-sizing: border-box; }
.chat-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #eef0f3; }
.chat-head h2 { margin: 0; font-size: 16px; color: #1d2129; }
.chat-head-actions { display: flex; align-items: center; gap: 8px; }
.chat-head .close { font-size: 22px; line-height: 1; color: #86909c; cursor: pointer; padding: 0 4px; flex: 0 0 auto; }
.chat-head .close:active { color: #1d2129; }
.chat-info-btn { background: #eef3fa; color: #185fa5; border: 1px solid #cfe0f3; }
.chat-idform { display: none; gap: 6px; padding: 8px 12px; border-bottom: 1px solid #eef0f3; background: #f7f8fa; }
.chat-idform input { flex: 1 1 auto; min-width: 0; padding: 7px 9px; border: 1px solid #d9dce1; border-radius: 8px; font-size: 13px; box-sizing: border-box; }
.chat-idhint { font-size: 12px; color: #ff7d00; padding: 6px 12px 0; }
.chat-msgs { flex: 1 1 auto; overflow-y: auto; padding: 12px; background: #f7f8fa; display: flex; flex-direction: column; gap: 10px; }
.chat-row { display: flex; flex-direction: column; max-width: 78%; }
.chat-row.mine { align-self: flex-end; align-items: flex-end; }
.chat-row.other { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 8px 11px; border-radius: 10px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.chat-row.mine .chat-bubble { background: #185fa5; color: #fff; border-top-right-radius: 2px; }
.chat-row.other .chat-bubble { background: #fff; color: #1d2129; border-top-left-radius: 2px; }
.chat-text { white-space: pre-wrap; }
.chat-imgs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.chat-imgs img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; }
.chat-time { font-size: 10px; color: #a9aeb8; margin-top: 2px; }
.chat-imgprev { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.chat-prev { position: relative; }
.chat-prev img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; }
.chat-prev-x { position: absolute; right: -4px; top: -4px; width: 16px; height: 16px; line-height: 16px; text-align: center; background: #ff4d4f; color: #fff; border-radius: 50%; font-size: 11px; cursor: pointer; }
.chat-inputrow { flex: 0 0 auto; display: flex; align-items: stretch; gap: 8px; padding: 10px 12px; border-top: 1px solid #eef0f3; background: #fff; }
.chat-inputrow textarea { flex: 1 1 auto; resize: none; height: 50px; max-height: 96px; padding: 8px 10px; border: 1px solid #d9dce1; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.chat-imgbtn, .chat-voicebtn { flex: 0 0 auto; width: 48px; min-height: 50px; padding: 4px 2px; line-height: 1.25; display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: normal; box-sizing: border-box; }
.chat-send { flex: 0 0 auto; width: 56px; min-height: 50px; background: #185fa5; color: #fff; border: 1px solid #185fa5; box-sizing: border-box; }
/* 聊天图片点击放大查看（点空白关闭） */
.img-preview-mask { position: fixed; inset: 0; background: rgba(0,0,0,.86); z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.img-preview-mask.show { display: flex; }
.img-preview-mask .ipwrap { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.img-preview-mask img { max-width: 100%; max-height: calc(100vh - 96px); border-radius: 8px; }
.img-preview-mask .ipdl { flex: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 18px; padding: 7px 24px; font-size: 14px; text-decoration: none; }
.img-preview-mask .ipdl:active { background: rgba(255,255,255,.28); }
/* 语音消息：按住说话按钮 + 语音条 */
.chat-voicebtn { flex: 0 0 auto; }
.chat-voicebtn.recording { background: #ff4d4f; color: #fff; border-color: #ff4d4f; animation: recPulse 1s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.chat-voice { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; margin-top: 4px; border-radius: 8px; cursor: pointer; user-select: none; }
.chat-row.mine .chat-voice { background: rgba(255,255,255,.22); color: #fff; }
.chat-row.other .chat-voice { background: #eef3fa; color: #185fa5; }
.chat-voice .cv-play { font-size: 12px; line-height: 1; }
.chat-voice .cv-dur { font-size: 13px; }
.chat-voice.playing { box-shadow: inset 0 0 0 2px currentColor; }
/* 管理端对话弹窗加宽 + 输入区更宽松 */
#modal.chat.admin .modal { max-width: 720px; width: 94vw; }
/* 管理端左右布局：左侧对话 + 右侧工厂会话列表 */
.chat-modal.admin .chat-main { display: flex; flex: 1 1 auto; min-height: 0; }
.chat-convs { flex: 0 0 94px; border-right: 1px solid #eef0f3; background: #f7f8fa; overflow-y: auto; padding: 6px 0; }
.chat-conv-body { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.conv-item { padding: 9px 8px; border-bottom: 1px solid #eef0f3; cursor: pointer; }
.conv-item.active { background: #e8f0fb; }
.conv-name { font-size: 13px; color: #1d2129; font-weight: 600; line-height: 1.3; }
.conv-last { font-size: 11px; color: #86909c; margin-top: 3px; line-height: 1.3; max-height: 2.8em; overflow: hidden; }
.conv-time { font-size: 10px; color: #a9aeb8; margin-top: 2px; }
.conv-empty { color: #c3c7cf; }
/* 客户服务按钮：正方形，2×2 排列，字号 12px */
.card.jobcard .gqr.dialog-btn {
  position: absolute; right: -6px; bottom: 0; top: auto;
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1.2;
  color: #185fa5; background: #eef3fa;
  border: 1px solid #cfe0f3; border-radius: 8px;
  padding: 2px; box-sizing: border-box;
  cursor: pointer; user-select: none; z-index: 2;
  text-align: center;
}
.card.jobcard .gqr.dialog-btn:active { opacity: .85; }
/* 新消息提醒：按钮变实心深绿并闪烁（整张卡片不再变绿） */
@keyframes gqrBlink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.card.jobcard .gqr.dialog-btn.has-new { background: #00b578; color: #fff; border-color: #00b578; animation: gqrBlink .9s ease-in-out infinite; }
.conv-item.has-new { background: #d4f7e0; color: #00b578; border-color: #00b578; }
.conv-item.has-new .conv-name { color: #00b578; }
/* 管理端用户列表：未读绿色徽标 + 卡片绿框 */
.unread-badge { display: none; margin-left: 8px; padding: 1px 8px; font-size: 12px; line-height: 1.6; color: #fff; background: #00b578; border-radius: 10px; vertical-align: middle; }
.unread-badge.on { display: inline-block; }
.user-card.has-new { background: #eafaf0; box-shadow: inset 0 0 0 2px #00b578; }
/* ===== v190 新消息提醒：顶部浮条 + 顶栏提示音开关 ===== */
#toastBox { position: fixed; top: 58px; left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: 456px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: #1f2329; color: #fff; font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.24); word-break: break-all; animation: toastIn .22s ease-out; }
.toast.admin { background: #185fa5; }
.toast.user { background: #00b578; }
.toast.info { background: #4e5969; }
.toast.tap { cursor: pointer; }
.toast.tap::after { content: ' ›'; opacity: .8; }
.toast.out { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease-in, transform .3s ease-in; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.notif-bell { flex: none; margin: 0; background: #fff; color: #86909c; border: 1px solid #d0d3d9; border-radius: 999px; font-size: 13px; padding: 7px 10px; cursor: pointer; white-space: nowrap; }
.notif-bell.on { background: #fff7e6; border-color: #ffd591; color: #d46b08; }
.notif-bell.top { background: rgba(255,255,255,.18); color: #fff; border: none; border-radius: 8px; font-size: 13px; padding: 5px 10px; }
.notif-bell.top.on { background: #ffd666; color: #613400; }
/* v226 费用/押金警示：顶部不再挂红条，改为「哪句涉及费用/押金就把哪句标红」，标在内容本身上 */
.risk { color: #cf1322; font-weight: 600; }
/* 岗位收藏（管理端·发布页）：常用岗位，免 AI 直接发布 */
.srow { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #f0f2f5; }
.srow:last-child { border-bottom: none; }
.stitle { flex: 1 1 auto; font-size: 13px; color: #1d2129; line-height: 1.4; min-width: 0; word-break: break-all; }
.sbtns { flex: 0 0 auto; display: flex; gap: 6px; }
/* 岗位管理：按工厂分组（已发布 / 待发布） */
.mgr-group { border: 1px solid #eef0f3; border-radius: 8px; margin-top: 8px; overflow: hidden; }
.mgr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f7f8fa; cursor: pointer; }
.mgr-name { font-size: 13px; font-weight: 600; color: #1d2129; }
.mgr-cnt { font-size: 12px; color: #86909c; flex: 0 0 auto; }
.mgr-body { padding: 6px 12px 10px; }
.mgr-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #f0f2f5; font-size: 13px; }
.mgr-row:last-child { border-bottom: none; }
.mgr-row .mini { flex: 0 0 auto; white-space: nowrap; }
.mgr-txt { flex: 1 1 auto; min-width: 0; color: #4e5969; word-break: break-all; }
/* 岗位详情：工厂媒体小方格网格（一行2个、正方形）+ 全屏查看器 */
.jmedia-wrap { margin-top: 14px; }
.jmedia-title { font-size: 13px; color: #888; margin-bottom: 8px; }
.jmgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jcell { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #f0f0f0; cursor: pointer; }
.jcell img, .jcell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.jcell.jv .jplay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 16px; line-height: 38px; text-align: center; pointer-events: none; }
.jviewer { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; animation: jvIn .18s ease-out; }
@keyframes jvIn { from { opacity: 0; } to { opacity: 1; } }
.jviewer .jv-stage { max-width: 94vw; max-height: 84vh; display: flex; align-items: center; justify-content: center; }
.jviewer .jv-stage img, .jviewer .jv-stage video { max-width: 94vw; max-height: 84vh; object-fit: contain; background: #000; cursor: zoom-in; }
/* v161 缩放顺滑：默认无过渡（拖动/滚轮/捏合每帧跟手）；.anim 只给整数跳变（双击/2.4x/±按钮）加缓动 */
.jviewer .jv-stage img.anim { transition: transform .28s cubic-bezier(.22,.61,.36,1); }
.jviewer .jv-stage img.zoomed { cursor: grab; }
.jviewer .jv-stage img.grabbing { cursor: grabbing; }
.jviewer .jv-close { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 32px; cursor: pointer; z-index: 2; line-height: 1; }
.jviewer .jv-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 44px; cursor: pointer; user-select: none; padding: 0 16px; }
.jviewer .jv-nav.prev { left: 2px; }
.jviewer .jv-nav.next { right: 2px; }
.jviewer .jv-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,.4); padding: 4px 12px; border-radius: 12px; }


/* ---- 岗位管理：筛选工具条 / 合并工厂 / 查重弹窗（v101） ---- */
.mgrfilter { display: flex; gap: 6px; align-items: center; margin: 8px 0 10px; flex-wrap: wrap; }
.mgrfilter input { flex: 1 1 100%; min-width: 0; padding: 7px 10px; border: 1px solid #d8dce3; border-radius: 8px; font-size: 13px; box-sizing: border-box; }
.mgrfilter .mini.on { background: #1a56db; color: #fff; border-color: #1a56db; }
.mrgrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 8px; border-bottom: 1px solid #eef0f3; cursor: pointer; font-size: 14px; }
.mrgrow:active { background: #f5f7fa; }
.mrgrow .mrgsub { font-size: 12px; color: #9aa0a6; }
.dupgrp { border: 1px solid #eef0f3; border-radius: 10px; padding: 10px; margin-bottom: 10px; }
.dupgrp .duphead { font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.dupgrp .duprow { font-size: 12px; color: #444; padding: 4px 0; }
.dupgrp .duprow.keep { color: #1a56db; font-weight: 600; }
.dupgrp .mini.danger { margin-top: 6px; }

/* ---- v210 手动合并工厂：工厂页入口小链接 + 工厂勾选列表 ---- */
.fac-mg-link { color: #185fa5; }
.fmm-row { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-bottom: 1px solid #eef0f3; font-size: 13px; cursor: pointer; }
.fmm-row.on { background: #f2f7fd; }
.fmm-row input { flex: 0 0 auto; }
.fmm-row .fmm-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1d2129; font-weight: 500; }
.fmm-row .fmm-meta { flex: 0 0 auto; font-size: 11px; color: #86909c; }

/* ---- 工厂卡：今日已发布绿色标记 / 移除图视频计数（v102） ---- */
.fcard.today { border: 2px solid #2e9e5b; background: #f0faf3; }
.fcard.today .fcover.noimg { background: #dff2e6; color: #7fbf9a; }

/* ---- 岗位行>3条上下滑动 / 工厂卡只留厂名（v103） ---- */
.card .posscroll { max-height: 68px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
/* v226 一行由 4 个改 3 个：卡片宽度 ~106px→~145px，高度同步加高，封面才不会被压成扁条 */
/* v239 一行由 3 个改 2 个：卡片宽度 ~106px→~170px（480 宽屏 ~223px）。
   固定 140px 高度在 2 列下会把封面压成扁条，改成「高度自适应 + 封面 1:1」，
   卡片高度随屏宽自然变化：375 屏约 195px、480 宽屏约 248px。 */
#listView .fcard { height: auto; min-height: 0; padding: 6px; box-sizing: border-box; }
/* v144 工厂网格卡收藏星标：小卡用缩小版右上角圆形星（复用 .gfav 基础定位） */
#listView .fcard .gfav { top: 5px; right: 5px; width: 26px; height: 26px; line-height: 26px; font-size: 15px; }
#listView .fcard .fcover { aspect-ratio: 1 / 1; width: 100%; height: auto; flex: none; border-radius: 8px; }
#listView .fcard .fname { flex: none; height: 24px; line-height: 24px; margin-top: 3px; width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 媒体查看器：自由缩放（滚轮/双指捏合/±按钮）中心锚点（v104） ---- */
/* v200 修「长按图片保存不了」：原来这里 touch-action:none，会吃掉长按手势 —— 手机长按图片
   不弹系统菜单，「保存图片」根本出不来。未放大时放开长按；页面 viewport 已 user-scalable=no，
   不会误触浏览器缩放。放大后才交回 JS 处理拖动/捏合。 */
.jviewer .jv-stage img { touch-action: auto; -webkit-touch-callout: default; }
.jviewer .jv-stage img.zoomed, .jviewer .jv-stage img.grabbing { touch-action: none; }
.jviewer .jv-zoombar { position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
/* v229：按钮文案一律不换行（原「↓ 保存」在窄屏会折成两行「保/存」） */
.jviewer .jv-zoombar span { color: #fff; font-size: 14px; line-height: 1; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); border-radius: 15px; padding: 7px 14px; cursor: pointer; user-select: none; white-space: nowrap; flex: 0 0 auto; }
/* v200 查看器「保存」按钮 + 操作提示：长按是主路径，按钮是明确入口，两者都给 */
.jviewer .jv-zoombar .jv-save { background: rgba(24,95,165,.92); border-color: rgba(255,255,255,.55); font-weight: 600; }
.jviewer .jv-zoombar .jv-save:active { background: rgba(24,95,165,1); }
.jviewer .jv-toast { position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%); max-width: 86vw; text-align: center;
  background: rgba(0,0,0,.8); color: #fff; font-size: 13px; line-height: 1.55; padding: 9px 14px; border-radius: 10px;
  opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 3; }
.jviewer .jv-toast.show { opacity: 1; }

/* ---- v119：状态筛选三按钮等大 / 新建工厂进筛选条第3格 ---- */
.mgrfilter .mini[data-mst] { flex: 0 0 92px; text-align: center; padding: 7px 0; box-sizing: border-box; white-space: nowrap; font-size: 12px; }
.mgrfilter .mini.danger { padding: 7px 12px; box-sizing: border-box; font-size: 12px; }
/* v108：窄屏四个按钮挤一行 */
@media (max-width: 560px) {
  .mgrfilter .mini[data-mst] { flex: 1 1 0; min-width: 0; }
  .mgrfilter .mini.danger { flex: 1 1 0; min-width: 0; padding: 7px 0; text-align: center; }
}
.fac-add-inline { width: 100%; box-sizing: border-box; padding: 9px 0; border: none; border-radius: 8px; background: #185fa5; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fac-add-inline:active { background: #124a80; }
/* v244：导出按钮与「新建工厂」并排各占一半；导出用描边次级样式，别和主按钮抢注意力 */
.fac-add-row > .fac-add-inline { flex: 1 1 0; width: auto; min-width: 0; }
.fac-exp-inline { background: #fff; color: #185fa5; border: 1px solid #185fa5; }
.fac-exp-inline:active { background: #eaf3fc; }
.fac-exp-inline[disabled] { opacity: .55; }

/* ---- 我的 · 用户管理（身份卡）---- */
.accrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13px; }
.accrow .accl { flex: 0 0 auto; color: #86909c; }
.accrow .accv { min-width: 0; color: #1f2329; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.accform { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.accform input { border: 1px solid #d9dce1; border-radius: 8px; padding: 8px 10px; font-size: 13px; box-sizing: border-box; width: 100%; }
/* 两枚按钮等宽（查看工厂 / 取消收藏、保存 / 取消 等）：位置不变，只是把可用宽度均分 */
.card .rowbtns.even { flex-wrap: nowrap; }
.card .rowbtns.even > .mini { flex: 1 1 0; text-align: center; }

/* 岗位管理：工厂「面试时间（固定）」卡 */
.faciv { background: #f7f8fa; border: 1px solid #eef0f3; border-radius: 10px; padding: 10px 12px; margin: 2px 0 10px; }
.faciv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.faciv-t { font-size: 13px; font-weight: 600; color: #4e5969; flex: 0 0 auto; }
.faciv-v { font-size: 13px; font-weight: 700; color: #1d8a4e; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faciv-v.empty { color: #86909c; font-weight: 400; }
.faciv-row { display: flex; align-items: center; gap: 8px; }
.faciv-row input { flex: 1 1 auto; min-width: 0; }
.faciv .hint { margin-top: 6px; }

/* ===== v130 岗位管理弹窗：岗位按钮排（替代 ‹1/3› 翻页）+ 操作行上移 ===== */
/* 已发布=绿底；未发布=空心 + 勾选框；选中=蓝框。切换用 gz-off 叠放，高度不变不跳动 */
.detail-modal .gz-actstack { display: grid; margin: 8px 0 6px; }
.detail-modal .gz-act { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-modal .gz-actstack > .gz-off { visibility: hidden; pointer-events: none; user-select: none; }
.detail-modal .gzt-strip { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.detail-modal .gzt { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid #d0d3d9; border-radius: 999px; font-size: 12px; color: #4e5969; background: #fff; cursor: pointer; flex: 0 0 auto; white-space: nowrap; }
.detail-modal .gzt.cur { border-color: #185fa5; color: #185fa5; font-weight: 600; box-shadow: inset 0 0 0 1px #185fa5; }
/* v132 岗位栏配色：黄=未发布（可勾选），绿=已发布（锁死不可勾选） */
.detail-modal .gzt { background: #fdf3dd; border-color: #e2b45a; color: #854f0b; }
.detail-modal .gzt.cur { border-color: #ba7517; color: #854f0b; box-shadow: inset 0 0 0 1px #ba7517; }
.detail-modal .gzt.pub { background: #e8f5e9; border-color: #97c459; color: #1d8a4e; }
.detail-modal .gzt.pub.cur { border-color: #2e9e4f; box-shadow: inset 0 0 0 1px #2e9e4f; }
.detail-modal .gztk { margin: 0; flex: 0 0 auto; }
/* v132 统一工具栏：位于面试时间卡之下、月结/日结 tabs 之上 */
.detail-modal .mgtb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; margin: 0 0 10px; border: 1px solid #e5e6eb; border-radius: 8px; background: #f7f8fa; }
.detail-modal .mgtb .selcount { font-size: 12px; color: #4e5969; margin-right: auto; }

/* v142 我的收藏：以工厂为单位，卡内列岗位；当天在招整卡变绿 */
.favcard { cursor: pointer; }
.favcard.hiring { border: 1px solid #b7e4c7; background: #f2fbf6; }
.favcard.hiring .row.head h3 { color: #0f8a4d; }
.favjobs { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.favjob { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #86909c; padding: 3px 2px; border-radius: 6px; }
.favjob .fj-dot { width: 6px; height: 6px; border-radius: 50%; background: #c9cdd4; flex: 0 0 auto; }
.favjob.today { color: #0f8a4d; background: #e8f8ef; }
.favjob.today .fj-dot { background: #18a058; }
.favjob .fj-name { font-weight: 600; }
.favjob .fj-price { color: #d4380d; font-weight: 600; }
.favjob .fj-shift { font-size: 12px; color: #86909c; }
.favjob .fj-tag { margin-left: auto; font-size: 11px; color: #fff; background: #18a058; border-radius: 999px; padding: 1px 8px; flex: 0 0 auto; }
.favjob.none { color: #c9cdd4; }

/* ---- v145 用户跟进状态：筛选胶囊 + 个人进度条 + dist 推广员管理页 ---- */
.stchips { display: flex; gap: 4px; margin: 8px 0 12px; }
.stchip { flex: 1; min-width: 0; box-sizing: border-box; white-space: nowrap; text-align: center; background: #fff; border: 1px solid #e5e6eb; border-radius: 16px; padding: 5px 2px; font-size: 12px; color: #4e5969; cursor: pointer; }
.stchip.cur { background: #e6f1fb; border-color: #185fa5; color: #185fa5; }
.pbar { display: flex; align-items: center; margin: 10px 0 4px; }
.pbar .pdot { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid #b4b2a9; box-sizing: border-box; flex: none; }
.pbar .pdot.on { background: #1d9e75; border-color: #1d9e75; }
.pbar .pline { flex: 1; height: 2px; background: #d3d1c7; }
.pbar .pline.on { background: #1d9e75; }
.pnames { display: flex; justify-content: space-between; font-size: 11px; color: #86909c; margin-bottom: 6px; }
.pnames .on { color: #0f6e56; }
.tag.r { background: #fcebeb; color: #a32d2d; }

/* ---- v146 工厂页搜索行 ---- */
.fsrch { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.fsrch .inp { flex: 1; min-width: 0; height: 34px; }
.fsrch .mini { flex: none; }

/* ---- v230 工厂页顶部：性质 / 区域 / 搜索 合并成一行 ----
   性质、区域的宽度与「今日招聘」筛选条（.filterbar-act）里的筛选项**完全同宽**：
   那边是 3 列 1fr + 44px 动作列 + 3×8px gap，列宽 = (容器宽 - 44 - 24) / 3；
   本行的 100% 是已扣掉自身左右 padding（12 + 10 = 22px）后的宽度，
   所以补回 22px 再按同一公式算：calc((100% + 22px - 90px) / 3) = calc((100% - 68px) / 3)。
   剩下的宽度全部留给搜索框（.fsrch 占满余量，flex: 1 1 auto）。 */
.filterbar.filterbar-fac { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; border-bottom: none; }
/* 后面没有「新建工厂 / 搜索词 / 清除筛选」这些行时，补回原本的下分隔线 */
.filterbar.filterbar-fac:last-child { border-bottom: 1px solid #eef0f3; }
.filterbar-fac .fsel { flex: 0 0 calc((100% - 68px) / 3); height: 30px; font-size: 12px; padding: 0 18px 0 7px; background-position: right 7px center; }
.filterbar-fac .fsrch { flex: 1 1 auto; min-width: 0; margin-bottom: 0; gap: 6px; }
.filterbar-fac .fsrch .inp { height: 30px; padding: 0 9px; font-size: 13px; }
.filterbar-fac .fsrch .mini { flex: none; height: 30px; padding: 0 12px; }
/* 新建工厂 / 导出：仅总管理员端渲染，且独占一行（客户端 / 分销端不渲染这行，不会留空行） */
.fac-add-row { display: flex; gap: 8px; padding: 8px 12px 0; background: #fff; }
/* 搜索关键词胶囊：从搜索行挪出来独占一行 */
.filterbar-q { padding: 6px 12px 0; text-align: left; background: #fff; }
.qchip { display: inline-block; vertical-align: middle; max-width: 100%; box-sizing: border-box; font-size: 12px; padding: 3px 10px; border-radius: 14px; background: #e6f1fb; border: 1px solid #b8d4f5; color: #185fa5; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- v147 聊天窗报名：按钮 + 报名面板 ---- */
.chat-signup-btn { background: #c58a2d; color: #fff; border: none; white-space: nowrap; }
.chat-head-actions .mini { white-space: nowrap; flex: none; }
.signup-form { border-top: 1px dashed #d9d6c9; padding: 10px 12px; background: #fbfaf7; }
.signup-title { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.signup-sub { font-size: 12px; color: #86909c; font-weight: 400; }
.signup-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.signup-row label { font-size: 13px; color: #4e5969; flex: none; width: 44px; }
.signup-inp { flex: 1; min-width: 0; height: 34px; border: 1px solid #e5e6eb; border-radius: 8px; padding: 0 10px; font-size: 14px; box-sizing: border-box; }
.signup-name { font-size: 14px; color: #1d2129; }
.signup-preview { max-width: 160px; max-height: 100px; border-radius: 8px; border: 1px solid #e5e6eb; margin-top: 4px; cursor: pointer; display: block; }

/* ---- v148 按钮触摸零延迟 + 用户卡按钮一行 + 身份证行 ---- */
button, .mini, .pubtab, .stchip, .gfav, .btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.user-card .rowbtns { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.user-card .rowbtns .mini { flex: none; }
/* ---- v193 用户卡片表头：✎备注 · 用户名 · 手机号 …… 渠道（贴右边框、位置固定）----
   表头不再放状态标签（已传证/在职/已离职/已报名未咨询）：下面已有进度条，重复。
   用 nowrap + 名字可省略号，保证「渠道」永远在最右，不会被长名字挤走。 */
.card.user-card .row.head.uchead { flex-wrap: nowrap; align-items: center; gap: 5px; }
/* 宽度预算（392px 手机，卡片内容宽 316px）：✎30 + 名字(争取到最大) + 手机号 87 + 渠道 96 + 间距 15。
   所以固定件一律 font-size 12 / padding 2px 6px 收紧，把省下的宽度全给备注名。 */
.card.user-card .uchead h3 { margin: 0; flex: 0 1 auto; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card.user-card .uchead .unread-badge { margin-left: 0; }
.card.user-card .uchead .tag { flex: 0 0 auto; font-size: 12px; padding: 2px 6px; }
.card.user-card .uchead .ucremark { flex: 0 0 auto; box-sizing: border-box; min-height: 34px; padding: 0 8px; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.card.user-card .uchead .uref { margin-left: auto; }
/* 备注输入弹窗（复用确认弹窗的 cf-dialog 外壳） */
.cf-input { width: 100%; box-sizing: border-box; padding: 10px; margin-bottom: 14px; border: 1px solid #d9dce1; border-radius: 8px; font-size: 15px; font-family: inherit; color: #1d2129; }
.cf-sub { font-size: 12px; color: #86909c; margin-top: 4px; }
.recreq .rowbtns { flex-wrap: nowrap; overflow-x: auto; }
.recreq .rowbtns .mini { flex: none; }
/* v158 证件懒加载弹层：卡片零图片，点「下载」才加载该用户证件，关闭清空内存 */
.idpanel-mask { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 70; display: none; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; }
.idpanel-mask.show { display: flex; }
.idpanel { background: #fff; border-radius: 12px; width: 100%; max-width: 560px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.idpanel-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #f0f1f3; }
.idpanel-head b { font-size: 15px; color: #1d2129; }
.idpanel-x { font-size: 22px; line-height: 1; color: #86909c; cursor: pointer; padding: 0 4px; }
.idpanel-body { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; }
.idpanel-item img { width: 100%; border-radius: 8px; border: 1px solid #e5e6eb; display: block; }
.idpanel-dl { display: inline-block; margin-top: 6px; font-size: 13px; color: #165dff; text-decoration: none; }

/* ---- v149 分销账号漏斗 + 用户明细 ---- */
.funnel { display: flex; gap: 4px; margin: 8px 0; }
.fcell { flex: 1; min-width: 0; text-align: center; background: #f5f6f8; border-radius: 6px; padding: 5px 2px; font-size: 11px; color: #86909c; white-space: nowrap; }
.fcell b { display: block; font-size: 14px; color: #1d2129; font-weight: 600; }
.dist-users { margin-top: 8px; border-top: 1px solid #eee; }
.du-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #f2f2f2; font-size: 12px; }
.du-name { font-weight: 600; color: #1d2129; white-space: nowrap; max-width: 88px; overflow: hidden; text-overflow: ellipsis; flex: none; }
.du-info { flex: 1; min-width: 0; color: #86909c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.du-stage { white-space: nowrap; flex: none; background: #f5f6f8; border-radius: 10px; padding: 2px 8px; font-size: 11px; color: #4e5969; }
.du-stage.g { background: #e6f7ef; color: #0a8f56; }
.du-stage.o { background: #fff4e6; color: #d46b08; }
.du-stage.r { background: #fdecec; color: #d4380d; }

/* ---- v177 详情弹窗工具栏：按钮一行排齐 + 统一描边图标/统一配色；已选条数另起一行 ---- */
.detail-modal .mgtb { flex-wrap: nowrap; flex-direction: column; align-items: stretch; }
.detail-modal .mgtb .mgtb-btns { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; overflow-x: auto; }
.detail-modal .mgtb .mgtb-btns .mini { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; background: #fff; color: #185fa5; border: 1px solid #b8d4f5; border-radius: 8px; font-size: 12px; padding: 5px 10px; margin: 0; white-space: nowrap; }
.detail-modal .mgtb .mgtb-btns .mini:hover { background: #f0f7ff; }
.detail-modal .mgtb .mgtb-btns .mini svg { width: 13px; height: 13px; flex: 0 0 auto; }
.detail-modal .mgtb .mgtb-cnt { margin-top: 7px; }
.detail-modal .mgtb .mgtb-cnt .selcount { font-size: 12px; color: #86909c; margin-right: 0; }
/* 导出二维码选择弹窗选项 */
.qrp-item { padding: 11px 12px; border: 1px solid #e5e6eb; border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.qrp-item:hover { border-color: #185fa5; background: #f0f7ff; }

/* v221：岗位收藏（按工厂分组）列表过长时，固定高度 + 上下滚动，
   避免几十个收藏厂把下方「岗位管理」整张卡挤到很下面 */
#savedBox {
  max-height: min(52vh, 460px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9cdd4 #f2f3f5;
  margin-top: 10px;
  padding: 8px 6px 8px 8px;
  background: #fafbfc;
  border: 1px solid #e5e6eb;
  border-radius: 10px;
}
