/* ============================================================
   页面专属样式
   ============================================================ */

/* ============================================================
   简历导入页
   ============================================================ */
.import-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
}

.dropzone {
  border: 2px dashed var(--border-strong);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}
.dropzone:hover, .dropzone.drag {
  background: var(--brand-50);
  border-color: var(--brand-400);
}
.dropzone-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: var(--brand-50);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand-500);
}
.dropzone-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}
.dropzone-hint {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}
.dropzone-formats {
  display: inline-flex; gap: 6px; margin-top: 10px;
}

/* 文件队列行 */
.file-row {
  display: grid;
  grid-template-columns: 28px 1fr 80px 100px 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-md);
}
.file-row:last-child { border-bottom: none; }
.file-row.head {
  background: var(--bg-muted);
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  padding: 8px 14px;
}
.file-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  color: var(--text-inverse);
}
.file-icon.pdf  { background: #B5573A; }
.file-icon.docx { background: #2F5063; }
.file-icon.doc  { background: #2F5063; }
.file-icon.img  { background: #6B8E3D; }
.file-icon.jpg  { background: #6B8E3D; }
.file-icon.jpeg { background: #6B8E3D; }
.file-icon.png  { background: #6B8E3D; }
.file-icon.txt  { background: #8B7B65; }
.file-name {
  font-size: var(--fs-md);
  color: var(--text-primary);
  font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-meta {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}
.parse-progress {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.parse-progress .bar {
  flex: 1; height: 4px;
  background: var(--bg-muted);
  border-radius: 2px;
  overflow: hidden;
}
.parse-progress .fill {
  height: 100%;
  background: var(--brand-400);
  transition: width 0.3s;
}
.parse-progress .pct {
  font-size: 11px;
  color: var(--text-tertiary);
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   JD 设置页
   ============================================================ */
.jd-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

/* 维度行（JD/详情共用） */
.dim-row {
  margin-bottom: 14px;
}
.dim-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 4px;
}
.dim-name {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
}
.dim-name .weight-tag {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 400;
  margin-left: 4px;
}
.dim-score {
  font-size: var(--fs-md);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dim-bar {
  height: 5px;
  background: var(--bg-muted);
  border-radius: 3px;
  overflow: hidden;
}
.dim-bar-fill {
  height: 100%;
  background: var(--brand-400);
  border-radius: 3px;
  transition: width 0.4s;
}

/* 权重滑块 */
.dim-slider {
  width: 100%;
  accent-color: var(--brand-500);
  margin-top: 4px;
}

/* ============================================================
   简历库表格列宽
   ============================================================ */
.col-checkbox { width: 36px; }
.col-name { min-width: 140px; }
.col-edu { min-width: 140px; }
.col-match { min-width: 160px; }

/* 候选人行内信息 */
.candidate-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.candidate-cell .name {
  font-weight: 600;
  color: var(--text-primary);
}
.candidate-cell .meta {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* 状态徽标 (库列表) - 用 .tag 体系 */

/* ============================================================
   候选人详情页 - 三栏布局
   ============================================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 16px;
  height: calc(100vh - var(--topbar-h) - 88px - 24px);
}

.scrollable-pane {
  overflow-y: auto;
  min-height: 0;
}

/* 候选人卡 */
.candidate-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}
.candidate-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-200);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-size: 24px; font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}
.candidate-name {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  font-family: var(--font-serif);
}
.candidate-meta {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.match-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.match-summary-text {
  font-size: 12px;
}
.match-summary-text .label {
  color: var(--text-tertiary);
}
.match-summary-text .value {
  font-weight: 600;
  font-size: 14px;
}

.info-row {
  display: flex; gap: 8px;
  font-size: var(--fs-sm);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--text-tertiary); width: 70px; flex-shrink: 0; }
.info-row .v { color: var(--text-primary); flex: 1; word-break: break-all; }

/* 简历原文区域 */
.resume-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  overflow-y: auto;
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--text-primary);
  position: relative;
}
.resume-content h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--brand-600);
  margin: 24px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}
.resume-content h2:first-child { margin-top: 0; }
.resume-content h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  margin: 12px 0 4px;
}
.resume-content p,
.resume-content li { margin: 4px 0; }
.resume-content ul { padding-left: 20px; }

.timeline-item {
  margin: 12px 0;
}
.timeline-item .when {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

/* —— 逻辑漏洞高亮（主角） —— */
.flaw {
  background: rgba(217, 155, 126, 0.32);
  border-bottom: 2px solid var(--danger-fg);
  padding: 0 2px;
  cursor: help;
  position: relative;
  border-radius: 2px 2px 0 0;
}
.flaw.warn {
  background: rgba(217, 183, 116, 0.4);
  border-bottom-color: var(--warning-fg);
}
.flaw.info {
  background: rgba(156, 179, 190, 0.4);
  border-bottom-color: var(--info-fg);
}
.flaw-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--text-primary);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms, transform 150ms;
}
.flaw:hover .flaw-bubble {
  opacity: 1;
  transform: translateY(0);
}
.flaw-bubble::after {
  content: "";
  position: absolute;
  top: 100%; left: 18px;
  border: 6px solid transparent;
  border-top-color: var(--bg-elevated);
}
.flaw-bubble .bubble-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 1px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
  font-weight: 600;
}
.flaw-bubble.danger .bubble-tag { background: var(--danger-bg); color: var(--danger-fg); }
.flaw-bubble.warn .bubble-tag { background: var(--warning-bg); color: var(--warning-fg); }
.flaw-bubble.info .bubble-tag { background: var(--info-bg); color: var(--info-fg); }
.flaw-bubble .bubble-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.flaw-bubble .bubble-desc {
  color: var(--text-secondary);
}

/* 右侧分析面板（详情页） */
.analysis-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.analysis-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.analysis-tab {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 500;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  transition: all var(--transition-fast);
}
.analysis-tab:hover { color: var(--text-primary); background: var(--bg-hover); }
.analysis-tab.active {
  color: var(--brand-600);
  border-bottom-color: var(--brand-500);
  background: var(--brand-50);
}
.analysis-tab .tab-badge {
  margin-left: 4px;
  font-size: 10px;
  padding: 0 5px;
  border-radius: 7px;
}
.analysis-tab .tab-badge.danger {
  background: var(--danger-bg);
  color: var(--danger-fg);
}
.analysis-content {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

/* 漏洞列表 */
.flaw-list-item {
  display: flex; gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}
.flaw-list-item:hover { background: var(--bg-hover); border-color: var(--border-subtle); }
.flaw-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.flaw-dot.danger { background: var(--danger-fg); }
.flaw-dot.warn { background: var(--warning-fg); }
.flaw-dot.info { background: var(--info-fg); }
.flaw-list-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.flaw-list-section {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 3px;
}
.flaw-list-desc {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* AI 总结面板 */
.ai-summary-banner {
  padding: 10px 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--brand-700);
  display: flex;
  gap: 8px;
}

.ai-summary p { margin: 8px 0; line-height: var(--lh-loose); font-size: 13px; }
.ai-summary p strong { color: var(--text-primary); }

/* 笔记时间轴（右侧 Tab） */
.notes-composer {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 12px;
}
.notes-composer .composer-row {
  display: flex; gap: 6px; margin-bottom: 6px;
}
.notes-composer textarea {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: var(--fs-sm);
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}
.notes-composer .composer-actions {
  display: flex; justify-content: flex-end;
  margin-top: 6px;
}
.note-item {
  position: relative;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-300);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: var(--fs-sm);
}
.note-item .note-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 4px;
}
.note-item .note-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-600);
  font-weight: 500;
}
.note-item .note-time {
  font-size: 11px;
  color: var(--text-tertiary);
}
.note-item .note-content {
  color: var(--text-primary);
  line-height: var(--lh-base);
  white-space: pre-wrap;
}
.note-item .note-delete {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 11px;
  color: var(--text-tertiary);
  background: transparent;
  cursor: pointer;
}
.note-item .note-delete:hover { color: var(--danger-fg); }

/* HR 操作面板 */
.hr-actions {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ============================================================
   面试题生成页 - 对话气泡
   ============================================================ */
.interview-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  height: calc(100vh - var(--topbar-h) - 88px - 24px);
}
.interview-sidebar {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.interview-sidebar .candidate-mini {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.interview-sidebar .candidate-mini .info {
  flex: 1;
}
.interview-sidebar .candidate-mini .name {
  font-weight: 600; color: var(--text-primary);
}
.interview-sidebar .candidate-mini .desc {
  font-size: 11px; color: var(--text-tertiary);
}
.sidebar-mini-title {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  padding: 0 4px 6px;
}
.qa-category {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-md);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.qa-category:hover { background: var(--bg-hover); color: var(--text-primary); }
.qa-category.active {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 500;
}
.qa-category .danger-dot {
  width: 6px; height: 6px;
  background: var(--danger-fg);
  border-radius: 50%;
  margin-right: 6px;
}
.qa-category .count {
  font-size: var(--fs-xs);
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.qa-category.active .count {
  background: var(--brand-100);
  color: var(--brand-600);
}

.chat-pane {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-title {
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-serif);
}
.chat-header-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: var(--bg-page);
}

.msg-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  max-width: 720px;
}
.msg-row.right {
  flex-direction: row-reverse;
  margin-left: auto;
}
.msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
}
.msg-avatar.interviewer {
  background: var(--brand-500);
  color: var(--text-inverse);
}
.msg-avatar.candidate {
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.msg-content { flex: 1; min-width: 0; }
.msg-role {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.msg-row.right .msg-role { text-align: right; }
.msg-bubble {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  white-space: pre-wrap;
}
.msg-row.left .msg-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-top-left-radius: 3px;
}
.msg-row.right .msg-bubble {
  background: var(--brand-500);
  color: var(--text-inverse);
  border-top-right-radius: 3px;
}
.msg-meta {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: 4px;
}
.msg-row.right .msg-meta { text-align: right; }
.msg-tags {
  display: flex; gap: 6px; margin-top: 6px;
  flex-wrap: wrap;
}

.q-design-intent {
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--bg-muted);
  border-radius: 5px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 6px;
}
.q-design-intent .icon {
  margin-top: 1px;
  color: var(--brand-500);
  flex-shrink: 0;
}
.q-design-intent strong { color: var(--text-primary); }

.q-actions {
  display: flex; gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.q-actions button {
  font-size: var(--fs-xs);
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: 0;
  transition: all var(--transition-fast);
}
.q-actions button:hover { background: var(--bg-hover); color: var(--text-primary); }

.chat-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex; gap: 10px; align-items: center;
  flex-shrink: 0;
}
.chat-footer .input { flex: 1; }

.empty-chat {
  text-align: center;
  padding: 40px;
  color: var(--text-tertiary);
}
.empty-chat .empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  background: var(--brand-50);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand-400);
}

/* ============================================================
   设置页
   ============================================================ */
.settings-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.settings-section .section-title {
  padding: 0;
  font-size: var(--fs-lg);
}
.settings-form {
  padding: 18px;
  max-width: 640px;
}
.theme-selector {
  display: flex; gap: 6px;
}
.theme-option {
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-option:hover { border-color: var(--border-strong); }
.theme-option.active {
  background: var(--brand-500);
  color: var(--text-inverse);
  border-color: var(--brand-500);
}
.data-stats {
  padding: 10px 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.api-test-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: none;
}
.api-test-result.success {
  display: block;
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-border);
}
.api-test-result.error {
  display: block;
  background: var(--danger-bg);
  color: var(--danger-fg);
  border: 1px solid var(--danger-border);
}
.about-info {
  padding: 12px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-loose);
}
.about-info p { margin: 4px 0; }
.about-info strong { color: var(--text-primary); }

/* ============================================================
   分组侧边栏（库内嵌式 - 可选）
   ============================================================ */
.folder-list {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.folder-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.folder-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.folder-item.active {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 500;
}
.folder-item .folder-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  width: 18px;
  text-align: center;
}
.folder-item .folder-label { flex: 1; }
.folder-item .folder-count {
  font-size: 11px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.folder-item.active .folder-count { color: var(--brand-500); }
.folder-section-label {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 10px 4px;
  font-weight: 600;
}

/* ============================================================
   字段工具
   ============================================================ */
.kpi-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--text-tertiary);
}

/* 状态颜色映射（候选人状态） */
.status-new       { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-border); }
.status-contacted { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }
.status-interviewed { background: var(--warning-bg); color: var(--warning-fg); border-color: var(--warning-border); }
.status-pending   { background: var(--bg-muted); color: var(--text-secondary); border-color: var(--border-subtle); }
.status-hired     { background: var(--success-bg); color: var(--success-fg); border-color: var(--success-border); }
.status-rejected  { background: var(--danger-bg); color: var(--danger-fg); border-color: var(--danger-border); }

/* ============================================================
   Job Editor 全屏页面（/jobs/new 和 /jobs/edit）
   ============================================================ */
.page-job-editor {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

/* sticky header */
.job-editor-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-page);
  padding-top: 16px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* 3 列网格（薪资 / 年限、部门 / 地点 / 状态 等） */
.je-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

/* AI 提取过程中的视觉锁定 */
.je-busy {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* 顶部 banner（成功/失败/进行中） */
#jeBanner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
#jeBanner.banner-success {
  background: #E5F0DD;
  border: 1px solid #B5D89A;
  color: #3A5A1B;
}
#jeBanner.banner-error {
  background: #F8E0E0;
  border: 1px solid #E0A0A0;
  color: #8A2828;
}
#jeBanner.banner-info {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
}
#jeBanner .banner-msg {
  flex: 1;
  min-width: 0;
}
#jeBanner button {
  flex-shrink: 0;
}

/* 必填星号 */
.required {
  color: var(--danger-fg, #B83A1E);
}

/* 响应式：< 900px 折叠 grid */
@media (max-width: 900px) {
  .je-grid-3 {
    grid-template-columns: 1fr;
  }
}
