/*!
 * hire.css —— 高薪用工 / 求职应聘 板块样式
 * ---------------------------------------------------------------------------
 * 设计原则：
 *  1. 完全复用站点既有的设计变量（--c-primary / --c-ink / --c-line …）与
 *     基础类（.wrap / .block / .site-header / .fc-btn / .page-banner），
 *     保证与站内其他页面观感一致，不引入第二套设计语言。
 *  2. 所有自有类名统一加 `hire-` 前缀，避免与打包 CSS 里的类名（.job / .tags /
 *     .match-box 等）撞车 —— 打包 CSS 里有 .role-tabs / .modal 等同名类，
 *     所以这里一律不自造裸类名。
 *  3. 网格列一律写 minmax(0,1fr)：1fr 等价于 minmax(auto,1fr)，下限是
 *     min-content；格子内有 <select> 或英文长词时会被撑爆（本站踩过 4 次）。
 * ---------------------------------------------------------------------------
 * 移除方式：删除 hire.html 里对 /assets/hire.css 的引用即可。
 */

/* ===== 顶部横幅 ===== */
.hire-banner { padding-bottom: 0; }
.hire-banner .hire-banner-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.hire-banner h1 { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.hire-banner h1 .hl { color: var(--c-primary); }
.hire-banner .hire-sub { color: var(--c-ink-soft); margin-top: 9px; font-size: 14px; max-width: 620px; }
.hire-banner .hire-sub b { color: var(--c-primary); font-weight: 850; }

/* 角色切换：一个栏目、两个视图（与参考设计一致，避免导航臃肿） */
.hire-role-tabs { display: inline-flex; background: #fff; border: 1px solid var(--c-line); border-radius: 13px; padding: 5px; gap: 4px; box-shadow: var(--shadow); }
.hire-role-tabs button { padding: 10px 22px; border-radius: 9px; font-weight: 850; font-size: 14.5px; color: var(--c-ink-soft); transition: .15s; white-space: nowrap; }
.hire-role-tabs button:hover { background: #f7f1e9; }
.hire-role-tabs button.on { background: var(--c-primary); color: #fff; }
.hire-role-tabs button.on:hover { background: var(--c-primary-deep); }

/* ===== 主体两栏 ===== */
.hire-shell { padding-top: 26px; }
.hire-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 22px; align-items: start; }
.hire-main { min-width: 0; }
.hire-side { position: sticky; top: 84px; display: grid; gap: 14px; min-width: 0; }

/* ===== 筛选条 ===== */
.hire-filters {
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px;
  padding: 12px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 18px;
}
/* ⚠️ 这里**必须**是 flex-wrap，不能再写「1fr 关键词 + 固定 px 地区列」的 grid。
   固定 104px 的地区列会截断 6 个长省名（「新疆维吾尔自治区」实测需 146px，
   「广西/宁夏回族自治区」132px，「内蒙古自治区」118px）；而且 grid 里
   `minmax(0,1fr)` 的下限是 0，容器一紧就把每列压到 0（关键词轨道直接消失），
   浏览器不会换行。flex 的行为是先换行、再收缩，两头都稳。 */
.hire-filters > input[type="search"],
.hire-filters > input[type="text"] {
  /* 下限 320px：placeholder「搜岗位、企业、技能，如「数控」「焊工」」实测 292px，
     加左右内边距 22px + 边框 2px ≈ 316px；给到 320px 才保证完整可读。 */
  flex: 1 1 320px; min-width: 0;
}
.hire-filters > select {
  /* 地区下拉按内容自适应：<select> 的 intrinsic 宽度＝最长选项 + 箭头，
     正好把「新疆维吾尔自治区」整个放下；实在装不下才收缩/折行。 */
  flex: 0 1 auto; min-width: 0; max-width: 100%;
}
.hire-filters .hire-urgent-toggle { flex: 0 0 auto; }
/* 排序靠右收尾；换行后也停在右侧，视觉上仍是「一行筛选 + 一行操作」 */
.hire-filters .hire-sort { flex: 0 0 auto; margin-left: auto; }
/* 未选省/市时下游下拉置灰（三级联动的从属提示） */
.hire-filters select:disabled { background: #f7f3f0; color: #b3a69c; }
.hire-filters input, .hire-filters select {
  width: auto; min-width: 0; height: 40px; padding: 0 11px;
  border: 1px solid var(--c-line); border-radius: 10px; background: #fff; outline: none;
}
.hire-filters input:focus, .hire-filters select:focus { border-color: var(--c-primary); }
.hire-urgent-toggle {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px;
  border: 1px solid var(--c-line); border-radius: 10px; font-size: 13.5px; font-weight: 800;
  color: var(--c-ink-soft); cursor: pointer; white-space: nowrap; user-select: none;
}
.hire-urgent-toggle.on { border-color: var(--c-primary); color: var(--c-primary); background: #fff6f4; }
.hire-urgent-toggle input { width: auto; height: auto; margin: 0; }

/* ===== 结果头 ===== */
.hire-result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hire-result-head h2 { font-size: 20px; font-weight: 900; }
.hire-result-head h2 small { font-size: 12.5px; font-weight: 600; color: var(--c-ink-light); margin-left: 8px; }
.hire-result-sub { color: var(--c-ink-soft); font-size: 13px; margin-top: 5px; }
.hire-sort { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 4px; }
.hire-sort button { padding: 6px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 800; color: var(--c-ink-soft); }
.hire-sort button.on { background: var(--c-ink); color: #fff; }

/* ===== 成对出现的「次按钮 + 主按钮」：先统一等高 =====
 * ⚠️ 打包 CSS 里 `.fc-btn.ghost` 是 `border:1.5px solid`，而 `.fc-btn.primary` **没有边框**
 *   → 两个按钮并排时内容盒一样、但外框差 2~3px，实测 39px vs 37px，肉眼看着就是「歪的」。
 *   给同一组里的按钮统一补一条**透明**边框，让边框参与盒模型但不显形；ghost 再单独把颜色补回来。
 *   只加在已知的按钮组容器上（不动全局 .fc-btn，避免全站主按钮集体长高 3px 影响既有排版）。 */
.tr-bar-acts .fc-btn,
.cr-toolbar-btns .fc-btn { border: 1.5px solid transparent; }
.tr-bar-acts .fc-btn.ghost,
.cr-toolbar-btns .fc-btn.ghost { border-color: var(--c-ink); }

/* ===== 岗位 / 简历列表 ===== */
.hire-list { display: grid; gap: 11px; }
.hire-job {
  background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 16px 18px;
  display: grid; gap: 11px; transition: box-shadow .15s, border-color .15s, transform .15s;
}
.hire-job:hover { box-shadow: 0 8px 22px #00000014; border-color: var(--c-line-2); transform: translateY(-1px); }
.hire-job.is-urgent { border-left: 3px solid var(--c-primary); }
.hire-job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.hire-job-title { font-size: 17px; font-weight: 900; line-height: 1.35; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hire-job-title a { color: inherit; }
.hire-job-title a:hover { color: var(--c-primary); }
.hire-badge { font-size: 11px; font-weight: 850; padding: 3px 8px; border-radius: 999px; white-space: nowrap; flex: none; }
.hire-badge.urgent { background: rgba(201, 54, 40, .12); color: var(--c-primary); }
.hire-badge.fresh { background: #e9f2ea; color: #32713d; }
.hire-salary { color: var(--c-primary); font-size: 21px; font-weight: 950; white-space: nowrap; text-align: right; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hire-salary small { display: block; font-size: 11px; font-weight: 700; color: var(--c-ink-light); margin-top: 2px; }
.hire-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--c-ink-soft); }
.hire-meta b { color: var(--c-ink); font-weight: 800; }
.hire-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hire-tag { font-size: 11.5px; font-weight: 750; background: #f6f0e9; color: #6d604f; border-radius: 8px; padding: 4px 9px; }
.hire-tag.skill { background: #eef2f8; color: #3d5a80; }
.hire-desc { font-size: 13px; color: var(--c-ink-soft); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hire-job-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 11px; border-top: 1px dashed var(--c-line); flex-wrap: wrap; }
.hire-firm { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hire-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, #fff1e9, #ffe3d5); color: var(--c-primary);
  font-weight: 900; font-size: 15px;
}
.hire-firm-txt { min-width: 0; }
.hire-firm-txt b { display: block; font-size: 13.5px; font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hire-firm-txt span { display: block; font-size: 11.5px; color: var(--c-ink-light); margin-top: 1px; }
.hire-acts { display: flex; gap: 8px; flex: none; }
.hire-acts .fc-btn { padding: 8px 14px; font-size: 13px; }
.hire-applied { font-size: 12.5px; font-weight: 850; color: #32713d; display: inline-flex; align-items: center; gap: 5px; }

/* ===== 分页 ===== */
.hire-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.hire-pager button {
  min-width: 36px; height: 36px; padding: 0 11px; border: 1px solid var(--c-line); background: #fff;
  border-radius: 9px; font-weight: 800; font-size: 13px; color: var(--c-ink-soft); flex: none; width: auto;
}
.hire-pager button:hover:not(:disabled) { border-color: var(--c-primary); color: var(--c-primary); }
.hire-pager button.on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hire-pager button:disabled { opacity: .45; cursor: not-allowed; }
.hire-pager .hire-pg-info { font-size: 12.5px; color: var(--c-ink-light); margin: 0 6px; }

/* ===== 侧栏卡片 ===== */
.hire-side-card { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 16px 17px; }
.hire-side-card h3 { font-size: 15px; font-weight: 900; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.hire-side-card h3 .dot { width: 8px; height: 8px; border-radius: 2.5px; background: var(--c-primary); transform: rotate(45deg); flex: none; }
.hire-side-note { font-size: 12px; color: var(--c-ink-light); line-height: 1.6; }
.hire-steps { display: grid; gap: 9px; counter-reset: hs; }
.hire-step { position: relative; padding-left: 32px; font-size: 13px; line-height: 1.6; color: var(--c-ink-soft); }
.hire-step::before {
  counter-increment: hs; content: counter(hs);
  position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 900; color: #fff; background: var(--c-primary);
}
.hire-step b { color: var(--c-ink); }
.hire-side-card .fc-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* 板块统计 */
.hire-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.hire-stats div { background: #faf6f0; border: 1px solid var(--c-line); border-radius: 11px; padding: 11px 9px; text-align: center; }
.hire-stats b { display: block; font-size: 20px; font-weight: 950; color: var(--c-primary); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hire-stats span { display: block; font-size: 11px; color: var(--c-ink-light); margin-top: 3px; }

/* 产业带用工缺口 */
.hire-gap { display: grid; gap: 8px; }
.hire-gap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; }
.hire-gap-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-ink-soft); }
.hire-gap-row b { font-weight: 900; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.hire-gap-bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: #f1e9df; overflow: hidden; }
.hire-gap-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #e0806f, var(--c-primary)); }

/* 求职进度 */
.hire-progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hire-progress div { background: #faf6f0; border: 1px solid var(--c-line); border-radius: 11px; padding: 11px; }
.hire-progress b { display: block; font-size: 21px; font-weight: 950; line-height: 1.15; font-variant-numeric: tabular-nums; }
.hire-progress span { display: block; font-size: 11.5px; color: var(--c-ink-light); margin-top: 2px; }
.hire-progress div.k1 b { color: var(--c-ink); }
.hire-progress div.k2 b { color: #3d5a80; }
.hire-progress div.k3 b { color: #ab5e20; }
.hire-progress div.k4 b { color: #32713d; }

/* 微简历卡 */
.hire-mini-resume { display: grid; gap: 10px; }
.hire-mini-head { display: flex; align-items: center; gap: 10px; }
.hire-mini-head .hire-avatar { width: 42px; height: 42px; border-radius: 13px; font-size: 17px; }
.hire-mini-head b { font-size: 14.5px; font-weight: 900; display: block; }
.hire-mini-head span { font-size: 11.5px; color: var(--c-ink-light); }

/* ===== 我的（工作台）===== */
.hire-mine-list { display: grid; gap: 10px; }
.hire-mine-row {
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 16px;
  display: grid; gap: 9px;
}
.hire-mine-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hire-mine-top b { font-size: 15px; font-weight: 900; }
.hire-mine-top time { font-size: 11.5px; color: var(--c-ink-light); white-space: nowrap; }
.hire-mine-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hire-mine-acts .fc-btn { padding: 7px 13px; font-size: 12.5px; }

/* 投递状态标签 */
.hire-st { font-size: 11.5px; font-weight: 850; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.hire-st.s1 { background: #f4f0ea; color: #6d604f; }
.hire-st.s2 { background: #eef2f8; color: #3d5a80; }
.hire-st.s3 { background: #fff0dc; color: #ab5e20; }
.hire-st.s4 { background: #e9f2ea; color: #32713d; }
.hire-st.s5 { background: #f2efec; color: #8a7f74; }

/* 进度轨迹 */
.hire-track { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hire-track i { width: 22px; height: 3px; border-radius: 99px; background: #eae1d7; display: block; }
.hire-track i.done { background: var(--c-primary); }
.hire-track em { font-style: normal; font-size: 11.5px; color: var(--c-ink-light); font-weight: 700; }
.hire-track em.on { color: var(--c-primary); }

/* 空态 */
.hire-empty { background: #fff; border: 1px dashed var(--c-line-2); border-radius: 16px; padding: 46px 20px; text-align: center; color: var(--c-ink-soft); }
.hire-empty .hire-empty-ico { font-size: 40px; line-height: 1; }
.hire-empty b { display: block; margin-top: 12px; font-size: 15.5px; color: var(--c-ink); }
.hire-empty p { font-size: 13px; margin-top: 6px; }
.hire-empty .fc-btn { margin-top: 15px; }

/* ===== 弹窗 ===== */
.hire-mask {
  position: fixed; inset: 0; background: rgba(38, 33, 29, .46); z-index: 1100;
  display: grid; place-items: center; padding: 20px; overflow: auto;
}
.hire-mask[hidden] { display: none; }
.hire-modal { background: #fff; border-radius: 18px; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 30px 70px -30px rgba(38, 33, 29, .55); }
.hire-modal-sm { width: min(460px, 100%); }
.hire-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; background: #fff; z-index: 2;
}
.hire-modal-head h3 { font-size: 18px; font-weight: 900; }
.hire-modal-close { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 19px; color: var(--c-ink-light); flex: none; }
.hire-modal-close:hover { background: #f6f0e9; color: var(--c-ink); }
.hire-modal-body { padding: 18px 22px 22px; display: grid; gap: 14px; }
.hire-modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 15px 22px; border-top: 1px solid var(--c-line); position: sticky; bottom: 0; background: #fff; flex-wrap: wrap; }
.hire-modal-foot .fc-btn { justify-content: center; }

/* 表单 */
.hire-form { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hire-field { display: grid; gap: 6px; min-width: 0; }
.hire-field.full { grid-column: 1 / -1; }
.hire-field label { font-size: 12.5px; font-weight: 850; color: var(--c-ink-soft); }
.hire-field label em { font-style: normal; color: var(--c-primary); margin-left: 3px; }
.hire-field input, .hire-field select, .hire-field textarea {
  width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--c-line);
  border-radius: 10px; background: #fff; outline: none;
}
.hire-field textarea { resize: vertical; min-height: 88px; line-height: 1.65; }
.hire-field input:focus, .hire-field select:focus, .hire-field textarea:focus { border-color: var(--c-primary); }
.hire-field .hire-hint { font-size: 11.5px; color: var(--c-ink-light); line-height: 1.5; }
.hire-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 96px); gap: 8px; align-items: center; }
.hire-range span { color: var(--c-ink-light); }
.hire-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.hire-check {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--c-line);
  border-radius: 9px; font-size: 12.5px; font-weight: 750; color: var(--c-ink-soft); cursor: pointer; user-select: none;
}
.hire-check input { width: auto; height: auto; margin: 0; }
.hire-check.on { border-color: var(--c-primary); color: var(--c-primary); background: #fff6f4; }

/* 详情页内容 */
.hire-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hire-detail-head h2 { font-size: 22px; font-weight: 900; }
.hire-detail-head .hire-detail-sal { color: var(--c-primary); font-size: 26px; font-weight: 950; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.hire-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hire-kv div { background: #faf6f0; border: 1px solid var(--c-line); border-radius: 11px; padding: 11px 13px; min-width: 0; }
.hire-kv span { display: block; font-size: 11.5px; color: var(--c-ink-light); }
.hire-kv b { display: block; font-size: 14px; font-weight: 850; margin-top: 3px; word-break: break-all; }
.hire-block-title { font-size: 13.5px; font-weight: 900; margin-bottom: 8px; }
.hire-contact-box { background: #fffaf5; border: 1px solid #ecdcc9; border-radius: 12px; padding: 14px; display: grid; gap: 9px; }
.hire-contact-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
.hire-contact-row span { color: var(--c-ink-light); font-size: 12px; min-width: 62px; }
.hire-contact-row b { font-weight: 850; word-break: break-all; }
.hire-locked { text-align: center; padding: 15px; font-size: 13px; color: var(--c-ink-soft); line-height: 1.7; }

/* ===== 提示条 ===== */
.hire-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  background: rgba(38, 33, 29, .93); color: #fff; font-size: 13.5px; font-weight: 700;
  padding: 11px 20px; border-radius: 11px; z-index: 1300; max-width: calc(100vw - 40px);
  text-align: center; line-height: 1.55; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
}
.hire-toast[hidden] { display: none; }
.hire-toast.bad { background: rgba(166, 51, 41, .96); }

/* ===== 页脚 ===== */
.hire-foot { border-top: 1px solid var(--c-line); background: #fff; padding: 24px 0; margin-top: 30px; }
.hire-foot .wrap { font-size: 12.5px; color: var(--c-ink-light); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hire-foot a:hover { color: var(--c-primary); }

/* ===== 会员中心「高薪用工工作台」=====
 * 这个区块由 hire-member.js 注入到 /member 页面，所以 hire.css 也需要在
 * index.html 里加载一次（全部类名带 hire- / hb- 前缀，不会与站点样式冲突）。 */
.hire-wb { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 12px; }
.hire-wb-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
  padding: 15px 16px; display: grid; gap: 5px; min-width: 0;
}
.hire-wb-card b { font-size: 25px; font-weight: 950; line-height: 1.15; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.hire-wb-card b small { font-size: 12px; font-weight: 700; color: var(--c-ink-light); margin-left: 2px; }
.hire-wb-card span { font-size: 12px; color: var(--c-ink-light); }
.hire-wb-card .hire-gap-bar { margin-top: 4px; }
.hire-wb-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; align-items: center; }
.hire-wb-acts .fc-btn { padding: 9px 16px; font-size: 13.5px; }
.hire-wb-note { font-size: 12px; color: var(--c-ink-light); line-height: 1.6; }
.hire-lock { font-size: 13px; color: var(--c-ink-soft); padding: 6px 0; }
@media (max-width: 640px) {
  .hire-wb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hire-wb-acts .fc-btn { flex: 1; justify-content: center; }
}

/* ===== 响应式 =====
 * 断点沿用站点：1024（main-nav 隐藏）/ 860 / 640 / 480。
 * ⚠️ 641~1024 是站点既有的「无人区」（顶栏导航隐藏、底栏导航接手），
 *    这里让两栏在 ≤1024 就堆叠，避免在无人区里挤成窄条。 */
@media (max-width: 1024px) {
  .hire-layout { grid-template-columns: minmax(0, 1fr); }
  .hire-side { position: static; }
  /* ≤1024：两栏堆叠后主列就是整宽，flex-wrap 自然换行（关键词仍保持 320px 下限） */
}
@media (max-width: 860px) {
  .hire-banner h1 { font-size: 26px; }
}
@media (max-width: 640px) {
  .hire-shell { padding-top: 18px; }
  .hire-banner { padding: 24px 0 0; }
  .hire-banner-in { flex-direction: column; align-items: stretch; gap: 15px; }
  .hire-banner h1 { font-size: 23px; }
  .hire-banner .hire-sub { font-size: 13px; }
  .hire-role-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hire-role-tabs button { padding: 11px 8px; font-size: 13.5px; text-align: center; }
  /* ≤640：一行一个控件，全部铺满 —— flex-wrap 的自动换行在 390px 会切得七零八落。
     ⚠️ 这里**不能**用 `flex-direction: column`：列方向下 flex-basis 管的是**高度**，
     travel.css 里的 `#trFilterKeyword { flex: 1 1 300px }` 会把输入框撑成 300px 高
     （实测筛选栏被撑到 1038px）。正解＝保持 row 方向，把 flex-basis 设成 100%，
     宽度占满一行、自然换行，高度仍是 40px。 */
  .hire-filters { padding: 11px; }
  .hire-filters > input, .hire-filters > select { flex: 1 1 100%; width: 100%; }
  /* ID 覆写：`#hireFilterKeyword`(1,0,0) 高于 `.hire-filters > input[type=search]`(0,2,1)，
     不加 ID 压不住上面那条 320px 的 flex-basis */
  .hire-filters #hireFilterKeyword { flex: 1 1 100%; width: 100%; }
  .hire-filters .hire-sort,
  .hire-filters .hire-urgent-toggle { margin-left: 0; width: 100%; justify-content: center; }
  .hire-job { padding: 13px 14px; }
  .hire-job-top { flex-direction: column; gap: 7px; }
  .hire-salary { text-align: left; font-size: 19px; }
  .hire-job-foot { align-items: stretch; }
  .hire-acts { width: 100%; }
  .hire-acts .fc-btn { flex: 1; justify-content: center; }
  .hire-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hire-field { gap: 4px; }
  .hire-field input, .hire-field select, .hire-field textarea { padding: 9px 11px; }
  .hire-kv { grid-template-columns: minmax(0, 1fr); }
  .hire-range { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .hire-range select { grid-column: 1 / -1; }
  .hire-detail-head { flex-direction: column; gap: 9px; }
  .hire-detail-head .hire-detail-sal { text-align: left; }
  .hire-modal { border-radius: 15px; width: 100%; }
  .hire-mask { padding: 0; align-items: flex-end; }
  .hire-modal { max-height: 92vh; border-radius: 16px 16px 0 0; }
  .hire-modal-head { padding: 15px 16px; }
  .hire-modal-body { padding: 15px 16px 18px; }
  .hire-modal-foot { padding: 13px 16px; }
  .hire-modal-foot .fc-btn { flex: 1; }
  .hire-toast { bottom: 88px; }
  .hire-foot { padding-bottom: 96px; }
  .hire-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 2026-09-12 新增：求职人员联系方式「按会员等级计次」 =====================
   规则见 api.mjs 的 MEMBERSHIP / resumeViewQuota：
     普通会员 0 次（点击 → 引导升级）、高级会员 100 次/年、尊享会员 1000 次/年。
   同一份简历当年内看过一次后长期可见，不重复扣。
   ========================================================================== */
.hire-reveal-btn { margin-top: 10px; width: 100%; justify-content: center; }

.hire-reveal-note {
  margin: 0 0 10px; font-size: 13.5px; line-height: 1.7;
  color: var(--c-ink, #26211d);
}
.hire-reveal-note b { color: var(--c-primary, #c93628); font-variant-numeric: tabular-nums; }
.hire-reveal-note.hire-dim,
.hire-dim { color: var(--c-ink-light, #9a8a80); font-size: 12.5px; }

.hire-reveal-list {
  margin: 0 0 10px; padding: 11px 13px; list-style: none;
  border: 1px solid var(--c-line, #e3d9cf); border-radius: var(--radius, 14px);
  background: var(--c-bg, #f8f5f0); display: grid; gap: 7px;
  font-size: 13px; line-height: 1.6; color: var(--c-ink, #26211d);
}
.hire-reveal-list li { position: relative; padding-left: 16px; }
.hire-reveal-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-primary, #c93628); opacity: .85;
}
.hire-reveal-list b { color: var(--c-primary, #c93628); }
