/* 团队投递看板三栏详情样式 —— 从 public/test-labs/style.css 抽取 cvx-* / eval-* / fa-* / req- 等规则，
   供 /team-manage/inbox/[jobId] 复用实验室的 CV 渲染 + AI 评估面板。CSS 变量 scope 到 .tib-detail，
   不污染全站 token。只在该详情页通过 app/layout.jsx 全局 link 加载。 */
.tib-detail {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --border: #e3e6ea;
  --text: #1f2329;
  --muted: #8a93a0;
  --accent: #2f6feb;
  --accent-soft: #eaf1fe;
}
/* 实验室 style.css 依赖全局 *{box-sizing:border-box}，抽取这套样式时没带过来 →
   带 padding 的卡片（.cvx-letter / .cvx-head / .cvx-body 等）用 width:100% 时，padding 会摞在
   100% 之外，把卡片撑得比列内容区宽出「自身 padding」那么多、溢出右侧（实测 over=该卡 padding）。
   这里给详情整棵子树补 border-box，让 width/100% 含 padding，卡片严丝合缝、不再溢出。 */
.tib-detail,
.tib-detail *,
.tib-detail *::before,
.tib-detail *::after { box-sizing: border-box; }

/* small secondary button (查看 Prompt / 复制) */
.mini-btn {
  font-family: inherit;
  font-size: 12px;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  cursor: pointer;
  white-space: nowrap;
}
.mini-btn:hover { background: var(--accent-soft); border-color: var(--accent); }

/* evaluation panel (gates + tiered requirements) */
.eval-panel {
  max-width: 640px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 16px;
  corner-shape: squircle;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.07);
  padding: 16px 18px;
}
.eval-loading { font-size: 13px; color: var(--muted); }
.eval-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eval-score { font-size: 13px; color: var(--muted); }
.eval-score b { font-size: 18px; color: var(--accent); font-weight: 700; }
.eval-fail-badge { font-size: 12px; color: #c0392b; font-weight: 600; }
.eval-tip { font-size: 12px; color: var(--muted); margin-left: auto; }
.eval-clear {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
}
.eval-clear:hover { background: var(--accent-soft); }
.eval-adj { font-size: 12px; color: var(--muted); }
.eval-weak { font-size: 12px; color: #b8860b; }
.eval-reason { font-size: 13px; color: #3c3c43; line-height: 1.6; margin-top: 8px; }
.eval-holistic { font-size: 13px; color: #3c3c43; line-height: 1.6; margin-top: 8px; }
.eval-holistic-label {
  display: inline-block;
  margin-right: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7a5af0;
}

.eval-gates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.eval-gate {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.eval-gate.gate-pass { color: #1a7f4b; border-color: #bfe3cd; }
.eval-gate.gate-fail { color: #c0392b; border-color: #f0c3bd; }
.eval-gate.gate-unknown { color: var(--muted); }

.eval-reqs { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.eval-req {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.eval-req[data-req]:hover { background: #f7f9fc; }
.eval-req.is-active { background: var(--accent-soft); border-color: var(--accent); }
.eval-req.is-static { cursor: default; opacity: 0.55; }
.eval-req .req-tier {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 500;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.eval-req .req-tier.tier-must { color: var(--accent); border-color: #bcd3fb; }
.eval-req .req-mark { flex: 0 0 auto; width: 14px; text-align: center; font-weight: 700; }
.eval-req.st-hit .req-mark { color: #1a7f4b; }
.eval-req.st-partial .req-mark { color: #b8860b; }
.eval-req.st-miss .req-mark { color: #c0392b; }
.eval-req .req-text { flex: 1; min-width: 0; }
.eval-req.st-miss .req-text { color: var(--muted); }

.empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
/* 求职信态度徽章（信卡 + 排序行） */
.att-badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-left: 6px; white-space: nowrap; vertical-align: middle; }
.att-badge.att-bad { background: #fdecec; color: #c0392b; font-weight: 600; }
.att-badge.att-meh { background: #f0f1f3; color: var(--muted); }
.att-badge.att-ok { background: var(--accent-soft); color: var(--accent); }
.att-badge.att-good { background: #e6f5ec; color: #1a7f44; font-weight: 600; }
.fa-boost { font-size: 11px; color: #1a7f44; background: #e6f5ec; border-radius: 999px; padding: 0 6px; margin-left: 4px; }
.fancy-job {
  position: relative; padding: 10px 14px; border-bottom: 1px solid #f0f2f4; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
}
.fancy-job:hover { background: #f7f9fc; }
.fancy-job.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
/* 人才榜行（横排） */
.fancy-job.st-row2 { flex-direction: row; align-items: center; gap: 8px; }
/* 中间申请人排序 */
.fa-head { padding: 12px 16px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.fa-row {
  width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
  padding: 9px 14px; border: none; border-bottom: 1px solid #f3f4f6; background: #fff; cursor: pointer;
}
.fa-row:hover { background: #f7f9fc; }
.fa-row.active { background: var(--accent-soft); }
.fa-row.is-dq { opacity: 0.6; }
.fa-rank { width: 20px; text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fa-score { width: 30px; text-align: center; font-weight: 700; color: var(--accent); }
.fa-row.is-dq .fa-score, .fa-row.is-err .fa-score { color: var(--muted); }
.fa-star { width: 16px; }
.fa-name { flex: 0 0 auto; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
.fa-note { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.fa-multi { margin-left: 6px; padding: 1px 6px; border-radius: 8px; background: #fff4e5; color: #b26b00; font-size: 11px; font-weight: 500; white-space: nowrap; }

/* 申请人行（左列：分数行 + 理由两行） */
.fancy-job.fa-app { gap: 4px; }
.fa-app .fj-line { display: flex; align-items: center; gap: 8px; }
.fa-app .fj-rank { width: 20px; text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fa-app .fj-score { width: 30px; text-align: center; font-weight: 700; font-size: 13px; color: var(--accent); }
.fa-app .fj-star { width: 16px; text-align: center; }
.fa-app .fj-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; display: flex; align-items: center; }
.fa-app .fj-note {
  font-size: 12px; line-height: 1.5; color: var(--muted); padding-left: 28px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fa-app.is-dq { opacity: 0.6; }
.fa-app.is-err .fj-score, .fa-app.is-dq .fj-score { color: var(--muted); }
.fancy-job.fa-app.is-star { background: #fffbe9; }

/* ── 投递看板申请人行（Figma 1227:845 复刻）：头像 + 名字 + 一句话 + 匹配/态度标签 + 时间 ── */
.fancy-job.fa-row { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 20px; }
/* 未选中行不再整体变淡（去掉「白色蒙版」感）；选中焦点靠 .active 的底色 + 名字加粗区分即可。
   抽取失败行（.is-err）仍轻微压暗，作为「这条没解析出来」的状态提示（与选中无关）。 */
.fancy-job.fa-row.is-err .fa-av,
.fancy-job.fa-row.is-err .fa-main { opacity: 0.6; }
/* 选中态：Codex 式中性灰 Tab；覆盖 .cv-list li.active 的 accent 色。 */
.fancy-job.fa-row.active { background: #e8e8e8; box-shadow: none; color: #1d1d1f; }
/* 选中行始终全不透明：即便候选人被门槛淘汰（.is-dq 整行压到 0.6），点开查看时它是焦点、要清晰显示。
   .is-dq 是列表里「未选中淘汰项」的去重点，跟选中焦点冲突时以选中为准。 */
.fancy-job.fa-row.is-dq.active { opacity: 1; }
/* 选中后标题加粗（其余行名字 400）。 */
.fancy-job.fa-row.active .fa-name { font-weight: 600; }
/* 头像 + 未读蓝点组：蓝点用 absolute 叠到头像右上角，**不占布局**——
   否则原来的 margin-right:-8 在「已读（无蓝点）」时会把头像组挤窄 8px、名字贴上来、丢间距。 */
.fa-avwrap { position: relative; display: flex; align-items: flex-start; flex-shrink: 0; }
.fa-av {
  width: 36px; height: 36px; border-radius: 999px; background: #f0f0ee; color: #86868b;
  font-size: 13px; font-weight: 500; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.fa-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
/* 字重对齐 Figma：名字 / 摘要都是 Regular 14px（设计里几乎不用粗体） */
.fa-name { font-size: 14px; font-weight: 400; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fa-sum {
  font-size: 14px; line-height: 1.4; color: #86868b; letter-spacing: -0.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fa-meta { display: flex; align-items: center; gap: 6px; }
/* 标签(匹配/态度/时间)都在这一个 innerHTML span 里 → gap 必须加在它身上才管得到内部标签。
   gap: 行距 列距 —— 标签横向更松(14)，换行后标签↔时间纵向也拉开(10)。 */
.fa-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-width: 0; }
/* 投递时间也做成标签，跟在匹配/态度标签后面（Figma 1227:871）：#f4f4f4 底 + #3c3c43 字 */
.fa-time { font-size: 11px; color: #3c3c43; background: #f4f4f4; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.fa-tier, .fa-att { font-size: 11px; line-height: normal; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
/* 岗位规则门槛旗标（如 ⚠️ 无作品集）—— 琥珀色淡底，跟 5% 系一致；告警语义但不刺眼。 */
.fa-flag { font-size: 11px; line-height: normal; color: #d97706; background: rgba(217, 119, 6, 0.06); padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
/* 仅作品集（无 CV，暂不评分）—— 中性灰，纯信息性：不是告警、也不是「评估中」转圈，告诉雇主是另一种态。 */
.fa-nocv { font-size: 11px; line-height: normal; color: var(--muted); background: #f0f1f3; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
/* 匹配度 5 档（bg = 主色 5% 淡底，对齐 Figma 1236:6141） */
.fa-tier.tier-top { background: rgba(249, 115, 22, 0.05); color: #f97316; border-radius: 10px; }
.fa-tier.tier-high { background: rgba(46, 132, 250, 0.05); color: #2e84fa; }
.fa-tier.tier-mid { background: rgba(22, 163, 74, 0.05); color: #16a34a; }
.fa-tier.tier-low { background: rgba(245, 158, 11, 0.05); color: #f59e0b; }
.fa-tier.tier-none { background: rgba(148, 163, 184, 0.05); color: #94a3b8; }
/* 态度 5 档（用心 = #2E84FA，对齐 Figma 1236:6191） */
.fa-att.att-care2 { background: rgba(110, 90, 245, 0.05); color: #6e5af5; }
.fa-att.att-care1 { background: rgba(46, 132, 250, 0.05); color: #2e84fa; }
.fa-att.att-mid { background: rgba(22, 163, 74, 0.05); color: #16a34a; }
.fa-att.att-low { background: rgba(245, 158, 11, 0.05); color: #f59e0b; }
.fa-att.att-none { background: rgba(138, 147, 163, 0.05); color: #8a93a3; }
/* 处置态小标签（约面 / Pass）：比评估标签略重，一眼看出这人处理到哪了。放在 badges 最前。 */
.fa-dec { font-size: 11px; line-height: normal; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fa-dec-itv { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.fa-dec-rej { background: rgba(229, 72, 77, 0.1); color: #e5484d; }

/* 选职位浮窗：触发按钮 + 列表 */
.fancy-jobpick {
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid transparent; border-radius: 10px;
  padding: 6px 12px; cursor: pointer; max-width: 360px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fancy-jobpick:hover { border-color: var(--accent); }
.fancy-jobpick[hidden] { display: none; }
.fancy-joblist { padding: 8px 12px 16px; }

/* ===== 投递看板专用 CV 渲染（1:1 复刻 Figma：默认收起，可展开）===== */
.cvx { background: #fff; display: flex; flex-direction: column; gap: 52px; padding: 24px 56px 48px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cvx p { margin: 0; }
/* 头部 */
.cvx-header { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.cvx-htop { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.cvx-id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cvx-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: #f0f0ee; color: #86868b;
  display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 15px; }
.cvx-idtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cvx-name { color: #1d1d1f; font-size: 16px; font-weight: 500; letter-spacing: -0.08px; }
.cvx-sub { color: #86868b; font-size: 13px; letter-spacing: -0.065px; }
.cvx-hsave { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.cvx-hsave svg { width: 17px; height: 17px; display: block; }
.cvx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cvx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1px solid #ececef; color: #3c3c43; font-size: 13px; font-weight: 500; letter-spacing: -0.07px; white-space: nowrap;
  text-decoration: none; transition: border-color 0.15s, background 0.15s; }
/* 可点的 chip（链接/邮箱）：样式与纯展示一致，只加手势 + 轻微 hover */
a.cvx-chip { cursor: pointer; }
a.cvx-chip:hover { border-color: #d2d2d7; background: #fafafa; }
.cvx-chip svg { width: 15px; height: 15px; flex: 0 0 auto; display: block; }
/* 一封信卡 */
.cvx-letter-section { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.cvx-letter { display: flex; flex-direction: column; gap: 14px; width: 100%; background: #fff; border: 1px solid #efefef;
  border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 3px 0 rgba(0,0,0,0.02); }
.cvx-letter-text { color: #111; font-size: 15px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; cursor: inherit;
  max-height: var(--cvx-letter-expanded-height, none); overflow: hidden; transition: max-height .28s cubic-bezier(.2, .8, .2, 1); }
.cvx-letter:not(.is-open) .cvx-letter-text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  max-height: var(--cvx-letter-collapsed-height, none); overflow: hidden; }
/* 收起动画期间先保留完整正文布局，只把高度缓动回截断高度；结束后再恢复 line-clamp，避免文字瞬间消失。 */
.cvx-letter.is-collapsing .cvx-letter-text { display: block; -webkit-line-clamp: unset; -webkit-box-orient: initial; }
.cvx-letter-empty { color: #a1a1a6; }
.cvx-letter-more { display: none; align-items: center; gap: 4px; align-self: flex-start; background: none; border: 0;
  padding: 0; cursor: pointer; color: #2e84fa; font-size: 12px; font-weight: 500; letter-spacing: -0.2px; font-family: inherit; }
.cvx-letter.is-truncated .cvx-letter-more { display: inline-flex; }
/* chevron 规范：未展开朝右(rotate -90)、展开后朝下(rotate 0)。base SVG 是「下」箭头。 */
.cvx-letter-chev { width: 14px; height: 14px; display: block; transform: rotate(-90deg); transition: transform 0.18s ease; }
.cvx-letter-chev svg { width: 14px; height: 14px; display: block; }
.cvx-letter.is-open .cvx-letter-chev { transform: rotate(0deg); }
/* 决策镜头：把已有 requirement evidence 反向聚合到最值得先看的经历；原 CV 顺序不变。 */
.cvx-decision { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.cvx-decision-list { display: flex; flex-direction: column; gap: 0; padding: 4px 0; border: 1px solid #e5e5e7;
  border-radius: 16px; background: #fff; box-shadow: none; }
.cvx-decision-card { width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 16px;
  color: inherit; font: inherit; text-align: left; }
.cvx-decision-card + .cvx-decision-card { position: relative; }
.cvx-decision-card + .cvx-decision-card::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px;
  border-top: 0.5px solid #e5e5e7; pointer-events: none; }
.cvx-decision-jump { appearance: none; width: 100%; margin: 0; padding: 0; border: 0; background: none; display: grid;
  grid-template-columns: 28px minmax(0,1fr); align-items: start; gap: 12px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cvx-decision-jump:focus-visible, .cvx-decision-tag:focus-visible { outline: 3px solid rgba(99,99,102,.2); outline-offset: 3px; }
.cvx-decision-rank { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #efefef; box-shadow: 2.4px 2.4px 2.4px 0 rgba(0,0,0,0.03);
  color: #1d1d1f; font-size: 12px; font-weight: 700; }
.cvx-decision-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cvx-decision-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.cvx-decision-title b { color: #111; font-size: 13px; font-weight: 700; }
.cvx-decision-title em { color: #5d6470; font-size: 13px; font-style: normal; }
.cvx-decision-title small { color: #8e8e93; font-size: 12px; }
.cvx-decision-evidence { color: #4f5660; font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cvx-decision-detail { margin-left: 40px; }
.cvx-decision-card:not(:has(.cvx-decision-evidence)) .cvx-decision-detail { margin-top: -14px; }
.cvx-decision-counts { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 9px 0 0; }
.cvx-decision-tag-wrap { position: relative; display: inline-flex; }
.cvx-decision-tag { padding: 3px 0; font-size: 11px; line-height: 1.3; font-weight: 400; cursor: default; }
/* 状态只用文字与前置圆点表达，不铺标签底色；列表靠留白分组。 */
.cvx-decision-tag.is-hit { display: inline-flex; align-items: center; gap: 5px; color: #86868b; }
.cvx-decision-tag.is-hit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2e84fa; flex: 0 0 auto; }
.cvx-decision-tag.is-partial { display: inline-flex; align-items: center; gap: 5px; color: #86868b; }
.cvx-decision-tag.is-partial::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f2994a; flex: 0 0 auto; }
.cvx-decision .cvx-decision-tag-wrap .cvx-decision-popover { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 9px); width: 300px; max-width: calc(100vw - 48px);
  padding: 12px; box-sizing: border-box; border: 1px solid #ececef; border-radius: 12px; background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.14); opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease; }
.cvx-decision-popover::after { content: ""; position: absolute; left: 14px; bottom: -5px; width: 8px; height: 8px;
  border-right: 1px solid #ececef; border-bottom: 1px solid #ececef; background: #fff; transform: rotate(45deg); }
.cvx-decision-tag-wrap.is-below .cvx-decision-popover { top: calc(100% + 9px); bottom: auto; transform: translateY(-4px); }
.cvx-decision-tag-wrap.is-below .cvx-decision-popover::after { top: -5px; bottom: auto; border: 0;
  border-top: 1px solid #ececef; border-left: 1px solid #ececef; }
.cvx-decision-tag-wrap:hover .cvx-decision-popover,
.cvx-decision-tag-wrap:focus-within .cvx-decision-popover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.cvx-decision-card:has(.cvx-decision-tag-wrap:hover),
.cvx-decision-card:has(.cvx-decision-tag-wrap:focus-within) { position: relative; z-index: 3; }
.cvx-decision-popover strong { display: block; margin-bottom: 8px; color: #1d1d1f; font-size: 12px; font-weight: 600; }
.cvx-decision-popover-list { display: flex; flex-direction: column; gap: 8px; max-height: 240px; overflow-y: auto; }
.cvx-decision-popover-item { display: block; color: #4f5660; font-size: 12px; line-height: 1.55; }
.cvx-decision-popover-item small { color: #989da5; font-size: 10px; margin-right: 6px; }
@keyframes cvx-decision-target-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,132,250,.28); }
  100% { box-shadow: 0 0 0 10px rgba(46,132,250,0); }
}
.cvx-item.is-decision-target > .cvx-head { animation: cvx-decision-target-pulse 1.2s ease-out; }
@media (max-width: 640px) {
  .cvx-decision-jump { grid-template-columns: 26px minmax(0,1fr); }
  .cvx-decision-detail { margin-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .cvx-letter-text, .cvx-letter-chev, .cvx-decision-popover { transition: none; }
}
/* Section */
.cvx-sec { display: flex; flex-direction: column; gap: 16px; width: 100%; }
/* 段头统一：图标 20 / 文案 15 Regular #86868b / gap 4 / 左内缩 12（对齐卡内内容线） */
.cvx-sec-head { display: flex; gap: 4px; align-items: center; padding-left: 12px; }
.cvx-sec-ic { width: 20px; height: 20px; flex: 0 0 auto; display: block; }
.cvx-sec-ic svg { width: 20px; height: 20px; display: block; }
.cvx-sec-title { color: #86868b; font-size: 15px; font-weight: 400; letter-spacing: -0.2px; }
.cvx-sec-body { display: flex; flex-direction: column; gap: 24px; width: 100%; }
/* 可展开条目：白卡 + 浅色抽屉（1:1 Figma 1214:5971） */
.cvx-item { display: flex; flex-direction: column; width: 100%; position: relative; border-radius: 16px; }
/* 复用首页「加入找工互助群」CTA 的 3.4s 淡蓝呼吸光；只在桌面鼠标悬浮焦点块时启用。 */
@keyframes cvx-item-hover-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(29,103,241,0.04),
      0 0 15px 0 rgba(29,103,241,0.05);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(29,103,241,0.06),
      0 0 24px 3px rgba(29,103,241,0.09);
  }
}
@media (hover: hover) and (pointer: fine) {
  .cvx-item:hover,
  .cvx-decision-card:hover { animation: cvx-item-hover-breathe 3.4s ease-in-out infinite; }
  .cvx-decision-card:hover { border-radius: 12px; }
  /* HOVER_DIMMING_DISABLED：暂时关闭「悬浮一个 CV 区块时，其他区块降透明度」。
  .cvx:has(.cvx-item:hover) .cvx-header,
  .cvx:has(.cvx-item:hover) .cvx-decision,
  .cvx:has(.cvx-item:hover) .cvx-sec-head,
  .cvx:has(.cvx-item:hover) .cvx-item:not(:hover),
  .cvx:has(.cvx-item:hover) .cvx-kv,
  .cvx:has(.cvx-item:hover) .cvx-skill { opacity: 0.75; }
  .cvx:has(.cvx-item:hover) .cvx-item:hover { opacity: 1; }

  .cvx:has(.cvx-decision-card:hover) .cvx-header,
  .cvx:has(.cvx-decision-card:hover) .cvx-decision-head,
  .cvx:has(.cvx-decision-card:hover) .cvx-decision-card:not(:hover),
  .cvx:has(.cvx-decision-card:hover) .cvx-sec { opacity: 0.75; }
  .cvx:has(.cvx-decision-card:hover) .cvx-decision-card:hover { opacity: 1; }
  */
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .cvx-item:hover,
  .cvx-decision-card:hover { animation: none; box-shadow: 0 0 0 3.5px rgba(29,103,241,0.06); }
}
.cvx-head { display: flex; align-items: center; gap: 14px; width: 100%; position: relative; z-index: 1;
  background: #fff; border: 1px solid #efefef; border-radius: 16px; padding: 16px; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.02); }
.cvx-item.has-body .cvx-head { cursor: pointer; }
.cvx-tile { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid #efefef; position: relative; overflow: hidden;
  box-shadow: 2.4px 2.4px 2.4px 0 rgba(0,0,0,0.03); display: flex; align-items: center; justify-content: center; }
.cvx-tile svg { width: auto; height: auto; max-width: 24px; max-height: 22px; display: block; }
.cvx-tile-fallback { display: flex; align-items: center; justify-content: center; }
.cvx-tile.is-image-loaded { border: 0; background: transparent; }
.cvx-tile.is-image-loaded .cvx-tile-fallback { visibility: hidden; }
.cvx-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; background: transparent; }
.cvx-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cvx-w-desc { color: #8e8e8e; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cvx-save { flex: 0 0 auto; width: 14px; height: 14px; display: block; align-self: center; }
.cvx-save svg { width: 14px; height: 14px; display: block; }
/* 卡片右侧展开指示：灰色下三角，展开时翻转（设计稿用 ▽，不是爱心——爱心只在顶部姓名行） */
/* chevron 规范：未展开朝右(rotate -90)、展开后朝下(rotate 0)。base SVG 是「下」箭头。 */
.cvx-chev2 { flex: 0 0 auto; width: 14px; height: 14px; display: block; align-self: center; transform: rotate(-90deg); transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.cvx-chev2 svg { width: 14px; height: 14px; display: block; }
.cvx-item.is-open .cvx-chev2 { transform: rotate(0deg); }
.cvx-body {
  display: grid; grid-template-rows: 1fr; width: 100%; overflow: hidden; opacity: 1;
  background: #f5f5f7; border: 1px solid #efefef; border-radius: 0 0 16px 16px; margin-top: -14px;
  transition: grid-template-rows .26s cubic-bezier(.2, .8, .2, 1),
              opacity .18s ease,
              margin-top .26s cubic-bezier(.2, .8, .2, 1),
              border-width .26s cubic-bezier(.2, .8, .2, 1);
}
/* 抽屉裁切层做布局/绘制隔离：一次「点任意行展开全部」会同时动多条抽屉，隔离后单条内部的重排/重绘
   不外溢牵动兄弟条目与整列（不含 size 收缩，1fr↔0fr 高度动画仍靠内容撑开、行为不变）。 */
.cvx-body-clip { min-height: 0; overflow: hidden; contain: layout paint; }
.cvx-body-inner { padding: 24px 16px 16px; }
.cvx-item:not(.is-open) .cvx-body {
  grid-template-rows: 0fr; opacity: 0; margin-top: 0; border-width: 0; pointer-events: none;
}
/* will-change 只在展开/收起动画期间由 JS 打上 .is-anim 临时挂载，动画结束即摘除、不常驻，
   避免为一堆静止抽屉长期保留合成层。 */
.cvx-item.is-anim .cvx-body { will-change: grid-template-rows, opacity; }
@media (prefers-reduced-motion: reduce) {
  .cvx-body, .cvx-chev2 { transition: none; }
  .cvx-item.is-anim .cvx-body { will-change: auto; }
}
/* 作品 / 工作 / 其他经历 / 教育统一为带描边的分组控件；组内任意一行仍切换整组。 */
.cvx-group { display: flex; flex-direction: column; width: 100%; border: 1px solid #efefef;
  border-radius: 16px; background: #fff; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.02); overflow: hidden; }
/* 容器内每条去掉独立白卡外观，使用组外框与行间分隔线表达边界。 */
.cvx-group .cvx-item { border-radius: 0; }
.cvx-group .cvx-head { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.cvx-group .cvx-item.has-body .cvx-head { cursor: pointer; }
.cvx-group .cvx-item + .cvx-item::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px;
  border-top: 0.5px solid #e5e5e7; pointer-events: none; z-index: 2; }
/* 抽屉正文融进容器：去掉浅色卡背景 / 边框 / 负外边距，内容线缩进对齐标题（tile 40 + gap 14 + 内边距 16）。
   容器内 border/margin 恒为 0（不参与动画）→ 过渡只保留真正在变的 grid-template-rows + opacity，
   减少同时过渡的属性数量，展开/收起更顺滑。 */
.cvx-group .cvx-body { background: transparent; border: 0; border-radius: 0; margin-top: 0;
  transition: grid-template-rows .26s cubic-bezier(.2, .8, .2, 1), opacity .18s ease; }
.cvx-group .cvx-item:not(.is-open) .cvx-body { margin-top: 0; }
.cvx-group .cvx-body-inner { padding: 0 16px 16px 70px; }
@media (hover: hover) and (pointer: fine) {
  /* 容器内的行不再是独立卡片，取消悬浮呼吸光，保持整体控件观感 */
  .cvx-group .cvx-item:hover { animation: none; }
}
@media (max-width: 640px) {
  .cvx-group .cvx-body-inner { padding-left: 16px; }
}
/* 定位（点右栏某条要求）：不再给命中项加高亮底，而是「淡化没命中的」——
   1) 未命中的大项（卡片 / 奖项行 / 技能块）整体降到 50% 透明度；
   2) 命中大项里、未命中的子项（经历要点）也降到 50%（仅当该大项确有命中子项时）。
   只在 .cvx.is-locating（已点某条要求）时生效；未定位时全部正常。 */
.cvx-header, .cvx-decision, .cvx-decision-head, .cvx-decision-card, .cvx-sec, .cvx-sec-head,
.cvx-item, .cvx-kv, .cvx-skill, .cvx-bullet { transition: opacity 0.15s ease; }
.cvx.is-locating .cvx-item:not(.is-hl),
.cvx.is-locating .cvx-kv:not(.is-hl),
.cvx.is-locating .cvx-skill:not(.is-hl) { opacity: 0.5; }
.cvx.is-locating .cvx-item.is-hl.has-bullet-hl .cvx-bullet:not(.is-hl) { opacity: 0.5; }
/* 命中的子项文本由默认灰(#7d7a75)提到正文黑 → 进一步凸显「这一条就是它」。 */
.cvx-bul-text { transition: color 0.15s ease; }
.cvx.is-locating .cvx-item.is-hl.has-bullet-hl .cvx-bullet.is-hl .cvx-bul-text { color: var(--text); }
/* 定位反馈：每次点要求都会重渲，命中项是全新 DOM → 这条 @keyframes 自动重放一次「蓝色发光脉冲」，
   让用户即使命中项已在视野内、也能立刻看到「定位生效了」（解决「只淡化了视野外的、看不到反馈」）。 */
@keyframes tib-locate-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 132, 250, 0); }
  18% { box-shadow: 0 0 0 5px rgba(46, 132, 250, 0.22); }
  100% { box-shadow: 0 0 0 5px rgba(46, 132, 250, 0); }
}
@keyframes tib-locate-bullet {
  0% { background: rgba(46, 132, 250, 0); }
  18% { background: rgba(46, 132, 250, 0.12); }
  100% { background: rgba(46, 132, 250, 0); }
}
.cvx.is-locating .cvx-item.is-hl > .cvx-head,
.cvx.is-locating .cvx-kv.is-hl,
.cvx.is-locating .cvx-skill.is-hl { border-radius: 12px; animation: tib-locate-pulse 1.15s ease-out; }
.cvx.is-locating .cvx-item.is-hl.has-bullet-hl .cvx-bullet.is-hl { border-radius: 8px; animation: tib-locate-bullet 1.3s ease-out; }
/* 一般匹配(partial) → 发光脉冲改黄色（hit 仍蓝），让用户一眼分清「这条只是部分命中」。 */
@keyframes tib-locate-pulse-y {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
  18% { box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.28); }
  100% { box-shadow: 0 0 0 5px rgba(245, 166, 35, 0); }
}
@keyframes tib-locate-bullet-y {
  0% { background: rgba(245, 166, 35, 0); }
  18% { background: rgba(245, 166, 35, 0.16); }
  100% { background: rgba(245, 166, 35, 0); }
}
.cvx.is-locating--partial .cvx-item.is-hl > .cvx-head,
.cvx.is-locating--partial .cvx-kv.is-hl,
.cvx.is-locating--partial .cvx-skill.is-hl { animation-name: tib-locate-pulse-y; }
.cvx.is-locating--partial .cvx-item.is-hl.has-bullet-hl .cvx-bullet.is-hl { animation-name: tib-locate-bullet-y; }
/* 文本 */
.cvx-title { color: #111; font-size: 15px; letter-spacing: -0.2px; }
.cvx-org { color: rgba(17,17,17,0.8); font-size: 15px; }
.cvx-date3 { color: #8e8e8e; font-size: 13px; }
.cvx-date { color: #8e8e8e; font-size: 13px; white-space: nowrap; flex: 0 0 auto; margin-left: 12px; }
/* 作品 head */
.cvx-w-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cvx-exp-r1 { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.cvx-links { display: flex; flex-direction: column; gap: 6px; align-items: stretch; width: 100%; }
.cvx-links--multiple { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 6px; }
.cvx-link { color: #2e84fa; font-size: 13px; letter-spacing: -0.1px; }
/* 工作 / 其他经历 / 教育 head */
.cvx-exp, .cvx-edu { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
/* body：一句话 / 要点（浅色抽屉内） */
.cvx-body-text { color: #7d7a75; font-size: 13px; line-height: 22px; }
.cvx-w-meta { color: #8e8e8e; font-size: 12px; font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.cvx-w-tech { font-size: 13px; color: #a0a0a0; margin-top: 4px; }
.cvx-bullets { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.cvx-bullet { display: flex; gap: 9px; align-items: flex-start; }
.cvx-dot { width: 4px; height: 22px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.cvx-dot svg { width: 4px; height: 4px; display: block; }
.cvx-bul-text { flex: 1; min-width: 0; color: #7d7a75; font-size: 13px; line-height: 22px; }
/* 奖项 kv */
.cvx-achievement-card { display: flex; flex-direction: column; gap: 36px; width: 100%; padding: 16px; box-sizing: border-box;
  border: 1px solid #efefef; border-radius: 16px; background: #fff; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.02); }
.cvx-achievement-card .cvx-kv { position: relative; }
.cvx-achievement-card .cvx-kv + .cvx-kv::before { content: ""; position: absolute; top: -18px; left: 0; right: 0;
  border-top: 0.5px solid #e5e5e7; pointer-events: none; }
.cvx-kv { display: flex; gap: 24px; align-items: center; width: 100%; }
.cvx-k { color: #8e8e8e; font-size: 15px; letter-spacing: -0.2px; flex: 0 0 auto; }
.cvx-v { color: #111; font-size: 15px; }
/* 技能 */
.cvx-skill-card { display: flex; flex-direction: column; gap: 36px; width: 100%; padding: 16px; box-sizing: border-box;
  border: 1px solid #efefef; border-radius: 16px; background: #fff; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.02); }
.cvx-skill { display: flex; flex-direction: column; gap: 14px; width: 100%; position: relative; }
.cvx-skill + .cvx-skill::before { content: ""; position: absolute; top: -18px; left: 0; right: 0;
  border-top: 0.5px solid #e5e5e7; pointer-events: none; }
.cvx-sk-label { color: #8e8e8e; font-size: 15px; letter-spacing: -0.2px; }
.cvx-sk-val { color: #111; font-size: 15px; }

/* ── 三栏详情布局（/team-manage/inbox/[jobId]）─────────────────────────── */
/* 铺满内容区：解除 me-shell-main-inner 的 880 上限 + 收窄内边距 + 纵向 flex 撑满。
   沿用本文件既有的 :has(.me-with-toc) 解除上限套路（见上方 profile 编辑页注释）。 */
.me-shell-main:has(.tib-detail-wrap) { padding: 0; height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; }
/* 关键：基类 .me-shell-main-inner 有 margin:0 auto —— 列向 flex 里「auto 横向外边距」会
   关掉 stretch，让内层缩成内容宽并居中（= 左右留白 + CV 渲染完才突然撑开）。这里必须把
   margin 归零、显式占满，才不会出现「窄→突然展开」和两侧间距。 */
.me-shell-main-inner:has(.tib-detail-wrap) { max-width: none; width: 100%; margin: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* .me-shell-fade：MeShell 的分步淡入包裹层（inner > .me-shell-fade > .tib-detail-wrap），
   默认无 flex 语义 —— 必须接进链条，否则它按内容撑高，三列拿不到确定高度、退化成整页滚动
   （同 me.css 对 .me-jobform--page 的处理；这是「投递详情不能页内滚」的根因修复）。 */
.me-shell-main-inner:has(.tib-detail-wrap) > .me-shell-fade { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tib-detail-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* admin 客户视图复用本详情：admin 的 <main>（非 MeShell、详情是其直接子元素）含详情时，
   同样满高 + 去内边距 —— 消除外层 px/py padding 造成的上/左/右间距，并让三列内部滚动。
   用 `> .tib-detail-wrap` 直接子选择器只命中 admin（MeShell 里 wrap 嵌在 .me-shell-main-inner 内、不匹配）。 */
main:has(> .tib-detail-wrap) { padding: 0; height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; }

.tib-detail-top {
  display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
  width: 100%; box-sizing: border-box; padding: 12px;
  background: rgb(252, 252, 252);
}
.tib-detail-topline { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; }
/* 返回收成纯图标，职位标题与左栏动作都留在同一内容列。 */
.tib-detail-top .ov-back {
  position: static; top: auto; left: auto; z-index: auto; flex: 0 0 32px;
  width: 32px; height: 32px; min-width: 32px; padding: 0; justify-content: center;
  border-radius: 8px; background: transparent; box-shadow: none; text-decoration: none;
}
.tib-detail-top .ov-back:hover { background: #ededed; box-shadow: none; }
.tib-detail-titlegroup { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.tib-detail-title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.3px; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tib-detail-top-actions { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.tib-detail-top .tib-edit-job {
  width: 32px; height: 32px; min-width: 32px; padding: 0; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: #68686d;
}
.tib-detail-top .tib-edit-job:hover { background: #ededed; box-shadow: none; }
.tib-reco-retry { border: 0; padding: 5px 7px; border-radius: 7px; background: #f2f2f4; color: #2e84fa; font: inherit; font-size: 11.5px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.tib-reco-retry:hover { background: #e8e8eb; }
.tib-reco-retry:disabled { opacity: 0.55; cursor: wait; }
.tib-reco-error { flex-shrink: 0; margin: 0; padding: 0 12px 8px; color: #b42318; font-size: 13px; }

/* 标题「切换职位」浮窗：点标题弹下拉，选其它 JD 跳详情。 */
.tib-jobswitch { position: relative; display: inline-flex; max-width: 100%; min-width: 0; }
.tib-jobswitch-btn { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.tib-jobswitch-btn:disabled { cursor: default; }
.tib-jobswitch-caret { color: #86868b; flex-shrink: 0; transition: transform 0.15s; }
.tib-jobswitch-btn[aria-expanded="true"] .tib-jobswitch-caret { transform: rotate(180deg); }
.tib-jobpick-backdrop { position: fixed; inset: 0; z-index: 60; }
.tib-jobpick {
  position: absolute; z-index: 61; top: calc(100% + 8px); left: 0;
  width: 320px; max-width: min(380px, calc(100vw - 48px)); max-height: 64vh; overflow-y: auto; padding: 6px;
  background: #fff; border: 1px solid #ececef; border-radius: 14px;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform-origin: top left;
  animation: tib-jobpick-in .2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes tib-jobpick-in {
  from { opacity: 0; transform: translateY(-7px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes tib-jobpick-mobile-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-7px) scale(.985); }
  to { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tib-jobpick { animation: none; }
}
/* 分 Section：与 JD 列表页（.me-joblist-grouphead）同款分组标题 —— 已发布 / 待发布，
   组间留白分组（不加分割线），草稿组标题用暖橙。 */
.tib-jobpick-group + .tib-jobpick-group { margin-top: 14px; }
.tib-jobpick-grouphead {
  margin: 0; padding: 4px 12px 6px; font-size: 13px; color: rgba(134, 134, 139, 0.7);
}
.tib-jobpick-grouphead--draft { color: #c2730c; }
.tib-jobpick-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.tib-jobpick-item:hover { background: #f5f5f5; }
.tib-jobpick-item.is-current { background: #eef2fb; }
.tib-jobpick-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tib-jobpick-role { font-size: 14px; font-weight: 500; color: #1d1d1f; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tib-jobpick-item.is-current .tib-jobpick-role { color: #2e84fa; }
.tib-jobpick-meta { font-size: 12px; color: #86868b; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tib-jobpick-stat { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.tib-jobpick-count { font-size: 12.5px; color: #86868b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tib-jobpick-new {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px;
  padding: 0 6px; border-radius: 999px; background: #2e84fa; color: #fff;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}
/* 桌面回到「候选列表 + CV」两栏；逐条评估不再占一列，而是像 Codex 环境面板一样
   以紧凑浮卡出现在 CV 页面内。DOM 仍保持列表 → CV → 评估，避免破坏移动端 AI 页签顺序。 */
.tib-detail { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(280px, 340px) minmax(600px, 1fr); border: 0; overflow: hidden; background: #fff; color: var(--text); }
.tib-detail > .tib-detail-col:first-child {
  z-index: 1; grid-column: 1; grid-row: 1;
  background: rgb(252, 252, 252);
}
/* 职位切换浮窗会横跨候选栏与 CV 区域：打开时临时解除左栏裁切，并把整列抬到
   右侧内容之上；否则子浮窗自己的 z-index 再高也逃不出父级 stacking context。 */
@media (min-width: 1001px) {
  .tib-detail > .tib-detail-col:first-child:has(.tib-jobpick) {
    z-index: 20;
    overflow: visible;
  }
}
.tib-detail-col + .tib-detail-col { border-left: 0; }
/* 描边属于右侧主内容，负 X 阴影落回左栏：右侧像浮起一层，左栏因而呈下沉层级。 */
.tib-detail > .tib-detail-col--candidate {
  z-index: 3; grid-column: 2; grid-row: 1;
  background: #fff; border-left: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: -6px 0 16px -12px rgba(15, 23, 42, 0.16);
}
.tib-detail > .tib-detail-col--ai {
  position: absolute; z-index: 8; grid-column: 2; grid-row: 1;
  width: min(340px, calc(100% - 36px)); height: auto;
  background: rgba(255, 255, 255, 0.98); border: 0; border-radius: 18px;
  box-shadow: 0 18px 48px -24px rgba(15, 23, 42, 0.34), 0 4px 14px -6px rgba(15, 23, 42, 0.16), inset 0 0 0 1px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transform-origin: top left;
  animation: tib-ai-float-in .24s cubic-bezier(.2, .8, .2, 1) both;
}
.tib-detail > .tib-detail-col--ai.is-pinned-panel {
  top: 68px; right: 56px; left: auto;
  max-height: min(620px, calc(100% - 86px));
  transform-origin: top right;
}
.tib-detail > .tib-detail-col--ai.is-hover-preview-panel {
  /* 与候选栏留一点点间距：不再叠进候选行，避免盖住选中行的蓝色描边 + 四角高亮点。 */
  left: 10px; right: auto;
  max-height: min(520px, calc(100% - 24px));
  transform-origin: top left;
  transition: top .18s cubic-bezier(.2, .8, .2, 1);
}
@keyframes tib-ai-float-in {
  from { opacity: 0; transform: translateY(8px) scale(.975); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 1001px) {
  .tib-detail > .tib-detail-col--ai.is-float-closed { display: none; }
  .tib-detail > .tib-detail-col--ai.is-pinned-panel .eval2-head { display: none; }
}
.tib-detail-col { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

/* 第二列 hover：将候选人详情的四条边延伸成全屏参考线。线本身只有 1px，
   通过向外位移 + 透明度完成「聚拢 / 散开」，不让大面积图层参与动画。 */
.tib-hover-boundary-guides {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.tib-hover-boundary-guide {
  position: fixed;
  display: block;
  background: rgba(15, 23, 42, 0.11);
  box-shadow: 0 0 8px rgba(15, 23, 42, 0.045);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(.22, 1, .36, 1);
}
.tib-hover-boundary-guide--top,
.tib-hover-boundary-guide--bottom {
  left: 0;
  width: 100vw;
  height: 1px;
  transform: scaleX(.985);
}
.tib-hover-boundary-guide--top {
  top: var(--tib-guide-top);
  transform: translateY(-20px) scaleX(.985);
}
.tib-hover-boundary-guide--bottom {
  top: var(--tib-guide-bottom);
  transform: translateY(20px) scaleX(.985);
}
.tib-hover-boundary-guide--left,
.tib-hover-boundary-guide--right {
  top: 0;
  width: 1px;
  height: 100vh;
}
.tib-hover-boundary-guide--left {
  left: var(--tib-guide-left);
  transform: translateX(-20px) scaleY(.985);
}
.tib-hover-boundary-guide--right {
  left: var(--tib-guide-right);
  transform: translateX(20px) scaleY(.985);
}
.tib-hover-boundary-guides.is-visible .tib-hover-boundary-guide {
  opacity: 1;
  transform: translate(0) scale(1);
}

@media (max-width: 1000px), (hover: none), (pointer: coarse) {
  .tib-hover-boundary-guides { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tib-hover-boundary-guide { transition: none; transform: none; }
}

/* 桌面聚焦态沿用 CV 区块自己的处理：当前内容保持清晰，其余内容只降到 75% 可见度，
   不加暗色蒙层。这样跨列移动仍有层级提示，但页面不会突然像弹窗遮罩一样变黑。 */
@media (min-width: 1001px) and (hover: hover) and (pointer: fine) {
  .tib-detail > .tib-detail-col:first-child,
  .tib-detail > .tib-detail-col--candidate,
  .tib-detail-col--candidate > .tib-source-panel {
    transition: opacity .15s ease;
  }
  /* HOVER_DIMMING_DISABLED：暂时关闭跨列悬浮时，其他列降透明度。
  .tib-detail.is-focus-candidate > .tib-detail-col:first-child,
  .tib-detail.is-focus-source > .tib-detail-col:first-child,
  .tib-detail.is-focus-ai > .tib-detail-col:first-child,
  .tib-detail.is-focus-ai > .tib-detail-col--candidate,
  .tib-detail.is-focus-candidate > .tib-detail-col--candidate > .tib-source-panel {
    opacity: 0.75;
  }
  */
}
/* 中栏浮动处置控件：约面 / Pass / 收藏。绝对定位、底部居中、浮在 CV 正文之上、不随滚动。 */
.tib-actionbar {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: center; gap: 10px; padding: 8px;
  background: #fff; border: 1px solid #ececef; border-radius: 999px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.tib-act {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px; background: #f3f4f6; color: #1d1d1f;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.tib-act svg { width: 17px; height: 17px; flex-shrink: 0; }
.tib-act:hover { background: #e9eaee; }
.tib-act:disabled { opacity: 0.5; cursor: not-allowed; }
.tib-act--primary { background: #2e84fa; color: #fff; }
.tib-act--primary:hover { background: #1f72e6; }
.tib-act--primary.is-on { background: #16a34a; }       /* 已约面 */
.tib-act--pass.is-on { background: #fdecec; color: #c0392b; }
.tib-act--fav.is-on { background: #ffeef1; color: #ff4d6d; }
/* 「联系 TA」：中性胶囊，解锁后点开小卡看联系方式（约面前顺手拿微信的动线）。 */
.tib-act--contact.is-on { background: #eaf2ff; color: #2e84fa; }

/* 联系方式小卡 —— 浮在「联系 TA」按钮正上方（同 .tib-nudge 的 popover 定位语言）。
   popover 性质浮层，允许自身表面 + 阴影（非内容分区背景填充，仍守设计系统留白分组）。 */
.tib-contact-card {
  position: absolute; left: 50%; bottom: calc(100% + 13px); z-index: 8;
  transform: translateX(-50%);
  min-width: 232px; max-width: 84vw; box-sizing: border-box; padding: 13px 15px;
  display: flex; flex-direction: column; gap: 11px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.28), 0 0 0 1px #ececef;
  animation: tib-nudge-in 0.28s cubic-bezier(0.2, 0, 0, 1) both;
}
.tib-contact-card::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  width: 11px; height: 11px; background: #fff; border-radius: 0 0 3px 0;
  box-shadow: 1px 1px 0 0 #ececef;
  transform: translate(-50%, -58%) rotate(45deg);
}
.tib-contact-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tib-contact-title { font-size: 12px; font-weight: 600; color: #86868b; }
.tib-contact-x {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 999px;
  background: #f3f4f6; color: #86868b; cursor: pointer; transition: background 0.15s;
}
.tib-contact-x:hover { background: #e9eaee; }
.tib-contact-row { display: flex; align-items: center; gap: 8px; }
.tib-contact-ic { flex-shrink: 0; color: #86868b; display: inline-flex; }
.tib-contact-val {
  min-width: 0; flex: 1; font-size: 14px; font-weight: 500; color: #1d1d1f;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tib-contact-copy {
  flex-shrink: 0; padding: 3px 10px; border: 0; border-radius: 999px;
  background: #f3f4f6; color: #454b5c; font: inherit; font-size: 12px; cursor: pointer;
  transition: background 0.15s;
}
.tib-contact-copy:hover { background: #e9eaee; }
.tib-contact-link {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  color: #2e84fa; font-size: 13px; font-weight: 500; text-decoration: none;
}
.tib-contact-link:hover { text-decoration: underline; }
.tib-contact-empty { margin: 0; padding: 10px 2px 2px; font-size: 13px; color: #86868b; line-height: 1.5; }
.tib-contact-copy-error { margin: 0; color: #c9373f; font-size: 12.5px; line-height: 1.45; }
.tib-contact-popover-shell {
  overflow: visible; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 16px;
  box-shadow: 0 16px 38px -18px rgba(15, 23, 42, 0.28), 0 4px 12px -6px rgba(15, 23, 42, 0.12);
}
.tib-contact-popover-shell::after {
  content: ""; position: absolute; left: 50%; width: 10px; height: 10px;
  background: #fff; transform: translateX(-50%) rotate(45deg); pointer-events: none;
}
.tib-contact-popover-shell[data-placement="up"]::after {
  bottom: -6px; border-right: 1px solid rgba(15, 23, 42, 0.08); border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.tib-contact-popover-shell[data-placement="down"]::after {
  top: -6px; border-top: 1px solid rgba(15, 23, 42, 0.08); border-left: 1px solid rgba(15, 23, 42, 0.08);
}
.tib-contact-popover-shell .me-pop-body { padding: 14px; overflow: visible; gap: 0; }
.tib-contact-popover { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tib-contact-popover-list { display: flex; flex-direction: column; gap: 14px; }
.tib-contact-popover-row {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 2px 0;
  border: 0; border-radius: 0; background: transparent;
}
.tib-contact-popover-source { flex: 1; min-width: 0; }
.tib-contact-popover-source > .cvx-chip {
  width: 100%; min-width: 0; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent;
}
.tib-contact-popover-source > .cvx-chip:hover { border: 0; background: transparent; }
.tib-contact-popover-source .cvx-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tib-contact-popover-copy {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 58px; height: 32px; padding: 0 9px; border: 0; border-radius: 999px;
  background: #f3f4f6; color: #51545b; font: inherit; font-size: 11.5px; font-weight: 500; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tib-contact-popover-copy:hover { background: #e9eaee; color: #1d1d1f; }
.tib-contact-popover-copy:focus-visible { outline: 2px solid rgba(46, 132, 250, .35); outline-offset: 2px; }
.tib-contact-popover-html > .cvx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tib-contact-popover-html .cvx-chip { min-width: 0; max-width: 100%; }
.tib-contact-popover-html .cvx-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 联系方式门禁：锁定占位（伏字化的联系方式/链接 → 蓝色「解锁以查看」按钮）────────────── */
/* CV 渲染里的锁 chip（.cvx-chip.cvx-lock）+ 锁链接行（.cvx-link.cvx-lock）。点击委托在 onCvClick。 */
button.cvx-lock {
  font: inherit; cursor: pointer;
  color: #2e84fa; background: #eef5ff; border: 1px solid #d6e6ff;
}
button.cvx-lock:hover { background: #e2eeff; border-color: #bcd8ff; }
/* 锁定的联系方式 chip：外观同普通 chip（解锁后的样式）—— 白底/描边/深色文字，显示类型前缀 + 灰锁图标。 */
button.cvx-chip.cvx-lock { line-height: 1; background: #fff; border: 1px solid #ececef; color: #3c3c43; }
button.cvx-chip.cvx-lock:hover { background: #fafafa; border-color: #d2d2d7; }
button.cvx-chip.cvx-lock svg { color: #86868b; }
/* 锁定 chip 里的平台图标（CDN 品牌图标 <img>）：与内联 svg 同尺寸；圆角裁掉方形品牌底（如 X / GitHub 黑底），
   corner-shape:squircle 在支持的浏览器上做平滑圆角(超椭圆)，不支持则回退普通 border-radius。 */
.cvx-chip-ic {
  width: 16px; height: 16px; flex: 0 0 auto; object-fit: contain; display: block;
  border-radius: 5px; corner-shape: squircle;
}
/* 作品/项目锁链接行：普通蓝色文字「查看链接」，无蓝底 / 无图标（点击才触发解锁）。 */
button.cvx-link.cvx-lock {
  background: none; border: 0; padding: 0; border-radius: 0;
  font-size: 13px; color: #2e84fa; text-align: left;
}
button.cvx-link.cvx-lock:hover { background: none; }
button.cvx-link.cvx-lock:hover .cvx-link-row-txt { text-decoration: underline; }

/* 原始 CV 面板的锁占位：背后是纯装饰 CV 骨架（模糊 + 白膜），上面居中盖锁卡 ——
   营造「内容被锁住」的观感，但**不返回任何真实数据**。 */
.tib-pdf-lock {
  /* 父 .tib-pdf 是 display:flex → flex:1 + width:100% 撑满，锁卡才能真正居中。 */
  position: relative; flex: 1; width: 100%; min-height: 0; box-sizing: border-box;
  display: flex; overflow: hidden;
  cursor: pointer; /* 整块可点解锁 */
}
/* 悬停/聚焦整块 → CTA 给反馈（整块才是可点区域，按钮是纯视觉）。 */
.tib-pdf-lock:hover .tib-pdf-lock-btn,
.tib-pdf-lock:focus-visible .tib-pdf-lock-btn { background: #fafafa; }
.tib-pdf-lock:focus-visible { outline: none; }
/* 背后的伪文档：CV 风骨架，铺满面板 + 模糊，像一份被锁住的简历（底部只轻微渐隐）。 */
.tib-pdf-lock-doc {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: flex; align-items: flex-start;
  filter: blur(6px); opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
          mask-image: linear-gradient(180deg, #000 82%, transparent);
  pointer-events: none;
}
/* 全幅铺满整个视图（不再是居中卡片）：无卡片背景/圆角/阴影，只留内边距让骨架不贴边。 */
.tib-pdf-lock-page {
  width: 100%; box-sizing: border-box;
  padding: 40px 56px; display: flex; flex-direction: column; gap: 26px;
}
.tib-pdf-lock-head { display: flex; align-items: center; gap: 14px; }
.tib-pdf-lock-av { width: 50px; height: 50px; border-radius: 999px; background: #dfe1e7; flex: 0 0 auto; }
.tib-pdf-lock-hcol { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tib-pdf-lock-para { display: flex; flex-direction: column; gap: 12px; }
.tib-pdf-lock-bar { display: block; height: 11px; border-radius: 6px; background: #dfe1e7; }
.tib-pdf-lock-title { height: 13px; background: #cfd2da; margin-bottom: 2px; } /* 小节标题：稍深，层次感 */
/* 白色薄膜（毛玻璃感）：轻压背后内容、烘托锁卡（别太重，让骨架透出来）。 */
.tib-pdf-lock::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(255, 255, 255, 0.35);
}
/* 居中的锁卡（图标 + 说明 + 解锁按钮）。视觉重心略偏上：在居中基础上上移 24px（非绝对居中）。 */
.tib-pdf-lock-overlay {
  position: relative; z-index: 2; margin: auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px; text-align: center;
  transform: translateY(-24px);
}
.tib-pdf-lock-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 999px; color: #86868b;
  background: #fff; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.18), 0 0 0 1px #ececef;
}
.tib-pdf-lock-hint { margin: 0; font-size: 17px; color: #6b7280; line-height: 1.6; }
.tib-pdf-lock-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px;
  border: 0; border-radius: 999px; background: #fff; color: #2e84fa;
  /* 描边 + 阴影对齐上方 .tib-pdf-lock-ic 圆环（1px 灰环 + 柔和投影）。 */
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.18), 0 0 0 1px #ececef;
  font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background 0.15s;
}
.tib-pdf-lock-btn:hover { background: #fafafa; }
.tib-pdf-lock-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* 投递记录里的锁卡（把 <a> 换成 <button>）：外观完全沿用普通投递卡（灰底黑字），
   只做 button 复位；锁定感交给 🔒 图标 + 「需解锁」副标题，不再用蓝色变体。 */
button.me-sig-file--lock, button.me-sig-profile.me-sig-file--lock {
  font: inherit;
}

/* 约面引导气泡 —— 雇主盯着 CV 看很久却没约面时，浮在「约面」按钮正上方、点它即发起约面。
   popover 性质的浮层，允许自身表面 + 阴影（非内容分区背景填充，仍守设计系统留白分组）。 */
.tib-act-wrap { position: relative; display: inline-flex; }
/* 「联系 TA」（拿联系方式）与「约面/Pass/收藏」（处置）分两组：加宽这一处间距用留白隔开，不加分割线。 */
.tib-act-wrap--group { margin-left: 10px; }
.tib-nudge {
  position: absolute; left: 50%; bottom: calc(100% + 13px);
  z-index: 8; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 9px 9px 13px; white-space: nowrap; cursor: pointer; max-width: 76vw;
  background: #fff; color: #1d1d1f; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 18px;
  font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.25;
  box-shadow: 0 18px 42px -18px rgba(15, 23, 42, 0.36), 0 5px 14px -7px rgba(15, 23, 42, 0.18);
  transform: translateX(-50%);
  animation: tib-nudge-in 0.34s cubic-bezier(0.2, 0, 0, 1) both,
             tib-nudge-bob 2.8s ease-in-out 0.6s infinite;
}
/* 💭 式想法尾巴：两个由大到小的白色圆泡，落向下方「约面」按钮。 */
.tib-nudge::before,
.tib-nudge::after {
  content: ""; position: absolute; pointer-events: none; border-radius: 999px; background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 9px -5px rgba(15, 23, 42, 0.3);
}
.tib-nudge::before { top: calc(100% + 2px); left: 51%; width: 9px; height: 9px; }
.tib-nudge::after { top: calc(100% + 11px); left: calc(51% + 9px); width: 5px; height: 5px; }
.tib-nudge-spark { display: inline-flex; color: #ffd44d; animation: tib-nudge-twinkle 1.9s ease-in-out infinite; }
.tib-nudge-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tib-nudge-x {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 22px; height: 22px; margin-left: 1px; padding: 0;
  border: 0; border-radius: 999px; background: #f0f1f3;
  color: #68686d; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.tib-nudge-x:hover { background: #e5e6e9; color: #1d1d1f; }

/* 已 Pass 的「重新考虑」变体：白底柔和、不喧宾夺主。 */
.tib-nudge--reconsider {
  background: #fff; color: #454b5c;
  box-shadow: 0 12px 30px -12px rgba(20, 30, 60, 0.28), 0 0 0 1px #e7e9ef;
}
.tib-nudge--reconsider .tib-nudge-spark { color: #9aa2b4; }
.tib-nudge--reconsider .tib-nudge-x { background: #f0f1f5; color: #6b7280; }
.tib-nudge--reconsider .tib-nudge-x:hover { background: #e6e8ee; }

@keyframes tib-nudge-in {
  from { opacity: 0; transform: translateX(-50%) translateY(7px) scale(0.92); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes tib-nudge-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
@keyframes tib-nudge-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}
@media (prefers-reduced-motion: reduce) {
  .tib-nudge { animation: tib-nudge-in 0.001s both; }
  .tib-nudge-spark { animation: none; }
}
/* 正文底部留空，最后一段能滚到浮动条上方、不被挡。原件 PDF 不留（iframe 自带边距）。 */
.tib-cv-scroll:not(.tib-pdf) { padding-bottom: 112px; }

/* 处置弹窗（约面 / Pass）。留白分组，无分割线。 */
.tib-dlg-backdrop {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0, 0, 0, 0.32);
  animation: tib-dlg-backdrop-in 0.18s ease-out;
}
.tib-dlg {
  width: 100%; max-width: 620px; box-sizing: border-box; padding: 34px 38px;
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
  transform-origin: center bottom;
  animation: tib-dlg-in 0.24s cubic-bezier(0.2, 0, 0, 1);
}
/* 进场动画：遮罩淡入 + 卡片轻微上浮/放大。与全站弹窗（me-modal / overlay）同一套「fade + rise」语言。 */
@keyframes tib-dlg-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tib-dlg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tib-dlg-backdrop, .tib-dlg { animation: none; }
}
.tib-dlg-title { font-size: 18px; font-weight: 600; color: #1d1d1f; }
.tib-dlg-sub { margin-top: 5px; font-size: 13.5px; color: #86868b; line-height: 1.5; }
.tib-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.tib-dlg-head > div { min-width: 0; }
.tib-dlg-close {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: -8px -8px 0 0; padding: 0;
  border: 0; border-radius: 999px; background: #f5f5f7; color: #454548; cursor: pointer;
}
.tib-dlg-close:hover:not(:disabled) { background: #ececef; }
.tib-dlg-close:disabled { opacity: .5; cursor: not-allowed; }
/* 约面教程小贴士（飞书日历让候选人自选时间）：默认折叠成一行，点开看步骤。
   整体压成「次要提示」——小字 + 灰字，明显弱于表单本身，不抢视觉。 */
.tib-dlg-tip { margin-top: 18px; padding: 11px 14px; background: #f6f7f9; border-radius: 10px; }
.tib-dlg-tip-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer;
}
.tib-dlg-tip-h { font-size: 13px; font-weight: 600; color: #1d1d1f; }
/* 展开描述 chevron 规范：未展开朝右、展开后朝下。base SVG 是「下」箭头，
   折叠时逆时针转 90° → 朝右，展开回 0° → 朝下。 */
.tib-dlg-tip-chev { flex: 0 0 auto; color: #86868b; transform: rotate(-90deg); transition: transform 0.18s ease; }
.tib-dlg-tip.is-open .tib-dlg-tip-chev { transform: rotate(0deg); }
.tib-dlg-tip-body { margin-top: 8px; }
.tib-dlg-tip-p { margin: 0; font-size: 12.5px; color: #86868b; line-height: 1.55; }
.tib-dlg-tip-ol { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #86868b; line-height: 1.5; }
.tib-dlg-tip-ol li { padding-left: 2px; }
.tib-dlg-field { display: block; margin-top: 22px; }
.tib-dlg-label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; color: #1d1d1f; }
.tib-dlg-input {
  width: 100%; box-sizing: border-box; padding: 11px 14px;
  font: inherit; font-size: 15px; color: #1d1d1f;
  background: #f5f5f7; border: 1px solid transparent; border-radius: 10px; outline: none;
  transition: background 0.15s, border-color 0.15s;
}
.tib-dlg-input::placeholder { color: #b0b0b6; }
.tib-dlg-input:focus { background: #fff; border-color: #2e84fa; }
.tib-dlg-textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.tib-dlg-form-error { margin: 14px 0 0; color: #c9373f; font-size: 13px; line-height: 1.45; }
.tib-dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tib-dlg-actions { display: flex; align-items: center; gap: 8px; }
.tib-dlg-clear {
  border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: #86868b; cursor: pointer;
}
.tib-dlg-clear:hover:not(:disabled) { color: #c0392b; }
.tib-dlg-btn {
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: #f3f4f6; color: #1d1d1f; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tib-dlg-btn:hover:not(:disabled) { background: #e9eaee; }
.tib-dlg-btn--primary { background: #2e84fa; color: #fff; }
.tib-dlg-btn--primary:hover:not(:disabled) { background: #1f72e6; }
.tib-dlg-btn--danger { background: #e5484d; color: #fff; }
.tib-dlg-btn--danger:hover:not(:disabled) { background: #d23a3f; }
.tib-dlg-btn:disabled, .tib-dlg-clear:disabled { opacity: 0.5; cursor: not-allowed; }
.tib-detail-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; min-height: 56px; }
.tib-detail-htitle { font-size: 13px; color: #86868b; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 中列吸顶头：候选人身份（头像 + 名字 + 投递职位·时间 + 收藏）。
   .tib-detail-head 本就在 .tib-cv-scroll 之外 → 天然吸顶、正文在它下面滚。
   左内边距对齐 CV 正文(56) → 身份只是「上移」、X 不变；按需求先不做分割线。 */
/* 右内边距对齐 CV 卡片的 56（吸顶头与 .cvx 同一条右内容线）→「渲染 CV / 原件」pill 右缘对齐 CV 控件右缘 */
.tib-detail-head--cv { --tib-cvhead-section-gap: 16px; border-bottom: 0.5px solid #ececef;
  padding-left: 56px; padding-right: 56px; padding-bottom: var(--tib-cvhead-section-gap); }
.tib-view-controls { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tib-candidate-meta { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: var(--tib-cvhead-section-gap); }
.tib-cvhead { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; min-width: 0; }
.tib-cvhead-av { width: 40px; height: 40px; border-radius: 999px; background: #f0f0ee; color: #86868b; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.tib-cvhead-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tib-cvhead-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* 名字 + 收藏心 同一行：心紧贴名字右侧（对齐左侧列表行的样式），名字过长则省略、心不挤走。 */
.tib-cvhead-nameline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tib-cvhead-name { margin: 0; min-width: 0; font-size: 14px; font-weight: 500; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tib-cvhead-sub { margin: 0; font-size: 12px; color: #86868b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 收藏：内联 SVG 心（避免 ♥/♡ 在部分系统渲染成 emoji、忽大忽小）。未收藏灰描边、收藏红实心。 */
.tib-cvhead-fav { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; padding: 0; cursor: pointer; color: #c7c7cc; line-height: 0; }
.tib-cvhead-fav:hover { color: #ff4d6d; }
.tib-cvhead-fav.is-on { color: #ff4d6d; }
/* Bonjour Profile 与邮箱 / 微信共用同一套联系方式 tag；通用线性图标用黑色，社媒品牌图标保留原色。 */
.tib-cvhead-profile { text-decoration: none; }
.tib-cvhead-profile svg { width: 15px; height: 15px; flex-shrink: 0; }
.tib-cvhead-contacts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; min-width: 0; }
.tib-cvhead-contact-html, .tib-cvhead-contact-html > .cvx-chips { display: contents; }
.tib-cvhead-contacts .cvx-chip { font-size: 13px; }
.tib-cvhead-contacts .cvx-chip svg { color: #111; }
.tib-cvhead-contacts .cvx-chip svg[stroke], .tib-cvhead-contacts .cvx-chip svg [stroke] { stroke: #111; }
/* 身份与联系方式都已搬到吸顶头：原 CV 头部在工作台里已是空容器，必须整块隐藏。
   只隐藏内部身份行会让空的 .cvx-header 继续占一个 flex 项，平白留下 52px section gap。 */
.tib-cv-scroll .cvx-header { display: none; }

/* 候选栏沿用 Codex 侧边 Tab：浅灰底，条目内缩，选中项以更深灰圆角块强调。 */
.tib-applicants { list-style: none; margin: 0; padding: 0 8px 12px; overflow-y: auto; overflow-x: hidden; flex: 1; }
/* 第一列固定宽，行内元素一律收缩、不撑出横向滚动；记录之间不用分割线。 */
.tib-applicants .fancy-job.fa-row {
  width: 100%; box-sizing: border-box; min-width: 0; margin: 2px 0;
  padding: 12px; border: 0; border-radius: 8px; background: transparent;
  position: relative; transform-origin: left center;
  transition: background-color .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.tib-applicants .fancy-job.fa-row.tib-row-enter {
  animation: tib-candidate-row-in .24s cubic-bezier(.2, .8, .2, 1) backwards;
}
@keyframes tib-candidate-row-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
.tib-applicants .fancy-job.fa-row:hover { background: #ededed; transform: translateX(2px); }
.tib-applicants .fancy-job.fa-row.active { background: #e8e8e8; }
.tib-applicants .fancy-job.fa-row.is-preview {
  background: #eef4ff;
  border-radius: 0;
  transform: none;
  outline: 1px solid rgba(46, 132, 250, .48);
  outline-offset: -1px;
  box-shadow: none;
}
/* 悬浮摘要已打开：像 Figma 选中框一样，在蓝色描边四角显示蓝点 + 白色外描边。 */
.tib-applicants .fancy-job.fa-row.is-preview::after {
  /* 四角对称外扩 4px 框住选中行；评估浮窗已与候选栏留出间距，右侧不再需要收回。 */
  content: ""; position: absolute; inset: -4px; z-index: 3; pointer-events: none;
  background:
    radial-gradient(circle, #2e84fa 0 2.5px, #fff 2.6px 4px, transparent 4.1px) top left / 8px 8px no-repeat,
    radial-gradient(circle, #2e84fa 0 2.5px, #fff 2.6px 4px, transparent 4.1px) top right / 8px 8px no-repeat,
    radial-gradient(circle, #2e84fa 0 2.5px, #fff 2.6px 4px, transparent 4.1px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle, #2e84fa 0 2.5px, #fff 2.6px 4px, transparent 4.1px) bottom right / 8px 8px no-repeat;
}
.tib-applicants .fancy-job.fa-row.is-preview .fa-av { transform: scale(1.06); }
.tib-applicants .fa-av { transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.tib-applicants .fa-main { flex: 1; min-width: 0; }
/* 「加载更多」—— 纯文字按钮，无边框/底色（对齐设计系统：留白分组、不用分割线/背景填充）。 */
.tib-more-row { list-style: none; display: flex; justify-content: center; padding: 12px 0 16px; }
.tib-more-btn { background: none; border: 0; padding: 6px 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.tib-more-btn:hover { color: var(--accent); }
/* 「进展」分组的小节头融入灰色侧栏、留白分组、左侧对齐内容线；
   sticky 让组标题随滚动贴顶。 */
.tib-sec-head-li { list-style: none; position: sticky; top: 0; z-index: 5; isolation: isolate; background: rgb(252, 252, 252); }
.tib-sec-head-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 12px 8px; background: inherit; }
.tib-sec-head {
  display: flex; align-items: center; gap: 6px; width: 100%;
  background: inherit; border: 0; cursor: pointer; font: inherit; text-align: left;
  padding: 18px 12px 8px; color: #86868b;
}
.tib-sec-head-row .tib-sec-head { align-self: stretch; flex: 1; width: auto; padding: 0 4px 0 0; }
.tib-sec-head-row > .tib-reco-retry { flex: none; }
.tib-sec-head-li:first-child .tib-sec-head-row { padding-top: 12px; }
.tib-sec-head:hover { color: #1d1d1f; }
.tib-sec-head--static { cursor: default; }
.tib-sec-chev { flex: none; opacity: .55; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .15s ease; }
.tib-sec-head:hover .tib-sec-chev { opacity: .85; }
.tib-sec-head.is-collapsed .tib-sec-chev { transform: rotate(-90deg); }
.tib-sec-title { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.tib-sec-count { font-size: 12px; font-weight: 400; opacity: .7; font-variant-numeric: tabular-nums; }
.tib-sec-loading-label {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 500; color: #2e84fa;
}
.tib-sec-loading-dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: tib-reco-pulse 1.25s ease-in-out infinite;
}
.tib-sec-placeholder {
  list-style: none; display: flex; align-items: center; gap: 9px;
  margin: 2px 12px 10px; padding: 11px 12px;
  color: #6e6e73; font-size: 12.5px; line-height: 1.45;
  background: rgba(46, 132, 250, .055); border-radius: 10px;
}
.tib-sec-placeholder--idle { color: #86868b; background: rgba(0, 0, 0, .025); }
.tib-sec-spinner {
  width: 13px; height: 13px; flex: none; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid rgba(46, 132, 250, .22); border-top-color: #2e84fa;
  animation: tib-reco-spin .8s linear infinite;
}
@keyframes tib-reco-spin { to { transform: rotate(360deg); } }
@keyframes tib-reco-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.tib-cv-scroll, .tib-ai-scroll { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; }
/* Bonjour! CV / 投递记录 / 原始 CV 三段切换：三栏常驻不卸载（切走只 display:none），
   给「当前显示」那栏加 .tib-panel-anim 触发进场（淡入 + 轻微上移），消除硬切感。
   切栏时类被移除再加回 → 动画重放；transform 仅动画期间存在、结束回 none。 */
@keyframes tib-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.tib-cv-scroll.tib-panel-anim,
.tib-ai-scroll.tib-panel-anim { animation: tib-panel-in 0.2s cubic-bezier(0.2, 0, 0, 1); }
/* 左栏工作流筛选 / 排序切换：列表按 view + sort 重挂载 → 复用同一进场，
   动画淡入，替代行瞬间跳位的硬切。 */
.tib-applicants.tib-list-anim { animation: tib-panel-in 0.22s cubic-bezier(0.2, 0, 0, 1); }
@media (prefers-reduced-motion: reduce) {
  .tib-cv-scroll.tib-panel-anim,
  .tib-ai-scroll.tib-panel-anim,
  .tib-applicants.tib-list-anim,
  .tib-sec-loading-dot,
  .tib-sec-spinner { animation: none; }
}
/* CV 渲染自带对称 56px 内边距：列不再叠加 padding（否则双重内缩 + 长内容易左右不均），
   再用 min-width:0 + overflow-x:hidden 防止代码行/长链接横向溢出把右侧顶出去。 */
.tib-cv-scroll { padding: 0; }
/* 页面内评估浮层自带标题和滚动，不需要原列式大留白。 */
/* min-height:0：浮窗有 max-height 上限，flex 子项默认 min-height:auto 会撑满内容、被父级
   overflow:hidden 裁掉，表现为不可滚动；置 0 才能在内容超高时内部滚动（悬浮预览 / 常驻评估通用）。 */
.tib-ai-scroll { padding: 20px 20px 22px; min-height: 0; }
.tib-ai-content { min-width: 0; }
/* 悬浮切换候选人时只移动整张卡，文字立即替换；不再对子节点做错峰淡入，避免快速扫过列表时闪烁。 */
.tib-ai-content.is-hover-preview .eval2-req { cursor: default; }
.tib-ai-content.is-hover-preview .eval2-req[data-req]:hover { background: none; }
.tib-ai-content.is-hover-preview .eval2-loading {
  padding: 8px 0; color: #86868b;
}
@media (prefers-reduced-motion: reduce) {
  .tib-detail > .tib-detail-col--ai { animation: none; }
  .tib-detail > .tib-detail-col--ai.is-hover-preview-panel { transition: none; }
  .tib-applicants .fancy-job.fa-row,
  .tib-applicants .fa-av { transition: none; }
  .tib-applicants .fancy-job.fa-row.tib-row-enter { animation: none; }
}
/* 仅作品集（无 CV）→ 评估列空状态：图标 + 标题 + 说明竖排居中、顶对齐留白，别在超长空列里漂浮居中。 */
.tib-eval-none { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; max-width: 300px; margin: 0 auto; padding-top: 56px; }
.tib-eval-none-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #c7c7cc; margin-bottom: 4px; }
.tib-eval-none-ic svg { width: 30px; height: 30px; }
.tib-eval-none-title { font-size: 14px; font-weight: 500; color: #1d1d1f; }
.tib-eval-none-desc { font-size: 13px; line-height: 1.7; color: #86868b; }
/* 评估中（未提取 CV）空态：顶部对齐、窄居中文案块（对齐 Figma 1266:680，跟 .tib-eval-none 同款留白） */
.tib-eval-pending { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 280px; margin: 0 auto; padding-top: 24px; }
.tib-eval-pending-title { font-size: 14px; font-weight: 500; color: #1d1d1f; }
.tib-eval-pending-desc { font-size: 13px; line-height: 1.7; color: #86868b; }
.tib-cv-scroll .cvx { min-width: 0; max-width: 100%; }
/* 左右间距看着不一致的真因：CV 里有不换行的长内容（一封信「展开（…）」那条理由、长链接/长标题），
   会横向溢出、被 overflow-x:hidden 截在列右缘，把右侧 56px 内边距吃掉（左 56 / 右 ~15）。
   根治 = 让这些内容能换行/断词，就不会溢出，左右就都回到对称的 56px。 */
.tib-cv-scroll .cvx { overflow-wrap: anywhere; }
/* 关键：给「每个」控件封顶 + 允许收缩换行 —— min-width:0 让 flex 子项能收缩（否则长标题/长链接/
   「展开（…）」会把卡片撑出列宽）；max-width:100% 给所有控件（含图片）封顶，绝不超父级。 */
.tib-cv-scroll .cvx * { min-width: 0; max-width: 100%; }
.tib-cv-scroll .cvx-letter-more { white-space: normal; text-align: left; }
/* 联系方式 pill 里的链接文字：单行省略号，不换行撑高 */
.tib-cv-scroll .cvx-chip > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 原始 CV：容器不自滚（iframe 内部自带 PDF 滚动），iframe 铺满。 */
.tib-pdf { overflow: hidden; display: flex; background: #f5f5f5; }
.tib-pdf-frame {
  flex: 1; border: 0; width: 100%; background: #f5f5f5;
  opacity: 0; transition: opacity .18s cubic-bezier(.2, .8, .2, 1);
}
.tib-pdf-frame.is-ready { opacity: 1; }

/* 1440px 以下仍走原本的材料 Tab：wrapper 用 display:contents，不改变既有 flex 子项与滚动关系。 */
.tib-source-panel { display: contents; }
.tib-source-panel-head,
.tib-source-resizer,
.tib-source-height-resizer,
.tib-source-width-resizer,
.tib-source-corner-resizer { display: none; }

/* 宽屏把候选详情画布拆成「结构化 CV + 原件工具窗」。默认工具窗留出 16px 空隙悬浮在
   第二列里；展开后成为完整第三列，中间的灰线可拖动调宽。 */
@media (min-width: 1440px) {
  .tib-detail > .tib-detail-col--candidate {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
  }
  .tib-detail.is-source-floating > .tib-detail-col--candidate {
    grid-template-columns: minmax(540px, 1fr) minmax(360px, var(--tib-source-panel-width));
    column-gap: 16px;
  }
  .tib-detail.is-source-docked > .tib-detail-col--candidate {
    grid-template-columns: minmax(540px, 1fr) 10px minmax(360px, var(--tib-source-panel-width));
    column-gap: 0;
  }
  .tib-detail-col--candidate > .tib-detail-head--cv {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .tib-detail-col--candidate > .tib-cv-scroll:not(.tib-pdf):not(.tib-submitted) {
    grid-column: 1;
    grid-row: 2;
    display: block !important;
  }
  .tib-detail-col--candidate > .tib-source-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
  }
  /* 原件工具窗是第三列：悬浮它时只让第二列内容退后，工具窗自身保持清晰。 */
  .tib-detail-col--candidate > .tib-detail-head--cv,
  .tib-detail-col--candidate > .tib-cv-scroll:not(.tib-pdf):not(.tib-submitted),
  .tib-detail-col--candidate > .tib-actionbar,
  .tib-detail-col--candidate > .tib-iv {
    transition: opacity .15s ease;
  }
  /* HOVER_DIMMING_DISABLED：暂时关闭原件工具窗悬浮时，第二列内容降透明度。
  .tib-detail.is-focus-source > .tib-detail-col--candidate > .tib-detail-head--cv,
  .tib-detail.is-focus-source > .tib-detail-col--candidate > .tib-cv-scroll:not(.tib-pdf):not(.tib-submitted),
  .tib-detail.is-focus-source > .tib-detail-col--candidate > .tib-actionbar,
  .tib-detail.is-focus-source > .tib-detail-col--candidate > .tib-iv {
    opacity: 0.75;
  }
  */
  .tib-detail-col--candidate > .tib-source-panel.is-floating {
    margin: 16px 16px 16px 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 48px -28px rgba(15, 23, 42, 0.36), 0 4px 14px -8px rgba(15, 23, 42, 0.16);
    transition: border-color .15s, box-shadow .15s;
  }
  .tib-detail-col--candidate > .tib-source-panel.is-docked {
    grid-column: 3;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .tib-source-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 4px 10px 4px 12px;
    box-sizing: border-box;
    flex: 0 0 auto;
    color: #68686d;
    font-size: 13px;
    font-weight: 500;
  }
  .tib-source-panel-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(240px, calc(100% - 42px));
    height: auto;
    margin-block: 4px;
    padding: 2px;
    box-sizing: border-box;
  }
  .tib-source-panel-tabs .ft-seg-item {
    min-width: 0;
    height: 30px;
    padding-inline: 14px;
    font-size: 13px;
  }
  .tib-source-panel-size {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #86868b;
    cursor: pointer;
    transition: color .15s, background .15s;
  }
  .tib-source-panel-size:hover,
  .tib-source-panel-size:focus-visible {
    color: #1d1d1f;
    background: #f2f2f2;
    outline: none;
  }
  .tib-source-panel > .tib-pdf,
  .tib-source-panel > .tib-submitted {
    flex: 1;
    min-width: 0;
    min-height: 0;
  }
  .tib-source-panel > .tib-pdf { flex-direction: column; }
  .tib-source-resizer {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    z-index: 7;
    align-items: stretch;
    justify-content: center;
    width: 10px;
    min-height: 0;
    cursor: col-resize;
    touch-action: none;
    user-select: none;
  }
  .tib-detail.is-source-floating .tib-source-resizer {
    display: flex;
    justify-self: start;
    margin-block: 16px;
    transform: translateX(-5px);
  }
  .tib-detail.is-source-docked .tib-source-resizer { display: flex; }
  .tib-source-resizer::before {
    content: "";
    width: 1px;
    background: #e5e5e7;
    transition: background .15s, width .15s;
  }
  .tib-source-resizer:hover::before,
  .tib-source-resizer:focus-visible::before {
    width: 2px;
    background: #86868b;
  }
  .tib-detail.is-source-floating .tib-source-resizer::before { background: transparent; }
  .tib-source-resizer:focus-visible { outline: none; }
  .tib-detail.is-source-floating .tib-source-height-resizer,
  .tib-detail.is-source-floating .tib-source-width-resizer,
  .tib-detail.is-source-floating .tib-source-corner-resizer {
    position: absolute;
    z-index: 9;
    display: block;
    touch-action: none;
    user-select: none;
  }
  .tib-source-height-resizer.is-top,
  .tib-source-height-resizer.is-bottom {
    right: 14px;
    left: 14px;
    height: 10px;
    cursor: row-resize;
  }
  .tib-source-height-resizer.is-top { top: 0; }
  .tib-source-height-resizer.is-bottom { bottom: 0; }
  .tib-source-width-resizer.is-right {
    top: 14px;
    right: 0;
    bottom: 14px;
    width: 10px;
    cursor: col-resize;
  }
  .tib-source-height-resizer:focus-visible { outline: none; }
  .tib-detail.is-source-floating .tib-source-corner-resizer {
    width: 16px;
    height: 16px;
  }
  .tib-source-corner-resizer.is-top-left { top: 0; left: 0; cursor: nwse-resize; }
  .tib-source-corner-resizer.is-top-right { top: 0; right: 0; cursor: nesw-resize; }
  .tib-source-corner-resizer.is-bottom-left { bottom: 0; left: 0; cursor: nesw-resize; }
  .tib-source-corner-resizer.is-bottom-right { right: 0; bottom: 0; cursor: nwse-resize; }
  .tib-source-panel.is-floating.is-resizing,
  .tib-source-panel.is-floating:has(.tib-source-height-resizer:hover),
  .tib-source-panel.is-floating:has(.tib-source-width-resizer:hover),
  .tib-source-panel.is-floating:has(.tib-source-corner-resizer:hover),
  .tib-detail.is-source-floating > .tib-detail-col--candidate:has(> .tib-source-resizer:hover) > .tib-source-panel.is-floating,
  .tib-detail.is-source-floating > .tib-detail-col--candidate:has(> .tib-source-resizer:focus-visible) > .tib-source-panel.is-floating {
    border-color: #2e84fa;
    box-shadow: 0 0 0 1px #2e84fa, 0 18px 48px -28px rgba(15, 23, 42, 0.36), 0 4px 14px -8px rgba(15, 23, 42, 0.16);
  }
  .tib-detail.is-source-floating .tib-detail-col--candidate > .tib-actionbar {
    left: calc((100% - var(--tib-source-panel-width) - 16px) / 2);
  }
  .tib-detail.is-source-docked .tib-detail-col--candidate > .tib-actionbar {
    left: calc((100% - var(--tib-source-panel-width) - 10px) / 2);
  }
  /* 原件切换已经移进工具窗头部；窄屏媒体查询会恢复这里的完整 Tab。 */
  .tib-detail-head--cv .tib-sortseg { display: none; }
  /* 评估仍是浮层，但只覆盖左侧结构化 CV，不能挡住右侧原件对照列。 */
  .tib-detail > .tib-detail-col--ai.is-pinned-panel {
    right: calc(var(--tib-source-panel-width) + 48px);
  }
  .tib-detail.is-source-docked > .tib-detail-col--ai.is-pinned-panel {
    right: calc(var(--tib-source-panel-width) + 30px);
  }
}
/* 左栏邮件式工具栏：处理状态、收藏与组内排序同排。
   控件只占自身尺寸，四周仍靠白底留白分组，不给整块工具栏加填充色或分割线。 */
.tib-detail-head--sort { justify-content: flex-start; }
.tib-inbox-toolbar {
  min-height: 56px; padding: 10px 16px; align-items: stretch;
  background: rgb(252, 252, 252);
}
.tib-inbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; }
.tib-inbox-primary-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tib-inbox-control-actions { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }
.tib-inbox-filter-btn,
.tib-inbox-icon-btn {
  appearance: none; -webkit-appearance: none; height: 32px; border: 1px solid #ececef; background: #fff;
  color: #3c3c43; font: inherit; cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.tib-inbox-filter-btn:hover,
.tib-inbox-icon-btn:hover { color: #1d1d1f; border-color: #d2d2d7; background: #fafafa; }
.tib-inbox-filter-btn {
  display: inline-flex; align-items: center; gap: 6px; min-width: 84px; max-width: 128px;
  padding: 0 9px; border-radius: 999px; font-size: 12.5px; white-space: nowrap;
}
.tib-inbox-filter-btn > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tib-inbox-filter-count { color: #86868b; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tib-inbox-filter-caret { flex-shrink: 0; color: #a1a1a6; transition: transform .15s; }
.tib-inbox-filter-btn[aria-expanded="true"] .tib-inbox-filter-caret { transform: rotate(180deg); }
.tib-inbox-icon-btn {
  width: 32px; padding: 0; border-color: transparent; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
.tib-inbox-sort-lenses {
  height: 32px; display: inline-flex; align-items: center; gap: 0; padding: 2px;
  border: 0; border-radius: 999px; background: #f5f5f7;
}
.tib-inbox-sort-lens {
  appearance: none; -webkit-appearance: none; height: 26px; padding: 0 6px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 2px; background: transparent;
  color: #6e6e73; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer;
  transition: color .15s, background .15s, box-shadow .15s;
}
.tib-inbox-sort-lens:hover { color: #1d1d1f; }
.tib-inbox-sort-lens.is-active {
  background: #fff; color: #1d1d1f; box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}
.tib-inbox-sort-lens.is-attitude { color: #2e84fa; }
.tib-inbox-sort-lens.is-attitude.is-active { box-shadow: 0 1px 4px rgba(46, 132, 250, .2); }
.tib-inbox-attitude-spark { font-size: 11px; line-height: 1; }
.tib-inbox-favorite-btn { color: #86868b; }
.tib-inbox-favorite-btn:hover,
.tib-inbox-favorite-btn.is-active { color: #ff4d6d; }
.tib-inbox-favorite-btn.is-active { background: rgba(255, 77, 109, .07); }

@media (max-width: 560px) {
  .tib-inbox-control-actions { gap: 2px; }
  .tib-inbox-sort-lens { padding-inline: 6px; }
}

/* MePopover 通过 portal 落到 body，菜单样式不能依赖 .tib-detail 的 CSS 变量作用域。 */
.tib-list-pop-menu { display: flex; flex-direction: column; gap: 2px; margin: -2px -10px 4px; }
.tib-list-pop-option {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 7px 10px;
  border: 0; border-radius: 9px; background: none; color: #3c3c43; font: inherit; font-size: 13px;
  text-align: left; cursor: pointer;
}
.tib-list-pop-option:hover { background: #f5f5f7; color: #1d1d1f; }
.tib-list-pop-option.is-active { color: #1d1d1f; font-weight: 500; }
.tib-list-pop-check { width: 16px; height: 16px; flex: 0 0 16px; color: #2e84fa; display: inline-flex; align-items: center; }
.tib-list-pop-label { flex: 1; min-width: 0; }
.tib-list-pop-count { color: #86868b; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }

.tib-list-empty {
  list-style: none; display: flex; align-items: center; justify-content: center;
  min-height: 148px; padding: 24px; color: #86868b; font-size: 13px; line-height: 1.6; text-align: center;
}

/* Pass / 约面流转后的可撤销反馈：基底仍复用全站胶囊 toast，仅给这一种 toast 恢复交互。 */
.me-ctx-toast.tib-decision-toast { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.tib-decision-toast-action {
  appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 2px 0;
  color: #fff; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}
.tib-decision-toast-action:hover { opacity: .78; }
.tib-cross { margin-top: 22px; border-top: 1px solid #ececef; padding-top: 16px; }
.tib-cross-h { font-size: 13px; color: #86868b; margin-bottom: 8px; }
.tib-cross-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; color: #1d1d1f; }
.tib-cross-row b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* 三栏滚动区隐藏滚动条（仍可滚）—— 对齐设计稿无可见滚动条。 */
.tib-applicants,
.tib-cv-scroll,
.tib-ai-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.tib-applicants::-webkit-scrollbar,
.tib-cv-scroll::-webkit-scrollbar,
.tib-ai-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 申请人行：未读蓝点（右键标记已读/未读切换）+ 收藏红心 */
/* 未读蓝点：absolute 叠在头像右上角（带白环更醒目），不占布局 → 已读/未读行的间距一致。
   不受行「未选中变淡」影响（变淡只加在 .fa-av/.fa-main 上）—— 始终全不透明起提醒作用。 */
.fa-unread-dot { position: absolute; top: -1px; right: -1px; z-index: 1; width: 8px; height: 8px; border-radius: 999px; background: #2e84fa; box-shadow: 0 0 0 1.5px #fff; }
.fa-fav { margin-right: 4px; display: inline-flex; align-items: center; color: #ff4d6d; line-height: 0; vertical-align: -1px; }

/* 申请人头像：有 Bonjour! 主页头像就显示图片（裁成圆），否则统一显示「我的」默认 SVG，不再显示首字。 */
.tib-applicants .fa-av { overflow: hidden; }
.tib-applicants .fa-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tib-applicants .fa-av img.ai-sb-icon-img,
.tib-cvhead-av img.ai-sb-icon-img,
.me-sig-profile-avatar img.ai-sb-icon-img { width: 18px; height: 18px; object-fit: contain; }

/* 原件 PDF：iframe 初始化期间保持透明，用稳定的浅灰层盖住浏览器 PDF Viewer 的深色加载底板。 */
.tib-pdf-wrap { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; background: #f5f5f5; }
.tib-pdf-loading {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; background: #f5f5f5;
  opacity: 1; visibility: visible; pointer-events: none;
  transition: opacity .18s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.tib-pdf-loading.is-hidden {
  opacity: 0; visibility: hidden;
  transition: opacity .18s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .18s;
}
.tib-spinner {
  width: 30px; height: 30px; border-radius: 999px;
  border: 3px solid #e3e6ea; border-top-color: #2f6feb;
  animation: tib-spin 0.7s linear infinite;
}
@keyframes tib-spin { to { transform: rotate(360deg); } }

/* ── 发布后 / 匹配进行中且暂无候选人：中列（占满二三列）居中的等待引导 ──────
   见 [[InboxMatchingHero]]。原始 CV 工具窗与逐条评估浮层由 React 侧不渲染，
   这里只负责让候选列（grid-column 2 = 剩余整幅）回落成 flex 居中、并隐藏 AI 浮层列。
   选择器带两个类（0,3,0），压过 @media 1440 的 display:grid（0,2,0）。 */
.tib-detail.is-matching-wait > .tib-detail-col--ai { display: none; }
.tib-detail.is-matching-wait > .tib-detail-col--candidate {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 40px 24px;
}
.tib-wait { width: 100%; max-width: 460px; margin: auto; }
.tib-wait-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tib-wait-loader {
  position: relative; width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.tib-wait-ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 3px solid #e9ecf1; border-top-color: #2f6feb;
  animation: tib-spin 0.9s linear infinite;
}
.tib-wait-avatar { width: 62px; height: 62px; border-radius: 999px; object-fit: cover; }
.tib-wait-title { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.3px; color: #1d1d1f; }
.tib-wait-sub { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #68686d; }
.tib-wait-sub strong { color: #1d1d1f; font-weight: 600; }
/* 轮播文案（Bonnie 碎碎念）：胶囊底 + 每句淡入。emoji 自带，故不再放脉冲圆点。 */
.tib-wait-status {
  display: inline-flex; align-items: center; justify-content: center; min-height: 26px;
  margin: 16px 0 0; padding: 5px 14px; border-radius: 999px;
  background: #f5f6f8; color: #86868b; font-size: 12.5px; white-space: nowrap;
  animation: tib-wait-status-in 0.4s ease;
}
@keyframes tib-wait-status-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
.tib-wait-bonnie {
  display: flex; align-items: center; gap: 16px; margin-top: 28px; width: 100%;
  padding: 16px; border-radius: 16px; background: #fafafa; border: 1px solid #efefef; text-align: left;
}
.tib-wait-bonnie-qr {
  flex: 0 0 auto; width: 96px; height: 96px; border-radius: 12px;
  padding: 8px; box-sizing: border-box; background: #fff; border: 1px solid #ececef;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tib-wait-bonnie-qr img { width: 100%; height: 100%; object-fit: contain; }
.tib-wait-bonnie-ph { color: #a1a1a6; font-size: 11px; text-align: center; padding: 0 6px; }
.tib-wait-bonnie-text { min-width: 0; }
.tib-wait-bonnie-title { margin: 0; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.tib-wait-bonnie-desc { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: #86868b; }
@media (prefers-reduced-motion: reduce) {
  .tib-wait-ring { animation: none; }
  .tib-wait-status { animation: none; }
}
/* 窄屏（≤1000 的「列表态」）也要出这张等待引导：默认列表态会把候选列隐藏、
   列表列铺满，于是 hero 看不见。这里保留返回顶栏、隐藏筛选条与骨架列表，
   把中列 hero 接在顶栏下方铺满一屏居中。多写一个类保证压过列表态的隐藏规则。 */
@media (max-width: 1000px) {
  .tib-mobile-list .tib-detail.is-matching-wait > .tib-detail-col:first-child > .tib-inbox-toolbar,
  .tib-mobile-list .tib-detail.is-matching-wait > .tib-detail-col:first-child > .tib-applicants {
    display: none;
  }
  .tib-mobile-list .tib-detail.is-matching-wait > .tib-detail-col.tib-detail-col--candidate {
    display: flex;
    min-height: calc(100dvh - 64px);
    padding: 24px 20px 48px;
  }
}

@media (max-width: 600px) {
  .cvx-links--multiple { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .tib-pdf-frame,
  .tib-pdf-loading { transition: none; }
}

/* 上传的作品集文件卡：「查看文件」做成可点蓝链 */
.cvx-link-a { color: #2e84fa; text-decoration: none; }
.cvx-link-a:hover { text-decoration: underline; }
/* 作品链接做成可点 <a>：文字 + 箭头同行，hover 只给文字下划线、不连箭头。 */
.cvx-link-row { display: flex; align-items: center; gap: 4px; width: 100%; }
.cvx-link-row-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvx-link-row:hover { text-decoration: none; }
.cvx-link-row:hover .cvx-link-row-txt { text-decoration: underline; }
/* 抽不出有效 URL 的脏串：退化成不可点纯文本（灰、无下划线），避免死链。 */
.cvx-link-plain { color: #86868b; cursor: default; }
.cvx-link-plain:hover .cvx-link-row-txt { text-decoration: none; }

/* ── 逐条评估浮层：标题 + 逐条 ───────────────────────────────────────── */
.eval2 { display: flex; flex-direction: column; gap: 14px; }
.eval2-loading { font-size: 13px; color: #86868b; }
.eval2-head { display: flex; flex-direction: column; }
.eval2-title { display: flex; align-items: center; gap: 9px; padding-right: 36px; font-size: 14.5px; font-weight: 600; color: #111; }
.eval2-title svg { flex: 0 0 auto; width: 19px; height: 19px; }
.eval2-reason { font-size: 12.5px; color: #3c3c43; line-height: 1.55; }
.eval2-reqs { display: flex; flex-direction: column; gap: 16px; }
/* 档位小节（必备 / 强加分 / 锦上添花）：留白分组、无分割线；小节标题对齐面板头部内容线（左边缘 0）。 */
.eval2-group { display: flex; flex-direction: column; gap: 4px; }
.eval2-group-label { margin: 0 0 3px; font-size: 12px; font-weight: 500; color: #86868b; letter-spacing: -0.2px; }
.eval2-group-reqs { display: flex; flex-direction: column; }
/* 投递诚意改成单列：标签在上，说明在下，窄浮窗里不再左右互相挤压。 */
.eval2-att { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 4px; }
.eval2-att-note { margin: 0; width: 100%; min-width: 0; font-size: 13px; line-height: 1.45; letter-spacing: -0.1px; color: #1d1d1f; overflow-wrap: anywhere; }
.eval2-req {
  display: flex; align-items: flex-start; gap: 9px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 9px; padding: 6px 4px; cursor: pointer; font: inherit;
  transition: background .15s;
}
.eval2-req[disabled] { cursor: default; }
.eval2-req[data-req]:hover { background: #f7f9fc; }
.eval2-req.is-active { background: var(--accent-soft); }
.eval2-mark { flex: 0 0 auto; width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.eval2-rmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eval2-rtext { font-size: 13px; line-height: 1.45; color: #1d1d1f; letter-spacing: -0.1px; overflow-wrap: anywhere; }

/* ── 两栏详情响应式：优先保 CV 阅读体验 ───────────────────────────────── */
@media (max-width: 1160px) {
  .tib-detail {
    grid-template-columns: minmax(232px, 280px) minmax(600px, 1fr);
  }
  /* CV 正文左右大留白(56) 收一点，窄屏更舒展。 */
  .tib-cv-scroll .cvx { padding: 32px 32px 44px; }
  .tib-detail .tib-submitted { padding-inline: 16px; }
  .tib-detail-head--cv { padding-left: 32px; padding-right: 32px; }
  .tib-detail > .tib-detail-col--ai.is-pinned-panel { right: 32px; }
}

/* 窄屏：三栏挤不下 → 竖排堆叠，CV 拿满整宽（阅读最优）；整页滚动。
   左列表收成一段(内部滚)、不抢版面；AI 评估排到 CV 下面。 */
@media (max-width: 1000px) {
  .cvx-letter:not(.is-open) .cvx-letter-text { -webkit-line-clamp: 3; }
  .me-shell-main:has(.tib-detail-wrap) { height: auto; min-height: 100dvh; display: block; overflow: visible; }
  main:has(> .tib-detail-wrap) { height: auto; min-height: 100dvh; display: block; overflow: visible; padding: 0; }
  .me-shell-main-inner:has(.tib-detail-wrap) { display: block; height: auto; min-height: 0; }
  .me-shell-main-inner:has(.tib-detail-wrap) > .me-shell-fade { display: block; min-height: 0; }
  .tib-detail-wrap { display: block; }
  .tib-detail { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: visible; border-top: 0; }
  .tib-detail-col { width: 100%; overflow: visible; }
  .tib-detail-col + .tib-detail-col { border-left: 0; border-top: 1px solid #ececef; }
  .tib-detail > .tib-detail-col--ai,
  .tib-detail > .tib-detail-col--ai.is-pinned-panel,
  .tib-detail > .tib-detail-col--ai.is-hover-preview-panel {
    position: relative; z-index: auto; top: auto !important; right: auto; left: auto;
    width: 100%; height: auto; max-height: none;
    border-radius: 0; box-shadow: none; overflow: visible;
  }
  .eval2-reqs { gap: 22px; }
  /* 列：列头还在各自分段顶部；正文不再各自滚，跟随整页滚 → CV 全宽好读。 */
  .tib-cv-scroll, .tib-ai-scroll { overflow: visible; }
  .tib-applicants { max-height: 46vh; }            /* 申请人列表收成一段、内部可滚 */
  .tib-pdf { flex: none; height: 78vh; }           /* 原始 CV PDF 给个固定高度 */
  .tib-cv-scroll .cvx { padding: 28px 24px 44px; } /* 全宽下再收一点左右留白 */
  .tib-detail .tib-submitted { padding-inline: 12px; }
  .tib-detail-head--cv { padding-left: 24px; padding-right: 24px; }
}

/* 投递记录：候选人提交材料视图（复用 me-sig-* 卡片样式）。
   左右留白减半：28 / 16(≤1160) / 12(≤1000) / 9(移动端)。 */
.tib-submitted { display: flex; flex-direction: column; gap: 28px; padding: 36px 28px 48px; }
.tib-submitted .me-sig-letter { font-size: 14px; color: #1d1d1f; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
/* 投递记录的回答 / 一封信复用 CV 长信的真实高度测量与展开动画，但不额外套一层正文卡片。
   产品规则固定为五行：短文不出按钮，窄屏也不擅自缩成三行。 */
.tib-submitted .cvx-letter.tib-submitted-expandable {
  gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.tib-submitted .tib-submitted-expandable:not(.is-open) .cvx-letter-text {
  -webkit-line-clamp: 5;
}

/* 约面回流：浮在处置控件上方的小卡 —— 已读 / 候选人回复 / 面试结果（⑦）。 */
.tib-iv {
  /* z-index 高于操作条（6）+ 其上的约面引导气泡：主动展开决策卡时它到最前、盖住气泡；
     收起时 is-collapsed 用 visibility:hidden 整个隐掉，自然让位给气泡。 */
  position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 8;
  width: min(440px, calc(100% - 48px));
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: 18px; padding: 15px 18px;
  box-shadow: inset 0 0 0 0.5px #ececef, 0 12px 32px -8px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.06);
  transform-origin: bottom center;
  transition: opacity 0.24s cubic-bezier(0.2, 0, 0, 1), transform 0.26s cubic-bezier(0.2, 0, 0, 1);
}
/* 收起：向「已约面」按钮方向下沉+缩小淡出；动画结束后再 hidden（不抢滚动 / 焦点） */
.tib-iv.is-collapsed {
  opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.94);
  pointer-events: none; visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 1, 1), transform 0.24s cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 0.24s;
}
.tib-iv-collapse {
  flex: none; margin-left: 2px; padding: 0; width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: transparent; color: #86868b; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tib-iv-collapse:hover { background: #f2f2f4; color: #1d1d1f; }
.tib-act-expand { margin-left: -1px; opacity: 0.85; transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1); }
.tib-act-expand.is-open { transform: rotate(180deg); } /* 展开态朝下（点它收起）；收起态朝上（点它展开） */
@media (prefers-reduced-motion: reduce) {
  .tib-iv, .tib-iv.is-collapsed { transition: opacity 0.12s linear, visibility 0s linear 0.12s; transform: translateX(-50%); }
}
.tib-iv-status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #1d1d1f; letter-spacing: -0.1px; }
.tib-iv-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 999px; background: #d2d2d7; }
.tib-iv-dot.is-read { background: #16a34a; }
.tib-iv-muted { color: #86868b; }
.tib-iv-reply { display: flex; flex-direction: column; gap: 4px; }
.tib-iv-reply-label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #86868b; }
.tib-iv-reply-text { margin: 0; font-size: 14px; line-height: 1.5; color: #1d1d1f; white-space: pre-wrap; }
.tib-iv-result { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tib-iv-result-label { font-size: 12.5px; color: #86868b; }
.tib-iv-chips { display: flex; gap: 6px; }
.tib-iv-chip {
  padding: 6px 13px; border: 0; border-radius: 999px; background: #f3f4f6; color: #1d1d1f;
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.tib-iv-chip:hover:not(:disabled) { background: #e9eaee; }
.tib-iv-chip:disabled { opacity: 0.6; cursor: not-allowed; }
.tib-iv-chip.is-on { background: #1d1d1f; color: #fff; }
.tib-iv-sent { display: flex; flex-direction: column; gap: 5px; }
.tib-iv-sent-head { display: flex; align-items: center; gap: 8px; }
.tib-iv-sent-label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #86868b; }
.tib-iv-badge { font-size: 11px; font-weight: 500; color: #86868b; letter-spacing: -0.1px; }
.tib-iv-sent-edit {
  margin-left: auto; padding: 0; border: 0; background: transparent; color: #0071e3;
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-size: 12.5px; cursor: pointer;
}
.tib-iv-sent-edit:hover { text-decoration: underline; }
.tib-iv-sent-link { font-size: 13.5px; line-height: 1.45; color: #0071e3; word-break: break-all; text-decoration: none; }
.tib-iv-sent-link:hover { text-decoration: underline; }
.tib-iv-sent-text { margin: 0; font-size: 14px; line-height: 1.5; color: #1d1d1f; white-space: pre-wrap; }
.tib-iv-sent-muted { margin: 0; font-size: 13.5px; line-height: 1.5; color: #86868b; white-space: pre-wrap; }

/* 手机专用控件默认不参与桌面三栏布局。 */
.tib-mobile-candidate-back,
.tib-mobile-contact-trigger,
.tib-mobile-ai-tab { display: none; }

/* ≤1000px 已经从三列独立滚动退化为全文滚动；禁止给长 CV / AI / 列表根做
   opacity+transform reveal，避免 iOS WebKit 把数万像素高内容提升成巨型合成层。 */
@media (max-width: 1000px) {
  .tib-detail-wrap .tib-detail > .tib-detail-col--ai { animation: none; transform: none; }
  .tib-detail-wrap .tib-cv-scroll.tib-panel-anim,
  .tib-detail-wrap .tib-ai-scroll.tib-panel-anim,
  .tib-detail-wrap .tib-applicants.tib-list-anim { animation: none; }
}

/* ── 窄屏投递链路（≤1000）：职位候选人列表 → 单候选人详情 ─────────────
   三栏在这个宽度已经无法保持可读性，因此手机与平板统一进入两级视图；
   >1000px 的桌面 rail、三栏 grid、独立滚动和浮动处置位置不变。 */
@media (max-width: 1000px) {
  /* 投递详情移动端的所有子视图统一按当前视口计算宽度。顶部职位切换、
     候选人头、CV 卡片与吸底操作条不再各自依赖 content-box。 */
  .tib-detail-wrap,
  .tib-detail-wrap *,
  .tib-detail-wrap *::before,
  .tib-detail-wrap *::after { box-sizing: border-box; }
  .tib-detail-wrap {
    --tib-narrow-content: 760px;
    width: 100%; max-width: 100%; min-width: 0; min-height: 100dvh;
    overflow-x: hidden; /* Safari 旧版本 fallback */
    overflow-x: clip;
    background: #fff;
  }
  .tib-detail-wrap .tib-detail { display: block; width: 100%; overflow: visible; }
  .tib-detail-wrap .tib-detail-col { width: 100%; min-width: 0; overflow: visible; border: 0 !important; }
  .tib-detail-wrap .tib-detail > .tib-detail-col:first-child {
    z-index: auto; background: #fff; box-shadow: none;
  }
  .tib-detail-wrap .tib-detail > .tib-detail-col--candidate { z-index: auto; box-shadow: none; }

  /* 职位列表头：首屏直接出现，不再被后台 rail 推到一屏以后。 */
  .tib-detail-wrap .tib-detail-top {
    position: relative; top: auto; z-index: 24;
    width: 100%; max-width: var(--tib-narrow-content); margin-inline: auto;
    min-height: auto; box-sizing: border-box; gap: 10px; padding: 10px 12px;
    background: #fff;
  }
  .tib-detail-wrap .tib-detail-top .ov-back {
    flex-basis: 40px; width: 40px; height: 40px; min-width: 40px;
    border-radius: 999px;
  }
  .tib-detail-wrap .tib-detail-titlegroup { flex: 1; min-width: 0; }
  .tib-detail-wrap .tib-detail-title { font-size: 17px; }
  .tib-detail-wrap .tib-detail-top .me-head-action {
    width: 40px; height: 40px; min-width: 40px; padding: 0; justify-content: center;
  }
  .tib-detail-wrap .tib-workspace-tabs a {
    flex: 1 1 0; min-width: 0; padding: 8px 10px; text-align: center;
  }

  /* 职位切换在小屏从标题锚点浮窗改为视口内面板，320px 也不会越界。 */
  .tib-detail-wrap .tib-jobpick {
    position: fixed; top: 68px; left: 50%; right: auto;
    width: min(420px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 80px);
    transform: translateX(-50%);
    transform-origin: top center;
    animation-name: tib-jobpick-mobile-in;
  }

  /* 列表态只显示第一列；不预选第一位，也不把任何行画成已进入详情。 */
  .tib-mobile-list .tib-detail {
    max-width: var(--tib-narrow-content); margin-inline: auto;
  }
  .tib-mobile-list .tib-detail > .tib-detail-col:not(:first-child) { display: none; }
  .tib-mobile-list .tib-detail-head--sort {
    position: sticky; top: 0; z-index: 20;
    min-height: 54px; padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .tib-mobile-list .tib-inbox-toolbar,
  .tib-mobile-list .tib-sec-head-li { background: #fff; }
  .tib-mobile-list .tib-applicants { max-height: none; padding: 0; overflow: visible; }
  .tib-mobile-list .tib-applicants .fancy-job.fa-row {
    min-height: 104px; margin: 0; padding: 14px 18px; border-radius: 0; background: #fff;
  }
  .tib-mobile-list .tib-applicants .fancy-job.fa-row.active {
    background: transparent; box-shadow: none;
  }
  .tib-mobile-list .tib-sec-head-li { top: 54px; }
  .tib-mobile-list .tib-recommendation-list .tib-sec-head-li { top: 0; }

  /* 详情态：隐藏职位头和候选人列表，中栏成为当前候选人的手机页面。 */
  .tib-mobile-detail > .tib-detail-top,
  .tib-mobile-detail .tib-detail > .tib-detail-col:first-child { display: none; }
  .tib-mobile-detail .tib-detail-col--candidate {
    display: flex; min-height: 100dvh; overflow: visible;
  }
  .tib-mobile-detail.tib-mobile-pane--cv .tib-detail-col--ai { display: none; }
  /* AI 页签仍复用中栏的候选人头与吸底动作；display:contents 让头部 sticky 不受一个
     只有头部高度的父列约束，也避免先占出一整屏空白再开始渲染右栏。 */
  .tib-mobile-detail.tib-mobile-pane--ai .tib-detail-col--candidate { display: contents; min-height: 0; }
  .tib-mobile-detail.tib-mobile-pane--ai .tib-detail-col--ai { display: flex; min-height: calc(100dvh - 126px); }
  .tib-mobile-detail.tib-mobile-pane--ai .tib-detail-col--candidate > .tib-cv-scroll,
  .tib-mobile-detail.tib-mobile-pane--ai .tib-source-panel > .tib-cv-scroll {
    display: none !important;
  }

  /* 候选人头：返回 / 身份 / 联系方式一行，材料/评估页签独占下一行。 */
  .tib-detail-wrap .tib-detail-head--cv {
    position: sticky; top: 0; z-index: 24;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%; max-width: var(--tib-narrow-content); margin-inline: auto; box-sizing: border-box;
    row-gap: 14px; column-gap: 10px; min-height: auto;
    padding: 10px 12px 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .tib-detail-wrap .tib-mobile-candidate-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px;
    align-self: start; margin-top: -2px;
    background: #f5f5f5; color: #1d1d1f; cursor: pointer;
  }
  /* 身份留在中间列；桌面的内联联系方式在移动端收进右上角浮窗。 */
  .tib-detail-wrap .tib-detail-head--cv .tib-candidate-meta { display: contents; }
  .tib-detail-wrap .tib-detail-head--cv .tib-cvhead {
    grid-column: 2; grid-row: 1; column-gap: 8px;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-cvhead-contacts {
    display: none;
  }
  .tib-detail-wrap .tib-mobile-contact-trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    grid-column: 3; grid-row: 1; align-self: center;
    min-height: 34px; padding: 0 12px; border: 1px solid #e5e5e7; border-radius: 999px;
    background: #fff; color: #454548; font: inherit; font-size: 12.5px; font-weight: 500; white-space: nowrap; cursor: pointer;
  }
  .tib-detail-wrap .tib-mobile-contact-trigger[aria-expanded="true"] { background: #f3f4f6; }
  .tib-mobile-contact-popover,
  .tib-mobile-contact-popover * { box-sizing: border-box; }
  .tib-mobile-contact-popover {
    max-width: calc(100vw - 24px); overflow: hidden; border-radius: 16px;
  }
  .tib-mobile-contact-popover .me-pop-body {
    min-width: 0; padding: 10px; overflow-y: auto; overflow-x: hidden;
    overscroll-behavior-x: none; touch-action: pan-y;
  }
  .tib-mobile-contact-list {
    display: flex; flex-direction: column; gap: 8px;
    width: 100%; max-width: 100%; min-width: 0; overflow: hidden;
  }
  .tib-mobile-contact-list .tib-cvhead-contact-html,
  .tib-mobile-contact-list .tib-cvhead-contact-html > .cvx-chips { display: contents; }
  .tib-mobile-contact-list .cvx-chip {
    width: 100%; max-width: 100%; min-width: 0; min-height: 40px; justify-content: flex-start; overflow: hidden;
    padding: 0 12px; border-color: #ececef; background: #fff; font-size: 13px;
  }
  .tib-mobile-contact-list .cvx-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tib-detail-wrap .tib-detail-head--cv .tib-cvhead-av { width: 36px; height: 36px; }
  .tib-detail-wrap .tib-detail-head--cv .tib-cvhead-id { gap: 1.5px; }
  .tib-detail-wrap .tib-detail-head--cv .tib-cvhead-name { font-size: clamp(14px, 1.8vw, 16px); }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg {
    --tib-view-tab-count: 4;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--tib-view-tab-count), minmax(0, 1fr));
    width: 100%;
    padding: 0;
    transform: none;
    border-radius: 0;
    background: transparent;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg[data-tab-count="3"] {
    --tib-view-tab-count: 3;
    width: 100%;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-view-controls {
    grid-column: 1 / -1;
    width: calc(100% + 24px); margin-inline: -12px;
    justify-content: center;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg .ft-seg-item {
    position: relative; min-width: 0; height: 46px; padding: 0 10px;
    border-radius: 0; background: transparent; box-shadow: none;
    color: #8e8e93; font-size: clamp(12px, 1.6vw, 15px); font-weight: 400; white-space: nowrap;
    transition: color .16s ease;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg .ft-seg-item::after {
    content: ""; position: absolute; left: 50%; bottom: -0.5px;
    width: min(64px, calc(100% - 24px)); height: 2px; border-radius: 999px;
    background: #1d1d1f; opacity: 0;
    transform: translateX(-50%) scaleX(.72);
    transition: opacity .16s ease, transform .2s cubic-bezier(.2, 0, 0, 1);
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg .ft-seg-item.is-active {
    background: transparent; color: #1d1d1f; box-shadow: none; font-weight: 600;
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-sortseg .ft-seg-item.is-active::after {
    opacity: 1; transform: translateX(-50%) scaleX(1);
  }
  .tib-detail-wrap .tib-detail-head--cv .tib-mobile-ai-tab { display: inline-flex; }
  .tib-detail-wrap.tib-mobile-pane--ai .tib-detail-head--cv .tib-sortseg .ft-seg-item.is-mobile-inactive {
    background: transparent; color: #8e8e93; box-shadow: none; font-weight: 400;
  }
  .tib-detail-wrap.tib-mobile-pane--ai .tib-detail-head--cv .tib-sortseg .ft-seg-item.is-mobile-inactive::after { opacity: 0; }

  /* 手机铺满、平板限制到舒适阅读宽度；AI 作为一级页签，不再藏在 CV 最底部。 */
  .tib-detail-wrap .tib-cv-scroll .cvx,
  .tib-detail-wrap .tib-submitted {
    width: 100%; max-width: var(--tib-narrow-content); margin-inline: auto; box-sizing: border-box;
  }
  .tib-detail-wrap .tib-cv-scroll .cvx { padding: 24px 18px 132px; }
  .tib-detail-wrap .tib-submitted { padding: 24px 9px 132px; }
  .tib-mobile-detail .tib-cv-scroll:not(.tib-submitted):not(.tib-pdf) { padding-bottom: 0; }
  .tib-detail-wrap .tib-ai-scroll {
    width: 100%; padding: 24px 18px 132px; overflow: visible;
  }
  .tib-detail-wrap .tib-ai-scroll > div {
    width: 100%; max-width: var(--tib-narrow-content); margin-inline: auto; box-sizing: border-box;
  }
  .tib-detail-wrap .tib-pdf { height: calc(100dvh - 126px); min-height: 60dvh; padding-bottom: 112px; }
  .tib-detail-wrap .tib-pdf-lock-page { padding: 28px 24px; }

  /* 处置条固定在安全区上方；三颗动作等分，不再落到超长 CV 的最底端。 */
  .tib-detail-wrap .tib-actionbar {
    position: fixed; left: 50%; right: auto;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 45; transform: translateX(-50%);
    width: min(calc(100vw - 24px), 560px); box-sizing: border-box; gap: 6px; padding: 6px;
  }
  .tib-detail-wrap .tib-act-wrap { flex: 1 1 0; min-width: 0; }
  .tib-detail-wrap .tib-act-wrap--group { margin-left: 0; }
  .tib-detail-wrap .tib-act {
    width: 100%; height: 42px; min-width: 0; justify-content: center;
    gap: 5px; padding: 0 6px; font-size: 13.5px;
  }
  .tib-detail-wrap .tib-actionbar > .tib-act { flex: 1 1 0; width: auto; }
  .tib-detail-wrap .tib-contact-card {
    position: fixed; left: 16px; right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    min-width: 0; max-width: none; transform: none; animation: none;
  }
  .tib-detail-wrap .tib-nudge {
    /* actionbar 本身已经 fixed；气泡继续锚在第一个动作按钮的相对容器上。
       不能写 left+right，否则会变成横跨整屏的通知条。 */
    position: absolute; left: 50%; right: auto;
    bottom: calc(100% + 13px);
    width: max-content; max-width: calc(100vw - 24px);
    white-space: nowrap; justify-content: flex-start;
    transform: translateX(-50%); animation: none;
  }

  /* 约面/Pass 回流卡与处置条一起吸底；收起后仍沿用原来的 visibility 语义。 */
  .tib-detail-wrap .tib-iv {
    position: fixed; left: 50%; right: auto;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: min(calc(100vw - 32px), 520px); box-sizing: border-box;
    max-height: calc(100dvh - 174px - env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateX(-50%); z-index: 44;
  }
  .tib-detail-wrap .tib-iv.is-collapsed { transform: translateX(-50%) translateY(14px) scale(0.96); }

  /* 决策弹窗在手机上成为可滚动底部面板；16px 输入避免 iOS 聚焦自动缩放。 */
  .tib-dlg-backdrop--inbox,
  .tib-dlg-backdrop--inbox *,
  .tib-dlg-backdrop--inbox *::before,
  .tib-dlg-backdrop--inbox *::after { box-sizing: border-box; }
  .tib-dlg-backdrop--inbox {
    align-items: flex-end; width: 100%; max-width: 100vw; padding: 0;
    overflow-x: hidden; overflow-x: clip; overscroll-behavior: contain;
  }
  .tib-dlg--inbox {
    position: relative; width: 100%; min-width: 0; max-width: 620px;
    max-height: calc(100dvh - 8px); overflow: hidden; overflow-wrap: anywhere;
    display: flex; flex-direction: column; padding: 0;
    border-radius: 20px 20px 0 0;
  }
  .tib-dlg--inbox::before {
    content: ""; flex: 0 0 auto; align-self: center;
    width: 36px; height: 4px; margin-top: 8px; border-radius: 999px; background: #d7d7dc;
  }
  .tib-dlg--inbox .tib-dlg-head { flex: 0 0 auto; padding: 12px 18px 14px; }
  .tib-dlg--inbox .tib-dlg-title { font-size: 19px; }
  .tib-dlg--inbox .tib-dlg-sub { font-size: 13px; }
  .tib-dlg--inbox .tib-dlg-close { width: 40px; height: 40px; margin: -5px -6px 0 0; }
  .tib-dlg--inbox .tib-dlg-body {
    flex: 1 1 auto; min-height: 0; padding: 0 18px 18px;
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .tib-dlg--inbox .tib-dlg-tip { margin-top: 4px; }
  .tib-dlg--inbox .tib-dlg-tip-toggle > span { min-width: 0; overflow-wrap: anywhere; }
  .tib-dlg--inbox .tib-dlg-field { margin-top: 18px; }
  .tib-dlg--inbox .tib-dlg-textarea { min-height: 104px; resize: none; }
  .tib-dlg--inbox .tib-dlg-foot {
    flex: 0 0 auto; display: grid; grid-template-columns: 1fr; gap: 10px; align-items: stretch;
    margin: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: .5px solid #e5e5e7; background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 24px rgba(15,23,42,.05);
  }
  .tib-dlg--inbox .tib-dlg-foot > span { display: none; }
  .tib-dlg--inbox .tib-dlg-actions { order: 1; display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0; }
  .tib-dlg--inbox .tib-dlg-clear { order: 2; justify-self: start; min-height: 32px; }
  .tib-dlg--inbox .tib-dlg-btn { width: 100%; height: 44px; padding-inline: 12px; }
  .tib-dlg--inbox .tib-dlg-input { font-size: 16px; }
}
/* ── 推荐候选人工作台 ───────────────────────────────────────────────────── */
.me-shell-main-inner:has(.jrp-shell) { max-width: none; width: 100%; }
.jrp-shell { width: 100%; max-width: 1480px; margin: 0 auto; padding: 26px 0 44px; color: #171717; box-sizing: border-box; }
.jrp-shell *, .jrp-shell *::before, .jrp-shell *::after { box-sizing: border-box; }
.jrp-head { margin-bottom: 20px; }
.jrp-back { display: inline-flex; margin-bottom: 20px; color: #777; text-decoration: none; font-size: 14px; }
.jrp-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.jrp-eyebrow { margin: 0 0 6px; color: #999; font-size: 13px; letter-spacing: .06em; }
.jrp-title-row h1 { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: 1.06; letter-spacing: -.04em; }
.jrp-tabs { display: flex; gap: 8px; }
.jrp-tabs a { padding: 10px 14px; border: 1px solid #ddd; border-radius: 999px; color: #555; text-decoration: none; font-size: 14px; }
.jrp-tabs a.is-active { border-color: #171717; color: #fff; background: #171717; }
.jrp-tabs span { margin-left: 4px; opacity: .7; }
.jrp-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; min-height: 34px; color: #777; font-size: 13px; }
.jrp-status strong { color: #333; font-size: 14px; }
.jrp-status button { border: 0; padding: 0; background: transparent; color: #ff7a1a; cursor: pointer; font: inherit; }
.jrp-poll-warning { color: #9a521b; }
.jrp-dot,.jrp-pulse { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #48aa6a; }
.jrp-status--failed .jrp-dot { background: #c74343; }
.jrp-status--partial .jrp-dot { background: #d98532; }
.jrp-status--empty .jrp-dot,.jrp-status--idle .jrp-dot { background: #999; }
.jrp-pulse { background: #ff8b36; box-shadow: 0 0 0 0 rgba(255,139,54,.35); animation: jrp-pulse 1.5s infinite; }
@keyframes jrp-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,139,54,0); } 100% { box-shadow: 0 0 0 0 rgba(255,139,54,0); } }
.jrp-error { margin: 0 0 14px; color: #b42318; font-size: 14px; }
.jrp-grid { display: grid; grid-template-columns: minmax(250px,.78fr) minmax(400px,1.35fr) minmax(330px,1fr); gap: 18px; }
.jrp-column { height: clamp(560px, calc(100vh - 260px), 760px); min-height: 0; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 8px 30px rgba(20,20,20,.07); }
.jrp-column-head { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 14px; font-weight: 650; }
.jrp-column-head small { color: #999; font-size: 12px; font-weight: 450; }
.jrp-scroll { height: calc(100% - 54px); overflow: auto; overscroll-behavior: contain; padding: 6px 20px 28px; scrollbar-width: thin; }
.jrp-list .jrp-scroll { padding: 4px 10px 20px; }
.jrp-person { width: 100%; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 15px 12px; border: 0; border-radius: 16px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.jrp-person:hover { background: #f7f7f5; }
.jrp-person.is-active { background: #171717; color: #fff; }
.jrp-person.is-arriving { animation: jrp-person-arrive .46s cubic-bezier(.22,.8,.3,1) both; animation-delay: var(--jrp-arrival-delay,0ms); }
@keyframes jrp-person-arrive { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.jrp-rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #efefec; color: #555; font-size: 12px; }
.jrp-person.is-active .jrp-rank { background: #fff; color: #171717; }
.jrp-person-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jrp-person-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.jrp-person-copy small { color: #999; font-size: 11px; }
.jrp-person.is-active small { color: #aaa; }
.jrp-score { font-size: 12px; font-weight: 650; white-space: nowrap; }
.jrp-kicker { margin: 10px 0 6px; color: #ff7a1a; font-size: 12px; }
.jrp-profile h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.03em; }
.jrp-summary { margin: 0 0 24px; color: #555; font-size: 15px; line-height: 1.75; }
.jrp-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0 0 26px; }
.jrp-facts div { padding: 12px 0; }
.jrp-facts dt { color: #999; font-size: 11px; }
.jrp-facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 650; }
.jrp-profile section,.jrp-evidence section { margin-top: 28px; }
.jrp-profile h3,.jrp-evidence h3 { margin: 0 0 12px; font-size: 14px; }
.jrp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.jrp-chips span { padding: 7px 10px; border: 1px solid #e5e5e2; border-radius: 999px; font-size: 12px; }
.jrp-works { display: grid; gap: 10px; }
.jrp-works article { padding: 14px 0; }
.jrp-works strong { font-size: 14px; }
.jrp-works p { margin: 6px 0 0; color: #777; font-size: 13px; line-height: 1.55; }
.jrp-privacy { margin: 30px 0 0; color: #999; font-size: 12px; line-height: 1.65; }
.jrp-review-note { margin: 26px 0 0; color: #9a521b; font-size: 13px; line-height: 1.65; }
.jrp-score-card { padding: 10px 0 18px; }
.jrp-score-card span { display: block; color: #999; font-size: 11px; }
.jrp-score-card strong { display: block; margin-top: 5px; font-size: 28px; letter-spacing: -.03em; }
.jrp-check { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 10px 0; }
.jrp-check > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eff8f1; color: #238046; font-size: 12px; }
.jrp-check--fail > span,.jrp-check--miss > span { background: #fff0ee; color: #b42318; }
.jrp-check--unknown > span { background: #f1f1ef; color: #777; }
.jrp-check--partial > span { background: #fff4e8; color: #ae5b18; }
.jrp-check p { margin: 1px 0 0; }
.jrp-check strong { display: block; font-size: 13px; line-height: 1.45; }
.jrp-check small { display: block; margin-top: 4px; color: #999; font-size: 11px; }
.jrp-section-help { margin: -4px 0 10px; color: #888; font-size: 12px; line-height: 1.55; }
.jrp-gaps { margin: 0; padding-left: 18px; color: #666; font-size: 13px; line-height: 1.65; }
.jrp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: sticky; bottom: -28px; margin: 30px -20px -28px; padding: 16px 20px 20px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.jrp-action-error { flex: 0 0 100%; margin: 0; color: #b42318; font-size: 12px; line-height: 1.45; }
.jrp-dismiss { border: 0; background: transparent; color: #888; cursor: pointer; }
.jrp-empty { min-height: 420px; display: grid; place-content: center; justify-items: start; max-width: 520px; margin: 0 auto; }
.jrp-empty h2 { margin: 0 0 10px; font-size: 28px; }
.jrp-empty p { margin: 0 0 20px; color: #777; line-height: 1.7; }
.jrp-person-placeholder { width: 100%; min-height: 72px; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 15px 12px; }
.jrp-person-placeholder .jrp-rank { color: #aaa; background: #f4f4f1; }
.jrp-placeholder-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.jrp-loading-line { display: block; height: 10px; border-radius: 999px; background: linear-gradient(100deg,#efefec 20%,#fafaf8 36%,#efefec 52%); background-size: 300% 100%; animation: jrp-shimmer 1.6s ease-in-out infinite; }
.jrp-loading-line--name { width: min(138px,75%); height: 12px; }
.jrp-loading-line--meta { width: min(96px,55%); height: 8px; }
.jrp-loading-line--score { width: 42px; height: 18px; }
.jrp-loading-profile { padding-top: 18px; }
.jrp-loading-note { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 38px; }
.jrp-loading-note p { margin: 0; }
.jrp-loading-note strong { display: block; font-size: 15px; line-height: 1.45; }
.jrp-loading-note small { display: block; max-width: 520px; margin-top: 5px; color: #888; font-size: 12px; line-height: 1.65; }
.jrp-loading-mark { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #ff8b36; box-shadow: 0 0 0 0 rgba(255,139,54,.3); animation: jrp-pulse 1.5s infinite; }
.jrp-loading-line--kicker { width: 72px; height: 8px; margin-bottom: 12px; }
.jrp-loading-line--title { width: min(280px,70%); height: 24px; margin-bottom: 22px; }
.jrp-loading-line--body { width: 100%; height: 11px; margin-bottom: 10px; }
.jrp-loading-line--short { width: 74%; }
.jrp-loading-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 34px 0; }
.jrp-loading-facts .jrp-loading-line { height: 50px; border-radius: 12px; }
.jrp-loading-line--section { width: 88px; height: 11px; margin-bottom: 18px; }
.jrp-loading-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jrp-loading-chips .jrp-loading-line { width: 76px; height: 30px; }
.jrp-loading-chips .jrp-loading-line:nth-child(2),.jrp-loading-chips .jrp-loading-line:nth-child(4) { width: 98px; }
.jrp-loading-evidence { padding-top: 18px; }
.jrp-loading-evidence > p { margin: 0 0 30px; color: #888; font-size: 13px; line-height: 1.65; }
.jrp-loading-check { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 11px; padding: 12px 0; }
.jrp-loading-check > .jrp-loading-line { width: 24px; height: 24px; }
.jrp-loading-check > span { display: grid; gap: 8px; padding-top: 2px; }
.jrp-loading-check > span .jrp-loading-line:first-child { width: 86%; height: 10px; }
.jrp-loading-check > span .jrp-loading-line:last-child { width: 58%; height: 8px; }
@keyframes jrp-shimmer { to { background-position: -100% 0; } }
@media (max-width: 1280px) {
  .jrp-shell { width: min(100% - 30px, 820px); }
  .jrp-grid { grid-template-columns: 240px minmax(0,1fr); }
  .jrp-evidence { grid-column: 2; }
  .jrp-column { height: 620px; }
}
@media (max-width: 720px) {
  .jrp-shell { width: calc(100% - 24px); padding-top: 16px; }
  .jrp-title-row { align-items: flex-start; flex-direction: column; }
  .jrp-tabs { width: 100%; }
  .jrp-tabs a { flex: 1; text-align: center; }
  .jrp-grid { grid-template-columns: 1fr; }
  .jrp-column { height: min(62vh, 560px); border-radius: 18px; }
  .jrp-list { height: auto; max-height: 330px; }
  .jrp-list .jrp-scroll { max-height: 270px; }
  .jrp-evidence { grid-column: 1; }
  .jrp-facts { grid-template-columns: 1fr 1fr; }
  .jrp-grid--loading .jrp-list { max-height: none; }
  .jrp-grid--loading .jrp-list .jrp-scroll { max-height: none; }
  .jrp-grid--loading .jrp-profile,.jrp-grid--loading .jrp-evidence { height: auto; min-height: 360px; }
  .jrp-loading-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .jrp-pulse,.jrp-loading-mark,.jrp-loading-line,.jrp-person.is-arriving { animation: none; }
}
