/* ==========================================================================
   校招信息聚合平台 — 全站样式
   设计原则：中性色 + 细分割线 + 单一强调色；不用渐变、阴影、emoji 与彩色胶囊，
   靠字号 / 字重 / 留白建立层级。
   前台与后台（/admin）共用本文件，后台布局规则见文末「后台」一节。
   ========================================================================== */

:root {
  --ink: #111315;
  --ink-2: #454b54;
  --muted: #7c828b;
  --faint: #9aa0a6;
  --line: #e7e8ea;
  --line-soft: #f1f2f4;
  --bg-soft: #fafafa;
  --danger: #b42318;
  --radius: 10px;
  --radius-sm: 8px;
  --width: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9ccd1; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; }
svg { display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--width); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; gap: 32px; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; flex: none; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.brand-logo { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; flex: none; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 13px; color: var(--ink-2); }
.site-nav a, .site-nav .link-btn { color: var(--ink-2); white-space: nowrap; }
.site-nav a:hover, .site-nav .link-btn:hover { color: var(--ink); text-decoration: none; }
.site-nav a.active { color: var(--ink); font-weight: 500; }
.site-nav .nav-divider { width: 1px; height: 14px; background: var(--line); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ---------------- 页面骨架 ---------------- */
.page { padding: 40px 0 88px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-head h1 { font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; }
.page-head p { margin-top: 7px; font-size: 13px; color: var(--muted); }
.page-head .aside { font-size: 13px; color: var(--muted); padding-bottom: 3px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font: 500 13px/1 inherit; cursor: pointer; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn:hover { background: var(--bg-soft); border-color: #d8dade; text-decoration: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; border-color: #000; }
.btn-outline { background: #fff; border-color: var(--line); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: transparent; color: var(--ink); }
.btn-success { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-success:hover { background: #000; border-color: #000; }
.btn-danger { background: #fdf4f3; border-color: #f3cfcb; color: var(--danger); }
.btn-danger:hover { background: #fbeeec; border-color: #e9b8b2; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field-label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="tel"], input[type="number"], input[type="url"], input[type="datetime-local"],
input[type="date"], select, textarea {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font: 400 14px/1.4 inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { height: auto; min-height: 110px; padding: 10px 12px; line-height: 1.65; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 1.5 4 4.5 7 1.5' fill='none' stroke='%239aa0a6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #b9bec5; box-shadow: 0 0 0 3px rgba(17, 19, 21, .05); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.check input[type="checkbox"] { accent-color: var(--ink); width: 13px; height: 13px; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.form-grid .card { margin-bottom: 0; }
.form-grid .span-2 { grid-column: 1 / -1; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.checkbox input[type="checkbox"] { width: auto; accent-color: var(--ink); }

/* ---------------- 提示条 / 徽标 ---------------- */
.alert {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 0 0 16px;
  background: var(--bg-soft); color: var(--ink-2);
  font-size: 13px; line-height: 1.7;
}
.alert:last-child { margin-bottom: 0; }
.alert strong { color: inherit; }
.alert-ok { border-color: #cfe7d6; background: #f3faf5; color: #166534; }
.alert-err { border-color: #f3cfcb; background: #fdf4f3; color: #b42318; }
.alert-warn { border-color: #f0dfc4; background: #fdf8ef; color: #92400e; }
.alert-info { border-color: #dbe3ef; background: #f5f8fc; color: #334155; }
.alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 全站公告：比普通提示条更轻，不抢页面标题层级 */
.announcement {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin: 0 0 18px; padding: 11px 14px;
  border: 1px solid #dbe3ef; border-left: 3px solid #64748b;
  border-radius: var(--radius-sm); background: #f8fafc; color: #334155;
  font-size: 13px; line-height: 1.65;
}
.announcement-text { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.announcement-text strong { flex: none; font-size: 12px; font-weight: 600; color: #475569; }
.announcement-text span { white-space: pre-wrap; overflow-wrap: anywhere; }
.announcement-link { flex: none; color: #334155; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.announcement-link:hover { color: var(--ink); }
@media (max-width: 620px) {
  .announcement { flex-direction: column; gap: 6px; }
}

.badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 5px; background: #f2f3f5; color: #4b5563;
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.badge-ok { background: #eef7f0; color: #166534; }
.badge-warn { background: #fbf4e8; color: #92400e; }
.badge-danger { background: #fbeeec; color: #b42318; }
.badge-off { background: #f2f3f5; color: #6b7280; }
.badge-new { background: #eef2f7; color: #334155; }
.badge-vip { background: var(--ink); color: #fff; }

/* ---------------- 卡片 / 分区 ---------------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px; margin-bottom: 18px; }
.card:last-child { margin-bottom: 0; }
.card h2 { font-size: 15px; margin: 0 0 14px; }
.card h3 { font-size: 14px; margin: 0 0 14px; }
.card-tight { padding: 6px 10px; }
.section { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.section h2 { font-size: 15px; margin-bottom: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.block-title { font-size: 15px; margin: 28px 0 14px; }
.form-page { max-width: 620px; }
.form-page .page-head { margin-bottom: 18px; }

/* 长文（免责声明等） */
.prose { max-width: 720px; }
.prose h1 { font-size: 24px; margin-bottom: 6px; }
.prose h2 { font-size: 15px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.prose p { margin-bottom: 10px; }
.prose ul { padding-left: 18px; margin: 0 0 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .notice { margin: 18px 0 8px; }

/* ---------------- 搜索与筛选 ---------------- */
.search-form { margin-bottom: 0; }
.search-row { display: flex; gap: 10px; }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search-box input[type="search"] { height: 44px; padding-left: 40px; }
.search-row .btn { height: 44px; padding: 0 22px; }
.search-locked {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft);
}
.search-locked strong { display: block; font-size: 13.5px; font-weight: 600; }
.search-locked span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.search-locked .btn { flex: none; }
.search-warning { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

/* 下拉与输入框共用一套控件语言：白底、1px 细边框、8px 圆角、同一个箭头。
   高度比表单里的 40px 控件略矮（34px），保持筛选栏的密度。 */
.filter-select { position: relative; }
.filter-select select {
  appearance: none; -webkit-appearance: none;
  height: 34px; padding: 0 30px 0 11px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 1.5 4 4.5 7 1.5' fill='none' stroke='%239aa0a6' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  max-width: 172px; text-overflow: ellipsis;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.filter-select select:hover { border-color: #d8dade; color: var(--ink); }
.filter-select select.on { color: var(--ink); border-color: #bfc4ca; background-color: #fff; font-weight: 500; }
.filter-select select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.filter-clear { margin-left: 2px; height: 34px; display: inline-flex; align-items: center; font-size: 12.5px; color: var(--muted); padding: 0 8px; border-radius: var(--radius-sm); }
.filter-clear:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.filter-check { height: 34px; padding: 0 4px; border-radius: var(--radius-sm); }
.filter-check:hover { background: var(--bg-soft); }
@media (min-width: 901px) {
  /* 排序与「含已截止」靠右，与筛选条件形成左右分组 */
  .filter-bar .filter-sort { margin-left: auto; }
}

/* ---------------- 结果栏 ---------------- */
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 12px; font-size: 12.5px; color: var(--muted); }
.result-bar strong { color: var(--ink); font-weight: 600; }
.result-bar .applied { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-left: 10px; color: var(--ink-2); }
.result-bar .right { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.result-bar .right a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #d5d8dc; }
.result-bar .right a:hover { color: var(--ink); }

/* ---------------- 岗位列表 ---------------- */
.job-list { border-top: 1px solid var(--line); }
.job-list-head, .job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 24px; align-items: center; }
.job-list-head { padding: 9px 10px; font-size: 11.5px; color: var(--faint); border-bottom: 1px solid var(--line); }
.job-list-head .job-cells, .job-row .job-cells { display: flex; align-items: center; gap: 14px; }
.job-cell {
  flex: 0 0 auto; min-width: 0;
  font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-cell.city { width: 146px; }
.job-cell.edu { width: 58px; }
.job-cell.recruit { width: 150px; }
.job-cell.deadline { width: 96px; }
.job-list-head .job-cell { font-size: 11.5px; color: var(--faint); }

.job-row { position: relative; padding: 14px 10px; border-bottom: 1px solid var(--line-soft); transition: background .12s ease; }
.job-row:hover { background: var(--bg-soft); }
.job-main { min-width: 0; }
.job-title {
  display: block; font-size: 15px; font-weight: 500; line-height: 1.45;
  color: var(--ink); letter-spacing: -0.005em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-row:hover .job-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9ccd1; }
.job-sub { display: flex; align-items: baseline; gap: 14px; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.job-company { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-company .dot { margin: 0 7px; color: #d5d8dc; }
.job-company .major { color: var(--faint); }
.job-updated { flex: none; color: #b3b8bf; font-variant-numeric: tabular-nums; }
.job-row .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; color: #c9ccd1;
  transition: transform .12s ease, color .12s ease;
}
.job-row .arrow:hover { text-decoration: none; }
.job-row:hover .arrow { color: var(--ink-2); transform: translateX(2px); }
.job-cell .label { display: none; }
.job-deadline.is-urgent { color: var(--danger); }
.job-deadline .days-left { color: var(--danger); font-size: 12px; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 13px; color: var(--muted); }
.pager .links { display: flex; align-items: center; gap: 18px; }
.pager a { color: var(--ink-2); }
.pager a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pager .disabled { color: #c9ccd1; }

/* ---------------- 空状态 ---------------- */
.empty { padding: 64px 0; text-align: center; border-bottom: 1px solid var(--line-soft); }
.empty h1, .empty h2 { font-size: 16px; margin-bottom: 6px; }
.empty .code { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 10px; }
.empty p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.empty .btn { margin: 0 4px; }
.empty a { text-decoration: underline; text-underline-offset: 3px; }
.empty-icon { display: none; }

/* ---------------- 详情页 ---------------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { color: #d5d8dc; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  grid-template-areas: "head aside" "main aside";
  column-gap: 56px;
  align-items: start;
}
.detail-head { grid-area: head; }
.detail-main { grid-area: main; }
.detail-aside { grid-area: aside; position: sticky; top: 82px; }
.detail-head h1 { font-size: 26px; line-height: 1.35; letter-spacing: -0.02em; }
.detail-head .company { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.detail-head .facts { display: flex; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.detail-head .facts span + span::before { content: "·"; margin: 0 10px; color: #d5d8dc; }
.detail-head .facts .urgent { color: var(--danger); }
.detail-head .head-badges { display: flex; gap: 8px; margin-top: 12px; }

.detail-main .section:first-child { margin-top: 30px; }
.section p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.pre-wrap { white-space: pre-wrap; word-break: break-word; }

.field-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.field-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.field-key { width: 76px; flex: none; color: var(--muted); font-size: 13px; }
.field-value { color: var(--ink); min-width: 0; word-break: break-word; }
.field-row.wide { grid-column: 1 / -1; }

/* 投递方式 */
.apply .link-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; word-break: break-all; margin-bottom: 12px;
}
.apply .hint { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.apply .note { margin-top: 14px; }
.action-stack { display: grid; gap: 8px; margin-top: 14px; }

.related-list { border-top: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; gap: 24px; min-width: 0; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.related-list a:hover { text-decoration: none; }
.related-list a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.related-list .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list .c { max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12.5px; }

/* ---------------- 登录 / 注册 ---------------- */
.auth { max-width: 420px; margin: 36px auto 0; }
.auth .card { padding: 28px; }
.auth h1 { font-size: 22px; margin-bottom: 6px; }
.auth .lede { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.auth .after { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.auth .after a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth .legal { margin-top: 14px; font-size: 11.5px; color: var(--faint); line-height: 1.7; }
.captcha-row { display: flex; gap: 10px; align-items: flex-start; }
.captcha-row input { max-width: 170px; flex: none; }
.captcha-btn { height: 40px; padding: 0 8px; display: inline-flex; align-items: center; }
.captcha-btn span { display: inline-flex; align-items: center; min-width: 132px; }

/* ---------------- 会员套餐 ---------------- */
.notice { border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-bottom: 18px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.status-row .who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 0; }
.plan.recommended { border-color: var(--ink); }
.plan .plan-tag { position: absolute; right: 14px; top: 14px; font-size: 11px; color: var(--muted); }
.plan .plan-name { font-size: 13px; color: var(--muted); }
.plan-price { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 16px; line-height: 1.1; }
.plan-price small { font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--ink-2); }
.plan li { position: relative; padding: 4px 0 4px 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #c9ccd1; }
.plan .field { margin-top: auto; }
.plan .btn { margin-top: 4px; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .actions, .table td.actions { white-space: nowrap; }
.table tbody th { color: var(--muted); font-weight: 400; width: 130px; white-space: nowrap; }

/* ---------------- 收款码 ---------------- */
.qr-box { text-align: center; padding: 8px 0 4px; }
.qr-box img { width: 200px; height: 200px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.qr-placeholder {
  width: 200px; height: 200px; display: grid; place-items: center; margin: 0 auto;
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--muted); font-size: 13px; line-height: 1.6;
}

/* ---------------- 页脚 ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 44px; font-size: 12px; color: var(--muted); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.site-footer .links a:hover { color: var(--ink); }
.site-footer .legal { line-height: 1.7; max-width: 860px; }
.site-footer .copy { margin-top: 10px; color: var(--faint); }

/* ---------------- 工具类 ---------------- */
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.flex { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.wrap { flex-wrap: wrap; }
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 14px; } .mt-3 { margin-top: 22px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 14px; }
.note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* 轻量提示条（JS 动态插入） */
.toast {
  position: fixed; left: 50%; top: 16px; transform: translateX(-50%);
  z-index: 9999; max-width: 92vw; margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

/* ---------------- 后台 ---------------- */
.admin-layout { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 40px; align-items: start; }
.admin-nav { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--ink-2); font-size: 13px; line-height: 1.5;
}
.admin-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.admin-nav a.active { background: #f2f3f5; color: var(--ink); font-weight: 500; }
.admin-main { min-width: 0; }
.admin-main p { margin: 0 0 10px; }
.admin-main p.m-0, .admin-main p.mb-0, .admin-main p:last-child { margin-bottom: 0; }
.admin-main ul, .admin-main ol { margin: 0 0 12px; padding-left: 20px; }
.admin-main li { margin-bottom: 4px; }
.admin-main h3 { margin-bottom: 10px; }
.admin-main table.table { min-width: 680px; }

.key-box { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; background: #f9fafb; }
.logo-preview { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.logo-preview img { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 8px; object-fit: contain; background: var(--bg-soft); }
input[type="file"] { font-size: 13px; color: var(--ink-2); }
input[type="file"]::file-selector-button {
  height: 34px; margin-right: 10px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--ink); font: 500 12.5px/1 inherit; cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: var(--bg-soft); border-color: #d8dade; }
.plan-editor { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.plan-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.plan-editor-head code { margin-left: 6px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stat-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: #fff; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; font-variant-numeric: tabular-nums; }

.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink-2); font-size: 12.5px; background: #fff;
}
.pagination a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.pagination .disabled { opacity: .45; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .job-list-head { display: none; }
  .job-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 8px 16px; padding: 14px 2px; }
  .job-row .job-main { grid-column: 1; grid-row: 1; }
  .job-row .arrow { grid-column: 2; grid-row: 1; align-self: start; margin-top: 4px; }
  .job-row .job-cells { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 2px 14px; }
  .job-cell, .job-cell.city, .job-cell.edu, .job-cell.recruit, .job-cell.deadline { width: auto; font-size: 12.5px; color: var(--muted); }
  .job-cell .label { display: inline; color: var(--faint); margin-right: 4px; }
  .job-cell.recruit { display: none; }
  .job-cell.city { max-width: 128px; }

  .detail-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "main"; row-gap: 26px; }
  .detail-aside { position: static; }
  .field-list { grid-template-columns: 1fr; }
  .page { padding: 30px 0 64px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
  .page-head h1 { font-size: 22px; }
  .page-head .aside { padding: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .site-nav .hide-sm { display: none; }
  .site-nav { gap: 16px; }
  .admin-layout { grid-template-columns: 1fr; gap: 26px; }
  .admin-nav {
    position: static; flex-direction: row; gap: 4px;
    overflow-x: auto; padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .admin-nav a { white-space: nowrap; }
}

@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }
  .search-locked { flex-direction: column; align-items: flex-start; }
  .search-locked .btn { width: 100%; }
  .detail-head h1 { font-size: 21px; }
  .result-bar { flex-wrap: wrap; }
  .auth { margin-top: 16px; }
  .auth .card { padding: 22px; }
  .btn-sm { height: 30px; }
  .site-header .inner { gap: 16px; }
  .site-nav { gap: 13px; font-size: 12.5px; }
  .site-nav .nav-divider { display: none; }
}


/* ---------------- 投递进展 ---------------- */
.application-card { padding: 18px 20px; }
.application-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.application-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 16px; }
.application-head p { margin: 6px 0 0; }
.application-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.application-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2); font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 4px 0 0; padding: 0; }
.timeline li { position: relative; margin-left: 5px; padding: 0 0 20px 24px; border-left: 1px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; top: 5px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.timeline-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.timeline-note { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .application-head { flex-direction: column; }
  .application-head .btn { width: 100%; }
}
