/* 掌控未来直聘 · 设计系统 Token 与基础样式
   风格：Bento Attio Flat Modern + Glass Finance Card 融合
   禁用项：emoji / 纯黑 #000000 / 渐变 / 三等分卡片 / Inter 字体
*/
:root {
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --text: #0A0A0B;
  --text-2: #52525B;
  --text-3: #A1A1AA;
  --border: #E4E4E7;
  --primary: #2563EB;
  --primary-weak: #EFF6FF;
  --success: #10B981;
  --success-weak: #ECFDF5;
  --warn: #F59E0B;
  --warn-weak: #FFFBEB;
  --error: #EF4444;
  --error-weak: #FEF2F2;
  --cyan: #06B6D4;
  --cyan-weak: #ECFEFF;
  --r-card: 12px;
  --r-btn: 8px;
  --r-tag: 6px;
  --sp-block: 64px;
  --sp-item: 16px;
  --sp-pad: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.08);
  --font: 'Sarasa Gothic SC', '更纱黑体 SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 400; margin: 0; }
b, strong { font-weight: 400; color: var(--text); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 880px; }
.section { margin-bottom: var(--sp-block); }
.section-title {
  font-size: 20px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-sub { color: var(--text-2); font-size: 13px; margin-bottom: var(--sp-item); }
.row { display: flex; gap: var(--sp-item); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-item); }
.col { display: flex; flex-direction: column; gap: var(--sp-item); }
.grow { flex: 1; }
.right { text-align: right; }
.center { text-align: center; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: var(--sp-pad);
  box-shadow: var(--shadow);
}
.card-hover { transition: box-shadow .18s ease, transform .18s ease; }
.card-hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.card-title { font-size: 16px; margin-bottom: 12px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}

/* Bento 网格：只用二等分与四等分，禁止三等分 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-item); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-item); }
.grid-2-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sp-item); }
.grid-4-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-item); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: var(--r-btn);
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  font-size: 14px; font-family: var(--font); cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; color: #fff; }
.btn-danger { color: var(--error); border-color: var(--error); background: var(--card); }
.btn-danger:hover { background: var(--error-weak); color: var(--error); border-color: var(--error); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: #F4F4F5; color: var(--text); }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 46px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled {
  background: #F4F4F5; border-color: var(--border); color: var(--text-3); cursor: not-allowed;
}
.btn:disabled:hover, .btn.disabled:hover { color: var(--text-3); border-color: var(--border); }

/* ---------- 表单 ---------- */
.field { margin-bottom: var(--sp-item); }
.label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.label .req { color: var(--error); margin-right: 4px; }
.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-btn);
  background: var(--card); color: var(--text); font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .15s ease;
}
.textarea { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.select { appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23A1A1AA' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-item); }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-item); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
.hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.err-msg { font-size: 12px; color: var(--error); margin-top: 6px; }

/* 开关 */
.switch { display: inline-block; width: 44px; height: 24px; position: relative; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span {
  position: absolute; inset: 0; background: #D4D4D8; border-radius: 999px; transition: background .18s ease;
}
.switch span::after {
  content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .18s ease;
}
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(20px); }

/* ---------- 标签 / 徽章 ---------- */
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: var(--r-tag); font-size: 12px; background: #F4F4F5; color: var(--text-2);
}
.tag-blue { background: var(--primary-weak); color: var(--primary); }
.tag-green { background: var(--success-weak); color: var(--success); }
.tag-amber { background: var(--warn-weak); color: #B45309; }
.tag-red { background: var(--error-weak); color: var(--error); }
.tag-gray { background: #F4F4F5; color: var(--text-2); }
.tag-cyan { background: var(--cyan-weak); color: #0E7490; }
.tag-outline { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* 四重认证强制单行展示，窄屏可横向滚动，避免换行挤成两行 */
.cert-badges { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; flex: 0 0 auto;
  border-radius: var(--r-tag); font-size: 12px; white-space: nowrap;
  background: #F4F4F5; color: var(--text-3); border: 1px solid var(--border);
}
.cert-badge.on { background: var(--success-weak); color: var(--success); border-color: #A7F3D0; }
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: #D4D4D8; }
.cert-badge.on .cert-dot { background: var(--success); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.table th, table.table td {
  padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle;
}
table.table th { color: var(--text-2); font-weight: 400; background: #FAFAFA; white-space: nowrap; }
table.table tbody tr:hover { background: #FAFAFA; }
table.table td .btn { height: 28px; padding: 0 10px; font-size: 12px; }

/* ---------- 空状态 / 分页 ---------- */
.empty { padding: 48px 20px; text-align: center; color: var(--text-3); }
.empty-title { font-size: 15px; color: var(--text-2); margin-bottom: 4px; }
.pager { display: flex; align-items: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pager-btn {
  min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--card);
  color: var(--text-2); font-size: 13px;
}
.pager-btn:hover { border-color: var(--primary); color: var(--primary); }
.pager-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager-btn.disabled { color: var(--text-3); cursor: not-allowed; }
.pager-total { margin-left: 8px; color: var(--text-3); font-size: 13px; }

/* ---------- 顶部导航（公共） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; white-space: nowrap; }
/* 头部 LOGO 两行式：上行站名、下行广告语（广告语原在页脚，已移到此处） */
.logo-stack { align-items: center; }
.logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.logo-name { font-size: 17px; }
.logo-slogan { font-size: 11px; color: var(--text-2); white-space: nowrap; }
/* 广告语在窄屏同样要显示（曾用 display:none 藏掉，用户反馈「LOGO 下面少了广告语」） */
@media (max-width: 480px) { .logo-slogan { font-size: 10px; } }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 12px; border-radius: var(--r-btn); color: var(--text-2); font-size: 14px; white-space: nowrap;
}
.nav a:hover { background: #F4F4F5; color: var(--text); }
.nav a.active { color: var(--primary); background: var(--primary-weak); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary-weak);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px;
  overflow: hidden; flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { border-top: 1px solid var(--border); background: var(--card); margin-top: var(--sp-block); }
.site-footer .wrap { padding: 32px 20px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 13px; }
.footer-copy { color: var(--text-3); font-size: 12px; }

/* 整站二维码：footer 扫码卡片 + 推广中心页 */
.footer-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.footer-qr img { width: 96px; height: 96px; border-radius: 8px; border: 1px solid var(--border); background: #fff; display: block; }
.footer-qr-text { font-size: 13px; color: var(--text-2); }
.footer-qr-link { font-size: 12px; color: var(--primary); text-decoration: none; }

.promote-card { max-width: 480px; margin: 0 auto; text-align: center; padding: 32px 28px; }
.promote-title { font-size: 18px; font-weight: 600; color: var(--text-1); }
.promote-sub { color: var(--text-2); font-size: 14px; margin: 8px 0 20px; }
.promote-qr { display: flex; justify-content: center; margin: 8px 0; }
.promote-qr img { width: 240px; height: 240px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.promote-url { font-size: 13px; color: var(--primary); margin: 12px 0 20px; word-break: break-all; }
.promote-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.promote-tip { color: var(--text-3); font-size: 12px; margin-top: 20px; line-height: 1.6; }

/* ---------- 首页 Hero ---------- */
.hero { padding: 56px 0 32px; text-align: center; }
.hero h1 { font-size: 34px; line-height: 1.4; margin-bottom: 10px; }
.hero p { color: var(--text-2); font-size: 15px; margin: 0 0 28px; }
.search-bar {
  display: flex; gap: 10px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 10px; box-shadow: var(--shadow);
}
.search-bar .input, .search-bar .select { height: 44px; border-color: transparent; background: #FAFAFA; }
.search-bar .btn { height: 44px; padding: 0 28px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-item); }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-pad); box-shadow: var(--shadow); }
.stat-num { font-size: 28px; line-height: 1.2; }
.stat-label { color: var(--text-2); font-size: 13px; margin-top: 4px; }

/* 控制台数据概览：三列紧凑网格（移动端友好，收窄留白） */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-3 { grid-template-columns: repeat(3, 1fr); }
.dash-cell { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 10px 6px; text-align: center; }
.dash-cell b { display: block; font-size: 20px; font-weight: 600; line-height: 1.15; color: var(--text); }
.dash-cell span { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }
@media (max-width: 360px) { .dash { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 职位卡片 ---------- */
.job-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--sp-pad); box-shadow: var(--shadow); transition: box-shadow .18s ease, transform .18s ease;
}
.job-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.job-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.job-logo { width: 44px; height: 44px; border-radius: 8px; background: #F4F4F5; flex: none; overflow: hidden; }
.job-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-title { font-size: 16px; margin-bottom: 2px; }
.job-meta { color: var(--text-2); font-size: 13px; }
.job-salary { color: var(--primary); font-size: 16px; white-space: nowrap; margin-left: auto; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 12px;
}

/* ---------- 首页「职位推荐」：热门/最新 标签切换 + 紧凑行（2026-09-23 方案 A） ---------- */
.jtabs { display: flex; gap: 6px; margin-bottom: 12px; }
.jtab {
  font-size: 13px; padding: 5px 16px; border-radius: 999px;
  background: #F4F4F5; color: var(--text-2); border: 1px solid transparent; cursor: pointer; line-height: 1.4;
}
.jtab:hover { color: var(--text); }
.jtab-on { background: var(--primary-weak); color: var(--primary); border-color: #BFDBFE; }
.jlist { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.jrow {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.jrow:last-child { border-bottom: 0; }
.jr-main { min-width: 0; flex: 1; }
.jr-title { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-meta { color: var(--text-3); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-tags { display: flex; gap: 4px; margin-top: 5px; }
.jr-salary { color: var(--primary); font-size: 15px; white-space: nowrap; margin-left: auto; }
.jmore { display: block; text-align: center; padding: 12px; font-size: 13px; color: var(--primary); border-top: 1px solid var(--border); }
.jmore:hover { background: var(--primary-weak); }

/* ---------- 职位详情页（竖向移动优先） ---------- */
.jd-overview { margin-bottom: 16px; }
.jd-title { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.jd-salary { color: var(--primary); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.jd-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  color: var(--text-2); font-size: 14px;
}
.jd-meta span { display: inline-flex; align-items: center; }
.jd-meta span:not(:last-child)::after {
  content: ''; display: inline-block; width: 3px; height: 3px;
  border-radius: 50%; background: var(--text-3); margin-left: 14px;
}
.jd-date { color: var(--text-3); font-size: 12px; margin-top: 12px; }

.jd-company { margin-bottom: 16px; }
.jd-logo { width: 36px; height: 36px; border-radius: 8px; background: #F4F4F5; overflow: hidden; flex: none; }
.jd-logo img { width: 100%; height: 100%; object-fit: cover; }
.jd-intro {
  color: var(--text-2); font-size: 13px; line-height: 1.8;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}

.jd-actions { margin-bottom: 16px; }
.jd-desc { line-height: 1.8; color: var(--text-2); font-size: 14px; }
.jd-desc img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.jd-desc p { margin: 0 0 10px; }

/* ---------- 筛选栏 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: var(--sp-item); }
.filters .select { width: auto; min-width: 120px; height: 36px; }
.filters .input { width: auto; min-width: 200px; height: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 32px; padding: 0 14px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card);
  color: var(--text-2); font-size: 13px; cursor: pointer;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.on:hover { color: #fff; }

/* ---------- 控制台布局（企业 / 合伙人 / 管理后台） ---------- */
.console { display: flex; min-height: 100vh; }
.console-side {
  width: 220px; flex: none; background: var(--card); border-right: 1px solid var(--border);
  padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-logo { display: flex; align-items: center; gap: 10px; padding: 8px 10px 18px; font-size: 16px; }
.side-group { margin-bottom: 8px; }
.side-group-title { font-size: 12px; color: var(--text-3); padding: 8px 10px; }
.side-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-radius: var(--r-btn); color: var(--text-2); font-size: 14px; margin-bottom: 2px;
}
.side-menu a:hover { background: #F4F4F5; color: var(--text); }
.side-menu a.active { background: var(--primary-weak); color: var(--primary); }
.side-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--error); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.console-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.console-top {
  height: 60px; padding: 0 24px; border-bottom: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; z-index: 20;
}
.console-body { padding: 24px; flex: 1; }
.page-head { margin-bottom: 20px; }
.page-title { font-size: 22px; }
.page-desc { color: var(--text-2); font-size: 13px; margin-top: 4px; }

/* 移动端控制台抽屉开关（汉堡按钮 + 遮罩），桌面端隐藏 */
.side-toggle { display: none; width: 36px; height: 36px; padding: 0; align-items: center; justify-content: center; }
.side-toggle .bars, .side-toggle .bars::before, .side-toggle .bars::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--text-1); border-radius: 2px;
}
.side-toggle .bars { position: relative; }
.side-toggle .bars::before { position: absolute; left: 0; top: -6px; }
.side-toggle .bars::after  { position: absolute; left: 0; top: 6px; }
.side-backdrop { display: none; }

/* ---------- 移动端布局（求职者端） ---------- */
.mobile { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
.mobile-top {
  position: sticky; top: 0; z-index: 30; height: 50px; background: var(--card);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; gap: 8px;
}
.mobile-top .title { flex: 1; text-align: center; font-size: 16px; }
.mobile-body { padding: 14px 14px 80px; }
.mobile-foot {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: var(--card); border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); z-index: 40;
}
.mobile-foot a {
  padding: 8px 0 10px; text-align: center; color: var(--text-3); font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.mobile-foot a.active { color: var(--primary); }
.mobile-foot .ico { width: 20px; height: 20px; }
.mobile-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-pad); margin-bottom: 12px; box-shadow: var(--shadow); }
.mobile-list-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.mobile-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: var(--card); border-top: 1px solid var(--border); padding: 10px 14px; display: flex; gap: 10px; z-index: 45; }
.mobile-bar .btn { flex: 1; }

/* ---------- 个人中心（求职者端 H5） ---------- */
/* 头部卡片：左=头像+昵称+ID，右=资料进度条+完善简历（上下排列） */
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-head-left { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; max-width: 52%; }
.pc-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary-weak); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
  overflow: hidden; position: relative; flex: 0 0 auto;
}
.pc-avatar img { position: absolute; inset: 0; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.pc-name { font-size: 15px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-id { color: var(--text-3); font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-head-right { flex: 1 1 auto; min-width: 0; }
.pc-bar-row { display: flex; align-items: center; gap: 8px; }
.pc-bar { flex: 1; height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; }
.pc-bar > i { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.pc-bar-pct { flex: 0 0 auto; color: var(--text-2); font-size: 12px; line-height: 1; }
.pc-cta {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 7px;
  padding: 3px 10px; border-radius: 999px; background: var(--primary-weak);
  color: var(--primary); font-size: 12px; line-height: 1.5;
}
.pc-cta:hover { color: var(--primary); }
/* 四个统计入口：同一容器内一行四列 */
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.pc-stat { display: block; text-align: center; position: relative; padding: 2px 0; }
.pc-stat + .pc-stat::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 24px; background: var(--border);
}
.pc-stat .n { font-size: 20px; line-height: 1.3; }
.pc-stat .t { color: var(--text-2); font-size: 12px; line-height: 1.4; }

/* ---------- 空白布局（登录 / 注册 / 错误） ---------- */
.blank { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.blank-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow); }
.blank-title { font-size: 22px; margin-bottom: 6px; }
.blank-sub { color: var(--text-2); font-size: 13px; margin-bottom: 24px; }
.blank-foot { margin-top: 20px; text-align: center; color: var(--text-2); font-size: 13px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.wx-btn {
  width: 100%; height: 44px; border-radius: var(--r-btn); border: 1px solid var(--border);
  background: var(--card); color: var(--text); display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; font-family: var(--font); font-size: 14px;
}
.wx-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- 进度条 ---------- */
.progress { height: 8px; background: #F4F4F5; border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .3s ease; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: var(--sp-item); overflow-x: auto; }
.tabs a {
  padding: 10px 16px; color: var(--text-2); font-size: 14px; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- 提示条 ---------- */
.alert { padding: 12px 14px; border-radius: var(--r-btn); font-size: 13px; margin-bottom: var(--sp-item); }
.alert-info { background: var(--primary-weak); color: var(--primary); }
.alert-success { background: var(--success-weak); color: var(--success); }
.alert-warn { background: var(--warn-weak); color: #B45309; }
.alert-error { background: var(--error-weak); color: var(--error); }

/* ---------- Toast ---------- */
#toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  padding: 10px 18px; border-radius: var(--r-btn); background: var(--text); color: #fff;
  font-size: 14px; box-shadow: var(--shadow-hover); animation: toastIn .2s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.warn { background: var(--warn); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10,10,11,.4); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal { background: var(--card); border-radius: var(--r-card); width: 100%; max-width: 460px; max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow-hover); }
.modal-head { padding: 18px 20px; border-bottom: 1px solid var(--border); font-size: 16px; display: flex; align-items: center; justify-content: space-between; }
.modal-body { padding: 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.modal-close { cursor: pointer; color: var(--text-3); font-size: 20px; line-height: 1; background: none; border: none; }

/* ---------- 上传控件 ---------- */
.uploader {
  border: 1px dashed var(--border); border-radius: var(--r-btn); padding: 18px; text-align: center;
  color: var(--text-2); cursor: pointer; background: #FAFAFA;
}
.uploader:hover { border-color: var(--primary); color: var(--primary); }
.thumb-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .del {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(10,10,11,.6); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.thumb-add {
  width: 84px; height: 84px; border: 1px dashed var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--text-3); cursor: pointer; font-size: 22px;
}

/* ---------- 认证页：文件预览与提交状态 ---------- */
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.file-preview .preview-img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: #F4F4F5; }
.file-picked { font-size: 13px; color: var(--primary); padding: 4px 0; display: inline-block; }
.file-note { font-size: 13px; color: var(--warn); font-weight: 500; }

/* ---------- 富文本 ---------- */
.editor-toolbar { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.editor-toolbar button {
  height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r-tag);
  background: var(--card); cursor: pointer; font-size: 12px; font-family: var(--font); color: var(--text-2);
}
.editor-toolbar button:hover { border-color: var(--primary); color: var(--primary); }
.editor-area {
  min-height: 180px; border: 1px solid var(--border); border-radius: var(--r-btn); padding: 12px;
  background: var(--card); outline: none; line-height: 1.8;
}
.editor-area:focus { border-color: var(--primary); }

/* ---------- 文档长文（协议 / 隐私） ---------- */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.doc-toc { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px; }
.doc-toc a { display: block; padding: 7px 10px; border-radius: var(--r-tag); color: var(--text-2); font-size: 13px; }
.doc-toc a:hover { background: #F4F4F5; color: var(--text); }
.doc-body { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; line-height: 1.9; }
.doc-body h2 { font-size: 18px; margin: 28px 0 10px; padding-top: 8px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 15px; margin: 18px 0 8px; }
.doc-body p { color: var(--text-2); margin: 0 0 12px; }
.doc-body ul { color: var(--text-2); padding-left: 22px; margin: 0 0 12px; }
.doc-body li { margin-bottom: 6px; }

/* ---------- 图表（纯 CSS 柱状图） ---------- */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; width: 100%; justify-content: center; }
.chart-bar { width: 8px; background: var(--primary); border-radius: 3px 3px 0 0; min-height: 2px; }
.chart-bar.alt { background: var(--cyan); }
.chart-bar.third { background: var(--success); }
.chart-label { font-size: 11px; color: var(--text-3); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.step { flex: 1; min-width: 150px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px; }
.step-no { width: 26px; height: 26px; border-radius: 50%; background: #F4F4F5; color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 13px; margin-bottom: 8px; }
.step.done .step-no { background: var(--success-weak); color: var(--success); }
.step.pending .step-no { background: var(--warn-weak); color: #B45309; }
.step.reject .step-no { background: var(--error-weak); color: var(--error); }

/* ---------- 图片预览 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); cursor: zoom-in; }
/* ---------- 照片文件丢失时的占位（替代裂图） ----------
   数据库里存的是路径字符串，文件可能已不在服务器上（迁移 uploads 目录漏搬等）。
   直接渲染 <img> 用户看到的只是一个裂图，分不清责任方；这里明确写成「已失效」。 */
.photo-bad {
  height: 110px; border-radius: 8px; border: 1px dashed var(--border);
  background: #F4F4F5; color: var(--text-3); font-size: 13px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.photo-bad span { font-size: 11px; color: var(--text-3); }
.thumb-bad {
  display: flex; align-items: center; justify-content: center;
  background: #F4F4F5; color: var(--text-3); font-size: 12px;
  border-style: dashed; text-align: center; line-height: 1.3;
}
.thumb .cap {
  position: absolute; left: 0; right: 0; bottom: 0; background: rgba(10,10,11,.55);
  color: #fff; font-size: 11px; text-align: center; padding: 2px 0;
}
.lightbox { position: fixed; inset: 0; background: rgba(10,10,11,.85); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
}
@media (max-width: 768px) {
  /* 注意：这里必须是 overflow: visible，否则会裁掉展开的导航抽屉（.nav.drawer 是绝对定位子元素），
     表现为「点菜单没反应」。原来写 overflow-x:auto 就是为了横向滚动，现已改为按需收缩。 */
  .site-header .wrap { height: 56px; gap: 10px; overflow: visible; }
  .nav { display: none; }
  .logo { flex: 1 1 auto; min-width: 0; overflow: hidden; gap: 8px; }
  .logo-text { min-width: 0; }
  .logo-name { font-size: 15px; }
  .header-actions { flex: none; gap: 6px; }
  .header-actions .btn { padding: 6px 10px; font-size: 13px; }
  .grid-2, .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .search-bar { flex-wrap: wrap; }
  .search-bar .input, .search-bar .select, .search-bar .btn { width: 100%; }
  .side-toggle { display: inline-flex; }
  .top-role, .top-phone { display: none; }
  .console-side {
    display: block;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 82%; max-width: 280px; height: 100%;
    transform: translateX(-100%); transition: transform .22s ease;
    z-index: 100; box-shadow: 0 0 40px rgba(0,0,0,.18);
  }
  .console-side.open { transform: translateX(0); }
  .side-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; }
  .side-backdrop.show { display: block; }
  .console-body { padding: 16px; }
  .hero { padding: 32px 0 20px; }
  .hero h1 { font-size: 26px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .filters .input, .filters .select { width: 100%; min-width: 0; }
}

/* 移动端导航抽屉（.nav 必须同时带 drawer 类，否则 .show 无任何样式 → 点「菜单」没反应） */
.nav-toggle { display: none; }
.nav-jobs-quick { display: none; }
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-jobs-quick { display: inline-flex; }
  .nav.drawer {
    display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--card);
    border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px; gap: 2px;
    z-index: 60; box-shadow: 0 12px 24px rgba(0,0,0,.08);
    max-height: calc(100vh - 56px); overflow-y: auto;
  }
  .nav.drawer.show { display: flex; }
  .nav.drawer a { width: 100%; padding: 12px 14px; font-size: 15px; }
}
@media (max-width: 480px) {
  /* 窄屏只保留「头像 / 退出 / 职位 / 菜单」，避免顶栏挤爆 */
  .header-actions .hide-sm { display: none; }
  .header-actions .btn { padding: 5px 9px; font-size: 12.5px; }
  /* 广告语换行显示（而不是被裁掉），这样 LOGO 区不会把「菜单」按钮顶出屏幕 */
  .logo-text { max-width: 112px; }
  .logo-slogan { font-size: 10px; white-space: normal; line-height: 1.25; }
}

/* ============================================================
   兼容工具层（Compatibility Layer）
   ------------------------------------------------------------
   为什么需要它：
   全部视图模板（104 个 .ejs）统一使用 style.css 设计系统的类命名，
   如 .container / .flex / .between / .text-sub / .mt-16 …，
   但四个布局（layout_public / layout_console / layout_mobile / layout_blank）
   实际只引入本文件 app.css，而 app.css 并未定义这些类，
   导致页面容器无最大宽度、间距全部失效、次级文字色丢失、Flex 对齐失效。
   这里按视图的真实使用情况补齐，纯新增，不覆盖本文件已有规则。
   命名与取值对齐设计系统（背景 #FAFAFA / 主色 #2563EB / 8px 栅格）。
   ============================================================ */

/* ---------- 标签配色别名 ----------
   常量表（constants.js）里状态配色的取值是 'green'/'amber'/'blue'/'red'/'gray'/'cyan'，
   而视图有两种写法：class="tag-green" 与 class="tag <%= cls %>"（即 class="tag green"）。
   这里把后者补上，避免大量状态标签退化成默认灰底。 */
.tag.green { background: var(--success-weak); color: var(--success); }
.tag.amber { background: var(--warn-weak); color: #B45309; }
.tag.blue { background: var(--primary-weak); color: var(--primary); }
.tag.red { background: var(--error-weak); color: var(--error); }
.tag.gray { background: #F4F4F5; color: var(--text-2); }
.tag.cyan { background: var(--cyan-weak); color: #0E7490; }

/* ---------- 拨号行：左=号码，右=蓝色圆形拨打图标 ----------
   用户明确要求：不要「一个框 + 一段文字说明」，而是左边直接显示企业 HR 电话、
   右边一个蓝色圆图标，点图标就拨号。整个一行都是 tel: 链接，点哪都能拨。 */
.tel-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 10px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; text-decoration: none; color: inherit;
}
.tel-row:active { background: #F8FAFC; }
.tel-row-left { flex: 1; min-width: 0; }
.tel-row-label { font-size: 12px; color: var(--text-3); }
.tel-row-num {
  font-size: 19px; font-weight: 600; color: var(--text-1);
  letter-spacing: .5px; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tel-call {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .28);
}

/* ---------- 页面容器 ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-wide { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* 变量别名：视图里混用了 style.css 的旧变量名，未定义时 var() 会整条属性失效
   （例如 color:var(--danger) 取不到值 → 颜色回退继承，红色提示看不出是红色） */
:root {
  --danger: #EF4444;
  --warning: #F59E0B;
  --sub: #52525B;
  --text-1: #0A0A0B;
  --primary-soft: #EFF6FF;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-tag: 6px;
  --space-gap: 16px;
  --space-pad: 20px;
  --space-block: 64px;
}

/* ---------- 间距（8px 栅格） ---------- */
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-4 { margin-bottom: 4px; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.pt-16 { padding-top: 16px; }
.p-8 { padding: 8px; } .p-12 { padding: 12px; } .p-16 { padding: 16px; } .p-24 { padding: 24px; }

/* ---------- 布局 ---------- */
.flex { display: flex; }
.between { justify-content: space-between; }
.flex-center { align-items: center; }
.flex.center, .flex.flex-center { align-items: center; }
.flex-col { flex-direction: column; }
.flex-wrap, .wrap-flex { flex-wrap: wrap; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.full { width: 100%; }

/* ---------- 文字层级（靠字号+颜色，不用 Bold） ---------- */
.text-sub, .text-muted-2 { color: var(--text-2); }
.text-muted, .text-3 { color: var(--text-3); }
.text-xs { font-size: 12px; } .text-sm { font-size: 13px; }
.text-md { font-size: 15px; } .text-lg { font-size: 18px; } .text-xl { font-size: 22px; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-warning { color: var(--warn); }
.text-strong { color: var(--text); }
.text-center { text-align: center; }
.center-text { text-align: center; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace; }
.rounded { border-radius: var(--r-btn); }
.rounded-card { border-radius: var(--r-card); }

/* ---------- 按钮补齐 ---------- */
.btn-outline { background: var(--card); border-color: var(--border); color: var(--text-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ---------- 勾选项 ---------- */
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--primary); flex: none; }

/* ---------- 网格 / Bento ---------- */
.grid { display: grid; gap: var(--sp-item); }
.bento { display: grid; gap: var(--sp-item); grid-template-columns: repeat(12, 1fr); }
.bento > .span-3 { grid-column: span 3; }
.bento > .span-4 { grid-column: span 4; }
.bento > .span-6 { grid-column: span 6; }
.bento > .span-8 { grid-column: span 8; }
.bento > .span-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > .span-3, .bento > .span-4, .bento > .span-6, .bento > .span-8 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .span-3, .bento > .span-4, .bento > .span-6, .bento > .span-8, .bento > .span-12 { grid-column: span 1; }
}

/* ---------- 企业/职位卡片内联结构 ---------- */
.company-card { display: flex; gap: 12px; align-items: center; }
.logo-box {
  width: 48px; height: 48px; border-radius: 10px; flex: none; overflow: hidden;
  background: var(--primary-weak); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.logo-box img { width: 100%; height: 100%; object-fit: cover; }
.salary { color: var(--primary); }
.meta { color: var(--text-2); font-size: 13px; }


/* ---------- 底部导航消息红点（求职者端 H5） ---------- */
.tab-ico-wrap { position: relative; display: inline-flex; }
.tab-dot {
  position: absolute; top: -5px; left: 12px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--error); color: #fff; font-size: 10px; font-style: normal; line-height: 16px;
  text-align: center; box-sizing: border-box;
}

/* ---------- 后台系统设置：双列纵向流式布局 ----------
   原先用 grid-2：支付配置很长，会把同一行的「功能开关」卡片撑高，留下大片空白。
   改为两列各自纵向堆叠，卡片按内容高度排布，不再互相撑高。 */
.settings-cols { display: flex; align-items: flex-start; gap: 16px; }
.settings-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .settings-cols { flex-direction: column; } .settings-col { width: 100%; } }

/* ---------- 人才库卡片（public/talent.ejs） ----------
   原版用 span-3 + span-9 分栏，且内层 grid-3 未定义 → 卡片被挤成一条窄列、右侧大片空白。
   改为与「职位」页同款：整行筛选条 + 自适应卡片网格，每行 3 张。 */
.grid-3-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-item); }
.talent-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 16px; box-shadow: var(--shadow);
}
.talent-head { display: flex; align-items: center; gap: 10px; }
.talent-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--primary-weak); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.talent-name { font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.talent-badge { font-size: 11px; color: var(--text-2); font-weight: 400; }
.talent-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talent-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.talent-facts > span {
  font-size: 12px; color: var(--text-2); background: #F4F4F5;
  border-radius: var(--r-tag); padding: 3px 8px; max-width: 130px;
}
.talent-line { display: flex; gap: 8px; font-size: 13px; color: var(--text); line-height: 1.6; }
.talent-label { color: var(--text-2); flex: none; width: 56px; }
.talent-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.talent-foot { margin-top: auto; padding-top: 4px; }

/* ---------------- 提交按钮的「处理中 / 已完成」态（app.js 的 markBusy 驱动） ----------------
   后台「提交审核」这类一次性动作，点完按钮毫无变化会让人以为没点上、反复点。
   这里给出明确视觉反馈：进行中半透明+禁用，完成后变绿并停在「✓ 已完成」。 */
.btn[data-busy] { opacity: .65; cursor: progress; }
.btn.is-done, .btn.is-done:disabled {
  background: var(--success); border-color: var(--success); color: #fff; opacity: 1; cursor: default;
}
.btn.is-done:hover { background: var(--success); }

/* ---------------- 图形验证码（短信通道报备期间的注册 / 换号校验） ----------------
   纯 Node 生成 SVG，不需要任何外部服务。点击可换一张（app.js bindCaptcha）。 */
.captcha-img {
  width: 120px; height: 42px; flex: none; border-radius: var(--r-btn);
  border: 1px solid var(--border); cursor: pointer; user-select: none;
  background: #F4F4F5; object-fit: cover;
}
.captcha-img:hover { border-color: var(--primary); }
.captcha-row { display: flex; gap: 8px; align-items: stretch; }
.captcha-row .input { flex: 1; min-width: 0; }

/* ---------------- 合伙人登录入口（原为一行浅灰小字，几乎没人看到） ----------------
   用户反馈：城市合伙人招募页上「已是城市合伙人？使用独立账号登录工作台」
   太不显眼。这里做成带底色的提示条 + 描边按钮，视觉重量接近主操作。 */
.login-tip {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--r-card);
  background: var(--primary-weak); border: 1px solid #BFDBFE;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.login-tip .login-tip-text { font-size: 14px; font-weight: 600; color: var(--text); }
.login-tip .login-tip-text small { display: block; font-weight: 400; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.login-tip .btn { flex: none; font-weight: 600; }
@media (max-width: 480px) {
  .login-tip { flex-direction: column; align-items: stretch; }
  .login-tip .btn { width: 100%; }
}

/* ---------------- 首页「推荐企业」紧凑行式（左 logo + 右企业名） ----------------
   用户反馈（2026-09-23）：原来「大 logo + 企业名 + 城市 + 四重认证标记」一张卡占位太高，
   企业一多首页被拉得很长。改为一行一个企业，去掉城市与认证标记（企业主页里都有）。 */
.ent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ent-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ent-row-logo {
  width: 34px; height: 34px; border-radius: 8px; flex: none; overflow: hidden;
  background: #F4F4F5; display: flex; align-items: center; justify-content: center;
}
.ent-row-logo img { width: 100%; height: 100%; object-fit: cover; }
.ent-row-initial { font-size: 15px; color: var(--text-2); }
.ent-row-name { font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 首页「平台公告」列表行 ----------------
   标题可能很长，日期不能被挤掉：标题可省略号截断，日期 flex:none 固定。 */
.notice-row { padding: 10px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.notice-row:last-child { border-bottom: none; }
.notice-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
