/* ============ 基础变量 ============ */
:root {
  --primary: #4f46e5;
  --primary-700: #3730a3;
  --primary-600: #4338ca;
  --primary-200: #c7d2fe;
  --primary-100: #e0e7ff;
  --primary-50: #eef2ff;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --success-fg: #15803d;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --warning-fg: #b45309;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --danger-fg: #b91c1c;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --info-fg: #0369a1;
  --purple: #7c3aed;
  --purple-bg: #ede9fe;
  --purple-fg: #6d28d9;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  /* 品牌渐变（20261120 个性化设置）：登录页 / logo / 启动遮罩此前是写死的颜色，
     抽出成变量，换配色时随主色一起变，避免出现「按钮换色了、登录页还是紫色」的割裂 */
  --brand-grad-a: #4f46e5;
  --brand-grad-b: #4338ca;
  --brand-grad-c: #1e3a8a;
  --brand-logo-a: #6366f1;
  --brand-logo-shadow: rgba(79, 70, 229, .35);
  --brand-boot-a: #eef2ff;
  --brand-boot-c: #ecfeff;
  --brand-boot-ink: #1B57A6;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .1), 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .1), 0 2px 4px -2px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, .08), 0 4px 6px -2px rgba(16, 24, 40, .03);
  --shadow-xl: 0 20px 24px -4px rgba(16, 24, 40, .1), 0 8px 8px -4px rgba(16, 24, 40, .04);

  --sidebar-w: 244px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
ul { margin: 0; padding: 0; list-style: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ============ 布局 ============ */
/* ============ 启动遮罩：JS 判断登录态前显示，避免闪系统界面 ============ */
.boot-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-boot-a) 0%, #f8fafc 45%, var(--brand-boot-c) 100%);
  transition: opacity .18s ease;
}
.boot-splash--hide { opacity: 0; pointer-events: none; }
.boot-splash__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.boot-splash__logo { font-size: 20px; font-weight: 700; color: var(--brand-boot-ink); letter-spacing: 1px; }
.boot-splash__spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--brand-boot-a); border-top-color: var(--brand-boot-ink);
  animation: bootspin .8s linear infinite;
}
@keyframes bootspin { to { transform: rotate(360deg); } }

.app { display: flex; min-height: 100vh; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content { flex: 1; padding: 24px 28px 48px; overflow-x: hidden; }

/* ============ 侧边栏 ============ */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar__brand { display: flex; align-items: center; gap: 10px; padding: 20px 18px; }
.brand__logo {
  width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-logo-a), var(--brand-grad-a));
  color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; letter-spacing: .5px;
  box-shadow: 0 4px 10px var(--brand-logo-shadow);
  flex: none; overflow: hidden; position: relative;
}
/* logo 图片存在时显示图片并隐藏文字兜底；图片缺失时被 onerror 移除，自动回退为「丰茂」字标 */
.brand__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__logo img ~ span { display: none; }
/* 侧边栏 / 浅色背景：只显示纯点阵 logo 本身，不套任何底色、边框与阴影 */
.brand__logo--mark {
  width: 46px; height: 34px; padding: 0; border-radius: 0;
  background: none; box-shadow: none; color: var(--gray-900); font-size: 13px;
}
/* 登录页品牌区的大号 logo：去掉衬底，全白 logo 直接置于渐变上 */
.brand__logo--lg,
.login__brand .brand__logo--lg {
  width: 82px; height: 60px; border-radius: 0; padding: 0;
  background: transparent; box-shadow: none;
  filter: drop-shadow(0 4px 14px rgba(255, 255, 255, .22));
}
.brand__name { font-weight: 700; font-size: 15px; color: var(--gray-900); }
.brand__sub { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

.nav { flex: 1; padding: 6px 12px; overflow-y: auto; }
.nav__group {
  font-size: 11px; color: var(--gray-400); font-weight: 600; letter-spacing: .06em;
  padding: 16px 10px 6px;
}
.nav__item {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm);
  color: var(--gray-600); font-weight: 500; margin-bottom: 2px; cursor: pointer; transition: .15s;
}
.nav__item:hover { background: var(--gray-100); color: var(--gray-900); }
.nav__item.is-active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.nav__icon { display: grid; place-items: center; width: 18px; height: 18px; }
.nav__icon svg { width: 18px; height: 18px; }
.nav__label { flex: 1; }
.nav__badge {
  background: var(--gray-100); color: var(--gray-600); font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 999px; min-width: 22px; text-align: center;
}
.nav__item.is-active .nav__badge { background: var(--primary-100); color: var(--primary); }
.nav__badge--warn { background: var(--warning-bg); color: var(--warning-fg); }

.sidebar__footer { padding: 12px; border-top: 1px solid var(--gray-200); }
/* 侧栏拖拽手柄（20261118）：贴着右缘 7px 热区——默认显示一条 2px 淡色竖线
   （让用户知道此处可以拖动），悬停 / 拖动时加深高亮；移动端抽屉模式（≤860px）不提供拖拽 */
.sidebar-resizer {
  position: absolute; top: 0; right: -3px; width: 7px; height: 100%;
  cursor: col-resize; z-index: 30; border-radius: 4px; transition: background .15s;
}
.sidebar-resizer::after {
  content: ''; position: absolute; right: 2px; top: 24vh; height: 52vh; width: 2px;
  background: var(--gray-200); border-radius: 2px;
}
.sidebar-resizer:hover, .sidebar-resizer.is-active { background: rgba(99, 102, 241, .25); }
.sidebar-resizer:hover::after, .sidebar-resizer.is-active::after { background: var(--primary); }
/* 侧栏窄模式（20261118）：拖窄到不足 216px 时自动切换为「图标布局」——
   隐藏菜单文字与用户信息文字（此前这些文字被挤成逐字竖排、非常死板）。
   紧凑观感：分组标题缩为居中短分割线（不占大行）、菜单项间距收紧、
   角标缩为右上小徽章、底部用户卡横排（头像 + 两个小图标按钮一排）；
   悬停菜单项有 title 提示补足文字。由 JS 在拖拽与恢复宽度时切换此类 */
.sidebar { transition: width .12s ease-out; }
/* 侧栏窄模式图标美化（20261126 第十三轮，用户反馈「缩窄后的图标不好看」）：
   旧版是「一排大小不一、18px 线宽 2 的孤零零线条图标 + 整条横幅高亮 + 徽章
   压在图标头上」，显得散、粗、挤。现统一为 42×42 圆角图标键帽：
   · 图标统一 22px / 线宽 1.7，选中态淡紫底 + 细描边 + 底部指示点；
   · 徽章浮到键帽右上角（白色描边小圆点），绝不遮住图标；
   · 分组线改渐变短线、上下留白匀称；底部头像与两个按钮统一 34px。
   仅作用于折叠态，展开态与 ≤860px 移动端抽屉完全不受影响 */
.sidebar--narrow .brand__text { display: none; }
.sidebar--narrow .sidebar__brand { justify-content: center; padding: 18px 8px 12px; }
.sidebar--narrow .brand__logo--mark { width: 44px; height: 32px; }
.sidebar--narrow .nav { padding: 6px 12px 14px; }
.sidebar--narrow .nav__group {
  display: flex; align-items: center; justify-content: center;
  height: 28px; padding: 0; margin: 6px 0 2px; font-size: 0;
  overflow: hidden; white-space: nowrap;
}
.sidebar--narrow .nav__group::before {
  content: ''; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gray-200) 25%, var(--gray-200) 75%, transparent);
}
.sidebar--narrow .nav__item {
  position: relative; width: 42px; height: 42px; margin: 0 auto 6px; padding: 0;
  justify-content: center; gap: 0; border-radius: 12px;
  color: var(--gray-500); background: transparent;
  box-shadow: inset 0 0 0 1px var(--gray-100);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sidebar--narrow .nav__icon { width: 22px; height: 22px; }
.sidebar--narrow .nav__icon svg {
  width: 22px; height: 22px; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.sidebar--narrow .nav__label { display: none; }
.sidebar--narrow .nav__item:hover {
  background: var(--gray-100); color: var(--gray-800); transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}
.sidebar--narrow .nav__item.is-active {
  background: var(--primary-50); color: var(--primary); font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--primary-100), 0 4px 12px rgba(79, 70, 229, .10);
}
.sidebar--narrow .nav__item.is-active .nav__icon svg { stroke-width: 1.9; }
.sidebar--narrow .nav__item.is-active::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--primary);
}
.sidebar--narrow .nav__badge,
.sidebar--narrow .nav__item.is-active .nav__badge {
  position: absolute; top: -4px; right: -6px; margin: 0; transform: none;
  min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px;
  font-size: 10px; border-radius: 999px; box-shadow: 0 0 0 2px #fff;
}
.sidebar--narrow .nav__badge--warn { box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(217, 119, 6, .18); }
.sidebar--narrow .nav__dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; }
.sidebar--narrow .sidebar__footer { padding: 12px 8px 14px; }
.sidebar--narrow .user-card { justify-content: center; gap: 8px; padding: 0; }
.sidebar--narrow .user-card__info { display: none; }
.sidebar--narrow .user-card .avatar--sm {
  width: 34px; height: 34px; font-size: 13px; border-radius: 12px;
  box-shadow: 0 3px 10px var(--brand-logo-shadow, rgba(79, 70, 229, .25));
}
.sidebar--narrow .user-card .btn--icon {
  width: 34px; height: 34px; padding: 0; border-radius: 12px;
  display: grid; place-items: center; color: var(--gray-500);
  background: var(--gray-50); border: 1px solid var(--gray-200);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sidebar--narrow .user-card .btn--icon:hover {
  background: var(--primary-50); color: var(--primary); border-color: var(--primary-100);
}
.sidebar--narrow .user-card .btn--icon svg { width: 18px; height: 18px; stroke-width: 1.7; }
@media (prefers-reduced-motion: reduce) {
  .sidebar--narrow .nav__item { transition: none; }
  .sidebar--narrow .nav__item:hover { transform: none; }
}
.user-card { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--radius-sm); }
.user-card__name { font-weight: 600; font-size: 13px; color: var(--gray-900); }
.user-card__role { font-size: 11px; color: var(--gray-400); }

/* ============ 顶栏 ============ */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px;
}
/* 标题区弹性收缩保护（桌面窄窗口）：右侧搜索框 / 状态徽标 / 按钮合计近 900px，
   不加保护会把标题压成一字一行的竖排——left 设为可收缩 + 文本省略号兜底 */
.topbar__left { flex: 1 1 auto; min-width: 0; }
.topbar__title { font-size: 20px; font-weight: 700; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__sub { font-size: 12.5px; color: var(--gray-500); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__right { display: flex; align-items: center; gap: 10px; flex: none; }

.search { position: relative; display: flex; align-items: center; min-width: 0; }
.search__icon { position: absolute; left: 10px; display: grid; place-items: center; color: var(--gray-400); }
.search__icon svg { width: 16px; height: 16px; }
.search input {
  width: 260px; max-width: 26vw; padding: 9px 12px 9px 32px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--gray-50); color: var(--gray-800); transition: .15s;
}
.search input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.search input::placeholder { color: var(--gray-400); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); border-radius: var(--radius-sm);
  font-weight: 500; cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: var(--gray-50); border-color: var(--gray-300); }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-600); border-color: var(--primary-600); }
.btn--danger { color: var(--danger); border-color: #fecaca; background: #fff; }
.btn--danger:hover { background: var(--danger-bg); }
.btn--ghost { border-color: transparent; background: transparent; }
.btn--ghost:hover { background: var(--gray-100); }
.btn--sm { padding: 5px 10px; font-size: 12.5px; }
.btn--icon { padding: 8px; border-radius: var(--radius-sm); position: relative; }
.btn--icon .dot {
  position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger); border: 1.5px solid #fff;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ============ 卡片 / 网格 ============ */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--gray-200);
}
.card__title { font-size: 14.5px; font-weight: 700; color: var(--gray-900); }
.card__desc { font-size: 12px; color: var(--gray-400); margin-top: 2px; font-weight: 400; }
.card__body { padding: 18px; }
.card__body--flush { padding: 0; }

.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--kpi { grid-template-columns: repeat(5, 1fr); }
.grid--2-1 { grid-template-columns: 2fr 1fr; }
.grid--1-2 { grid-template-columns: 1fr 2fr; }
/* 并排卡片等高对齐：card 拉满，body 自动伸展 */
.grid--2-1 > .card, .grid--1-2 > .card { display: flex; flex-direction: column; height: 100%; }
.grid--2-1 > .card .card__body, .grid--1-2 > .card .card__body { flex: 1; min-height: 0; }
.grid--2-1 .card__body--flush, .grid--1-2 .card__body--flush { display: flex; flex-direction: column; }
.grid--2-1 .card__body--flush > *, .grid--1-2 .card__body--flush > * { flex: none; }

@media (max-width: 1280px) {
  .grid--4, .grid--kpi { grid-template-columns: repeat(3, 1fr); }
  .grid--2-1, .grid--1-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .grid--3, .grid--2, .grid--4, .grid--kpi { grid-template-columns: repeat(2, 1fr); }
}

/* ============ KPI ============ */
.kpi { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.kpi__top { display: flex; align-items: center; justify-content: space-between; }
.kpi__label { font-size: 12.5px; color: var(--gray-500); font-weight: 500; }
.kpi__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.kpi__icon svg { width: 17px; height: 17px; }
.kpi__value { font-size: 26px; font-weight: 700; color: var(--gray-900); line-height: 1.1; }
.kpi__value small { font-size: 13px; font-weight: 600; color: var(--gray-400); margin-left: 3px; }
.kpi__foot { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-500); }
.trend { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 12px; }
.trend svg { width: 13px; height: 13px; }
.trend--up { color: var(--success); }
.trend--down { color: var(--danger); }

/* ============ 面试安排 KPI（主题色卡片） ============ */
/* 通过 --kpi-* 变量注入主题色：柔和渐变底 + 右上角光斑 + 悬浮抬升 */
.kpi--theme {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--kpi-bg) 0%, #fff 62%);
  border-color: var(--kpi-bd);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.kpi--theme::before {
  content: ''; position: absolute; right: -28px; top: -28px; width: 96px; height: 96px;
  border-radius: 50%; background: var(--kpi-accent); opacity: .13; pointer-events: none;
}
.kpi--theme::after {
  content: ''; position: absolute; right: 34px; bottom: -40px; width: 70px; height: 70px;
  border-radius: 50%; background: var(--kpi-accent); opacity: .08; pointer-events: none;
}
.kpi--theme .kpi__icon { background: var(--kpi-accent); color: var(--kpi-fg); width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 14px -8px var(--kpi-accent); }
.kpi--theme .kpi__label { color: var(--kpi-fg); font-weight: 600; opacity: .85; }
.kpi--theme .kpi__value { color: var(--kpi-fg); font-size: 28px; letter-spacing: -.02em; }
.kpi--theme .kpi__pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--kpi-bd);
  color: var(--kpi-fg); font-weight: 600; line-height: 18px;
}
/* 悬停反馈只用「边框 + 阴影」，不做位移，避免鼠标经过时元素跳动 */
.kpi--theme:hover { border-color: var(--kpi-accent); box-shadow: 0 14px 26px -18px var(--kpi-shadow); }

/* ============ 徽章 / 标签 ============ */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 18px;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
/* 徽章内嵌图标：不约束会被压成细条或撑出默认尺寸 */
.badge svg { width: 12px; height: 12px; flex: none; }
.badge--gray { background: var(--gray-100); color: var(--gray-600); }
.badge--green { background: var(--success-bg); color: var(--success-fg); }
.badge--yellow { background: var(--warning-bg); color: var(--warning-fg); }
.badge--red { background: var(--danger-bg); color: var(--danger-fg); }
.badge--blue { background: var(--info-bg); color: var(--info-fg); }
.badge--indigo { background: var(--primary-50); color: var(--primary); }
.badge--purple { background: var(--purple-bg); color: var(--purple-fg); }
.tag {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 12px;
  background: var(--gray-100); color: var(--gray-600); margin: 0 6px 6px 0;
}
.tag--primary { background: var(--primary-50); color: var(--primary); }

/* ============ 头像 ============ */
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 13px; flex-shrink: 0;
}
.avatar--sm { width: 28px; height: 28px; font-size: 12px; }
.avatar--lg { width: 52px; height: 52px; font-size: 18px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid #fff; margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--gray-500);
  padding: 11px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--gray-50); }
.table tbody tr:last-child td { border-bottom: none; }
.cell-strong { font-weight: 600; color: var(--gray-900); }
.cell-sub { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }

/* ============ 职位管理表格 ============ */
.job-cell { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.job-cell__logo {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.job-cell__info { min-width: 0; }
.job-cell__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-cell__id {
  margin-left: 6px; padding: 1px 6px; border-radius: 6px;
  font-size: 10.5px; font-weight: 500; color: var(--gray-400);
  background: var(--gray-100); vertical-align: 1px;
}
[data-list="jobs"] td:first-child { min-width: 210px; }
[data-list="jobs"] .cell-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.job-salary { font-weight: 700; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.cand-pill {
  display: inline-flex; align-items: baseline; gap: 2px; padding: 3px 10px; border-radius: 999px;
  background: var(--gray-100); font-weight: 700; font-size: 13px; color: var(--gray-800);
  font-variant-numeric: tabular-nums;
}
.cand-pill i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--gray-500); }
/* 候选人列表：列宽与断行优化 */
[data-list="cands"] td { vertical-align: middle; }
/* 整行所有字段在一屏内完整展示：不横向滚动、不左右滑动。
   列宽策略见下方「表格显示完整性」段（auto 自适应，徽章完整显示） */
[data-list="cands"] { overflow-x: hidden; }
[data-list="cands"] th, [data-list="cands"] td { padding-left: 9px; padding-right: 9px; }
/* 阶段列竖排堆叠（20261118「信息一屏放下，不需要横向滑动」）：
   状态徽章纵向排列——列宽由最宽的一个徽章决定（约 110px），不再被横排长徽章撑出横向滚动 */
.stagecol { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.stagecol .badge { max-width: 100%; }
/* 表格列宽固定（20261119）：此前为避免长徽章被截而用 auto 自适应，
   但阶段列已精简为单徽章、成绩摘要移出列表，内容都变短了；auto 下每行
   按最长内容撑列，列宽忽宽忽窄、表头与数据不齐。改回 fixed + 合计 100%
   的均衡列宽，所有行列宽恒定一致；超长文本仍用单行省略（悬浮看全称）。 */
[data-list="cands"] .table { table-layout: fixed; }
[data-list="ivs"] .table { table-layout: fixed; }
[data-list] { overflow-x: auto; }
.table td .badge { overflow: visible; text-overflow: clip; }
[data-list="cands"] th:nth-child(1) { width: 21%; }  /* 候选人（头像 + 姓名 + 公司职位） */
[data-list="cands"] th:nth-child(2) { width: 14%; }  /* 应聘职位 */
[data-list="cands"] th:nth-child(3) { width: 10%; }  /* 来源 */
[data-list="cands"] th:nth-child(4) { width: 6%; }   /* 经验 */
[data-list="cands"] th:nth-child(5) { width: 9%; }   /* 期望薪资 */
[data-list="cands"] th:nth-child(6) { width: 7%; }   /* 评分 */
[data-list="cands"] th:nth-child(7) { width: 9%; }   /* 阶段（单徽章） */
[data-list="cands"] th:nth-child(8) { width: 13%; text-align: left; }  /* 投递时间：表头贴列首 */
[data-list="cands"] th:nth-child(9) { width: 11%; }  /* 操作（3 个图标按钮，靠左） */
/* 固定列宽下所有单元格统一左对齐 + 单行省略，避免长内容撑破或被硬裁 */
[data-list="cands"] td { white-space: nowrap; text-overflow: ellipsis; }
[data-list="cands"] td .cell-strong,
[data-list="cands"] td .cell-sub,
[data-list="cands"] td .badge { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* 单元格内容超出即省略，不撑破布局 */
[data-list="cands"] td { overflow: hidden; }
[data-list="cands"] td .cell-strong {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-list="cands"] td:nth-child(2) .cell-strong { max-width: none; }
[data-list="cands"] td:nth-child(2) .badge { margin-top: 4px; max-width: 100%; }
[data-list="cands"] .cell-user .cell-sub {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* 公司 · 职位副行限宽截断（20261119）：超长公司名/职位不再撑宽第一列，
     悬停行内文字可见完整简要信息（姓名性别年龄 + 公司 · 职位） */
  max-width: 200px;
}
[data-list="cands"] .cell-user > div { min-width: 0; flex: 1; }
[data-list="cands"] .cell-user { min-width: 0; }
[data-list="cands"] .cell-user .avatar { flex: none; }
/* 操作列：图标按钮紧凑排布，保证 5 个操作完整可见 */
/* 操作列按钮与表头「操作」一样贴列首（20261119）：此前 flex-end 把 3 个按钮
   推到列的右边缘，与左对齐的表头错位、右侧留一大片空白 */
[data-list="cands"] .row-actions { flex-wrap: nowrap; justify-content: flex-start; gap: 2px; }
[data-list="cands"] .row-actions .btn { min-width: 26px; padding: 0 5px; }
[data-list="jobs"] .row-actions .btn--ghost {
  border-radius: 8px; opacity: .55; transition: opacity .14s ease, background .14s ease, color .14s ease;
}
[data-list="jobs"] tr:hover .row-actions .btn--ghost { opacity: 1; }
[data-list="jobs"] .row-actions .btn--ghost:hover { background: var(--primary); color: #fff; }

/* ============ 分页（列表不滚动，改用翻页） ============ */
[data-list] { scroll-margin-top: 16px; }
.pager {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid var(--gray-200); background: var(--gray-50);
  border-radius: 0 0 var(--radius) var(--radius);
}
.pager__info { font-size: 12.5px; color: var(--gray-500); }
.pager__info b { color: var(--gray-800); font-weight: 700; }
.pager__ctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager__size {
  width: auto; padding: 5px 26px 5px 9px; font-size: 12.5px; color: var(--gray-600);
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; cursor: pointer;
  background-position: right 7px center;
}
.pager__btn, .pager__num {
  min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--gray-200); background: #fff;
  border-radius: var(--radius-sm); color: var(--gray-600); font-size: 12.5px; cursor: pointer; transition: .15s;
}
.pager__num { padding: 0; font-weight: 600; }
.pager__btn:hover:not(:disabled), .pager__num:hover:not(.is-active) {
  border-color: var(--primary); color: var(--primary); background: var(--primary-50);
}
.pager__num.is-active {
  background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(79, 70, 229, .25);
}
.pager__btn:disabled, .pager__btn:disabled:hover {
  opacity: .45; cursor: not-allowed; border-color: var(--gray-200); color: var(--gray-400); background: #fff;
}

/* ============ 新建职位：AI 快捷区 ============ */
.ai-box {
  display: flex; flex-direction: column; gap: 10px; padding: 14px;
  border: 1px solid var(--primary-100); border-radius: var(--radius);
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 60%, #fdf4ff 100%);
}
.ai-box__row { display: flex; gap: 8px; align-items: center; }
.ai-box__row .input, .ai-box__row .select { flex: 1; min-width: 0; background: #fff; }
.ai-box__row .btn { white-space: nowrap; }
.ai-box__badge {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--primary);
  background: #fff; border: 1px solid var(--primary-100); border-radius: 999px; padding: 4px 10px;
  box-shadow: var(--shadow-xs);
}

/* ============ 表单 ============ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12.5px; font-weight: 600; color: var(--gray-700); }
.field__label i { color: var(--danger); font-style: normal; }
.input, .select, .textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: #fff; color: var(--gray-800); transition: .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; padding-right: 30px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--1 { grid-template-columns: 1fr; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============ 筛选栏 ============ */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200); background: #fff; border-radius: var(--radius) var(--radius) 0 0;
}
.filters .input, .filters .select { width: auto; min-width: 148px; }
.filters__spacer { flex: 1; }
/* 候选人管理筛选栏（20261119）：控件较多（搜索 + 5 个下拉 + 3 个按钮），
   默认 wrap 会换成两排。这里强制一排——所有输入/下拉按剩余宽度弹性均分、
   可收缩，按钮保持自然宽度，中间的 spacer 不再占位。窄屏见媒体查询恢复换行。 */
.filters.filters--cands { flex-wrap: nowrap; gap: 8px; }
.filters.filters--cands > .input,
.filters.filters--cands > .select { flex: 1 1 0; min-width: 0; width: auto; }
.filters.filters--cands > .input { flex-grow: 1.4; }
.filters.filters--cands > #fSort { flex-grow: 1.3; }
.filters.filters--cands > .filters__spacer { display: none; }
.filters.filters--cands > .btn { flex: 0 0 auto; }
.segmented { display: inline-flex; background: var(--gray-100); border-radius: var(--radius-sm); padding: 3px; }
.segmented button {
  border: none; background: transparent; padding: 6px 12px; border-radius: 6px; cursor: pointer;
  color: var(--gray-600); font-weight: 500; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px;
}
.segmented button svg { width: 15px; height: 15px; }
.segmented button.is-active { background: #fff; color: var(--gray-900); box-shadow: var(--shadow-xs); font-weight: 600; }

/* ============ 进度条 ============ */
.progress { height: 7px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; border-radius: 999px; background: var(--primary); transition: width .4s; }
.progress--slim { height: 5px; }

/* ============ 空状态 ============ */
.empty { padding: 56px 20px; text-align: center; color: var(--gray-400); }
.empty svg { width: 44px; height: 44px; margin-bottom: 10px; opacity: .6; }
.empty__title { font-weight: 600; color: var(--gray-600); margin-bottom: 4px; }

/* ============ 模态框 ============ */
.overlay {
  position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  overflow-y: auto;   /* 弹窗比视口还高时整体可滚，不把头 / 脚裁掉（20261120） */
  animation: fadeIn .16s ease;
}
.modal {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px;
  /* 88vh 再叠加上下各 24px padding 会溢出小窗口；margin:auto 让超高时从顶部排起 */
  max-height: min(88vh, calc(100vh - 48px));
  margin: auto;
  display: flex; flex-direction: column; box-shadow: var(--shadow-xl);
  animation: popIn .18s ease;
}
.modal--wide { max-width: 760px; }
/* 弹窗三段式布局（20261120）：head / foot 固定不收缩，body 才是唯一滚动区。
   此前 body 没有 min-height:0，flex 子项按内容撑高，长内容（如发布弹窗的
   文件清单 + 更新日志）会把整个 .modal 撑破 88vh，底部「立即发布 / 确定」
   按钮被顶出可视区、被页面内容挡住。现在内容再长也只在 body 内部滚动。 */
.modal__head {
  flex: 0 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--gray-200);
}
.modal__title { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.modal__desc { font-size: 12.5px; color: var(--gray-500); margin-top: 3px; }
.modal__body {
  flex: 1 1 auto; min-height: 0;              /* 关键：允许收缩到内容以下，overflow-y 才会生效 */
  padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
}
.modal__foot {
  flex: 0 0 auto;                              /* 底部操作区恒可见，绝不被内容顶出去 */
  display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--gray-200);
  background: var(--gray-50); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  position: relative; z-index: 1;              /* 与滚动内容重叠时按钮仍在最上层可点 */
}

/* ============ 抽屉 ============ */
.drawer-overlay { position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 100; animation: fadeIn .16s ease; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 92vw; background: #fff; z-index: 101;
  display: flex; flex-direction: column; box-shadow: var(--shadow-xl); animation: slideIn .22s cubic-bezier(.3, .8, .4, 1);
}
.drawer__head { padding: 18px 20px; border-bottom: 1px solid var(--gray-200); display: flex; gap: 12px; align-items: flex-start; }
.drawer__title { font-size: 17px; font-weight: 700; color: var(--gray-900); }
.drawer__sub { font-size: 12.5px; color: var(--gray-500); margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
/* 详情抽屉底部操作排（20261124「按钮放到一排」）：原来 flex-wrap:wrap 会在抽屉
   稍窄（如打开开发者工具 / 小屏）时把「安排面试」挤到第二行，用户要求固定一排：
   不换行，超宽时整排横向滑动（滚动条隐藏，触摸板 / 手势可滑），同时按钮压缩到
   btn--sm 规格（图标 13px / 字号 12.5px / 高度统一 28px），520px 抽屉内
   阶段下拉 + 编辑 + 查询链接 + 重新评分 + 安排面试完整一排放得下 */
.drawer__foot {
  padding: 14px 20px; border-top: 1px solid var(--gray-200);
  display: flex; flex-wrap: nowrap; gap: 6px; background: var(--gray-50);
  overflow-x: auto; scrollbar-width: none;
}
.drawer__foot::-webkit-scrollbar { display: none; }
.drawer__foot .btn, .drawer__foot .select {
  white-space: nowrap; flex-shrink: 0; gap: 4px;
  padding: 5px 9px; font-size: 12.5px;
  height: 28px; min-height: 0; box-sizing: border-box;
}
.drawer__foot .btn svg { width: 13px; height: 13px; }

/* ============ 内置线上面试间 ============ */
.room { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.room__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* 自适应加固（20261118「换台电脑不变形」）：右栏也要防内容撑破（min-width:0）；
   回放页内容宽（录制 + 对话经过），窗口 1240px 以下就提前折叠为单列 */
.room__side { min-width: 0; }
@media (max-width: 1240px) { .room--replay { grid-template-columns: minmax(0, 1fr); } }
/* 桌面小窗口兜底：窗口介于 701~1100px（半屏 / 分屏办公常见）时，主内容区保持 980px
   最小宽度——出现横向滚动而不是把卡片挤成一条竖排窄条；手机端（视口 ≤700px）
   不受影响，继续走响应式单列 */
@media (min-width: 701px) and (max-width: 1100px) {
  #view { min-width: 980px; }
}
.room__head { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between;
  padding: 16px 18px; background: linear-gradient(180deg, #fff, #fbfbfe);
  border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: var(--shadow-xs); }
.room__title { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.room__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; font-size: 12.5px; color: var(--gray-500); }
.room__sub-item { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.room__sub-item > span { min-width: 0; }
.room__sub svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
.room__sub-item svg { margin-right: 0; flex: none; }
.room__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* 16:9：与常见前置摄像头的画面比例一致，人脸不会被裁掉一截 */
.room__tile { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #1c2740 0%, #101828 58%, #0b1220 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
  display: flex; align-items: center; justify-content: center; }
.room__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 自视图镜像：前置摄像头看起来像照镜子，抬手方向才不会拧着；
   共享屏幕时不加这个类——镜像会让画面里的文字反过来 */
.room__video.is-mirror { transform: scaleX(-1); }
.room__ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #e2e8f0; }
.room__ph-name { font-size: 15px; font-weight: 600; color: #f8fafc; }
.room__ph-state { font-size: 12px; color: #94a3b8; }
.room__tag { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px;
  background: rgba(15, 23, 42, .68); color: #e2e8f0; font-size: 11.5px; }
.room__tile--me { outline: 2px solid var(--primary); outline-offset: -2px; }
.room__bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: var(--shadow-xs); }
.room__bar .btn svg { width: 14px; height: 14px; }
.room__bar .btn { border-radius: 10px; }
.room__tip { display: flex; gap: 8px; padding: 10px 14px; background: var(--primary-50); border: 1px solid #e0e7ff;
  border-radius: var(--radius); font-size: 12.5px; color: #3730a3; line-height: 1.6; }
.room__tip svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; }
/* 候选人极简模式：单列布局，问题字幕叠在 AI 窗口上，回答条悬浮其下 */
.room--solo { grid-template-columns: minmax(0, 1fr); }
.room__caption { position: absolute; left: 12px; right: 12px; bottom: 40px; z-index: 2;
  padding: 10px 14px; border-radius: 12px; background: rgba(15, 23, 42, .74);
  border: 1px solid rgba(148, 163, 184, .28); backdrop-filter: blur(6px);
  color: #e2e8f0; font-size: 13px; line-height: 1.65; text-align: left;
  max-height: 52%; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
.room__caption:empty { display: none; }
.room__cap-q { font-weight: 600; color: #f8fafc; }
.room__cap-row { display: flex; align-items: center; gap: 8px; color: #cbd5e1; }
.room__cap-cd { font-size: 20px; font-weight: 700; color: #a5b4fc; font-variant-numeric: tabular-nums; }
.room__caption .room__ai-timer { color: #fbbf24; font-weight: 600; font-size: 12.5px; }
.room__livebar { display: flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 8px 10px; border-radius: 14px; background: #101828;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .22); }
.room__livebar:empty { display: none; }
.room__livebar .input { flex: 1; min-width: 0; height: 38px; border-radius: 10px;
  background: #1e293b; border: 1px solid #334155; color: #f1f5f9; }
.room__livebar .input::placeholder { color: #64748b; }
.room__livebar .btn { border-radius: 10px; white-space: nowrap; }
.room__livebar .room__recbar { margin-bottom: 0; flex: none; }
.room__bar-tip { color: #94a3b8; font-size: 13px; padding: 0 6px; }
/* 开放麦语音回答：识别文本实时展示（带聆听波纹），说完点「提交回答」提交（随时可提前提交） */
.room__voice-draft {
  flex: 1; min-width: 0; max-height: 66px; overflow-y: auto;
  padding: 8px 12px; background: var(--gray-100); border-radius: 10px;
  font-size: 13px; line-height: 1.5; color: var(--gray-700);
  display: flex; align-items: center; gap: 8px;
}
.room__voice-draft.is-empty { color: var(--gray-400); }
.mic-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.mic-wave i { width: 3px; height: 10px; border-radius: 2px; background: var(--primary);
  transform-origin: bottom; transition: transform .08s linear; animation: micWave 1s ease-in-out infinite; }
.mic-wave i:nth-child(2) { animation-delay: .2s; }
.mic-wave i:nth-child(3) { animation-delay: .4s; }
@keyframes micWave { 0%, 100% { height: 4px; opacity: .5; } 50% { height: 14px; opacity: 1; } }
.room__side { display: flex; flex-direction: column; gap: 14px; }

/* 面试回放（只读）：两栏底边齐平。行高由右栏（纪要侧栏）自然高度决定；
   左栏对话列表绝对定位填充剩余空间——内容多时面板内滚动、少时均匀分布，两边都不留白 */
.room--replay { align-items: stretch; }
.room--replay .room__main, .room--replay .room__side { min-height: 100%; }
.room--replay .replay-card { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.room--replay .replay-card .card__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* 分享回放访客页（免登录）：独立于应用外壳的轻量布局 */
.guest-page { min-height: 100vh; background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 240px); padding: 28px 16px 40px; }
.guest-page__head { max-width: 960px; margin: 0 auto 16px; text-align: center; }
.guest-page__brand { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: #e0e7ff; border-radius: 999px; padding: 4px 14px; letter-spacing: .04em; }
.guest-page__title { margin-top: 10px; font-size: 20px; font-weight: 800; color: var(--gray-900); }
.guest-page__meta { margin-top: 4px; font-size: 13px; color: var(--gray-500); }
.guest-page__wrap { max-width: 960px; margin: 0 auto; }
.guest-page__foot { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--gray-400); }
/* 访客评价：评分星控件与评价列表（HR 端 / 访客页共用） */
.gev-row { margin-bottom: 10px; }
.gev-dims { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.gev-dim { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f8fafc; border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px 12px; }
.gev-dim__name { font-size: 13.5px; font-weight: 600; color: var(--gray-700); }
.stars { display: inline-flex; gap: 2px; }
.gev-star { font-style: normal; font-size: 20px; line-height: 1; color: #d1d5db; cursor: pointer; transition: color .12s, transform .12s; }
.gev-star:hover { transform: scale(1.15); color: #f59e0b; }
.gev-star.on { color: #f59e0b; }
.gev-item { padding: 10px 0; border-bottom: 1px dashed var(--gray-200); }
.gev-item:last-child { border-bottom: 0; }
.gev-item__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.gev-item__name { font-size: 13.5px; font-weight: 700; color: var(--gray-800); }
.gev-item__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-bottom: 6px; }
.gev-dim-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--gray-500); }
.gev-dim-line b { color: var(--gray-800); }
.gev-item__comment { font-size: 12.5px; color: var(--gray-600); background: #f8fafc; border-radius: 8px; padding: 8px 10px; }
.replay-tl__head {
  flex: none; display: flex; align-items: center; gap: 6px; margin: 0 0 8px;
  font-size: 12px; font-weight: 700; color: var(--gray-500); letter-spacing: .02em;
}
.replay-tl__head svg { width: 14px; height: 14px; color: var(--primary); }
.replay-tl {
  flex: 1; min-height: 180px; position: relative;
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px;
}
.replay-tl .note-tl {
  position: absolute; inset: 10px 12px; max-height: none;
  overflow-y: auto; overscroll-behavior: contain; justify-content: space-evenly;
  scrollbar-width: thin; scrollbar-color: var(--gray-200) transparent;
}
.replay-tl .note-tl::-webkit-scrollbar { width: 4px; }
.replay-tl .note-tl::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
.replay-tl .note-tl::-webkit-scrollbar-track { background: transparent; }
/* 系统事件与对话条目统一靠左：系统消息用左侧圆点标记的小字行，不再居中 */
.replay-tl .note-tl__item--sys {
  text-align: left; background: transparent; padding: 2px 10px 2px 16px; position: relative;
  color: var(--gray-400); font-size: 12px;
}
.replay-tl .note-tl__item--sys::before {
  content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-300);
}
.replay-tl .note-tl__item--sys .note-tl__meta { margin-bottom: 1px; }
/* 右栏纪要卡同样填满，末行（按钮 / 提示）贴卡片底部，卡内不留空 */
.room--replay .room__side > .card:last-child { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.room--replay .room__side > .card:last-child .card__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.room--replay .room__side > .card:last-child .card__body > :last-child { margin-top: auto; padding-top: 12px; }
/* 卡片标题内的装饰图标（AI 会议纪要等） */
.card__title svg { width: 15px; height: 15px; vertical-align: -2.5px; margin-right: 4px; color: var(--primary); }
/* AI 发言标记：面试官名字后的 AI 小徽章 */
.tag-ai {
  display: inline-block; margin-left: 5px; padding: 0 5px; height: 15px; line-height: 15px;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
  color: #7c3aed; background: #f3e8ff; border-radius: 4px; vertical-align: 1px;
}
/* 回放视图美化：纪要卡头部微底色、左侧信息区紧凑分隔 */
.room--replay .room__side > .card:last-child .card__head {
  background: linear-gradient(90deg, #f5f3ff, #fff 70%);
}
.room--replay .replay-card .card__head {
  background: linear-gradient(90deg, #f8fafc, #fff 70%);
}
.room--replay .replay-card .info-list { row-gap: 8px; }
.room__part { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--gray-200); }
.room__part:last-child { border-bottom: 0; }
.room__part-name { font-size: 13.5px; font-weight: 600; color: var(--gray-800); }
.room__msgs { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.room__msg { padding: 8px 10px; background: var(--gray-50); border-radius: 8px; }
.room__msg--hr { background: var(--primary-50); }
.room__msg-meta { font-size: 11.5px; color: var(--gray-400); margin-bottom: 3px; }
.room__msg-text { font-size: 13px; color: var(--gray-800); word-break: break-all; }
.room__send { display: flex; gap: 8px; margin-top: 10px; }
@media (max-width: 1080px) {
  .room { grid-template-columns: minmax(0, 1fr); }
  .room__videos { grid-template-columns: minmax(0, 1fr); }
}

/* ============ 区块 / 其它 ============ */
.section-title { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.section-title::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--primary); }
.info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-item__label { font-size: 12px; color: var(--gray-400); }
.info-item__value { font-size: 13.5px; color: var(--gray-800); font-weight: 500; }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 5px; bottom: 5px; width: 1.5px; background: var(--gray-200); }
.timeline__item { position: relative; padding-bottom: 16px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -19px; top: 4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--primary-100);
}
.timeline__title { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.timeline__meta { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.timeline__text { font-size: 12.5px; color: var(--gray-600); margin-top: 4px; line-height: 1.6; }

/* 工作经历要点列表 */
.tl-points { margin: 2px 0 0; padding-left: 15px; }
.tl-points li { font-size: 12.5px; color: var(--gray-600); line-height: 1.75; }
.tl-points li::marker { color: #a5b4fc; }

.stars { display: inline-flex; gap: 1px; color: #f59e0b; }
.stars svg { width: 13px; height: 13px; }
.stars .off { color: var(--gray-300); }

/* 初筛评分（0-100 分，低于 60 分为不达标） */
.score { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.score__unit { font-size: 11px; font-weight: 500; opacity: .7; margin-left: 1px; }
.score--green { color: #16a34a; }
.score--yellow { color: #d97706; }
.score--red { color: #dc2626; }

/* 面试间：录制状态条 + AI 会议纪要 */
.room__recbar { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  background: #fef2f2; color: #dc2626; font-size: 13px; font-weight: 600; width: fit-content;
  font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.room__rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc2626; animation: recBlink 1.2s infinite; }
@keyframes recBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.room__live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }
.room__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: recBlink 1.2s infinite; flex: none; }
.room__live-dot--idle { background: var(--gray-400); animation: none; }
.room__live-dot--done { background: #16a34a; animation: none; }
.note-details { border-top: 1px dashed var(--gray-200); padding-top: 8px; }
.note-details > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.note-tl { max-height: 320px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.note-tl__item { padding: 8px 10px; border-radius: 8px; background: var(--gray-50); font-size: 13px; line-height: 1.6; }
.note-tl__item--interviewer { background: #eef2ff; }
.note-tl__item--sys { background: transparent; color: var(--gray-500); font-size: 12px; }
.note-tl__meta { font-size: 12px; font-weight: 600; color: var(--gray-500); margin-bottom: 2px; }
.note-tl__text { color: var(--gray-800); }
.note-sum__brief { font-size: 13px; line-height: 1.7; color: var(--gray-800); background: var(--gray-50);
  border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.note-sum__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.note-sum__label { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.note-sum__grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.note-sum__grid li { font-size: 12px; line-height: 1.6; color: var(--gray-600); padding-left: 12px; position: relative; }
.note-sum__grid li.ok::before { content: '·'; position: absolute; left: 2px; color: #16a34a; font-weight: 800; }
.note-sum__grid li.warn::before { content: '·'; position: absolute; left: 2px; color: #d97706; font-weight: 800; }
.note-sum__advice { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--indigo-600, #4f46e5);
  background: #eef2ff; border-radius: 8px; padding: 10px 12px; line-height: 1.7; }
.note-sum__advice svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }

/* 面试总结报告 */
.report-btn { margin-top: 10px; }
.report { font-size: 14px; }
.report-head { display: flex; gap: 20px; align-items: center; border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px; margin-bottom: 16px; }
.report-score { text-align: center; min-width: 92px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.report-score__num { font-size: 42px; font-weight: 700; line-height: 1; color: #4f46e5; }
.report-head__info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.report-head__title { font-size: 17px; font-weight: 700; }
.report-rec { margin-top: 6px; padding: 7px 12px; background: #eef2ff; border-radius: 8px; font-size: 13px;
  display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.report-rec svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #4f46e5; }
.report-sec { margin: 16px 0; }
.report-sec__title { font-weight: 700; font-size: 13px; color: var(--gray-700); margin-bottom: 10px; }
.report-sec--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.report-dim { border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; }
.report-dim__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 13px; }
.report-dim__head b { color: #4f46e5; }
.report-bar { height: 6px; background: var(--gray-100); border-radius: 4px; overflow: hidden; margin: 6px 0; }
.report-bar i { display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #6366f1, #22c55e); }
.report-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.report-chip { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.report-chip--ok { background: #dcfce7; color: #15803d; }
.report-chip--miss { background: #fee2e2; color: #b91c1c; }
.report-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.report-list li { font-size: 13px; line-height: 1.6; }
.report-list li.ok::marker { content: '✅ '; }
.report-list li.warn::marker { content: '⚠️ '; }
.report-qa { border-left: 3px solid #c7d2fe; padding: 6px 12px; margin: 8px 0; background: #fafbff;
  border-radius: 0 8px 8px 0; }
.report-qa__q { font-size: 13px; font-weight: 600; }
.report-qa__a { font-size: 13px; color: var(--gray-600); margin-top: 4px; white-space: pre-wrap; line-height: 1.6; }
.report-suggest { padding: 12px 14px; background: #f5f3ff; border-radius: 10px; font-size: 13px;
  display: flex; gap: 8px; align-items: flex-start; line-height: 1.7; }
.report-suggest svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: #7c3aed; }

/* AI 面试官 */
.ai-chip { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.room__tile--ai .room__ph .avatar { box-shadow: 0 0 0 3px rgba(99, 102, 241, .35); }
.room__tile--speaking .room__ph .avatar { box-shadow: 0 0 0 3px rgba(99, 102, 241, .75), 0 0 18px rgba(99, 102, 241, .55);
  animation: aiPulse 1s infinite; }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, .75), 0 0 18px rgba(99, 102, 241, .55); }
  50% { box-shadow: 0 0 0 7px rgba(99, 102, 241, .25), 0 0 30px rgba(99, 102, 241, .75); } }

/* AI 面试官问答交互区 */
.room__ai-state { margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px;
  color: #4338ca; background: rgba(99, 102, 241, .08); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.room__ai-state svg { width: 14px; height: 14px; flex: none; }
/* AI 面试官头像（无摄像头，纯头像展示） */
.room__ai-avatar { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.room__ai-avatar svg { width: 26px; height: 26px; }
/* 开场倒计时 */
.room__cd { margin-top: 10px; padding: 14px; border-radius: 12px; background: #eef2ff;
  display: flex; flex-direction: column; align-items: center; gap: 6px; }
.room__cd-num { font-size: 36px; font-weight: 700; line-height: 1; color: #4f46e5; }
.room__cd-tip { font-size: 13px; color: #3730a3; }
/* 面试已结束：操作栏替换为只读提示 */
.room__ended { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  background: rgba(22, 163, 74, .08); color: #15803d; font-size: 14px; font-weight: 500; }
.room__ended svg { width: 16px; height: 16px; flex: none; }
.room__ai-answer { display: flex; gap: 6px; margin-top: 8px; }
.room__ai-answer .input { flex: 1; min-width: 0; }
.room__ai-answer .btn { flex: none; white-space: nowrap; }

.list-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--gray-100);
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--gray-50); }
.list-item__main { flex: 1; min-width: 0; }
.list-item__title { font-size: 13.5px; font-weight: 600; color: var(--gray-900); }
.list-item__sub { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ============ 看板 ============ */
.kanban { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.kanban__col {
  width: 272px; flex-shrink: 0; background: var(--gray-100); border-radius: var(--radius); padding: 10px;
  min-height: 200px;
}
.kanban__col.is-over { background: var(--primary-50); outline: 2px dashed var(--primary); }
.kanban__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.kanban__name { font-size: 13px; font-weight: 700; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.kanban__count { font-size: 11.5px; font-weight: 700; color: var(--gray-500); background: #fff; padding: 1px 7px; border-radius: 999px; }
.kanban__cards { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.kcard {
  background: #fff; border-radius: 10px; padding: 11px; box-shadow: var(--shadow-xs); cursor: grab;
  border: 1px solid transparent; transition: .15s;
}
.kcard:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.kcard.is-dragging { opacity: .45; }
.kcard__top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.kcard__name { font-size: 13.5px; font-weight: 600; color: var(--gray-900); }
.kcard__meta { font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.kcard__empty { text-align: center; color: var(--gray-400); font-size: 12px; padding: 14px 0; }
/* 看板列内翻页：每列 10 张卡 */
.kanban__pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.kanban__pager button {
  width: 26px; height: 26px; border: 1px solid var(--gray-200); background: #fff; border-radius: 7px;
  color: var(--gray-600); cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.kanban__pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.kanban__pager button:disabled { opacity: .4; cursor: not-allowed; }
.kanban__pager span { font-size: 12px; color: var(--gray-500); font-weight: 600; }

/* ============ 漏斗 / 图表 ============ */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel__row { display: grid; grid-template-columns: 74px 1fr 92px; align-items: center; gap: 12px; }
.funnel__label { font-size: 12.5px; color: var(--gray-600); font-weight: 500; }
.funnel__track { height: 26px; background: var(--gray-100); border-radius: 6px; overflow: hidden; }
.funnel__bar {
  height: 100%; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px; color: #fff; font-size: 11.5px; font-weight: 700; min-width: 30px; transition: width .5s;
}
.funnel__rate { font-size: 12px; color: var(--gray-500); text-align: right; }

/* ============ 招聘漏斗（新版） ============ */
.fnl { display: flex; flex-direction: column; }
.fnl__row {
  display: grid; grid-template-columns: 84px 1fr 96px; align-items: center; gap: 14px;
  padding: 5px 10px; border-radius: 10px; border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease;
}
.fnl__row:hover { background: linear-gradient(90deg, #f6f7ff, #fff); border-color: var(--primary-100); }
.fnl__name { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.fnl__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.fnl__track { height: 30px; background: var(--gray-100); border-radius: 9px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06); }
.fnl__bar {
  height: 100%; min-width: 36px; width: var(--w); border-radius: 9px;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 11px;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-shadow: 0 1px 2px rgba(15, 23, 42, .25);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .16) 0 5px, rgba(255, 255, 255, 0) 5px 11px),
    linear-gradient(90deg, var(--c1), var(--c2));
  animation: fnlGrow .85s cubic-bezier(.22, 1, .36, 1) both;
}
.fnl__row:hover .fnl__bar { filter: brightness(1.06); }
@keyframes fnlGrow { from { width: 0; opacity: .35; } to { width: var(--w); opacity: 1; } }
.fnl__meta { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.fnl__meta b { font-size: 15px; font-weight: 800; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.fnl__meta small { font-size: 11.5px; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.fnl__go { display: inline-flex; color: var(--primary); opacity: 0; transform: translateX(-3px); transition: all .18s ease; }
.fnl__go svg { width: 13px; height: 13px; }
.fnl__row:hover .fnl__go { opacity: 1; transform: none; }
.fnl__step { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 98px; }
.fnl__chip {
  display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0;
  font-size: 11px; color: var(--gray-500); background: #f8fafc;
  border: 1px solid var(--gray-200); border-radius: 999px; padding: 2px 9px;
}
.fnl__chip b { color: var(--primary); font-weight: 700; }
.fnl__line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--gray-200) 0 4px, transparent 4px 8px); }
.fnl__drop { font-size: 11px; color: var(--gray-400); flex-shrink: 0; }
.fnl__foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gray-200);
  font-size: 12px; color: var(--gray-500);
}
.fnl__foot b { font-size: 15px; color: var(--primary); font-weight: 800; }
.fnl__foot-sep { flex: 1; }
@media (max-width: 1180px) {
  .fnl__row { grid-template-columns: 68px 1fr 84px; gap: 10px; }
  .fnl__step { padding-left: 82px; }
  .fnl__drop { display: none; }
}

.bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; min-height: 210px; padding-top: 12px; }
/* 趋势图卡片：图表撑满剩余高度，与右侧卡片底部对齐 */
.card__body--chart { display: flex; flex-direction: column; }
.card__body--chart .bars { flex: 1; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: flex-end; }
.bars__bar { width: 100%; max-width: 42px; border-radius: 6px 6px 0 0; background: var(--primary); transition: height .5s; position: relative; }
.bars__bar:hover { opacity: .85; }
.bars__label { font-size: 11.5px; color: var(--gray-500); }
.bars__value { font-size: 11.5px; font-weight: 700; color: var(--gray-700); }

.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.legend__item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-600); }
.legend__dot { width: 9px; height: 9px; border-radius: 3px; }
/* 账号管理（主账号 / 子公司子账号） */
.acct__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }
/* 两栏卡片等高且内容撑满：左右卡片的上下边缘对齐，不留底部空洞 */
.acct__grid > .card { display: flex; flex-direction: column; }
.acct__grid > .card > .card__body { flex: 1; display: flex; flex-direction: column; }
.acct__grid .acct-stats { flex: 1; grid-auto-rows: 1fr; }
.acct__grid .rule-list { flex: 1; display: grid; grid-auto-rows: 1fr; align-content: stretch; }
.acct__grid .rule-item { align-items: center; }
.acct-main { display: flex; align-items: center; gap: 14px; }
.acct-main .avatar { width: 54px; height: 54px; font-size: 20px; flex: none; box-shadow: 0 4px 12px rgba(79, 110, 247, .25); }
.acct-main__info { flex: 1; min-width: 0; }
.acct-main__name { font-size: 17px; font-weight: 700; color: var(--gray-900); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-main__sub { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
/* 主账号信息瓦片 */
.acct-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed #e4eaf2; }
.acct-stat { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 10px; background: #f8fafc; border: 1px solid #eef2f7; transition: border-color .15s, box-shadow .15s; }
.acct-stat:hover { border-color: #dbe3ee; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); }
.acct-stat__icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.acct-stat__icon svg { width: 15px; height: 15px; }
.acct-stat__icon--blue { background: #e8edff; color: #4f6ef7; }
.acct-stat__icon--amber { background: #fef3c7; color: #b45309; }
.acct-stat__icon--green { background: #d1fae5; color: #059669; }
.acct-stat__icon--violet { background: #f3e8ff; color: #9333ea; }
.acct-stat__label { font-size: 11.5px; color: var(--gray-400); }
.acct-stat__value { font-size: 13.5px; font-weight: 600; color: var(--gray-800); margin-top: 2px; word-break: break-all; }
@media (max-width: 1280px) { .acct__grid { grid-template-columns: 1fr; } }

/* 账号体系说明：图标规则瓦片 */
.rule-list { display: flex; flex-direction: column; gap: 10px; }
.rule-item { display: flex; align-items: flex-start; gap: 11px; padding: 11px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #eef2f7; transition: border-color .15s, box-shadow .15s; }
.rule-item:hover { border-color: #dbe3ee; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); }
.rule-item__icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.rule-item__icon svg { width: 15px; height: 15px; }
.rule-item__body { min-width: 0; }
.rule-item__title { font-size: 13px; font-weight: 700; color: var(--gray-800); line-height: 1.4; }
.rule-item__desc { font-size: 12px; color: var(--gray-500); line-height: 1.6; margin-top: 2px; }
.rule-item--blue .rule-item__icon { background: #e8edff; color: #4f6ef7; }
.rule-item--violet .rule-item__icon { background: #f3e8ff; color: #9333ea; }
.rule-item--amber .rule-item__icon { background: #fef3c7; color: #b45309; }
.rule-item--green .rule-item__icon { background: #d1fae5; color: #059669; }
.rule-item--red .rule-item__icon { background: #ffe4e6; color: #e11d48; }

/* 渠道来源分布：紧凑条目（名称+数量 / 比例条） */
.src-row { display: block; padding: 11px 18px; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.src-row:last-child { border-bottom: none; }
.src-row:hover { background: #f8faff; }
.src-row__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.src-row__name { font-size: 13.5px; font-weight: 600; color: var(--gray-700); }
.src-row__num { font-size: 13.5px; font-weight: 700; color: var(--gray-900); }
.src-row__num i { font-style: normal; font-size: 12px; font-weight: 500; color: var(--gray-400); margin-left: 3px; }
.src-row__bar { height: 6px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.src-row__bar i { display: block; height: 100%; border-radius: 999px; }

/* ============ 周面试日程 ============ */
.wk { width: 100%; max-width: 100%; overflow: hidden; padding-bottom: 4px; }
/* 用 flex 等分，列宽 flex-basis:0 + min-width:0，保证 7 列永远撑不出容器 */
/* 每天一列：给足最小宽度，屏幕不够时整块横向滚动，避免字段被挤到显示不全 */
/* 每天等宽铺满容器：7 天一屏看全，不横向滚动也不出现半列 */
.wk__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; width: 100%; }
.wk__col {
  display: flex; flex-direction: column; min-width: 0; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; transition: border-color .16s ease;
}
.wk__col:hover { border-color: var(--gray-300); }
.wk__col--today { border-color: var(--primary); box-shadow: 0 8px 20px -12px rgba(79, 70, 229, .55); }
.wk__head {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 9px 11px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.wk__col--today .wk__head { background: linear-gradient(90deg, #eef2ff, #fbfbff); border-bottom-color: var(--primary-100); }
.wk__wd {
  display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden;
  font-size: 13px; font-weight: 700; color: var(--gray-800);
}
.wk__col--today .wk__wd { color: var(--primary); }
.wk__count {
  flex-shrink: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff;
  border: 1px solid var(--gray-200); color: var(--gray-600); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.wk__col--today .wk__count { background: var(--primary); border-color: var(--primary); color: #fff; }
.wk__date { flex-shrink: 0; font-size: 11.5px; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.wk__body {
  display: flex; flex-direction: column; gap: 9px; padding: 9px; min-width: 0;
  /* 恢复固定列高；touch-action + overscroll 保证触屏/滚轮在列内滚动不被外层劫持 */
  height: 460px;
  overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; background: #fcfcfd;
  scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent;
}
.wk__body::-webkit-scrollbar { width: 7px; }
.wk__body::-webkit-scrollbar-track { background: #f1f2f5; border-radius: 4px; }
.wk__body::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
.wk__body::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
/* 空列：无安排 居中铺满 */
.wk__body--empty { justify-content: stretch; }
.wk__body--empty .wk__empty {
  display: flex; align-items: center; justify-content: center; flex: 1; margin: 0; padding: 0;
}
.wk__slot { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex-shrink: 0; } /* 不收缩：内容超高时交给列滚动 */
.wk__slot-label { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; font-weight: 600; color: var(--gray-400); }
.wk__slot-label span { font-weight: 700; }
.wk__slot-label::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.wk__item {
  position: relative; min-width: 0; padding: 8px 9px 8px 12px; border-radius: 9px; cursor: pointer; overflow: hidden;
  background: var(--bg); border: 1px solid var(--bd); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.wk__item::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--c);
}
.wk__item:hover { border-color: var(--c); box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .35); }
.wk__time {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0;
  font-size: 13px; font-weight: 800; color: var(--c); font-variant-numeric: tabular-nums;
}
.wk__st { flex-shrink: 0; font-size: 10.5px; font-weight: 600; color: var(--gray-500); }
/* 姓名 / 职位 / 面试官完整显示：不再省略号截断，超宽自动换行 */
.wk__name, .wk__job, .wk__iv { min-width: 0; white-space: normal; overflow: visible; word-break: break-word; }
.wk__name { margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--gray-900); display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.wk__name .wk__job { font-weight: 500; }
.wk__job, .wk__iv { font-size: 11.5px; color: var(--gray-500); }
.wk__tags { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; margin-top: 6px; }
.wk__tag {
  max-width: 100%; font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px;
  white-space: normal; overflow: visible; word-break: break-word;
  background: #fff; border: 1px solid var(--bd); color: var(--c);
}
.wk__tag--plain { color: var(--gray-500); background: #f8fafc; border-color: var(--gray-200); }
.wk__empty {
  text-align: center; padding: 20px 0; font-size: 12px; color: var(--gray-400);
  border: 1px dashed var(--gray-200); border-radius: 9px;
}
/* 日程较多时底部渐隐，暗示可向下滚动 */
.wk__body--scroll { mask-image: linear-gradient(to bottom, #000 calc(100% - 18px), transparent); }
.wk__body--scroll::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 1180px) {
  .wk__body { height: 420px; }
}
/* 面试间智能答疑（常规问题库 + AI 自动回答） */
.room__faq { margin-top: 12px; }
.faq-log { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; padding: 2px; }
.faq-item { display: flex; flex-direction: column; gap: 4px; }
.faq-item__q {
  align-self: flex-end; max-width: 85%; padding: 7px 11px; border-radius: 12px 12px 2px 12px;
  background: var(--primary); color: #fff; font-size: 12.5px; line-height: 1.5;
}
.faq-item__a {
  align-self: flex-start; max-width: 92%; padding: 8px 11px; border-radius: 12px 12px 12px 2px;
  background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--gray-700);
  font-size: 12.5px; line-height: 1.6;
}
.faq-item__from { display: inline-block; margin-left: 6px; font-size: 10.5px; color: var(--gray-400); }
.faq-input-row { display: flex; gap: 8px; margin-top: 10px; }
.faq-input-row .input { flex: 1; }
/* HR 常规问题库设置行：问题 / 关键词 / 回答 / 删除 */
.faq-cfg-row { display: grid; grid-template-columns: 1fr 1fr 1.6fr auto; gap: 6px; margin-bottom: 6px; align-items: center; }
.faq-cfg-row .input { height: 30px; font-size: 12px; }
@media (max-width: 900px) { .faq-cfg-row { grid-template-columns: 1fr 1fr; } }
.wk__legend { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--gray-500); }
.wk__legend span { display: inline-flex; align-items: center; gap: 4px; }
.wk__legend i { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 1180px) {
  .wk__item { padding: 7px 8px 7px 10px; }
  .wk__name { font-size: 12px; }
}

/* ============ AI 导入候选人 ============ */
.imp-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 12px;
  padding: 22px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--gray-300); border-radius: 12px; background: var(--gray-50);
  transition: border-color .16s ease, background .16s ease;
}
.imp-drop:hover, .imp-drop.is-over { border-color: var(--primary); background: var(--primary-50, #eef2ff); }
.imp-drop__icon { display: inline-flex; width: 28px; height: 28px; color: var(--primary); }
.imp-drop__icon svg { width: 100%; height: 100%; }
.imp-drop__title { font-size: 13.5px; font-weight: 600; color: var(--gray-700); }
/* 新增候选人表单里的紧凑上传区 */
.imp-drop--slim { padding: 14px 16px; gap: 4px; margin-bottom: 10px; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; }
.imp-drop--slim .imp-drop__icon { width: 20px; height: 20px; }
.imp-drop--slim .text-muted { width: 100%; font-size: 12px; }
.imp-report {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 14px;
  border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; line-height: 1.6;
}
.imp-report__badge { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; color: #16a34a; margin-top: 2px; }
.imp-report__badge svg { width: 100%; height: 100%; }
.imp-exps { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); }

/* ============ Toast ============ */
.toast-root { position: fixed; top: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--gray-200);
  border-left: 3px solid var(--primary); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 11px 16px; min-width: 240px; animation: slideRight .22s ease;
}
.toast--success { border-left-color: var(--success); }
.toast--error { border-left-color: var(--danger); }
.toast--warn { border-left-color: var(--warning); }
.toast__icon { display: grid; place-items: center; }
.toast__icon svg { width: 17px; height: 17px; }
.toast__msg { font-size: 13px; font-weight: 500; color: var(--gray-800); }
.toast.is-out { animation: fadeOut .2s ease forwards; }

/* ============ 动画 ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(12px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ============ 工具类 ============ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.text-sm { font-size: 12.5px; }
.text-muted { color: var(--gray-500); }
/* 行内小图标（表格/正文里裸插的 SVG 统一收窄，避免按 viewBox 渲染成大图） */
.inline-icon { display: inline-flex; align-items: center; }
.inline-icon svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }

/* ===== 注册账号表（20261120）：固定列宽，姓名与注册时间强制单行 =====
   此前是内容自适应布局，「绑定档案」列里较长的诊断提示把该列撑得很宽，
   反过来把「姓名」「注册时间」挤到只剩两三个字宽——「任华杰」竖排成三行、
   「2026-11-20」断成两行。现在 7 列固定列宽，长提示只在自己那一列内换行，
   姓名与注册时间恒定单行、各行列线对齐。 */
.table--portal { table-layout: fixed; }
.table--portal th:nth-child(1) { width: 36px; }   /* 勾选框 */
/* 20261126 第二十轮：用户要求「属于当列的内容要居中标题，且标题与标题之间要等距」。
   旧版 5 个数据列 15/15/30/13/24 宽度不等，标题又左对齐 → 标题间距忽远忽近
   （实测 155/232/222/190px），操作列标题靠左、按钮靠右更是完全错位。
   现在 5 个数据列统一 19% 等宽，标题与内容一律居中 → 列中心严格等距
   （实测相邻标题中心差 197px × 4 完全相等），且每列内容对齐到自己的标题下。 */
.table--portal th:nth-child(2),
.table--portal th:nth-child(3),
.table--portal th:nth-child(4),
.table--portal th:nth-child(5),
.table--portal th:nth-child(6) { width: 19%; }
/* 标题居中、属于当列的内容也居中（含岗位块、操作按钮组） */
.table--portal th,
.table--portal td { text-align: center; }
.table--portal td:nth-child(6) .flex { justify-content: center; }
.table--portal .acct-jobs { margin-left: auto; margin-right: auto; }
/* 20261126 第二十一轮：用户要求「姓名和登录账号要对齐，不用居中」。
   这两列文本长短不一，居中会让左边缘参差不齐；改为左对齐后，标题与内容
   同一起始线、各行也对齐成一条竖线。只作用于第 2 / 3 列，其余列（绑定档案、
   注册时间、操作）保持上一轮的居中与 19% 等宽不变。 */
.table--portal th:nth-child(2),
.table--portal th:nth-child(3),
.table--portal td:nth-child(2),
.table--portal td:nth-child(3) { text-align: left; }
.table--portal td:nth-child(2) .flex { justify-content: flex-start; }
/* 表头 / 单元格纵向留白收紧：多行岗位堆叠时行高不虚胖，与单岗位行更齐整 */
.table--portal th { padding-top: 9px; padding-bottom: 9px; }
.table--portal td { padding-top: 9px; padding-bottom: 9px; }
/* 姓名、注册时间：强制一行，不再被相邻列挤压折行 */
.table--portal td:nth-child(2),
.table--portal td:nth-child(5) { white-space: nowrap; }
/* 名字超长时单行省略（一般 2–4 字，仅作防御，title 可看全称） */
.table--portal td:nth-child(2) .strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 登录账号、操作列同样单行，避免长账号撑破固定列宽（20261126 第十八轮「类型」列移除后重排） */
.table--portal td:nth-child(3),
.table--portal td:nth-child(6) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 绑定档案列保留完整提示，允许在其列内换行（不挤压其他列） */
.table--portal td:nth-child(4) { white-space: normal; overflow-wrap: anywhere; }

/* 账号管理 · 绑定档案列「岗位 + 区域」对齐列表（20261126 第十六轮）
   旧版把「共 N 个岗位 · 岗位_地区 薪资 / …」全挤在一行，长地名与薪资使单元格杂乱。
   现在每个岗位一行、两列严格对齐：岗位名（可点击跳职位详情）+ 区域标签。 */
/* 20261126 第十九轮：整块不再撑满「绑定档案」列——旧版 1fr 把区域标签推到最右，
   岗位名与「贵阳 / 黔南」中间空一大片。固定紧凑宽度，每行同宽 → 区域标签仍严格
   对齐，但成组贴近岗位名；右侧留白还给列间距，视觉不再松散 */
.acct-jobs { display: grid; gap: 3px; width: 100%; max-width: 208px; }
.acct-job {
  /* 20261126 第十八轮：由 <a> 深链改为 <button>（点击开抽屉、不跳路由），补按钮重置 */
  display: grid; grid-template-columns: minmax(0, 1fr) auto 10px; align-items: center;
  gap: 6px; padding: 3px 8px; border-radius: 6px; text-decoration: none;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  color: var(--gray-700); font-size: 12px; line-height: 1.35;
  width: 100%; text-align: left; font-family: inherit; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.acct-job:hover {
  background: var(--primary-50); border-color: var(--primary-100); color: var(--primary);
  transform: translateX(2px);
}
.acct-job__name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}
.acct-job__city {
  justify-self: end; max-width: 96px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; padding: 1px 6px; border-radius: 5px;
  background: var(--gray-100); color: var(--gray-500); font-size: 11px;
}
.acct-job:hover .acct-job__city { background: var(--primary-100); color: var(--primary-700, var(--primary)); }
.acct-job::after {
  content: '›'; font-size: 15px; line-height: 1; color: var(--gray-300); justify-self: end;
}
.acct-job:hover::after { color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .acct-job { transition: background .16s ease, border-color .16s ease, color .16s ease; }
  .acct-job:hover { transform: none; }
}

/* ===== 面试安排表：固定列宽统一（20261119）+ 单行省略悬浮看全 =====
   7 列百分比合计 100%（见下方 .table--ivs th:nth-child），所有行列宽恒定一致；
   超长内容一律单行省略，每个 td 的 title 带该格完整文本（鼠标停留可见）。 */
[data-list="ivs"] .table th { font-size: 12.5px; font-weight: 600; color: var(--gray-400); white-space: nowrap; padding-left: 10px; padding-right: 10px; }
[data-list="ivs"] td { padding: 11px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-list="ivs"] .cell-user { min-width: 0; }
[data-list="ivs"] .row-actions .btn { padding: 4px 9px; }
[data-list="ivs"] .cell-user > div { min-width: 0; }
[data-list="ivs"] .cell-strong, [data-list="ivs"] .cell-sub {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
/* 覆盖通用 .table td.ivcell 的 white-space:normal / min-width:150px，
   否则固定列宽会被竖排多行内容撑破 */
[data-list="ivs"] .table td.ivcell { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
[data-list="ivs"] td .ivline { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
[data-list="ivs"] .row-actions { flex-wrap: nowrap; justify-content: flex-end; }
[data-list="ivs"] .row-actions .btn { white-space: nowrap; }
[data-list="ivs"] .row-actions .btn--ghost { opacity: .5; transition: opacity .12s, background .12s, color .12s; }
[data-list="ivs"] tr:hover .row-actions .btn--ghost { opacity: 1; }
[data-list="ivs"] .row-actions .btn--ghost:hover { background: var(--primary); color: #fff; }

/* ===== Offer 管理表：与面试安排表同一套精修风格 ===== */
[data-list="offers"] .table th { font-size: 12.5px; font-weight: 600; color: var(--gray-400); white-space: nowrap; padding-left: 10px; padding-right: 10px; }
[data-list="offers"] td { padding: 11px 9px; }
[data-list="offers"] .cell-user { min-width: 140px; }
[data-list="offers"] .cell-user > div { min-width: 0; }
[data-list="offers"] .cell-strong, [data-list="offers"] .cell-sub {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px;
}
/* 薪资方案：主色加粗强调，倍数月数为小字灰注 */
.offer-pay { font-size: 14.5px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.offer-pay small { font-size: 12px; font-weight: 700; margin-left: 1px; }
.offer-pay span { display: block; font-size: 12px; font-weight: 500; color: var(--gray-400); }
[data-list="offers"] td:nth-child(2) .cell-sub { max-width: 150px; }
[data-list="offers"] td:nth-child(8) { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-list="offers"] .row-actions { flex-wrap: nowrap; justify-content: flex-end; }
[data-list="offers"] .row-actions .btn { white-space: nowrap; padding: 4px 8px; }
[data-list="offers"] .row-actions .btn--ghost { opacity: .5; transition: opacity .12s, background .12s, color .12s; }
[data-list="offers"] tr:hover .row-actions .btn--ghost { opacity: 1; }
[data-list="offers"] .row-actions .btn--ghost:hover { background: var(--primary); color: #fff; }
[data-list="offers"] tr { transition: background .12s; }
.strong { font-weight: 600; color: var(--gray-900); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

/* ============ 可点击下钻（看板 → 明细） ============ */
.card--link { position: relative; transition: box-shadow .16s ease, border-color .16s ease; }
.card--link:hover { box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .28); border-color: #c7d2fe; }
.kpi__go { margin-left: auto; display: inline-flex; opacity: 0; transform: translateX(-4px); transition: all .16s ease; color: var(--primary); }
.card--link:hover .kpi__go { opacity: 1; transform: none; }

/* 数据看板「待我处理」卡内的小节（最新动态）：与上方条目用分隔线区隔，节奏与列表一致 */
.dash-extra { border-top: 1px solid var(--gray-100); padding: 14px 18px 16px; background: linear-gradient(180deg, #fafbfe, #fff 60px); }
.dash-extra__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.dash-extra__title { font-size: 12px; font-weight: 700; color: var(--gray-500); letter-spacing: .04em; }
.dash-extra .timeline__title { font-weight: 500; }
.dash-extra .timeline__item--link:hover { background: transparent; }
.dash-extra .timeline__item--link:hover .timeline__title { color: var(--primary); }

/* 看板：部门进度 与 待办+最新动态 两卡等高，动态区超出内部滚动 */
.dash-eq { align-items: stretch; }
.dash-eq > .card { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.dash-eq .card__body--flush { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dash-eq .card__body--flush > * { flex: none; }
.dash-eq .dash-extra { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: 10px; }
.dash-eq .dash-extra__head { flex: none; }
.dash-eq .dash-extra .timeline {
  flex: 1; min-height: 0; overflow-y: auto; max-height: 316px;
  padding-right: 8px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--gray-200) transparent;
}
.dash-eq .dash-extra .timeline::-webkit-scrollbar { width: 4px; }
.dash-eq .dash-extra .timeline::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
.dash-eq .dash-extra .timeline::-webkit-scrollbar-track { background: transparent; }

.list-item--link { cursor: pointer; position: relative; padding-right: 26px; }
.list-item--link:hover { background: #f8fafc; }
.list-item--link .chev { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gray-400); opacity: 0; transition: opacity .16s ease; display: inline-flex; }
.list-item--link:hover .chev { opacity: 1; }
tr.tr--link { cursor: pointer; }
tr.tr--link:hover { background: #f8fafc; }
.timeline__item--link { cursor: pointer; transition: background .16s ease; }
.timeline__item--link:hover { background: #f5f6ff; }
.tag--link { cursor: pointer; transition: all .16s ease; }
.tag--link:hover { background: var(--primary-50); color: var(--primary); border-color: #c7d2fe; }
a.bars__col:hover .bars__bar { background: var(--primary-600); }
a.funnel__row:hover .funnel__label { color: var(--primary); }
.drawer__link { display: inline-flex; align-items: center; gap: 3px; color: var(--primary); font-weight: 600; }
.drawer__link:hover { text-decoration: underline; }
/* 链接尾箭头与列表 chev 的 SVG 固定小尺寸：无约束的 SVG 会默认撑满整行（巨箭头） */
.drawer__link svg, .chev svg { width: 14px; height: 14px; flex: none; }

/* ============ 筛选标签 ============ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--gray-200); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary); font-size: 12px; border: 1px solid #e0e7ff; }
.chip b { font-weight: 600; }
.chip__x { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 0;
  border-radius: 50%; background: rgba(79, 70, 229, .12); color: var(--primary); cursor: pointer; padding: 0; }
.chip__x svg { width: 10px; height: 10px; }
.chip__x:hover { background: var(--primary); color: #fff; }

/* ============ 关联体检 ============ */
.health { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.health__item { display: block; padding: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; transition: all .16s ease; }
.health__item:hover { border-color: #c7d2fe; background: #f8f9ff; }
.health__value { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.health__name { font-size: 13px; font-weight: 600; color: var(--gray-900); margin-top: 4px; }
.health__desc { font-size: 11.5px; color: var(--gray-500); margin-top: 2px; }

/* ============ 登录（双角色） ============ */
body.is-guest .app { display: none; }
.login-root:empty { display: none; }
.login-root {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 45%, #ecfeff 100%);
}
.login {
  display: grid; grid-template-columns: 1.05fr 1fr; width: min(960px, 100%);
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
}
.login__brand {
  position: relative; overflow: hidden;
  padding: 40px 36px; color: #fff;
  background: linear-gradient(160deg, var(--brand-grad-a) 0%, var(--brand-grad-b) 55%, var(--brand-grad-c) 100%);
  display: flex; flex-direction: column; gap: 14px;
}
.login__brand::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 68%);
  pointer-events: none;
}
.login__brand::after {
  content: ''; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 66%);
  pointer-events: none;
}
.login__brand > * { position: relative; z-index: 1; }
/* 登录页 logo 容器：无任何底色 / 边框 / 阴影，只显示 logo 本身 */
.login__brand .brand__logo { background: none; box-shadow: none; border-radius: 0; color: #fff; }
/* 头部：名称与 logo 居中排布 */
.login__brand-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.login__brand-title { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.login__brand-name { font-size: 32px; font-weight: 800; letter-spacing: 5px; line-height: 1.1; }
.login__brand-tag {
  font-size: 12px; letter-spacing: 5px; color: rgba(255, 255, 255, .75);
  padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
}
/* slogan：文字居中，两侧延伸线铺满整宽（两端对齐） */
.login__brand-slogan {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 6px; color: rgba(255, 255, 255, .92);
}
.login__brand-slogan::before,
.login__brand-slogan::after {
  content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .6));
}
.login__brand-slogan::after { transform: scaleX(-1); }
/* 亮点：玻璃拟态小卡片，与深色渐变形成层次 */
.login__brand-feats { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.login__brand-feats li {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
}
.login__brand-feats i {
  flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 7px;
  background: rgba(255, 255, 255, .9);
}
.login__brand-feats b { display: block; font-size: 13.5px; font-weight: 700; color: #fff; }
.login__brand-feats span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.login__brand-foot {
  margin-top: auto; padding-top: 12px; font-size: 11.5px; color: rgba(255, 255, 255, .55);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.login__panel {
  padding: 40px 36px; display: flex; align-items: center; justify-content: center; min-width: 0;
}
.login__form { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 320px; }
.login__form.is-hidden { display: none; }
.login__title { font-size: 21px; font-weight: 800; color: var(--gray-900); }
.login__sub { margin-top: -8px; font-size: 12.5px; color: var(--gray-500); line-height: 1.6; }
.login__fields { display: flex; flex-direction: column; gap: 12px; }
.login__switch { text-align: center; font-size: 12.5px; color: var(--gray-500); }
.login__switch button {
  padding: 0; border: 0; background: none; font-size: 12.5px; font-weight: 600;
  color: var(--primary); cursor: pointer;
}
.login__switch button:hover { text-decoration: underline; }
.login__pwd { position: relative; display: block; }
.login__pwd .input { padding-right: 40px; }
.login__eye {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--gray-400); cursor: pointer; transition: color .16s ease, background .16s ease;
}
.login__eye:hover { color: var(--gray-600); background: var(--gray-100); }
.login__eye svg { width: 15px; height: 15px; }
.login__eye.is-on { color: var(--primary); }
.login__err { min-height: 15px; font-size: 12px; color: var(--danger); }
.login__submit { justify-content: center; height: 42px; font-size: 14.5px; margin-top: -4px; }
@media (max-width: 860px) {
  /* 手机：整页铺满，品牌区压缩为紧凑头部，登录表单一屏可见。
     高度固定用 100vh（不用 svh/dvh）：iOS 键盘弹出会改变动态视口，
     用动态单位会让登录页高度反复重排、看起来一直在闪 */
  .login-root { align-items: flex-start; padding: 0; min-height: 100vh; }
  .login { width: 100%; min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; border: 0; box-shadow: none; }
  .login__brand { gap: 10px; padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 16px; }
  .login__brand::before { width: 190px; height: 190px; right: -64px; top: -64px; }
  .brand__logo--lg,
  .login__brand .brand__logo--lg { width: 54px; height: 40px; }
  .login__brand-head { align-items: center; }
  .login__brand-name { font-size: 21px; letter-spacing: 3px; }
  .login__brand-tag { font-size: 10.5px; letter-spacing: 3px; padding: 3px 10px; }
  .login__brand-slogan { font-size: 12px; letter-spacing: 4px; }
  /* 亮点介绍：手机上收紧间距与字号，保留全部文案且不挤出首屏 */
  .login__brand-feats { gap: 7px; margin-top: 6px; }
  .login__brand-feats li { gap: 8px; padding: 8px 11px; border-radius: 10px; }
  .login__brand-feats i { width: 5px; height: 5px; margin-top: 6px; }
  .login__brand-feats b { font-size: 12.5px; }
  .login__brand-feats span { margin-top: 1px; font-size: 10.5px; line-height: 1.45; }
  .login__brand-foot { padding-top: 8px; font-size: 10.5px; }
  .login__panel { padding: 22px 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .login__form { max-width: 420px; }
  .login__title { font-size: 19px; }
}
@media (max-width: 560px) {
  .login__form { max-width: 100%; }
}

/* ============ 对外公开页：投递窗口 / 进度查询 ============ */
.guest-root:empty { display: none; }
.guest-root {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 40%, #f8fafc 100%);
}
.pub { display: flex; flex-direction: column; min-height: 100vh; }
.pub__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--gray-200);
}
.pub__brand { display: flex; align-items: center; gap: 12px; }
.pub__logo {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: linear-gradient(160deg, #4f46e5, #4338ca);
  color: #fff; font-size: 13px; font-weight: 800;
}
.pub__name { font-size: 15px; font-weight: 800; color: var(--gray-900); }
.pub__desc { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.pub__nav { display: flex; gap: 4px; }
.pub__tab {
  padding: 7px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  color: var(--gray-600); transition: background .16s ease, color .16s ease;
}
.pub__tab:hover { background: var(--gray-100); color: var(--gray-900); }
.pub__tab.is-active { background: var(--primary-50); color: var(--primary); }
.pub__body {
  flex: 1; width: 100%; max-width: 880px; margin: 0 auto; padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 14px;
}
.pub__foot { padding: 16px 24px; text-align: center; font-size: 12px; color: var(--gray-400); }
.pub-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.pub-card--success { align-items: center; text-align: center; }
.pub-card__title { font-size: 17px; font-weight: 800; color: var(--gray-900); }
.pub-ok {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: #dcfce7; color: #16a34a;
}
.pub-ok svg { width: 26px; height: 26px; }
.pub-code {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: var(--gray-50); border: 1px dashed var(--gray-300);
}
.pub-code__label { font-size: 12px; color: var(--gray-500); }
.pub-code__value {
  font-size: 26px; font-weight: 800; letter-spacing: 4px; color: var(--primary);
  margin: 4px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pub-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.pub-form.is-hidden { display: none; }
.pub-form__submit { justify-content: center; height: 40px; }
.pub-form__err { min-height: 15px; font-size: 12px; color: var(--danger); }
.pub-hint { font-size: 12.5px; color: var(--gray-500); }
.pub-hint a { color: var(--primary); font-weight: 600; }
.pub-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
@media (max-width: 640px) {
  .pub__head { padding: 12px 16px; }
  .pub__body { padding: 18px 14px 32px; }
  .pub-card { padding: 18px 16px; }
}

/* ============ 候选人端：职位广场 / 我的投递 ============ */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.job-card {
  display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius); transition: border-color .16s ease, box-shadow .16s ease;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.job-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.job-card__title { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.job-card__salary { font-size: 18px; font-weight: 800; color: var(--warning); }
.job-card__meta { font-size: 12.5px; color: var(--gray-500); }
.job-card__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.job-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--gray-200);
}

.apply-card { padding: 16px; margin-bottom: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.apply-card:last-child { margin-bottom: 0; }
.apply-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.apply-card__title { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.apply-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--gray-500); }
.apply-card__notice {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px;
  border-radius: var(--radius-sm); background: var(--info-bg); color: var(--info-fg); font-size: 12.5px;
}
.apply-card__notice svg { width: 15px; height: 15px; flex-shrink: 0; }
.apply-card__notice > span { flex: 1; min-width: 0; }
.apply-card__notice > .btn { margin-left: auto; flex-shrink: 0; }
.apply-card__notice--offer { background: linear-gradient(135deg, #f5f3ff, #faf9ff); border: 1px solid #e3d9fe; color: var(--purple-fg); }
.apply-card__notice--offer > span:first-of-type svg { color: var(--purple-fg); }
.apply-card__notice--offer .cell-sub, .apply-card__notice--offer .text-muted { color: #7c6fae; }
.apply-card__note { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--gray-50); font-size: 12.5px; line-height: 1.55; color: var(--gray-600); }
.apply-card__note svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2.5px; color: var(--gray-400); }
.apply-card__note b { color: var(--gray-700); font-weight: 600; }
/* 标题 b（如「面试安排中」）不参与压缩：窄屏下曾被挤成两字一行的竖排 */
.apply-card__note > b:first-of-type { flex-shrink: 0; }

.steps { display: flex; align-items: center; gap: 4px; margin-top: 14px; }
.step { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-400); flex: 1; }
.step i {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gray-300);
  background: #fff; font-style: normal; font-size: 11px; font-weight: 700;
}
.step svg { width: 11px; height: 11px; }
.step::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.step:last-child::after { display: none; }
.step.is-done, .step.is-current { color: var(--primary); font-weight: 600; }
.step.is-done i, .step.is-current i { background: var(--primary); border-color: var(--primary); color: #fff; }
.steps--rejected {
  padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--danger-bg); color: var(--danger-fg); font-size: 12.5px;
}

/* ---------- 候选人移动端：我的投递卡片自适应，通知条按钮不再溢出屏幕 ---------- */
@media (max-width: 640px) {
  .apply-card { padding: 13px 12px; }
  /* 通知条改为两行：说明文本整行换行，按钮组独占一行，不与长文本挤同一行 */
  .apply-card__notice { flex-wrap: wrap; row-gap: 8px; padding: 9px 10px; }
  .apply-card__notice > span { flex: 1 1 100%; line-height: 1.6; word-break: break-all; }
  .apply-card__notice > span.flex { flex: 0 0 auto; width: 100%; justify-content: flex-start; }
  .apply-card__notice > .btn { margin-left: 0; }
  .apply-card__notice .btn { white-space: nowrap; }
  /* 步骤条压缩：5 项在 375px 宽度内不换行 */
  .steps { gap: 2px; }
  .step { gap: 4px; font-size: 10.5px; }
  .step i { width: 17px; height: 17px; font-size: 10px; }
  /* 标题行防挤压换行 */
  .apply-card__head { flex-wrap: wrap; }
}

/* AI 面试每题回答倒计时 */
.room__ai-timer { margin-left: 8px; color: #dc2626; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.room__ai-timer .btn--sm { padding: 3px 9px; font-weight: 600; white-space: nowrap; }
.room__ai-timer .btn.is-disabled { opacity: .5; pointer-events: none; }
.room__cap-tip { font-size: 12px; color: #94a3b8; font-weight: 500; white-space: normal; }

/* ===== 面试间配置 ===== */
.cfg__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; } /* 三卡等高，短卡内容均匀铺满不留大片空白 */
@media (max-width: 1160px) { .cfg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cfg__grid { grid-template-columns: 1fr; } }
.cfg__grid .card, .cfg__grid .card + .card { margin: 0; display: flex; flex-direction: column; }
.cfg__grid .card__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cfg__grid .cfg-form { flex: 1; align-content: start; row-gap: 20px; } /* 内容顶部对齐堆叠，固定行距，整齐不散乱 */
.cfg .card + .card { margin-top: 16px; }
.cfg__grid .card + .card { margin-top: 0; } /* 网格内三卡由 gap 控制间距，保持顶部齐平 */
.cfg-range { display: flex; align-items: center; gap: 12px; height: 30px; }
.cfg-range__input { flex: 1; min-width: 0; height: 5px; -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, #c7d2fe, #e2e8f0); border-radius: 999px; outline: none; cursor: pointer; }
.cfg-range__input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: #4f46e5; border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(79, 70, 229, .45); }
.cfg-range__input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #4f46e5;
  border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(79, 70, 229, .45); }
.cfg-range__val { min-width: 62px; flex: none; font-size: 13px; color: #475569; font-weight: 600; text-align: right; }
.cfg__foot { display: flex; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
/* ===== 面试间配置：布局与明细 ===== */
.cfg .card { border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.cfg .card__title { font-weight: 700; }
.cfg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.cfg-form--one { grid-template-columns: 1fr; }
.cfg-form .field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__hint { display: block; margin-top: 0; font-size: 12px; color: #94a3b8; line-height: 1.5; }
.cfg-range { margin-top: 0; }
.cfg-range__val { min-width: 58px; font-size: 12.5px; font-weight: 700; color: #4f46e5; background: #eef2ff; border-radius: 999px; padding: 3px 10px; text-align: center; white-space: nowrap; }
.cfg-test { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f0; flex-wrap: wrap; }
.cfg-info { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 40px; }
.cfg-sum { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
/* 子页签：面试明细 / 面试配置（下划线式） */
.cfg__tabs { display: flex; gap: 28px; margin-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.cfg__tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 2px; margin-bottom: -1px;
  border: none; border-bottom: 2px solid transparent; background: none; color: #64748b;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s; }
.cfg__tab svg { width: 15px; height: 15px; flex: none; }
.cfg__tab:hover { color: #4f46e5; }
.cfg__tab--on { color: #4f46e5; border-bottom-color: #4f46e5; }
/* 面试配置折叠块（位于配置预览下方） */
.cfg__block { margin-top: 16px; }
.cfg__block-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cfg__block-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 10px;
  border: 1px solid #c7d2fe; background: #eef2ff; color: #3730a3; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s; }
.cfg__block-btn svg { width: 15px; height: 15px; transition: transform .15s; }
.cfg__block-btn--on svg { transform: rotate(180deg); }
.cfg__block-btn:hover { background: #e0e7ff; }
.cfg__block-btn--on { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.cfg__block-btn--on:hover { background: #4338ca; }
.cfg__block .cfg__grid { margin-top: 14px; }
.cfg-sum__item { cursor: pointer; border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
.cfg-sum__item:hover { box-shadow: 0 2px 8px rgba(30, 40, 80, .12); border-color: var(--gray-200); }
.cfg-sum__item--on { outline: 2px solid #4f46e5; outline-offset: 1px; }
.num-tap { color: #4f46e5; font-weight: 600; cursor: pointer; border-bottom: 1px dashed #a5b4fc; }
.num-tap:hover { color: #3730a3; border-bottom-style: solid; }
.cell-who { display: flex; align-items: center; gap: 10px; }
.text-strong { font-weight: 600; }
@media (max-width: 900px) { .cfg-form, .cfg-info { grid-template-columns: 1fr; } }
.cfg .table-wrap { max-height: 480px; overflow-y: auto; border: 1px solid #eef2f7; border-radius: 10px; }
.cfg .table th { position: sticky; top: 0; background: #f8fafc; z-index: 1; }

/* ============ 评分指标设置 ============ */
.sc { display: flex; flex-direction: column; gap: 14px; }
/* 顶部总览 */
.sc-hero {
  padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--primary-100);
  background: linear-gradient(135deg, #eef2ff 0%, #f9fafb 62%);
}
.sc-hero__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sc-hero__title { font-size: 14.5px; font-weight: 700; color: var(--gray-900); }
.sc-hero__sub { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.sc-hero__sub b { color: var(--danger); }
.sc-hero__stats { display: flex; gap: 10px; }
.sc-stat {
  min-width: 72px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .85);
  border: 1px solid var(--gray-200); display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.sc-stat__v { font-size: 16px; font-weight: 700; color: var(--primary-600); font-variant-numeric: tabular-nums; line-height: 1.2; }
.sc-stat__l { font-size: 11px; color: var(--gray-500); }
.sc-stat--warn .sc-stat__v { color: var(--danger); }
/* 权重分布条 */
.sc-bar {
  display: flex; height: 10px; margin-top: 14px; border-radius: 999px; overflow: hidden;
  background: var(--gray-200); box-shadow: inset 0 1px 2px rgba(16, 24, 40, .08);
}
.sc-bar i { display: block; height: 100%; transition: width .2s ease; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sc-legend__item {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600); font-size: 12px;
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.sc-legend__item:hover { border-color: var(--sc); color: var(--sc); box-shadow: var(--shadow-xs); }
.sc-legend__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.sc-legend__item b { color: var(--sc); font-variant-numeric: tabular-nums; }
/* 指标页签 */
.sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600); font-size: 13px; font-weight: 600;
  transition: all .15s;
}
.sc-tab svg { width: 14px; height: 14px; flex: none; }
.sc-tab__w {
  font-size: 11px; font-weight: 700; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, #fff);
  border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums;
}
.sc-tab:hover { border-color: var(--sc); color: var(--sc); }
.sc-tab.is-active { background: var(--sc); border-color: var(--sc); color: #fff; box-shadow: 0 4px 10px rgba(79, 70, 229, .25); }
.sc-tab.is-active .sc-tab__w { background: rgba(255, 255, 255, .22); color: #fff; }
/* 指标卡片 */
.sc-panels { display: flex; flex-direction: column; gap: 12px; }
.sc-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; padding: 14px 16px;
  display: none; flex-direction: column; gap: 12px; border-left: 3px solid var(--sc);
  box-shadow: var(--shadow-xs);
}
.sc-card.is-active { display: flex; animation: scIn .18s ease; }
@keyframes scIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sc-card__head { display: flex; align-items: center; gap: 12px; }
.sc-card__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--sc) 12%, #fff); color: var(--sc);
}
.sc-card__icon svg { width: 17px; height: 17px; }
.sc-card__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sc-name {
  border: 1px solid transparent; background: transparent; font-size: 15px; font-weight: 700; color: var(--gray-900);
  padding: 3px 6px; border-radius: 6px; width: 100%; max-width: 260px;
}
.sc-name:hover { background: var(--gray-50); }
.sc-name:focus { border-color: var(--sc); background: #fff; }
.sc-card__unit { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gray-500); }
.sc-card__tag {
  padding: 1px 7px; border-radius: 4px; background: var(--gray-100); color: var(--gray-500);
  font-size: 11px; font-weight: 600; flex: none;
}
.sc-card__weight { display: flex; align-items: center; gap: 8px; flex: none; }
.sc-card__wlabel { font-size: 12px; color: var(--gray-500); }
.sc-card__wpct { font-size: 12px; color: var(--gray-500); }
.sc-range { width: 96px; accent-color: var(--sc); cursor: pointer; }
.sc-wnum { width: 62px; text-align: center; font-variant-numeric: tabular-nums; }
.sc-field { display: flex; align-items: center; gap: 10px; }
.sc-field__label { font-size: 12px; color: var(--gray-500); flex: none; }
.sc-field .input { flex: 1; min-width: 0; }
/* 分档表 */
.sc-tiers { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.sc-tier {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 118px 118px 92px 30px;
  align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--gray-100);
}
.sc-tier--head {
  background: var(--gray-50); font-size: 11.5px; color: var(--gray-500); font-weight: 600; padding: 7px 12px;
}
.sc-tier__no {
  width: 22px; height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--sc) 12%, #fff);
  color: var(--sc); font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
}
.sc-tier--head .sc-tier__no { background: var(--gray-200); color: var(--gray-500); }
.sc-tier__cell { display: flex; align-items: center; gap: 4px; }
.sc-tier__num { width: 100%; min-width: 0; text-align: center; font-variant-numeric: tabular-nums; }
.sc-tier__op { font-size: 12px; color: var(--gray-400); flex: none; }
.sc-tier__bar { height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.sc-tier__bar i { display: block; height: 100%; border-radius: 3px; transition: width .2s ease, background .2s ease; }
.sc-tier__del {
  width: 26px; height: 26px; border: none; background: transparent; color: var(--gray-400);
  border-radius: 6px; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.sc-tier__del svg { width: 14px; height: 14px; }
.sc-tier__del:hover { background: var(--danger-bg); color: var(--danger); }
.sc-tier:last-child { border-bottom: none; }
.sc-add {
  margin: 8px 12px; padding: 6px 12px; border: 1px dashed var(--gray-300); border-radius: 8px; background: #fff;
  color: var(--gray-600); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.sc-add svg { width: 13px; height: 13px; }
.sc-add:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.sc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sc-base { display: flex; align-items: center; gap: 8px; }
.sc-base__num { width: 68px; text-align: center; font-variant-numeric: tabular-nums; }
.sc-card__hint { font-size: 11.5px; color: var(--gray-400); line-height: 1.6; flex: 1; min-width: 220px; text-align: right; }
@media (max-width: 760px) {
  .sc-hero__stats { width: 100%; }
  .sc-card__head { flex-wrap: wrap; }
  .sc-tier { grid-template-columns: 26px minmax(0, 1fr) 92px 92px 30px; }
  .sc-tier__bar { display: none; }
  .sc-card__hint { text-align: left; }
}

/* ============ 候选人详情 · 评分依据 ============ */
.scd { border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; overflow: hidden; }
.scd__head {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: linear-gradient(135deg, #eef2ff, #f9fafb); border-bottom: 1px solid var(--gray-200);
}
.scd__score {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #fff; border: 1px solid var(--gray-200); font-size: 22px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.scd__score small { font-size: 10px; font-weight: 500; color: var(--gray-400); margin-left: 1px; }
.scd__score--green { color: #16a34a; }
.scd__score--yellow { color: #d97706; }
.scd__score--red { color: #dc2626; }
.scd__meta { flex: 1; min-width: 0; }
.scd__title { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.scd__sub { font-size: 12px; color: var(--gray-500); margin-top: 3px; }
.scd__list { padding: 6px 16px 14px; display: flex; flex-direction: column; }
.scd__row { padding: 10px 0; border-bottom: 1px dashed var(--gray-100); }
.scd__row:last-child { border-bottom: none; }
.scd__top { display: flex; align-items: center; gap: 8px; }
.scd__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc); flex: none; }
.scd__name { font-size: 13.5px; font-weight: 600; color: var(--gray-800); }
.scd__w {
  font-size: 11px; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, #fff);
  border-radius: 999px; padding: 1px 8px; font-weight: 600;
}
.scd__gap { flex: 1; }
.scd__pct { font-size: 13px; font-weight: 700; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.scd__bar { height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; margin: 7px 0 6px; }
.scd__bar i { display: block; height: 100%; border-radius: 3px; }
.scd__desc { font-size: 12px; color: var(--gray-500); line-height: 1.6; }
.scd__why { font-size: 11.5px; color: var(--gray-400); line-height: 1.6; margin-top: 2px; }

/* ============ 查看主体（公司 / 子公司切换） ============ */
/* 顶栏切换按钮 */
.org-chip {
  gap: 6px; max-width: 220px; border-color: var(--gray-200); color: var(--gray-700); font-size: 13px;
}
.org-chip.is-hidden { display: none; }
.org-chip svg { width: 15px; height: 15px; flex: none; }
.org-chip__icon { display: flex; color: var(--primary-600); }
.org-chip__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.org-chip.is-scoped {
  border-color: var(--primary-200); background: var(--primary-50); color: var(--primary-700);
}
.org-chip.is-scoped .org-chip__icon { color: var(--primary-600); }
/* 数据同步状态：云端同步 / 本机同步 / 同步异常 */
.sync-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--gray-200);
  background: #fff; color: var(--gray-500); font-size: 12.5px; white-space: nowrap;
}
.sync-chip.is-hidden { display: none; }
.sync-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-300); flex: none; }
.sync-chip.is-on { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.sync-chip.is-on .sync-chip__dot { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.sync-chip.is-local { color: var(--gray-500); }
.sync-chip.is-local .sync-chip__dot { background: var(--gray-400); }
.sync-chip.is-err { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.sync-chip.is-err .sync-chip__dot { background: #ef4444; }
/* 切换弹窗：公司卡列表 */
.org-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.org-pick {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 15px; cursor: pointer; text-align: left;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.org-pick:hover { border-color: var(--primary); box-shadow: var(--shadow-xs); }
.org-pick.is-active { border-color: var(--primary); background: var(--primary-50); box-shadow: var(--shadow-xs); }
.org-pick__name {
  display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gray-900);
}
.org-pick__tag {
  font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px;
  background: var(--primary-100); color: var(--primary-700);
}
.org-pick__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--gray-500); }
.org-pick__meta b { font-size: 15px; color: var(--gray-900); font-variant-numeric: tabular-nums; margin-right: 2px; }
.org-pick__foot { font-size: 11.5px; color: var(--gray-400); line-height: 1.6; }
/* 看板：各公司招聘情况 */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.org-card {
  display: flex; flex-direction: column; gap: 10px; padding: 14px 15px; cursor: pointer; text-align: left;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; color: inherit;
  border-top: 3px solid var(--oc); transition: box-shadow .15s, transform .15s, border-color .15s;
}
.org-card:hover { box-shadow: var(--shadow-sm); border-color: var(--oc); }
.org-card__top { display: flex; align-items: center; gap: 10px; }
.org-card__logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 700;
}
.org-card__brief { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.org-card__name {
  display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gray-900);
  white-space: nowrap;
}
.org-card__name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.org-card__tag {
  font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 4px; flex: none;
  background: color-mix(in srgb, var(--oc) 12%, #fff); color: var(--oc);
}
.org-card__sub { font-size: 12px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card__go { display: flex; color: var(--gray-300); }
.org-card__go svg { width: 15px; height: 15px; }
.org-card:hover .org-card__go { color: var(--oc); }
.org-card__cells {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 9px 0; border-top: 1px dashed var(--gray-100); border-bottom: 1px dashed var(--gray-100);
}
.org-card__cell { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; }
.org-card__cell b { font-size: 16px; font-weight: 700; color: var(--oc); font-variant-numeric: tabular-nums; line-height: 1.2; }
.org-card__cell i { font-style: normal; font-size: 10.5px; color: var(--gray-500); white-space: nowrap; }
.org-card__bar { height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.org-card__bar i { display: block; height: 100%; border-radius: 3px; }
.org-card__foot { font-size: 11.5px; color: var(--gray-400); line-height: 1.6; }
/* 下钻查看子公司时的提示条 */
.scope-bar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 16px;
  border: 1px solid var(--primary-200); border-radius: var(--radius);
  background: linear-gradient(120deg, var(--primary-50), #fff 70%);
}
.scope-bar__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--primary-100); color: var(--primary-600);
}
.scope-bar__icon svg { width: 17px; height: 17px; }
.scope-bar__main { flex: 1; min-width: 0; }
.scope-bar__title { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.scope-bar__title b { color: var(--primary-700); }
.scope-bar__meta { font-size: 12px; color: var(--gray-500); margin-top: 3px; line-height: 1.6; }
@media (max-width: 760px) {
  .org-chip { max-width: 120px; }
  .scope-bar { flex-wrap: wrap; }
}

/* ============ 各部门平均招聘周期（横向条形图） ============ */
.cyc { display: flex; flex-direction: column; gap: 13px; padding: 4px 2px 0; }
/* 并排卡片等高：图表填满卡片，行距自动分布，底部小结贴齐底边 */
.grid--2 > .card--fill { display: flex; flex-direction: column; height: 100%; }
.grid--2 > .card--fill .card__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.grid--2 > .card--fill .cyc { flex: 1; justify-content: space-between; gap: 8px; }
.cyc__row { display: grid; grid-template-columns: 72px 1fr 58px; align-items: center; gap: 12px; }
.cyc__name {
  font-size: 13px; font-weight: 600; color: var(--gray-600); text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cyc__track {
  height: 12px; border-radius: 6px; background: var(--gray-100);
  background-image: repeating-linear-gradient(90deg, transparent 0 11px, rgba(0,0,0,.025) 11px 12px);
  overflow: hidden;
}
.cyc__bar {
  display: block; height: 100%; border-radius: 6px; min-width: 3px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transition: width .5s ease; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.cyc__row--green  { --c1: #16a34a; --c2: #4ade80; --cv: #15803d; }
.cyc__row--indigo { --c1: #4f46e5; --c2: #818cf8; --cv: #4338ca; }
.cyc__row--amber  { --c1: #d97706; --c2: #fbbf24; --cv: #b45309; }
.cyc__row--muted  { --c1: #cbd5e1; --c2: #e2e8f0; --cv: var(--gray-400); }
.cyc__row:hover .cyc__name { color: var(--gray-900); }
.cyc__row:hover .cyc__bar { filter: brightness(1.06); }
.cyc__val {
  font-size: 14px; font-weight: 700; color: var(--cv); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 2px; justify-content: flex-end;
}
.cyc__val i { font-style: normal; font-size: 11px; font-weight: 500; color: var(--gray-400); }
.cyc__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--gray-100);
}
.cyc__foot .legend { margin-top: 0; gap: 12px; }
.cyc__summary { font-size: 12px; color: var(--gray-500); line-height: 1.7; }
.cyc__summary b { color: var(--gray-800); font-weight: 700; }
@media (max-width: 640px) {
  .cyc__row { grid-template-columns: 52px 1fr 56px; gap: 8px; }
}

/* ============ 移动端适配（≤860px）：侧栏收为抽屉、内容区全宽 ============ */
.nav-burger { display: none; }
.search-toggle { display: none; }   /* 手机端顶栏搜索入口，桌面隐藏 */
.nav-mask { display: none; }
@media (max-width: 860px) {
  /* 侧栏：固定抽屉，默认藏于屏幕外 */
  .sidebar-resizer { display: none; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; height: auto; z-index: 60;
    transform: translateX(-102%);
    transition: transform .24s cubic-bezier(.4, 0, .2, 1);
    box-shadow: none; overflow-y: auto;
  }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(15, 23, 42, .22); }
  /* 遮罩 */
  .nav-mask {
    display: block; position: fixed; inset: 0; z-index: 55;
    background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .24s ease;
  }
  body.nav-open .nav-mask { opacity: 1; pointer-events: auto; }
  /* 顶栏：汉堡按钮 + 标题，收起搜索等次要元素 */
  .nav-burger { display: inline-flex; }
  .topbar { padding: 10px 14px; gap: 10px; }
  .topbar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .topbar__title { font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__sub { display: none; }
  .search { display: none; }
  /* 手机端搜索：默认隐藏，点顶栏放大镜后整行展开（与桌面同一搜索框，数据与行为完全一致） */
  .search-toggle { display: inline-flex; }
  body.search-open .topbar { flex-wrap: wrap; row-gap: 8px; }
  body.search-open .topbar__right { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; }
  body.search-open .search {
    display: flex; flex: 1 1 100%; order: 9;
    height: 40px; background: var(--gray-100); border-radius: 10px;
  }
  #btnQuickAdd span:last-child { display: none; }
  #btnQuickAdd { padding: 8px; }
  .sync-chip { height: 28px; padding: 0 8px; font-size: 11.5px; }
  /* 内容区：全宽窄边距。clip 不建立滚动容器，保证面试间操作条吸底生效 */
  .content { padding: 14px 12px 48px; overflow-x: clip; }
  /* KPI 与网格：小屏单列 / 两列 */
  .grid--4, .grid--kpi { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--2-1, .grid--1-2 { grid-template-columns: 1fr; }
  .mb-16 { margin-bottom: 12px; }
  /* 表格：横向滚动已在 .table-wrap 内，补充最小宽度让卡片列表有呼吸感 */
  .table-wrap { margin: 0 -4px; }
  .card__head { flex-wrap: wrap; gap: 10px; }
  .card__head .flex { flex-wrap: wrap; }
  /* 页头：统计文案独占一行，操作按钮另起一行，避免文案被挤成一字一行 */
  .page-head { flex-wrap: wrap; row-gap: 10px; align-items: center; }
  .page-head > * { min-width: 0; }
  .page-head > div:first-child { flex: 1 1 100%; }
  .page-head > .btn { margin-left: auto; }
  .page-head .flex { flex-wrap: wrap; }
  /* 筛选栏：搜索框独占一行，下拉两列平分，按钮右对齐另起一行 */
  .filters { gap: 8px; padding: 12px; }
  .filters .input, .filters .select { flex: 1 1 46% !important; min-width: 0 !important; }
  .filters .input { flex-basis: 100%; }
  .filters__spacer { flex: 1 1 100%; height: 0; }
  .filters > .btn { margin-left: auto; }
  /* 候选人筛选栏（20261119）：窄屏恢复换行两列布局，spacer 重新占位 */
  .filters.filters--cands { flex-wrap: wrap; }
  .filters.filters--cands > .filters__spacer { display: block; }
  .filters.filters--cands > .btn { margin-left: auto; }
  /* 抽屉里的用户卡片贴底仍可用 */
  .sidebar__footer { border-top: 1px solid var(--gray-200); }
}
@media (max-width: 560px) {
  .grid--4, .grid--kpi, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .kpi__value { font-size: 22px; }
  .content { padding: 12px 10px 48px; }
}

/* ============ 桌面窄窗口（861～1200px）顶栏自适应 ============
   右侧搜索框 / 状态徽标 / 按钮合计近 900px，窗口一窄就把标题区压成一字一行的竖排。
   ≤1200px：常驻搜索框收起为放大镜（点开展开，与手机同一交互），「发布到正式环境」收成图标；
   ≤1000px：副标题隐藏、状态徽标收窄。须置于 .search-toggle/.nav-burger 基础规则之后才能覆盖 */
@media (max-width: 1200px) {
  .search { display: none; }
  .search-toggle { display: inline-flex; }
  body.search-open .topbar { flex-wrap: wrap; row-gap: 8px; }
  body.search-open .topbar__right { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; }
  body.search-open .search {
    display: flex; flex: 1 1 100%; order: 9;
    height: 40px; background: var(--gray-100); border-radius: 10px;
  }
  body.search-open .search input { max-width: none; flex: 1; }
  #btnPublish span:last-of-type { display: none; }
  #btnPublish { padding: 8px; }
}
@media (max-width: 1000px) {
  .topbar__sub { display: none; }
  .sync-chip { padding: 0 8px; font-size: 11.5px; }
  .org-chip { max-width: 140px; }
}

/* ============ 手机端面试间（≤860px）：主画面铺满 + 自拍画中画 + 大按钮 ============ */
@media (max-width: 860px) {
  .room, .room__main { gap: 12px; }
  /* 会议信息：竖排紧凑，元信息两列对齐，图标与文字不拆行 */
  .room__head {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px 14px; border-radius: 16px;
  }
  .room__head > .badge { align-self: flex-start; }
  .room__title { font-size: 15px; line-height: 1.5; }
  .room__sub {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px; margin-top: 8px; font-size: 11.5px; line-height: 1.5;
  }
  .room__sub-item { align-items: flex-start; }
  .room__sub-item svg { margin-top: 1.5px; }
  .room__sub-item:first-child { grid-column: 1 / -1; } /* 时间独占一行，避免与其它项挤在一行换行 */
  /* 视频区：对方 / AI 面试官画面为主画面，自己的画面收成右上角小窗 */
  .room__videos { position: relative; display: block; gap: 0; }
  .room__videos .room__tile {
    aspect-ratio: 4 / 5; max-height: 44vh; width: 100%;
    border-radius: 18px; box-shadow: 0 10px 26px rgba(15, 23, 42, .22);
  }
  .room__videos .room__tile--me {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 30%; max-width: 104px; aspect-ratio: 3 / 4; max-height: none;
    border-radius: 12px; border: 1px solid rgba(148, 163, 184, .38);
    box-shadow: 0 8px 20px rgba(2, 6, 23, .5);
  }
  .room__videos .room__tile--me .avatar { width: 40px; height: 40px; font-size: 14px; }
  .room__videos .room__tile--me .room__ph { gap: 2px; }
  .room__videos .room__tile--me .room__ph-name,
  .room__videos .room__tile--me .room__ph-state,
  .room__videos .room__tile--me .room__tag { display: none; }
  /* 字幕贴主画面底部，避开左下角身份标签 */
  .room__caption {
    left: 10px; right: 10px; bottom: 38px; padding: 11px 13px;
    border-radius: 14px; font-size: 12.5px; line-height: 1.7; max-height: 46%;
    background: linear-gradient(180deg, rgba(15, 23, 42, .62), rgba(15, 23, 42, .86));
  }
  .room__cap-q { font-size: 14px; line-height: 1.7; }
  .room__caption .room__ai-timer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .room__cap-tip { flex: 1 1 auto; font-weight: 400; color: #cbd5e1; opacity: .9; }
  /* 回答操作条：识别文本 / 输入框独占一行，按钮等宽平分第二行 */
  .room__livebar { flex-wrap: wrap; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 16px; }
  .room__livebar .room__recbar { flex: 1 1 100%; margin-bottom: 0; }
  .room__livebar .room__voice-draft { flex: 1 1 100%; min-height: 44px; max-height: 88px; }
  .room__livebar .input { flex: 1 1 100%; height: 44px; }
  .room__livebar .btn { flex: 1 1 40%; min-height: 44px; }
  .room__bar-tip { flex: 1 1 100%; padding: 0 2px; font-size: 12.5px; line-height: 1.6; }
  /* 设备 / 主操作条：手机端吸底，滚到任何位置都能直接操作 */
  .room__bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 16px;
    position: sticky; bottom: 8px; z-index: 6;
    background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 22px rgba(15, 23, 42, .12);
  }
  /* 面试进行中（存在回答操作条）时改为回答条吸底，避免两条吸底栏叠在一起；
     :has() 与 .has-livebar 类并列——旧内核（微信 X5 / iOS 15）不支持 :has() 时走 JS 同步的类名回退 */
  .room__main.has-livebar .room__bar,
  .room__main:has(.room__livebar:not(:empty)) .room__bar {
    position: static; background: #fff; backdrop-filter: none; box-shadow: var(--shadow-xs);
  }
  .room__main.has-livebar .room__livebar,
  .room__main:has(.room__livebar:not(:empty)) .room__livebar {
    position: sticky; bottom: 8px; z-index: 6;
    box-shadow: 0 -6px 22px rgba(15, 23, 42, .12), 0 10px 26px rgba(15, 23, 42, .22);
  }
  .room__bar .btn { width: 100%; min-height: 44px; border-radius: 12px; }
  .room__bar > .btn--primary,
  .room__bar > .btn--danger,
  .room__bar > #btnFb,
  .room__bar > .room__ended { grid-column: 1 / -1; }
  .room__bar .room__ended { padding: 10px 12px; font-size: 12.5px; line-height: 1.6; }
  /* 底部系统提示弱化，不与主操作抢视觉 */
  .room__tip {
    padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.65;
    background: var(--gray-50); border-color: var(--gray-200); color: var(--gray-500);
  }
  .room__tip svg { color: var(--gray-400); }
}
@media (max-width: 560px) {
  .room__videos .room__tile--me { top: 10px; right: 10px; max-width: 92px; }
  .room__sub { font-size: 11px; }
}

/* ============ 手机端列表：表格转卡片（≤640px） ============ */
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; margin: 0; padding: 2px 10px 12px; }
  .table { display: block; width: 100%; border-collapse: separate; }
  .table thead, .table tfoot { display: none; }
  .table tbody { display: block; }
  .table tr {
    display: block; margin: 10px 2px 0; padding: 2px 12px;
    background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
    box-shadow: var(--shadow-xs);
  }
  .table tbody tr:hover { background: #fff; }
  .table td {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; padding: 9px 0; border-bottom: 1px dashed var(--gray-100);
    text-align: right; white-space: normal;
  }
  .table td::before {
    content: attr(data-label); flex: none; max-width: 38%;
    font-size: 12px; font-weight: 500; color: var(--gray-400); text-align: left;
  }
  .table td > * { max-width: 100%; }
  .table td:last-child { border-bottom: none; padding-bottom: 11px; }
  /* 合并单元格：空状态 / 汇总行居中展示，不带字段名 */
  .table td[colspan] { display: block; text-align: center; border-bottom: none; padding: 26px 0; }
  .table td[colspan]::before { content: none; }
  .table td .row-actions { flex-wrap: wrap; justify-content: flex-end; }
  /* 候选人表操作按钮保持靠左（覆盖上面的通用规则） */
  [data-list="cands"] .table td .row-actions { justify-content: flex-start; }
  /* 面试安排表卡片模式（20261119）：恢复换行与完整显示，固定列宽/省略规则只在桌面生效 */
  [data-list="ivs"] .table td,
  [data-list="ivs"] .table td.ivcell {
    white-space: normal; overflow: visible; text-overflow: clip; max-width: none;
  }
  /* 注册账号表卡片模式（20261120）：恢复完整显示，固定列宽/单行省略只在桌面生效 */
  .table--portal td:nth-child(2),
  .table--portal td:nth-child(3),
  .table--portal td:nth-child(4),
  .table--portal td:nth-child(5),
  .table--portal td:nth-child(6) {
    white-space: normal; overflow: visible; text-overflow: clip;
  }
  .table--portal td:nth-child(2) .strong { white-space: normal; overflow: visible; text-overflow: clip; }
  .table td .cell-user { justify-content: flex-end; text-align: right; }
  .table td .progress { min-width: 96px; }
  /* 账号页：头像行允许换行，操作按钮另起一行，避免 nowrap 按钮撑破卡片导致文字被截断 */
  .acct__grid > * { min-width: 0; }
  .acct-main { flex-wrap: wrap; }
  .acct-main > .flex { flex: 1 1 100%; justify-content: flex-end; }
  .acct-stats { grid-template-columns: 1fr; }
  /* 看板：网格卡片可收缩；投递趋势柱状图在卡片内横向滚动，不再撑破卡片 */
  .grid > * { min-width: 0; }
  .bars { overflow-x: auto; padding-bottom: 4px; }
  .bars__col { flex: 1 0 34px; min-width: 34px; }
  .bars__label, .bars__value { white-space: nowrap; }
}

/* ============ 手机（≤860px）：触控目標与弹层可用性 ============ */
@media (max-width: 860px) {
  /* 触控目标：iOS / Android 建议 ≥36px，桌面保持紧凑风格 */
  .btn { min-height: 40px; }
  .btn--sm { min-height: 34px; padding: 7px 12px; display: inline-flex; align-items: center; justify-content: center; }
  .btn--icon { width: 38px; height: 38px; padding: 0; }
  .input, .select, .textarea { min-height: 40px; }
  /* 输入字号 ≥16px：更小的字号会让 iOS Safari / 微信内置浏览器在聚焦时自动放大页面，
     造成「手机端和电脑端显示不一致」的观感 */
  .input, .select, .textarea, .search input { font-size: 16px; }
  .pager__size, .pager select { min-height: 34px; }
  .row-actions { gap: 8px; row-gap: 8px; }
  /* 抽屉贴近全屏，内容更宽敞；列表行内的操作按钮换行后仍右对齐 */
  .drawer { width: 100vw; max-width: 100vw; }
  .drawer__head, .drawer__foot { padding: 14px 16px; }
  .drawer__body { padding: 16px; }
  /* 与主规则一致：扣掉遮罩上下 padding，避免 90vh + padding 溢出把底部按钮挤出视口 */
  .modal { max-height: min(90vh, calc(100vh - 48px)); border-radius: 16px; }
  .modal__head { padding: 16px; }
  .modal__body { padding: 16px; }
}

/* ============ iOS 安全区（刘海 / 灵动岛 / 底部小白条） ============ */
/* 配合 viewport-fit=cover：PWA 全屏 / 横竖屏时内容与不被挖孔与小白条遮挡 */
@supports (padding: env(safe-area-inset-top)) {
  .topbar {
    padding-top: calc(16px + env(safe-area-inset-top));
    padding-left: max(28px, env(safe-area-inset-left));
    padding-right: max(28px, env(safe-area-inset-right));
  }
  .content {
    padding-left: max(28px, env(safe-area-inset-left));
    padding-right: max(28px, env(safe-area-inset-right));
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }
  /* 侧边栏抽屉：顶底避开状态栏与小白条 */
  .sidebar {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
  }
  /* 抽屉 / 弹窗的底部操作区抬起，避免被小白条压住 */
  .drawer__foot, .modal__foot {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
  @media (max-width: 860px) {
    .topbar {
      padding-left: max(14px, env(safe-area-inset-left));
      padding-right: max(14px, env(safe-area-inset-right));
    }
    .content {
      padding-left: max(12px, env(safe-area-inset-left));
      padding-right: max(12px, env(safe-area-inset-right));
    }
  }
}

/* ============ 滚动流畅度与触摸稳定性 ============ */
/* 点击后不再出现蓝/灰色高亮块 */
* { -webkit-tap-highlight-color: transparent; }
/* 关闭整页橡皮筋回弹（PWA 独立窗口无刷新入口），并锁定横屏字体不被自动放大 */
html { overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; }
body { overscroll-behavior-y: none; }
/* 内部滚动容器独立收敛，避免滚动链穿透到整页造成顿挫 */
.table-wrap, .wk__body, .drawer__body, .modal__body, .sidebar, .dash-extra, .dash-eq .dash-extra {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* 触摸设备：不触发粘滞 hover（点击后元素会一直停在悬浮态），并去掉昂贵的毛玻璃 */
@media (hover: none) {
  .kpi--theme, .wk__item, .fnl__row, .card--link, .cfg-sum__item, .org-pick, .org-card,
  .kpi--theme:hover, .wk__item:hover, .fnl__row:hover, .card--link:hover,
  .cfg-sum__item:hover, .org-pick:hover, .org-card:hover { transform: none; }
  .kpi--theme:hover .kpi__icon { transform: none; }
  .topbar { backdrop-filter: none; background: #fff; }
  .nav-mask { backdrop-filter: none; }
  .room__bar { backdrop-filter: none; background: rgba(255, 255, 255, .97); }
}

/* ---------- 示例（案例）数据提示条 ---------- */
.sample-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 24px; padding: 10px 16px; border-radius: 10px;
  background: var(--info-bg); color: var(--info-fg);
  border: 1px solid rgba(2, 132, 199, .18); font-size: 13px; line-height: 1.6;
}
.sample-bar.is-hidden { display: none; }
.sample-bar--sample { background: var(--warning-bg); color: var(--warning-fg); border-color: rgba(217, 119, 6, .2); }
.sample-bar__text { flex: 1 1 auto; min-width: 200px; }
.sample-bar__text b { font-weight: 600; }
.sample-bar .btn { flex: 0 0 auto; }
@media (max-width: 860px) { .sample-bar { margin: 0 12px; font-size: 12.5px; } }

/* ---------- 系统更新提示条 ---------- */
.update-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 24px; padding: 10px 16px; border-radius: 10px;
  background: #f5f3ff; color: #4c1d95;
  border: 1px solid rgba(124, 58, 237, .18); font-size: 13px; line-height: 1.6;
}
.update-bar.is-hidden { display: none; }
.update-bar__tag {
  flex: 0 0 auto; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #7c3aed; color: #fff;
}
.update-bar__text { flex: 1 1 auto; min-width: 200px; }
.update-bar__text b { font-weight: 600; }
.update-bar .btn { flex: 0 0 auto; }
@media (max-width: 860px) { .update-bar { margin: 0 12px; font-size: 12.5px; } }

/* ---------- 更新日志条目（弹窗与「更新日志」页共用） ---------- */
.cl-item { padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.cl-item--new { border-color: rgba(124, 58, 237, .3); background: #faf9ff; }
.cl-item__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.cl-item__ver { font-weight: 700; font-size: 14px; }
.cl-item__date { font-size: 12.5px; color: var(--gray-500); }
.cl-item__list { margin: 0; padding-left: 18px; }
.cl-item__list li { font-size: 13px; line-height: 1.75; color: var(--gray-700); }

/* 更新日志「数据更新 / 系统更新」板块（20261130 第四十四轮） */
.cl-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cl-tab {
  padding: 5px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
  border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600);
}
.cl-tab--on { background: #7c3aed; border-color: #7c3aed; color: #fff; font-weight: 600; }
.cl-sec { margin-top: 8px; }
.cl-sec__title { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.cl-sec__tag {
  padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.cl-sec__tag--data { background: #ecfdf5; color: #047857; border: 1px solid rgba(5, 150, 105, .25); }
.cl-sec__tag--sys { background: #eff6ff; color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .25); }
.cl-sec__count { font-size: 12px; color: var(--gray-400); }
.cl-sec .cl-item__list { margin: 0; padding-left: 18px; }
/* 板块筛选显隐（点击 .cl-tab 切换 #clWrap 的 data-cat，纯 CSS 不重渲染） */
#clWrap[data-cat="data"] .cl-sec--sys, #clWrap[data-cat="sys"] .cl-sec--data { display: none; }

/* 操作记录（20261130 第四十八轮）：HR / 候选人 / 系统的操作留痕，只读时间线 */
.oplog__search { margin-bottom: 12px; }
.oplog__search .input { width: 100%; max-width: 420px; }
.oplog__row {
  display: flex; align-items: baseline; gap: 10px; padding: 8px 2px;
  border-bottom: 1px dashed var(--gray-200); font-size: 13px; line-height: 1.6;
}
.oplog__row:last-child { border-bottom: none; }
.oplog__time {
  flex: none; width: 132px; font-size: 12px; color: var(--gray-400);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.oplog__badge {
  flex: none; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.oplog__badge--hr { background: #eff6ff; color: #1d4ed8; border: 1px solid rgba(37, 99, 235, .25); }
.oplog__badge--cand { background: #ecfdf5; color: #047857; border: 1px solid rgba(5, 150, 105, .25); }
.oplog__badge--sys { background: #f8fafc; color: var(--gray-500); border: 1px solid var(--gray-200); }
.oplog__text { flex: 1 1 auto; min-width: 0; color: var(--gray-700); word-break: break-word; }
@media (max-width: 640px) {
  .oplog__row { flex-wrap: wrap; row-gap: 2px; }
  .oplog__time { width: auto; }
}

/* 导航项上的未读小圆点（更新日志） */
.nav__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--danger);
  margin-left: auto; flex: none; box-shadow: 0 0 0 2px rgba(239, 68, 68, .15);
}
.nav__dot.is-hidden { display: none; }

/* 调试环境专用「发布到正式环境」按钮（正式环境不渲染，见 app.js） */
.btn--warn {
  background: #fff7ed; color: #c2410c; border: 1px solid rgba(194, 65, 12, .28);
}
.btn--warn:hover { background: #ffedd5; }
.dev-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; margin-left: 2px; border-radius: 999px; font-size: 11px; font-style: normal;
  background: #c2410c; color: #fff;
}
.dev-badge.is-hidden { display: none; }
.dev-files {
  margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #fff7ed;
  border: 1px solid rgba(194, 65, 12, .2); font-size: 12.5px; line-height: 1.9; color: #7c2d12;
  max-height: 180px; overflow: auto;
}
/* 发布确认弹窗：本次更新摘要 */
.dev-updates { margin-top: 14px; }
.dev-updates__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.dev-updates ul { margin: 0; padding: 10px 12px 10px 26px; border-radius: 8px; background: #f8fafc;
  border: 1px solid #eef2f7; font-size: 12.5px; line-height: 1.75; color: var(--gray-700); max-height: 240px; overflow: auto; }
.dev-updates li + li { margin-top: 4px; }
.dev-updates__more { color: #94a3b8; list-style: none; margin-left: -14px; }

/* ---------- 面试间：预定时长到点提示条（加时 / 自动结束） ---------- */
.room__overtime {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 10px; padding: 9px 14px; border-radius: 10px;
  background: var(--danger-bg); color: var(--danger-fg);
  border: 1px solid rgba(220, 38, 38, .25); font-size: 13px; line-height: 1.6;
}
.room__overtime-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
  flex: none; animation: recBlink 1.2s infinite;
}
.room__overtime-text { flex: 1 1 auto; min-width: 220px; }
.room__overtime-text b { font-weight: 700; font-variant-numeric: tabular-nums; }
.room__overtime .btn { flex: 0 0 auto; }
@media (max-width: 860px) { .room__overtime { font-size: 12.5px; } }


/* ==================== 回放侧栏：访客评价 / 综合评分 / 面试后测评 ==================== */
/* 空态占位：浅渐变 + 虚线框，代替整段灰字说明 */
.rp-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 18px 14px; border: 1px dashed var(--gray-200); border-radius: 12px;
  background: linear-gradient(180deg, var(--gray-50), #fff);
}
.rp-empty svg { width: 22px; height: 22px; color: var(--gray-300); }
.rp-empty b { font-size: 13px; color: var(--gray-600); }
.rp-empty span { font-size: 12px; color: var(--gray-400); line-height: 1.7; max-width: 250px; }
/* 综合评分：渐变底卡 + 圆形分数徽章 */
.rp-score {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid #e0e7ff;
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
}
.rp-score__num {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: baseline; justify-content: center; align-items: center; gap: 1px;
  font-weight: 800; font-size: 17px; color: var(--primary);
  background: #fff; box-shadow: 0 2px 10px rgba(79, 70, 229, .16);
}
.rp-score__num i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gray-400); }
.rp-score__meta { flex: 1; min-width: 0; }
.rp-score__meta b { display: block; font-size: 13.5px; color: var(--gray-800); margin-bottom: 2px; }
.rp-score__meta span { font-size: 12px; color: var(--gray-500); line-height: 1.6; display: block; }
/* 面试后测评待办行：图标块 + 状态 */
.rp-test {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; margin-bottom: 8px;
}
.rp-test:last-child { margin-bottom: 0; }
.rp-test__ico {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: #0284c7; background: #e0f2fe;
}
.rp-test__ico--violet { color: #7c3aed; background: #f3e8ff; }
.rp-test__meta { flex: 1; min-width: 0; }
.rp-test__meta b { display: block; font-size: 13px; color: var(--gray-800); }
.rp-test__meta span { font-size: 12px; color: var(--gray-500); }

/* ==================== 用我的声音定制（录音建模） ==================== */
.vp-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.vp-row__no { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--primary); background: #eef2ff; }
.vp-row__txt { flex: 1; min-width: 0; font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.vp-row__state { flex: none; width: 130px; text-align: right; }
.vp-result { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid #e0e7ff; background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%); }
.vp-result b { font-size: 13.5px; color: var(--gray-800); }
.vp-result span { font-size: 12.5px; color: var(--gray-600); line-height: 1.7; }

/* ===== 面试配置页 2.0：概览仪表盘 + 分段控件 + 云端音色卡 ===== */
/* 概览仪表盘 */
.cfg-hero { display: flex; flex-direction: column; gap: 13px; }
.cfg-hero__top { display: flex; align-items: center; gap: 12px; }
.cfg-hero__ava { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 6px 16px -6px rgba(99, 102, 241, .7); }
.cfg-hero__ava svg { width: 21px; height: 21px; }
.cfg-hero__name { font-size: 16.5px; font-weight: 700; color: var(--gray-900); line-height: 1.25; }
.cfg-hero__sub { font-size: 12px; color: #94a3b8; margin-top: 3px; }
.cfg-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .cfg-kpis { grid-template-columns: repeat(2, 1fr); } }
.cfg-kpi { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 11px; padding: 10px 12px; }
.cfg-kpi__v { display: block; font-size: 18px; font-weight: 800; color: #1e293b; line-height: 1.15;
  letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.cfg-kpi__v i { font-style: normal; font-size: 11.5px; font-weight: 600; color: #94a3b8; margin-left: 2px; }
.cfg-kpi__k { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 3px; }
.cfg-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cfg-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600;
  color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cfg-tag svg { width: 11px; height: 11px; }
.cfg-tag--on { background: var(--primary-50); color: var(--primary); }

/* 分段控件（替代下拉） */
.seg { display: flex; width: 100%; gap: 3px; padding: 3px; background: #f1f5f9; border-radius: 10px; }
.seg__btn { flex: 1; min-width: 0; border: 0; background: transparent; border-radius: 8px; padding: 6px 10px;
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: #64748b; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg__btn:hover { color: #334155; }
.seg__btn.is-on { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(15, 23, 42, .14); }

/* 自然度三选卡 */
.nat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nat__btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px;
  border: 1.5px solid #e2e8f0; border-radius: 11px; background: #fff; cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.nat__btn b { font-size: 12.5px; font-weight: 700; color: #475569; }
.nat__btn span { font-size: 10.5px; color: #94a3b8; white-space: nowrap; }
.nat__btn:hover { border-color: #c7d2fe; }
.nat__btn.is-on { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(79, 70, 229, .07); }
.nat__btn.is-on b { color: var(--primary); }
.nat__btn.is-on span { color: #818cf8; }

/* 滑杆刻度 */
.cfg-range__scale { display: flex; justify-content: space-between; font-size: 10.5px; color: #cbd5e1;
  margin-top: -1px; padding: 0 2px; font-variant-numeric: tabular-nums; }
.cfg .cfg-range__val { min-width: 56px; }

/* 云端音色卡 */
.ctts { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px;
  border: 1px solid #e6eaf2; background: linear-gradient(180deg, #fbfcff, #fff); }
.ctts__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ctts__row .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctts__acts { display: flex; gap: 8px; }
.ctts__acts .btn { flex: 1; justify-content: center; }

/* 开关 */
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #cbd5e1;
  transition: background .18s; flex: none; }
.switch__track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .28); transition: transform .18s; }
.switch input:checked + .switch__track { background: var(--primary); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch__text { font-size: 12.5px; font-weight: 600; color: #475569; }

/* 卡片头：图标 + 副标题 */
.cfg .card__head { align-items: flex-start; }
.card__head-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.card__title-ico { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary); }
.card__title-ico svg { width: 15px; height: 15px; }
.card__sub { font-size: 11.5px; color: #94a3b8; font-weight: 500; margin-top: 2px; }

/* 底部操作条 */
.cfg-savebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; margin-bottom: 24px; /* 紧贴上方配置卡，与下方问题库拉开距离 */
  padding: 12px 16px; border: 1px solid #e6eaf2; border-radius: 14px; background: #fff;
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, .55); }
.cfg-savebar__tip { margin-right: auto; font-size: 12px; color: #94a3b8; }
@media (max-width: 640px) {
  .cfg-savebar__tip { width: 100%; margin-right: 0; }
  .cfg-savebar .btn { flex: 1; justify-content: center; }
}

/* 回放页：分享 / 上传 / 评价按钮合并进顶部会议信息卡右侧 */
.room__head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.room__head-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) {
  .room__head { flex-direction: column; align-items: flex-start; }
  .room__head-side { align-items: flex-start; }
  .room__head-actions .btn { flex: 1; justify-content: center; }
}

/* 步骤条中可点击的「笔试」步骤：继承当前步配色，虚线下划线提示可点 */
.steps .step-link { background: none; border: none; padding: 0; margin: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.steps .step-link:hover { opacity: 0.8; }

/* 访客回放页：候选人简介卡（参照 HR 端详情抽屉样式） */
.guest-cand { border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.guest-cand__head { display: flex; align-items: center; gap: 12px; }
.guest-cand__id { flex: 1; min-width: 0; }
.guest-cand__name { font-size: 18px; font-weight: 700; }
.guest-cand__sub { font-size: 13px; color: var(--muted, #6b7280); margin-top: 2px; }
.guest-cand__tags { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--text, #374151); margin: 10px 0; }
.guest-cand__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 访客回放页：候选人简历独立卡（醒目，置于回放卡上方） */
.guest-resume-card { border-left: 4px solid var(--primary, #4f46e5); }
.guest-cand__written { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line, #e5e7eb); font-size: 14px; }

/* 访客简介卡的评分块：宽度自适应，避免「65 分」溢出被裁 */
.guest-cand .scd__score--card { width: auto; min-width: 54px; height: 48px; padding: 0 12px; border-radius: 12px; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; }

/* 访客简介卡：简历评分 + 初试AI评分并排；小标签略放大 */
.guest-cand__scores { display: flex; gap: 8px; flex: none; }
.guest-cand .scd__score--card small { font-size: 11px; }

/* 手机端：姓名/现任信息一行横排，两个评分块下移一行并排占满，不再互相挤压 */
@media (max-width: 640px) {
  .guest-cand { padding: 12px; }
  .guest-cand__head { flex-wrap: wrap; }
  .guest-cand__id { flex: 1 1 calc(100% - 52px); }
  .guest-cand__name { font-size: 17px; }
  .guest-cand__scores { flex: 1 1 100%; margin-top: 10px; }
  .guest-cand .scd__score--card { flex: 1; height: 52px; font-size: 21px; }
  .guest-cand__tags { gap: 6px 10px; }
}

/* ==================== 综合评分（HR 确认后生效）：美化版 ==================== */
.cp-score {
  border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 60%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}
.cp-score__top { display: flex; align-items: stretch; gap: 14px; padding: 14px; }
.cp-score__badge {
  flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 12px; padding: 8px 4px; color: #fff;
  background: linear-gradient(160deg, #6366f1, #8b5cf6);
  box-shadow: 0 4px 14px rgba(99, 102, 241, .28);
}
.cp-score--green .cp-score__badge { background: linear-gradient(160deg, #10b981, #34d399); box-shadow: 0 4px 14px rgba(16, 185, 129, .28); }
.cp-score--yellow .cp-score__badge { background: linear-gradient(160deg, #f59e0b, #fbbf24); box-shadow: 0 4px 14px rgba(245, 158, 11, .28); }
.cp-score--red .cp-score__badge { background: linear-gradient(160deg, #ef4444, #fb7185); box-shadow: 0 4px 14px rgba(239, 68, 68, .28); }
.cp-score__num { font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.5px; }
.cp-score__num i { font-style: normal; font-size: 11px; font-weight: 700; opacity: .85; margin-left: 2px; }
.cp-score__lv { font-size: 11.5px; font-weight: 700; opacity: .95; }
.cp-score__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cp-score__title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--gray-800, #1f2937); }
.cp-score__bar { height: 7px; border-radius: 999px; background: var(--gray-100, #f3f4f6); overflow: hidden; }
.cp-score__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6366f1, #8b5cf6); transition: width .4s ease; }
.cp-score--green .cp-score__bar i { background: linear-gradient(90deg, #10b981, #34d399); }
.cp-score--yellow .cp-score__bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.cp-score--red .cp-score__bar i { background: linear-gradient(90deg, #ef4444, #fb7185); }
.cp-score__parts { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-part {
  display: flex; align-items: baseline; gap: 4px; font-size: 11.5px; color: var(--gray-500, #6b7280);
  padding: 4px 9px; border-radius: 8px; background: var(--gray-50, #f9fafb); border: 1px solid var(--gray-200, #e5e7eb);
}
.cp-part b { font-size: 14px; font-weight: 800; color: var(--gray-800, #1f2937); font-variant-numeric: tabular-nums; }
.cp-part em { font-style: normal; font-size: 10.5px; color: var(--gray-400, #9ca3af); }
.cp-part.is-empty { opacity: .6; }
.cp-score__act {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-top: 1px dashed var(--gray-200, #e5e7eb); background: #fff;
}
.cp-score__rule { font-size: 11.5px; color: var(--gray-400, #9ca3af); }
.cp-score__done {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 14px; border-top: 1px dashed var(--gray-200, #e5e7eb); background: #fff;
  font-size: 12.5px; color: var(--gray-600, #4b5563);
}
.cp-score__done span { flex: 1 0 100%; font-size: 11.5px; color: var(--gray-400, #9ca3af); line-height: 1.6; }
@media (max-width: 860px) {
  .cp-score__top { gap: 10px; padding: 12px; }
  .cp-score__badge { width: 66px; }
  .cp-score__num { font-size: 20px; }
}
/* 评分材料里的面试后测评行 */
.guest-cand__written { flex-wrap: wrap; }
.guest-cand__written .text-muted { font-size: 12.5px; }

/* 访客评价：每份评分各自的分数 */
.gev-item__grow { flex: 1; min-width: 0; }
.gev-item__score {
  flex: none; display: flex; align-items: baseline; gap: 1px;
  padding: 3px 9px; border-radius: 999px; font-weight: 800; font-size: 15px;
  color: #6d28d9; background: #f5f3ff; border: 1px solid #ede9fe;
  font-variant-numeric: tabular-nums;
}
.gev-item__score i { font-style: normal; font-size: 10.5px; font-weight: 700; color: #a78bfa; }
/* 测评参考行（不计分） */
.cp-ref { font-size: 11.5px; color: var(--gray-400, #9ca3af); line-height: 1.6; }

/* 综合评分权重设置 */
.cp-weights {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-top: 1px dashed var(--gray-200, #e5e7eb);
  background: var(--gray-50, #f9fafb); font-size: 12px; color: var(--gray-600, #4b5563);
}
.cp-weights__label { font-weight: 700; color: var(--gray-700, #374151); }
.cp-weights__item { display: inline-flex; align-items: center; gap: 4px; }
.cp-weights__item i { font-style: normal; color: var(--gray-400, #9ca3af); }
.cp-weights__inp {
  width: 58px; padding: 4px 6px; text-align: center; font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--gray-200, #e5e7eb); border-radius: 8px; background: #fff;
  color: var(--gray-800, #1f2937); font-variant-numeric: tabular-nums;
}
.cp-weights__inp:focus { outline: 2px solid #c7d2fe; border-color: #a5b4fc; }
.cp-weights__tip { font-size: 11px; color: var(--gray-400, #9ca3af); }

/* 面试配置：综合评分权重输入 */
.cfg-weight { display: flex; align-items: center; gap: 6px; }
.cfg-weight__inp { width: 92px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cfg-weight__inp:disabled { background: var(--gray-50, #f9fafb); color: var(--gray-500, #6b7280); }
.cfg-weight__unit { font-size: 12.5px; color: var(--gray-400, #9ca3af); }

/* ==================== 面试配置页：整体美化 ==================== */
/* 卡片：更柔和的阴影与悬浮反馈 */
.cfg .card {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cfg .card:hover { box-shadow: 0 2px 6px rgba(15, 23, 42, .06), 0 10px 28px rgba(15, 23, 42, .08); }
/* 卡片标题图标：渐变圆角块，每张卡一个色系 */
.cfg .card__title-ico {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, #6366f1, #8b5cf6); color: #fff;
  box-shadow: 0 3px 10px rgba(99, 102, 241, .25);
}
.cfg .card__title-ico svg { width: 16px; height: 16px; }
.cfg .card:nth-child(2) .card__title-ico { background: linear-gradient(140deg, #0ea5e9, #38bdf8); box-shadow: 0 3px 10px rgba(14, 165, 233, .25); }
.cfg .card:nth-child(3) .card__title-ico { background: linear-gradient(140deg, #10b981, #34d399); box-shadow: 0 3px 10px rgba(16, 185, 129, .25); }
.cfg .card__title-ico--rose { background: linear-gradient(140deg, #f43f5e, #fb7185) !important; box-shadow: 0 3px 10px rgba(244, 63, 94, .25) !important; }
.cfg .card__title { font-size: 14.5px; }
.cfg .card__sub { color: #94a3b8; font-size: 12px; margin-top: 2px; }
/* 输入控件：聚焦渐变描边与数字字体 */
.cfg .input:focus, .cfg .select:focus, .cfg .textarea:focus {
  border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99, 102, 241, .14);
}
.cfg .cfg-weight__inp { font-size: 14px; }
.cfg .field__label { font-size: 13px; color: var(--gray-800, #1f2937); }
.cfg .field__hint { color: #a3adc2; }
.cfg .field__hint b { color: var(--gray-700, #374151); }
/* 分段开关：选中态用主色渐变 */
.cfg .seg__btn.is-on {
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, .3);
}
/* 页签：胶囊化 */
.cfg__tabs { gap: 8px; border-bottom: 0; margin-bottom: 18px; }
.cfg__tab {
  padding: 8px 18px; border-radius: 999px; border: 1px solid #e2e8f0;
  background: #fff; color: #64748b; font-weight: 600; margin-bottom: 0;
  transition: all .18s ease;
}
.cfg__tab:hover { border-color: #c7d2fe; color: #4f46e5; background: #f5f7ff; }
.cfg__tab--on {
  background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .3);
}
.cfg__tab--on:hover { color: #fff; }
/* 展开按钮 */
.cfg__block-btn { border-radius: 999px; transition: all .18s ease; }
.cfg__block-btn--on { background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent; box-shadow: 0 4px 14px rgba(79, 70, 229, .3); }
.cfg__block-btn--on:hover { background: linear-gradient(135deg, #4338ca, #6d28d9); }
/* 保存条：毛玻璃悬浮 */
.cfg-savebar {
  position: sticky; bottom: 12px; z-index: 5;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .12);
}
.cfg-savebar .btn--primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .32);
}
.cfg-savebar .btn--primary:hover { background: linear-gradient(135deg, #4338ca, #6d28d9); }
/* 配置预览卡：渐变头部 */
.cfg .cfg-hero__ava { background: linear-gradient(140deg, #6366f1, #a855f7) !important; box-shadow: 0 4px 14px rgba(99, 102, 241, .3); }
/* 权重输入：强调色 */
.cfg-weight__inp { border-color: #e0e7ff; background: #fbfbff; }
.cfg-weight__inp:focus { border-color: #818cf8; }

/* 四张配置卡：2×2 排布（原先 3 列会让最后一行右侧空两格），并给每张卡加渐变顶条 */
.cfg__grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cfg__grid { grid-template-columns: 1fr; } }

.cfg .cfg-card { position: relative; overflow: hidden; }
.cfg .cfg-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
}
.cfg .cfg-card--blue::before  { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.cfg .cfg-card--green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.cfg .cfg-card--rose::before  { background: linear-gradient(90deg, #f43f5e, #fb7185); }
/* 卡片底部摘要行：贴底展示当前生效值 */
.cfg-card__foot {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed #e9edf5;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: #64748b; line-height: 1.6;
}
.cfg-card__foot b { color: #334155; font-weight: 700; }
.cfg-card__chip {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: #eef2ff; color: #4f46e5; font-size: 11.5px; font-weight: 600;
  border: 1px solid #e0e7ff;
}

/* 面试能力卡：6 个开关按三列排布，卡片高度与同排的另一张卡接近，避免底部大片留白 */
.cfg-form--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1240px) { .cfg-form--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cfg-form--3 { grid-template-columns: 1fr; } }
.cfg-form--3 .field__hint { min-height: 32px; }

/* 待办提醒条（如「N 场面试待确认时间」） */
.callout { padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6; border: 1px solid #e9edf5; background: #f8fafc; }
.callout--warn { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.callout svg { width: 16px; height: 16px; flex-shrink: 0; }

/* 笔试题库（HR 端候选人详情）：题目 / 选项 / 正确答案 */
.quiz-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.quiz-item { padding: 8px 10px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fafbff; }
.quiz-item__q { font-size: 13px; font-weight: 600; color: #334155; }
.quiz-item__opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.quiz-item__opt { font-size: 12px; color: #64748b; padding: 1px 8px; border-radius: 999px; background: #f1f5f9; }
.quiz-item__opt.is-right { background: #ecfdf5; color: #047857; font-weight: 600; }
/* 评分材料里的测评截图（点击放大） */
.guest-cand__test { margin-bottom: 10px; }
.guest-cand__test-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.guest-cand__shot { display: block; max-width: 240px; max-height: 170px; margin-top: 6px; border-radius: 8px; border: 1px solid var(--gray-200); cursor: zoom-in; }
.guest-cand__shot.is-zoom { position: fixed; left: 5vw; top: 5vh; width: 90vw; height: 90vh; max-width: none; max-height: none; object-fit: contain; background: #fff; z-index: 9999; cursor: zoom-out; }

/* 周排期：一人一张卡，卡内按轮次分行 */
.wk__stages { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.wk__stage { display: flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 3px 5px; border-radius: 6px; cursor: pointer; flex-wrap: wrap; }
.wk__stage:hover { background: var(--gray-100); }
.wk__stage-round { flex-shrink: 0; }
.wk__stage-time { font-variant-numeric: tabular-nums; color: var(--gray-700); font-weight: 600; }
.wk__stage-st { margin-left: auto; color: var(--gray-500); }

/* 面试进度按人合并：一人一张卡，卡内按阶段纵向分步 */
.ivgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.ivcard { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ivcard:hover { border-color: var(--primary-100); box-shadow: 0 8px 18px -12px rgba(79,70,229,.5); }
.ivcard__head { display: flex; align-items: center; gap: 10px; }
.ivcard__head .cell-user { min-width: 0; }
.ivcard__stage { margin-left: auto; flex-shrink: 0; }
.ivcard__job { margin: 8px 0 10px; font-size: 12.5px; color: var(--gray-600); }
.ivcard__job svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.ivsteps { display: flex; flex-direction: column; }
.ivstep { display: flex; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--gray-200); }
.ivstep:first-child { border-top: none; }
.ivstep__dot { position: relative; flex-shrink: 0; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--gray-300); }
.ivstep--done .ivstep__dot { background: #10b981; }
.ivstep--todo .ivstep__dot { background: #4f46e5; }
.ivstep--warn .ivstep__dot { background: #f59e0b; }
.ivstep--muted .ivstep__dot { background: var(--gray-300); }
.ivstep:not(:last-child) .ivstep__dot::after { content: ''; position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 1px; height: calc(100% + 12px); background: var(--gray-200); }
.ivstep__body { min-width: 0; }
.ivstep__l1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ivstep__l2 { margin-top: 3px; font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.ivstep__l2 svg { width: 12px; height: 12px; flex-shrink: 0; }
.ivstep__score { margin-left: auto; font-size: 13px; color: var(--gray-900); }
.ivstep:hover .ivstep__l1 { color: var(--primary); }
.ivcard__acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray-100); }
.ivcard__acts-spacer { margin-left: auto; }
.ivmore { padding: 10px 0; border-bottom: 1px dashed var(--gray-200); }
.ivmore:last-child { border-bottom: none; }
.ivmore__hd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
@media (max-width: 640px) { .ivgrid { grid-template-columns: 1fr; } }

/* 面试安排：一行一个候选人，笔试 / 初试 / 复试 / Offer 各占一列 */
.table td.ivcell, .table th.ivcell { vertical-align: top; white-space: normal; word-break: break-word; min-width: 150px; }
.ivcell__l1 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ivcell__l2 { margin-top: 1px; font-size: 12px; color: var(--gray-700); font-variant-numeric: tabular-nums; }
.ivcell__l3 { margin-top: 2px; font-size: 12px; color: var(--gray-500); }
.ivcell__score { font-size: 12.5px; color: var(--gray-900); }
/* 面试明细：一个候选人一行，多场面试纵向排在同一格 */
/* 面试明细：每场面试一行（轮次·会议号·状态·时间·操作并排），多场上下排、虚线分隔 */
.cfg-rooms { display: flex; flex-direction: column; gap: 0; }
/* 会议号·状态·时间·操作 全部顺排（操作按钮不再单独顶到最右，避免两列重复观感） */
.cfg-room { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 0; font-size: 12px; min-width: 0; }
.cfg-room + .cfg-room { border-top: 1px dashed var(--gray-200); }
.cfg-room__no { font-size: 11.5px; color: var(--gray-400); font-variant-numeric: tabular-nums; }
.cfg-room__meta { color: var(--gray-500); }
.cfg-room__no { font-weight: 700; font-size: 12.5px; color: var(--gray-900); }
.cfg-room__meta { font-size: 12px; color: var(--gray-500); }

/* 面试安排表格：更紧凑（行高 / 留白收紧），7 列固定列宽合计 100%（20261119） */
.table--ivs { line-height: 1.4; }
.table--ivs th, .table--ivs td { padding: 7px 10px; }
.table--ivs th { font-size: 11.5px; }
.table--ivs .badge { padding: 1px 6px; font-size: 11px; }
.table--ivs tbody tr:hover { background: #f7f8ff; }
.table--ivs td { border-bottom: 1px solid var(--gray-100); }
.table--ivs .cell-strong { font-size: 13px; }
.table--ivs .cell-sub { font-size: 11px; }
.table--ivs th:nth-child(1) { width: 17%; }  /* 候选人（头像 + 姓名 + 现职位） */
.table--ivs th:nth-child(2) { width: 15%; }  /* 应聘职位 */
.table--ivs th:nth-child(3) { width: 13%; }  /* 笔试 / 测评 */
.table--ivs th:nth-child(4) { width: 14%; }  /* 初试 */
.table--ivs th:nth-child(5) { width: 13%; }  /* 复试 */
.table--ivs th:nth-child(6) { width: 10%; }  /* Offer */
.table--ivs th:nth-child(7) { width: 18%; }  /* 操作（主操作 + 更多） */
@media (max-width: 1240px) {
  /* 窄屏：7 天折成两排，保证每天内容都完整 */
  .wk__grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); }
}

/* 面试列表：一行式状态（小圆点 + 文案），不再铺徽章 */
.ivline { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray-700); white-space: nowrap; }
.ivline__dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; }

/* ---------- 候选人端：面试安排卡（时间 / 形式 / 地点 / 面试官 / HR 联系分行展示） ---------- */
.ivplan { margin: 10px 0; border: 1px solid var(--gray-200); border-radius: 12px; background: #fff; overflow: hidden; }
.ivplan__hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: linear-gradient(90deg, #eef2ff, #f8fafc); border-bottom: 1px solid var(--gray-200); }
.ivplan__title { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.ivplan__ack { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; color: #15803d; background: #dcfce7; border-radius: 999px; padding: 2px 8px; }
.ivplan__todo { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 2px 8px; }
.ivplan__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--gray-200); }
.ivplan__row { display: flex; align-items: baseline; gap: 8px; padding: 9px 14px; background: #fff; min-width: 0; }
.ivplan__row > span { flex: none; width: 46px; font-size: 12px; color: var(--gray-400); }
.ivplan__row > b { font-size: 13px; font-weight: 600; color: var(--gray-800); word-break: break-word; }
.ivplan__row > b a { color: var(--primary); }
.ivplan__big { font-size: 14px !important; font-weight: 700 !important; color: var(--gray-900) !important; font-variant-numeric: tabular-nums; }
.ivplan__note { display: flex; align-items: flex-start; gap: 6px; padding: 8px 14px; font-size: 12.5px; color: var(--gray-600); border-top: 1px dashed var(--gray-200); }
.ivplan__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--gray-200); background: #fafbff; }
@media (max-width: 520px) {
  .ivplan__grid { grid-template-columns: 1fr; }
  .ivplan__row > span { width: 40px; }
  .ivplan__foot .btn { flex: 1 1 auto; }
}

/* 卡内图标尺寸：与列表中的小图标保持一致，避免 SVG 撑高卡片 */
.ivplan__hd svg, .ivplan__ack svg, .ivplan__todo svg { width: 13px; height: 13px; flex: none; }
.ivplan__note svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2.5px; color: var(--gray-400); }
.ivplan__note { line-height: 1.55; }

/* 小屏：流程步骤折行、安排卡单列，手机与电脑看到的信息完全一致 */
@media (max-width: 520px) {
  .steps { flex-wrap: wrap; gap: 6px 10px; }
  .step { flex: 0 0 auto; }
  .apply-card__meta { flex-wrap: wrap; gap: 4px 12px; }
}

.ivrs { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 6px; font-size: 11px;
  color: #b45309; background: #fef3c7; border-radius: 999px; white-space: nowrap; }
.ivrs svg { width: 11px; height: 11px; flex: none; }

/* HR 端：候选人已确认安排的标记 */
.ivack svg { width: 11px; height: 11px; flex: none; }
/* 数据同步未连接时的全局醒目横幅：本机模式下用户容易误以为「系统打不开 / 数据丢了」 */
.sync-warn { display: flex; align-items: center; gap: 12px; margin: 0 16px 10px; padding: 9px 14px;
  background: #fef3c7; border: 1px solid #f59e0b; border-radius: 10px; color: #92400e; font-size: 13px; }
.sync-warn.is-hidden { display: none; }
.sync-warn__btn { margin-left: auto; padding: 4px 12px; border: 1px solid #b45309; border-radius: 8px;
  background: #fff; color: #b45309; font-size: 12px; cursor: pointer; flex: none; }
.sync-warn__btn:hover { background: #b45309; color: #fff; }
/* 文本行内的小图标（对勾 / 提示等）：SVG 无宽高时会按浏览器默认尺寸渲染（约 300px 巨大） */
.text-sm svg, .list-item__sub svg { width: 14px; height: 14px; flex: none; vertical-align: -2px; }
.ivack { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 6px; font-size: 11px;
  color: #15803d; background: #dcfce7; border-radius: 999px; white-space: nowrap; }

/* ---------- 候选人端：面试前置任务（笔试 + 两项测评） ---------- */
.pretask { margin: 10px 0; border: 1px solid var(--gray-200); border-radius: 12px; background: #fffbf0; overflow: hidden; }
.pretask--done { background: #f0fdf4; }
.pretask__hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; font-size: 13px; color: var(--gray-800); border-bottom: 1px solid var(--gray-200); }
.pretask__hd svg { width: 15px; height: 15px; flex: none; }
.pretask__body { display: flex; flex-direction: column; }
.pretask__row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px dashed var(--gray-200); }
.pretask__row:first-child { border-top: 0; }
.pretask__name { flex: 1 1 auto; font-size: 13px; font-weight: 600; color: var(--gray-800); min-width: 0; }
.pretask__state { font-size: 12px; }
.pretask__ok { display: inline-flex; align-items: center; gap: 4px; color: #15803d; }
.pretask__todo { display: inline-flex; align-items: center; gap: 4px; color: #b45309; }
.pretask__act { flex: none; }
.pretask__state svg { width: 13px; height: 13px; }
@media (max-width: 520px) {
  .pretask__row { flex-wrap: wrap; row-gap: 6px; }
  .pretask__act { width: 100%; }
  .pretask__act .btn { width: 100%; }
}
.ivplan__note--warn { color: #b45309; background: #fffbeb; }

/* HR 端 / 面试安排：实际开始时间（与预定时间区分） */
.ivcell__actual { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 11px;
  color: #15803d; white-space: nowrap; }
.ivcell__actual svg { width: 11px; height: 11px; flex: none; }

/* 测评结果截图上传（候选人端「我的投递」） */
.ptshot { border: 1px dashed var(--gray-300); border-radius: 10px; padding: 10px; background: #fff; }
.ptshot--empty { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: #fffbeb; }
.ptshot img { display: block; max-width: 100%; max-height: 220px; border-radius: 8px; border: 1px solid var(--line); }
.ptshot__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ptshot__ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #15803d; }
.ptshot__ok svg { width: 13px; height: 13px; }
@media (max-width: 520px) {
  .ptshot img { max-height: 180px; }
  /* 手机上每个入口独占一行、整宽，大拇指好点 */
  .ivplan__foot .btn { width: 100%; justify-content: center; }
}

/* ==================================================================
   个性化设置 · 配色方案（20261120）
   ------------------------------------------------------------------
   切换方式：BRANDCFG.apply() 给 <html> 写 data-brand="方案 id"，
   这里整体覆盖主色系变量与品牌渐变。业务组件全部引用 var(--primary*)，
   因此按钮 / 导航 / 徽章 / 表单焦点 / 登录页 / 启动遮罩会一起换色，
   无需逐个改组件，也不影响任何既有数据。
   ================================================================== */
html[data-brand="ocean"] {
  --primary: #0d6efd; --primary-700: #0a58ca; --primary-600: #0b5ed7;
  --primary-200: #b6d4fe; --primary-100: #cfe2ff; --primary-50: #eef5ff;
  --brand-grad-a: #0d6efd; --brand-grad-b: #0a58ca; --brand-grad-c: #083d8f;
  --brand-logo-a: #4d9bff; --brand-logo-shadow: rgba(13, 110, 253, .35);
  --brand-boot-a: #eaf3ff; --brand-boot-c: #e6f6ff; --brand-boot-ink: #0a58ca;
}
html[data-brand="teal"] {
  --primary: #0d9488; --primary-700: #0f766e; --primary-600: #11786f;
  --primary-200: #99f6e4; --primary-100: #ccfbf1; --primary-50: #f0fdfa;
  --brand-grad-a: #0d9488; --brand-grad-b: #0f766e; --brand-grad-c: #134e4a;
  --brand-logo-a: #2dd4bf; --brand-logo-shadow: rgba(13, 148, 136, .35);
  --brand-boot-a: #effefa; --brand-boot-c: #e9fbf5; --brand-boot-ink: #0f766e;
}
html[data-brand="violet"] {
  --primary: #7c3aed; --primary-700: #5b21b6; --primary-600: #6d28d9;
  --primary-200: #ddd6fe; --primary-100: #ede9fe; --primary-50: #f5f3ff;
  --brand-grad-a: #7c3aed; --brand-grad-b: #6d28d9; --brand-grad-c: #4c1d95;
  --brand-logo-a: #a78bfa; --brand-logo-shadow: rgba(124, 58, 237, .35);
  --brand-boot-a: #f5f3ff; --brand-boot-c: #f3eaff; --brand-boot-ink: #6d28d9;
}
html[data-brand="rose"] {
  --primary: #e11d48; --primary-700: #9f1239; --primary-600: #be123c;
  --primary-200: #fecdd3; --primary-100: #ffe4e6; --primary-50: #fff1f2;
  --brand-grad-a: #e11d48; --brand-grad-b: #be123c; --brand-grad-c: #881337;
  --brand-logo-a: #fb7185; --brand-logo-shadow: rgba(225, 29, 72, .35);
  --brand-boot-a: #fff1f2; --brand-boot-c: #fff0f3; --brand-boot-ink: #be123c;
}
html[data-brand="amber"] {
  --primary: #d97706; --primary-700: #92400e; --primary-600: #b45309;
  --primary-200: #fde68a; --primary-100: #fef3c7; --primary-50: #fffbeb;
  --brand-grad-a: #d97706; --brand-grad-b: #b45309; --brand-grad-c: #7c2d12;
  --brand-logo-a: #fbbf24; --brand-logo-shadow: rgba(217, 119, 6, .35);
  --brand-boot-a: #fffbeb; --brand-boot-c: #fff7e6; --brand-boot-ink: #b45309;
}
html[data-brand="graphite"] {
  --primary: #334155; --primary-700: #0f172a; --primary-600: #1e293b;
  --primary-200: #cbd5e1; --primary-100: #e2e8f0; --primary-50: #f1f5f9;
  --brand-grad-a: #334155; --brand-grad-b: #1e293b; --brand-grad-c: #0f172a;
  --brand-logo-a: #64748b; --brand-logo-shadow: rgba(51, 65, 85, .35);
  --brand-boot-a: #f1f5f9; --brand-boot-c: #eef2f6; --brand-boot-ink: #334155;
}

/* ==================================================================
   个性化设置页（#/personalize）
   ================================================================== */
/* 三张卡片等高齐平（20261120）：grid 默认 stretch，同行卡片底部对齐；
   卡片内部用 flex 列布局，body 撑满剩余高度，矮卡片内容仍靠上不拉伸 */
.bz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: stretch; }
.bz-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.bz-card__head { padding: 16px 18px; border-bottom: 1px solid var(--gray-100); }
.bz-card__title { font-size: 14.5px; font-weight: 700; color: var(--gray-900); }
.bz-card__desc { font-size: 11.5px; color: var(--gray-400); margin-top: 4px; line-height: 1.5; }
.bz-card__body { padding: 16px 18px; flex: 1; }
.bz-field { margin-bottom: 14px; }
.bz-field:last-child { margin-bottom: 0; }
.bz-label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.bz-hint { font-size: 11px; color: var(--gray-400); margin-top: 5px; line-height: 1.5; }
.bz-field .input, .bz-field .textarea { width: 100%; }
/* 头像 / logo 上传：预览框 + 操作按钮 */
.bz-logo { display: flex; align-items: center; gap: 14px; }
.bz-logo__box {
  width: 76px; height: 76px; flex: none; border-radius: 12px; overflow: hidden;
  background: #fff;                 /* 默认 logo 是深蓝点阵，需浅底才看得清 */
  color: var(--gray-900); font-weight: 700; font-size: 20px; display: grid; place-items: center;
  border: 1px solid var(--gray-200);
}
/* contain 不裁切：内置点阵 logo 是横向椭圆构图，cover 会被切掉两端；
   自定义正方形头像也保持完整可见 */
.bz-logo__box img { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; }
.bz-logo__ops { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* 配色方案：可点击的色卡，选中态用主色描边 */
.bz-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bz-theme {
  border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 10px; cursor: pointer;
  background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.bz-theme:hover { border-color: var(--primary-200); }
.bz-theme.is-on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.bz-theme__sw { height: 30px; border-radius: 7px; margin-bottom: 8px; }
.bz-theme__name { font-size: 12px; font-weight: 700; color: var(--gray-800); }
.bz-theme__desc { font-size: 10.5px; color: var(--gray-400); margin-top: 2px; }
/* 登录页宣传：3 组标题 + 描述 */
.bz-feat { border: 1px solid var(--gray-100); border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; background: var(--gray-50); }
.bz-feat__no { font-size: 10.5px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.bz-feat .input { margin-bottom: 6px; }
/* 底部操作条 */
.bz-savebar {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; margin-top: 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.bz-savebar__note { flex: 1; min-width: 200px; font-size: 11.5px; color: var(--gray-400); line-height: 1.5; }
@media (max-width: 640px) {
  .bz-grid { grid-template-columns: 1fr; }
  .bz-savebar { position: static; }
}

/* ==================================================================
   个性化设置 · 登录页预览层（20261120）
   ------------------------------------------------------------------
   点「预览登录页」弹出：直接复用真实登录页的 .login-root / .login 结构
   与全部样式，看到的即各端最终效果（含未保存的草稿内容与配色预览）。
   ================================================================== */
.bz-preview { position: fixed; inset: 0; z-index: 300; overflow-y: auto; }
.bz-preview .login-root { min-height: 100%; position: relative; }
.bz-preview__bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: rgba(17, 24, 39, .92); color: #fff; backdrop-filter: blur(6px);
}
.bz-preview__title { font-size: 12.5px; font-weight: 600; }
.bz-preview__tip { flex: 1; font-size: 11.5px; color: rgba(255,255,255,.62); }
.bz-preview__bar .btn { flex: none; }
/* 预览内的登录表单为静态示意：输入框保留视觉但不响应真实登录 */
.bz-preview .login input { pointer-events: none; }

/* ==================================================================
   面试题库 · 按岗位查看筛选条（20261120）
   ------------------------------------------------------------------
   「岗位关联概览」的统计徽章从纯展示改为可点击：点「全部题目 / 常规题 /
   某岗位」直接筛选下方题目列表（岗位专属 + 常规通用，与候选人端抽题
   口径一致）。徽章语义不变，只是加了按钮化与选中态样式。
   ================================================================== */
.qjob-bar .badge { border: none; cursor: pointer; padding: 3px 10px; }
.qjob-bar .badge b { font-weight: 800; }
.qjob-chip:hover { box-shadow: 0 1px 4px rgba(17, 24, 39, .12); }
/* 选中态用 inset 双描边（不改 border 避免布局跳动）：颜色随各色系徽章自动匹配 */
.qjob-chip.is-on { box-shadow: inset 0 0 0 1.5px currentColor, 0 1px 4px rgba(17, 24, 39, .10); }
/* 筛选生效后的提示条：说明当前口径并给「返回全部题目」出口 */
.qjob-tip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 12px; margin-bottom: 10px; border-radius: var(--radius);
  background: var(--primary-50, #eef3fd); color: var(--primary); font-size: 12.5px; line-height: 1.6;
}
.qjob-tip b { font-weight: 700; }
.qjob-tip .btn { flex: none; }

/* ==================================================================
   笔试题库 · 笔试设置区块（20261121）
   ------------------------------------------------------------------
   从「面试配置」预览页移入「笔试题」分类页签内，与要设置的题目同屏。
   用浅色描边块与下方题目列表区分，不额外占一张卡片、切换分类不跳动。
   ================================================================== */
.qz-settings {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--gray-50); padding: 14px 16px; margin-bottom: 14px;
}
.qz-settings__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.qz-settings__head b { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-right: 10px; }
.qz-settings .cfg-form { margin-bottom: 0; }
