/* ==========================================================================
   聘途人才网 — 全站样式
   主色：深海军蓝 #16466F   点缀：古铜金 #C08A2E
   ========================================================================== */

:root {
  --ink: #0e2438;
  --brand: #16466f;
  --brand-700: #103553;
  --brand-600: #1b5588;
  --brand-400: #4a7ea8;
  --brand-50: #eef3f8;
  --brand-100: #dde8f1;

  --gold: #c08a2e;
  --gold-600: #a87522;
  --gold-50: #faf4e8;

  --text: #1a2230;
  --text-2: #3d4857;
  --muted: #6a7686;
  --muted-2: #93a0ae;
  --line: #e5e9ef;
  --line-2: #eef1f5;

  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;

  --green: #1f8a5b;
  --green-50: #e9f6ef;
  --red: #c0392b;
  --red-50: #fceceb;
  --amber: #b8860b;
  --amber-50: #fdf6e3;
  --blue: #2563a8;
  --blue-50: #ecf3fb;
  --gray-50: #f1f3f6;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 38, 60, 0.05);
  --shadow: 0 4px 16px rgba(16, 38, 60, 0.07);
  --shadow-lg: 0 14px 40px rgba(16, 38, 60, 0.12);
  --max: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.gold { color: var(--gold); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.hidden { display: none !important; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }

/* ---------------------------------- 按钮 ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 6px 18px rgba(22, 70, 111, 0.28); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 6px 18px rgba(192, 138, 46, 0.28); }

.btn-outline { border-color: var(--line); background: transparent; color: var(--text-2); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand); background: var(--brand-50); }

.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--gray-50); color: var(--text); }

.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-light:hover { background: rgba(255, 255, 255, 0.22); }

.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn-xs { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 5px; }
.btn-lg { height: 48px; padding: 0 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------------------------------- 顶栏 ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(16, 38, 60, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); flex: none; }
.logo-text { white-space: nowrap; line-height: 1.25; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(22, 70, 111, 0.25);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: ''; position: absolute; right: -6px; bottom: -6px;
  width: 18px; height: 18px; background: var(--gold); opacity: 0.85; border-radius: 50%;
}
.logo-text small { display: block; font-size: 10px; letter-spacing: 0.22em; color: var(--muted-2); font-weight: 500; margin-top: -3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.16s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.active { color: var(--brand); }
.nav a.active::after {
  content: ''; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.user-menu { position: relative; }
.user-trigger { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 30px; cursor: pointer; transition: background 0.16s; }
.user-trigger:hover { background: var(--gray-50); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand-400), var(--brand));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.avatar-lg { width: 56px; height: 56px; font-size: 20px; border-radius: 14px; }
.avatar-xl { width: 76px; height: 76px; font-size: 26px; border-radius: 18px; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 180px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.16s ease; z-index: 120;
}
.user-menu.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; border-radius: 7px; font-size: 13.5px; color: var(--text-2);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.dropdown a:hover, .dropdown button:hover { background: var(--brand-50); color: var(--brand); }
.dropdown .divider { height: 1px; background: var(--line-2); margin: 6px 4px; }
.dropdown .badge-dot { margin-left: auto; font-size: 11px; color: var(--gold); }

.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  padding: 76px 0 130px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(192, 138, 46, 0.16), transparent 65%),
    radial-gradient(700px 400px at 8% 0%, rgba(74, 126, 168, 0.28), transparent 62%),
    linear-gradient(160deg, #0d2841 0%, #143f63 52%, #17476d 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px; letter-spacing: 0.06em; color: #e6eef6;
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: block; }
.hero h1 {
  font-size: 46px; line-height: 1.24; margin: 22px 0 16px;
  font-weight: 700; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #f0c675; position: relative; }
.hero p.lead { font-size: 16px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; }

/* 搜索卡 */
.search-panel {
  position: relative; z-index: 3;
  margin: -74px auto 36px;
  max-width: 1000px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(13, 40, 65, 0.16);
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; flex: 1; position: relative; }
.search-field + .search-field { border-left: 1px solid var(--line-2); }
.search-field svg { flex: none; color: var(--muted-2); }
.search-field input, .search-field select {
  width: 100%; height: 54px; border: 0; outline: none; background: transparent;
  font-size: 15px; color: var(--text); appearance: none;
}
.search-field input::placeholder { color: var(--muted-2); }
.search-field.kw { flex: 2.2; }
.search-panel .btn { height: 54px; padding: 0 40px; font-size: 15px; border-radius: 11px; }
.hot-words { position: relative; z-index: 2; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.hot-words span { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.hot-words a {
  font-size: 13px; color: rgba(255, 255, 255, 0.85);
  padding: 3px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.16s;
}
.hot-words a:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.3); }

.suggest-box {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; display: none;
}
.suggest-box.show { display: block; }
.suggest-box a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 13.5px; }
.suggest-box a:hover { background: var(--brand-50); }
.suggest-box .sug-city { color: var(--muted-2); font-size: 12px; }

/* ---------------------------------- 数据条 ---------------------------------- */
.stat-strip {
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  padding: 30px 0;
}
.stat-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 32px; background: var(--line);
}
.stat-item b { display: block; font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.stat-item b span { font-size: 15px; color: var(--gold); margin-left: 2px; font-weight: 600; }
.stat-item p { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------------------------------- 版块 ---------------------------------- */
.section { padding: 62px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: #fff; }
/* 相邻版块之间加一条细分界线，即使底色相同也能看出分界 */
.section + .section { border-top: 1px solid #e2e8f0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head .title-wrap h2 { font-size: 26px; color: var(--ink); }
.section-head .title-wrap h2 .en {
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600;
  display: block; margin-bottom: 8px; text-transform: uppercase;
}
.section-head .title-wrap p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-head .more { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.section-head .more:hover { color: var(--brand); }

/* ---------------------------------- 最新招聘（资讯双栏） ---------------------------------- */
.news-section { padding-top: 52px; padding-bottom: 52px; }
.news-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 8px 32px;
  box-shadow: 0 1px 2px rgba(16, 32, 56, 0.04);
}
.news-cols.single { grid-template-columns: minmax(0, 1fr); }
.news-col { display: flex; flex-direction: column; min-width: 0; }
/* 两栏之间的竖向分隔线 */
.news-cols:not(.single) .news-col:first-child { padding-right: 32px; }
.news-cols:not(.single) .news-col:last-child { padding-left: 32px; border-left: 1px solid var(--line-2); }

.news-item {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line-2);
  min-width: 0;
}
.news-col .news-item:last-child { border-bottom: 0; }
.news-item:hover .news-title { color: var(--brand); }
.news-title {
  flex: 1; min-width: 0;
  font-size: 14.5px; color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color 0.16s;
}
.news-date {
  flex: none; font-size: 12.5px; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.pin-tag {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  height: 19px; padding: 0 6px;
  font-size: 11px; font-weight: 600; line-height: 1;
  color: #8a5b00;
  background: linear-gradient(180deg, #fdf1d6, #f8e3b4);
  border: 1px solid #eed49a;
  border-radius: 4px;
}
/* 资讯列表卡片里的置顶标记 */
.pin-dot {
  font-style: normal; font-size: 11px; font-weight: 600;
  color: #8a5b00; background: #fbf0d4;
  border: 1px solid #eed49a; border-radius: 3px;
  padding: 1px 5px; margin-left: 6px;
}

/* 分类卡 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 18px; display: flex; align-items: center; gap: 14px;
  transition: all 0.2s ease;
}
.cat-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--brand-50); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.cat-card:hover .cat-icon { background: var(--brand); color: #fff; }
.cat-card h4 { font-size: 15px; margin-bottom: 2px; }
.cat-card p { font-size: 12.5px; color: var(--muted-2); }

/* 职位卡 */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: all 0.2s ease; position: relative;
}
.job-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-title { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.job-title:hover { color: var(--brand); }
.job-salary { font-size: 17px; font-weight: 700; color: var(--gold-600); white-space: nowrap; letter-spacing: -0.01em; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 5px; background: var(--surface-2); color: var(--text-2);
  font-size: 12px; border: 1px solid var(--line-2);
}
.tag.soft { background: var(--brand-50); color: var(--brand-600); border-color: transparent; }
.tag.gold { background: var(--gold-50); color: var(--gold-600); border-color: transparent; }
.job-card-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); margin-top: auto; }
.mini-logo {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2a5f8a, #16466f);
}
.mini-logo.c1 { background: linear-gradient(135deg, #2a6b8a, #164a6f); }
.mini-logo.c2 { background: linear-gradient(135deg, #6b7f3a, #43592a); }
.mini-logo.c3 { background: linear-gradient(135deg, #8a5a2a, #6b4020); }
.mini-logo.c4 { background: linear-gradient(135deg, #4a4a8a, #2f2f66); }
.mini-logo.c5 { background: linear-gradient(135deg, #2a7a6b, #16584a); }
.job-card-foot .co { font-size: 13px; color: var(--text-2); }
.job-card-foot .meta { margin-left: auto; font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.job-badge {
  position: absolute; top: 0; right: 0;
  font-size: 11px; padding: 2px 10px; border-radius: 0 11px 0 8px;
  background: var(--gold-50); color: var(--gold-600); font-weight: 600;
}

/* 企业卡 */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.company-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 20px; text-align: center; transition: all 0.2s;
}
.company-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.company-logo {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2a5f8a, #16466f);
  box-shadow: 0 6px 16px rgba(22, 70, 111, 0.18);
}
.company-card h4 { font-size: 15px; margin-bottom: 4px; }
.company-card .ind { font-size: 12.5px; color: var(--muted); }
.company-card .jobs { margin-top: 12px; font-size: 12.5px; color: var(--brand); }
.company-card .jobs b { font-weight: 600; }
.company-card .new-flag {
  position: absolute; top: 10px; right: 10px;
  font-size: 11px; color: var(--brand); background: var(--brand-50);
  border-radius: 4px; padding: 2px 6px;
}
.company-card { position: relative; }

/* 人才卡片 */
.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.talent-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; transition: all 0.2s;
}
.talent-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.talent-card .t-head { display: flex; align-items: center; gap: 11px; }
.talent-card .t-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--brand-400), var(--brand));
}
.talent-card .t-id { min-width: 0; }
.talent-card .t-id h4 { font-size: 15px; display: flex; align-items: center; gap: 6px; }
.talent-card .t-flag {
  font-size: 10.5px; font-weight: 500; color: #8a6520;
  background: #fbf3e0; border: 1px solid #f0dfb8; border-radius: 4px; padding: 1px 5px;
}
.talent-card .t-id p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.talent-card .t-pos { font-size: 14px; font-weight: 600; color: var(--ink); }
.talent-card .t-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.talent-card .t-tags span {
  font-size: 11.5px; color: var(--text-2); background: var(--surface-2);
  border-radius: 4px; padding: 3px 7px;
}
.talent-card .t-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px dashed var(--line-2); padding-top: 10px; margin-top: auto;
}
.talent-card .t-foot span { font-size: 12px; color: var(--muted); }
.talent-card .t-foot b { font-size: 13.5px; color: var(--gold-600, #a97c22); font-weight: 600; }

/* 提示条 */
.notice {
  padding: 12px 16px; border-radius: 8px; font-size: 13px; line-height: 1.8;
  border-left: 3px solid var(--brand-400); background: var(--brand-50); color: var(--text-2);
}
.notice.green { border-left-color: var(--green); background: #f2f9f4; }
.notice.amber { border-left-color: var(--amber); background: #fdf7ec; }
.notice strong { color: var(--ink); font-weight: 600; }

.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.check-inline input { width: 15px; height: 15px; accent-color: var(--brand); }

/* ==========================================================================
   招聘咨询（问答）
   ========================================================================== */
.qa-cat {
  font-size: 11.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 5px; padding: 2px 8px; white-space: nowrap;
}
.qa-hot {
  font-size: 11.5px; font-weight: 600; color: var(--gold-600);
  background: var(--gold-50); border: 1px solid #f0e2c4;
  border-radius: 5px; padding: 2px 8px; white-space: nowrap;
}
.qa-status { font-size: 11.5px; font-weight: 600; border-radius: 5px; padding: 2px 8px; white-space: nowrap; }
.qa-status.ok { color: var(--green); background: var(--green-50); }
.qa-status.wait { color: var(--amber); background: var(--amber-50); }
.qa-time { font-size: 12px; color: var(--muted-2); margin-left: auto; }
.qa-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 列表 */
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; transition: all 0.16s;
}
.qa-item:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.qa-item h3 { font-size: 16px; margin: 10px 0 8px; color: var(--ink); line-height: 1.5; }
.qa-item:hover h3 { color: var(--brand); }
.qa-answer {
  display: flex; gap: 9px; align-items: flex-start;
  background: var(--surface-2); border-radius: 8px; padding: 11px 13px;
}
.qa-answer p { font-size: 13px; color: var(--text-2); line-height: 1.75; }
.tag-a, .tag-q {
  flex: none; width: 20px; height: 20px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: #fff; line-height: 1;
}
.tag-a { background: var(--brand); }
.tag-q { background: var(--gold); }
.qa-brief { font-size: 13px; color: var(--muted); line-height: 1.7; }
.qa-foot {
  display: flex; gap: 16px; margin-top: 12px;
  font-size: 12px; color: var(--muted-2);
}
.qa-foot span + span::before { content: '·'; margin-right: 16px; color: var(--line); }

/* 详情 */
.qa-detail .qa-title { font-size: 22px; line-height: 1.5; margin: 14px 0 10px; }
.qa-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.qa-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.qa-body {
  margin-top: 20px; font-size: 14px; color: var(--text-2); line-height: 1.9;
  white-space: pre-wrap; word-break: break-word;
}
.qa-reply {
  margin-top: 24px; border-radius: 10px; padding: 18px 20px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.qa-reply-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.qa-reply-head b { font-size: 13.5px; color: var(--brand); }
.qa-reply-body { font-size: 14px; color: var(--text-2); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.qa-pending {
  margin-top: 24px; border-radius: 10px; padding: 16px 18px;
  background: var(--amber-50); border: 1px solid #f2e4c4;
}
.qa-pending b { font-size: 13.5px; color: var(--amber); display: block; margin-bottom: 6px; }
.qa-pending p { font-size: 13px; color: var(--text-2); line-height: 1.75; }
.qa-actions { display: flex; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }

/* 提问表单 */
.ask-card {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.ask-head { margin-bottom: 20px; }
.ask-head h3 { font-size: 17px; margin-bottom: 6px; }
.ask-head p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.ask-head p b { color: var(--brand); }
.ask-form .field { margin-bottom: 16px; }
.ask-form .field-row { margin-bottom: 0; }
.ask-form .field-row .field { margin-bottom: 16px; }
.ask-form .field label { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 7px; }
.ask-form .field label em { color: var(--red); font-style: normal; }
.ask-form .field .input { width: 100%; height: 40px; }
.ask-form .field textarea.input { height: auto; padding: 10px 12px; line-height: 1.75; resize: vertical; }
.ask-form .form-actions { align-items: center; }

/* 首页版块 */
.consult-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: stretch; }
.consult-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.consult-row {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; transition: all 0.16s;
}
.consult-row:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateX(3px); }
.consult-row .c-main { min-width: 0; flex: 1; overflow: hidden; }
.consult-row h4 {
  font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.consult-row:hover h4 { color: var(--brand); }
.consult-row .c-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px;
  font-size: 11.5px; color: var(--muted-2);
}
.consult-row .c-ok, .consult-row .c-wait {
  flex: none; font-size: 11.5px; font-weight: 600; border-radius: 5px; padding: 3px 9px;
}
.consult-row .c-ok { color: var(--green); background: var(--green-50); }
.consult-row .c-wait { color: var(--amber); background: var(--amber-50); }

.consult-cta {
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-700) 62%, var(--ink));
  border-radius: 12px; padding: 28px 26px; color: #fff;
  box-shadow: 0 14px 34px rgba(16, 53, 83, 0.24);
}
.consult-cta .cc-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.13); color: #fff;
}
.consult-cta h3 { font-size: 18px; color: #fff; margin-bottom: 7px; }
.consult-cta p { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.consult-cta .cc-stats { display: flex; gap: 26px; margin: 18px 0 20px; }
.consult-cta .cc-stats div { display: flex; flex-direction: column; }
.consult-cta .cc-stats b { font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.consult-cta .cc-stats span { font-size: 11.5px; color: rgba(255, 255, 255, 0.62); margin-top: 3px; }

/* 详情页侧栏卡片 */
.side-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 18px;
}
.side-card + .side-card { margin-top: 16px; }
.side-card h4 {
  font-size: 15px; margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.side-card .btn-block + .btn-block { margin-top: 8px; }

/* 提交成功 */
.ok-badge {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); background: var(--green-50);
}
.submitted-box {
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 20px 22px; text-align: center;
}
.side-qa { display: flex; flex-direction: column; gap: 2px; }
.side-qa a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.side-qa a:last-child { border-bottom: 0; }
.side-qa .q {
  display: block; font-size: 13px; color: var(--text-2); line-height: 1.6;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.side-qa a:hover .q { color: var(--brand); }
.side-qa .t { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.block-title { font-size: 16px; margin-bottom: 8px; }

/* 人才详情 */
.talent-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.filter-tip {
  margin-top: 16px; padding: 12px 14px; border-radius: 8px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.filter-tip b { font-size: 12.5px; color: var(--brand); display: block; margin-bottom: 4px; }
.filter-tip p { font-size: 12px; color: var(--text-2); line-height: 1.7; }
.talent-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.talent-hero .t-avatar-lg {
  width: 72px; height: 72px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--brand-400), var(--brand));
  box-shadow: 0 8px 20px rgba(22, 70, 111, 0.2);
}
.talent-hero h1 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.talent-hero .sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.talent-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.talent-facts span {
  font-size: 12.5px; color: var(--text-2); background: var(--surface-2);
  border-radius: 6px; padding: 5px 11px;
}
.talent-sec { margin-top: 26px; }
.talent-sec h3 {
  font-size: 15px; margin-bottom: 12px; padding-left: 10px; position: relative;
}
.talent-sec h3::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 2px; background: var(--gold);
}
.talent-sec p { color: var(--text-2); line-height: 1.9; white-space: pre-line; }

/* 城市 */
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }.city-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
  transition: all 0.18s;
}
.city-card:hover { border-color: var(--brand-100); background: var(--brand-50); }
.city-card b { font-size: 15px; font-weight: 600; }
.city-card span { font-size: 12.5px; color: var(--muted-2); }

/* 资讯卡 */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px; transition: all 0.2s; display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-100); }
.article-card .kicker { font-size: 11.5px; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.article-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.article-card p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.article-card .foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted-2); display: flex; justify-content: space-between; }

/* CTA */
.cta-band {
  background: linear-gradient(120deg, #0f2f4c 0%, #16466f 60%, #1a5178 100%);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(192, 138, 46, 0.28), transparent 68%);
}
.cta-band h3 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }
.cta-band .actions { display: flex; gap: 12px; position: relative; z-index: 2; }

/* ---------------------------------- 页脚 ---------------------------------- */
.site-footer { background: #0d2136; color: rgba(255, 255, 255, 0.62); padding: 58px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: rgba(255, 255, 255, 0.4); }
.footer-about { font-size: 13px; line-height: 1.9; margin-top: 16px; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col li { display: block; font-size: 13px; line-height: 2.2; color: rgba(255, 255, 255, 0.58); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.38);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------------------------------- 列表页布局 ---------------------------------- */
.page-head {
  background: #fff; border-bottom: 1px solid var(--line-2);
  padding: 34px 0 26px;
}
.page-head h1 { font-size: 26px; color: var(--ink); }
.page-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.breadcrumb { font-size: 12.5px; color: var(--muted-2); display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--brand); }

.layout-aside { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; padding: 28px 0 60px; }

.filter-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.filter-group:last-child { border-bottom: 0; }
.filter-group > h5 { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; letter-spacing: 0.02em; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-options a {
  font-size: 12.5px; padding: 4px 10px; border-radius: 6px; color: var(--text-2);
  transition: all 0.15s;
}
.filter-options a:hover { background: var(--brand-50); color: var(--brand); }
.filter-options a.on { background: var(--brand); color: #fff; }
.filter-options a .n { color: var(--muted-2); font-size: 11px; margin-left: 5px; font-variant-numeric: tabular-nums; }
.filter-options a.on .n { color: rgba(255, 255, 255, 0.7); }

.toolbar {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; display: flex; align-items: center; gap: 6px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar .sort-link { font-size: 13.5px; color: var(--text-2); padding: 6px 12px; border-radius: 6px; }
.toolbar .sort-link:hover { background: var(--gray-50); }
.toolbar .sort-link.on { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.toolbar .count { margin-left: auto; font-size: 12.5px; color: var(--muted); }

.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-row {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; display: flex; gap: 18px; align-items: center;
  transition: all 0.18s;
}
.job-row:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.job-row .main { flex: 1; min-width: 0; }
.job-row .top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.job-row .top h3 { font-size: 16.5px; }
.job-row .top h3:hover { color: var(--brand); }
.job-row .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 8px; align-items: center; }
.job-row .meta .dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.job-row .right { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.job-row .right .time { font-size: 12px; color: var(--muted-2); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; background: #fff; border: 1px solid var(--line); color: var(--text-2);
}
.pagination a:hover { border-color: var(--brand-400); color: var(--brand); }
.pagination .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .disabled { color: var(--muted-2); opacity: 0.55; pointer-events: none; }

.empty {
  background: #fff; border: 1px dashed var(--line); border-radius: 12px;
  padding: 60px 20px; text-align: center; color: var(--muted);
}
.empty .icon { font-size: 34px; opacity: 0.35; margin-bottom: 10px; }
.empty h4 { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.empty p { font-size: 13px; }

/* ---------------------------------- 详情页 ---------------------------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; padding: 28px 0 60px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.card-pad { padding: 28px; }
.card + .card { margin-top: 18px; }

.job-hero { padding: 30px; }
.job-hero h1 { font-size: 28px; color: var(--ink); margin-bottom: 14px; }
.job-hero .pay { font-size: 24px; font-weight: 700; color: var(--gold-600); }
.job-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px;
  border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--text-2);
}
.job-hero .actions { display: flex; gap: 10px; margin-top: 22px; }

.section-title { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 16px; }
.section-title::before { content: ''; width: 3px; height: 16px; border-radius: 2px; background: var(--gold); }
.prose { font-size: 14px; line-height: 2; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.prose p { margin-bottom: 12px; }

/* 会员可见内容的遮蔽样式 */
.masked {
  display: inline-block;
  padding: 0 8px;
  margin: 0 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, #eef2f7, #e3e9f1);
  color: #6b7a8d;
  font-weight: 600;
  letter-spacing: 1px;
  user-select: none;
}

/* 正文末尾的会员提示条 */
.paywall {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #f0e2c4;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf6, #fff9ec);
  flex-wrap: wrap;
}
.paywall-ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0e2c4;
  color: var(--gold-dark, #a9803a);
}
.paywall-main { flex: 1 1 260px; min-width: 0; }
.paywall-main h4 { font-size: 15px; margin-bottom: 6px; }
.paywall-main p { font-size: 13px; color: var(--text-2); line-height: 1.9; }
.paywall-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.side-company { padding: 24px; }
.side-company .head { display: flex; gap: 14px; align-items: center; }
.side-company .head h4 { font-size: 15.5px; }
.side-company .head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.side-company .rows { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.side-company .rows div { display: flex; gap: 10px; color: var(--text-2); }
.side-company .rows span { color: var(--muted-2); width: 56px; flex: none; }

.company-hero {
  background: linear-gradient(120deg, #0f2f4c, #1a5178);
  border-radius: 14px; padding: 36px; color: #fff; position: relative; overflow: hidden;
}
.company-hero::after {
  content: ''; position: absolute; right: -40px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(192, 138, 46, 0.25), transparent 70%);
}
.company-hero .inner { display: flex; gap: 22px; align-items: center; position: relative; z-index: 2; }
.company-hero h1 { font-size: 27px; margin-bottom: 8px; }
.company-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.company-hero .tags span { font-size: 12px; padding: 3px 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); }

/* ---------------------------------- 认证页 ---------------------------------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: linear-gradient(155deg, #0d2841, #16466f 60%, #1a5178);
  color: #fff; padding: 64px 60px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-side::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
}
.auth-side h2 { font-size: 34px; line-height: 1.35; margin-bottom: 18px; position: relative; }
.auth-side p { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; line-height: 1.9; position: relative; max-width: 400px; }
.auth-side ul { margin-top: 34px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.auth-side li i {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(192, 138, 46, 0.22);
  color: #f0c675; display: flex; align-items: center; justify-content: center; font-size: 11px; font-style: normal; flex: none;
}
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h1 { font-size: 26px; margin-bottom: 8px; color: var(--ink); }
.auth-form .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; padding: 4px; background: var(--surface-2); border-radius: 10px; }
.role-switch label { position: relative; cursor: pointer; }
.role-switch input { position: absolute; opacity: 0; }
.role-switch span {
  display: block; text-align: center; padding: 9px; border-radius: 7px;
  font-size: 13.5px; color: var(--muted); transition: all 0.16s;
}
.role-switch input:checked + span { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------------------------------- 表单 ---------------------------------- */
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: 13px; color: var(--text-2); font-weight: 500; margin-bottom: 7px; }
.field > label .req { color: var(--red); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--text); outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.8; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(74, 126, 168, 0.14); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a7686' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.form-actions { display: flex; gap: 10px; margin-top: 24px; }

/* ---------------------------------- 提示 ---------------------------------- */
.toast {
  position: fixed; top: 88px; left: 50%; transform: translateX(-50%) translateY(-12px);
  z-index: 999; padding: 12px 22px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow-lg);
  opacity: 0; transition: all 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); pointer-events: none;
  display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #0f3d2c; color: #d6f5e5; }
.toast.error { background: #4a1d1a; color: #ffd9d5; }

/* ---------------------------------- 徽标 ---------------------------------- */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.amber { background: var(--amber-50); color: var(--amber); }
.badge.blue { background: var(--blue-50); color: var(--blue); }
.badge.gray { background: var(--gray-50); color: var(--muted); }
.badge.gold { background: var(--gold-50); color: var(--gold-600); }

/* ---------------------------------- 个人中心 ---------------------------------- */
.center-layout { display: grid; grid-template-columns: 232px 1fr; gap: 22px; padding: 28px 0 60px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-nav .who { display: flex; gap: 12px; align-items: center; padding: 6px 10px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.side-nav .who h4 { font-size: 14.5px; }
.side-nav .who p { font-size: 12px; color: var(--muted-2); }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--text-2); margin-bottom: 2px;
}
.side-nav a:hover { background: var(--surface-2); color: var(--brand); }
.side-nav a.on { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.side-nav a .n { margin-left: auto; font-size: 11.5px; color: var(--muted-2); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.panel-head { padding: 20px 26px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-head h3 { font-size: 16.5px; }
.panel-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.panel-body { padding: 26px; }
.panel-body.flush { padding: 0; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.stat-card .k { font-size: 12.5px; color: var(--muted); }
.stat-card .v { font-size: 26px; font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: -0.02em; }
.stat-card .v small { font-size: 12px; font-weight: 400; color: var(--muted-2); margin-left: 4px; }
.stat-card.gold .v { color: var(--gold-600); }

/* 简易表格 */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted);
  padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfcfd; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table .strong { font-weight: 500; color: var(--ink); }
.table .sub { font-size: 12px; color: var(--muted-2); }

/* 投递时间线 */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.tl-item:last-child { border-bottom: 0; }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); margin-top: 8px; flex: none; }

/* 进度条 */
.progress { height: 8px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-400), var(--brand)); border-radius: 6px; }

/* 空状态 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); padding: 0 26px; flex-wrap: wrap; }
.tabs a { padding: 14px 14px 12px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--brand); }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tabs a .n { font-size: 11.5px; color: var(--muted-2); margin-left: 3px; }

/* 图表（前台工作台与后台共用） */
.chart { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-top: 10px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart .col .bar-wrap { width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.chart .col .bar {
  width: 60%; max-width: 34px; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--brand-400), var(--brand));
  transition: height 0.6s cubic-bezier(0.2, 0.9, 0.3, 1); position: relative; min-height: 3px;
}
.chart .col .bar.gold { background: linear-gradient(180deg, #d9a94e, var(--gold)); }
.chart .col .bar:hover { opacity: 0.85; }
.chart .col .bar span {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); white-space: nowrap;
}
.chart .col .lb { font-size: 11px; color: var(--muted-2); }

.hbar-list { display: flex; flex-direction: column; gap: 14px; }
.hbar { font-size: 12.5px; }
.hbar .lbl { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--text-2); }
.hbar .lbl span:last-child { color: var(--muted-2); }
.hbar .track { height: 7px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand-400), var(--brand)); }
.hbar.gold .track i { background: linear-gradient(90deg, #d9a94e, var(--gold)); }

/* 错误页 */
.error-page { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-page .code { font-size: 96px; font-weight: 800; color: var(--brand-100); line-height: 1; letter-spacing: -0.04em; }
.error-page h1 { font-size: 24px; margin: 16px 0 10px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }

/* ---------------------------------- 响应式 ---------------------------------- */
@media (max-width: 1080px) {
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .talent-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr !important; gap: 32px !important; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { gap: 12px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .hero { padding: 48px 0 96px; }
  .hero h1 { font-size: 32px; }
  .search-panel { flex-direction: column; padding: 12px; gap: 0; }
  .search-field { padding: 0 12px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line-2); }
  .search-panel .btn { width: 100%; margin-top: 8px; }
  .stat-strip .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat-item + .stat-item::before { display: none; }
  .layout-aside, .center-layout { grid-template-columns: 1fr; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-aside aside { order: 2; }
  .layout-aside main { order: 1; }
  .filter-card, .side-nav { position: static; }
  .job-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .job-row .right { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .section { padding: 40px 0; }
  .job-hero { padding: 22px; }
  .job-hero h1 { font-size: 22px; }
  .card-pad { padding: 20px; }
  .panel-head, .panel-body { padding: 18px; }
  .tabs { padding: 0 16px; }
  .table th, .table td { padding: 10px 12px; }
}

@media (max-width: 860px) {
  .consult-wrap { grid-template-columns: 1fr; }
  .consult-cta { padding: 24px 22px; }
  .qa-time { margin-left: 0; width: 100%; }

  /* 最新招聘：窄屏合并为单栏，取消竖向分隔线 */
  .news-cols { grid-template-columns: minmax(0, 1fr); padding: 6px 20px; }
  .news-cols:not(.single) .news-col:first-child { padding-right: 0; }
  .news-cols:not(.single) .news-col:last-child {
    padding-left: 0; border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .news-cols:not(.single) .news-col:first-child .news-item:last-child { border-bottom: 1px dashed var(--line-2); }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 16px; right: 16px; top: calc(var(--header-h) - 6px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    gap: 2px;
  }
  .nav.open a { padding: 11px 14px; }
  .nav.open a.active::after { display: none; }
}

@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .consult-row { padding: 12px 14px; gap: 10px; }
  .consult-row h4 { font-size: 13.5px; }
  .consult-row .c-ok, .consult-row .c-wait { font-size: 11px; padding: 2px 7px; }
  .qa-item { padding: 16px; }
  .qa-item h3 { font-size: 15px; }
  .ask-card { padding: 20px 18px; }
  .qa-actions { flex-wrap: wrap; }
  .job-grid, .company-grid, .cat-grid, .city-grid, .article-list, .talent-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 8px; }
  .logo { font-size: 17px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
  .logo-text small { font-size: 9px; letter-spacing: 0.16em; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
