
/* 导入人才管理模块政务风格样式 */


/* 页面在自定义AI弹窗打开时禁止背景滚动 */
body.no-scroll { overflow: hidden !important;
}

/* 自定义弹窗基础结构：彻底消除双滚动条 */
.ai-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  z-index: 2000;
  overflow: hidden; /* 遮罩层绝不滚动 */
}
.ai-modal {
  width: min(960px, 90vw);
  max-height: calc(100vh - 10vh);
  min-height: 300px; /* 确保最小高度 */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 弹窗本身不滚动 */
  /* 防止内容溢出导致的布局问题 */
  contain: layout style;
}
.ai-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ebeef5;
  flex-shrink: 0; /* 头部固定 */
  background: #fff;
}
.ai-modal-title { font-size: 16px; font-weight: 600; color: #303133;
}
.ai-modal-close {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  color: #909399;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}
.ai-modal-close:hover { color: #606266; background: #f5f7fa;
}
.ai-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  overscroll-behavior: contain;
  /* 确保只有这里滚动 */
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 transparent;
}
.ai-modal-body::-webkit-scrollbar {
  width: 6px;
}
.ai-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.ai-modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.ai-modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}


/* 移动端响应式优化 */
@media (max-width: 768px) {
.ai-modal-overlay {
    padding: 2vh 8px;
}
.ai-modal {
    width: 95vw;
    max-height: calc(100vh - 4vh);
    min-height: 200px;
}
.ai-modal-header {
    padding: 12px 16px;
}
.ai-modal-body {
    padding: 16px;
}
.ai-modal-footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
}
.ai-modal-footer .custom-dialog-button {
    width: 100%;
    justify-content: center;
}
}

/* 小屏幕进一步优化 */
@media (max-width: 480px) {
.ai-modal-overlay {
    padding: 1vh 4px;
}
.ai-modal {
    width: 98vw;
    max-height: calc(100vh - 2vh);
}
.ai-modal-body {
    padding: 12px;
}
}
/* 基本信息头部：桌面两列/小屏单列网格布局 */
.basic-info-header {
  display: grid;
  grid-template-columns: 1fr; /* 单列：左侧信息区 */
  justify-items: start;
  align-items: start;
  row-gap: 12px;
  margin-bottom: 16px;
}
.basic-left {
  display: flex;
  align-items: center; /* 居中对齐 */
  flex-direction: column;
  gap: 8px;
  width: auto;
}
 

/* 研究方向右侧容器 */
.research-direction-header {
  display: flex;
  flex-direction: row; /* 横向排列：标题 / 胶囊 / 简介 */
  align-items: center;
  gap: 12px;
}
/* 研究方向内容区域 */
.rd-content { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0;
}
.rd-tags { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: flex-start; margin-bottom: 0; overflow-x: auto; overflow-y: hidden; white-space: nowrap; max-width: 45%;
}
.rd-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1;
}
.rd-tag.primary { background: #e6f7ff; color: #1890ff; border: 1px solid #91d5ff;
}
.rd-tag.secondary { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f;
}
.rd-tag.keyword { background: #fff7e6; color: #fa8c16; border: 1px solid #ffd591;
}
.rd-info { background: transparent; border-left: none; padding: 0; margin-top: 0; flex: 1 1 auto; min-width: 0;
}
.rd-description { color: #606266; line-height: 1.6; margin: 0; max-width: 100%; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rd-desc-capsule {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5f7fa;
  color: #606266;
  border: 1px solid #ebeef5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rd-edit-btn { padding: 4px 8px !important; font-size: 12px; color: #1890ff;
}
.talent-list-header { display: flex; align-items: center; justify-content: space-between;
}
.talent-list-actions { display: flex; align-items: center; gap: 8px;
}
.header-edit-btn { padding: 4px 10px !important;
}
.talent-self-page .talent-info-grid { margin-top: 0;
}

/* 研究方向描述与元信息（桌面端单行省略） */
.rd-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

/* 响应式：小屏回落为单列 */
@media (max-width: 1024px) {
.basic-info-header { grid-template-columns: 1fr; row-gap: 16px;
}
.talent-teacher-title-wrapper { flex-wrap: wrap; gap: 6px 8px;
}
.talent-teacher-title-wrapper .research-direction-header { width: 100%;
}
.research-direction-header { flex-direction: column; align-items: flex-start; gap: 6px;
}
.rd-content { width: 100%; flex-direction: column; align-items: flex-start; gap: 8px;
}
.rd-tags { flex-wrap: wrap; max-width: 100%; overflow: visible; white-space: normal; margin-bottom: 0;
}
  /* 小屏：简介回退为两行展示 */
.rd-description { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden;
}
.rd-desc-capsule { height: auto; padding: 4px 10px; white-space: normal;
}
}

/* 头像与姓名、人才级别的微调：整体居中 */
.talent-avatar-section { width: auto;
}
.talent-avatar-container { display: flex; flex-direction: row; align-items: center; gap: 16px; justify-content: flex-start;
}
/* 使用全局 gov-avatar-circle 样式，xlarge 变体保持 flex 布局 */
.gov-avatar-circle.xlarge { 
  width: 72px; 
  height: 72px; 
  font-size: 24px;
  /* 继承全局的渐变背景、阴影和 flex 布局 */
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25);
  /* 禁用 hover 上移效果 */
  transition: none;
}
.gov-avatar-circle.xlarge:hover {
  transform: none !important;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25) !important;
}
.talent-avatar-info { margin-top: 0; text-align: left; display: flex; flex-direction: column; align-items: flex-start; row-gap: 8px;
}
.talent-teacher-name { margin: 0; font-size: 20px; color: #303133;
}
.talent-teacher-title-wrapper { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; width: 100%;
}
.talent-teacher-title-wrapper .research-direction-header { flex: 1 1 auto; min-width: 0;
}
.talent-teacher-title-wrapper .rd-tags { max-width: none;
}
/* 人才×项目 - 差距分析（国家级/自治区级） 样式 */
#np-project-analysis {
  margin-top: 16px;
}

/* 标题信息图标样式 */
.np-info-icon {
  margin-left: 8px;
  font-size: 16px;
  color: #9ca3af;
  cursor: help;
  transition: all 0.2s ease;
  vertical-align: middle;
}
.np-info-icon:hover {
  color: #3b82f6;
  transform: scale(1.1);
}

/* 操作工具栏（选择器 + 提示 + 按钮同行） */
.np-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* 项目选择器容器 - 下拉菜单式 */
.np-project-selector-container {
  position: relative;
  flex-shrink: 0;
}
.np-selector-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: 14px;
  color: #374151;
}
.np-selector-btn:hover {
  border-color: #3b82f6;
  background: #f9fafb;
}
.np-selector-btn > span {
  flex: 1;
  font-weight: 500;
}
.np-selector-btn .el-icon-arrow-down {
  transition: transform 0.3s ease;
  color: #6b7280;
}
.np-selector-btn .el-icon-arrow-down.dropdown-open {
  transform: rotate(180deg);
  color: #3b82f6;
}

/* 下拉菜单 */
.np-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  width: -moz-max-content;
  width: max-content;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
from {
    opacity: 0;
    transform: translateY(-10px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* 下拉菜单头部 */
.np-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  position: sticky;
  top: 0;
  z-index: 10;
}
.np-dropdown-actions {
  display: flex;
  gap: 12px;
}
.action-link {
  font-size: 13px;
  color: #3b82f6;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s ease;
}
.action-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* 下拉菜单分组 */
.np-dropdown-group {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}
.np-dropdown-group:last-child {
  border-bottom: none;
}
.np-dropdown-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f9fafb;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}
.np-group-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.np-group-badge.national {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}
.np-group-badge.provincial {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #dbeafe;
}
.np-group-count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

/* 下拉菜单项 */
.np-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 14px;
  color: #374151;
}
.np-dropdown-item:hover {
  background: #f0f9ff;
}
.project-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}
.project-checkbox.checked {
  background: #3b82f6;
  border-color: #3b82f6;
}
.project-checkbox.checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}
.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 13px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid var(--talent-border-primary);
  background: var(--talent-bg-tertiary);
  color: var(--talent-text-primary);
  transition: all .15s ease;
}
/* 主按钮（查看详细分析）- 蓝色现代化渐变胶囊 */
.np-btn.primary { 
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff; 
  border-color: #2563eb;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.25);
}
.np-btn.primary:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #3b82f6;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.35);
}

/* 成功按钮（刷新适配度）- 绿色现代化渐变胶囊 */
.np-btn.success { 
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff; 
  border-color: #059669;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}
.np-btn.success:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-color: #10b981;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
}
.np-btn.ghost { background: transparent; border-radius: 9999px;
}
.np-btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none;
}
.np-btn.loading { opacity: .8; pointer-events: none;
}

/* AI差距解读胶囊风格（参考 TeacherDataComparison 的 AI 按钮视觉，不复用类名） */
.np-btn.info.ai-gap {
  background: linear-gradient(135deg, rgba(64, 158, 255, 0.05) 0%, rgba(24, 144, 255, 0.1) 100%) !important;
  color: var(--talent-text-primary);
  border: 2px solid #409EFF !important;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 5px rgba(64, 158, 255, 0.25);
  animation: aiGapGlow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}
.np-btn.info.ai-gap:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(64, 158, 255, 0.35), 0 0 28px rgba(24, 144, 255, 0.2);
}
@keyframes aiGapGlow {
0% {
    border-color: #409EFF;
    box-shadow: 0 0 6px rgba(64, 158, 255, 0.28);
}
25% {
    border-color: #66b1ff;
    box-shadow: 0 0 10px rgba(102, 177, 255, 0.4), 0 0 18px rgba(64, 158, 255, 0.18);
}
50% {
    border-color: #1890ff;
    box-shadow: 0 0 14px rgba(24, 144, 255, 0.48), 0 0 26px rgba(64, 158, 255, 0.22);
}
75% {
    border-color: #66b1ff;
    box-shadow: 0 0 10px rgba(102, 177, 255, 0.4), 0 0 18px rgba(64, 158, 255, 0.18);
}
100% {
    border-color: #409EFF;
    box-shadow: 0 0 6px rgba(64, 158, 255, 0.28);
}
}
.np-btn:focus-visible { outline: 3px solid rgba(64,158,255,.3); outline-offset: 2px;
}

/* 操作按钮组 */
.np-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

/* 已选提示 */
.np-hint {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  padding: 0 4px;
  white-space: nowrap;
}

/* 响应式适配 */
@media (max-width: 768px) {
.np-toolbar {
    gap: 8px;
}
.np-hint {
    order: 2;
    width: 100%;
    margin-top: 4px;
}
.np-actions-group {
    order: 3;
    width: 100%;
    margin-left: 0;
}
}
.np-results {
  display: block;
}

/* 加载状态 */
.np-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  background: var(--talent-bg-tertiary);
  border: 1px solid var(--talent-border-primary);
  border-radius: 8px;
  color: var(--talent-text-secondary);
  font-size: 14px;
}
.np-loading i {
  font-size: 18px;
}

/* 空状态优化 */
.np-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: #fafbfc;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  text-align: center;
}
.np-empty-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 50%;
  margin-bottom: 16px;
}
.np-empty-icon i {
  font-size: 36px;
  color: #3b82f6;
}
.np-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.np-empty-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 400px;
}
.np-empty-action {
  display: flex;
  gap: 8px;
}
.np-project-name { font-weight: 600; color: var(--talent-text-primary); word-break: break-word; white-space: normal;
}
.np-fit { font-weight: 600; color: #409EFF; margin-right: 8px;
}
/* 进度条容器与样式优化 */
.np-fit-cell { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
  max-width: clamp(240px, 24vw, 360px);
}
/* 不匹配徽章样式 */
.np-blocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}
.np-blocked-badge i {
  font-size: 14px;
  font-weight: bold;
}
.np-progress-container { 
  position: relative; 
  width: 100%; 
  height: 32px; 
  background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
  border-radius: 16px; 
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
.np-progress-bar { 
  position: absolute; 
  top: 0; 
  left: 0; 
  height: 100%; 
  border-radius: 16px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.np-progress-container .np-progress-text { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  font-size: 13px; 
  font-weight: 600; 
  color: #fff; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
  z-index: 2;
  letter-spacing: 0.3px;
}
/* 现代化表格设计 - 简洁风格 */
.np-table { 
  border-radius: 10px; 
  overflow: hidden;
  border: 2px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  background: #fff;
}
.np-thead { 
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
  border-bottom: 2px solid #e2e8f0;
}
.np-tr { 
  display: grid; 
  grid-template-columns: 1.8fr 1.2fr 2.6fr 1fr; 
  align-items: start; 
  min-height: 68px;
  transition: all 0.2s ease;
}
.np-th { 
  padding: 16px 14px; 
  font-weight: 600;
  color: #475569;
  font-size: 13px;
  text-align: left;
  letter-spacing: 0.3px;
}
.np-td { 
  padding: 16px 14px;
}
/* 移除垂直边框，只保留水平分隔线 */
.np-tbody .np-tr {
  border-bottom: 1px solid #f1f5f9;
}
.np-tbody .np-tr:last-child { 
  border-bottom: none;
}
/* 隔行变色 - 更柔和 */
.np-tbody .np-tr:nth-child(even) { 
  background: #f9fafb;
}
/* Hover 效果 */
.np-tbody .np-tr:hover {
  background: #f0f9ff !important;
  box-shadow: inset 0 0 0 1px #bae6fd;
}
.np-detail { color: var(--talent-text-secondary); font-size: 12px; line-height: 1.6; width: 100%; padding: 4px 0;
}

/* 项目列垂直布局 - 居中对齐优化 */
.np-td.col-proj { 
  align-self: stretch; 
  display: flex; 
  align-items: center;
  justify-content: center;
}

/* 项目信息卡片布局优化 */
.np-project-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: flex-start;
}

/* 级别标签 - 国家级/自治区级 */
.np-project-info .level-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.level-chip.national {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}
.level-chip.provincial {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.1);
}
.np-project-info .np-project-name {
  display: block;
  line-height: 1.5;
  color: #1e293b;
  font-size: 14px;
}
.np-td.col-fit { align-self: stretch; display: flex; align-items: center; justify-content: center;
}
.np-td.col-detail { align-self: stretch; display: flex; align-items: flex-start; padding-top: 12px;
}
.np-td.col-ops { align-self: stretch; display: flex; align-items: center; justify-content: center;
}
.np-detail-subtitle { margin-top: 4px; margin-bottom: 4px; color: var(--talent-text-primary); font-weight: 600;
}
.np-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin: 0; padding: 0; list-style: none;
}
.np-crit-item { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px; background: #fafafa; border: 1px solid var(--talent-border-primary); border-radius: 6px;
}
.np-crit-item { box-shadow: 0 0 0 0 rgba(0,0,0,0); transition: box-shadow .15s ease;
}
.np-crit-item:hover { box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.np-crit-item.pass { border-color: #d1fae5; background: #f0fdf4;
}
.np-crit-item.pass .np-crit-value { color: #16a34a;
}
.np-crit-item.fail { border-color: #fee2e2; background: #fef2f2;
}
.np-crit-item.fail .np-crit-value { color: #ef4444;
}
.np-crit-name { color: var(--talent-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px;
}
.np-crit-value { color: #409EFF; font-weight: 600;
}

/* 响应式布局优化 */
@media (max-width: 768px) {
  /* 移动端：单列堆叠布局 */
.np-tr { 
    grid-template-columns: 1fr;
    min-height: auto;
}
.np-th, .np-td {
    padding: 12px;
}
.np-td.col-proj,
  .np-td.col-fit,
  .np-td.col-detail,
  .np-td.col-ops {
    border-right: none !important;
    padding: 12px;
}
.np-fit-cell { 
    max-width: 100%; 
    justify-content: flex-start;
}
.np-progress-container {
    max-width: 200px;
}
.np-detail-list { 
    grid-template-columns: 1fr;
}
.np-capsule-wrap {
    gap: 6px;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
  /* 平板端：两列布局 */
.np-tr { 
    grid-template-columns: 1.5fr 2.5fr;
    min-height: auto;
}
.np-td.col-proj {
    grid-column: 1;
}
.np-td.col-fit {
    grid-column: 2;
    grid-row: 1;
}
.np-td.col-detail {
    grid-column: 1 / -1;
    border-top: 1px solid #f1f5f9;
}
.np-td.col-ops {
    grid-column: 1 / -1;
    justify-content: flex-start;
    border-top: 1px solid #f1f5f9;
}
.np-fit-cell { max-width: 280px;
}
.np-detail-list { grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1025px) and (max-width: 1439px) {
  /* 桌面端小屏 */
.np-detail-list { grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 1440px) and (max-width: 1919px) {
  /* 桌面端中屏 */
.np-detail-list { grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (min-width: 1920px) {
  /* 桌面端大屏 */
.np-detail-list { grid-template-columns: repeat(4, minmax(0, 1fr));
}
.np-tr {
    min-height: 72px;
}
}
.np-detail-list { margin: 2px 0 0 0; padding-left: 0;
}

/* 多项目对比区域样式 */
.np-compare-section { 
  margin-top: 16px; 
  margin-bottom: 20px;
}

/* NP项目差距分析图表网格布局 */
.np-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.np-chart-grid.secondary {
  margin-top: 16px;
}

/* 空状态占位符 */
.np-empty-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: #9ca3af;
  font-size: 14px;
}
.np-empty-placeholder i {
  font-size: 48px;
  color: #d1d5db;
  opacity: 0.6;
}

/* 空状态提示 */
.np-compare-blocked-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  background: #fafbfc;
  border: 2px dashed #e5e7eb;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 14px;
}
.np-compare-blocked-hint i {
  font-size: 20px;
  color: #f59e0b;
}

/* 响应式布局 */
@media (max-width: 1024px) {
.np-chart-grid {
    grid-template-columns: 1fr;
}
}

/* 人才数据总览图 样式 */
.data-overview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px;
}
.toolbar-label { color: var(--talent-text-secondary); font-size: 12px;
}
.capsule-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.capsule-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #374151;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-weight: 500;
}
.capsule-item:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1e40af;
}
.capsule-item.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.25);
}
.capsule-item.active:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #1e3a8a;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.35);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.kpi-card {
  background: var(--talent-bg-tertiary);
  border: 1px solid var(--talent-border-primary);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.kpi-label { color: var(--talent-text-secondary); font-size: 12px;
}
.kpi-value { color: var(--talent-text-primary); font-size: 20px; font-weight: 600;
}
.chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chart-box {
  height: 280px;
  background: var(--talent-bg-tertiary);
  border: 1px solid var(--talent-border-primary);
  border-radius: 8px;
}
.chart-box.single { grid-column: 1 / -1; height: 320px;
}

/* ================= 统一模块标题栏样式（组件内） ================= */
/* 标题栏容器 */
.talent-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--talent-border-primary, #e5e7eb);
}

/* 标题区域 */
.talent-list-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.talent-list-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--talent-text-primary, #111827);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  line-height: 1.2;
}
.talent-list-title i {
  color: var(--talent-primary, #409EFF);
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* 数据计数标签 */
.talent-data-count {
  color: var(--talent-text-secondary, #6b7280);
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 0.25rem;
}
.talent-data-count.no-data {
  color: var(--talent-text-tertiary, #9ca3af);
}

/* 折叠切换按钮 */
.talent-collapsible-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--talent-text-secondary, #6b7280);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.talent-collapsible-toggle:hover {
  color: var(--talent-primary, #409EFF);
}
.talent-collapsible-toggle i {
  transition: transform 0.3s ease;
}
.talent-collapsible-toggle.collapsed i {
  transform: rotate(-90deg);
}

/* 无数据状态 */
.no-data-header {
  opacity: 0.6;
}
.no-data-header .talent-list-title {
  color: var(--talent-text-tertiary, #9ca3af);
}

/* 响应式优化 */
@media (max-width: 768px) {
.talent-list-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
.talent-list-title h3 {
    font-size: 1.1rem;
}
}

/* 骨架屏样式优化 */
.basic-info-skeleton {
  padding: 20px;
}
.skeleton-avatar-section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.skeleton-info {
  flex: 1;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.research-stats-skeleton {
  padding: 20px;
}
.skeleton-module {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 15px;
  background: #fafafa;
}
.skeleton-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.radar-skeleton {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skeleton-dimensions {
  max-width: 600px;
  margin: 0 auto;
}
.skeleton-dimension {
  text-align: center;
  padding: 10px;
}

/* 加载状态提示（未使用，已移除） */

/* tech-border 动画样式（未使用，已移除） */

/* 优化表格加载性能 */
.el-table {
  /* 启用硬件加速 */
  transform: translateZ(0);
}
.el-table__body-wrapper {
  /* 优化滚动性能 */
  will-change: transform;
}

/* 雷达图计分规则弹窗样式 */
/* 规则弹窗继承通用ai-modal-body样式，无需额外定义 */
.scoring-rules-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.scoring-rules-content h1 {
  color: #2c3e50;
  font-size: 24px;
  margin: 20px 0 15px 0;
  border-bottom: 2px solid #409EFF;
  padding-bottom: 10px;
}
.scoring-rules-content h2 {
  color: #34495e;
  font-size: 20px;
  margin: 18px 0 12px 0;
  border-left: 4px solid #409EFF;
  padding-left: 15px;
}
.scoring-rules-content h3 {
  color: #34495e;
  font-size: 18px;
  margin: 15px 0 10px 0;
}
.scoring-rules-content h4 {
  color: #34495e;
  font-size: 16px;
  margin: 12px 0 8px 0;
}
.scoring-rules-content h5 {
  color: #34495e;
  font-size: 14px;
  margin: 10px 0 6px 0;
}
.scoring-rules-content p {
  margin: 10px 0;
  text-align: justify;
}
.scoring-rules-content ul {
  margin: 10px 0;
  padding-left: 25px;
}
.scoring-rules-content li {
  margin: 5px 0;
}
.scoring-rules-content strong {
  color: #2c3e50;
  font-weight: 600;
}
.scoring-rules-content em {
  color: #666;
  font-style: italic;
}

/* 移除旧的计分规则按钮样式（已改为胶囊样式） */
.radar-chart-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.radar-actions {
  display: flex;
  justify-content: center;
}

/* 缓存状态指示器（未使用，已移除） */

/* 人才等级彩色徽章（复用列表样式） */
.talent-level-badge {
  display: inline-block;
  padding: 0 8px;
  height: 22px;
  line-height: 22px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.talent-level-badge.tl-national { background: #ef4444;
}
.talent-level-badge.tl-province { background: #f59e0b;
}
.talent-level-badge.tl-department { background: #10b981;
}
.talent-level-badge.tl-city { background: #3b82f6;
}
.talent-level-badge.tl-school { background: #8b5cf6;
}

/* 研究方向旧样式（未使用容器类已移除） */
.edit-direction-btn {
  padding: 4px 8px !important;
  font-size: 12px;
  color: #409eff;
}
.edit-direction-btn:hover {
  color: #66b1ff;
}

/* 定位于旧容器内的编辑按钮样式（未使用，已移除） */
/* 参考 TalentFilterPage.vue 中数据范围按钮的样式 */
.kpi-mode-btn {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 6px;
  color: #334155;
  background: #ffffff;
  transition: all .2s ease;
}
.kpi-mode-btn:hover { 
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.kpi-mode-btn.active {
  background: #eff6ff;
  color: #1e40af;
  border-color: #93c5fd;
}
.talent-level-badge.tl-other { background: #6b7280;
}


/* 胶囊容器：自动排版，内容完整显示 */
.np-capsule-wrap[data-v-5364dec2] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.np-capsule[data-v-5364dec2] {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  position: relative;
}
/* 通过状态的胶囊 - 绿色系 */
.np-capsule.pass[data-v-5364dec2] { 
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
  box-shadow: 0 1px 2px rgba(34, 197, 94, 0.08);
}
.np-capsule.pass[data-v-5364dec2]:hover {
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.15);
  transform: translateY(-1px);
}
.np-capsule.pass .np-capsule-text[data-v-5364dec2]::before {
  content: '✓ ';
  color: #16a34a;
  font-weight: 700;
  margin-right: 2px;
}
/* 未通过的胶囊 - 红色系 */
.np-capsule.fail[data-v-5364dec2] { 
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fca5a5;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.08);
}
.np-capsule.fail[data-v-5364dec2]:hover {
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.15);
  transform: translateY(-1px);
}
.np-capsule.fail .np-capsule-text[data-v-5364dec2]::before {
  content: '✗ ';
  color: #dc2626;
  font-weight: 700;
  margin-right: 2px;
}
.np-capsule-text[data-v-5364dec2] {
  font-size: 12px;
  color: #1e293b;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
  font-weight: 500;
}
.np-capsule-meta[data-v-5364dec2] {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  font-weight: 400;
}
.np-detail-line[data-v-5364dec2] { 
  margin-bottom: 8px; 
  color: #475569;
  font-size: 13px;
}
.np-detail-subtitle[data-v-5364dec2] { 
  margin: 6px 0 8px; 
  font-weight: 600; 
  color: #334155;
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* 操作列按钮 - 现代化设计 */
.np-op-capsule[data-v-5364dec2] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.np-op-capsule[data-v-5364dec2]:hover { 
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1e40af;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}
.np-op-capsule[data-v-5364dec2]:active { 
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.np-op-capsule[data-v-5364dec2]:focus-visible { 
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* AI弹窗底部：胶囊按钮样式（组件内私有，不依赖通用样式） */
.ai-modal-footer[data-v-5364dec2] {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
}
.ai-pill-btn[data-v-5364dec2] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  cursor: pointer;
  transition: all .15s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ai-pill-btn[data-v-5364dec2]:hover { background: #e5e7eb;
}
.ai-pill-btn[data-v-5364dec2]:active { transform: translateY(1px);
}
.ai-pill-btn.primary[data-v-5364dec2] { background: #eff6ff; border-color: #93c5fd; color: #1e40af;
}
.ai-pill-btn.primary[data-v-5364dec2]:hover { background: #dbeafe;
}
.ai-pill-text[data-v-5364dec2] { font-size: 13px; font-weight: 600;
}



/* 科研成果统计：模块化卡片与信息密度优化（最小侵入） */
.research-summary-simplified[data-v-5364dec2] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 大屏两列，自适应回落 */
@media (min-width: 1100px) {
.research-summary-simplified[data-v-5364dec2] {
    grid-template-columns: 1fr 1fr;
}
}
.summary-module[data-v-5364dec2] {
  background: var(--talent-bg-tertiary, #fafafa);
  border: 1px solid var(--talent-border-primary, #e5e7eb);
  border-radius: 10px;
  padding: 14px 14px 10px 14px;
}
.summary-module .module-header h4[data-v-5364dec2] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--talent-text-primary, #111827);
}
.summary-module .module-header .count[data-v-5364dec2] {
  margin-left: 6px;
  font-size: 12px;
  color: var(--talent-text-secondary, #6b7280);
  font-weight: 500;
}
.stats-grid[data-v-5364dec2] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 12px;
  margin-top: 10px;
}
@media (max-width: 900px) {
.stats-grid[data-v-5364dec2] { grid-template-columns: repeat(2, 1fr);
}
}
.stat-item[data-v-5364dec2] {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-item label[data-v-5364dec2] {
  color: var(--talent-text-secondary, #6b7280);
}
.stat-item span[data-v-5364dec2] {
  color: var(--talent-primary, #409EFF);
  font-weight: 600;
}
.recent-items[data-v-5364dec2] { margin-top: 12px;
}
.recent-items h5[data-v-5364dec2] {
  margin-bottom: 6px;
  color: var(--talent-text-primary, #111827);
}
.recent-list[data-v-5364dec2] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.recent-item[data-v-5364dec2] {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recent-item .title[data-v-5364dec2] {
  color: var(--talent-text-primary, #111827);
  font-weight: 600;
  margin-right: 12px;
}
.recent-item .meta[data-v-5364dec2] {
  color: var(--talent-text-secondary, #6b7280);
  font-size: 12px;
}

/* 空状态与骨架风格统一 */
.summary-module .no-data[data-v-5364dec2] {
  color: #9ca3af;
  padding: 8px 4px;
}


/* 数据总览 KPI 数字分色（按顺序：论文/项目/专利/获奖） */
.overview-grid .kpi-card:nth-child(1) .kpi-value[data-v-5364dec2] { color: #2563eb;
} /* 蓝：论文 */
.overview-grid .kpi-card:nth-child(2) .kpi-value[data-v-5364dec2] { color: #059669;
} /* 绿：项目 */
.overview-grid .kpi-card:nth-child(3) .kpi-value[data-v-5364dec2] { color: #d97706;
} /* 橙：专利 */
.overview-grid .kpi-card:nth-child(4) .kpi-value[data-v-5364dec2] { color: #b91c1c;
} /* 红：获奖 */

/* 统计模块标题计数分色（与模块顺序匹配：论文/项目/专利/获奖） */
.research-summary-simplified .summary-module:nth-of-type(1) .module-header .count[data-v-5364dec2] { color: #2563eb;
}
.research-summary-simplified .summary-module:nth-of-type(2) .module-header .count[data-v-5364dec2] { color: #059669;
}
.research-summary-simplified .summary-module:nth-of-type(3) .module-header .count[data-v-5364dec2] { color: #d97706;
}
.research-summary-simplified .summary-module:nth-of-type(4) .module-header .count[data-v-5364dec2] { color: #b91c1c;
}

/* 轻微悬浮增强，强调可视性 */
.overview-grid .kpi-card:hover .kpi-value[data-v-5364dec2] { filter: brightness(0.95) saturate(1.05);
}
.research-summary-simplified .summary-module:hover .module-header .count[data-v-5364dec2] { filter: brightness(0.95) saturate(1.05);
}

/* "xx汇总"标题中的数字采用胶囊样式，仅作用于本组件 */
.research-summary-simplified .summary-module .module-header .count[data-v-5364dec2] {
  display: inline-flex;
  align-items: center;
  height: 22px;
  line-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid currentColor; /* 与当前文字颜色一致，实现分色边框 */
  background: transparent;
  font-weight: 600;
}


/* ================= 教师画像总览模块样式（组件内） ================= */
#teacher-profile.talent-vertical-card[data-v-5364dec2] { border: 1px solid var(--talent-border-primary, #e5e7eb); border-radius: 10px;
}
#teacher-profile .talent-list-header[data-v-5364dec2] { padding: 10px 14px;
}

/* ================= 教师个人雷达图模块样式（组件内） ================= */
#radar-chart.talent-vertical-card[data-v-5364dec2] {
  margin-bottom: 3rem;
}

/* 组件内 CSS 变量（雷达图主题） */
#radar-chart[data-v-5364dec2] {
  --radar-personal: #409EFF;
  --radar-personal-area: rgba(64, 158, 255, 0.25);
  --radar-average: #67C23A;
  --radar-average-area: rgba(103, 194, 58, 0.20);
  --radar-grid: #e5e7eb;
  --radar-axis: #9ca3af;
  --radar-text: #374151;
  --radar-line-width: 2;
  --radar-split-area-1: rgba(114, 172, 209, 0.10);
  --radar-split-area-2: rgba(114, 172, 209, 0.05);
}

/* 雷达容器高度与比例：不使用 JS 写样式 */
.radar-chart-area .chart-container[data-v-5364dec2] {
  width: 100%;
  height: clamp(320px, 52vh, 520px);
  /* 若浏览器支持，可开启以下约束以保持正方形视觉
  aspect-ratio: 1 / 1; min-height: 320px; max-height: 520px; */
}

/* Tooltip（ECharts HTML 模式） */
[data-v-5364dec2] .radar-tooltip {
  background: rgba(17, 24, 39, 0.92);
  color: #f9fafb;
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  border: none;
}
[data-v-5364dec2] .radar-tooltip:empty {
  display: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
[data-v-5364dec2] .radar-tooltip .rt-title {
  font-weight: 700;
  margin-bottom: 6px;
}
[data-v-5364dec2] .radar-tooltip .rt-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.6;
}
[data-v-5364dec2] .radar-tooltip .rt-compare {
  margin-top: 6px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  padding-top: 6px;
}
[data-v-5364dec2] .radar-tooltip .diff-pos { color: #34d399;
}
[data-v-5364dec2] .radar-tooltip .diff-neg { color: #f87171;
}
[data-v-5364dec2] .radar-tooltip .diff-zero { color: #9ca3af;
}

/* 模式按钮容器 */
.talent-analysis-mode-container-merged[data-v-5364dec2] { display: flex; gap: 8px; padding: 6px 14px 0 14px;
}

/* 胶囊按钮基础样式 */
.talent-analysis-mode-button[data-v-5364dec2] {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all .2s ease;
  font-weight: 600;
}
.talent-analysis-mode-button[data-v-5364dec2]:hover { box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.talent-analysis-mode-button.active[data-v-5364dec2] { background: #eff6ff; color: #1e40af; border-color: #93c5fd;
}
.talent-analysis-mode-ai.active[data-v-5364dec2] { background: #f0f9ff; color: #0369a1; border-color: #7dd3fc;
}

/* 摘要内容区 */
.talent-summary-content[data-v-5364dec2] { padding: 12px 14px 14px 14px; color: var(--talent-text-primary, #111827); line-height: 1.7;
}
.talent-summary-content h4[data-v-5364dec2] { margin: 10px 0 6px 0; font-size: 15px; color: #1f2937;
}
.talent-summary-content p[data-v-5364dec2] { margin: 6px 0; color: #374151;
}
.talent-summary-content ul[data-v-5364dec2] { margin: 6px 0 6px 18px;
}
.talent-summary-content li[data-v-5364dec2] { margin: 4px 0;
}
.talent-summary-content.ai-streaming[data-v-5364dec2] { animation: aiPulse-5364dec2 1.8s ease-in-out infinite;
}
@keyframes aiPulse-5364dec2 {
0%,100%{ opacity:.95
}
50%{ opacity:1
}
}
.talent-no-data[data-v-5364dec2] { padding: 10px 0 14px 0;
}


/* ================= NP 模块信息提示 Tooltip 样式（黑色现代化，复刻 TalentFilterStatsCharts.vue） ================= */
.np-info-tooltip.el-tooltip__popper[x-placement^="bottom"] .popper__arrow,
.np-info-tooltip.el-tooltip__popper[x-placement^="top"] .popper__arrow {
  border-bottom-color: rgba(17, 24, 39, 0.92) !important;
  border-top-color: rgba(17, 24, 39, 0.92) !important;
}
.np-info-tooltip.el-tooltip__popper[x-placement^="bottom"] .popper__arrow::after,
.np-info-tooltip.el-tooltip__popper[x-placement^="top"] .popper__arrow::after {
  border-bottom-color: rgba(17, 24, 39, 0.92) !important;
  border-top-color: rgba(17, 24, 39, 0.92) !important;
}
.np-info-tooltip.el-tooltip__popper.is-dark {
  background: rgba(17, 24, 39, 0.92) !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #f9fafb !important;
}
.np-info-tooltip.el-tooltip__popper.is-dark .popper__arrow {
  border-bottom-color: rgba(17, 24, 39, 0.92) !important;
  border-top-color: rgba(17, 24, 39, 0.92) !important;
}
.np-info-tooltip.el-tooltip__popper.is-dark .popper__arrow::after {
  border-bottom-color: rgba(17, 24, 39, 0.92) !important;
  border-top-color: rgba(17, 24, 39, 0.92) !important;
}


/* ===== 人才×项目明细弹窗（复刻 TalentAnalysisPage-NP-Result.vue） ===== */
.npd-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #111827;
}
.npd-sep { margin: 0 4px; color: #9ca3af;
}
.npd-content { display: grid; gap: 12px;
}
.npd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.npd-kpi { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 8px 10px;
}
.npd-kpi-label { font-size: 12px; color: #6b7280; margin-bottom: 4px;
}
.npd-kpi-value { font-weight: 800; font-size: 18px; color: #111827;
}
.npd-alert { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; border-radius: 8px; padding: 8px 10px; border: 1px solid #e5e7eb;
}
.npd-alert.danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca;
}
.npd-section { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 10px 12px;
}
.npd-section-title { font-weight: 700; font-size: 13px; color: #111827; margin-bottom: 8px;
}
.npd-capsules { display: flex; flex-wrap: wrap; gap: 8px;
}
.npd-capsule { display: inline-flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: 8px; border: 1px solid #e5e7eb; background: #f9fafb;
}
.npd-capsule.fail { background: #fef2f2; color: #b91c1c; border-color: #fecaca;
}
.npd-criteria { display: grid; grid-template-columns: 1fr; gap: 6px;
}
.npd-criterion { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fafafa;
}
.npd-criterion.ok { background: #f0fdf4; border-color: #d1fae5;
}
.npd-criterion.deficit { background: #fef2f2; border-color: #fecaca;
}
.npd-criterion-name { font-size: 13px; color: #374151; font-weight: 600;
}
.npd-criterion-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #6b7280;
}
.npd-criterion-ratio { font-weight: 700; color: #374151;
}
.npd-tag { color: #b91c1c; font-weight: 700;
}
.npd-empty { font-size: 12px; color: #6b7280;
}
.npd-footer { display: flex; justify-content: flex-end; gap: 8px;
}

/* Overlay + Dialog */
.npd-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 3000;
}
.npd-dialog { width: 760px; max-width: calc(100vw - 40px); background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-radius: 16px; box-shadow: 0 12px 40px rgba(2, 6, 23, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.12) inset; border: 1px solid rgba(226, 232, 240, 0.9); overflow: hidden; animation: npd-pop-in 140ms cubic-bezier(.21,.9,.21,1.02);
}
@keyframes npd-pop-in {
from { transform: translateY(6px) scale(.98); opacity: 0;
}
to { transform: translateY(0) scale(1); opacity: 1;
}
}
.npd-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(99,102,241,.08)); border-bottom: 1px solid #e2e8f0;
}
.npd-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #0f172a;
}
.npd-close { border: none; background: transparent; padding: 6px; border-radius: 8px; color: #475569; cursor: pointer;
}
.npd-close:hover { background: rgba(15,23,42,.06);
}
.npd-body { padding: 16px; max-height: calc(80vh - 120px); overflow: auto;
}
.npd-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 16px 16px; border-top: 1px solid #e2e8f0; background: #fff;
}
.npd-capsule-btn { -moz-appearance: none; appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}
.npd-capsule-btn:active { transform: translateY(1px);
}
.npd-capsule-btn.primary { background-color: #2563eb; color: #fff; border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}
.npd-capsule-btn.primary:hover { background-color: #1d4ed8; border-color: #1d4ed8;
}
.npd-capsule-btn.ghost { background-color: #ffffff; color: #1f2937; border-color: #e5e7eb;
}
.npd-capsule-btn.ghost:hover { background-color: #f9fafb;
}

