/* 团队投递看板三栏详情样式 —— 从 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; }
/* 「未选中变淡」只作用在头像 + 内容上，不碰未读蓝点 —— 蓝点要始终醒目、起提醒作用，
   绝不能把 opacity 加在整行上（否则蓝点会被父级 opacity 一起压暗）。
   压到 0.5：白底上等于盖一层白色蒙版，未选中明显往后退、选中行才是焦点（0.8 太接近、焦点飘）。 */
.fancy-job.fa-row:not(.active) .fa-av,
.fancy-job.fa-row:not(.active) .fa-main { opacity: 0.5; }
.fancy-job.fa-row.is-err .fa-av,
.fancy-job.fa-row.is-err .fa-main { opacity: 0.6; }
/* 选中态：淡底统一用「一封信」卡的底色 #f5f5f7；覆盖 .cv-list li.active 的 accent 色。 */
.fancy-job.fa-row.active { background: #f5f5f7; 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;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fa-meta { display: flex; align-items: center; }
/* 标签(匹配/态度/时间)都在这一个 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: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #ececef; color: #3c3c43; font-size: 14px; 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 { display: flex; flex-direction: column; gap: 14px; width: 100%; background: #f5f5f7; border: 1px solid #efefef;
  border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 3px 0 rgba(0,0,0,0.02); }
.cvx-letter-head { display: flex; align-items: center; gap: 4px; }
.cvx-letter-ic { width: 20px; height: 20px; flex: 0 0 auto; display: block; }
.cvx-letter-ic svg { width: 20px; height: 20px; display: block; }
.cvx-letter-label { color: #86868b; font-size: 13px; font-weight: 500; letter-spacing: -0.2px; }
.cvx-letter-text { color: #7d7a75; font-size: 15px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; cursor: text; }
.cvx-letter:not(.is-open) .cvx-letter-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cvx-letter-empty { color: #a1a1a6; }
.cvx-letter-more { display: inline-flex; 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; }
/* 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); }
/* Section */
.cvx-sec { display: flex; flex-direction: column; gap: 32px; width: 100%; }
/* 段头统一（设计稿 1214:5971）：图标 20 / 文案 13 Medium #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: 13px; font-weight: 500; 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; }
.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;
  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-img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; display: block; }
.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 0.18s ease; }
.cvx-chev2 svg { width: 14px; height: 14px; display: block; }
.cvx-item.is-open .cvx-chev2 { transform: rotate(0deg); }
.cvx-body { width: 100%; background: #f5f5f7; border: 1px solid #efefef; border-radius: 0 0 16px 16px;
  margin-top: -14px; padding: 24px 16px 16px; }
.cvx-item:not(.is-open) .cvx-body { display: none; }
/* 定位（点右栏某条要求）：不再给命中项加高亮底，而是「淡化没命中的」——
   1) 未命中的大项（卡片 / 奖项行 / 技能块）整体降到 50% 透明度；
   2) 命中大项里、未命中的子项（经历要点）也降到 50%（仅当该大项确有命中子项时）。
   只在 .cvx.is-locating（已点某条要求）时生效；未定位时全部正常。 */
.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; gap: 6px; align-items: center; }
.cvx-link { color: #2e84fa; font-size: 13px; letter-spacing: -0.1px; }
.cvx-linkic { width: 12px; height: 12px; flex: 0 0 auto; display: block; }
.cvx-linkic svg { width: 12px; height: 12px; display: block; }
/* 工作 / 其他经历 / 教育 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-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 { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.cvx-sk-label { color: #111; font-size: 15px; letter-spacing: -0.2px; }
.cvx-sk-val { color: #8e8e8e; 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; }
.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; align-items: center; gap: 14px; padding: 16px 20px; flex-shrink: 0; }
/* 复用 .ov-back 视觉，但顶栏里要行内排（不悬浮）：去掉 absolute 定位，跟标题同排。 */
.tib-detail-top .ov-back { position: static; top: auto; left: auto; z-index: auto; flex-shrink: 0; text-decoration: none; }
/* 标题 + 「收到 N 封 CV · M 未读」叠成一组；.tib-detail-top 的 align-items:center
   让左边「← 投递看板」按钮相对这两行垂直居中。 */
.tib-detail-titlegroup { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tib-detail-title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.3px; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tib-detail-subtitle { margin: 0; font-size: 13px; color: #86868b; }

/* 标题「切换职位」浮窗：点标题弹下拉，选其它 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);
}
.tib-jobpick-hd { padding: 8px 12px 6px; font-size: 11px; color: #a1a1a6; letter-spacing: 0.02em; }
.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;
}
/* 不加外框描边/圆角，三栏直接铺满到视图右缘；只用列间 border-left 分隔 + 顶部一条线与标题分开 */
/* 列宽：CV(中) 给真实 min(400) 保证阅读体验，绝不缩成一团；窄了先压左右两栏，再到下面断点竖排。 */
.tib-detail { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(280px, 340px) minmax(400px, 1fr) minmax(320px, 400px); border: 0; border-top: 1px solid #ececef; overflow: hidden; background: #fff; color: var(--text); }
.tib-detail-col { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.tib-detail-col + .tib-detail-col { border-left: 1px solid #ececef; }

/* 中栏浮动处置控件：约面 / 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; }
/* 正文底部留空，最后一段能滚到浮动条上方、不被挡。原件 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);
}
.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);
}
.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-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-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 { border-bottom: 0; padding-left: 56px; padding-right: 56px; }
.tib-cvhead { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.tib-cvhead-av { width: 32px; height: 32px; 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: 5px; }
/* 名字 + 收藏心 同一行：心紧贴名字右侧（对齐左侧列表行的样式），名字过长则省略、心不挤走。 */
.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! 主页：名字旁的描边小 pill「↗ 主页」，新标签打开主站主页。 */
.tib-cvhead-profile { flex-shrink: 0; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid #ececef; font-size: 12px; line-height: 1; color: #86868b; text-decoration: none; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.tib-cvhead-profile:hover { color: #2e84fa; border-color: #cfe0fd; background: #f5f9ff; }
.tib-cvhead-profile svg { width: 11px; height: 11px; flex-shrink: 0; }
/* 身份已搬到吸顶头 → 隐藏 CV 渲染里重复的身份行（一封信 / 联系方式仍在正文）。 */
.tib-cv-scroll .cvx-htop { display: none; }

/* 列表不留左右内边距：选中行 #f7f7f7 高亮直接铺满整列、无左右空隙。 */
.tib-applicants { list-style: none; margin: 0; padding: 0; overflow-y: auto; overflow-x: hidden; flex: 1; }
/* 第一列固定宽，行内元素一律收缩、不撑出横向滚动；记录之间不用分割线（留白分组，对齐设计系统 §1.3/§1.4）。 */
.tib-applicants .fancy-job.fa-row { width: 100%; box-sizing: border-box; min-width: 0; border-bottom: 0; }
.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: 1; background: #fff; }
.tib-sec-head {
  display: flex; align-items: center; gap: 6px; width: 100%;
  background: none; border: 0; cursor: pointer; font: inherit; text-align: left;
  padding: 18px 20px 8px; color: #86868b;
}
.tib-sec-head-li:first-child .tib-sec-head { padding-top: 12px; }
.tib-sec-head:hover { color: #1d1d1f; }
.tib-sec-chev { flex: none; opacity: .55; transition: transform .15s ease, 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-cv-scroll, .tib-ai-scroll { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; }
/* CV 渲染自带对称 56px 内边距：列不再叠加 padding（否则双重内缩 + 长内容易左右不均），
   再用 min-width:0 + overflow-x:hidden 防止代码行/长链接横向溢出把右侧顶出去。 */
.tib-cv-scroll { padding: 0; }
/* 右列无头部栏：评估面板自带「逐条评估」标题，直接留白（对齐 Figma C3 的 36/40/48） */
.tib-ai-scroll { padding: 36px 32px 48px; }
/* 仅作品集（无 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; }
.tib-pdf-frame { flex: 1; border: 0; width: 100%; background: #f5f5f5; }
/* 排序列头：去掉「排序」字，分段控件居中。 */
.tib-detail-head--sort { justify-content: center; }
.tib-sortseg { flex-shrink: 0; transform: scale(0.86); transform-origin: center; }
/* 4 个排序段（多了「处置」）：收窄每段内边距，整条不挤出窄列。 */
.tib-sortseg .ft-seg-item { padding: 0 11px; }
.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 { color: #ff4d6d; font-size: 12px; margin-right: 4px; line-height: 1; }

/* 申请人头像：有 Bonjour! 主页头像就显示图片（裁成圆），否则 .fa-av 自带的首字母圆底。 */
.tib-applicants .fa-av { overflow: hidden; }
.tib-applicants .fa-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 原件 PDF：签名 URL 重定向 + PDF 加载较慢，盖一层转圈 spinner，iframe onLoad 后撤掉。 */
.tib-pdf-wrap { position: relative; flex: 1; min-height: 0; display: flex; }
.tib-pdf-loading {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; background: #f5f5f5;
}
.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); } }

/* 上传的作品集文件卡：「查看文件」做成可点蓝链 */
.cvx-link-a { color: #2e84fa; text-decoration: none; }
.cvx-link-a:hover { text-decoration: underline; }
/* 作品链接做成可点 <a>：文字 + 箭头同行，hover 只给文字下划线、不连箭头。 */
.cvx-link-row { display: inline-flex; align-items: center; gap: 4px; }
.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; }

/* ── 逐条评估面板 v2（Figma 1166:2975「C3 Reasoning」）：标题 + 统计行 + 逐条 ── */
.eval2 { display: flex; flex-direction: column; gap: 18px; }
.eval2-loading { font-size: 13px; color: #86868b; }
.eval2-head { display: flex; flex-direction: column; gap: 10px; }
.eval2-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: #111; }
.eval2-title svg { flex: 0 0 auto; }
.eval2-sub { margin: 0; font-size: 15px; color: #a1a1a6; }
.eval2-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #86868b; letter-spacing: -0.1px; }
.eval2-sep { color: #a1a1a6; }
.eval2-core { font-weight: 700; color: #2e84fa; }
.eval2-weak { display: inline-flex; align-items: center; gap: 7px; color: #86868b; font-size: 13.5px; }
.eval2-weak svg { flex: 0 0 auto; }
.eval2-reason { font-size: 13px; color: #3c3c43; line-height: 1.6; }
.eval2-reqs { display: flex; flex-direction: column; gap: 22px; }
/* 档位小节（必备 / 强加分 / 锦上添花）：留白分组、无分割线；小节标题对齐面板头部内容线（左边缘 0）。 */
.eval2-group { display: flex; flex-direction: column; gap: 4px; }
.eval2-group-label { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: #86868b; letter-spacing: -0.2px; }
.eval2-group-reqs { display: flex; flex-direction: column; }
/* 投递诚意行：态度标签 + 诚意描述（对齐逐条文案的左缩进 10px）。 */
.eval2-att { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 10px; }
.eval2-att-note { margin: 0; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.6; color: #86868b; overflow-wrap: anywhere; }
.eval2-req {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 10px; padding: 8px 10px; 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: 14.5px; line-height: 1.5; color: #1d1d1f; letter-spacing: -0.1px; overflow-wrap: anywhere; }

/* ── 三栏详情响应式：优先保中栏 CV 阅读体验 ───────────────────────────── */
/* 中等宽度：先压左右两栏（不动 CV 的 400 下限），让三栏在更窄时也撑得住。 */
@media (max-width: 1160px) {
  .tib-detail {
    grid-template-columns: minmax(232px, 280px) minmax(380px, 1fr) minmax(272px, 320px);
  }
  /* CV 正文左右大留白(56) 收一点，窄屏更舒展（投递记录同步收）。 */
  .tib-cv-scroll .cvx, .tib-submitted { padding: 32px 32px 44px; }
  .tib-detail-head--cv { padding-left: 32px; }
}

/* 窄屏：三栏挤不下 → 竖排堆叠，CV 拿满整宽（阅读最优）；整页滚动。
   左列表收成一段(内部滚)、不抢版面；AI 评估排到 CV 下面。 */
@media (max-width: 1000px) {
  .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; }
  .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; }
  /* 列：列头还在各自分段顶部；正文不再各自滚，跟随整页滚 → 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, .tib-submitted { padding: 28px 24px 44px; } /* 全宽下再收一点左右留白 */
  .tib-detail-head--cv { padding-left: 24px; }
}

/* 投递记录：候选人提交材料视图（复用 me-sig-* 卡片样式）。
   左右留白对齐 Bonjour! CV 正文（.cvx）：56 / 32(≤1160) / 24(≤1000)。 */
.tib-submitted { display: flex; flex-direction: column; gap: 28px; padding: 36px 56px 48px; }
.tib-submitted .me-sig-letter { font-size: 14px; color: #1d1d1f; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }

/* 约面回流：浮在处置控件上方的小卡 —— 已读 / 候选人回复 / 面试结果（⑦）。 */
.tib-iv {
  position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 6;
  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);
}
.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; }
