/* 新 PC 站的设计基础。
 *
 * 定位：招聘站的主线是"快速扫职位"，所以版式以信息密度和可扫读为先——
 * 深色顶栏压住品牌，正文用极浅灰底 + 白卡，主色只留给"薪资/主按钮"。
 * 与旧站（app/template/default/style/*.css）完全解耦：换壳不动旧模板，
 * 旧页面继续引旧 CSS，各页自洽，便于逐页替换与回滚。
 */

/* 色板与圆角按「多加直聘」的视觉重定：主蓝 #0078ff、薪资橙 #ff6000、
   页面底 #f1f2f6、卡片**直角无描边**（靠白底与间距分隔）。
   这些值是直接从参考站的计算样式里取的，不是凭截图估的。
   影响全站：改 --radius 会让所有卡片/按钮一起变硬朗，这是统一风格的前提。 */
:root {
  --brand: #0078ff;
  --brand-dark: #0060d0;
  --accent: #ff6000;
  --ink: #111;
  --ink-2: #666;
  --ink-3: #999;
  --line: #e8e9ee;
  --bg: #f1f2f6;
  --card: #fff;
  --ok: #0f9d58;
  --radius: 2px;
  --shadow: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1164px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: linear-gradient(100deg, #0d2a5c 0%, #1656d6 60%, #1e6ef0 100%);
  color: #fff;
}
.topbar .wrap {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.brand {
  font-size: 20px; font-weight: 800; letter-spacing: .5px;
  white-space: nowrap;
}
.brand span { color: #ffd166; }
.topnav { display: flex; gap: 18px; font-size: 15px; opacity: .92; }
.topnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.search { margin-left: auto; display: flex; }
.search input {
  width: 260px; height: 36px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-right: 0; border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, .14); color: #fff; outline: none;
}
.search input::placeholder { color: rgba(255, 255, 255, .7); }
.search input:focus { background: rgba(255, 255, 255, .22); }
.search button {
  height: 36px; padding: 0 18px; border: 0; border-radius: 0 8px 8px 0;
  background: #ffd166; color: #3a2a00; font-weight: 700; cursor: pointer;
}
.account { display: flex; gap: 10px; font-size: 14px; white-space: nowrap; }
.account a:hover { text-decoration: underline; }

/* ---------- 页头 ---------- */
.pagehead { padding: 28px 0 10px; }
.pagehead h1 { font-size: 26px; letter-spacing: -.2px; }
.pagehead p { margin-top: 6px; color: var(--ink-3); }
.pagehead b { color: var(--accent); font-size: 18px; }

/* ---------- 布局 ---------- */
.layout {
  display: grid; grid-template-columns: 248px minmax(0, 1fr);
  gap: 20px; align-items: start; padding: 12px 0 56px;
}

/* ---------- 侧栏筛选 ---------- */
.filters {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: sticky; top: 16px;
}
.filter { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.filter:last-child { border-bottom: 0; }
.filter h2 {
  font-size: 13px; color: var(--ink-3); font-weight: 600;
  letter-spacing: .4px; margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 10px; border-radius: 999px; font-size: 13px;
  color: var(--ink-2); background: #f0f3f8; border: 1px solid transparent;
}
.chip:hover { background: #e6ecf8; color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; }
.chip.on:hover { background: var(--brand-dark); color: #fff; }

/* ---------- 列表 ---------- */
.list { display: flex; flex-direction: column; gap: 12px; }

.job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.job:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(23, 26, 32, .06), 0 12px 28px rgba(23, 26, 32, .1);
}
.job-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.job-title a {
  font-size: 17px; font-weight: 700; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.job-title a:hover { color: var(--brand); }
.job-salary { color: var(--accent); font-weight: 700; font-size: 16px; white-space: nowrap; }

.badge {
  flex: none; font-size: 12px; line-height: 18px; padding: 0 6px;
  border-radius: 4px; font-weight: 600;
}
.badge-tg { color: #b45309; background: #fff3d6; }
.badge-top { color: #0b6b3a; background: #e2f6ea; }
.badge-part { color: #4b3fbf; background: #eceafe; }

.job-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: 13px; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-meta .dot { color: var(--ink-3); }

.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag {
  font-size: 12px; color: var(--ink-2); background: #f4f6fa;
  border-radius: 4px; padding: 2px 8px;
}

.job-side {
  grid-row: 1 / span 3; display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between; gap: 10px; min-width: 148px;
}
.company { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.company a { font-size: 14px; color: var(--ink-2); max-width: 200px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company a:hover { color: var(--brand); }
.verified { font-size: 12px; color: var(--ok); }
.btn-apply {
  display: inline-block; padding: 7px 16px; border-radius: 8px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 13px;
}
.btn-apply:hover { background: var(--brand-dark); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 22px 0 8px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: transparent; }

/* ---------- 空态 ---------- */
.empty {
  padding: 60px 20px; text-align: center; color: var(--ink-3);
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line); background: #fff;
  padding: 24px 0 40px; color: var(--ink-3); font-size: 13px;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .topbar .wrap { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .search input { flex: 1; width: auto; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .job { grid-template-columns: 1fr; }
  .job-side { grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .company { align-items: flex-start; }
}

/* ---------- 页签（企业列表：全部/名企/实地核验/认证） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 14px; }
.tab {
  padding: 7px 16px; border-radius: 999px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 企业卡 ----------
   注意：.company 还被职位卡片用作"企业信息块"（flex 列），
   所以企业卡必须用 article.company 限定，否则两者互相覆盖。 */
article.company {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px; padding: 16px 18px; align-items: start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
article.company:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(23, 26, 32, .06), 0 12px 28px rgba(23, 26, 32, .1);
}
.company-logo { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #f0f3f8; }
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-main { min-width: 0; }
.company-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.company-name { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.company-name:hover { color: var(--brand); }
.company-jobs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.company-jobs li { font-size: 13px; }
.company-jobs a { color: var(--ink-2); border-bottom: 1px dashed transparent; }
.company-jobs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.company-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.btn-ghost {
  display: inline-block; padding: 6px 14px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--brand); color: var(--brand); white-space: nowrap;
}
.btn-ghost:hover { background: var(--brand); color: #fff; }
.muted { color: var(--ink-3); font-size: 13px; }

@media (max-width: 900px) {
  .company { grid-template-columns: 56px minmax(0, 1fr); }
  .company-logo { width: 56px; height: 56px; }
  .company-side { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; align-items: center; }
  .company-name { max-width: none; white-space: normal; }
}

/* ---------- 面包屑 ---------- */
.crumb { padding: 16px 0 4px; color: var(--ink-3); font-size: 13px; }
.crumb a:hover { color: var(--brand); }
.crumb span { padding: 0 6px; }
.crumb em { font-style: normal; color: var(--ink-2); }

/* ---------- 企业详情头 ---------- */
.com-hero {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px; align-items: center; padding: 20px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 0 16px;
}
.com-hero-logo { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: #f0f3f8; }
.com-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.com-hero-main h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 22px; letter-spacing: -.2px; }
.com-hero-main .job-meta { margin-top: 8px; }
.com-hero-main .job-tags { margin-top: 10px; }
.com-hero-side { display: flex; gap: 26px; }
.com-stat { text-align: center; }
.com-stat b { display: block; font-size: 22px; color: var(--brand); }
.com-stat span { font-size: 12px; color: var(--ink-3); }

.layout-detail { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 56px; }
.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px;
}
.panel-title { font-size: 16px; margin-bottom: 12px; }
.panel-title small { color: var(--ink-3); font-weight: 400; font-size: 13px; margin-left: 6px; }
.com-intro { color: var(--ink-2); line-height: 1.9; white-space: pre-wrap; }
.com-facts { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.com-facts li { display: flex; gap: 12px; padding: 5px 0; font-size: 14px; }
.com-facts span { flex: none; width: 72px; color: var(--ink-3); }
.com-facts em { font-style: normal; color: var(--ink); }

.job-rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.job-rows li:last-child { border-bottom: 0; }
.job-rows-name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-rows-name:hover { color: var(--brand); }
.btn-sm { padding: 5px 12px; font-size: 12px; }

@media (max-width: 900px) {
  .com-hero { grid-template-columns: 64px minmax(0, 1fr); }
  .com-hero-logo { width: 64px; height: 64px; }
  .com-hero-side { grid-column: 1 / -1; justify-content: flex-start; gap: 32px; }
}

/* ---------- 首页 ---------- */
.hero {
  background: linear-gradient(120deg, #0d2a5c 0%, #1656d6 55%, #2a7bf0 100%);
  color: #fff; padding: 52px 0 44px;
}
.hero h1 { font-size: 34px; letter-spacing: -.6px; }
.hero-sub { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 15px; }
.hero-search {
  display: flex; gap: 0; margin-top: 22px; max-width: 720px;
  background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 12px 32px rgba(6, 22, 56, .28);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: none; padding: 0 14px;
  height: 44px; font-size: 15px; color: var(--ink); background: transparent;
}
.hero-search button {
  border: 0; border-radius: 9px; padding: 0 26px; height: 44px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.hero-search button:hover { background: var(--brand-dark); }
.hero-search-alt {
  display: inline-flex; align-items: center; padding: 0 18px; height: 44px;
  color: var(--ink-2); font-size: 14px; border-left: 1px solid var(--line);
}
.hero-search-alt:hover { color: var(--brand); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 13px; }
.hero-tags a { color: rgba(255, 255, 255, .86); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 1px; }
.hero-tags a:hover { color: #fff; border-bottom-color: #fff; }

.block { padding: 26px 0 6px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.block-head h2 { font-size: 20px; letter-spacing: -.2px; }
.block-head .more { font-size: 13px; color: var(--ink-3); }
.block-head .more:hover { color: var(--brand); }

.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat {
  display: block; padding: 14px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .12s ease, border-color .12s ease;
}
.cat:hover { transform: translateY(-2px); border-color: var(--brand); }
.cat b { display: block; font-size: 15px; }
.cat span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }

.news-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.news-list li:last-child { border-bottom: 0; }
.news-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover { color: var(--brand); }
.news-list span { flex: none; color: var(--ink-3); font-size: 13px; }

@media (max-width: 900px) {
  .hero { padding: 34px 0 30px; }
  .hero h1 { font-size: 24px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-list li { flex-direction: column; gap: 2px; }
}

/* ---------- 职位详情 ---------- */
.job-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px;
  align-items: center; padding: 22px 24px; margin: 10px 0 16px;
  background: linear-gradient(120deg, #fff 0%, #f7faff 100%);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.job-hero-main h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 24px; letter-spacing: -.3px; }
.job-hero-salary { margin-top: 8px; font-size: 22px; font-weight: 800; color: var(--accent); }
.job-hero-main .job-meta { margin-top: 10px; }
.job-hero-main .job-tags { margin-top: 12px; }
.job-hero-actions { text-align: right; }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 10px; }
.job-hero-actions .hint { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.job-hero-actions .hint a { color: var(--brand); }

.detail-2col { grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; padding-bottom: 56px; }
.job-desc { color: var(--ink-2); line-height: 1.9; word-break: break-word; }
.job-desc img { max-width: 100%; height: auto; border-radius: 8px; }
.job-addr { color: var(--ink-2); line-height: 1.8; }

.side { display: flex; flex-direction: column; gap: 16px; }
.com-box-head { display: flex; gap: 12px; align-items: center; }
.com-box-head img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #f0f3f8; }
.com-box-head b { display: block; font-size: 15px; margin-bottom: 2px; }
.com-box-intro {
  margin: 12px 0; color: var(--ink-3); font-size: 13px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.related li:last-child { border-bottom: 0; }
.related a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related a:hover { color: var(--brand); }
.related span { flex: none; color: var(--accent); font-weight: 600; font-size: 13px; }

@media (max-width: 900px) {
  .job-hero { grid-template-columns: 1fr; }
  .job-hero-actions { text-align: left; }
  .detail-2col { grid-template-columns: 1fr; }
}

/* ---------- 登录 / 注册 ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 56px 0 80px; }
.auth-card {
  width: min(420px, 100%); padding: 32px 30px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 24px; letter-spacing: -.3px; }
.auth-sub { margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.auth-error {
  margin-top: 16px; padding: 10px 12px; border-radius: 8px;
  background: #fff1f0; color: #b42318; font-size: 13px; border: 1px solid #ffd7d2;
}
.auth-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.auth-form input {
  height: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px;
  border: 1px solid var(--line); outline: none; background: #fbfcfe;
}
.auth-form input:focus { border-color: var(--brand); background: #fff; }
.btn-block { display: block; width: 100%; text-align: center; height: 44px; line-height: 44px; border: 0; cursor: pointer; }
.auth-foot { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; }
.auth-foot a { color: var(--brand); }
.auth-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; }
.hello { color: rgba(255, 255, 255, .92); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 注册页 ---------- */
.auth-card-wide { width: min(560px, 100%); }
.auth-tip { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* 身份选择：单选卡片 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label {
  display: block; padding: 12px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: #fbfcfe;
  transition: border-color .12s ease, background .12s ease;
}
.seg label:hover { border-color: var(--brand); }
.seg label.on { border-color: var(--brand); background: #f2f7ff; box-shadow: inset 0 0 0 1px var(--brand); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg b { display: block; font-size: 14px; color: var(--ink); }
.seg span { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }

@media (max-width: 560px) {
  .seg { grid-template-columns: 1fr; }
}

/* ---------- 个人中心 ---------- */
.member-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 22px 0 60px; align-items: start; }
.member-side { position: sticky; top: 16px; }
.member-me { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.member-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1656d6, #2a7bf0); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.member-me b { display: block; font-size: 14px; }
.member-me span { font-size: 12px; color: var(--ink-3); }
.member-nav { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.member-nav a { padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.member-nav a:hover { background: #eef4ff; color: var(--brand); }
.member-nav a.on { background: var(--brand); color: #fff; font-weight: 600; }
.member-nav a.quit { margin-top: 8px; color: var(--ink-3); font-size: 13px; }

.member-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.member-title { font-size: 20px; letter-spacing: -.2px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-head .link { font-size: 13px; color: var(--brand); }
.pct { font-size: 13px; color: var(--ink-3); }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 20px; color: var(--brand); }
.stat span { font-size: 12px; color: var(--ink-3); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.kv li { display: flex; gap: 10px; font-size: 14px; }
.kv span { flex: none; width: 72px; color: var(--ink-3); }
.kv em { font-style: normal; color: var(--ink); }
.dim { color: var(--ink-3); font-style: normal; }
.lock { font-size: 12px; color: #b42318; font-style: normal; margin-left: 4px; }

.tip { margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.empty { color: var(--ink-3); font-size: 14px; }
.empty a { color: var(--brand); }

.apply-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.apply-list li:last-child { border-bottom: 0; }
.apply-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.apply-job { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-job:hover { color: var(--brand); }
.apply-com { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apply-com:hover { color: var(--brand); }
.apply-date { flex: none; width: 118px; text-align: right; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.badge { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.st-1 { background: #fff5e6; color: #b25e00; }
.st-2 { background: #eaf2ff; color: #1656d6; }
.st-4 { background: #f2f4f7; color: #667085; }
.st-6 { background: #f2f4f7; color: #98a2b3; }

.progress { height: 6px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #2a7bf0, #1656d6); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); background: #fbfcfe; outline: none;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--brand); background: #fff; }
.form-grid textarea { resize: vertical; line-height: 1.7; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }

.auth-notice { padding: 10px 12px; border-radius: 8px; background: #eefaf1; color: #067647; font-size: 13px; border: 1px solid #c9ebd4; }

@media (max-width: 900px) {
  .member-wrap { grid-template-columns: 1fr; }
  .member-side { position: static; }
  .member-nav { flex-direction: row; flex-wrap: wrap; }
  .stat-row { grid-template-columns: 1fr; }
  .kv, .form-grid { grid-template-columns: 1fr; }
}

/* 顶栏用户名：既是文字也是个人中心入口 */
.account a.hello { color: rgba(255, 255, 255, .92); }
.account a.hello:hover { color: #fff; text-decoration: underline; }

/* ---------- 投递状态 ---------- */
.btn-apply.is-done, .btn-apply:disabled {
  background: #e8ecf3; color: #667085; cursor: not-allowed; box-shadow: none;
}
button.btn-apply { border: 0; cursor: pointer; font-family: inherit; }
.flash { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.flash.ok { background: #eefaf1; color: #067647; border: 1px solid #c9ebd4; }
.flash.warn { background: #fff6ed; color: #b25e00; border: 1px solid #fde3c4; }

/* ---------- 求职意向 ---------- */
select.multi { height: auto; padding: 8px; }
select.multi option { padding: 3px 6px; }
select.multi optgroup { font-style: normal; font-weight: 600; color: var(--ink-3); }
.form-grid label em.dim { font-style: normal; font-size: 12px; }

/* ---------- 收藏 ---------- */
.fav-form { margin-top: 10px; }
.btn-fav {
  display: inline-block; padding: 7px 16px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  cursor: pointer; font-family: inherit;
}
.btn-fav:hover { border-color: var(--brand); color: var(--brand); }
.btn-fav.on { border-color: #f0b429; background: #fffaf0; color: #b25e00; }

/* ---------- 聊一聊（站内 IM 入口） ----------
 * 与"收藏"同为次要动作，但用品牌蓝描边区分：它是**沟通**，不是"记下来"。
 * inline-block + 上下 margin 是为了在职位详情的右对齐操作区里自然折行。
 */
.btn-chat {
  display: inline-block; margin-top: 10px; margin-left: 8px;
  padding: 7px 16px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--brand); background: #fff; color: var(--brand);
}
.btn-chat:hover { background: var(--brand); color: #fff; }
.btn-chat .i { vertical-align: -2px; }

/* ---------- 企业中心 ---------- */
/* 企业中心原来限宽 980px，换上门户页头后比页头窄一截，两边对不齐 */
.com-wrap { max-width: none; padding: 16px 0 56px; }
.com-wrap .member-title small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.ember-actions { display: flex; gap: 12px; align-items: center; }

/* ==========================================================================
   UI 2.0 视觉规范（在既有类名之上重定 token 与外壳）
   --------------------------------------------------------------------------
   原则：只覆盖 token 与外观，不动类名与结构，所以所有页面一次生效；
   版式按 8px 节奏重排，层级靠字号/字重/留白建立，不靠阴影堆叠。
   品牌蓝保留（--brand 仍为 #1656d6 系），强调色收敛到一处（薪资/主 CTA）。
   ========================================================================== */
:root {
  /* 品牌色阶：50 用于浅底，600 是主色，900 用于顶栏与深色块。
     基准值 #0078ff 取自参考站（多加直聘）的计算样式。 */
  --brand: #0078ff;
  --brand-600: #0068e0;
  --brand-700: #0058c0;
  --brand-900: #0043a0;
  --brand-50: #eaf3ff;
  --brand-100: #d3e7ff;
  --brand-200: #a8ccff;
  --brand-dark: #0068e0;

  /* 强调色只留给"钱"和主按钮，避免全站彩色噪音。
     参考站的薪资橙是 #ff6000（16px、不加粗），照搬。 */
  --accent: #ff6000;
  --accent-soft: #fff1e8;

  --ink: #111111;
  --ink-2: #666666;
  --ink-3: #999999;
  --line: #e8e9ee;
  --line-2: #f0f1f5;
  --bg: #f1f2f6;
  --card: #ffffff;
  --ok: #0f9d58;
  --warn: #b54708;

  /* 参考站几乎不用圆角：卡片直角、按钮 2px。沿用 14px 会显得"太现代"，
     和它的信息密度不搭。 */
  --radius: 2px;
  --radius-sm: 2px;
  --radius-pill: 999px;
  --shadow: none;
  --shadow-md: none;
  --ring: 0 0 0 3px var(--brand-100);
}

body { font-size: 14px; line-height: 1.65; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-200);
  outline-offset: 2px;
}

/* ---------- 顶栏：平面深蓝，取代渐变 ---------- */
.topbar {
  background: var(--brand-900);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.topbar .wrap { height: 60px; gap: 22px; }
.brand { font-size: 19px; font-weight: 700; letter-spacing: .2px; }
.brand span { color: #8fb6ff; }
.topnav { gap: 20px; font-size: 14px; opacity: .82; }
.topnav a { transition: opacity .12s ease; }
.topnav a:hover { opacity: 1; text-decoration: none; }

.search input {
  width: 280px; height: 34px;
  border: 1px solid transparent; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: #fff; color: var(--ink);
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { background: #fff; box-shadow: var(--ring); }
.search button {
  height: 34px; padding: 0 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent); color: #fff; font-weight: 600;
}
.search button:hover { background: #d14715; }
.account { gap: 14px; opacity: .9; }

/* ---------- 首屏 ---------- */
.hero {
  background: var(--brand-900);
  background-image: radial-gradient(900px 380px at 78% -30%, rgba(90, 148, 255, .38), transparent 68%);
  padding: 52px 0 44px;
}
.hero h1 { font-size: 32px; font-weight: 700; letter-spacing: -.8px; }
.hero-sub { margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.hero-search { margin-top: 22px; gap: 0; max-width: 720px; }
.hero-search input {
  height: 46px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 0; font-size: 15px;
}
.hero-search button {
  height: 46px; padding: 0 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
}
.hero-search button:hover { background: #d14715; }
/* 注意：这个链接在 .hero-search 的白底容器**里面**，文字必须是深色。
   UI 2.0 改版时这里被写成 #fff，结果「找企业」在白底上完全看不见
   ——首页一直少一个入口，谁也没发现，因为"看不见"不像"错位"那么扎眼。 */
.hero-search-alt {
  margin-left: 6px; padding: 0 12px; color: var(--ink-2); font-size: 14px;
  align-self: center; white-space: nowrap;
}
.hero-search-alt:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
.hero-tags { margin-top: 18px; gap: 8px 18px; }
.hero-tags a { border-bottom: 0; color: rgba(255, 255, 255, .72); font-size: 13px; }
.hero-tags a:hover { color: #fff; }

/* ---------- 区块标题 ---------- */
.block { padding: 30px 0 4px; }
.block-head { align-items: center; margin-bottom: 16px; }
.block-head h2 { font-size: 19px; font-weight: 600; letter-spacing: -.2px; }
.block-head .more { color: var(--ink-3); font-size: 13px; }
.block-head .more:hover { color: var(--brand); }

/* ---------- 通用卡片 ---------- */
.job {
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: none;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.job:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.job-title a { font-size: 16px; font-weight: 600; }
.job-salary { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.job-meta { color: var(--ink-2); font-size: 13px; gap: 6px 16px; }
.tag { background: var(--brand-50); color: var(--brand-700); border-radius: 6px; padding: 2px 8px; }
.badge { border-radius: 6px; font-weight: 600; }
.btn-apply {
  padding: 8px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: background .12s ease;
}
.company a { font-size: 13px; color: var(--ink-2); }

/* ---------- 筛选栏 ---------- */
.filters { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none; }
.filter { padding: 16px 18px; }
.filter h2 { font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: .3px; }
.chip {
  height: 30px; line-height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  border: 1px solid transparent; background: #f4f6fa; color: var(--ink-2); font-size: 13px;
}
.chip:hover { background: var(--brand-50); color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; }

/* ---------- 页签 / 分页 ---------- */
.tabs { gap: 10px; padding: 4px 0 16px; }
.tab {
  height: 34px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff; font-size: 13px;
}
.tab.on { background: var(--brand); border-color: var(--brand); font-weight: 600; }

.pager { gap: 8px; padding: 26px 0 10px; }
.pager a, .pager span {
  min-width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; font-size: 13px;
}
.pager .on { box-shadow: none; }

/* ---------- 详情页 ---------- */
.panel { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none; }
.panel-title { font-size: 16px; font-weight: 600; }
.com-hero, .job-hero { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none; }
.job-hero-salary { font-size: 24px; letter-spacing: -.4px; }
.btn-lg { padding: 12px 30px; font-size: 15px; border-radius: var(--radius-sm); }

/* ---------- 空态 / 页脚 ---------- */
.empty { border-radius: var(--radius); background: #fff; border-style: dashed; }
.foot { padding: 26px 0 44px; background: #fff; border-top: 1px solid var(--line); }
.foot a:hover { color: var(--brand); }

/* ---------- 表单控件统一 ---------- */
input[type="text"], input[type="password"], input[type="email"],
input[type="tel"], input[type="search"], input[type="number"], select, textarea {
  border-radius: var(--radius-sm);
}

/* 职位卡片改用显式网格区域：
   原实现依赖自动排布 + .job-side{grid-row:1/span 3}，在"有福利/无福利"两种结构下
   会把标题挤到第二列、左侧留一片空白。显式命名区域后两列位置恒定。 */
.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title side"
    "meta  side"
    "tags  side";
  align-content: start;
  gap: 8px 24px;
}
.job-title { grid-area: title; flex-wrap: nowrap; }
.job-title a {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-title .job-salary { flex: none; margin-left: auto; }
.job-meta { grid-area: meta; }
.job-tags { grid-area: tags; margin-top: 2px; }
.job-side {
  grid-area: side;
  grid-row: auto;
  align-self: center;
  justify-content: center;
  gap: 12px;
}
.job-side .company { align-items: flex-end; }

/* 企业卡片用 article.company 限定：
   .company 这个类在职位卡片里也被用作"企业信息块"，全局改会串版。 */
article.company {
  box-shadow: none; padding: 18px 20px;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
article.company:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.company-name { flex: 0 0 auto; max-width: 560px; font-size: 16px; font-weight: 600; }
.company-head { row-gap: 8px; }

/* 职位卡片右侧栏给固定宽度，企业名不被按钮挤扁 */
.job-side { width: 200px; }
.job-side .company { flex: none; width: 100%; padding: 0; border: 0; background: none; }
.job-side .company a { max-width: 100%; }
.job { padding: 16px 20px; row-gap: 6px; }

/* 登录/注册：内容短的时候卡片居中，页脚不再顶在半空 */
.auth-wrap { min-height: calc(100vh - 176px); align-items: center; padding: 40px 0; }

/* 企业名被 `.company a{max-width:200px}`（职位卡片那条）连带限宽，这里按更高优先级放开 */
article.company .company-head a.company-name { max-width: 560px; }

/* ---------- 已选条件条 ---------- */
.selected {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 14px; padding: 10px 14px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm);
}
.selected__label { flex: none; font-size: 13px; color: var(--ink-3); }
.selected__items { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.selected__chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 8px 0 10px; border-radius: 6px;
  background: #fff; border: 1px solid var(--brand-200);
  color: var(--brand-700); font-size: 12px; white-space: nowrap;
}
.selected__chip:hover { border-color: var(--brand); }
.selected__chip i { font-style: normal; color: var(--ink-3); font-size: 14px; line-height: 1; }
.selected__chip:hover i { color: var(--brand); }
.selected__clear { flex: none; font-size: 13px; color: var(--ink-2); }
.selected__clear:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

/* 筛选面板吸顶要避开 60px 顶栏，否则会滑到顶栏下面 */
.filters { top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; overscroll-behavior: contain; }
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.filters::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ---------- 顶栏当前栏目 ---------- */
.topnav a[aria-current="page"] { opacity: 1; font-weight: 500; }
.topnav a[aria-current="page"]::after {
  content: ''; display: block; height: 2px; margin-top: 2px;
  background: #fff; border-radius: 2px; opacity: .85;
}

/* 首屏光晕收弱：原来的椭圆边界在 1440 宽下能看出竖直色带 */
.hero { background-image: radial-gradient(1300px 620px at 88% -45%, rgba(96, 152, 255, .18), transparent 72%); }

/* 注册页身份切换：用 :has 让选中态跟着单选走，不必依赖 JS；
   企业名称只在"我要招人"时出现，避免求职者看到无关字段。 */
.seg label:has(input:checked) {
  border-color: var(--brand); background: #f2f7ff;
  box-shadow: inset 0 0 0 1px var(--brand);
}
/* 服务端渲染的 .on 只是首屏兜底；一旦用户改选，交回给 :has 判断 */
.seg label.on:not(:has(input:checked)) {
  border-color: var(--line); background: #fbfcfe; box-shadow: none;
}
.reg-company { display: none; }
.auth-form:has(.seg input[value="2"]:checked) .reg-company {
  display: flex; flex-direction: column; gap: 6px;
}

/* ---------- 企业中心 ---------- */
/* 内容少的页面（如只有一条空态）页脚会飘到半空，这里给主区一个最小高度 */
.com-main { min-height: calc(100vh - 172px); }
.com-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; padding: 2px 0 6px;
}
.com-head__eyebrow { font-size: 12px; color: var(--ink-3); letter-spacing: .4px; }
.com-head__main .member-title { margin-top: 2px; }
.com-head__side { display: flex; align-items: center; gap: 14px; }
.empty--com { padding: 46px 20px; text-align: center; color: var(--ink-2); }
.empty--com b { font-size: 15px; margin-bottom: 8px; }

/* ---------- 资料完善度 ---------- */
/* 一条横向体检条：左边环形百分比，右边缺项胶囊。
 * 做成"条"而不是卡片墙，是因为它的职责是提醒，不该抢简历列表的注意力。
 * 环形用 conic-gradient + 内圈白圆遮出空心，避免为一个 52px 的圈引 SVG。 */
.comscore {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comscore__ring {
  --p: 0;
  flex: none; position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), #eef1f7 0);
  display: grid; place-items: center;
}
.comscore__ring::before {
  content: ""; position: absolute; inset: 5px;
  background: var(--card); border-radius: 50%;
}
.comscore__ring span {
  position: relative; font-size: 15px; font-weight: 600; color: var(--brand);
  font-variant-numeric: tabular-nums; letter-spacing: -.3px;
}
.comscore__ring span i { font-style: normal; font-size: 10px; margin-left: 1px; }
.comscore__body { flex: 1; min-width: 0; }
.comscore__title { font-size: 13px; color: var(--ink-2); }
.comscore__title em { font-style: normal; color: var(--ink-3); }
.comscore__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.comscore__list a {
  display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 11px;
  border-radius: var(--radius-pill);
  background: #fff6ef; border: 1px solid #ffdcc6;
  font-size: 12px; color: #b1500c;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.comscore__list a::before { content: "+"; font-weight: 700; }
.comscore__list a:hover { background: #ffeadb; border-color: var(--accent); color: #8f3f07; }
.comscore--done .comscore__ring { background: conic-gradient(var(--ok) 100%, var(--ok) 0); }
.comscore--done .comscore__ring span { color: var(--ok); }

/* 统计数据里的日期不该和数字同样大小 */
.stat b { font-size: 26px; }
.stat--text b { font-size: 18px; font-weight: 600; }

/* ---------- 多选胶囊（求职意向：职位 / 城市） ---------- */
.form-label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.form-label .dim { margin-left: 8px; font-size: 12px; color: var(--ink-3); }
.pick {
  max-height: 268px; overflow-y: auto; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfe;
  display: flex; flex-direction: column; gap: 12px;
}
.pick__title { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.pick__items { display: flex; flex-wrap: wrap; gap: 6px; }
.pick__item { position: relative; }
.pick__item input { position: absolute; opacity: 0; pointer-events: none; }
.pick__item span {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); cursor: pointer;
  transition: border-color .1s ease, background .1s ease, color .1s ease;
}
.pick__item span:hover { border-color: var(--brand-200); color: var(--brand); }
.pick__item input:checked + span {
  background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); font-weight: 500;
}
.pick::-webkit-scrollbar { width: 6px; }
.pick::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ==========================================================================
   资讯（列表 / 分类 / 详情）
   ========================================================================== */
.layout--news { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding-top: 6px; }
.layout--article { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding-top: 6px; }
.pagehead--tight { padding: 10px 0 6px; }

/* --- 列表卡片（首页资讯） --- */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.news-card__pic {
  display: block; aspect-ratio: 16 / 9; background: var(--brand-50);
  overflow: hidden;
}
.news-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__ph {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--brand-200); font-size: 20px; letter-spacing: 6px;
}
.news-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.news-card__body h3 {
  font-size: 15px; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__body h3 a:hover { color: var(--brand); }
.news-card__body time { font-size: 12px; color: var(--ink-3); }

/* --- 行列表（分类页） --- */
.news-rows { display: flex; flex-direction: column; gap: 12px; }
.news-row {
  display: flex; gap: 18px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.news-row:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.news-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.news-row__body h3 { font-size: 16px; font-weight: 600; line-height: 1.5; }
.news-row__body h3 a:hover { color: var(--brand); }
.news-row__body p {
  font-size: 13px; color: var(--ink-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row__meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.news-row__pic { flex: none; width: 160px; height: 104px; border-radius: var(--radius-sm); overflow: hidden; background: var(--brand-50); }
.news-row__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- 侧栏：榜单 / 链接 / 推荐卡 --- */
.rank-list { display: flex; flex-direction: column; gap: 2px; }
.rank-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed var(--line-2);
  font-size: 13px; line-height: 1.6;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list__no {
  flex: none; width: 18px; color: var(--ink-3); font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rank-list li:nth-child(-n+3) .rank-list__no { color: var(--accent); font-weight: 600; }
.rank-list a { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.rank-list a:hover { color: var(--brand); }
.rank-list li.is-top a { color: var(--ink); font-weight: 500; }

.link-list { display: flex; flex-direction: column; }
.link-list li { padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-list a:hover { color: var(--brand); }

.side-feature { display: flex; flex-direction: column; gap: 8px; }
.side-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.side-feature b { font-size: 14px; font-weight: 600; line-height: 1.5; }
.side-feature b:hover { color: var(--brand); }
.side-feature span { font-size: 12px; color: var(--ink-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- 详情正文 --- */
.article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px 32px;
}
.article-head h1 { font-size: 26px; line-height: 1.45; letter-spacing: -.3px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin-top: 12px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink-3);
}
.article-body { margin-top: 20px; color: #2b3342; font-size: 15px; line-height: 1.95; word-break: break-word; }
.article-body > * + * { margin-top: 16px; }
.article-body h2 { font-size: 19px; font-weight: 600; line-height: 1.5; margin-top: 28px; }
.article-body h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-top: 22px; }
.article-body p { margin: 0; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }
.article-body ul, .article-body ol { padding-left: 1.4em; list-style: revert; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 0; padding: 12px 16px; border-left: 3px solid var(--brand-200);
  background: var(--brand-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2);
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body th { background: #fafbfd; font-weight: 500; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2);
  font-size: 13px;
}
.article-nav a, .article-nav .is-empty {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-nav a:hover { border-color: var(--brand-200); color: var(--brand); }
.article-nav a span { font-size: 12px; color: var(--ink-3); }
.article-nav .is-empty { color: var(--ink-3); border-style: dashed; }

/* 旧站分页 HTML 复用（a / em / .selected） */
.pager--news { justify-content: flex-start; padding: 20px 0 4px; }
.pager--news .selected {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

/* 资讯页窄屏：侧栏落到底部 */
@media (max-width: 960px) {
  .layout--news, .layout--article { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-row__pic { width: 120px; height: 80px; }
  .article { padding: 20px 18px 24px; }
}

/* 资讯卡片配图：用绝对定位撑满 16:9 容器。
   图片 404 时浏览器会渲染 alt 文字，若用普通流式布局会把卡片撑高、行高不齐。 */
.news-card__pic { position: relative; }
.news-card__pic img { position: absolute; inset: 0; }

/* 侧栏榜单：服务端没给序号时用 CSS 计数器补（资讯详情页的"热门阅读"） */
.rank-list { counter-reset: rank; }
.rank-list > li { counter-increment: rank; }
.rank-list > li .rank-list__no:empty::before { content: counter(rank); }

/* 资讯页内容短时把页脚推到底部（只作用于资讯页，不动其他页面的 body 布局） */
.news-body { display: flex; flex-direction: column; min-height: 100vh; }
.news-body main { flex: 1; }

/* 资讯行：缩略图固定 104px 高，文字块上下对齐，避免中间空一大截 */
.news-row__body { justify-content: space-between; }
.news-row__body h3 { margin: 0; }

/* 企业详情：在招职位行补薪资与"城市 · 经验 · 学历"，行内两栏对齐 */
.job-rows li { align-items: center; gap: 16px; padding: 14px 0; }
.job-rows-main { flex: 1; min-width: 0; }
.job-rows-top { display: flex; align-items: baseline; gap: 12px; }
.job-rows-name { flex: 0 1 auto; }
.job-rows-salary { flex: none; color: var(--accent); font-weight: 600; font-size: 15px; }
.job-rows-meta { margin-top: 4px; font-size: 12px; color: var(--ink-3); }

/* 详情页正文：与资讯正文同一套阅读节奏 */
.job-desc, .com-intro { font-size: 14.5px; color: #2b3342; line-height: 1.9; }
.job-desc > * + *, .com-intro > * + * { margin-top: 14px; }
.job-desc h2, .job-desc h3, .com-intro h2, .com-intro h3 { font-size: 16px; font-weight: 600; }
.job-desc ul, .job-desc ol, .com-intro ul, .com-intro ol { padding-left: 1.4em; list-style: revert; }
.job-desc table, .com-intro table { width: 100%; border-collapse: collapse; font-size: 13px; }
.job-desc th, .job-desc td, .com-intro th, .com-intro td { border: 1px solid var(--line); padding: 8px 10px; }

/* ---------- 404 ---------- */
.notfound { max-width: 560px; margin: 0 auto; padding: 72px 0 96px; text-align: center; }
.notfound__code {
  font-size: 64px; font-weight: 700; letter-spacing: -2px; line-height: 1;
  color: var(--brand-200);
}
.notfound h1 { margin-top: 12px; font-size: 24px; font-weight: 600; }
.notfound__desc { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.notfound__search { margin-top: 24px; display: flex; justify-content: center; gap: 0; }
.notfound__search input {
  width: 320px; height: 44px; padding: 0 14px; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: #fff;
}
.notfound__search button {
  height: 44px; padding: 0 22px; border: 0; cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
}
.notfound__links { margin-top: 22px; display: flex; justify-content: center; gap: 18px; font-size: 13px; }
.notfound__links a { color: var(--ink-2); }
.notfound__links a:hover { color: var(--brand); }

/* ---------- 找人才 ---------- */
.talent {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.talent:hover { transform: translateY(-2px); border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.talent-head { display: flex; align-items: center; gap: 14px; }
.talent-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 13px; font-weight: 600; letter-spacing: -.2px; white-space: nowrap;
}
.talent-avatar--lg { width: 64px; height: 64px; font-size: 15px; }
.talent-head-main { min-width: 0; flex: 1; }
.talent-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.talent-title a { font-size: 16px; font-weight: 600; }
.talent-title a:hover { color: var(--brand); }
.talent-basic { font-size: 13px; color: var(--ink-2); }
.talent-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.talent-salary { color: var(--accent); }
.talent-summary {
  margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.talent-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }

.talent-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.talent-hero__name { font-size: 22px; font-weight: 600; letter-spacing: -.2px; }
.talent-hero__meta { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.talent-contact__mask { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }

/* 详情类页面：内容短时把页脚推到底部 */
.detail-body { display: flex; flex-direction: column; min-height: 100vh; }
.detail-body main { flex: 1; }

/* ---------- 简历时间线（工作/教育/项目经历） ---------- */
.timeline { position: relative; padding-left: 18px; }
.timeline::before {
  content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line-2); border-radius: 2px;
}
.timeline__item { position: relative; padding: 0 0 18px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -18px; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-200);
}
.timeline__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.timeline__head b { font-size: 15px; font-weight: 600; }
.timeline__period { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline__sub { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.timeline__text { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* 联系方式列表（简历下载后可见） */
.contact-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.contact-list li { display: flex; gap: 12px; font-size: 14px; }
.contact-list span { flex: none; width: 40px; color: var(--ink-3); }
.contact-list em { font-style: normal; color: var(--ink); font-weight: 500; word-break: break-all; }

/* ==========================================================================
   地图找工作（m=map）：左侧列表 + 右侧地图，占满视口
   ========================================================================== */
.map-body { height: 100vh; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }

.map-wrap {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: 384px minmax(0, 1fr);
}

/* ---------- 左侧列表 ---------- */
.map-side {
  display: flex; flex-direction: column; min-height: 0;
  background: #fff; border-right: 1px solid var(--line);
}
.map-side__top { padding: 14px 16px 12px; border-bottom: 1px solid var(--line-2); }

.map-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.map-tab {
  height: 30px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13px; cursor: pointer; transition: all .12s ease;
}
.map-tab:hover { border-color: var(--brand-200); color: var(--brand); }
.map-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.map-search { display: flex; }
.map-search input {
  flex: 1; min-width: 0; height: 36px; padding: 0 12px; font-size: 13px;
  border: 1px solid var(--line); border-right: 0; background: #fff;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.map-search input:focus { outline: none; border-color: var(--brand-200); box-shadow: var(--ring); }
.map-search button {
  flex: none; height: 36px; padding: 0 18px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.map-search button:hover { background: #d14715; }

.map-count { flex: none; padding: 9px 16px 7px; font-size: 12px; color: var(--ink-3); }

.map-list {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px;
}
.map-list::-webkit-scrollbar { width: 6px; }
.map-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.map-card {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.map-card:hover { border-color: var(--brand-200); }
.map-card.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.map-card h3 { font-size: 14px; font-weight: 600; line-height: 1.45; }
.map-card h3 a:hover { color: var(--brand); }
.map-card__addr { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.map-card__jobs { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }

/* 职位行：名称与薪资同一行、元信息独占第二行。
   384px 的侧栏放不下"名称 + 薪资 + 城市经验学历"三样横排，挤在一起名称只剩几个字。 */
.map-job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 8px; padding: 3px 0; font-size: 13px;
}
.map-job__name {
  grid-column: 1; grid-row: 1;
  color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.map-job:hover .map-job__name { color: var(--brand); }
.map-job__salary { grid-column: 2; grid-row: 1; color: var(--accent); font-size: 12px; font-weight: 600; }
.map-job__meta { grid-column: 1 / -1; grid-row: 2; color: var(--ink-3); font-size: 12px; }

.map-empty { padding: 40px 16px; text-align: center; font-size: 13px; color: var(--ink-3); }

.map-pager {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2);
}
.map-pager button {
  height: 28px; padding: 0 12px; font-size: 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2);
}
.map-pager button:hover:not(:disabled) { border-color: var(--brand-200); color: var(--brand); }
.map-pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 右侧地图 ---------- */
.map-canvas { position: relative; min-height: 0; background: #eef1f6; }
#mapBox { width: 100%; height: 100%; }

.map-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(16, 24, 40, .72); color: #fff; font-size: 12px;
  pointer-events: none;
}

.map-off {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 100%; padding: 24px; text-align: center; color: var(--ink-2);
}
.map-off b { font-size: 16px; }
.map-off span { font-size: 13px; color: var(--ink-3); }

/* 高德信息窗 */
.map-iw { min-width: 200px; max-width: 280px; padding: 4px 2px; }
.map-iw__com { font-size: 14px; font-weight: 600; color: var(--ink); }
.map-iw__com:hover { color: var(--brand); }
.map-iw__addr { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.map-iw__jobs { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 6px; }
.map-iw__job { display: block; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.map-iw__job b { color: var(--accent); font-weight: 600; }
.map-iw__job:hover { color: var(--brand); }

/* 高德默认信息窗的白底与阴影和我们不太搭，收一下圆角 */
.amap-info-content { border-radius: var(--radius-sm); }

.map-card__none { margin-top: 6px; font-size: 12px; color: var(--ink-3); }

/* 登录页的"提示"（蓝）与"错误"（红）要能区分：
   游客浏览超限被送到登录页属于提示，用红色框会让人以为自己做错了什么。 */
.auth-notice {
  margin: 14px 0 0; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-700); font-size: 13px; line-height: 1.7;
}

/* ==========================================================================
   企业中心 · 职位管理（m=com&c=jobs）
   ========================================================================== */
.com-tabs { display: flex; gap: 6px; margin: 6px 0 16px; border-bottom: 1px solid var(--line); }
.com-tabs a {
  position: relative; padding: 9px 16px 11px;
  font-size: 14px; color: var(--ink-2); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: color .12s ease, background .12s ease;
}
.com-tabs a:hover { color: var(--brand); background: var(--brand-50); }
.com-tabs a.on { color: var(--brand); font-weight: 600; }
.com-tabs a.on::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

/* 四个状态卡同时充当筛选入口：点一下就只看该状态 */
.com-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.com-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .12s ease, box-shadow .12s ease;
}
.com-stat:hover { border-color: var(--brand-200); }
.com-stat.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.com-stat b { font-size: 22px; font-weight: 600; letter-spacing: -.4px; color: var(--ink); line-height: 1.2; }
.com-stat span { font-size: 12px; color: var(--ink-3); }

.com-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.com-filter input[type="search"] {
  width: 300px; height: 34px; padding: 0 12px; font-size: 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.com-filter input[type="search"]:focus { outline: none; border-color: var(--brand-200); box-shadow: var(--ring); }
.com-filter button {
  height: 34px; padding: 0 18px; border: 0; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.com-filter button:hover { background: var(--brand-600); }
.com-filter__clear { font-size: 13px; color: var(--ink-3); }
.com-filter__clear:hover { color: var(--brand); }

/* 表格式列表：7 列，行内在窄屏下允许换行 */
.job-table { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.job-table__head,
.job-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 130px 74px 60px 88px 96px minmax(150px, auto);
  gap: 12px; align-items: center; padding: 12px 18px;
}
.job-table__head {
  background: #fafbfd; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.job-table__row { border-bottom: 1px solid var(--line-2); font-size: 13px; }
.job-table__row:last-child { border-bottom: 0; }
.job-table__row:hover { background: #fcfdff; }

.job-table__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.job-table__name:hover { color: var(--brand); }
.job-table__meta { margin-top: 3px; font-size: 12px; color: var(--ink-3); }

.c-salary { color: var(--accent); font-weight: 600; }
.c-num, .c-apply, .c-time { color: var(--ink-2); }
.c-apply a { color: var(--brand); }
.c-time { color: var(--ink-3); font-size: 12px; }

.c-act { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.c-act form { display: inline; }

.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 13px; color: var(--brand); font-family: inherit;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn--danger { color: var(--ink-3); }
.link-btn--danger:hover { color: #d92d20; }

/* 状态标签：颜色只区分"可用 / 等待 / 失效"三档，不要六种颜色 */
.state {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap;
}
.state--on { background: #ecfdf3; color: #067647; }
.state--pending { background: #fffaeb; color: #b54708; }
.state--off { background: #f2f4f7; color: #475467; }
.state--fail { background: #fef3f2; color: #b42318; }
.state--expire { background: #f2f4f7; color: #667085; }

.pager__total { color: var(--ink-3); font-size: 12px; }

.com-tip { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }

@media (max-width: 900px) {
  .com-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-table__head { display: none; }
  .job-table__row { grid-template-columns: 1fr; gap: 6px; }
  .c-act { justify-content: flex-start; }
}

/* ==========================================================================
   企业中心 · 发布 / 编辑职位（m=com&c=job-edit）
   ========================================================================== */
.job-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 24px 20px;
}
.job-form__block { padding: 18px 0; border-bottom: 1px dashed var(--line-2); }
.job-form__block:last-of-type { border-bottom: 0; }
.job-form__title { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.job-form__hint { margin: -6px 0 10px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; color: var(--ink-2); }
.field > span i { font-style: normal; color: var(--accent); }
.field input[type="text"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%; font-size: 14px; font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 0 12px; height: 38px; line-height: 36px;
}
.field textarea {
  height: auto; padding: 10px 12px; line-height: 1.8; resize: vertical; min-height: 140px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-200); box-shadow: var(--ring);
}
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #fda29b; }
.field.has-err input:focus, .field.has-err select:focus { box-shadow: 0 0 0 3px #fee4e2; }
.field em { font-style: normal; font-size: 12px; color: #b42318; }

.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.field-row + .field-row { margin-top: 14px; }

.pick--form { max-height: none; padding: 12px 14px; background: #fbfcfe; }

.job-form__actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line-2); margin-top: 4px;
}

@media (max-width: 860px) {
  .field-row { grid-template-columns: 1fr; }
  .job-form { padding: 4px 16px 16px; }
}

/* 只读字段（已认证锁定）：灰底 + 不给焦点态，一眼看出"改不了" */
.field input.is-readonly {
  background: #f5f7fb; color: var(--ink-2); cursor: not-allowed;
}
.field__lock {
  margin-left: 8px; font-style: normal; font-size: 12px; color: var(--ink-3);
}
/* 企业 LOGO 上传：左边预览、右边控件。
   预览框固定 96×96 并按 1:1 裁切——列表与卡片里就是这个比例，
   企业在这里看到的形状 = 求职者看到的形状。 */
.logo-edit { display: flex; gap: 18px; align-items: flex-start; }
.logo-edit__pic {
  flex: none; width: 96px; height: 96px; border-radius: 12px; overflow: hidden;
  background: #f5f7fb; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.logo-edit__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-edit__side { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.logo-edit__side input[type="file"] { font-size: 13px; color: var(--ink-2); }
.logo-edit__side .com-tip { flex: 1 1 100%; margin: 2px 0 0; }
@media (max-width: 860px) {
  .logo-edit { flex-direction: column; }
}

/* 字段下方的灰色说明（与红色报错 `.field em` 区分开：那个是错误，这个是提示）。
   必须写成 `.field em.field__hint`：`.field em`（0,1,1）比单个类名（0,1,0）更具体，
   只写 `.field__hint` 会被红色覆盖，提示看起来像报错。 */
.field em.field__hint { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* 只有两个字段的行用两列，避免右边空出一格 */
.field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ==========================================================================
   企业中心 · 分区导航 / 工作地址簿
   ========================================================================== */

/* 分区导航：下划线式，和状态筛选的胶囊 tab 区分开，避免一页出现两排"胶囊" */
.com-nav {
  display: flex; flex-wrap: wrap; gap: 2px;
  border-bottom: 1px solid var(--line); margin: 4px 0 18px;
}
.com-nav a {
  position: relative; padding: 10px 16px 12px;
  font-size: 14px; color: var(--ink-2);
}
.com-nav a:hover { color: var(--brand); }
.com-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.com-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

/* 默认地址：来自企业资料，只读。用浅蓝底和地址簿里的自建地址区分开 */
.addr-def {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; margin-bottom: 18px;
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: var(--radius);
}
.addr-def__badge {
  flex: none; height: 22px; padding: 0 8px; border-radius: 6px;
  background: var(--brand); color: #fff; font-size: 12px; line-height: 22px;
}
.addr-def__body { flex: 1; min-width: 0; }
.addr-def__title { font-size: 15px; font-weight: 600; }
.addr-def__meta { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.addr-def__meta span { display: inline-block; margin-right: 18px; }
.addr-def__meta span:last-child { margin-right: 0; }
.addr-def__meta b { font-weight: 500; color: var(--ink-3); margin-right: 4px; }
.addr-def__edit { flex: none; font-size: 13px; color: var(--brand); white-space: nowrap; }
.addr-def__edit:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 地址簿列表：左边联系人/地址，右边联系方式与操作 */
.addr-list { display: flex; flex-direction: column; gap: 10px; }
.addr-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 268px;
  gap: 18px; padding: 14px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .14s ease, box-shadow .14s ease;
}
.addr-row:hover { border-color: var(--brand-200); box-shadow: var(--shadow); }
.addr-row__name { font-size: 15px; font-weight: 600; }
.addr-row__job { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.addr-row__addr { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.addr-row__city { margin-right: 6px; color: var(--ink-3); }
.addr-row__contact { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.addr-row__contact b { font-weight: 500; color: var(--ink-3); margin-right: 4px; }
.addr-row__side {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: space-between; gap: 10px;
}
.addr-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.addr-tag {
  height: 22px; padding: 0 8px; border-radius: 6px;
  background: #f2f5fa; color: var(--ink-3); font-size: 12px; line-height: 22px;
}
.addr-tag--on { background: var(--brand-50); color: var(--brand-700); }
.addr-acts { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .addr-row { grid-template-columns: 1fr; }
  .addr-row__side { align-items: flex-start; }
  .addr-tags { justify-content: flex-start; }
}

/* ---------- 我的套餐 ---------- */
/* 深色渐变的套餐卡：整站只有这一处用反白，用来压住"当前身份" */
.pkg-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 24px; margin-bottom: 16px; border-radius: var(--radius);
  background: linear-gradient(118deg, #0d2a5c 0%, #1656d6 62%, #2f7bf6 100%);
  color: #fff;
}
.pkg-hero.is-off { background: linear-gradient(118deg, #3a4353 0%, #5c6678 70%, #78839a 100%); }
.pkg-hero__main { min-width: 0; }
.pkg-hero__eyebrow { font-size: 12px; letter-spacing: .4px; opacity: .78; }
.pkg-hero__name { margin-top: 4px; font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pkg-hero__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; opacity: .9; }
.pkg-hero__side { flex: none; text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.pkg-hero__hint { font-size: 12px; opacity: .78; max-width: 300px; line-height: 1.6; text-align: right; }
.pkg-badge {
  height: 22px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 22px;
  background: rgba(255, 255, 255, .18); color: #fff;
}
.pkg-badge--off { background: rgba(0, 0, 0, .18); }
.btn-white {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 8px; background: #fff; color: var(--brand-700);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.btn-white:hover { background: #eef3fe; }

/* 额度四卡 */
.pkg-quotas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.pkg-quota {
  padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pkg-quota b { display: block; font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.pkg-quota b i { font-style: normal; font-size: 16px; color: var(--ink-3); margin: 0 7px; }
.pkg-quota span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.pkg-quota em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--ink-3); }

.pkg-block { margin-bottom: 26px; }
.pkg-block__title { font-size: 16px; font-weight: 600; }
.pkg-block__hint { margin: 4px 0 12px; font-size: 12px; color: var(--ink-3); }

/* 可选套餐 */
.pkg-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pkg-plan {
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.pkg-plan__name { font-size: 15px; font-weight: 600; }
.pkg-plan__price { font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.pkg-plan__price small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.pkg-plan__list { display: flex; flex-direction: column; }
.pkg-plan__list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2);
}
.pkg-plan__list li:last-child { border-bottom: 0; }
.pkg-plan__list b { font-weight: 500; color: var(--ink); }
.pkg-plan__cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  height: 34px; border-radius: 8px; border: 1px solid var(--brand); color: var(--brand);
  font-size: 13px; font-weight: 500;
}
.pkg-plan__cta:hover { background: var(--brand-50); }

/* 开通记录 */
.pkg-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pkg-table table { width: 100%; border-collapse: collapse; }
.pkg-table th, .pkg-table td { padding: 10px 14px; font-size: 13px; text-align: left; }
.pkg-table th { background: #f7f9fc; color: var(--ink-3); font-size: 12px; font-weight: 500; white-space: nowrap; }
.pkg-table td { border-top: 1px solid var(--line-2); color: var(--ink-2); }
.pkg-table td.dim { color: var(--ink-3); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkg-table th.num, .pkg-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 1024px) {
  .pkg-quotas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-plans { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pkg-hero { flex-direction: column; }
  .pkg-hero__side { align-items: flex-start; text-align: left; }
  .pkg-hero__hint { text-align: left; }
}

/* ==========================================================================
   面试邀请（企业侧表单 / 求职者侧邀请函）
   ========================================================================== */
.invite-box {
  margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfcfe;
}
.invite-box > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--brand);
}
.invite-box > summary::-webkit-details-marker { display: none; }
.invite-box > summary::after {
  content: '展开'; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--ink-3);
}
.invite-box[open] > summary::after { content: '收起'; }
.invite-box__quota { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.invite-form { padding: 4px 16px 16px; border-top: 1px dashed var(--line-2); }
.invite-form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 16px;
}
.invite-form__foot span { font-size: 12px; color: var(--ink-3); }
.invite-box__warn { padding: 4px 16px 16px; font-size: 13px; color: #b25e00; line-height: 1.8; }
.invite-box__warn a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.invite-done {
  margin-top: 20px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--brand-50); color: var(--brand-700); font-size: 13px;
}
.invite-done a { text-decoration: underline; text-underline-offset: 3px; }
.invite-over { margin-left: 6px; font-style: normal; font-size: 12px; color: #b25e00; }

/* 未读小红点：列表里只在企业名后面点一下，不抢标题 */
.unread { color: var(--accent); font-style: normal; }
.dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-left: 6px; vertical-align: middle;
}

/* 邀请函：求职者侧详情，用一点信笺感（只在标题区加分隔线） */
.invite-letter { padding: 22px 24px; }
.invite-letter__eyebrow { font-size: 12px; color: var(--ink-3); letter-spacing: .4px; }
.invite-letter__title { margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.invite-letter__meta { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.invite-letter .kv { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }

/* 收到的简历：筛选条（下拉比输入框多，单独一套，不复用 .com-filter） */
.hr-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 14px; margin-bottom: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.hr-filter select,
.hr-filter input[type="search"] {
  height: 34px; padding: 0 10px; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  /* 三个 select 一起 grow：不加这条，6 个控件 + 按钮会把"重置"挤到第二行 */
  flex: 1 1 118px; min-width: 0; max-width: 200px;
}
.hr-filter input[type="search"] { flex: 1.2 1 130px; }
.hr-filter select:focus,
.hr-filter input[type="search"]:focus {
  outline: none; border-color: var(--brand-200); box-shadow: 0 0 0 3px var(--brand-50);
}
.hr-filter button, .hr-filter__clear { flex: none; white-space: nowrap; }
.hr-filter__clear { font-size: 13px; color: var(--ink-3); }
.hr-filter__clear:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 城市分站切换条（/yongzhou/）---------- */
/* 放在 pagehead 上方，胶囊样式，与筛选面板里的 chip 区分：
   那一个是"条件"，这个是"换一个城市看"。 */
.city-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.city-switch__item {
  padding: 6px 18px; font-size: 14px; line-height: 22px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: color .15s, border-color .15s, background-color .15s;
}
.city-switch__item:hover { color: var(--brand); border-color: var(--brand-200); }
.city-switch__item.on {
  color: #fff; background: var(--brand); border-color: var(--brand); font-weight: 500;
}

/* ---------- 企业相册（企业中心管理页 + 企业主页展示）---------- */

/* 管理页：一列一图，4 列铺开；缩略图固定 4:3，与详情页的展示比例一致 */
.photo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin: 0; padding: 0; list-style: none;
}
.photo-card {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: #fff;
}
.photo-card__pic { display: block; aspect-ratio: 4 / 3; background: #f5f7fb; }
.photo-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card__foot { padding: 8px 10px 10px; font-size: 12px; }
.photo-card__title {
  display: block; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 第二行：日期在左、三个操作在右。
   操作放在卡片里而不是 hover 浮层上——浮层藏起来就没人点得到。 */
.photo-card__ops {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.photo-card__ops form { display: inline-flex; gap: 4px; margin: 0; }
.photo-card__date { flex: 1 1 auto; color: var(--ink-3); white-space: nowrap; }
.photo-card__ops button {
  min-width: 22px; height: 22px; padding: 0 6px;
  font-size: 12px; line-height: 20px; color: var(--ink-2);
  background: #f5f7fb; border: 1px solid var(--line); border-radius: 6px;
  cursor: pointer; transition: color .15s, border-color .15s, background-color .15s;
}
.photo-card__ops button:hover { color: var(--brand); border-color: var(--brand-200); background: #fff; }
.photo-card__ops .photo-card__del { color: #b42318; }
.photo-card__ops .photo-card__del:hover { color: #fff; background: #b42318; border-color: #b42318; }

.photo-upload__row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto;
  gap: 14px; align-items: end;
}
.photo-upload__row button { height: 38px; white-space: nowrap; }
.photo-upload .com-tip { margin: 10px 0 0; }

/* 企业主页：第一张放大当主图，其余铺缩略图 */
.com-gallery { margin-top: 18px; }
.com-gallery__hero {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  background: #f5f7fb;
}
.com-gallery__hero img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block;
}
.com-gallery__hero span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 16px 12px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(16, 24, 40, .72));
}
.com-gallery__grid { margin-top: 12px; }
.com-gallery__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin: 0; padding: 0; list-style: none;
}
.com-gallery__grid a {
  position: relative; display: block; aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden; background: #f5f7fb;
}
.com-gallery__grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s;
}
.com-gallery__grid a:hover img { transform: scale(1.04); }
.com-gallery__grid span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 10px 8px; font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(16, 24, 40, .72));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (max-width: 900px) {
  .photo-grid, .com-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-upload__row { grid-template-columns: 1fr; }
  .photo-upload__row button { width: 100%; }
}

/* ==========================================================================
   购买套餐 / 支付
   ========================================================================== */
/* 确认页是"左表单 + 右说明"：右侧两张小卡是为了回答企业最常问的两个问题
   （能不能开票、额度怎么算），把它们塞进正文会把支付按钮挤下去。 */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.buy-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.buy-card__title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.buy-card__title--sm { font-size: 14px; margin: 22px 0 10px; }

.buy-plan { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-100, #dbe6ff); }
.buy-plan__name { font-size: 16px; font-weight: 600; }
.buy-plan__meta { font-size: 12px; color: var(--ink-3); margin-top: 5px; line-height: 1.7; }
.buy-plan__price { font-size: 26px; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }

.buy-sum { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.buy-sum__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 13px; }
.buy-sum__row span { color: var(--ink-3); }
.buy-sum__row em { font-style: normal; color: var(--ink); }
.buy-sum__after { color: var(--brand); font-weight: 600; }
.buy-sum__note { margin-top: 10px; font-size: 12px; line-height: 1.8; color: #b1500c;
  background: #fff6ef; border: 1px solid #ffdcc6; border-radius: var(--radius-sm); padding: 9px 12px; }

.pay-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pay-method { position: relative; display: block; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfe;
  transition: border-color .12s ease, background .12s ease; }
.pay-method__body b { font-size: 14px; font-weight: 600; }
.pay-method__body em { font-style: normal; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.pay-method input:checked + .pay-method__body { border-color: var(--brand); background: var(--brand-50); }
.pay-method input:checked + .pay-method__body b { color: var(--brand-700, var(--brand)); }
.pay-method.is-off { cursor: not-allowed; opacity: .55; }

.buy-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.buy-actions__amount { font-size: 13px; color: var(--ink-2); }
.buy-actions__amount b { font-size: 22px; color: var(--accent); margin-left: 4px; font-variant-numeric: tabular-nums; }
.buy-actions__hint { margin-top: 12px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

.buy-side { display: flex; flex-direction: column; gap: 14px; }
.buy-tipcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.buy-tipcard b { display: block; font-size: 13px; margin-bottom: 7px; }
.buy-tipcard p { font-size: 12px; color: var(--ink-3); line-height: 1.85; }

/* --- 支付页（微信扫码 / 结果） --- */
.pay-main { max-width: 720px; padding: 40px 0 60px; }
.pay-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-align: center; }
.pay-card--result { padding: 40px 28px; }
.pay-card__eyebrow { font-size: 12px; color: var(--ink-3); letter-spacing: .5px; }
.pay-card__title { font-size: 21px; font-weight: 600; margin: 8px 0 6px; }
.pay-card__meta { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.pay-card__meta b { font-size: 17px; color: var(--accent); }
.pay-card__order { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.pay-card__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px;
  padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-3); }
.pay-card__foot a { color: var(--ink-2); }
.pay-card__foot a:hover { color: var(--brand); }
.pay-card__actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }

.pay-qr { margin: 22px auto 14px; width: 300px; height: 300px; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pay-qr img { display: block; width: 100%; height: 100%; }
.pay-qr__hint { font-size: 13px; color: var(--ink-2); }
.pay-qr__status { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.pay-qr__status[data-state="paid"] { color: var(--ok); }
.pay-qr__status[data-state="expired"] { color: var(--accent); }

.pay-result__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.pay-result__icon.is-ok { background: #e8f6ee; color: var(--ok); }
.pay-result__icon.is-wait { background: #fff4e8; color: var(--accent); }

@media (max-width: 900px) {
  .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-methods { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   门户版首页 / 职位列表（对照「多加直聘」重做布局）
   --------------------------------------------------------------------------
   与上半部分的 UI 2.0 不是一套东西：那套是"卡片 + 大留白"的现代风格，
   这套是传统招聘门户——两条顶栏、多行筛选矩阵、横向职位卡、几乎无圆角。
   命名统一用 p- 前缀（portal），避免和既有类名撞车。

   字号节奏照参考站：正文 14px、职位名 16px、薪资 16px、meta 12px，
   并且**不用字重区分层级**（参考站标题和薪资都是 400），靠颜色和字号。
   ========================================================================== */

/* ---------- 第一层：深灰工具条 ---------- */
.p-topbar {
  background: #333;
  color: #fff;
  font-size: 12px;
  line-height: 32px;
  height: 32px;
}
.p-topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.p-topbar a { color: rgba(255, 255, 255, .78); }
.p-topbar a:hover { color: #fff; text-decoration: none; }
.p-topbar-l, .p-topbar-r { display: flex; align-items: center; gap: 14px; }
.p-topbar .sep { color: rgba(255, 255, 255, .3); }
.p-topbar .city { color: #fff; }
.p-topbar .city b { font-weight: 400; }
/* 登录/注册做成胶囊按钮：参考站顶栏右侧就是两个描边小圆角按钮，
   纯文字链接混在导航里会分不清"入口"和"账号操作"。 */
.p-topbar .pill {
  height: 22px;
  line-height: 20px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 11px;
  color: #fff;
}
.p-topbar .pill:hover { background: #fff; color: #333; }

/* ---------- 第二层：品牌蓝条 ---------- */
.p-brandbar {
  background: var(--brand);
  color: #fff;
}
.p-brandbar .wrap { display: flex; align-items: center; height: 64px; gap: 34px; }
/* 白底圆标 + 蓝字：没有现成的 logo 图，用首字做标比纯文字更像品牌。
   参考站也是"图形标 + 文字"，纯文字品牌条在蓝底上会显得空。 */
.p-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
}
.p-logo i {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-style: normal;
  font-size: 19px;
  font-weight: 700;
}
.p-logo span { color: #bfe0ff; }
.p-nav { display: flex; gap: 26px; margin-left: auto; }
.p-nav a {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.p-nav a:hover { color: #fff; text-decoration: none; border-bottom-color: rgba(255, 255, 255, .6); }
.p-nav a.on { color: #fff; border-bottom-color: #fff; }

/* ---------- 搜索区 ---------- */
.p-searcharea { background: #fff; padding: 20px 0 14px; }
.p-searchbox {
  display: flex;
  height: 50px;
  border: 2px solid var(--brand);
  max-width: 852px;
  margin: 0 auto;
}
.p-searchbox input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.p-searchbox input::placeholder { color: #aaa; }
.p-searchbox button {
  width: 118px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 2px;
}
.p-searchbox button:hover { background: var(--brand-600); }
.p-hotline {
  max-width: 852px;
  margin: 10px auto 0;
  display: flex;
  /* 单行不换行：12 个分类在 720px 里放不下，换行后第二行只有两个字反而更乱。
     完整的分类在左栏，这里只是快捷入口。 */
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.p-hotline a { color: var(--ink-2); font-size: 13px; }
.p-hotline a:hover { color: var(--brand); text-decoration: none; }

/* ---------- 三栏骨架 ---------- */
/* 三栏**等高**：参考站左中右是同一条底线，用 start 对齐的话右栏会短一截、
   中间宫格会留白，一眼就看得出是拼的。所以这里是 stretch，各栏自己撑满。 */
.p-grid {
  display: grid;
  /* 左栏 250px：二级分类名经常是 5-7 个字（"市场/营销经理"），
     224px 时第二排会被切在中间，看着像 bug。 */
  grid-template-columns: 250px minmax(0, 1fr) 258px;
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}
.p-col-mid, .p-col-right { display: flex; flex-direction: column; }
/* 登录卡按内容高度（多撑出来的白边很难看），多余高度全部给绿色关注块，
   它的底部橙条正好压在三栏的共用底线上。 */
.p-col-right > .p-panel { flex: none; }
.p-col-right > .p-qr { flex: 1; }

/* ---------- 左：职位分类导航 ---------- */
.p-panel { background: #fff; }
.p-panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
/* 每行单行两级：一级占固定宽度，右边接二级灰字，行尾一个 chevron。
   参考站就是 42px 一行、没有分隔线——靠行距分块，比一条条横线干净。 */
.p-catlist { flex: 1; padding: 2px 0 8px; }
.p-catrow {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 10px 0 14px;
}
.p-catrow .t {
  width: 60px;
  flex: none;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.p-catrow .s {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}
.p-catrow .s a {
  font-size: 12px;
  color: var(--ink-3);
  /* 名字过长时自己省略，而不是被父级硬切一半（硬切会切在字中间） */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-catrow .arrow { color: #c9ccd3; display: flex; align-items: center; flex: none; }
.p-catrow:hover .t { color: var(--brand); }
.p-catrow:hover .s a { color: var(--brand); }
.p-catrow .s a:hover { text-decoration: underline; }
.p-catall {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--brand);
}

/* ---------- 中：名企宫格 ---------- */
.p-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 42px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.p-tabs .on { color: var(--brand); position: relative; }
.p-tabs .on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--brand);
}
.p-tabs a { color: var(--ink-2); }
.p-logogrid {
  display: grid;
  /* 2 列：参考站就是 2×3。3 列时 6 家企业会剩半行空格，中间栏比左栏矮一大截。 */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 行高 1fr + 容器 flex:1：让 6 个格子自己分掉左栏撑出来的高度，
     否则中间栏底部会留一条白，三栏底线对不齐。 */
  grid-auto-rows: 1fr;
  flex: 1;
  background: #fff;
  padding: 4px 0 0;
}
.p-logocell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.p-logocell:nth-child(2n) { border-right: 0; }
.p-logocell:hover { background: #fafbfc; text-decoration: none; }
.p-logocell img { width: 58px; height: 58px; object-fit: contain; }
.p-logocell .pic {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 22px;
}
.p-logocell b {
  font-weight: 400;
  font-size: 12px;
  color: var(--ink);
  text-align: center;
  line-height: 1.5;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p-logocell span { font-size: 12px; color: var(--ink-3); }

/* ---------- 右：登录卡 ---------- */
.p-side-h {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
/* 选中的页签用 2px 下划线压住卡片分隔线，和参考站一致（不是加粗、不是按钮底色） */
.p-side-h .on {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  color: var(--brand);
}
.p-side-h .on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
}
.p-side-h a { color: var(--ink-2); }
.p-side-h a:hover { color: var(--brand); }
.p-loginbox { padding: 14px; }
.p-loginbox .ipt {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  border: 1px solid var(--line);
  padding: 0 10px;
  margin-bottom: 10px;
}
.p-loginbox .ipt:focus-within { border-color: var(--brand); }
.p-loginbox .ipt .ico { font-size: 13px; opacity: .45; flex: none; }
.p-loginbox .ipt input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 13px; color: var(--ink); background: transparent; }
.p-loginbox .btn {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.p-loginbox .btn:hover { background: var(--brand-600); }
.p-loginfoot {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
.p-loginfoot a { color: var(--ink-2); }
.p-loginfoot a.reg { color: var(--accent); }
/* 绿色关注块：上白下橙两段。橙条是"精选职位推荐"入口，
   参考站用它把二维码块补齐到与左栏同高，这里也保留这个作用。 */
.p-qr {
  background: #16a34a;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.p-qr-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 14px;
}
.p-qr .code {
  width: 92px;
  height: 92px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #16a34a;
  text-align: center;
  line-height: 1.4;
  flex: none;
}
.p-qr .tx b { font-weight: 400; font-size: 13px; display: block; margin-bottom: 4px; }
.p-qr .tx span { font-size: 11px; opacity: .88; line-height: 1.6; }
.p-qr-more {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 14px;
  background: #ff8a1e;
  color: #fff;
  font-size: 12px;
}
.p-qr-more:hover { background: #f57c0d; text-decoration: none; }

/* 已登录态 */
.p-userbox { flex: 1; padding: 16px 14px; }
.p-userbox .hi { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.p-userbox .hi b { color: var(--brand); font-weight: 400; }
.p-userbox .lnk {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.p-userbox .lnk:hover { color: var(--brand); text-decoration: none; }

/* ---------- 横向职位卡（列表页与首页共用） ---------- */
.jcard {
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 8px;
}
.jcard:hover { background: #fafbfc; text-decoration: none; }
.jcard-l { flex: 1; min-width: 0; }
.jcard-t { display: flex; align-items: baseline; gap: 12px; }
.jcard-t b {
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 薪资挪到第二行行首（参考站就是"标题一行、薪资 + 条件一行"）：
   和标题挤一行时，长职位名会把薪资顶到右边，扫读时眼睛要来回跳。 */
.jcard-m .sal {
  font-style: normal;
  font-size: 16px;
  line-height: 22px;
  color: var(--accent);
  flex: none;
}
.jcard-t em {
  font-style: normal;
  font-size: 16px;
  color: var(--accent);
  white-space: nowrap;
  flex: none;
}
.jcard-m {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.jcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jcard-tags i {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-2);
  background: #f5f6f8;
  padding: 2px 8px;
}
.jcard-r {
  width: 240px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
}
.jcard-com {
  font-size: 13px;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.jcard-com s {
  text-decoration: none;
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  color: #fff;
  background: var(--accent);
  padding: 0 5px;
  line-height: 16px;
  vertical-align: 1px;
}
.jcard-logo { width: 48px; height: 48px; flex: none; }
.jcard-logo img { width: 48px; height: 48px; object-fit: contain; }
.jcard-logo .pic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
}

/* ---------- 区块外壳 ---------- */
.p-block { margin-top: 14px; }
.p-block-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.p-block-h h2 { font-size: 15px; font-weight: 400; color: var(--ink); }
.p-block-h a { font-size: 13px; color: var(--ink-3); }
.p-block-h a:hover { color: var(--brand); }

/* 资讯列表 */
.p-news { background: #fff; padding: 6px 16px 12px; }
.p-news li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.p-news li:last-child { border-bottom: 0; }
.p-news li a { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-news li a:hover { color: var(--brand); text-decoration: none; }
.p-news li span { color: var(--ink-3); font-size: 12px; flex: none; }

/* ---------- 底部 ---------- */
.p-foot {
  margin-top: 24px;
  background: #333;
  color: rgba(255, 255, 255, .6);
  padding: 22px 0;
  font-size: 12px;
}
.p-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- 响应式：窄屏退回单列 ---------- */
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .p-grid > .p-col-right { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .p-grid { grid-template-columns: minmax(0, 1fr); }
  .p-logogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-logocell:nth-child(2n) { border-right: 0; }
  .jcard { flex-direction: column; gap: 10px; }
  .jcard-r { width: auto; border-left: 0; padding-left: 0; justify-content: flex-start; }
  .jcard-com { text-align: left; }
  .p-nav { gap: 14px; }
}

/* ---------- 筛选矩阵（职位列表页） ---------- */
.p-filterbar {
  background: #fff;
  padding: 6px 18px 10px;
  margin-top: 14px;
}
.p-frow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-2);
}
.p-frow:last-child { border-bottom: 0; }
.p-flabel {
  width: 62px;
  flex: none;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 22px;
}
.p-fopts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  flex: 1;
  min-width: 0;
}
.p-fopts a {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 22px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
}
.p-fopts a:hover { color: var(--brand); text-decoration: none; }
/* 选中项用强调橙（参考站的"不限"就是橙的），不靠加粗 */
.p-fopts a.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 已选条件 */
.p-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 18px;
  margin-top: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}
.p-selected-l { color: var(--ink-3); flex: none; }
.p-selected-items { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.p-selected-items a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand);
  padding: 2px 8px;
  font-size: 12px;
}
.p-selected-items i { font-style: normal; color: var(--brand); }
.p-selected-clear { color: var(--ink-3); font-size: 12px; flex: none; }
.p-selected-clear:hover { color: var(--accent); }

/* ---------- 列表页两栏 ---------- */
.p-listwrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: 14px;
  margin-top: 12px;
  align-items: start;
}
.p-listmain { min-width: 0; }
.p-listhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  height: 42px;
  padding: 0 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.p-listhead b { color: var(--accent); font-weight: 400; font-size: 15px; }
.p-listhead-r { color: var(--ink-3); font-size: 12px; }

.p-empty {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-3);
}
.p-empty b { display: block; font-size: 15px; font-weight: 400; color: var(--ink-2); margin-bottom: 6px; }
.p-empty p { font-size: 13px; }
.p-empty a { color: var(--brand); }

/* 分页跟着新色板走 */
.pager { display: flex; justify-content: center; gap: 6px; padding: 20px 0 8px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 32px;
  height: 32px;
  line-height: 30px;
  padding: 0 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { background: transparent; border: 0; }

@media (max-width: 980px) {
  .p-listwrap { grid-template-columns: minmax(0, 1fr); }
  .p-flabel { width: 54px; font-size: 12px; }
  .p-fopts { gap: 2px 12px; }
}

/* ==========================================================================
   职位详情页（对齐门户版）
   --------------------------------------------------------------------------
   这个页面早先是用 UI 2.0 的"渐变头卡 + 圆角 + 蓝底标签"做的，和首页/列表页
   摆在一起像两个站。这里只做视觉覆盖，不动 DOM——DOM 里挂着 SEO 的 JSON-LD
   和投递表单，改结构风险远大于收益。
   ========================================================================== */
.job-hero {
  background: #fff;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: start;
  padding: 18px 24px 22px;
  margin: 0 0 14px;
}
.job-hero-main h1 { font-size: 20px; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.job-hero-salary { margin-top: 8px; font-size: 20px; font-weight: 500; letter-spacing: 0; }
.job-hero-main .job-meta { margin-top: 12px; color: var(--ink-3); gap: 6px 20px; }
/* 竖线分隔换成纯间距：橙色竖线在灰字里格外扎眼，参考站也不用分隔符 */
.job-hero .job-meta .dot { display: none; }
.job-hero-main .job-tags { margin-top: 14px; gap: 8px; }
.job-hero .tag { background: #f5f6f8; color: var(--ink-2); border-radius: 0; padding: 3px 10px; }
.job-hero .badge { border-radius: 0; font-weight: 400; }
.job-hero-actions { text-align: left; padding-top: 4px; }
.job-hero-actions .hint { margin-top: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.job-hero-actions .btn-lg {
  width: 100%;
  height: 42px;
  padding: 0 20px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 400;
}
.job-hero-actions .btn-fav {
  margin-top: 8px;
  width: 100%;
  height: 34px;
  line-height: 32px;
  padding: 0;
  text-align: center;
  border-radius: 0;
}

.detail-2col { grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; padding-bottom: 40px; }
.panel { border: 0; border-radius: 0; }
.panel-title { font-size: 15px; font-weight: 400; color: var(--ink); }
.side { gap: 14px; }
.com-box-head img { border-radius: 0; width: 56px; height: 56px; }
.com-box-intro { font-size: 13px; line-height: 1.8; }
.verified {
  display: inline-block;
  margin-left: 2px;
  padding: 0 5px;
  font-size: 11px;
  line-height: 17px;
  color: var(--accent);
  background: #fff4e8;
}
.related li { border-bottom: 1px solid var(--line-2); }
.related span { font-weight: 400; font-size: 14px; }
.btn-ghost { border-radius: 0; }

/* ==========================================================================
   企业名录 / 企业详情（对齐门户版）
   --------------------------------------------------------------------------
   这两页原来还是 UI 2.0 的圆角卡 + 药丸筛选，和首页/职位列表放一起明显不是
   一个站。这里统一成"直角白卡 + 灰底方角筛选项 + 文字页签"。
   ========================================================================== */
.pagehead { padding: 16px 0 10px; }
.pagehead h1 { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.pagehead p { margin-top: 5px; font-size: 13px; }
.pagehead b { font-size: 15px; }

.tabs { gap: 20px; padding: 4px 0 12px; }
.tab {
  height: auto;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 2px solid transparent;
  color: var(--ink-2);
  font-size: 14px;
}
.tab:hover { background: transparent; color: var(--brand); }
.tab.on {
  background: transparent;
  border-bottom-color: var(--brand);
  color: var(--brand);
  font-weight: 400;
}

.filters { border: 0; border-radius: 0; box-shadow: none; }
.filter { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.filter:last-child { border-bottom: 0; }
.filter h2 { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-bottom: 8px; }
.chip {
  height: 26px;
  line-height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: #f5f6f8;
  color: var(--ink-2);
  font-size: 12px;
}
.chip:hover { background: #eef4ff; color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; }

article.company { border: 0; border-radius: 0; box-shadow: none; }
article.company:hover { transform: none; box-shadow: none; background: #fafbfc; }
.company-logo { border-radius: 0; }
.company-name { font-weight: 500; }
.company-side .btn-ghost { border-radius: 0; }

/* 元信息里的竖线分隔符：门户版改用间距分隔，全站统一去掉（含企业卡/详情页） */
.job-meta .dot { display: none; }

/* ==========================================================================
   二级页（登录/注册/个人中心/企业中心/资讯）的旧页头
   --------------------------------------------------------------------------
   这些页面还有 30 多个模板用 .topbar，逐个换 portal_head 风险大（每个视图
   都得有 Nav/User，缺一个就是 500）。这里只把"渐变深蓝"改成品牌蓝，和门户版
   的蓝条对齐；登录页这类页面本来也不需要完整双栏页头。
   ========================================================================== */
.topbar { background: var(--brand); }
.brand span { color: #bfe0ff; }
.topnav a { opacity: .92; }
.search input { background: #fff; color: var(--ink); border-color: transparent; border-radius: 0; }
.search input::placeholder { color: #9aa3af; }
.search input:focus { background: #fff; }
.search button { background: #0060d0; color: #fff; border-radius: 0; font-weight: 400; }

/* 登录/注册卡片：方角、无描边、无阴影 */
.auth-card { border: 0; border-radius: 0; box-shadow: none; }
.auth-form input { border-radius: 0; background: #fff; }
.auth-card h1 { font-size: 20px; font-weight: 500; }
.auth-card .btn-lg { border-radius: 0; }
.auth-card .btn-ghost { border-radius: 0; }
.seg label { border-radius: 0; }
.seg label.on { box-shadow: none; }

/* 企业头卡：整块白底无边框，右侧两个数字用细竖线分隔（不是两个输入框） */
.com-hero { border: 0; border-radius: 0; background: #fff; }
.com-hero-side { gap: 0; align-items: center; }
.com-hero-side .com-stat {
  border: 0;
  border-left: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  padding: 2px 24px;
  text-align: center;
}
.com-hero-side .com-stat:first-child { border-left: 0; padding-left: 0; }
.com-hero-side .com-stat:last-child { padding-right: 0; }
.com-hero-side .com-stat b { font-size: 20px; font-weight: 500; color: var(--ink); }

/* 资讯卡片图：限制高度，别让 16:9 在宽栏里撑成一张大图（列表信息密度优先） */
.news-card__pic { max-height: 168px; background: #f2f4f7; }
.news-card { border: 0; border-radius: 0; }
.news-card:hover { transform: none; box-shadow: none; }
.news-card__body h3 { font-weight: 400; }

/* 同一行里有一张图时，别的卡会被拉成同高、底下留一大片白 */
.news-card { align-self: start; }

/* ==========================================================================
   SVG 图标（见 templates/icons.html）
   --------------------------------------------------------------------------
   描边统一走 currentColor，颜色跟着文字走；1.8 的线宽在 14-16px 尺寸下
   既不像 emoji 那样风格参差，也比字体图标在 Windows 上清晰。
   ========================================================================== */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  flex: none;
}
/* 登录卡输入框：图标比文字略浅 */
.p-loginbox .ipt .ico { display: flex; align-items: center; color: #bbb; }
.p-loginbox .ipt .ico svg { width: 15px; height: 15px; }
/* 收藏按钮里的星标与文字对齐 */
.btn-fav .i { margin-right: 4px; }

/* ==========================================================================
   城市分站：hero 从深蓝渐变换成浅色
   --------------------------------------------------------------------------
   分站原来是一整块深蓝 hero + 白字，和换成门户页头的其它页面并排像两个站。
   这里只改配色与间距，布局（城市切换 / 标题 / 搜索 / 分类）保持原样。
   ========================================================================== */
.hero {
  background: #fff;
  background-image: none;
  color: var(--ink);
  padding: 20px 0 20px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 26px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.hero-sub { margin-top: 6px; color: var(--ink-3); font-size: 13px; }
.hero-search {
  margin-top: 16px;
  max-width: 640px;
  padding: 0;
  border: 2px solid var(--brand);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.hero-search input { height: 44px; font-size: 14px; }
.hero-search button {
  height: 44px;
  padding: 0 24px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
}
.hero-search-alt { height: 44px; font-size: 13px; }
.hero-tags { margin-top: 12px; font-size: 12px; }
.hero-tags a { color: var(--ink-3); border-bottom-color: transparent; }
.hero-tags a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.city-switch { margin-bottom: 12px; }
.city-switch__item { padding: 4px 16px; font-size: 13px; border-radius: 0; }

/* 分站搜索按钮跟主站一致用品牌蓝（UI 2.0 那层把它写成了强调橙） */
.hero-search button { background: var(--brand); }
.hero-search button:hover { background: var(--brand-dark); }

/* 分站的城市切换条：白底方角，和筛选矩阵同一条视觉语言 */
.p-citybar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 18px;
  margin-top: 14px;
}
.p-citybar-l { font-size: 13px; color: var(--ink-3); flex: none; }
.p-citybar-item {
  font-size: 13px;
  line-height: 26px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.p-citybar-item:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.p-citybar-item.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.p-citybar-more { margin-left: auto; font-size: 13px; color: var(--brand); }

/* ---------- 聊天（/chat） ----------
 * 两栏固定高度布局：左会话列表、右消息面板。
 * 高度用 min-height + vh 而不是写死像素——列表为空时不能塌成一条线，
 * 消息多时也不能把整页顶长（滚动只发生在 .chat-msgs 里）。
 */
.chat-wrap { padding: 16px 0 28px; }
.chat-card {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  background: var(--card);
  min-height: 560px;
  height: calc(100vh - 300px);
  max-height: 760px;
}

.chat-side { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.chat-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.chat-side-head h1 { font-size: 16px; font-weight: 700; }
.chat-total {
  font-size: 12px; color: #d93025; background: #fdecea;
  padding: 2px 8px; border-radius: 10px;
}
.chat-total.is-zero { color: var(--ink-3); background: #f2f3f5; }

.chat-convs { flex: 1; overflow-y: auto; min-height: 0; }
.chat-conv {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; cursor: pointer; border-left: 3px solid transparent;
  transition: background .12s;
}
.chat-conv:hover { background: #f7f8fa; }
.chat-conv.on { background: #eef5ff; border-left-color: var(--brand); }
.chat-ava {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1656d6, #1e6ef0); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.chat-conv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat-conv-main b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-conv-main em {
  font-style: normal; font-size: 12px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chat-conv-meta { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chat-conv-meta i { font-style: normal; font-size: 11px; color: var(--ink-3); }
.chat-dot {
  text-decoration: none; min-width: 16px; height: 16px; line-height: 16px;
  padding: 0 4px; border-radius: 8px; background: #ff3b30; color: #fff;
  font-size: 11px; text-align: center;
}
.chat-empty { padding: 28px 18px; color: var(--ink-3); font-size: 13px; line-height: 2; text-align: center; }

.chat-pane { display: flex; flex-direction: column; min-height: 0; }
.chat-pane-head {
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.chat-pane-head b { font-size: 15px; }
.chat-pane-sub { font-size: 12px; color: var(--ink-3); }

.chat-msgs { flex: 1; overflow-y: auto; min-height: 0; padding: 18px; background: #f7f8fa; }
.chat-placeholder { color: var(--ink-3); font-size: 13px; text-align: center; margin-top: 40px; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
.chat-msg.is-me { align-items: flex-end; }
.chat-bubble {
  max-width: 70%; padding: 9px 13px; background: #fff; border-radius: 4px;
  font-size: 14px; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
}
.chat-msg.is-me .chat-bubble { background: var(--brand); color: #fff; }
.chat-msg-time { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

.chat-form { border-top: 1px solid var(--line); padding: 10px 14px 12px; background: #fff; }
.chat-form textarea {
  width: 100%; resize: none; border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 11px; font: inherit; outline: none; color: var(--ink);
}
.chat-form textarea:focus { border-color: var(--brand); }
.chat-form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.chat-form-tip { font-size: 12px; color: var(--ink-3); }
.chat-form .btn-apply { min-width: 96px; }
.chat-form .btn-apply:disabled { opacity: .6; cursor: default; }

@media (max-width: 860px) {
  .chat-card { grid-template-columns: 1fr; height: auto; }
  .chat-side { border-right: 0; border-bottom: 1px solid var(--line); max-height: 260px; }
  .chat-msgs { height: 420px; }
}

/* 系统消息（请求联系方式、面试邀请、位置）：居中灰色小字，不占气泡 */
.chat-sys {
  margin: 10px 0; text-align: center;
  font-size: 12px; color: var(--ink-3);
}
.chat-bubble-link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.chat-msg.is-me .chat-bubble-link { color: #fff; }
