/* 众信人才网 · Design System v2（专业招聘平台风格） */
:root {
  /* 品牌与中性色板 */
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-active: #1e40af;
  --brand-light: #eff4ff;
  --brand-border: #dbe6fd;
  --accent: #f5613d;
  --accent-light: #fff3ef;
  --success: #16a34a;

  --text-strong: #0f172a;
  --text: #1e293b;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-4: #cbd5e1;

  --line: #e8edf3;
  --line-strong: #dde4ec;
  --bg: #f6f8fb;
  --card: #ffffff;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .03);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);

  --header-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-brand { color: var(--brand); }
.text-orange { color: var(--accent); }
.text-muted { color: var(--text-3); }
.hidden { display: none !important; }
.zx-icon { flex-shrink: 0; vertical-align: -3px; }

/* ===== 顶部导航 ===== */
.site-header {
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100;
}
.site-header .inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--text-strong); letter-spacing: -.3px; }
.logo:hover { color: var(--text-strong); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; box-shadow: 0 4px 10px rgba(37, 99, 235, .28);
}
.logo small { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.main-nav { display: flex; gap: 4px; height: 100%; }
.main-nav a {
  padding: 0 16px; color: var(--text-2); font-size: 15px; display: flex; align-items: center;
  position: relative; height: 100%;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  background: var(--brand); border-radius: 3px 3px 0 0;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.city-switch { color: var(--text-2); font-size: 13px; display: flex; align-items: center; gap: 5px; padding-right: 4px; }
.mobile-menu-btn { display: none; background: none; border: 0; color: var(--text-2); padding: 4px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: var(--r-md); border: 1px solid transparent; font-size: 14px; font-weight: 500;
  padding: 9px 20px; transition: all .16s; white-space: nowrap; line-height: 1.5;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .25); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .3); }
.btn-primary:active { background: var(--brand-active); }
.btn-outline { border-color: var(--line-strong); color: var(--text-2); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.btn-ghost { color: var(--text-2); background: transparent; }
.btn-ghost:hover { color: var(--brand); background: var(--brand-light); }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ===== 首页 Hero ===== */
.hero {
  background: linear-gradient(115deg, #0f2f66 0%, #164a9e 48%, #1e5fc4 100%);
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 62%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-title { font-size: 34px; font-weight: 700; letter-spacing: .5px; }
.hero-sub { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.search-box {
  margin-top: 32px; background: #fff; border-radius: var(--r-lg); padding: 6px;
  display: flex; gap: 8px; max-width: 780px; box-shadow: 0 12px 40px rgba(4, 20, 48, .35);
}
.search-box .search-icon-wrap { display: flex; align-items: center; padding-left: 14px; color: var(--text-3); }
.search-box input { flex: 1; border: 0; padding: 12px 8px; font-size: 15px; color: var(--text); min-width: 0; background: transparent; }
.search-box input::placeholder { color: var(--text-3); }
.search-box .btn { border-radius: 9px; padding-left: 26px; padding-right: 26px; }
.hot-keywords { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .75); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hot-keywords a {
  border: 1px solid rgba(255, 255, 255, .28); padding: 3px 13px; border-radius: 999px;
  color: rgba(255, 255, 255, .92); transition: all .15s;
}
.hot-keywords a:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-stats { display: flex; gap: 48px; margin-top: 38px; }
.hero-stats .num { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.hero-stats .num small { font-size: 14px; font-weight: 400; margin-left: 3px; opacity: .7; }
.hero-stats .label { font-size: 13px; color: rgba(255, 255, 255, .68); margin-top: 3px; }

/* ===== 通用卡片与分区 ===== */
.section { padding: 32px 0 8px; }
.section-head { display: flex; align-items: baseline; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 600; color: var(--text-strong); letter-spacing: -.2px; }
.section-sub { color: var(--text-3); font-size: 13px; margin-left: 12px; }
.section-more { margin-left: auto; color: var(--text-3); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--brand); }
.card { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }

/* 职位卡片 */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card {
  background: #fff; border-radius: var(--r-lg); padding: 20px 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  display: block; transition: all .18s ease;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.job-card-top { display: flex; align-items: flex-start; gap: 12px; }
.job-title { font-size: 16px; font-weight: 600; color: var(--text-strong); flex: 1; line-height: 1.45; }
.job-card:hover .job-title { color: var(--brand); }
.job-salary { color: var(--accent); font-weight: 700; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.job-meta { margin-top: 9px; color: var(--text-3); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.job-meta .m-item { display: inline-flex; align-items: center; gap: 4px; }
.job-meta .m-item + .m-item { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.job-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--bg); color: var(--text-2); font-size: 12px; padding: 3px 10px; border-radius: var(--r-sm); border: 1px solid transparent; }
.tag-top { background: var(--accent-light); color: var(--accent); font-weight: 500; }
.tag-brand { background: var(--brand-light); color: var(--brand); }
.job-company { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; }
.company-badge {
  width: 24px; height: 24px; border-radius: 7px; background: var(--brand-light); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.verified-icon { color: var(--brand); display: inline-flex; align-items: center; gap: 3px; font-size: 12px; }
.job-date { margin-left: auto; color: var(--text-3); font-size: 12px; }

/* 企业卡片 */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.company-card {
  background: #fff; border-radius: var(--r-lg); padding: 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs); display: block; transition: all .18s;
}
.company-card:hover { transform: translateY(-3px); border-color: var(--brand-border); box-shadow: var(--shadow-md); }
.company-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; color: var(--text-strong); line-height: 1.5; }
.company-info { color: var(--text-3); font-size: 12px; margin-top: 8px; }
.company-intro { color: var(--text-2); font-size: 13px; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; }
.company-jobs { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--brand); font-size: 13px; display: flex; align-items: center; gap: 5px; }

/* 分类导航 */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-item {
  background: #fff; border-radius: var(--r-lg); padding: 22px 12px 18px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: all .18s;
}
.category-item:hover { transform: translateY(-3px); border-color: var(--brand-border); box-shadow: var(--shadow-md); }
.category-icon {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.category-item:hover .category-icon { background: var(--brand); color: #fff; }
.category-name { font-size: 14px; font-weight: 500; color: var(--text); }
.category-item:hover .category-name { color: var(--brand); }

/* 保障卡 */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guarantee-card { background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.guarantee-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.guarantee-title { font-size: 15px; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
.guarantee-desc { font-size: 13px; color: var(--text-2); line-height: 1.75; }

/* ===== 列表页 ===== */
.filter-panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); padding: 4px 22px; margin-bottom: 18px; }
.filter-row { display: flex; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed var(--line); gap: 16px; }
.filter-row:last-child { border-bottom: 0; }
.filter-label { color: var(--text-3); flex-shrink: 0; padding-top: 3px; width: 64px; font-size: 13px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-options a { padding: 4px 13px; border-radius: var(--r-sm); color: var(--text-2); font-size: 13px; transition: all .12s; }
.filter-options a:hover { color: var(--brand); background: var(--brand-light); }
.filter-options a.active { background: var(--brand); color: #fff; font-weight: 500; }
.list-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.list-toolbar .total { color: var(--text-3); font-size: 13px; }
.list-toolbar .total b { color: var(--brand); font-weight: 600; }
.list-toolbar .sort { margin-left: auto; display: flex; gap: 8px; }
.list-toolbar .sort a { padding: 6px 15px; border-radius: var(--r-md); color: var(--text-2); font-size: 13px; background: #fff; border: 1px solid var(--line-strong); transition: all .12s; }
.list-toolbar .sort a.active { color: var(--brand); border-color: var(--brand); background: var(--brand-light); font-weight: 500; }
.job-list-item {
  background: #fff; border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs); display: block; transition: all .16s;
}
.job-list-item:hover { border-color: var(--brand-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 28px 0 12px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 12px; border-radius: var(--r-md); background: #fff;
  border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 13px; transition: all .12s;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ===== 详情页 ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.detail-main { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); padding: 30px 32px; }
.detail-side > .card { padding: 22px; margin-bottom: 16px; }
.detail-title-row { display: flex; align-items: flex-start; gap: 16px; }
.detail-title { font-size: 25px; font-weight: 700; color: var(--text-strong); letter-spacing: -.3px; line-height: 1.35; }
.detail-salary { color: var(--accent); font-size: 25px; font-weight: 700; margin-left: auto; white-space: nowrap; letter-spacing: -.5px; }
.detail-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--text-2); font-size: 14px; }
.detail-meta .m-item { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta .zx-icon { color: var(--text-3); }
.detail-actions { margin-top: 26px; display: flex; gap: 12px; align-items: center; }
.detail-section { margin-top: 28px; }
.detail-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; padding-left: 11px; border-left: 3px solid var(--brand); line-height: 1.3; color: var(--text-strong); }
.detail-section .content { color: var(--text-2); line-height: 2; white-space: pre-line; }
.side-company-name { font-size: 16px; font-weight: 600; display: block; color: var(--text-strong); }
.side-company-meta { margin-top: 14px; display: grid; gap: 10px; font-size: 13px; color: var(--text-2); }
.side-company-meta .label { color: var(--text-3); display: inline-block; width: 64px; }
.side-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text-strong); }
.side-job-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.side-job-link:last-child { border-bottom: 0; }
.side-job-link .salary { color: var(--accent); font-weight: 600; white-space: nowrap; }
.side-contact { display: grid; gap: 12px; font-size: 13px; color: var(--text-2); }
.side-contact .item { display: flex; align-items: center; gap: 9px; }
.side-contact .zx-icon { color: var(--text-3); }
.breadcrumb { padding: 18px 0; color: var(--text-3); font-size: 13px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-4); }
.safety-note { margin-top: 28px; padding: 14px 16px; background: #fffbeb; border: 1px solid #fde8c4; border-radius: var(--r-md); font-size: 12px; color: #92600a; line-height: 1.9; display: flex; gap: 10px; }
.safety-note .zx-icon { color: #d97706; margin-top: 2px; }
.safety-note a { color: var(--brand); }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.on { display: flex; }
.modal { background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 28px 30px; box-shadow: var(--shadow-lg); animation: modalIn .2s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--text-strong); }
.form-item { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 7px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.form-label .req { color: #ef4444; margin-right: 3px; }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 10px 13px; font-size: 14px;
  transition: all .15s; background: #fff; color: var(--text);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.form-textarea { min-height: 90px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-box {
  border: 1px dashed #c3cfe0; border-radius: var(--r-md); padding: 18px; text-align: center;
  color: var(--text-3); font-size: 13px; cursor: pointer; transition: all .15s; background: #fafcff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.upload-box:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.upload-box.has-file { color: var(--brand); border-color: var(--brand); background: var(--brand-light); border-style: solid; }

/* ===== 登录页 ===== */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 40px 16px;
  background: linear-gradient(120deg, #0f2f66, #164a9e 60%, #1e5fc4); }
.auth-card { background: #fff; border-radius: var(--r-xl); box-shadow: 0 24px 64px rgba(4, 20, 48, .4); width: 100%; max-width: 420px; padding: 36px 38px; }
.auth-tabs { display: flex; gap: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 12px 2px; color: var(--text-3); font-size: 16px; position: relative; }
.auth-tabs a.active { color: var(--brand); font-weight: 600; }
.auth-tabs a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }
.auth-footer-text { text-align: center; margin-top: 20px; font-size: 12px; color: var(--text-3); line-height: 1.9; }

/* ===== 文本页（协议等） ===== */
.doc-page { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); padding: 40px 44px; margin: 24px 0; }
.doc-page h1 { font-size: 24px; text-align: center; margin-bottom: 8px; color: var(--text-strong); letter-spacing: -.3px; }
.doc-page .doc-date { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 28px; }
.doc-page h2 { font-size: 17px; margin: 26px 0 12px; color: var(--text-strong); }
.doc-page p, .doc-page li { color: var(--text-2); line-height: 2; margin-bottom: 8px; }
.doc-page ul { padding-left: 20px; list-style: disc; }

/* ===== 页脚 ===== */
.site-footer { background: #141d2e; color: #8b99b0; margin-top: 48px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 40px 0 32px; }
.footer-brand { color: #fff; font-size: 19px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.footer-brand .logo-mark { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
.footer-desc { font-size: 13px; line-height: 1.95; color: #7e8ca3; }
.footer-col h4 { color: #e2e8f2; font-size: 14px; margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 10px; color: #8b99b0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #263148; padding: 20px 0; font-size: 12px; text-align: center; line-height: 2.1; color: #6b7a92; }
.footer-bottom a { color: #8b99b0; }
.footer-bottom a:hover { color: #fff; }
.footer-beian { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; align-items: center; margin-top: 4px; }
.footer-beian a { display: inline-flex; align-items: center; gap: 5px; }
.footer-beian img { height: 14px; width: auto; }

/* Toast */
.zx-toast {
  position: fixed; left: 50%; top: 20%; transform: translateX(-50%); z-index: 999;
  background: rgba(15, 23, 42, .94); color: #fff; padding: 13px 26px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-lg); animation: zxFade .2s; max-width: 86vw; text-align: center;
}
.zx-toast.success { background: #15803d; }
.zx-toast.error { background: #dc2626; }
@keyframes zxFade { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 空状态 / 加载 */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-3); grid-column: 1 / -1; }
.empty-state .empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: #eef2f8; color: var(--text-4); display: flex; align-items: center; justify-content: center; }
.loading-state { text-align: center; padding: 44px; color: var(--text-3); grid-column: 1 / -1; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .container { padding: 0 14px; }
  .site-header .inner { gap: 12px; }
  .logo { font-size: 17px; }
  .logo small { display: none; }
  .logo-mark { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 8px 12px 12px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line); height: auto; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; border-radius: var(--r-md); }
  .main-nav a.active { background: var(--brand-light); }
  .main-nav a.active::after { display: none; }
  .mobile-menu-btn { display: block; }
  .header-actions { gap: 8px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { padding: 7px 14px; font-size: 13px; }
  .city-switch { display: none; }
  .hero { padding: 36px 0 44px; }
  .hero-title { font-size: 25px; }
  .hero-sub { font-size: 13px; }
  .hero-stats { gap: 28px; margin-top: 30px; }
  .hero-stats .num { font-size: 23px; }
  .search-box .btn { padding-left: 18px; padding-right: 18px; }
  .job-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-item { padding: 16px 8px 14px; }
  .category-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
  .category-name { font-size: 12px; }
  .job-list-item { padding: 18px; }
  .detail-main { padding: 22px 20px; }
  .detail-title { font-size: 21px; }
  .detail-salary { font-size: 21px; }
  .doc-page { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 18px; }
  .section-sub { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 30px 0 22px; }
  .filter-label { width: 52px; }
  .filter-panel { padding: 2px 16px; }
  .modal { padding: 24px 22px; }
}
