/* 招聘中台 — 信息图风格设计系统（参考 CSR 报告视觉） */
:root {
  /* 主色与操作 */
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-soft: #eff6ff;
  --success: #40916c;
  --warning: #c45c26;
  --danger: #dc2626;

  /* 文字 */
  --text: #2c2c2c;
  --text-secondary: #666666;
  --text-disabled: #aaaaaa;

  /* 表面与边框 */
  --bg: #f5f2eb;
  --card: #ffffff;
  --border: #e8e4dc;
  --border-light: #f0ece4;

  /* 分区主题色（章节胶囊 / 卡片强调） */
  --theme-green: #2d6a4f;
  --theme-green-soft: #d8f3dc;
  --theme-orange: #c45c26;
  --theme-orange-soft: #fde8d8;
  --theme-brown: #92705a;
  --theme-brown-soft: #f3ebe3;
  --theme-blue: #2563eb;
  --theme-blue-soft: #dbeafe;
  --theme-lime: #5c940d;
  --theme-lime-soft: #e9f5d0;

  /* 布局 */
  --sidebar-width: 228px;
  --topbar-height: 60px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 2px 12px rgba(44, 38, 30, 0.06), 0 1px 3px rgba(44, 38, 30, 0.04);
  --shadow-hover: 0 8px 28px rgba(44, 38, 30, 0.1);
  --shadow-card: 0 1px 0 rgba(44, 38, 30, 0.04), 0 4px 16px rgba(44, 38, 30, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

/* ========== Login ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--theme-green-soft) 0%, var(--bg) 45%, #fff 100%);
}

.login-card {
  width: 420px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 44px 40px;
  border: 1px solid var(--border-light);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--theme-green);
  letter-spacing: -0.02em;
}

.login-logo p {
  color: var(--text-secondary);
  margin-top: 8px;
  font-size: 13px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.form-input {
  width: 100%;
  height: 42px;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-input.input-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-primary.btn-block { width: 100%; }

.btn-primary-inline {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-primary-inline:hover { background: var(--primary-hover); }

.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

.btn-link {
  background: none; border: none; color: var(--primary); cursor: pointer; padding: 0 4px; height: auto;
}
.btn-link:hover { color: var(--primary-hover); }
.btn-link.danger { color: var(--danger); }
.btn-default.danger { color: var(--danger); border-color: #fca5a5; }
.btn-default.danger:hover { background: #fef2f2; }

.btn[disabled], .btn.disabled {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}

.btn-default {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-default:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.login-remember-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-bottom: 12px;
}

.login-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.login-remember-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--theme-green);
  cursor: pointer;
}

/* ========== 设计系统组件 ========== */
.section-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.section-pill--green { background: var(--theme-green); }
.section-pill--orange { background: var(--theme-orange); }
.section-pill--brown { background: var(--theme-brown); }
.section-pill--blue { background: var(--theme-blue); }
.section-pill--lime { background: var(--theme-lime); }

.theme-green { --section-accent: var(--theme-green); --section-soft: var(--theme-green-soft); }
.theme-orange { --section-accent: var(--theme-orange); --section-soft: var(--theme-orange-soft); }
.theme-brown { --section-accent: var(--theme-brown); --section-soft: var(--theme-brown-soft); }
.theme-blue { --section-accent: var(--theme-blue); --section-soft: var(--theme-blue-soft); }
.theme-lime { --section-accent: var(--theme-lime); --section-soft: var(--theme-lime-soft); }

/* ========== App Shell ========== */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #1b4332 0%, #2d6a4f 55%, #40916c 100%);
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 2px 0 16px rgba(27, 67, 50, 0.15);
}

.sidebar-logo {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.nav-item {
  display: block;
  padding: 11px 22px;
  margin: 2px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.2s;
  cursor: pointer;
  font-size: 14px;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 600;
  box-shadow: inset 3px 0 0 #95d5b2;
}

.nav-item.muted {
  color: rgba(255, 255, 255, 0.45);
}

.nav-item .badge-soon {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.main-area {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  overflow-x: hidden;
}

.topbar {
  height: var(--topbar-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.content {
  padding: 28px 32px;
  flex: 1;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  border: 1px solid var(--border-light);
}

.page-header {
  margin-bottom: 28px;
}

.page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-header .page-subtitle {
  color: var(--text-secondary);
  margin-top: 6px;
  font-size: 14px;
  max-width: 640px;
  line-height: 1.6;
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 6px;
  font-size: 14px;
}

.breadcrumb {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb strong {
  color: var(--text);
  font-weight: 600;
}

.breadcrumb-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.breadcrumb-pill--green { background: var(--theme-green); }
a.breadcrumb-pill {
  text-decoration: none;
  color: #fff;
}
a.breadcrumb-pill:hover {
  background: #1b4332;
  color: #fff;
}

.breadcrumb-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.breadcrumb-sep {
  color: var(--text-disabled);
}

.breadcrumb-code {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-green);
  letter-spacing: 0.02em;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}

.info-card .section-pill { margin-bottom: 14px; }

.user-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  color: var(--text-secondary);
  font-size: 13px;
}

/* ========== Cards & Empty ========== */

.empty-state {
  text-align: center;
  padding: 60px 24px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.45;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 24px;
}

.phase-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}

/* ========== Dashboard grid ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stat-accent, var(--theme-blue));
  border-radius: var(--radius) var(--radius) 0 0;
}

.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.stats-grid .stat-card:nth-child(1) { --stat-accent: var(--theme-green); }
.stats-grid .stat-card:nth-child(2) { --stat-accent: var(--theme-blue); }
.stats-grid .stat-card:nth-child(3) { --stat-accent: var(--theme-orange); }
.stats-grid .stat-card:nth-child(4) { --stat-accent: var(--theme-lime); }
.stats-grid .stat-card:nth-child(5) { --stat-accent: var(--theme-brown); }
.stats-grid .stat-card:nth-child(6) { --stat-accent: var(--theme-green); }

/* ========== Dashboard (admin) ========== */
.content-dashboard .dashboard-header { margin-bottom: 14px; }
.content-dashboard .dashboard-header h2 { font-size: 22px; margin: 0; }
.stats-grid--dashboard {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.stats-grid--dashboard .stat-card {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.stats-grid--dashboard .stat-card::before { height: 3px; }
.stats-grid--dashboard .stat-card:hover { transform: none; }
.stats-grid--dashboard .stat-card .label {
  font-size: 12px;
  margin-bottom: 4px;
}
.stats-grid--dashboard .stat-card .value {
  font-size: 20px;
  line-height: 1.2;
  margin-top: 2px;
}
.stats-grid--dashboard .stat-month {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.3;
}
.dashboard-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.dashboard-panel { padding: 12px 14px; min-width: 0; }
.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.dashboard-panel-head h3 { font-size: 14px; font-weight: 700; margin: 0; }
.dashboard-export-btn { padding: 4px 10px; font-size: 12px; }
.dashboard-rings {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 0 4px;
}
.dashboard-ring-item { text-align: center; flex: 1; }
.dashboard-ring {
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  border-radius: 50%;
  border: 2px solid var(--theme-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-blue);
  background: #f0f7ff;
}
.dashboard-ring-label { font-size: 11px; color: var(--text-secondary); }
.dashboard-table--compact { font-size: 12px; width: 100%; table-layout: fixed; }
.dashboard-table--compact th,
.dashboard-table--compact td {
  padding: 3px 4px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-light);
}
.dashboard-table--compact th.col-name,
.dashboard-table--compact td.col-name {
  text-align: left;
  white-space: normal;
  word-break: break-all;
  width: 42%;
}
.dashboard-table--compact thead th {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fafafa;
}
.dashboard-empty { text-align: center; color: var(--text-secondary); padding: 12px 4px !important; font-size: 12px; }
@media (max-width: 1100px) {
  .dashboard-views { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stats-grid--dashboard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-card .label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.stat-card .value {
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
  color: var(--stat-accent, var(--primary));
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-card .value.placeholder {
  color: var(--text-disabled);
}

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--card);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px 20px;
  min-width: 200px;
  animation: slideIn 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Phase 1: Tables, Forms, Filters ========== */
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.toolbar-left, .toolbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.filter-bar {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.filter-item label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.filter-item .form-input, .filter-item select { width: 160px; height: 36px; }

.data-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border-light); }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-light); }
.data-table th { background: #faf8f5; font-weight: 600; color: var(--text-secondary); font-size: 13px; }
.data-table tr:hover td { background: #faf8f5; }
.data-table .actions { white-space: nowrap; }

.form-section { margin-bottom: 24px; }
.form-section h3 { font-size: 15px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; margin-bottom: 10px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-row.full { grid-template-columns: 1fr; }
.form-compact .card { padding: 16px 20px; }
.form-compact .page-header { margin-bottom: 10px; }
.form-compact .page-header h2 { font-size: 18px; }
.form-compact .form-section { margin-bottom: 12px; }
.form-compact .form-section h3 { font-size: 13px; margin-bottom: 8px; }
.form-compact .form-group { margin-bottom: 10px; }
.form-compact .form-group label { font-size: 12px; margin-bottom: 3px; }
.form-compact .form-input { height: 32px; font-size: 13px; }
.form-compact textarea.form-input { min-height: 72px; }
.form-compact .form-hint-placeholder::placeholder { font-size: 12px; }
.form-compact .ai-entry { padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
.form-compact .interview-rounds label { font-size: 12px; padding: 4px 8px; }
.form-compact .multi-select-wrap label { font-size: 12px; padding: 4px 8px; }
.form-compact .form-actions-bottom { margin-top: 16px; padding-top: 12px; }
.form-compact .collapse summary { font-size: 12px; padding: 8px 12px; }
.form-group .required::after { content: ' *'; color: var(--danger); }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; }
textarea.form-input { height: auto; min-height: 80px; padding: 8px 11px; resize: vertical; }
.form-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.inline-error { color: var(--danger); font-size: 12px; margin-top: 4px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; }
.badge-green { background: var(--theme-green-soft); color: var(--theme-green); border: 1px solid #b7e4c7; }
.badge-orange { background: var(--theme-orange-soft); color: var(--theme-orange); border: 1px solid #f5c4a8; }
.badge-gray { background: #f5f2eb; color: #888; border: 1px solid var(--border); }
.badge-blue { background: var(--theme-blue-soft); color: var(--theme-blue); border: 1px solid #93c5fd; }

.tag { display: inline-flex; align-items: center; gap: 4px; background: #f5f5f5; border: 1px solid #d9d9d9; border-radius: 4px; padding: 2px 8px; font-size: 12px; margin: 2px; }
.tag button { border: none; background: none; cursor: pointer; color: #999; font-size: 14px; line-height: 1; padding: 0; }
.tag-more { background: var(--primary-soft); border-color: #93c5fd; color: var(--primary); }
.tag-input-wrap { border: 1px solid var(--border); border-radius: 6px; padding: 6px; min-height: 40px; }
.tag-list { display: flex; flex-wrap: wrap; margin-bottom: 4px; }
.tag-input-field { border: none; outline: none; width: 100%; font-size: 14px; padding: 4px; }
.tag-suggestions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag-suggestion { font-size: 12px; padding: 2px 8px; border: 1px dashed #d9d9d9; border-radius: 4px; background: #fff; cursor: pointer; }
.tag-suggestion:hover { border-color: var(--primary); color: var(--primary); }

.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 16px; color: var(--text-secondary); font-size: 13px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(44, 38, 30, 0.35); backdrop-filter: blur(2px); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal { background: #fff; border-radius: var(--radius-lg); min-width: 360px; max-width: 90vw; max-height: 85vh; overflow: auto; box-shadow: var(--shadow-hover); border: 1px solid var(--border-light); }
.modal-lg { min-width: 560px; }
.modal-header { padding: 18px 24px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--border-light); letter-spacing: -0.01em; }
.modal-body { padding: 22px 24px; }
.modal-footer { padding: 14px 24px; border-top: 1px solid var(--border-light); display: flex; justify-content: flex-end; gap: 10px; background: #faf8f5; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.tabs { display: flex; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
.tab-btn { padding: 11px 20px; border: none; background: none; cursor: pointer; color: var(--text-secondary); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; transition: color 0.2s; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--theme-green); border-bottom-color: var(--theme-green); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pipeline-board { padding: 0; overflow: hidden; }
.pipeline-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
  padding: 0 8px;
  background: #fafafa;
}
.pipeline-stage-tabs .tab-btn {
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
}
.pipeline-board-table { margin-top: 0; padding: 0 16px 16px; }

/* ========== Sourcing page (Excel tool in app shell) ========== */
.content.sourcing-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--topbar-height));
  padding: 16px 20px 20px;
}
.sourcing-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sourcing-page-header h2 { font-size: 22px; }
.sourcing-page-header .page-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.sourcing-header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.sourcing-page #main-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.sourcing-page .main-layout { min-height: 420px; flex: 1; }

.sourcing-main-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; gap: 12px; }
.sourcing-main-layout {
  display: flex;
  min-height: 360px;
  flex: 1;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
}
.sourcing-company-sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 12px;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  max-height: 420px;
}
.sourcing-company-sidebar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  flex-shrink: 0;
}
#company-filter-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.sourcing-company-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  min-width: 0;
}
.sourcing-company-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.sourcing-company-item:hover { background: var(--primary-soft); }
.sourcing-company-item.is-pinned span { font-weight: 600; }
.sourcing-company-toggle {
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  padding-bottom: 8px;
  font-weight: 600;
}
.sourcing-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.sourcing-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.sourcing-table-section { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sourcing-candidate-list {
  flex: 1;
  min-height: 280px;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.sourcing-data-table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 13px; }
.sourcing-data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fafafa;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 8px 10px;
  white-space: nowrap;
}
.sourcing-data-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sourcing-data-table tbody tr:hover { background: var(--primary-soft); }
.sourcing-empty-hint {
  text-align: center;
  color: var(--text-secondary);
  padding: 28px 16px;
  font-size: 13px;
}
.sourcing-org-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  flex-shrink: 0;
}
.sourcing-org-panel .org-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.sourcing-org-panel .org-tree { display: flex; flex-wrap: wrap; gap: 16px; }
.sourcing-org-panel .org-company {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 200px;
  background: #fafcff;
}
.sourcing-org-panel .org-company-name { font-weight: 600; color: var(--primary); margin-bottom: 8px; font-size: 14px; }
.sourcing-org-panel .org-dept { margin-left: 12px; margin-bottom: 6px; font-size: 13px; }
.sourcing-org-panel .org-dept-name { font-weight: 500; }
.sourcing-org-panel .org-dept-count { color: var(--text-secondary); font-size: 12px; margin-left: 6px; }
.sourcing-org-panel .org-names { color: var(--text-secondary); font-size: 12px; margin-left: 8px; margin-top: 2px; }

/* ========== Sourcing 人才地图 ========== */
.sourcing-tmap-panel { margin-top: 12px; }
.tmap-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tmap-section-hint {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tmap-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f4f7f6;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 10px;
}
.tmap-toolbar-stats { font-size: 13px; color: var(--text-secondary); margin-right: 8px; }
.tmap-toolbar-scale { font-size: 12px; color: var(--text-secondary); min-width: 42px; text-align: center; }
.tmap-zoom-btn {
  width: 32px; height: 32px; border: 1px solid #d9dde3; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 16px; line-height: 1; color: #4b5563;
}
.tmap-zoom-btn:hover { border-color: #4b8bb3; color: #4b8bb3; }
.tmap-export-btn {
  padding: 6px 14px; border-radius: 6px; border: 1px solid #4b8bb3;
  background: #fff; color: #4b8bb3; font-size: 13px; cursor: pointer;
}
.tmap-export-btn:hover { background: #4b8bb3; color: #fff; }
.tmap-viewport {
  overflow: auto;
  min-height: 400px;
  max-height: 720px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f5f7f8;
  padding: 16px;
}
.tmap-canvas {
  transform-origin: top center;
  transition: transform 0.2s ease;
  min-width: min-content;
  margin: 0 auto;
}
.tmap-root-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tmap-root-card {
  border: 2px solid #4b8bb3;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f4f0 0%, #f0f7fb 100%);
  padding: 14px 28px;
  text-align: center;
  min-width: 200px;
}
.tmap-root-title { font-size: 16px; font-weight: 700; color: #1a3a4a; }
.tmap-root-stats { font-size: 13px; color: #5a7080; margin-top: 4px; }
.tmap-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}
.tmap-legend-item { display: inline-flex; align-items: center; gap: 4px; }
.tmap-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tmap-legend-hint { font-size: 11px; opacity: 0.75; }
.tmap-vline-root {
  width: 2px;
  height: 24px;
  background: var(--border, #c5d0d8);
  margin: 0 auto;
}
.tmap-branches-wrap { position: relative; padding-top: 0; }
.tmap-hline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border, #c5d0d8);
}
.tmap-branches {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
}
.tmap-branch-col { flex: 0 0 210px; max-width: 220px; display: flex; flex-direction: column; align-items: stretch; }
.tmap-stub {
  width: 2px;
  height: 16px;
  background: var(--border, #c5d0d8);
  margin: 0 auto;
  margin-top: -16px;
}
.tmap-org {
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  margin-bottom: 10px;
}
.tmap-org1 {
  border: 1.5px solid #4b8bb3;
  background: linear-gradient(180deg, rgba(75,139,179,0.12) 0%, rgba(75,139,179,0.04) 100%);
}
.tmap-org2 {
  border: 1.5px solid #7b8fa3;
  background: linear-gradient(180deg, rgba(123,143,163,0.1) 0%, rgba(123,143,163,0.03) 100%);
}
.tmap-org-title { font-size: 14px; font-weight: 700; color: #1a3a4a; }
.tmap-org-sub { font-size: 12px; color: #6b8090; margin-top: 2px; }
.tmap-org-names {
  font-size: 11px;
  color: #8a96a3;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tmap-cards { display: flex; flex-direction: column; gap: 8px; }
.ccard {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 8px;
}
.ccard-rank {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.ccard-rank.rk-green { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.ccard-rank.rk-gold { background: linear-gradient(135deg, #d4a017, #f0c040); }
.ccard-rank.rk-silver { background: linear-gradient(135deg, #9ca3af, #cbd5e1); }
.ccard-rank.rk-bronze { background: linear-gradient(135deg, #b87333, #d4956a); }
.ccard-body { min-width: 0; flex: 1; }
.ccard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 3px; }
.ccard-name { font-size: 13px; font-weight: 600; color: #1f1f1f; }
.ccard-co-tag {
  font-size: 9.2px; font-weight: 600; border-radius: 5px; padding: 1px 5px;
  background: rgba(65, 112, 246, 0.12); color: #4b8bb3;
}
.ccard-pills { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 3px; }
.ccard-pill {
  font-size: 9.2px; font-weight: 600; border-radius: 5px; padding: 1px 5px;
  background: #f0f4f8; color: #5a7080; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ccard-pill.pill-status { background: #e8f4f0; color: #2d6a4f; }
.ccard-meta { font-size: 11px; color: #8a96a3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmap-expand-btn {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; padding: 6px; border: none; background: transparent;
  color: #4b8bb3; font-size: 12px; cursor: pointer; border-radius: 6px;
}
.tmap-expand-btn:hover { background: rgba(75, 139, 179, 0.08); }
.tmap-expand-tri { font-size: 10px; }
.sourcing-result-hint { font-size: 12px; color: var(--text-secondary); margin-left: 8px; align-self: center; }
.sourcing-company-count { color: var(--text-secondary); font-size: 12px; }

.content.sourcing-page .filter-bar-sourcing {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
  min-height: 48px;
}
.content.sourcing-page .filter-bar-sourcing.filter-bar-two-rows { display: flex; flex-direction: column; gap: 8px; }
.content.sourcing-page .filter-bar-two-rows .filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 12px;
  align-items: end;
}
.content.sourcing-page .filter-bar-two-rows .filter-row.filter-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  justify-content: flex-start;
  align-items: center;
}
.content.sourcing-page .filter-bar-sourcing .filter-item label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.content.sourcing-page .sourcing-text-input {
  width: 100%;
  height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
}
.content.sourcing-page .sourcing-combo-wrap { position: relative; }
.content.sourcing-page .sourcing-combo-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}
.content.sourcing-page .sourcing-combo-opt { padding: 7px 10px; cursor: pointer; font-size: 13px; }
.content.sourcing-page .sourcing-combo-opt:hover { background: var(--primary-soft); }
.content.sourcing-page .sourcing-combo-empty { padding: 10px; color: var(--text-secondary); font-size: 12px; }

.sourcing-page .print-only { display: none; }
@media print {
  .sourcing-page .sidebar, .sourcing-page .topbar, .sourcing-page .sourcing-page-header,
  .sourcing-page .no-print, .sourcing-page .sourcing-company-sidebar,
  .sourcing-page .filter-bar-sourcing, .sourcing-page .sourcing-candidate-list,
  .sourcing-page .sourcing-header-actions, .sourcing-page .tmap-toolbar { display: none !important; }
  .sourcing-page .main-area { margin-left: 0 !important; }
  .sourcing-page .print-only { display: block !important; }
  .sourcing-page .sourcing-tmap-panel { box-shadow: none; border: 1px solid #ddd; margin: 0; break-inside: avoid; }
  .sourcing-page .tmap-viewport { max-height: none; overflow: visible; border: none; }
}

.detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.detail-header h2 { font-size: 22px; }
.detail-meta { color: var(--text-secondary); font-size: 13px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 16px; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.info-item label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.info-item div { word-break: break-word; }

.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--theme-green), #40916c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; box-shadow: 0 2px 8px rgba(45, 106, 79, 0.25); }
.talent-header { display: flex; gap: 16px; align-items: center; }

.collapse { border: 1px solid #f0f0f0; border-radius: 6px; margin-top: 16px; opacity: 0.6; }
.collapse summary { padding: 12px 16px; cursor: pointer; color: var(--text-secondary); }

.tooltip-wrap { position: relative; display: inline-block; }

/* ========== Excellent Further: 职位列表 ========== */
.filter-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.filter-grid-3.filter-compact .filter-item label { font-size: 11px; margin-bottom: 2px; color: #999; }
.filter-grid-3.filter-compact .form-input { height: 28px; font-size: 12px; padding: 2px 8px; }
.filter-actions-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.filter-actions-row .btn-sm { height: 28px; font-size: 12px; padding: 0 12px; }
.content-talents-list .talents-actions-row {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.content-talents-list .talents-section-pill {
  font-size: 12px;
  padding: 4px 10px;
  margin-right: 4px;
}
.content-talents-list .filter-bar-two-rows .filter-row.filter-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
  justify-content: flex-start;
  align-items: center;
}
.content-talents-list .filter-row-actions .btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}
.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.jobs-toolbar .btn-sm { height: 32px; font-size: 13px; }
.content-jobs-list .page-header { margin-bottom: 10px; }
.content-jobs-list .page-header h2 { font-size: 18px; }
.filter-item.filter-span-3 { grid-column: 1 / -1; }
.filter-grid-3 .filter-item .combobox-wrap { width: 100%; }
.filter-grid-3 .filter-item .form-input { width: 100%; box-sizing: border-box; }
.filter-grid-3 .filter-empty { visibility: hidden; pointer-events: none; min-height: 28px; }
.talents-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.talents-toolbar .btn-sm { height: 32px; font-size: 13px; }

/* ========== Sourcing 风格筛选栏（与 sourcing.html 一致） ========== */
.content-talents-list .filter-bar-sourcing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  background: var(--card);
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.content-talents-list .filter-bar-sourcing.filter-bar-two-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
}
.content-talents-list .filter-bar-two-rows .filter-row {
  display: grid;
  gap: 10px 12px;
  align-items: end;
}
.content-talents-list .filter-bar-two-rows .filter-row-1 {
  grid-template-columns: minmax(160px, 1.1fr) minmax(140px, 1fr) minmax(120px, 0.85fr);
}
.content-talents-list .filter-bar-two-rows .filter-row-2 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .content-talents-list .filter-bar-two-rows .filter-row-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .content-talents-list .filter-bar-two-rows .filter-row-1,
  .content-talents-list .filter-bar-two-rows .filter-row-2 {
    grid-template-columns: 1fr;
  }
}
.content-talents-list .filter-bar-sourcing .filter-item label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.content-talents-list .filter-bar-sourcing .filter-span-full { grid-column: 1 / -1; }
.content-talents-list .filter-bar-two-rows .sourcing-text-input {
  height: 32px;
  padding: 5px 10px;
  font-size: 13px;
}
.content-talents-list .filter-bar-two-rows .filter-item label {
  font-size: 11px;
  margin-bottom: 3px;
}
.content-talents-list .sourcing-text-input {
  width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  box-sizing: border-box;
  background: #fff;
}
.content-talents-list .sourcing-combo-wrap { position: relative; }
.content-talents-list .sourcing-combo-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  max-height: 180px;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
}
.content-talents-list .sourcing-combo-opt {
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
}
.content-talents-list .sourcing-combo-opt:hover { background: var(--primary-soft); }
.content-talents-list .sourcing-combo-empty { padding: 10px; color: var(--text-secondary); font-size: 12px; }
.content-talents-list .hidden { display: none !important; }
.content-talents-list .talents-filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
/* 人才池列表：一屏高度，表格区内部纵向滚动 */
.main-area:has(.content-talents-list) {
  height: 100vh;
  overflow: hidden;
}
.content-talents-list {
  padding: 16px 28px 16px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  /* 列宽基准：1u = 56px，可按 0.5 倍逐级缩小 */
  --talent-col-u: calc(56px * var(--talent-col-scale, 1));
}
.content-talents-list .filter-bar-sourcing.filter-bar-two-rows {
  padding: 14px 18px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.content-talents-list .talents-actions-row {
  margin-bottom: 8px;
  flex-shrink: 0;
}
.content-talents-list .table-section { flex: 1; min-width: 0; min-height: 0; }
.content-talents-list .talents-table-section {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.content-talents-list .talents-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
}
.content-talents-list .talents-data-table th {
  background: #faf8f5;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--theme-green-soft);
  position: sticky;
  top: 0;
  z-index: 3;
}
.content-talents-list .talents-data-table tbody tr.talent-row-main:hover td { background: #faf8f5; }
.content-talents-list .talents-data-table tbody tr.talent-row-main.is-expanded td {
  background: #f6faf8;
  border-bottom-color: transparent;
}
.content-talents-list .talent-name-link {
  color: var(--theme-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.content-talents-list .talent-name-link:hover {
  color: #1b4332;
  border-bottom-color: #95d5b2;
}
.content-talents-list .table-actions-cell {
  white-space: nowrap;
}
.content-talents-list .table-action-link {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  margin-right: 4px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: var(--theme-green);
  transition: background 0.15s;
}
.content-talents-list .table-action-link:hover {
  background: #1b4332;
  color: #fff;
}
.content-talents-list .table-action-link--muted {
  color: var(--theme-green);
  background: var(--theme-green-soft);
  border: 1px solid #b7e4c7;
}
.content-talents-list .table-action-link--muted:hover {
  background: #c3e6cb;
  color: #1b4332;
}
.content-talents-list .talent-date-cell,
.content-talents-list .talents-data-table th.col-date {
  color: var(--text-secondary);
  font-size: 10px;
}
.content-talents-list .pagination {
  flex-shrink: 0;
  margin-top: 10px;
  padding-bottom: 2px;
  font-size: 13px;
  color: var(--text-secondary);
}
.content-talents-list .talents-data-table {
  table-layout: fixed;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  width: 100%;
  max-width: 100%;
}
.content-talents-list .talents-data-table th,
.content-talents-list .talents-data-table td {
  padding: 8px 6px;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
}
.content-talents-list .talents-data-table col.col-u1,
.content-talents-list .talents-data-table .col-u1 { width: calc(var(--talent-col-u) * 1); }
.content-talents-list .talents-data-table col.col-u1_5,
.content-talents-list .talents-data-table .col-u1_5 { width: calc(var(--talent-col-u) * 1.5); }
.content-talents-list .talents-data-table col.col-u2,
.content-talents-list .talents-data-table .col-u2 { width: calc(var(--talent-col-u) * 2); }
.content-talents-list .talents-data-table col.col-u2_5,
.content-talents-list .talents-data-table .col-u2_5 { width: calc(var(--talent-col-u) * 2.5); }
.content-talents-list .talents-data-table col.col-u3,
.content-talents-list .talents-data-table .col-u3 { width: calc(var(--talent-col-u) * 3); }
.content-talents-list .talents-data-table .col-actions {
  white-space: nowrap;
}
.content-talents-list .talent-name-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
.content-talents-list .talent-name-cell .talent-name-link {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}
.content-talents-list .talent-name-cell .talent-dup-badge {
  flex-shrink: 0;
  margin-left: 0;
}
.content-talents-list .talent-row-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  min-width: 14px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: #6b9080;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.content-talents-list .talent-row-toggle:hover,
.content-talents-list .talent-row-toggle.is-open {
  background: rgba(45, 106, 79, 0.14);
  color: var(--theme-green);
}
.content-talents-list .talents-data-table .col-actions .table-action-link {
  height: 24px;
  padding: 0 6px;
  font-size: 11px;
  margin-right: 2px;
}
.content-talents-list .talent-row-detail {
  display: none;
}
.content-talents-list .talent-row-detail.is-open {
  display: table-row;
}
.content-talents-list .talent-row-detail td {
  padding: 0;
  white-space: normal;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #f8fbf9 0%, #faf8f5 100%);
}
.content-talents-list .talent-detail-panel {
  padding: 8px 12px 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.content-talents-list .talent-detail-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0;
  background: none;
  border: none;
}
.content-talents-list .talent-detail-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 100%;
  padding: 5px 10px;
  background: #edf5fa;
  border: 1px solid #c9dce8;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(26, 64, 84, 0.04);
}
.content-talents-list .talent-detail-chip.is-empty {
  opacity: 0.55;
}
.content-talents-list .talent-detail-compact .talent-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: #5a7d92;
  white-space: nowrap;
  line-height: 1.2;
}
.content-talents-list .talent-detail-compact .talent-detail-value {
  font-size: 11px;
  font-weight: 500;
  color: #1a4054;
  white-space: nowrap;
  line-height: 1.3;
}
.content-talents-list .talent-detail-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8e4;
}
@media (max-width: 960px) {
  .content-talents-list .talent-detail-wide {
    grid-template-columns: 1fr;
  }
}
.content-talents-list .talent-detail-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e8ece9;
}
.content-talents-list .talent-detail-field.is-empty .talent-detail-value {
  color: #b0b8b3;
}
.content-talents-list .talent-detail-wide .talent-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: #8a9490;
  letter-spacing: 0.02em;
}
.content-talents-list .talent-detail-wide .talent-detail-value {
  font-size: 11px;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.content-talents-list .talents-data-table .col-clip {
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-talents-list .talents-data-table .col-u1:not(.col-clip):not(.col-name):not(.col-actions) {
  text-align: center;
}
.content-talents-list .talents-data-table .col-name {
  text-align: left;
}
.content-talents-list .talent-dup-badge {
  margin-left: 6px;
  font-size: 11px;
  vertical-align: middle;
}
.content-talents-list .talents-data-table col.col-auto-fit,
.content-talents-list .talents-data-table .col-auto-fit {
  width: calc(var(--talent-col-u) * 1);
}
.content-talents-list .talent-dept-cell {
  position: relative;
  display: block;
  width: 100%;
  min-height: 1.35em;
}
.content-talents-list .talent-dept-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}
.content-talents-list .talent-dept-cell.has-headcount .talent-dept-name {
  padding-right: 32px;
}
.content-talents-list .talent-headcount-tag {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: inline-block;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  background: var(--theme-blue);
  border: 1px solid #1d4ed8;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.45);
}
.content-talents-list td.col-key-department.has-headcount-tag {
  padding-top: 10px;
}

/* ========== 候选人档案页 ========== */
.content-talent-profile {
  max-width: 960px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.content-talent-profile .profile-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow-card);
}
.content-talent-profile .profile-tabs {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}
.content-talent-profile .profile-tabs .tab-btn {
  font-size: 14px;
  padding: 10px 16px;
}
.content-talent-profile .profile-actions-top {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 0;
  padding-bottom: 8px;
  flex-shrink: 0;
}
.content-talent-profile .profile-panel { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.content-talent-profile .profile-hero {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff 0%, #faf8f5 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-bottom: 1px solid var(--border-light);
}
.content-talent-profile .profile-hero-name {
  flex: 0 0 108px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--theme-green);
  display: flex;
  align-items: center;
  word-break: break-all;
}
.content-talent-profile .profile-info-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.content-talent-profile .profile-info-card .section-pill {
  margin-bottom: 12px;
}
.content-talent-profile .profile-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.content-talent-profile .profile-metric-card {
  background: var(--theme-green-soft);
  border: 1px solid #b7e4c7;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  min-height: 64px;
}
.content-talent-profile .profile-metric-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
}
.content-talent-profile .profile-metric-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-green);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.content-talent-profile .profile-contact-card .resume-contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  border: none;
}
.content-talent-profile .profile-contact-card .resume-contact-row span {
  background: var(--theme-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.content-talent-profile .profile-contact-card .resume-contact-row label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.content-talent-profile .profile-resume-card {
  padding-bottom: 8px;
}
.content-talent-profile .profile-resume-card .resume-timeline-group-label {
  color: var(--theme-brown);
  font-weight: 600;
}
.content-talent-profile .profile-hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.content-talent-profile .profile-hero-intake {
  margin-bottom: 3px;
}
.content-talent-profile .profile-hero-intake-primary {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.content-talent-profile .profile-hero-intake-reparse {
  margin-top: 2px;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}
.content-talent-profile .profile-hero-tags {
  min-height: 0;
}
.content-talent-profile .profile-hero-timeline {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: left;
}
.content-talent-profile .profile-hero-timeline-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-talent-profile .profile-hero-contact-line {
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 2px;
}
.content-talent-profile .profile-hero-contact {
  font-size: 12px;
  font-weight: 500;
  color: var(--theme-blue);
}
.content-talent-profile .profile-hero-contact-sep {
  font-size: 12px;
  color: var(--text-disabled);
}
.content-talent-profile .profile-hero-timeline-edu {
  color: #8c8c8c;
}
.content-talent-profile .profile-hero-timeline-empty {
  font-size: 12px;
  color: var(--text-secondary);
}
.content-talent-profile .profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.content-talent-profile .profile-meta-row-bottom {
  margin-top: 4px;
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: 0;
  border-bottom: none;
  border-top: 1px solid #f0f0f0;
}
.content-talent-profile .profile-pipeline-section {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid #f0f0f0;
}
.content-talent-profile .profile-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.content-talent-profile .profile-pipeline-section .empty-state {
  margin: 0;
}

/* ========== Phase 3 推进进展 ========== */
.content-talent-profile .profile-pipeline-teaser {
  margin-top: 0;
  padding: 16px 24px 20px;
  border-top: 1px solid #f0f0f0;
}
.content-talent-profile .profile-pipeline-teaser-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}
.content-talent-profile .pipeline-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  font-size: 12px;
}
.content-talent-profile .pipeline-body-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.content-talent-profile #tab-pipe.tab-panel.active {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--topbar-height) - 88px);
  min-height: 420px;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.content-talent-profile #tab-pipe .profile-pipeline-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  border-top: none;
}
.content-talent-profile .pipeline-panel-empty {
  padding: 24px;
}
.content-talent-profile .pipeline-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
  z-index: 2;
  background: #fff;
}
.content-talent-profile .pipeline-toolbar-options {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.content-talent-profile .pipeline-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-width: 0;
}
.content-talent-profile .pipeline-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  flex: 0 0 auto;
}
.content-talent-profile .pipeline-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.content-talent-profile .pipeline-check input {
  margin: 0;
}
.content-talent-profile .pipeline-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.content-talent-profile .pipeline-history-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.content-talent-profile .pipeline-history-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  color: var(--text-secondary);
}
.content-talent-profile .pipeline-history-btn:hover {
  border-color: var(--theme-green);
  color: var(--theme-green);
}
.content-talent-profile .pipeline-history-panel {
  margin: 0 16px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-talent-profile .pipeline-history-head {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.content-talent-profile .pipeline-history-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.content-talent-profile .pipeline-history-row:hover,
.content-talent-profile .pipeline-history-row.is-active {
  background: var(--theme-green-soft);
}
.content-talent-profile .pipeline-history-row-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.content-talent-profile .pipeline-history-job {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.content-talent-profile .pipeline-history-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.content-talent-profile .pipeline-history-tag--go {
  background: #e6f4ff;
  color: #1677ff;
}
.content-talent-profile .pipeline-history-tag--ok {
  background: #d1e7dd;
  color: #1b4332;
}
.content-talent-profile .pipeline-history-tag--end {
  background: #f5f5f5;
  color: #8c8c8c;
}
.content-talent-profile .pipeline-history-row-right {
  text-align: right;
  flex-shrink: 0;
}
.content-talent-profile .pipeline-history-current {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-green);
}
.content-talent-profile .pipeline-history-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.content-talent-profile .pipeline-job-context {
  padding: 8px 20px 0;
  font-size: 12px;
  color: var(--text-secondary);
}
.content-talent-profile .pipeline-timeline-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px 16px;
  min-height: 180px;
  max-height: 420px;
}
.content-talent-profile .pipeline-timeline {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}
.content-talent-profile .pipeline-timeline-empty {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 24px 0;
  text-align: center;
}
.content-talent-profile .pipeline-event {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.content-talent-profile .pipeline-event.is-terminal {
  border-left: 3px solid var(--danger);
  padding-left: 8px;
  margin-left: -3px;
}
.content-talent-profile .pipeline-event.is-invalid {
  opacity: 0.45;
}
.content-talent-profile .pipeline-event-cat {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f4fc;
  color: #3d6d8c;
}
.content-talent-profile .pipeline-event-cat--E {
  background: #fff1f0;
  color: var(--danger);
}
.content-talent-profile .pipeline-event-cat--D {
  background: #d1e7dd;
  color: #1b4332;
}
.content-talent-profile .pipeline-event-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-talent-profile .pipeline-event-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-talent-profile .pipeline-event-summary .pipeline-event-title {
  color: var(--text-secondary);
  font-weight: 400;
}
.content-talent-profile .pipeline-alerts {
  padding: 8px 20px 0;
}
.content-talent-profile .pipeline-alerts--job {
  padding: 8px 16px 0;
}
.content-talent-profile .pipeline-alert {
  font-size: 12px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 6px;
}
.content-talent-profile .pipeline-job-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 12px;
}
.content-talent-profile .pipeline-job-module {
  border: 1px solid #ebebeb;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.content-talent-profile .pipeline-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: #f0f0f0;
  min-height: 34px;
}
.content-talent-profile .pipeline-job-header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.content-talent-profile .pipeline-job-link-date,
.content-talent-profile .pipeline-job-highest {
  font-weight: 700;
  color: var(--text);
}
.content-talent-profile .pipeline-job-header-sep {
  color: #999;
  font-weight: 400;
}
.content-talent-profile .pipeline-job-name {
  font-weight: 700;
  color: var(--theme-blue, #1677ff);
}
.content-talent-profile .pipeline-job-code {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}
.content-talent-profile .pipeline-job-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.content-talent-profile .pipeline-job-toggle:hover {
  border-color: var(--theme-green);
  color: var(--theme-green);
}
.content-talent-profile .pipeline-job-body {
  padding: 2px 10px 0;
}
.content-talent-profile .pipeline-job-timeline {
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 2px 0 4px;
  display: flex;
  flex-direction: column;
}
.content-talent-profile .pipeline-job-timeline .resume-entry-time-col {
  flex: 0 0 88px;
  min-width: 88px;
}
.content-talent-profile .pipeline-job-timeline .resume-entry-rail {
  width: 14px;
  margin: 0 8px 0 4px;
}
.content-talent-profile .pipeline-job-timeline .resume-entry-dot {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}
.content-talent-profile .pipeline-job-timeline .resume-entry-row {
  min-height: 44px;
}
.content-talent-profile .pipeline-step {
  padding: 5px 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  background: transparent;
}
.content-talent-profile .pipeline-step:last-child {
  border-bottom: none;
}
.content-talent-profile .pipeline-step.is-terminal {
  opacity: 0.85;
}
.content-talent-profile .pipeline-step-date {
  font-size: 10px;
  font-weight: 500;
  color: var(--text);
}
.content-talent-profile .pipeline-step-time {
  font-size: 10px;
  color: var(--text-secondary);
}
.content-talent-profile .pipeline-step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.content-talent-profile .pipeline-step-operator {
  margin-top: 2px;
  font-size: 11px;
  color: var(--theme-blue, #1677ff);
  line-height: 1.35;
}
.content-talent-profile .pipeline-step-details {
  margin-top: 4px;
}
.content-talent-profile .pipeline-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text);
  margin-top: 2px;
}
.content-talent-profile .pipeline-detail-label {
  flex: 0 0 4em;
  width: 4em;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}
.content-talent-profile .pipeline-detail-value {
  flex: 1;
  min-width: 0;
  color: var(--text);
  word-break: break-word;
}
.content-talent-profile .pipeline-action-bar--dock {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}
.content-talent-profile .pipeline-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 12px;
  flex-shrink: 0;
}
.content-talent-profile .pipeline-action-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.content-talent-profile .pipeline-action-primary .btn {
  white-space: nowrap;
  font-size: 12px;
  padding: 4px 12px;
}
.content-talent-profile .profile-pipeline-section {
  padding: 0;
}
.content-talent-profile .profile-meta-item label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.content-talent-profile .profile-meta-item span { font-size: 14px; }
.content-talent-profile .resume-frame {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: #faf8f5;
  box-shadow: var(--shadow-card);
}
.content-talent-profile .resume-frame-body {
  padding: 14px 16px 18px;
  background: #fff;
}
.content-talent-profile .tab-panel#tab-conv {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.content-talent-profile .conv-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-talent-profile .conv-panel-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.content-talent-profile .conv-empty-tip {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 14px;
}
.content-talent-profile .conv-panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.content-talent-profile .conv-panel-meta {
  font-size: 12px;
  color: var(--text-secondary);
}
.content-talent-profile .conv-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.content-talent-profile .conv-split-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.content-talent-profile .conv-split-left,
.content-talent-profile .conv-split-right {
  margin-bottom: 0;
  min-height: 280px;
}
.content-talent-profile .conv-metrics-compact {
  margin-bottom: 12px;
}
.content-talent-profile .conv-tiles-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-talent-profile .conv-tile {
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--theme-green);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #faf8f5;
}
.content-talent-profile .conv-tile-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.content-talent-profile .conv-tile-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--theme-green);
  line-height: 1.45;
  margin-bottom: 6px;
}
.content-talent-profile .conv-tile-supplement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e8e4dc;
}
.content-talent-profile .conv-tile-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--theme-green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  cursor: help;
}
.content-talent-profile .conv-tile-detail {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
  padding-top: 4px;
}
.content-talent-profile .resume-entry-group-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-brown);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--theme-brown-soft);
}
.content-talent-profile .resume-entry-group-tag--edu {
  color: var(--theme-green);
  border-bottom-color: var(--theme-green-soft);
}
.content-talent-profile .conv-advisor-block {
  margin-bottom: 14px;
}
.content-talent-profile .conv-advisor-block:last-child {
  margin-bottom: 0;
}
.content-talent-profile .conv-advisor-block h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-orange);
  margin: 0 0 6px;
}
.content-talent-profile .conv-advisor-text {
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--text);
  background: var(--theme-orange-soft);
  border: 1px solid #f0d4bc;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
@media (max-width: 860px) {
  .content-talent-profile .conv-split-main {
    grid-template-columns: 1fr;
  }
}
.content-talent-profile .conv-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.content-talent-profile .conv-metric {
  background: var(--theme-green-soft);
  border: 1px solid #b7e4c7;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}
.content-talent-profile .conv-metric-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.content-talent-profile .conv-metric-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-green);
}
.content-talent-profile .conv-assessment-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.content-talent-profile .conv-assess-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
}
.content-talent-profile .conv-assess-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-top: 2px;
}
.content-talent-profile .conv-assess-body .conv-field-conclusion-display {
  margin-bottom: 4px;
}
.content-talent-profile .conv-assess-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.content-talent-profile .conv-summary-plain {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px;
}
.content-talent-profile .conv-source-block {
  margin-top: 8px;
  font-size: 13px;
}
.content-talent-profile .conv-source-block summary {
  cursor: pointer;
  color: var(--theme-blue);
  font-weight: 500;
}
.content-talent-profile .resume-frame-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.content-talent-profile .resume-frame-tab-left {
  display: flex;
  align-items: stretch;
}
.content-talent-profile .resume-frame-tab-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 0;
  margin-left: auto;
  flex-wrap: wrap;
}
.content-talent-profile .split-control {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.content-talent-profile .split-tab-control {
  margin-right: 4px;
}
.content-talent-profile .split-tab-control .resume-tab-btn {
  padding-right: 8px;
}
.content-talent-profile .split-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 0 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}
.content-talent-profile .split-tab-control .split-caret-btn {
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  min-width: 22px;
  padding: 10px 8px 10px 0;
}
.content-talent-profile .profile-tabs .tab-btn.active {
  color: var(--theme-green);
  border-bottom-color: var(--theme-green);
}
.content-talent-profile .split-tab-control .resume-tab-btn.active + .split-caret-btn {
  color: var(--theme-green);
  border-bottom-color: var(--theme-green);
}
.content-talent-profile .resume-tab-btn.active {
  color: var(--theme-green);
  border-bottom-color: var(--theme-green);
}
.content-talent-profile .split-control .split-main-btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.content-talent-profile .split-control > .split-caret-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-width: 28px;
}
.content-talent-profile .split-control > .split-caret-btn:hover,
.content-talent-profile .split-tab-control .split-caret-btn:hover {
  color: var(--primary);
  background: #f5f9ff;
}
.content-talent-profile .split-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  min-width: 220px;
  max-width: 320px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 300;
  padding: 4px 0;
}
.content-talent-profile .split-menu.open { display: block; }
.content-talent-profile .split-menu-right {
  right: 0;
  left: auto;
}
.content-talent-profile .split-menu-down {
  top: calc(100% + 4px);
}
.content-talent-profile .split-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
}
.content-talent-profile .split-menu-item:hover {
  background: #e6f4ff;
}
.content-talent-profile .split-menu-item.active {
  background: #e6f4ff;
  color: var(--primary);
  font-weight: 500;
}
.content-talent-profile .split-menu-item-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-talent-profile .split-menu-item-meta {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-secondary);
}
.content-talent-profile .split-menu-note {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.content-talent-profile .resume-tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.content-talent-profile .resume-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 500;
}
.content-talent-profile .resume-frame-body {
  display: none;
  padding: 18px 20px;
  background: #fff;
  min-height: 240px;
}
.content-talent-profile .resume-frame-body.active { display: block; }
.content-talent-profile .resume-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.content-talent-profile .resume-contact-row label {
  color: var(--text-secondary);
  margin-right: 6px;
  font-size: 12px;
}
.content-talent-profile .resume-section-experience { margin-bottom: 18px; }
.content-talent-profile .resume-timeline-group-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 156px;
}
.content-talent-profile .resume-timeline-group-label-sep {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e8e8e8;
}
.content-talent-profile .resume-section { margin-bottom: 18px; }
.content-talent-profile .resume-section-edu {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px dashed #e8e8e8;
}
.content-talent-profile .resume-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.content-talent-profile .resume-timeline {
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.content-talent-profile .resume-timeline-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}
.content-talent-profile .resume-timeline-track {
  display: none;
}
.content-talent-profile .resume-work-item,
.content-talent-profile .resume-edu-item {
  padding: 12px 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  border-radius: 0;
  background: transparent;
}
.content-talent-profile .resume-entry-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}
.content-talent-profile .resume-timeline .resume-entry-row {
  min-height: 56px;
}
.content-talent-profile .resume-entry-time-col {
  flex: 0 0 118px;
  min-width: 118px;
  padding-top: 2px;
}
.content-talent-profile .resume-entry-period {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.35;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.content-talent-profile .resume-entry-duration {
  margin-top: 5px;
  font-size: 10px;
  color: #999;
  line-height: 1.35;
  white-space: nowrap;
}
.content-talent-profile .resume-entry-rail {
  position: relative;
  width: 18px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  margin: 0 14px 0 6px;
  padding-top: 3px;
}
.content-talent-profile .resume-entry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #bfbfbf;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
}
.content-talent-profile .resume-entry-line {
  display: none;
}
.content-talent-profile .resume-entry-body {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}
.content-talent-profile .resume-original-panel {
  min-height: 200px;
}
.content-talent-profile .original-file-viewer {
  width: 100%;
  overflow: auto;
}
.content-talent-profile .original-pdf-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  background: #f5f5f5;
  border-radius: var(--radius);
}
.content-talent-profile .original-pdf-page {
  max-width: 100%;
  height: auto;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  background: #fff;
}
.content-talent-profile .original-docx-viewer,
.content-talent-profile .original-docx-html {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}
.content-talent-profile .original-docx-html p {
  margin: 0 0 0.75em;
}
.content-talent-profile .original-docx-html table {
  border-collapse: collapse;
  margin: 0.5em 0;
}
.content-talent-profile .original-docx-html td,
.content-talent-profile .original-docx-html th {
  border: 1px solid #e8e8e8;
  padding: 4px 8px;
}
.content-talent-profile .original-image-viewer {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.content-talent-profile .original-file-hint,
.content-talent-profile .original-file-loading {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 12px 0;
  line-height: 1.6;
}
.content-talent-profile .resume-attachments {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e8e8e8;
}
.content-talent-profile .resume-attachments-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.content-talent-profile .resume-attachments-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.content-talent-profile .resume-attachments-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
}
.content-talent-profile .resume-attachments-list li:last-child { border-bottom: none; }
.content-talent-profile .resume-att-name { color: var(--text); }
.content-talent-profile .resume-att-meta { color: var(--text-secondary); font-size: 12px; }
.content-talent-profile .resume-work-item:last-child,
.content-talent-profile .resume-edu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.content-talent-profile .resume-edu-school {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.content-talent-profile .resume-work-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.content-talent-profile .resume-work-position {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}
.content-talent-profile .resume-work-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  white-space: pre-wrap;
}
.content-talent-profile .resume-edu-line2 {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.content-talent-profile .resume-original-text {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.content-talent-profile .resume-empty { color: var(--text-secondary); font-size: 14px; padding: 6px 0; }

/* ========== 候选人编辑页 ========== */
.content-talent-form { max-width: 880px; }
.content-talent-form.form-compact .card { padding: 14px 18px; }
.content-talent-form.form-compact .form-section { margin-bottom: 10px; }
.content-talent-form.form-compact .form-section h3 {
  font-size: 13px;
  margin-bottom: 6px;
  padding-bottom: 4px;
}
.content-talent-form.form-compact .form-row { gap: 8px 10px; margin-bottom: 6px; }
.content-talent-form.form-compact .form-group { margin-bottom: 0; }
.content-talent-form.form-compact .form-footer { margin-top: 14px; padding-top: 10px; }
.content-talent-form .form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
}
.content-talent-form .form-section-head h3 {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 13px;
}
.content-talent-form .resume-entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content-talent-form .resume-entry-card {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fafcff;
}
.content-talent-form .resume-entry-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ========== AI 简历解析 ========== */
.content-ai-resume { max-width: 880px; }
.ai-upload-card h3, .ai-preview-card h3 { font-size: 16px; margin-bottom: 8px; }
.ai-hint { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; }
.ai-hint-sm { color: var(--text-secondary); font-size: 12px; margin-top: 12px; }
.ai-hint-sm code { font-size: 11px; background: #f5f5f5; padding: 1px 4px; border-radius: 3px; }
.ai-upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ai-file-name { font-size: 13px; color: var(--text-secondary); }
.ai-status { font-size: 13px; margin-top: 12px; min-height: 20px; }
.ai-status-loading { color: var(--primary); }
.ai-status-ok { color: #389e0d; }
.ai-status-error { color: var(--danger); }
.ai-preview-card { margin-top: 16px; }
.ai-preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.ai-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-bottom: 16px;
}
.ai-preview-grid .form-group { margin: 0; }
.ai-preview-intake {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px dashed #e8e8e8;
}
.ai-preview-intake .form-group { margin: 0; }
.ai-preview-intake label { font-size: 12px; display: block; margin-bottom: 4px; }
.ai-preview-grid label { font-size: 12px; display: block; margin-bottom: 4px; }
.ai-preview-resume label { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 6px; }
.ai-pre {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0;
  max-height: 160px;
  overflow-y: auto;
}
.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 980px;
}
.ai-tool-card {
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ai-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--section-accent, var(--theme-blue));
}
.ai-tools-grid .ai-tool-card:nth-child(1) { --section-accent: var(--theme-blue); }
.ai-tools-grid .ai-tool-card:nth-child(2) { --section-accent: var(--theme-orange); }
.ai-tools-grid .ai-tool-card:nth-child(3) { --section-accent: var(--theme-green); }
.theme-green .ai-tool-upload-btn { background: var(--theme-green); }
.theme-green .ai-tool-upload-btn:hover { background: #2d6a4f; }
.ai-tool-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--section-soft, var(--primary-soft));
  transform: translateY(-2px);
}
.ai-tool-card.muted { opacity: 0.55; pointer-events: none; }
.ai-tool-upload-btn {
  margin-top: auto;
  padding-top: 4px;
  min-width: 120px;
}
.theme-blue .ai-tool-upload-btn { background: var(--theme-blue); }
.theme-blue .ai-tool-upload-btn:hover { background: #1d4ed8; }
.theme-orange .ai-tool-upload-btn { background: var(--theme-orange); }
.theme-orange .ai-tool-upload-btn:hover { background: #a34a1f; }
.ai-tool-icon {
  font-size: 40px;
  margin-bottom: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-soft, var(--primary-soft));
  border-radius: 14px;
}
.ai-tool-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.ai-tool-card p { color: var(--text-secondary); font-size: 13px; margin-bottom: 18px; line-height: 1.55; flex: 1; }

/* ========== Job JD import modal ========== */
.job-import-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.job-import-select-all { font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.job-import-list {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  max-height: 360px;
  overflow-y: auto;
  background: #fafafa;
}
.job-import-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}
.job-import-row:last-child { border-bottom: none; }
.job-import-row:hover { background: var(--primary-soft); }
.job-import-row input { margin-top: 4px; flex-shrink: 0; }
.job-import-row-main { min-width: 0; flex: 1; }
.job-import-row-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.job-import-row-meta { font-size: 12px; color: var(--text-secondary); }
.job-import-code-custom { margin-top: 6px; }
.hidden { display: none !important; }

.modal-ai-import .modal-body { max-height: 70vh; overflow-y: auto; }
.ai-excel-preview-wrap { max-height: 220px; overflow: auto; margin-bottom: 12px; }
.ai-excel-preview-table { font-size: 12px; }
.ai-excel-preview-table th,
.ai-excel-preview-table td { padding: 6px 10px; }

.conv-textarea { min-height: 160px; resize: vertical; font-size: 13px; }
.conv-textarea-sm { min-height: 72px; resize: vertical; font-size: 13px; }
.conv-sync-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 12px 0; }
.conv-source-details { margin-top: 8px; font-size: 13px; }
.conv-tab-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.conv-tab-header h3 { margin: 0; font-size: 16px; }
.conv-record-list { display: flex; flex-direction: column; gap: 12px; }
.conv-record { padding: 20px 22px; border-left: 4px solid var(--theme-blue); }
.conv-summary-highlight { padding: 16px 18px; margin-bottom: 16px; background: var(--theme-blue-soft); border-color: #bfdbfe; border-radius: var(--radius-sm); }
.conv-summary-label { font-weight: 700; color: var(--theme-blue); flex-shrink: 0; }
.conv-input-tab.active { color: var(--theme-blue); background: var(--theme-blue-soft); font-weight: 600; border-radius: var(--radius-pill); }
.conv-help-demo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: var(--theme-blue-soft); color: var(--theme-blue);
  font-size: 11px; font-weight: 600;
}
.conv-help-btn {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid #93c5fd;
  background: #fff; color: var(--theme-blue); font-size: 11px; line-height: 1; cursor: pointer; padding: 0;
}
.conv-field-help {
  font-size: 12px; color: var(--text-secondary); background: #faf8f5;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px;
}
.conv-record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.conv-record-meta { font-size: 12px; color: var(--text-secondary); }
.conv-summary { font-size: 14px; margin: 0 0 8px; line-height: 1.5; }
.conv-fields { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.conv-details summary { cursor: pointer; font-size: 12px; color: var(--primary); }

.conv-input-tabs { display: flex; gap: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--border-light); padding-bottom: 8px; }
.conv-input-tab {
  border: none; background: none; padding: 6px 14px; font-size: 13px; cursor: pointer;
  color: var(--text-secondary); border-radius: var(--radius-pill);
}
.conv-file-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.conv-file-preview { max-height: 200px; margin-top: 8px; }
.conv-preview-intro { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.conv-field-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.conv-field-head label { margin: 0; font-size: 12px; font-weight: 500; }
.conv-field-help p { margin: 0 0 4px; }
.conv-summary-tip { font-size: 12px; color: var(--text-secondary); margin: 6px 0 0; }
.conv-summary-details { margin-bottom: 8px; }
.conv-summary-click { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: flex-start; }
.conv-summary-click::-webkit-details-marker { display: none; }
.conv-summary-text { font-size: 14px; line-height: 1.55; }
.conv-summary-purpose { font-size: 12px; color: var(--text-secondary); margin: 6px 0 0 0; padding-left: 2px; }
.conv-structured-readout { margin: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.conv-struct-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; font-size: 13px; }
.conv-struct-label { color: var(--text-secondary); cursor: help; font-weight: 500; }
.conv-struct-val { line-height: 1.55; }

.conv-field-summary-row {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 12px;
  align-items: start;
}
.conv-sub-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.conv-field-conclusion input { font-weight: 500; }
.conv-facts-input { font-size: 13px; resize: vertical; min-height: 72px; }
.conv-field-summary-display .conv-field-summary-row { grid-column: 2; }
.conv-field-conclusion-display {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--theme-green);
}
.conv-facts-list {
  margin: 4px 0 0;
  padding-left: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.conv-facts-list li { margin-bottom: 2px; }

.combobox-wrap { position: relative; }
.combobox-dropdown {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 200;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-height: 200px; overflow-y: auto; display: none;
}
.combobox-item { padding: 8px 12px; cursor: pointer; }
.combobox-item:hover { background: var(--primary-soft); }
.combobox-empty { padding: 8px 12px; color: var(--text-secondary); font-size: 12px; }

.jobs-table { table-layout: fixed; width: 100%; }
.jobs-table .col-check { width: 36px; }
.jobs-table .col-title { width: 26%; max-width: 280px; }
.jobs-table .col-company { width: 14%; max-width: 140px; }
.jobs-table .col-title,
.jobs-table .col-company {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jobs-table .col-loc { width: 10%; max-width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jobs-table .col-hc { width: 56px; text-align: center; }
.jobs-table .col-date { width: 92px; white-space: nowrap; }
.jobs-table .col-status { width: 80px; white-space: nowrap; }
.jobs-table .col-actions { width: 260px; }
.content-jobs-list .jobs-table th,
.content-jobs-list .jobs-table td {
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.35;
  vertical-align: middle;
}
.content-jobs-list .jobs-table th { font-size: 12px; }
.content-jobs-list .jobs-table .col-title a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.content-jobs-list .jobs-table .col-title a:hover { text-decoration: underline; }
.content-jobs-list .job-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}
.content-jobs-list .job-row-actions .btn-link,
.content-jobs-list .job-row-actions a {
  font-size: 12px;
  white-space: nowrap;
  padding: 0;
}

.sidebar-logo { font-size: 13px; line-height: 1.35; padding: 10px 14px !important; height: auto !important; min-height: var(--topbar-height); white-space: normal; }

.expand-hint {
  color: var(--primary); font-size: 12px; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 8px;
}
.expand-hint .arrow { transition: transform 0.2s; display: inline-block; }
.expand-hint.open .arrow { transform: rotate(90deg); }
.expand-panel { display: none; margin-bottom: 10px; }
.expand-panel.open { display: block; }

.ai-entry {
  background: #e6f4ff; border: 1px dashed #91caff; border-radius: 6px;
  padding: 12px 16px; color: var(--primary); cursor: not-allowed; opacity: 0.85;
}
.ai-entry strong { margin-right: 8px; }

.interview-rounds { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
.interview-round-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.interview-round-row .round-label { min-width: 72px; font-weight: 500; }

.form-hint-placeholder::placeholder { color: #bfbfbf; font-size: 13px; line-height: 1.6; }

.multi-select-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.multi-select-wrap label { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.multi-select-wrap input:checked + span { color: var(--primary); }

.form-actions-bottom { display: flex; justify-content: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.tooltip-wrap[title] { cursor: help; }

