/* 求职端样式：移动优先，青蓝头部 + 白卡列表 + 微信绿主按钮；零外部字体与图标。 */
:root {
  --blue: #1ba7e0;
  --blue-dark: #1487b8;
  --green: #07c160;
  --bg: #eff3f7;
  --card: #ffffff;
  --text: #1f2733;
  --muted: #7a8794;
  --line: #e6ecf2;
  --warn: #e8663c;
  --radius: 12px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}

.appbar {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(135deg, #24b3e8, #1487b8);
  color: #fff;
  padding: 14px 16px calc(14px + env(safe-area-inset-top)) 16px;
  padding-top: calc(14px + env(safe-area-inset-top));
  box-shadow: 0 2px 10px rgba(15, 80, 120, .18);
}
.appbar h1 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.appbar p { margin: 2px 0 0; font-size: 12px; opacity: .88; }
.appbar .back { margin-right: 8px; cursor: pointer; font-size: 20px; line-height: 1; }

.view { padding: 12px 12px 84px; max-width: 720px; margin: 0 auto; }

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(31, 39, 51, .06);
}
.card h2 { margin: 0 0 8px; font-size: 16px; }
.card h3 { margin: 14px 0 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.card p { margin: 6px 0; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12px; }
.center { text-align: center; }
.hidden { display: none !important; }

.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.between { justify-content: space-between; }

.notice-banner {
  background: #fff7e8; border: 1px solid #ffe2b0; color: #8a5a00;
  border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px;
}

.kpi { display: flex; gap: 10px; }
.kpi > div { flex: 1; background: var(--card); border-radius: var(--radius); padding: 12px; text-align: center; box-shadow: 0 1px 4px rgba(31,39,51,.06); }
.kpi b { display: block; font-size: 22px; color: var(--blue-dark); }
.kpi span { font-size: 12px; color: var(--muted); }

.list-item {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: 0; }
.list-item .t { font-size: 15px; }
.list-item .s { font-size: 12px; color: var(--muted); }

.badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 11px; line-height: 18px; background: #e8f6ee; color: #0a8a4a;
  border: 1px solid #bfe9d2; white-space: nowrap;
}
.badge.grey { background: #eef1f4; color: #78838f; border-color: #dfe5ea; }
.badge.blue { background: #e8f4fd; color: #1177a8; border-color: #bfe0f5; }
.badge.warn { background: #fdefe9; color: #b4471f; border-color: #f7d3c4; }

.chipbar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.chip {
  flex: none; padding: 5px 12px; border-radius: 999px; font-size: 13px;
  background: #fff; border: 1px solid var(--line); color: #4c5866; cursor: pointer;
}
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.post-card { display: block; }
.post-card .title { font-size: 16px; font-weight: 600; }
.post-card .meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.post-card .price { color: var(--warn); font-size: 13px; margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; padding: 10px 16px; font-size: 15px;
  background: var(--green); color: #fff; cursor: pointer; text-decoration: none;
}
.btn:disabled { opacity: .55; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: #fff; color: var(--blue-dark); border: 1px solid #bfe0f5; }
.btn.grey { background: #eef1f4; color: #5c6773; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 7px; }
.btn.danger { background: #fff; color: #c0392b; border: 1px solid #f0c6bf; }

label.field { display: block; margin-bottom: 12px; }
label.field > span { display: block; font-size: 13px; color: #46525e; margin-bottom: 5px; }
label.field > span em { color: var(--warn); font-style: normal; margin-left: 2px; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number],
select, textarea {
  width: 100%; padding: 10px 12px; font-size: 15px; color: var(--text);
  border: 1px solid #d8e0e8; border-radius: 8px; background: #fff;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #bfe0f5; border-color: var(--blue); }
input[readonly] { background: #f5f7f9; color: #6a7784; }
textarea { min-height: 88px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }

.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row .box { width: 132px; height: 44px; flex: none; cursor: pointer; border-radius: 8px; overflow: hidden; border: 1px solid #d8e0e8; background: #eef4fa; }
.captcha-row .box svg { display: block; width: 100%; height: 100%; }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: #ccd5de;
}
.timeline li::after {
  content: ""; position: absolute; left: 7px; top: 16px; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--green); }
.timeline li.current::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(27,167,224,.18); }
.timeline li.fail::before { background: var(--warn); }

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; text-align: center; padding: 9px 0 8px; font-size: 12px;
  color: #8b97a3; text-decoration: none;
}
.tabbar a.on { color: var(--blue); font-weight: 600; }
.tabbar .dot { display: block; font-size: 18px; line-height: 20px; }

.empty { text-align: center; color: var(--muted); padding: 36px 10px; font-size: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: rgba(31,39,51,.92); color: #fff; padding: 10px 18px; border-radius: 20px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .22s; max-width: 80vw; text-align: center; z-index: 50;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.sheet-mask {
  position: fixed; inset: 0; background: rgba(20,30,40,.45); z-index: 40;
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  background: #fff; width: 100%; max-width: 720px; border-radius: 16px 16px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 86vh; overflow: auto;
}
.sheet h3 { margin: 0 0 12px; font-size: 16px; }

.checkline { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #46525e; margin: 10px 0; }
.checkline input { margin-top: 3px; }

.file-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.file-row:last-child { border-bottom: 0; }

.footer-actions { margin-top: 16px; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }

.confirm-mask {
  position: fixed; inset: 0; background: rgba(20,30,40,.5); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.confirm-box {
  background: #fff; width: 100%; max-width: 340px; border-radius: 14px; padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.confirm-box h3 { margin: 0 0 8px; font-size: 16px; }
.confirm-box p { margin: 0; color: #46525e; line-height: 1.6; }
.confirm-box .row { display: flex; gap: 10px; }
.confirm-box .btn { flex: 1; margin: 0; }

.sign-pad {
  width: 100%; height: auto; background: #fbfdff; border: 1px dashed #9db4c4;
  border-radius: 10px; touch-action: none; display: block;
}
.arr-item { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.arr-item:last-child { border-bottom: 0; }

/* 是否参加笔试：深色实心卡片（A 版），选中点亮为更深一档 + 亮青竖条 */
.quiz-row {
  position: relative; margin: 16px 0; padding: 14px 14px 12px 18px;
  border-radius: 12px; overflow: hidden;
  background: #123F52; color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
}
.quiz-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: rgba(255, 255, 255, .28);
}
.quiz-row.is-chosen {
  background: #0F5C79; border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 0 0 3px rgba(47, 192, 238, .22), 0 6px 16px rgba(15, 92, 121, .28);
}
.quiz-row.is-chosen::before { width: 5px; background: #2FC0EE; }
.quiz-head { display: flex; align-items: center; gap: 10px; }
.quiz-q {
  color: #fff; font-size: 19px; font-weight: 800; line-height: 1.35;
  letter-spacing: .2px;
}
.quiz-badge {
  margin-left: auto; padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .14); color: #fff;
}
.quiz-row.is-chosen .quiz-badge {
  background: #fff; border-color: #fff; color: #0F5C79;
}
.quiz-hint { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .74); }
.quiz-row.is-chosen .quiz-hint { color: rgba(255, 255, 255, .9); }
.quiz-actions { display: flex; gap: 10px; margin-top: 12px; }
.quiz-btn {
  flex: 1; min-height: 48px; border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 10px; background: transparent; color: #fff;
  font-size: 17px; font-weight: 800; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.quiz-btn.on { background: #fff; border-color: #fff; color: #0F5C79; }
.quiz-btn:active { transform: scale(.99); }

