/* 金昌市人民医院医疗集团 人事管理系统 —— 主题样式（主色 #40B5B5） */
/* Vue 挂载前隐藏未编译模板，避免闪现登录页 */
[v-cloak] { display: none; }
/* 启动遮罩：Vue 挂载成功后自动隐藏 */
#boot-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b3d3d 0%, #14524f 100%); color: #fff;
}
#boot-splash .spinner {
  width: 42px; height: 42px; margin-bottom: 18px;
  border: 4px solid rgba(255,255,255,.25); border-top-color: #40B5B5;
  border-radius: 50%; animation: boot-spin 0.9s linear infinite;
}
#boot-splash .tip { font-size: 14px; letter-spacing: 2px; color: #bfe8e5; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
#app:not([v-cloak]) ~ #boot-splash { display: none; }

:root {
  --hr-primary: #40B5B5;
  --hr-primary-dark: #2E9E9E;
  --hr-primary-light: #E6F6F6;
  --hr-bg: #F2F5F7;
  /* 全局字号基准上调：EP 默认 14px，本系统面向医院用户统一放大 */
  --el-font-size-base: 15px;
  --el-font-size-extra-large: 19px;
  --el-font-size-large: 17px;
  --el-font-size-medium: 16px;
  --el-font-size-small: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body, #app { height: 100%; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
body { font-size: 15px; }

/* 组件内文字同步放大（表格/弹窗/抽屉/表单/下拉/分页等） */
.el-table { font-size: 14px; }
.el-dialog, .el-drawer { font-size: 15px; }
.el-form-item__label { font-size: 15px; }
.el-input, .el-select, .el-textarea { font-size: 15px; }
.el-dropdown-menu__item { font-size: 14px; }
.el-pagination { font-size: 14px; }
.el-message-box { font-size: 15px; }

/* ============ 登录页 ============ */
.login-page {
  height: 100%; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0B3D3D 0%, #177572 48%, #2E9E9E 100%);
  display: flex; align-items: center; justify-content: center;
}
.login-page::before, .login-page::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.login-page::before {
  width: 760px; height: 760px; top: -280px; right: -220px;
  background: radial-gradient(circle, rgba(107, 207, 198, .38), transparent 65%);
}
.login-page::after {
  width: 600px; height: 600px; bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 60%);
}
/* 医疗十字暗纹 */
.login-med-pattern {
  position: absolute; inset: 0; opacity: .06; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M30 20h12v10h10v12H42v10H30V42H20V30h10z' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
}
.login-card {
  position: relative; z-index: 2;
  width: 1000px; max-width: 94vw; min-height: 560px;
  display: flex; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 32px 80px rgba(2, 32, 32, .45);
  animation: login-card-in .55s ease both;
}
@keyframes login-card-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* 左侧 · 品牌视觉区 */
.login-visual {
  width: 460px; flex-shrink: 0; position: relative; overflow: hidden;
  padding: 54px 44px 34px; color: #fff;
  background: linear-gradient(168deg, #177572 0%, #2E9E9E 58%, #46BFB6 100%);
  display: flex; flex-direction: column;
}
.login-visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .07);
  top: -120px; right: -110px;
}
.lv-ecg { position: absolute; left: 0; bottom: 96px; width: 100%; height: 90px; z-index: 0; }
.lv-ecg path { stroke-dasharray: 520 220; animation: lv-ecg-run 4.5s linear infinite; }
@keyframes lv-ecg-run { from { stroke-dashoffset: 740; } to { stroke-dashoffset: 0; } }
.lv-badge {
  position: relative; z-index: 1; align-self: flex-start;
  padding: 5px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 12px; letter-spacing: 1px;
}
.lv-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lv-kicker { font-size: 11px; letter-spacing: 2px; opacity: .72; margin-bottom: 12px; }
.lv-title { font-size: 30px; line-height: 1.45; font-weight: 600; letter-spacing: 3px; }
.lv-slogan { margin-top: 12px; font-size: 15px; letter-spacing: 2px; opacity: .85; }
.lv-intro { margin-top: 14px; font-size: 13px; line-height: 1.9; opacity: .78; letter-spacing: .5px; text-align: justify; }
.lv-stats { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; }
.lv-stat { padding: 0 16px; text-align: center; }
.lv-stat:first-child { padding-left: 0; }
.lv-stat + .lv-stat { border-left: 1px solid rgba(255, 255, 255, .28); }
.lv-stat b { display: block; font-size: 20px; letter-spacing: 1px; }
.lv-stat span { display: block; margin-top: 3px; font-size: 12px; opacity: .75; }
.lv-foot { position: relative; z-index: 1; font-size: 12px; opacity: .7; letter-spacing: 1px; }

/* 右侧 · 登录表单区 */
.login-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.lp-inner { width: 350px; }
.lp-logo {
  width: 320px; max-width: 100%; display: block; margin: 0 auto 32px;
}
.lp-title { font-size: 26px; color: #1f2d2d; font-weight: 700; letter-spacing: 1px; text-align: center; }
.lp-sub { color: #8a9696; font-size: 13px; margin: 8px 0 30px; letter-spacing: .5px; text-align: center; }
.lp-form .el-form-item { margin-bottom: 22px; }
.lp-form .el-input__wrapper {
  border-radius: 10px; padding: 4px 14px; box-shadow: 0 0 0 1px #dde5e5 inset;
  transition: box-shadow .2s;
}
.lp-form .el-input__wrapper:hover { box-shadow: 0 0 0 1px #9fcfcb inset; }
.lp-form .el-input__wrapper.is-focus {
  box-shadow: 0 0 0 1px var(--hr-primary) inset, 0 0 0 3px rgba(64, 181, 181, .15);
}
.lp-form .el-input__inner { height: 40px; font-size: 15px; }
.lp-btn {
  width: 100%; height: 46px; font-size: 16px; letter-spacing: 6px; border-radius: 10px;
  background: linear-gradient(135deg, #40B5B5, #2E9E9E); border: none;
  box-shadow: 0 10px 22px rgba(46, 158, 158, .35);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.lp-btn:hover, .lp-btn:focus {
  background: linear-gradient(135deg, #4CC2BE, #33A8A5); border: none;
  transform: translateY(-1px); box-shadow: 0 14px 26px rgba(46, 158, 158, .42);
}
.lp-tip { margin-top: 26px; color: #b6c2c2; font-size: 12px; text-align: center; }

@media (max-width: 900px) {
  .login-visual { display: none; }
  .login-card { width: 440px; min-height: 0; }
}

/* ============ 主框架 ============ */
.layout { height: 100%; display: flex; flex-direction: column; background: var(--hr-bg); }
.layout-header {
  height: 64px; display: flex; align-items: center; position: relative;
  padding: 0 22px; z-index: 10; color: #fff;
  background: linear-gradient(90deg, #0B3D3D 0%, #146663 50%, #2E9E9E 100%);
  box-shadow: 0 2px 12px rgba(3, 38, 38, .28);
}
/* 细斜纹肌理，提升质感 */
.layout-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 10px);
}
/* 底缘渐变亮线，呼应医疗主色 */
.layout-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #40B5B5, #6BCFC6 45%, transparent 85%);
  pointer-events: none;
}
.hd-logo-box {
  width: 48px; height: 48px; margin-right: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hd-logo-box img { height: 100%; width: 100%; display: block; object-fit: contain; }
.hd-brand { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; }
.layout-header .title { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: 2px; }
.hd-brand-sub { font-size: 10px; color: rgba(255, 255, 255, .62); letter-spacing: 1.5px; margin-top: 2px; white-space: nowrap; }
.layout-header .right { margin-left: auto; display: flex; align-items: center; gap: 16px; color: #fff; font-size: 14px; position: relative; }
/* 顶栏分区竖分隔线 */
.hd-divider { width: 1px; height: 24px; background: rgba(255, 255, 255, .22); flex-shrink: 0; }
/* 实时日期时钟 */
.hd-date {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: rgba(255, 255, 255, .85); letter-spacing: .5px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* 院区视图选择器（带前缀标签） */
.hd-campus { display: inline-flex; align-items: center; gap: 8px; }
.hd-campus-label { font-size: 12px; color: rgba(255, 255, 255, .72); letter-spacing: 1px; white-space: nowrap; }
/* 顶栏院区选择器：毛玻璃风格 */
.layout-header .el-select .el-input__wrapper {
  background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset;
  border-radius: 8px; transition: background .2s, box-shadow .2s;
}
.layout-header .el-select .el-input__wrapper:hover { background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 1px rgba(255, 255, 255, .38) inset; }
.layout-header .el-select .el-input__wrapper.is-focus { background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.layout-header .el-select .el-input__inner { color: #fff; }
.layout-header .el-select .el-input__inner::placeholder { color: rgba(255, 255, 255, .7); }
.layout-header .el-select .el-select__caret,
.layout-header .el-select .el-input__suffix { color: #fff; }
/* 顶栏图标按钮（消息铃铛） */
.hd-icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #e6f4f3; cursor: pointer; transition: background .2s, color .2s;
}
.hd-icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
/* 顶栏用户胶囊 */
.hd-user {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s;
}
.hd-user:hover { background: rgba(255, 255, 255, .2); }
.hd-user .el-avatar { background: #fff; color: #2E9E9E; font-size: 14px; font-weight: 600; }
.hd-user-name { font-size: 14px; color: #fff; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-user-caret { color: rgba(255, 255, 255, .75); font-size: 12px; }
.layout-body { flex: 1; display: flex; overflow: hidden; }
.layout-side { width: 208px; background: #00333A; padding-top: 8px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.layout-side::-webkit-scrollbar { display: none; width: 0; }
.layout-side .el-menu { border-right: none; }
.layout-side .el-menu-item { font-size: 15px; }
.layout-main { flex: 1; padding: 16px; overflow-y: auto; }

/* ============ 通用卡片 ============ */
.page-card { background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 14px; }
.page-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 12px; display: flex; align-items: center; }
.page-title::before { content: ""; width: 4px; height: 16px; background: var(--hr-primary); border-radius: 2px; margin-right: 8px; }

/* ============ 执业管理 ============ */
/* 分签：图标 + 渐变指示条 */
.pr-tabs .el-tabs__header { margin-bottom: 16px; }
.pr-tabs .el-tabs__nav-wrap::after { height: 1px; background: #eef1f6; }
.pr-tabs .el-tabs__item { height: 48px; line-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; color: #7c869e; transition: color .15s; }
.pr-tabs .el-tabs__item .el-icon { margin-right: 6px; font-size: 16px; }
.pr-tabs .el-tabs__item.is-active { color: #17347c; font-weight: 700; }
.pr-tabs .el-tabs__item:hover { color: #1e5eff; }
.pr-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #1e5eff, #3d7bff); }
/* ============ 年度考核（双页签：专技考核 / 医德医风） ============ */
.an-tabs .el-tabs__header { margin-bottom: 16px; }
.an-tabs .el-tabs__nav-wrap::after { height: 1px; background: #eef1f6; }
.an-tabs .el-tabs__item { height: 50px; line-height: 50px; padding: 0 28px; }
.an-tabs .el-tabs__item .an-lb { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: #7c869e; letter-spacing: .5px; transition: color .15s; }
.an-tabs .el-tabs__item .an-lb .el-icon { font-size: 17px; }
.an-tabs .el-tabs__item.is-active .an-lb { color: #17347c; }
.an-tabs .el-tabs__item:hover .an-lb { color: #1e5eff; }
.an-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #1e5eff, #3d7bff); }
.an-filter { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; background: #fafbff; border: 1px solid #e9edf6; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.an-filter .an-tip { color: #8a93ab; font-size: 12.5px; line-height: 1.7; max-width: 420px; }
.an-filter .an-fbtns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.an-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; margin-bottom: 14px; }
.an-stat { background: #fff; border: 1px solid #e9edf6; border-radius: 10px; padding: 10px 14px 9px; position: relative; overflow: hidden; }
.an-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sc, #1e5eff); }
.an-stat b { display: block; font-size: 22px; line-height: 1.15; color: #1c2333; font-weight: 800; }
.an-stat span { font-size: 11.5px; color: #98a2ba; }
.an-stat.s-gold { --sc: #d97706; } .an-stat.s-gold b { color: #d97706; }
.an-stat.s-green { --sc: #0e9f6e; } .an-stat.s-green b { color: #0e9f6e; }
.an-stat.s-blue { --sc: #1e5eff; } .an-stat.s-blue b { color: #1e5eff; }
.an-stat.s-red { --sc: #d92d20; } .an-stat.s-red b { color: #d92d20; }
.an-stat.s-gray { --sc: #98a2ba; } .an-stat.s-gray b { color: #98a2ba; }
.an-stat.s-none { --sc: #c3cad9; }
/* ============ 年度考核（双页签：专技考核 / 医德医风） ============ */
.an-tabs .el-tabs__header { margin-bottom: 16px; }
.an-tabs .el-tabs__nav-wrap::after { height: 1px; background: #eef1f6; }
.an-tabs .el-tabs__item { height: 50px; line-height: 50px; padding: 0 28px; }
.an-tabs .el-tabs__item .an-lb { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: #7c869e; letter-spacing: .5px; transition: color .15s; }
.an-tabs .el-tabs__item .an-lb .el-icon { font-size: 17px; }
.an-tabs .el-tabs__item.is-active .an-lb { color: #17347c; }
.an-tabs .el-tabs__item:hover .an-lb { color: #1e5eff; }
.an-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #1e5eff, #3d7bff); }
/* 筛选条：淡底圆角卡片，说明文字 + 控件分离 */
.an-filter { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; background: #fafbff; border: 1px solid #e9edf6; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.an-filter .an-tip { color: #8a93ab; font-size: 12.5px; line-height: 1.7; max-width: 420px; }
.an-filter .an-fbtns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* 统计卡片：左色条 + 大数字 */
.an-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; margin-bottom: 14px; }
.an-stat { background: #fff; border: 1px solid #e9edf6; border-radius: 10px; padding: 10px 14px 9px; position: relative; overflow: hidden; }
.an-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sc, #1e5eff); }
.an-stat b { display: block; font-size: 22px; line-height: 1.15; color: #1c2333; font-weight: 800; }
.an-stat span { font-size: 11.5px; color: #98a2ba; }
.an-stat.s-gold { --sc: #d97706; } .an-stat.s-gold b { color: #d97706; }
.an-stat.s-green { --sc: #0e9f6e; } .an-stat.s-green b { color: #0e9f6e; }
.an-stat.s-blue { --sc: #1e5eff; } .an-stat.s-blue b { color: #1e5eff; }
.an-stat.s-red { --sc: #d92d20; } .an-stat.s-red b { color: #d92d20; }
.an-stat.s-gray { --sc: #98a2ba; } .an-stat.s-gray b { color: #98a2ba; }
.an-stat.s-none { --sc: #c3cad9; }
/* 统计卡片：淡色渐变底 + 顶部色条 + 渐变图标徽章 */
.pr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.pr-stat {
  background: linear-gradient(150deg, color-mix(in srgb, var(--kc, #2E9E9E) 7%, #fff) 0%, #fff 62%);
  border: 1px solid color-mix(in srgb, var(--kc, #2E9E9E) 16%, #eef2f3); border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 40, 40, .05);
  transition: transform .18s, box-shadow .18s;
}
.pr-stat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--kc, #2E9E9E) 20%, rgba(20, 60, 60, .10)); }
.pr-stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--kc, var(--hr-primary)), color-mix(in srgb, var(--kc, #2E9E9E) 30%, #fff));
}
.pr-stat-ico {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  color: #fff; background: linear-gradient(135deg, var(--kc, #2E9E9E), color-mix(in srgb, var(--kc, #2E9E9E) 62%, #fff));
  box-shadow: 0 4px 10px color-mix(in srgb, var(--kc, #2E9E9E) 28%, transparent);
}
.pr-stat-main { display: flex; flex-direction: column; min-width: 0; }
.pr-stat-main b { font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; color: var(--kc, #1f2d2d); font-variant-numeric: tabular-nums; }
.pr-stat-main span { margin-top: 4px; font-size: 12.5px; color: #556161; }
/* 筛选工具条 */
.pr-filter {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: #f6fafa; border: 1px solid #e3eeee; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px;
}
/* 表格容器：圆角包裹 + 斑马纹 + 表头青绿底 */
.pr-table-wrap .el-table { border-radius: 10px; overflow: hidden; }
.pr-table-wrap .el-table th.el-table__cell {
  background: #eef8f8; color: #155e75; font-weight: 600; font-size: 13px;
}
.pr-table-wrap .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell { background: #fafdfd; }
.pr-table-wrap .el-table__body tr:hover > td.el-table__cell { background: #eef8f8 !important; }
/* 证书类型 tag 着色 */
.pr-cert-tag.el-tag--primary { --el-tag-bg-color: #e6f6f6; --el-tag-border-color: #b8e4e4; --el-tag-text-color: #0e7490; }

/* 统计卡片 */
/* ============ 人事总览（驾驶舱） ============ */
/* 欢迎横幅 */
.dash-hero {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 12px; padding: 22px 28px; margin-bottom: 14px; color: #fff;
  background: linear-gradient(115deg, #0B3D3D 0%, #177572 52%, #2E9E9E 100%);
  box-shadow: 0 6px 18px rgba(11, 61, 61, .22); position: relative; overflow: hidden;
}
.dash-hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 34px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.dash-hero-hi { font-size: 21px; font-weight: 600; letter-spacing: 1px; }
.dash-hero-sub { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .72); letter-spacing: .5px; }
.dash-hero-right { display: flex; gap: 10px; position: relative; z-index: 1; }
.dash-hero-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
  font-size: 13px; cursor: pointer; transition: background .2s; white-space: nowrap;
}
.dash-hero-chip:hover { background: rgba(255, 255, 255, .24); }
.dash-hero-chip b { font-size: 16px; }
/* 核心指标卡 */
.dash-kpi { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 14px; }
.dash-kpi-card {
  background: #fff; border-radius: 10px; padding: 16px 16px 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  border: 1px solid #eef2f3; transition: transform .15s, box-shadow .15s;
}
.dash-kpi-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20, 60, 60, .12); }
.dash-kpi-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--kc, var(--hr-primary)); border-radius: 0 2px 2px 0;
}
.dash-kpi-ico {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--kc, var(--hr-primary)); background: color-mix(in srgb, var(--kc, #2E9E9E) 10%, #fff);
}
.dash-kpi-main { display: flex; flex-direction: column; }
.dash-kpi-main b { font-size: 26px; line-height: 1.15; color: #1f2d2d; font-variant-numeric: tabular-nums; }
.dash-kpi-main span { margin-top: 2px; font-size: 13px; color: #556161; }
.dash-kpi-card em { font-style: normal; font-size: 11.5px; color: #a3b0b0; }
/* 总览栅格行 */
.dash-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; align-items: stretch; }
.dash-row-4 { grid-template-columns: repeat(4, 1fr); }
.dash-card { margin-bottom: 0 !important; display: flex; flex-direction: column; }
.dash-side-col { display: flex; flex-direction: column; gap: 14px; }
/* 趋势柱状图 */
.dash-legend { margin-left: auto; font-size: 12px; font-weight: 400; color: #8a9696; display: inline-flex; align-items: center; gap: 5px; }
.dash-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.dash-legend .lg-in { background: linear-gradient(180deg, #4CC2BE, #2E9E9E); margin-left: 0; }
.dash-legend .lg-out { background: linear-gradient(180deg, #FBBF77, #F59E0B); }
.dash-trend { flex: 1; display: flex; align-items: flex-end; gap: 6px; height: 172px; padding-top: 8px; }
.dash-trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.dash-trend-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.dash-trend-bars i { width: 9px; border-radius: 4px 4px 0 0; transition: height .4s ease; min-height: 0; }
.dash-trend-bars .bar-in { background: linear-gradient(180deg, #4CC2BE, #2E9E9E); }
.dash-trend-bars .bar-out { background: linear-gradient(180deg, #FBBF77, #F59E0B); }
.dash-trend-bars .bar-cost { width: 16px; background: linear-gradient(180deg, #6BCFC6, #177572); }
.dash-trend-col span { font-size: 11px; color: #9aa7a7; white-space: nowrap; }
.dash-trend-foot { margin-top: 10px; font-size: 12.5px; color: #8a9696; }
.dash-trend-foot b { color: var(--hr-primary-dark); font-size: 14px; }
/* 编制饱和度 */
.dash-sat { display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: center; }
.dash-sat-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dash-sat-name { width: 86px; flex-shrink: 0; color: #556161; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-sat-bar { flex: 1; height: 8px; border-radius: 99px; background: #eef3f3; overflow: hidden; }
.dash-sat-bar i { display: block; height: 100%; border-radius: 99px; transition: width .4s ease; }
.dash-sat-num { width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.dash-sat-cnt { width: 58px; text-align: right; color: #9aa7a7; font-variant-numeric: tabular-nums; }
/* 结构分布条形 */
.dash-dist { display: flex; flex-direction: column; gap: 10px; flex: 1; justify-content: center; }
.dash-dist-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dash-dist-name { width: 72px; flex-shrink: 0; color: #556161; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-dist-bar { flex: 1; height: 8px; border-radius: 99px; background: #eef3f3; overflow: hidden; }
.dash-dist-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6BCFC6, #2E9E9E); transition: width .4s ease; }
.dash-dist-row b { width: 42px; text-align: right; color: #1f2d2d; font-variant-numeric: tabular-nums; }
/* 绩效/预警小卡 */
.dash-perf-period { margin-left: 6px; font-size: 12px; font-weight: 400; color: #9aa7a7; }
.dash-lost { display: flex; flex-direction: column; gap: 8px; }
.dash-lost-row { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 10px; border-radius: 8px; background: #FDF6F0; }
.dash-lost-ico { color: #F59E0B; flex-shrink: 0; }
.dash-lost-row b { color: #1f2d2d; }
.dash-lost-row span { color: #8a9696; font-size: 12px; }
.dash-lost-row em { margin-left: auto; font-style: normal; color: #b0a090; font-size: 12px; }
.dash-empty { padding: 22px 0; text-align: center; color: #b0bcbc; font-size: 13px; }
.dash-empty-ok { color: #67b98f; }
@media (max-width: 1360px) {
  .dash-kpi { grid-template-columns: repeat(3, 1fr); }
  .dash-row-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ================= 组织架构 v2（现代卡片式） ================= */
.orgv2 { display: flex; flex-direction: column; gap: 14px; }
/* 顶栏：标题 + 全局搜索 */
.orgv2-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.orgv2-title { font-size: 22px; font-weight: 700; color: #1f2d2c; letter-spacing: .5px; }
.orgv2-sub { font-size: 14px; color: #8ba0a0; margin-top: 3px; }
.orgv2-hero-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.orgv2-search { width: 320px; }
.orgv2-search .el-input__wrapper { border-radius: 20px; padding: 1px 16px; box-shadow: 0 0 0 1px #dbe6e5 inset; }
.orgv2-search .el-input__wrapper:hover, .orgv2-search .el-input__wrapper.is-focus { box-shadow: 0 0 0 1px var(--hr-primary) inset; }
.orgv2-sug { line-height: 1.45; padding: 2px 0; }
.orgv2-sug .n { font-size: 14px; color: #26302f; }
.orgv2-sug .p { font-size: 13px; color: #9aa8a7; }
.orgv2-sug-popper { max-width: 440px; }
/* 主体：左栏完整组织树 + 右侧详情 */
.orgv2-body { display: flex; gap: 14px; align-items: flex-start; }
.orgv2-side { width: 340px; flex-shrink: 0; background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; box-shadow: 0 1px 4px rgba(30,60,60,.04); padding: 12px; position: sticky; top: 0; max-height: calc(100vh - 190px); min-height: 560px; display: flex; flex-direction: column; }
.orgv2-tree-tools { display: flex; gap: 8px; margin-bottom: 10px; flex-shrink: 0; }
.orgv2-tree-tools .el-select { flex: 1; }
.orgv2-tree { flex: 1; overflow-y: auto; background: transparent; }
.orgv2-tree .el-tree-node__content { height: 36px; border-radius: 9px; margin: 1px 0; }
.orgv2-tree .el-tree-node__content:hover { background: #f3f8f7; }
.orgv2-tree .el-tree-node.is-current > .el-tree-node__content { background: var(--hr-primary-light); }
.orgv2-tree .el-tree-node.is-current .orgv2-node .nm { color: var(--hr-primary-dark); font-weight: 600; }
.orgv2-node { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 6px; }
.orgv2-node .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.orgv2-node .nm { flex: 1; min-width: 64px; font-size: 14px; color: #33413f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orgv2-node .ct { flex-shrink: 0; font-size: 13px; color: #9aa8a7; background: #f0f4f4; border-radius: 9px; padding: 0 8px; line-height: 19px; }
.orgv2-node .ct.on { color: var(--hr-primary-dark); background: rgba(64,181,181,.14); }
.orgv2-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.orgv2-empty { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; color: #aab6b5; text-align: center; padding: 100px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.orgv2-empty .t1 { font-size: 16px; font-weight: 600; color: #67777a; margin-top: 6px; }
.orgv2-empty .t2 { font-size: 14px; }
/* 头部卡片 */
.orgv2-hdcard { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; box-shadow: 0 1px 4px rgba(30,60,60,.04); padding: 18px 20px; }
.orgv2-hdcard .hd-top { display: flex; align-items: center; gap: 14px; }
.orgv2-hdcard .hd-avatar { width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 8px rgba(30,60,60,.16); }
.orgv2-hdcard .hd-info { flex: 1; min-width: 0; }
.orgv2-hdcard .hd-name { font-size: 19px; font-weight: 700; color: #1f2d2c; display: flex; align-items: center; flex-wrap: wrap; }
.orgv2-hdcard .hd-path { font-size: 13px; color: #9aa8a7; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orgv2-hdcard .hd-path .crumb { cursor: pointer; }
.orgv2-hdcard .hd-path .crumb:hover { color: var(--hr-primary); }
.orgv2-hdcard .hd-path .crumb.cur { color: var(--hr-primary-dark); font-weight: 600; cursor: default; }
.orgv2-hdcard .hd-path .crumb-sep { margin: 0 6px; color: #c9d4d3; }
.orgv2-hdcard .hd-ops { display: flex; gap: 8px; flex-shrink: 0; }
.orgv2-hdcard .hd-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e5eeee; }
.orgv2-hdcard .pill { display: flex; align-items: baseline; gap: 7px; background: #f7faf9; border: 1px solid #e9f0ef; border-radius: 10px; padding: 8px 16px; }
.orgv2-hdcard .pill b { font-size: 18px; font-weight: 700; color: var(--hr-primary-dark); }
.orgv2-hdcard .pill:not(:has(b)) { font-size: 14px; color: #5b6b6a; }
/* 通用卡片与分区标题 */
.orgv2-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; box-shadow: 0 1px 4px rgba(30,60,60,.04); padding: 16px 20px; }
.orgv2-sec { font-size: 15px; font-weight: 600; color: #26302f; display: flex; align-items: center; margin-bottom: 12px; }
.orgv2-sec::before { content: ""; width: 4px; height: 15px; background: var(--hr-primary); border-radius: 2px; margin-right: 8px; }
.orgv2-sec .cnt { font-size: 13px; font-weight: 500; color: var(--hr-primary-dark); background: var(--hr-primary-light); border-radius: 9px; padding: 1px 9px; margin-left: 8px; }
.orgv2-sec .orgv2-sec-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* 成员表分页 */
.orgv2-pager { display: flex; justify-content: flex-end; margin-top: 12px; }

/* 档案抽屉：分区卡片式排版 */
.emp-section {
  margin-bottom: 16px; background: #fff;
  border: 1px solid #e6efee; border-radius: 8px;
  padding: 14px 16px; box-shadow: 0 1px 3px rgba(0, 60, 60, .04);
}
.emp-section h4 {
  font-size: 15px; font-weight: 600; color: var(--hr-primary-dark);
  margin-bottom: 12px; border-left: 3px solid var(--hr-primary);
  padding-left: 8px; display: flex; align-items: center; justify-content: space-between;
}
/* 档案抽屉 v6：墨绿烫金卷宗 —— 深青绿封面（主题色系）· 双线金框 · 居中烫金题名 · 朱砂方印 */
.pf-head {
  position: relative; overflow: hidden;
  background:
    radial-gradient(460px 220px at 88% -8%, rgba(201, 168, 106, .16), transparent 62%),
    linear-gradient(152deg, #1d5a54 0%, #0e453f 52%, #14524b 100%);
  border-radius: 14px; padding: 60px 30px 20px;
  box-shadow: 0 10px 32px rgba(12, 58, 53, .4);
}
/* 证书式双线金框：一粗一细两道金线，中间露墨绿底 */
.pf-head::before {
  content: ''; position: absolute; inset: 10px; border-radius: 9px;
  border: 1px solid rgba(201, 168, 106, .45);
  box-shadow: inset 0 0 0 3px #113e39, inset 0 0 0 4px rgba(201, 168, 106, .25);
  pointer-events: none;
}
/* 居中烫金题名：金线 — 一人一档 — 朱砂印 — 人事档案 — 金线 */
.pf-cap {
  position: absolute; top: 16px; left: 0; right: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.pf-cap-line { width: 52px; height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, .75)); }
.pf-cap-line:last-child { background: linear-gradient(90deg, rgba(201, 168, 106, .75), transparent); }
.pf-cap-t { font-family: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
  font-size: 15px; font-weight: 700; letter-spacing: 8px; color: #e0c894; }
/* 朱砂方印：封面题名与分区题名共用的小印 */
.pf-seal {
  width: 26px; height: 26px; flex-shrink: 0; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(180, 66, 50, .9); border-radius: 4px;
  background: rgba(180, 66, 50, .12); color: rgba(214, 90, 68, .95);
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: 15px; font-weight: 800; line-height: 1; transform: rotate(-5deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
/* 封面身份大水印：党员压党徽、非党员压院徽，右侧大尺寸低透明度 */
.pf-wm {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
  height: 86%; width: auto; z-index: 0;
  opacity: .28; pointer-events: none; user-select: none;
  filter: brightness(1.4) drop-shadow(0 4px 16px rgba(0, 0, 0, .35));
}
/* 院徽带白底：圆形裁切并再压低透明度 */
.pf-wm-hos { border-radius: 50%; opacity: .18; filter: none; }

/* ===== 消息中心：头卡横幅 + 彩色胶囊筛选 + 未读高亮表格 ===== */
.msg-hd {
  display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
  background: linear-gradient(120deg, #e6f2f0 0%, #f4f9f8 70%, #fbfdfd 100%);
  border: 1px solid #dbe9e6; border-radius: 14px; padding: 20px 26px;
  box-shadow: 0 4px 16px rgba(11, 61, 61, .07);
}
.msg-hd-ico {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, #2E9E9E, #177572);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(23, 117, 114, .35);
}
.msg-hd-t { font-size: 20px; font-weight: 700; color: #0b3d3d; letter-spacing: 2px; }
.msg-hd-s { font-size: 13px; color: #5d7371; margin-top: 4px; }
.msg-hd-stat { display: flex; margin-left: 14px; }
.msg-hd-stat > div { text-align: center; padding: 0 24px; }
.msg-hd-stat > div + div { border-left: 1px solid #d5e4e2; }
.msg-hd-stat b { display: block; font-size: 24px; line-height: 1.2; color: #177572; }
.msg-hd-stat > div:first-child b { color: #d64550; }
.msg-hd-stat span { font-size: 12px; color: #8aa19f; }
.msg-hd-btn { margin-left: auto; display: flex; gap: 10px; }
/* 类型胶囊筛选条 */
.msg-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.msg-bar a {
  padding: 5px 15px; border-radius: 16px; font-size: 13px; color: #5d7371;
  background: #fff; border: 1px solid #dce8e6; cursor: pointer; user-select: none;
  transition: all .18s; box-shadow: 0 1px 3px rgba(15, 45, 45, .05);
  display: inline-flex; align-items: center; gap: 6px;
}
.msg-bar a.m1::before, .msg-bar a.m2::before, .msg-bar a.m3::before, .msg-bar a.m4::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mc, #9db4b2);
}
.msg-bar a.m1 { --mc: #e6a23c; }
.msg-bar a.m2 { --mc: #18a058; }
.msg-bar a.m3 { --mc: #0c8fce; }
.msg-bar a.m4 { --mc: #d64550; }
.msg-bar a.on { background: #177572; border-color: #177572; color: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(23, 117, 114, .3); }
.msg-bar a.on::before { background: #fff !important; }
/* 表格：未读行淡青底 + 左侧红条，已读行变淡 */
.msg-body .el-table {
  border-radius: 10px; overflow: hidden; border: 1px solid #e9f0ef;
  --el-table-border-color: #eef3f2; --el-table-header-bg-color: #f5f8f8;
  --el-table-row-hover-bg-color: #eef6f4; font-size: 13px;
}
.msg-body .el-table__body tr.msg-unread { --el-table-tr-bg-color: #f3faf7; }
.msg-body .el-table__body tr.msg-unread td:first-child { box-shadow: inset 3px 0 0 #d64550; }
.msg-body .el-table__body tr.msg-read .msg-tt,
.msg-body .el-table__body tr.msg-read td { color: #93a5a3; }
.msg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f56c6c; margin-right: 8px; vertical-align: 1px; animation: msgDot 1.6s ease-in-out infinite; }
@keyframes msgDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.msg-unread .msg-tt { font-weight: 700; color: #20302e; }
.pf-idrow { display: flex; gap: 24px; align-items: center; position: relative; z-index: 1; }
.pf-photo {
  width: 104px; height: 140px; flex-shrink: 0; position: relative;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(201, 168, 106, .55);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), 0 0 0 4px rgba(201, 168, 106, .14);
  background: #164a44; color: rgba(224, 200, 148, .55); font-size: 44px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-info { flex: 1; min-width: 0; }
/* 第一行：姓名（宋体大字）+ 纸色标签 */
.pf-line1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-name { font-size: 28px; font-weight: 800; color: #f5f0e3; letter-spacing: 5px; font-family: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif; }
.pf-gender { font-size: 12px; color: rgba(245, 240, 227, .85); background: rgba(245, 240, 227, .1); border: 1px solid rgba(245, 240, 227, .22); border-radius: 10px; padding: 2px 10px; }
.pf-status { font-size: 12px; color: #12352f; background: linear-gradient(135deg, #d9b87e, #b08c52); border-radius: 11px; padding: 3px 11px; font-weight: 700; letter-spacing: 1px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.pf-pol { font-size: 12px; color: rgba(245, 240, 227, .88); background: transparent; border: 1px solid rgba(245, 240, 227, .3); border-radius: 11px; padding: 2px 10px; }
.pf-no { font-size: 12px; color: rgba(245, 240, 227, .5); letter-spacing: 1px; }
.pf-line2 { margin-top: 12px; font-size: 14px; color: rgba(245, 240, 227, .88); display: flex; align-items: center; gap: 6px; }
.pf-line2 .el-icon { color: #c9a86a; font-size: 15px; }
/* 职务胶囊行：封面底部虚线分隔，每个职务一枚胶囊 */
.pf-duties {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(245, 240, 227, .22);
  display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1;
}
/* 职务行：纸色细描边条，一行一职务 */
.pf-duty {
  display: flex; width: fit-content; align-items: center; gap: 7px;
  font-size: 13px; color: rgba(245, 240, 227, .92); font-weight: 500; padding: 4px 12px;
  border-radius: 7px; background: rgba(245, 240, 227, .07); border: 1px solid rgba(245, 240, 227, .16);
}
.pf-duty .el-icon { color: #c9a86a; font-size: 14px; }
/* 身份胶囊行：职称/编制/人员类别，紧随科室行展示 */
.pf-line3 { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.pf-chip { font-size: 12px; color: rgba(245, 240, 227, .8); background: rgba(245, 240, 227, .06); border: 1px solid rgba(245, 240, 227, .16); padding: 3px 12px; border-radius: 4px; }
/* 右侧指标：金色细分隔线 + 纸色大字 */
.pf-stats { display: flex; flex-shrink: 0; }
.pf-stats > div { text-align: center; padding: 2px 22px; }
.pf-stats > div + div { border-left: 1px solid rgba(201, 168, 106, .3); }
.pf-stats .num { display: block; font-size: 20px; font-weight: 800; color: #f5f0e3; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-stats .lbl { display: block; font-size: 11px; color: rgba(245, 240, 227, .5); margin-top: 5px; letter-spacing: 3px; }
/* 分组字段：两列表单式排版 */
/* 弹窗详情键值区：三列网格，标签上值下（与档案抽屉 detail-kv 同语言） */
.emp-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; font-size: 14px; }
.emp-kv > div { min-width: 0; }
.emp-kv > div .k { display: block; font-size: 13px; color: #90a4a2; margin-bottom: 2px; }
.emp-kv > div .v, .emp-kv > div { color: #2b3a38; word-break: break-word; line-height: 1.45; }
@media (max-width: 640px) {
  .emp-kv { grid-template-columns: repeat(2, 1fr); }
}
.emp-kv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; font-size: 14px; }
.emp-kv2 > div { display: flex; padding: 9px 0; border-bottom: 1px dashed #e9f0ef; }
.emp-kv2 .k { color: #8a9a99; width: 84px; flex-shrink: 0; }
.emp-kv2 .v { color: #333; word-break: break-all; flex: 1; }
.emp-empty { color: #aab6b5; font-size: 14px; padding: 8px 0; }

/* ============ 全局弹窗皮肤 v3 —— 纯白大面板、细分隔线、大控件、仅内部滚动 ============ */

/* 1. 遮罩层：深色半透明 + 轻微模糊，与白色主页面拉开层次 */
.el-overlay { background: rgba(18, 42, 42, .5); backdrop-filter: blur(3px); overflow: hidden; }
/* 遮罩容器：不再自身滚动，弹窗视口内垂直居中，只允许弹窗内部滚动 */
.el-overlay-dialog {
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 24px; box-sizing: border-box;
}

/* 2. 对话框容器：纯白面板，深色遮罩负责分层 */
.el-dialog {
  border-radius: 16px; overflow: hidden; margin: 0;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(10, 30, 30, .4);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 64px);
  animation: hr-dialog-in .3s cubic-bezier(.16, 1, .3, 1);
}
@keyframes hr-dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* 3. 头部：白底细线分隔，无任何装饰色带 */
.el-dialog__header {
  margin-right: 0; padding: 14px 24px 12px;
  border-bottom: 1px solid #f0f2f5;
  background: #ffffff;
  flex-shrink: 0;
}
.el-dialog__title {
  font-size: 16px; font-weight: 600; color: #111827; letter-spacing: .3px;
}
.el-dialog__headerbtn { top: 11px; right: 14px; width: 32px; height: 32px; border-radius: 8px; transition: background .2s; }
.el-dialog__headerbtn:hover { background: #f3f4f6; }
.el-dialog__headerbtn .el-dialog__close { font-size: 17px; color: #9ca3af; transition: color .2s; }
.el-dialog__headerbtn:hover .el-dialog__close { color: #374151; }

/* 4. 内容区：纯白、紧凑留白，仅内部滚动 */
.el-dialog__body {
  padding: 16px 24px 6px; color: #374151; font-size: 14px;
  background: #ffffff;
  overflow-y: auto; flex: 1; min-height: 0;
}
.el-dialog__body::-webkit-scrollbar { width: 6px; }
.el-dialog__body::-webkit-scrollbar-thumb { background: #dfe3e8; border-radius: 3px; }
.el-dialog__body::-webkit-scrollbar-thumb:hover { background: #c3cad1; }

/* 5. 表单分组：白底无标题，仅靠间距分隔 */
.dialog-section { padding: 0; margin-bottom: 10px; }
.dialog-section:last-child { margin-bottom: 0; }

/* 6. 弹窗内表单：label 顶置 */
.el-dialog .el-form { display: block; }
.el-dialog .el-form-item {
  margin-bottom: 12px;
  display: flex; flex-direction: column;
}
.el-dialog .el-form-item__label {
  float: none; text-align: left;
  width: auto !important; line-height: 1.4;
  font-size: 14px; color: #6b7280; font-weight: 400;
  margin-bottom: 5px; padding: 0;
}
.el-dialog .el-form-item__content {
  margin-left: 0 !important; width: 100%;
  min-width: 0; line-height: 1;
}
.el-dialog .el-form-item__content > * { max-width: 100%; }
.el-dialog .el-form-item .el-input-number { width: 100%; }

/* 7. 输入框统一：36px 高、柔和边框与聚焦环 */
.el-dialog .el-input__wrapper,
.el-dialog .el-textarea__inner,
.el-dialog .el-select__wrapper,
.el-dialog .el-input-number {
  border-radius: 8px; transition: box-shadow .2s ease;
  min-height: 36px;
  box-shadow: 0 0 0 1px #dfe3e8 inset;
}
.el-dialog .el-input__wrapper .el-input__inner { height: 34px; font-size: 14px; }
.el-dialog .el-input__wrapper:hover,
.el-dialog .el-select__wrapper:hover,
.el-dialog .el-textarea__inner:hover {
  box-shadow: 0 0 0 1px #b8c0c9 inset;
}
.el-dialog .el-input__wrapper.is-focus,
.el-dialog .el-select__wrapper.is-focused,
.el-dialog .el-textarea__inner:focus {
  box-shadow: 0 0 0 1px var(--hr-primary) inset, 0 0 0 3px rgba(64, 181, 181, .14) !important;
}

/* 8. 双列/三列布局：不挤压 */
.el-dialog .el-col { min-width: 0; box-sizing: border-box; }
.el-dialog .el-form-item { margin-bottom: 12px; }
.el-dialog .el-col-24 { width: 100%; }

/* 9. 下拉/日期/树选择宽度兜底 */
.el-dialog .el-tree-select,
.el-dialog .el-date-editor,
.el-dialog .el-select { width: 100% !important; }

/* 10. 提示小字（不小于 14px 基准） */
.el-dialog .form-tip,
.el-dialog [style*="font-size:12px"],
.el-dialog [style*="font-size:13px"] {
  font-size: 14px !important; color: #9ca3af; line-height: 1.5;
  margin-top: 6px;
}

/* 11. 弹窗内表格 */
.el-dialog .el-table {
  margin-bottom: 10px; border-radius: 10px; overflow: hidden;
  border: 1px solid #eef0f3;
}
.el-dialog .el-table th.el-table__cell { background: #fafbfc; color: #374151; font-weight: 600; }

/* 12. 底部：紧凑大按钮 */
.el-dialog__footer {
  padding: 10px 24px 14px; border-top: 1px solid #f0f2f5;
  background: #ffffff;
  display: flex; justify-content: flex-end; gap: 12px;
  flex-shrink: 0;
}
.el-dialog__footer .el-button {
  min-width: 88px; height: 36px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: all .2s ease;
}
.el-dialog__footer .el-button--primary {
  background: var(--hr-primary); border-color: var(--hr-primary);
  box-shadow: 0 6px 16px rgba(64, 181, 181, .28);
}
.el-dialog__footer .el-button--primary:hover {
  background: var(--hr-primary-dark); border-color: var(--hr-primary-dark);
  box-shadow: 0 8px 20px rgba(64, 181, 181, .38);
  transform: translateY(-1px);
}

/* ---- 抽屉 el-drawer —— 人事档案卷宗：淡青底 · 左侧目录 · 白卡分卷 ---- */
.el-drawer { background: #f2f7f6; box-shadow: -24px 0 64px rgba(10, 30, 30, .35); }
.el-drawer__header {
  margin-bottom: 0; padding: 16px 30px 13px;
  border-bottom: 1px solid #e3ecec; background: #fbfdfd;
}
.el-drawer__title {
  font-size: 16px; font-weight: 600; color: #16302e; letter-spacing: .5px;
}
.el-drawer__close-btn { font-size: 16px; color: #9ca3af; transition: all .2s; }
.el-drawer__close-btn:hover { color: #ef4444; transform: rotate(90deg); }
/* 档案抽屉头部：暖纸题名栏 + 烫金竖条饰标 + 烫金封口线，与藏青烫金卷宗呼应 */
.arc-drawer .el-drawer__header {
  position: relative;
  padding: 14px 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #f5efe1 100%);
  border-bottom: 1px solid #e6dcc4;
  box-shadow: 0 2px 10px rgba(30, 26, 16, .05);
}
/* 底部烫金渐隐细线：左实右虚，卷宗封口感 */
.arc-drawer .el-drawer__header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, rgba(201, 168, 106, .9), rgba(201, 168, 106, .18) 46%, transparent);
}
.arc-drawer .el-drawer__title {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
  font-weight: 700; color: #0f5550; letter-spacing: 1.5px; font-size: 16.5px;
}
/* 题目前烫金竖条饰标 */
.arc-drawer .el-drawer__title::before {
  content: ''; flex-shrink: 0;
  width: 4px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, #d3b277, #a8844f);
  box-shadow: 0 1px 3px rgba(120, 90, 40, .3);
}
/* 关闭钮：圆角描边，悬停朱砂提亮并旋转 */
.arc-drawer .el-drawer__close-btn {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; color: #9a8f74;
  border: 1px solid transparent; transition: all .22s ease;
}
.arc-drawer .el-drawer__close-btn:hover {
  color: #b44232; background: rgba(180, 66, 50, .09);
  border-color: rgba(180, 66, 50, .3); transform: rotate(90deg);
}
/* 抽屉内主按钮改为主题深绿，与墨绿卷宗封面一致 */
.arc-drawer { --el-color-primary: #2E9E9E; }
.el-drawer__body {
  padding: 22px 28px 0; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #ede8db 0%, #f6f3ec 280px);
  display: flex; flex-direction: column;
}
/* 头卡与索引条固定不滚，仅长页内容区滚动 */
.el-drawer__body > .pf-head,
.el-drawer__body > .pf-index { flex-shrink: 0; }

/* 档案索引条：米白纸签，选中烫金线，滚动跟随高亮 */
.pf-index {
  display: flex; gap: 0; margin: 14px 0 0; padding: 0 6px;
  background: #fffdf8; border: 1px solid #e8e2d2; border-radius: 11px;
  flex-wrap: wrap; box-shadow: 0 1px 6px rgba(30, 26, 16, .06);
  align-items: stretch;
}
.pf-index a {
  position: relative; padding: 11px 16px; font-size: 14px; font-weight: 500;
  color: #6b6455; cursor: pointer; user-select: none; line-height: 1.4;
  transition: color .15s; letter-spacing: .5px;
  font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
}
.pf-index a + a::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: #eae4d4;
}
.pf-index a:hover { color: #0f5550; }
.pf-index a.on { color: #0f5550; font-weight: 700; }
.pf-index a.on::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #c9a86a, #a8844f);
}
/* 档案长页：所有分区连续铺排，整块区域都是浏览空间 */
.pf-dossier {
  flex: 1; min-height: 0; overflow-y: auto; position: relative;
  padding: 18px 4px 48px 0; margin-right: -4px;
}
.pf-dossier::-webkit-scrollbar { width: 6px; }
.pf-dossier::-webkit-scrollbar-thumb { background: #d5cdb9; border-radius: 3px; }
.pf-sec { margin-bottom: 26px; animation: pfFadeIn .22s ease; }
@keyframes pfFadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
/* 分区题名：小宋体 + 渐隐细线，克制不抢戏 */
.pf-sec-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: #1f2937; letter-spacing: 2.5px;
  font-family: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
  margin: 0 0 12px;
}
.pf-sec-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #e5ddc9, transparent); }

/* 弹窗内详情卡片（职称申报详情等使用，保留白卡样式） */
.detail-card {
  background: #ffffff; border-radius: 12px;
  padding: 16px 20px 18px; margin-bottom: 14px;
  border: 1px solid #e6ecec; box-shadow: 0 1px 4px rgba(20, 45, 45, .05);
}
.detail-card-title,
.detail-card h4 {
  font-size: 14px; font-weight: 600; color: #33474a;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid #f0f4f4;
}

/* 详情 key-value：三列网格，标签上值下（机构页等卡片内使用） */
.detail-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; }
.detail-kv.full { grid-template-columns: 1fr; }
.detail-kv > div { min-width: 0; }
.detail-kv > div .k { display: block; font-size: 13px; color: #90a4a2; margin-bottom: 2px; }
.detail-kv > div .v { display: block; font-size: 14px; color: #2b3a38; word-break: break-word; line-height: 1.45; }
.detail-kv > div .v b { color: var(--hr-primary-dark); }
@media (max-width: 1280px) {
  .detail-kv { grid-template-columns: repeat(2, 1fr); }
}

/* 抽屉内白卡：米白纸面 + 极细暖边，无重阴影 */
.el-drawer__body .detail-card {
  background: #fffdf8; border: 1px solid #ece6d6; border-radius: 8px;
  box-shadow: none;
  padding: 12px 16px 13px; margin: 0 0 10px;
}
.el-drawer__body .detail-card h4 {
  font-size: 12.5px; font-weight: 600; color: #1f2937; letter-spacing: 1px;
  margin-bottom: 9px; padding: 0 0 8px;
  border-bottom: 1px solid #f0ead9; line-height: 1.4;
}
.el-drawer__body .detail-card h4::before,
.el-drawer__body .arc-title::before { content: none; }

/* 抽屉内字段：行式两列，hairline 分行 */
.el-drawer__body .detail-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.el-drawer__body .detail-kv.full { grid-template-columns: 1fr; }
.el-drawer__body .detail-kv > div {
  display: flex; align-items: baseline; min-width: 0;
  padding: 6px 8px; margin: 0 -8px; border-bottom: 1px solid #f5f0e2;
  border-radius: 4px; transition: background .15s;
}
.el-drawer__body .detail-kv > div:hover { background: #faf6ea; }
.el-drawer__body .detail-kv > div .k { display: inline; width: 108px; flex-shrink: 0; margin-bottom: 0; font-size: 11.5px; color: #a39b86; }
.el-drawer__body .detail-kv > div .v { flex: 1; font-size: 12.5px; color: #3a352d; word-break: break-word; line-height: 1.5; }
@media (max-width: 1280px) {
  .el-drawer__body .detail-kv { grid-template-columns: 1fr; }
}

/* 记录块白卡：暖纸面 + 细边，安静 */
.el-drawer__body .arc-card {
  --c: #1b2a45; --c-soft: #f5f1e6;
  background: #fffdf8; border: 1px solid #ece6d6;
  border-radius: 8px; box-shadow: none;
  margin: 0 0 10px; overflow: hidden; padding: 0;
}
/* 历史多彩卡板统一收拢为单色（保留类名避免结构破坏） */
.el-drawer__body .arc-card[class*='c-'] { --c: #1b2a45; --c-soft: #f5f1e6; }
/* 十八卡色板 */
.c-edu    { --c: #2f6fed; --c-soft: #edf2fe; }
.c-work   { --c: #e08a0b; --c-soft: #fcf3e3; }
.c-train  { --c: #8250df; --c-soft: #f3eefd; }
.c-gui    { --c: #18a058; --c-soft: #e8f6ee; }
.c-cert   { --c: #d64550; --c-soft: #fcedee; }
.c-title  { --c: #5b5bd6; --c-soft: #efeffc; }
.c-skill  { --c: #0c8fce; --c-soft: #e6f4fb; }
.c-hrss   { --c: #1f6fb2; --c-soft: #e8f1f9; }
.c-chg    { --c: #5c6b7a; --c-soft: #eef2f5; }
.c-multi  { --c: #0f9d8f; --c-soft: #e5f5f3; }
.c-proj   { --c: #c2620a; --c-soft: #faf0e2; }
.c-paper  { --c: #2563eb; --c-soft: #e9f0fd; }
.c-patent { --c: #0e9060; --c-soft: #e6f5ee; }
.c-soc    { --c: #8b46c9; --c-soft: #f5edfb; }
.c-pol    { --c: #cf3f3f; --c-soft: #fbecec; }
.c-fam    { --c: #d6568c; --c-soft: #fbeff5; }
.c-other  { --c: #7c7462; --c-soft: #f4f2ed; }
.c-move   { --c: #e2622b; --c-soft: #fdf0e8; }
.c-rural  { --c: #16a34a; --c-soft: #e9f8ee; }
.c-second { --c: #7c3aed; --c-soft: #f1ebfd; }
.c-annual { --c: #d97706; --c-soft: #fdf3e3; }
.c-ethics { --c: #0e9f6e; --c-soft: #e6f7f0; }
.c-disc  { --c: #dc2626; --c-soft: #fdeaea; }
.c-award  { --c: #b98a09; --c-soft: #faf4e0; }
.c-trace  { --c: #0d9488; --c-soft: #e5f4f2; }
/* 卡头：透明底 + hairline，小字题名 */
.el-drawer__body .arc-head {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px 8px; background: transparent;
  border-bottom: 1px solid #f0ead9;
}
/* 块悬浮：极轻反馈，只动边色 */
.el-drawer__body .arc-card, .el-drawer__body .detail-card { transition: border-color .2s ease; }
.el-drawer__body .arc-card:hover, .el-drawer__body .detail-card:hover { border-color: #e0d6bd; }
/* 块首小章：墨绿底米金字，呼应封面 */
.arc-ico {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  background: #15574f; color: #e8d9b0;
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: 10px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.el-drawer__body .arc-title { font-size: 12.5px; font-weight: 600; color: #1f2937; letter-spacing: 1px; }
.arc-count-text {
  font-size: 11px; font-weight: 400; color: #b3aa94;
  background: none; border: none; padding: 0;
}
.arc-add { margin-left: auto; font-size: 11.5px; color: #8a8170; }
.arc-add:hover { color: #0f5550; }
/* 卡片内容区内边距 */
.el-drawer__body .arc-card > .el-table,
.el-drawer__body .arc-card > .emp-empty,
.el-drawer__body .arc-card > .arc-other { margin: 2px 14px 10px; }

/* 抽屉内表格：无边框、hairline 行线、小灰表头 —— 克制高级 */
.el-drawer .el-table {
  border-radius: 0; border: none; margin-bottom: 0;
  --el-table-border-color: transparent;
  --el-table-header-bg-color: transparent;
  --el-table-row-hover-bg-color: #faf6ea;
  --el-table-tr-bg-color: transparent;
  --el-table-bg-color: transparent;
  --el-table-text-color: #3a352d;
  --el-table-header-text-color: #a39b86;
  font-size: 12.5px;
  background: transparent;
}
.el-drawer .el-table::before,
.el-drawer .el-table__inner-wrapper::before { display: none; }
.el-drawer .el-table th.el-table__cell {
  color: #a39b86; font-weight: 500; font-size: 11px; letter-spacing: .8px;
  padding: 6px 0; border-bottom: 1px solid #ece6d6; background: transparent;
}
.el-drawer .el-table td.el-table__cell { padding: 8px 0; color: #3a352d; border-bottom: 1px solid #f3eee1; }
.el-drawer .el-table__body tr:last-child td.el-table__cell { border-bottom: none; }
.el-drawer .el-table .cell { padding: 0 9px; line-height: 1.5; }
.el-drawer .el-table .el-button { font-size: 12px; }
.el-drawer .el-table .el-tag { font-size: 11px; height: 19px; padding: 0 6px; border-radius: 4px; }
/* 空状态：一行浅灰小字，无框 */
.el-drawer .emp-empty {
  padding: 10px 4px; text-align: center; font-size: 11.5px; color: #b3aa94;
  background: transparent; border: none; border-radius: 0;
}

/* 档案变更留痕：与记录块同语言 */
.arc-collapse { border: none; margin-bottom: 0; }
.arc-collapse .el-collapse-item {
  background: #fffdf8; border: 1px solid #ece6d6;
  border-radius: 8px; box-shadow: none;
  padding: 0; margin-bottom: 10px; overflow: hidden;
}
.arc-collapse .el-collapse-item__header {
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  border-bottom: 1px solid transparent; height: 38px; line-height: 38px;
  font-size: 12.5px; color: #1f2937; background: transparent; font-weight: 600; letter-spacing: 1px;
}
.arc-collapse .el-collapse-item__header.is-active { border-bottom-color: #f0ead9; }
.arc-collapse .el-collapse-item__arrow { margin: 0 4px 0 0; color: #b3aa94; }
.arc-collapse .el-collapse-item__wrap { border-bottom: none; background: transparent; }
.arc-collapse .el-collapse-item__content { padding: 6px 0 4px; }
.arc-collapse .el-collapse-item__content > .el-table { margin: 0 14px 8px; }
.arc-collapse .arc-count-tag { margin-left: 0; border-radius: 8px; font-size: 11px; }

/* ---- 确认框 ElMessageBox ---- */
.el-message-box {
  border-radius: 16px; background: #ffffff; padding: 0;
  box-shadow: 0 24px 80px rgba(10, 30, 30, .4);
  animation: hr-dialog-in .25s cubic-bezier(.16, 1, .3, 1);
}
.el-message-box__header { padding: 20px 24px 12px; }
.el-message-box__title { font-size: 16px; font-weight: 600; color: #111827; }
.el-message-box__content { font-size: 14px; padding: 8px 24px 18px; color: #4b5563; }
.el-message-box__btns { padding: 10px 24px 20px; }
.el-message-box__btns .el-button { min-width: 88px; height: 38px; border-radius: 10px; }
.el-message-box__btns .el-button--primary { background: var(--hr-primary); border-color: var(--hr-primary); }
.el-message-box__btns .el-button--primary:hover { background: var(--hr-primary-dark); border-color: var(--hr-primary-dark); }

/* 员工编辑弹窗：tab 分组表单（在全局皮肤基础上的局部微调） */
.emp-form-dialog .el-dialog__body { padding: 12px 24px 4px; }
.emp-form-tabs .el-tabs__header { margin-bottom: 14px; }
.emp-form-tabs .el-tabs__nav-wrap::after { height: 1px; background: #f0f2f5; }
.emp-form-tabs .el-tabs__item { font-size: 15px; height: 40px; line-height: 40px; padding: 0 18px; font-weight: 500; color: #6b7280; }
.emp-form-tabs .el-tabs__item.is-active { font-weight: 600; color: var(--hr-primary-dark); }
.emp-form-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: var(--hr-primary); }

/* 员工编辑弹窗：证件照卡片（1 寸比例 5:7） */
.emp-photo-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 2px; }
.emp-photo-uploader { position: relative; width: 128px; height: 179px; }
.emp-photo-uploader.el-upload {
  display: block; border-radius: 8px; overflow: hidden;
  border: 1px dashed #b8cecd; background: #f6fafa;
  transition: border-color .2s, box-shadow .2s;
}
.emp-photo-uploader.el-upload:hover {
  border-color: var(--hr-primary);
  box-shadow: 0 2px 10px rgba(30, 120, 110, .15);
}
.emp-photo-img { width: 128px; height: 179px; object-fit: cover; display: block; }
.emp-photo-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: #8fa3a2; font-size: 14px; gap: 8px;
}
.emp-photo-mask {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32px;
  background: rgba(22, 44, 44, .58); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.emp-photo-uploader:hover .emp-photo-mask { opacity: 1; }
.emp-photo-tip { color: #9db0af; font-size: 14px; }

/* 所有表格：表头强制不换行（列宽不足时横向滚动，避免表头文字折行/截断） */
.el-table th .cell { white-space: nowrap; }
/* 所有表格：内容单元格单行显示，超长省略号（配合 show-overflow-tooltip 悬停看全文） */
.el-table td.el-table__cell .cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 权限管理：授权配置区块 */
.perm-block {
  background: #f6fafa; border: 1px solid #e8f1f0; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 12px;
}
.perm-block-title {
  font-size: 15px; font-weight: 600; color: var(--hr-primary-dark);
  margin-bottom: 10px; border-left: 3px solid var(--hr-primary); padding-left: 8px;
}

/* 状态标签 */
.el-menu-item.is-active { background: var(--hr-primary) !important; }

/* 员工编辑弹窗：内嵌岗位等级登记区块（院内 / 人社 两块并列） */
.emp-form-sub { border-top: 1px dashed #dce8e7; margin-top: 4px; padding-top: 10px; }
.emp-form-sub-title {
  font-size: 14px; font-weight: 600; color: var(--hr-primary-dark);
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}

/* 批次 D：排班月视图矩阵 */
.sch-table { border-collapse: collapse; font-size: 12px; min-width: 100%; }
.sch-table th, .sch-table td { border: 1px solid #e4e7ed; padding: 4px 2px; text-align: center; min-width: 46px; white-space: nowrap; }
.sch-table th { background: #f5f7fa; font-weight: 500; color: #606266; }
.sch-cell { cursor: pointer; }
.sch-cell:hover { outline: 2px solid var(--hr-primary, #3a8ee6); outline-offset: -2px; }

/* ================= 批次 E：统计报表 / 人事档案 / 人才梯队 / 离职退休 新增样式 ================= */

/* 统计报表：左侧报表目录项 */
.rpt-item {
  padding: 10px 12px; border-radius: 8px; cursor: pointer; margin-bottom: 6px;
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.rpt-item:hover { background: #f2f8f8; }
.rpt-item.active { background: var(--hr-primary-light); border-color: var(--hr-primary); }
.rpt-item-name { font-size: 14px; font-weight: 600; color: #111827; }
.rpt-item.active .rpt-item-name { color: var(--hr-primary-dark); }
.rpt-item-desc { font-size: 13px; color: #8a9a99; margin-top: 3px; line-height: 1.5; }

/* 人才梯队：九宫格分布 */
.nine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nine-cell {
  background: #f6fafa; border: 1px solid #e2efee; border-radius: 10px;
  padding: 14px 10px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.nine-cell:hover { border-color: var(--hr-primary); box-shadow: 0 2px 10px rgba(64, 181, 181, .15); }
.nine-cell-name { font-size: 14px; font-weight: 500; color: #4b5563; }
.nine-cell-num { font-size: 22px; font-weight: 700; color: var(--hr-primary-dark); margin-top: 4px; }

/* 人事档案：阅卷器水印横幅 */
.arc-wm-banner {
  background: #fff7e6; border: 1px solid #ffe1a8; color: #b45309;
  padding: 8px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px;
}

/* 人事档案：材料预览水印覆盖层（不影响交互） */
.arc-wm-overlay {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 34px; font-weight: 700; color: rgba(0, 0, 0, .08);
  white-space: nowrap; pointer-events: none; z-index: 10;
}

/* 离职退休：所选员工当前状态提示条 */
.life-emp-tip {
  background: var(--hr-primary-light); color: var(--hr-primary-dark);
  border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-top: 6px;
}

/* 顶栏：手机版（ESS H5）入口 */
.ess-entry {
  height: 32px; padding: 0 14px; border-radius: 999px;
  color: #e6f4f3; font-size: 13px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  transition: background .2s, color .2s;
}
.ess-entry:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* 批次 J：档案抽屉其他信息卡片 */
.arc-other { display: flex; flex-direction: column; gap: 8px; }
.arc-other-row { display: flex; font-size: 14px; line-height: 1.6; }
.arc-other-label { flex: 0 0 84px; color: #8a93a3; }

/* ================= 调动办理（左右分栏重构） ================= */
.tf-layout { display: flex; gap: 14px; align-items: flex-start; }
.tf-form-col { width: 430px; flex-shrink: 0; }
.tf-records-col { flex: 1; min-width: 0; }
@media (max-width: 1280px) {
  .tf-layout { flex-direction: column; }
  .tf-form-col { width: 100%; }
  .tf-records-col { width: 100%; }
}
/* 选中员工信息卡 */
.tf-emp { display: flex; align-items: center; gap: 10px; background: #f7faf9; border: 1px solid #e9f0ef; border-radius: 10px; padding: 10px 12px; margin: -4px 0 16px; }
.tf-emp-avatar { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--hr-primary), var(--hr-primary-dark)); box-shadow: 0 2px 6px rgba(30,60,60,.18); }
.tf-emp-info { flex: 1; min-width: 0; }
.tf-emp-name { font-size: 15px; font-weight: 600; color: #26302f; }
.tf-emp-no { font-size: 13px; font-weight: 400; color: #9aa8a7; margin-left: 8px; }
.tf-emp-sub { font-size: 13px; color: #7a8a89; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 调动方向实时预览 */
.tf-dir { display: flex; align-items: stretch; gap: 8px; margin: -4px 0 16px; }
.tf-dir-node { flex: 1; min-width: 0; background: #f7faf9; border: 1px solid #e9f0ef; border-radius: 10px; padding: 8px 12px; }
.tf-dir-node.to { background: var(--hr-primary-light); border-color: rgba(64,181,181,.35); }
.tf-dir-node .lab { display: block; font-size: 13px; color: #9aa8a7; margin-bottom: 2px; }
.tf-dir-node .val { display: block; font-size: 14px; font-weight: 600; color: #33413f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-dir-node.to .val { color: var(--hr-primary-dark); }
.tf-dir-arrow { align-self: center; font-size: 18px; font-weight: 700; color: var(--hr-primary); flex-shrink: 0; }
/* 提交区：分隔线 + 右对齐 */
.tf-submit { display: flex; justify-content: flex-end; border-top: 1px dashed #e5eeee; padding-top: 14px; margin-top: 2px; }
/* 记录表辅助文本与方向列 */
.tf-cell-sub { font-size: 13px; color: #9aa8a7; margin-top: 1px; }
.tf-cell-from { color: #7a8a89; }
.tf-cell-arrow { color: var(--hr-primary); font-weight: 700; margin: 0 5px; }
.tf-cell-to { color: var(--hr-primary-dark); font-weight: 600; }
/* 兼任单：旧职保留、新职以「＋兼」琥珀色标注，与替换单的「→」语义区分 */
.tf-arrow-conc { color: #e6a23c; font-size: 12px; }
.tf-cell-conc { color: #b88230; }
.tf-cur-conc { color: #b88230; }
/* 审批规则说明（弱化处理，不与主内容争视觉） */
.tf-rules { margin-top: 12px; padding: 10px 12px; background: #f7faf9; border-radius: 8px; font-size: 13px; line-height: 1.7; color: #7a8a89; }
/* ============ 按条件筛选面板（骨骼级重构 v=37） ============ */
.cfp { border: 1px solid #dcdfe6; border-radius: 10px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 14px; overflow: hidden; }
.cfp-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: linear-gradient(90deg, #ecf5ff, #f5f9ff); border-bottom: 1px solid #e4ecf7; }
.cfp-head .title { font-size: 15px; font-weight: 700; color: #303133; }
.cfp-badge { background: #409eff; color: #fff; font-size: 12px; border-radius: 10px; padding: 1px 9px; font-weight: 600; }
.cfp-badge.zero { background: #c0c4cc; }
.cfp-head .spacer { flex: 1; }
.cfp-head .hint { font-size: 12px; color: #909399; }
.cfp-body { padding: 14px 16px 4px; }
.cfp-section { margin-bottom: 14px; }
.cfp-section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #303133; margin-bottom: 10px; }
.cfp-no { display: inline-flex; width: 18px; height: 18px; border-radius: 4px; background: #409eff; color: #fff; font-size: 12px; font-weight: 700; align-items: center; justify-content: center; }
.cfp-section-sub { font-size: 12px; color: #909399; font-weight: 400; }
.cfp-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #fafbfc; border: 1px solid #ebeef5; border-radius: 8px; margin-bottom: 6px; }
.cfp-row:hover { border-color: #c6e2ff; background: #f5f9ff; }
.cfp-row-if { font-size: 13px; color: #409eff; font-weight: 600; flex-shrink: 0; width: 28px; text-align: center; }
.cfp-row-del { flex-shrink: 0; width: 40px; text-align: center; }
.cfp-add { width: 100%; border-style: dashed; margin-bottom: 4px; }
.cfp-empty { padding: 14px; text-align: center; color: #a8abb2; font-size: 13px; background: #fafbfc; border: 1px dashed #dcdfe6; border-radius: 8px; margin-bottom: 8px; }
.cfp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cfp-cell { background: #fafbfc; border: 1px solid #ebeef5; border-radius: 8px; padding: 10px 12px; }
.cfp-cell-title { font-size: 13px; font-weight: 700; color: #409eff; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.cfp-cell-title::before { content: ''; width: 3px; height: 12px; background: #409eff; border-radius: 2px; display: inline-block; }
.cfp-cell-items { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.cfp-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fafbfc; border-top: 1px solid #ebeef5; }
.cfp-count { font-size: 14px; color: #409eff; font-weight: 700; }
.cfp-count b { font-size: 16px; }
.cfp-foot .hint { flex: 1; text-align: right; font-size: 12px; color: #909399; }
/* 筛选面板 v=38：复选框+关键词成对胶囊；统一标准尺寸字号（跟随全局 15px 基准） */
.cfp-pair { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; padding: 2px 6px 2px 10px; }
.cfp-pair .el-checkbox { margin-right: 0; }
.cfp-pair .el-input .el-input__wrapper { box-shadow: none; background: transparent; padding-left: 2px; padding-right: 2px; }
.cfp .el-select, .cfp .el-input, .cfp .el-checkbox__label { font-size: 14px; }
.cfp-cell-items .el-select .el-input__wrapper, .cfp-cell-items .el-input__wrapper, .cfp-row .el-input__wrapper { border-radius: 6px; }

/* ================= 离职退休 v2：工作台重新设计（场景导航 + 分栏办理 + 流程步骤 + 时间线） ================= */
.lf2 { display: flex; flex-direction: column; gap: 14px; }

/* 顶部横幅 */
.lf2-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #2E9E9E 0%, #40B5B5 55%, #5ecaca 100%); border-radius: 14px; padding: 20px 24px; color: #fff; box-shadow: 0 4px 14px rgba(46, 158, 158, .22); }
.lf2-banner-ico { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.lf2-banner-txt { flex: 1; min-width: 0; }
.lf2-banner-title { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.lf2-banner-desc { font-size: 13px; opacity: .85; margin-top: 4px; }
.lf2-banner-stats { display: flex; gap: 12px; flex-shrink: 0; }
.lf2-banner-stat { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; padding: 8px 18px; text-align: center; min-width: 88px; }
.lf2-banner-stat b { display: block; font-size: 22px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lf2-banner-stat span { font-size: 12px; opacity: .88; }

/* 场景导航卡片 */
.lf2-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lf2-nav-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 14px 14px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; }
.lf2-nav-card:hover { border-color: var(--hr-primary); box-shadow: 0 4px 12px rgba(46, 158, 158, .12); transform: translateY(-2px); }
.lf2-nav-card.active { border-color: var(--hr-primary-dark); box-shadow: 0 4px 14px rgba(46, 158, 158, .18); background: linear-gradient(180deg, var(--hr-primary-light), #fff 70%); }
.lf2-nav-card.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-dark)); }
.lf2-nav-ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--kc); background: color-mix(in srgb, var(--kc) 11%, #fff); }
.lf2-nav-body { flex: 1; min-width: 0; }
.lf2-nav-name { font-size: 15px; font-weight: 600; color: #26302f; display: flex; align-items: center; gap: 6px; }
.lf2-nav-desc { font-size: 12px; color: #8a9a99; margin-top: 3px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf2-nav-badge { background: #e6a23c; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 6px; border-radius: 8px; }
.lf2-nav-arrow { color: #c2cdcc; flex-shrink: 0; }
.lf2-nav-card.active .lf2-nav-arrow { color: var(--hr-primary-dark); }

/* 分栏：左员工右表单 */
.lf2-split { display: grid; grid-template-columns: 318px 1fr; gap: 14px; align-items: start; }
.lf2-sec-hd { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #26302f; margin-bottom: 10px; }
.lf2-sec-hd i { width: 4px; height: 15px; border-radius: 2px; }
.lf2-aside { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 18px 18px 20px; display: flex; flex-direction: column; }
.lf2-aside .lf2-sec-hd:nth-of-type(3) { margin-top: 22px; }

/* 已选员工大卡 */
.lf2-picked { margin-top: 14px; background: linear-gradient(150deg, var(--hr-primary-light), #fbfdfd 78%); border: 1px solid #dcefec; border-radius: 12px; padding: 16px; }
.lf2-picked-avatar { width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--hr-primary), var(--hr-primary-dark)); box-shadow: 0 3px 8px rgba(30, 60, 60, .2); }
.lf2-picked-name { font-size: 18px; font-weight: 700; color: #1f2d2d; margin-top: 12px; }
.lf2-picked-name span { font-size: 13px; font-weight: 400; color: #9aa8a7; margin-left: 8px; }
.lf2-picked-row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #dcefec; }
.lf2-picked-row span { color: #8a9a99; }
.lf2-picked-row b { color: #37413f; font-weight: 600; }
.lf2-picked-status { color: var(--hr-primary-dark) !important; }
.lf2-empty-emp { margin-top: 14px; border: 1px dashed #dbe4e3; border-radius: 12px; padding: 26px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #aebbb9; font-size: 13px; }

/* 办理影响清单 */
.lf2-impact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lf2-impact li { position: relative; font-size: 13px; color: #5a6a69; line-height: 1.55; padding-left: 16px; }
.lf2-impact li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--hr-primary); }

/* 右侧表单卡 */
.lf2-main { min-width: 0; }
.lf2-form-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 22px 24px; }
.lf2-form-hd { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #f0f4f4; }
.lf2-form-ico { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(30, 60, 60, .18); }
.lf2-form-title { font-size: 17px; font-weight: 700; color: #1f2d2d; }
.lf2-form-desc { font-size: 13px; color: #8a9a99; margin-top: 2px; }
.lf2-group-label { font-size: 13px; font-weight: 600; color: #4b5563; margin: 4px 0 12px; padding-left: 9px; border-left: 3px solid var(--hr-primary); }
.lf2-form-foot { margin-top: 8px; padding-top: 16px; border-top: 1px dashed #e3ebea; display: flex; align-items: center; gap: 14px; }
.lf2-form-foot .el-button { min-width: 168px; font-weight: 600; }
.lf2-form-warn { font-size: 12.5px; color: #e6898b; }

/* 交接结算：流程步骤条 */
.lf2-steps { display: flex; align-items: stretch; gap: 10px; }
.lf2-step { flex: 1; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 15px 18px; position: relative; overflow: hidden; }
.lf2-step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sc); }
.lf2-step-no { font-size: 26px; font-weight: 700; color: var(--sc); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lf2-step-name { font-size: 14px; font-weight: 600; color: #26302f; margin-top: 6px; }
.lf2-step-desc { font-size: 12px; color: #96a5a4; margin-top: 2px; }
.lf2-step-arrow { align-self: center; color: #c2cdcc; flex-shrink: 0; }

/* 交接台账表格 */
.lf2-table-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 14px; }
.lf2-table-card .el-table { --el-table-border-color: #f0f4f4; }
.lf2-cell-emp { display: flex; align-items: center; gap: 9px; }
.lf2-cell-avatar { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--hr-primary), var(--hr-primary-dark)); }
.lf2-cell-name { font-weight: 600; color: #26302f; }
.lf2-cell-name i { font-style: normal; font-weight: 400; font-size: 12px; color: #9aa8a7; margin-left: 6px; }
.lf2-prog { display: flex; align-items: center; gap: 8px; }
.lf2-prog-bar { flex: 1; height: 6px; background: #eef1f4; border-radius: 3px; overflow: hidden; min-width: 40px; }
.lf2-prog-bar i { display: block; height: 100%; border-radius: 3px; transition: width .3s; }
.lf2-prog-num { font-size: 12.5px; color: #8a9a99; min-width: 34px; font-variant-numeric: tabular-nums; }
.lf2-prog-num.done { color: #67c23a; font-weight: 600; }

/* 办理记录：检索条 */
.lf2-rec-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.lf2-rec-emp { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #37413f; font-weight: 500; }
.lf2-rec-emp .lf2-cell-avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }

/* 办理记录：时间线 */
.lf2-tl-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 20px 22px; }
.lf2-tl { position: relative; padding-left: 26px; }
.lf2-tl::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #e6eeec; }
.lf2-tl-item { position: relative; padding: 0 0 20px; }
.lf2-tl-item:last-child { padding-bottom: 0; }
.lf2-tl-dot { position: absolute; left: -25px; top: 3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .04); }
.lf2-tl-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lf2-tl-date { font-size: 13px; color: #5a6a69; font-weight: 500; }
.lf2-tl-no { font-size: 12px; color: #a5b0af; background: #f4f7f7; padding: 2px 8px; border-radius: 6px; }
.lf2-tl-desc { font-size: 13px; color: #7a8a89; margin-top: 5px; line-height: 1.5; }
.lf2-tl-empty { padding: 42px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #aebbb9; font-size: 13px; }

@media (max-width: 1280px) {
  .lf2-nav { grid-template-columns: repeat(3, 1fr); }
  .lf2-steps { flex-wrap: wrap; }
  .lf2-step { flex: 1 1 42%; }
  .lf2-step-arrow { display: none; }
}
@media (max-width: 960px) {
  .lf2-split { grid-template-columns: 1fr; }
  .lf2-banner { flex-wrap: wrap; }
  .lf2-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== 人事档案 arc2 ==================== */
.arc2 { display: flex; flex-direction: column; gap: 14px; }

.arc2-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #2E9E9E 0%, #40B5B5 55%, #5ecaca 100%); border-radius: 14px; padding: 20px 24px; color: #fff; box-shadow: 0 4px 14px rgba(46, 158, 158, .22); }
.arc2-banner-ico { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.arc2-banner-txt { flex: 1; min-width: 0; }
.arc2-banner-title { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.arc2-banner-desc { font-size: 13px; opacity: .85; margin-top: 4px; }
.arc2-banner-stats { display: flex; gap: 12px; flex-shrink: 0; }
.arc2-banner-stat { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; padding: 8px 18px; text-align: center; min-width: 88px; }
.arc2-banner-stat b { display: block; font-size: 22px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.arc2-banner-stat span { font-size: 12px; opacity: .88; }

.arc2-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.arc2-nav-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 14px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; }
.arc2-nav-card:hover { border-color: var(--hr-primary); box-shadow: 0 4px 12px rgba(46, 158, 158, .12); transform: translateY(-2px); }
.arc2-nav-card.active { border-color: var(--hr-primary-dark); box-shadow: 0 4px 14px rgba(46, 158, 158, .18); background: linear-gradient(180deg, var(--hr-primary-light), #fff 70%); }
.arc2-nav-card.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-dark)); }
.arc2-nav-ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--kc); background: color-mix(in srgb, var(--kc) 11%, #fff); }
.arc2-nav-body { flex: 1; min-width: 0; }
.arc2-nav-name { font-size: 15px; font-weight: 600; color: #2c3a39; display: flex; align-items: center; gap: 6px; }
.arc2-nav-desc { font-size: 12px; color: #8a9a99; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc2-nav-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #f56c6c; color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.arc2-nav-arrow { color: #c3cfcd; flex-shrink: 0; transition: transform .22s, color .22s; }
.arc2-nav-card:hover .arc2-nav-arrow { transform: translateX(3px); color: var(--hr-primary); }

.arc2-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.arc2-bar-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #2c3a39; }
.arc2-bar-title i { width: 4px; height: 15px; border-radius: 2px; flex-shrink: 0; }
.arc2-bar-sub { font-size: 12px; color: #95a3a2; }
.arc2-bar-cov { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7a8a89; }
.arc2-bar-cov-bar { width: 110px; height: 8px; border-radius: 4px; background: #edf3f2; overflow: hidden; }
.arc2-bar-cov-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-dark)); transition: width .3s; }
.arc2-bar-cov b { color: var(--hr-primary-dark); font-size: 13px; }

.arc2-empty-card { background: #fff; border: 1px dashed #dbe4e3; border-radius: 14px; padding: 54px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #aebbb9; }
.arc2-empty-t { font-size: 15px; font-weight: 600; color: #7a8a89; margin-top: 6px; }
.arc2-empty-d { font-size: 13px; }

.arc2-table-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 14px; }
.arc2-table-card .el-table { --el-table-border-color: #f0f4f4; }

.arc2-mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.arc2-mini-stat { background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 14px 18px; display: flex; align-items: baseline; gap: 10px; position: relative; overflow: hidden; }
.arc2-mini-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kc); }
.arc2-mini-stat b { font-size: 24px; color: var(--kc); font-variant-numeric: tabular-nums; line-height: 1.1; }
.arc2-mini-stat span { font-size: 13px; color: #7a8a89; }

.arc2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.arc2-stat { background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden; }
.arc2-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kc); }
.arc2-stat-no { font-size: 24px; font-weight: 700; color: var(--kc); font-variant-numeric: tabular-nums; line-height: 1.2; }
.arc2-stat-no span { font-size: 14px; color: #a5b0af; font-weight: 500; }
.arc2-stat-name { font-size: 12.5px; color: #7a8a89; margin-top: 6px; }

.arc2-cat { display: flex; align-items: center; gap: 10px; }
.arc2-cat-bar { flex: 1; height: 8px; border-radius: 4px; background: #edf3f2; overflow: hidden; }
.arc2-cat-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-dark)); }
.arc2-cat b { color: #2c3a39; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }

@media (max-width: 1280px) {
  .arc2-nav { grid-template-columns: repeat(3, 1fr); }
  .arc2-stats { grid-template-columns: repeat(2, 1fr); }
  .arc2-mini-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .arc2-banner { flex-wrap: wrap; }
  .arc2-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== 人员档案 · 花名册页美化 ==================== */
/* 工具栏：淡青底 + 左侧主题色竖线，控件纵向居中 */
.roster-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #f3faf9 0%, #fcfefd 100%);
  border: 1px solid #e0efed; border-left: 3px solid var(--hr-primary);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 14px;
}
/* 表格：圆角包裹 + 青绿表头 + 斑马纹 + 淡边框 */
.roster-table { border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(11,61,61,.07); }
.roster-table.el-table--border { border-color: #d8eae8; }
.roster-table.el-table--border::after,
.roster-table.el-table--border .el-table__inner-wrapper::after { background-color: #d8eae8; }
.roster-table th.el-table__cell {
  background: #e9f6f5 !important; color: #0d5552 !important;
  font-weight: 700; font-size: 13px; letter-spacing: .3px;
}
.roster-table td.el-table__cell { color: #37474f; }
.roster-table td.el-table__cell, .roster-table th.el-table__cell { border-right-color: #e6f1f0 !important; }
.roster-table .el-table__body tr.el-table__row--striped td.el-table__cell { background: #f7fcfb !important; }
.roster-table .el-table__body tr:hover > td.el-table__cell { background: #e6f4f3 !important; }
/* 分页右对齐 */
.roster-pager { margin-top: 14px; display: flex; justify-content: flex-end; }

/* ===== 核定页通用统计卡片（身份核定/编制核定共用） ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-card { position: relative; background: #fff; border: 1px solid #ebeef5; border-radius: 12px; padding: 18px 20px 18px 26px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.stat-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #40b5b5; }
.stat-card:nth-child(2)::before { background: #67c23a; }
.stat-card:nth-child(3)::before { background: #e6a23c; }
.stat-card:nth-child(4)::before { background: #f56c6c; }
.stat-card:hover { box-shadow: 0 4px 14px rgba(64, 181, 181, .18); transform: translateY(-2px); }
.stat-card .num { font-size: 34px; font-weight: 700; color: #303133; line-height: 1.2; }
.stat-card:nth-child(4) .num { color: #f56c6c; }
.stat-card .label { font-size: 13px; color: #909399; margin-top: 6px; }

/* ===== 核定页（岗位核定/编制核定矩阵通用） ===== */
.iq-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: linear-gradient(90deg, #e9f6f5, #f7fcfc); border: 1px solid #e0f0ee; border-left: 3px solid #40b5b5; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.iq-matrix { border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0, 0, 0, .04); }
.iq-matrix .el-table__header th.el-table__cell { background: #e9f6f5 !important; color: #0b3d3d; font-weight: 700; font-size: 15px; padding: 13px 0; }
.iq-matrix .el-table__body td.el-table__cell { font-size: 15px; padding: 8px 0; }
.iq-col-h { display: inline-flex; align-items: center; gap: 8px; }
.iq-col-h .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.iq-matrix .el-table__body tr.iq-row-all > td.el-table__cell { background: #f0fbfa !important; }
.iq-matrix .el-table__body tr:hover > td.el-table__cell { background: #e6f4f3 !important; }
.iq-all { color: #40b5b5; font-weight: 700; font-size: 16px; }
.iq-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; border-radius: 8px; padding: 8px 6px; min-height: 78px; margin: 3px 5px; transition: background .15s, box-shadow .15s; }
.iq-cell:hover { background: #ecf5ff; box-shadow: inset 0 0 0 1px #b3d8ff; }
.iq-cell b { font-size: 24px; line-height: 1.15; color: #303133; }
.iq-cell .sub { font-size: 13px; color: #909399; line-height: 1.3; }
.iq-cell .badge { font-size: 12px; line-height: 1.4; padding: 2px 10px; border-radius: 10px; margin-top: 2px; font-weight: 600; }
.iq-cell .badge.full { color: #67c23a; background: #f0f9eb; }
.iq-cell .badge.vac { color: #e6a23c; background: #fdf6ec; }
.iq-cell .badge.ovr { color: #f56c6c; background: #fef0f0; }
.iq-cell.over { background: #fef0f0; }
.iq-cell.over:hover { background: #fde2e2; box-shadow: inset 0 0 0 1px #fbc4c4; }
.iq-cell.over b, .iq-cell.over .sub { color: #f56c6c; }
.iq-cell .sub.dsp, .iq-cell.over .sub.dsp { color: #e6a23c; }
.iq-cell .add { color: #c0c4cc; font-size: 14px; border: 1px dashed #dcdfe6; border-radius: 8px; padding: 12px 22px; transition: all .15s; }
.iq-cell:hover .add { color: #409eff; border-color: #a0cfff; background: #f5f9ff; }
.iq-note { background: #f7f9fa; border: 1px dashed #dcdfe6; border-radius: 8px; padding: 10px 14px; color: #909399; font-size: 13px; margin-top: 12px; line-height: 1.8; }

/* ==================== 党员档案 pty（主题青绿 · 只读组织架构清单） ==================== */
.pty { min-height: 200px; }
/* 标题行：页题 + 副说明 + 刷新，一行收拢 */
.pty-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.pty-head .page-title { margin-bottom: 0; }
.pty-sub { font-size: 12.5px; color: #8aa19f; }
.pty-head .el-button { margin-left: auto; }
/* 统计条三列 */
.pty-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pty-stats { grid-template-columns: 1fr; } }
/* 支部名：主题青小旗标 */
.pty-branch { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #1f3d3b; }
.pty-branch .el-icon { color: #2E9E9E; }
/* 展开行：党小组行式清单，虚线分行 */
.pty-groups { padding: 2px 0 4px 44px; display: flex; flex-direction: column; gap: 2px; }
.pty-g { display: flex; align-items: baseline; gap: 14px; font-size: 13px; padding: 5px 8px; border-bottom: 1px dashed #e2efee; }
.pty-g:last-child { border-bottom: none; }
.pty-g-name { color: #2b3a38; font-weight: 500; }
.pty-g-lead { color: #7d9391; font-size: 12.5px; }
.pty-g-lead.none { color: #b6c4c3; }
.pty-groups-none { padding: 2px 0 6px 44px; font-size: 12.5px; color: #b6c4c3; }
.pty-none { color: #b6c4c3; }
/* 底部说明：淡青底，同系统说明条语言 */
.pty-note { margin-top: 12px; background: #f4faf9; border: 1px dashed #d5e8e6; border-radius: 8px; padding: 10px 14px; color: #7d9391; font-size: 13px; line-height: 1.8; }

/* ---------- 学科（跨院区学科标签/胶囊） ---------- */
.orgv2-node .dsc-tag {
  margin-left: 6px;
  padding: 0 6px;
  height: 16px;
  line-height: 16px;
  border-radius: 4px;
  font-size: 11px;
  color: #7c5cd6;
  background: #f3effe;
  border: 1px solid #e4dcfa;
  white-space: nowrap;
  flex: 0 1 auto; min-width: 0; max-width: 108px;
  overflow: hidden; text-overflow: ellipsis;
}
.orgv2-hdcard .hd-stats .pill.dsc-pill {
  background: #f7f4ff;
  border-color: #e4dcfa;
}
.orgv2-hdcard .hd-stats .pill.dsc-pill b { color: #7c5cd6; }

/* 管理部门（归口）标记：橙色系，区别于学科紫色系 */
.orgv2-node .mgd-tag {
  margin-left: 6px;
  padding: 0 6px;
  height: 16px;
  line-height: 16px;
  border-radius: 4px;
  font-size: 11px;
  color: #c07a1f;
  background: #fdf4e6;
  border: 1px solid #f5e0bd;
  white-space: nowrap;
  flex: 0 1 auto; min-width: 0; max-width: 108px;
  overflow: hidden; text-overflow: ellipsis;
}
.orgv2-hdcard .hd-stats .pill.mgd-pill {
  background: #fdf7ee;
  border-color: #f5e0bd;
}
.orgv2-hdcard .hd-stats .pill.mgd-pill b { color: #c07a1f; }

/* ==================== 行政任免 appt / appt2（办理工作台化 + 记录扁平台账 · 主题青绿） ==================== */
.appt { min-height: 200px; }
/* 页签：图标 + 青绿渐变指示条，与年度考核/执业管理页签同一视觉语言 */
.appt-tabs { margin-top: 2px; }
.appt-tabs .el-tabs__header { margin-bottom: 14px; }
.appt-tabs .el-tabs__nav-wrap::after { height: 1px; background: #eef3f2; }
.appt-tabs .el-tabs__item { height: 46px; line-height: 46px; padding: 0 24px; }
.appt-tabs .el-tabs__item .appt2-lb { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: #8aa19f; letter-spacing: .4px; transition: color .15s; }
.appt-tabs .el-tabs__item .appt2-lb .el-icon { font-size: 16px; }
.appt-tabs .el-tabs__item.is-active .appt2-lb { color: var(--hr-primary-dark); font-weight: 700; }
.appt-tabs .el-tabs__item:hover .appt2-lb { color: var(--hr-primary); }
.appt-tabs .el-tabs__active-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-dark)); }

/* 顶部横幅：标题 + 口径说明 + 台账汇总胶囊（点胶囊直跳记录页签） */
.appt2-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #2E9E9E 0%, #40B5B5 55%, #5ecaca 100%); border-radius: 14px; padding: 18px 24px; color: #fff; box-shadow: 0 4px 14px rgba(46, 158, 158, .22); }
.appt2-banner-ico { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.appt2-banner-txt { flex: 1; min-width: 0; }
.appt2-banner-title { font-size: 19px; font-weight: 700; letter-spacing: .5px; }
.appt2-banner-desc { font-size: 12.5px; opacity: .88; margin-top: 5px; line-height: 1.55; }
.appt2-banner-stats { display: flex; gap: 10px; flex-shrink: 0; }
.appt2-banner-stat { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; padding: 7px 16px; text-align: center; min-width: 80px; cursor: pointer; transition: background .2s; }
.appt2-banner-stat:hover { background: rgba(255, 255, 255, .28); }
.appt2-banner-stat b { display: block; font-size: 21px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.appt2-banner-stat span { font-size: 11.5px; opacity: .88; }

/* 场景导航：四张卡替代两组裸 radio，当前场景高亮 */
.appt2-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.appt2-nav-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e9f0ef; border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; }
.appt2-nav-card:hover { border-color: var(--kc); box-shadow: 0 4px 12px rgba(46, 158, 158, .14); transform: translateY(-2px); }
.appt2-nav-card.active { border-color: var(--kc); box-shadow: 0 4px 14px rgba(46, 158, 158, .18); background: linear-gradient(180deg, color-mix(in srgb, var(--kc) 9%, #fff), #fff 72%); }
.appt2-nav-card.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--kc); }
.appt2-nav-ico { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--kc); background: color-mix(in srgb, var(--kc) 12%, #fff); }
.appt2-nav-body { flex: 1; min-width: 0; }
.appt2-nav-name { font-size: 15px; font-weight: 600; color: #26302f; }
.appt2-nav-desc { font-size: 12px; color: #8a9a99; margin-top: 3px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.appt2-nav-arrow { color: #c2cdcc; flex-shrink: 0; }
.appt2-nav-card.active .appt2-nav-arrow { color: var(--kc); }

/* 单人办理分栏：左 320px 对象卡 + 右表单卡 */
.appt2-split { display: grid; grid-template-columns: 320px 1fr; gap: 14px; align-items: start; }
.appt2-aside { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 18px; }
.appt2-sec-hd { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #26302f; margin-bottom: 10px; }
.appt2-sec-hd i { width: 4px; height: 15px; border-radius: 2px; }
.appt2-sec-hd em { font-style: normal; color: #e16a6a; }
.appt2-sec-mt { margin-top: 22px; }
.appt2-aside-tip { font-size: 12px; color: #b88230; background: #fdf6ec; border: 1px dashed #f0d9ac; border-radius: 8px; padding: 5px 9px; margin-top: 8px; line-height: 1.5; }
/* 已选员工大卡 */
.appt2-picked { margin-top: 14px; background: linear-gradient(150deg, var(--hr-primary-light), #fbfdfd 78%); border: 1px solid #dcefec; border-radius: 12px; padding: 16px; }
.appt2-picked-avatar { width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--hr-primary), var(--hr-primary-dark)); box-shadow: 0 3px 8px rgba(30, 60, 60, .2); }
.appt2-picked-name { font-size: 18px; font-weight: 700; color: #1f2d2d; margin-top: 12px; }
.appt2-picked-name span { font-size: 13px; font-weight: 400; color: #9aa8a7; margin-left: 8px; }
.appt2-picked-row { display: flex; gap: 10px; font-size: 13px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #dcefec; line-height: 1.5; }
.appt2-picked-row span { color: #8a9a99; flex-shrink: 0; width: 60px; }
.appt2-picked-row b { color: #37413f; font-weight: 600; flex: 1; min-width: 0; text-align: right; word-break: break-all; }
.appt2-tag { font-style: normal; font-size: 11px; font-weight: 500; color: var(--hr-primary-dark); background: rgba(64, 181, 181, .14); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.appt2-empty-emp { margin-top: 14px; border: 1px dashed #dbe4e3; border-radius: 12px; padding: 26px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #aebbb9; font-size: 13px; }
.appt2-empty-tip { font-size: 12px; color: #bcc8c7; }
/* 生效后影响清单：逐条对应后端生效链写库口径 */
.appt2-impact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.appt2-impact li { position: relative; font-size: 12.5px; color: #5a6a69; line-height: 1.55; padding-left: 15px; }
.appt2-impact li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--hr-primary); }
.appt2-impact-box { margin-top: 16px; background: #f7fbfa; border: 1px dashed #cfe6e3; border-radius: 12px; padding: 14px 16px; }
.appt2-impact-hd { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--hr-primary-dark); margin-bottom: 10px; }
.appt2-impact-box .appt2-impact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }

/* 右侧表单卡：图标标题条 + 彩色竖条分组标题 + 底部按钮条 */
.appt2-main { min-width: 0; }
.appt2-batch { min-width: 0; }
.appt2-form-card { background: #fff; border: 1px solid #e9f0ef; border-radius: 14px; padding: 22px 24px; }
.appt2-form-hd { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid #f0f4f4; }
.appt2-form-ico { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(30, 60, 60, .18); }
.appt2-form-hdtxt { flex: 1; min-width: 0; }
.appt2-form-title { font-size: 17px; font-weight: 700; color: #1f2d2d; }
.appt2-form-desc { font-size: 12.5px; color: #8a9a99; margin-top: 3px; line-height: 1.5; }
.appt2-group { display: flex; align-items: center; font-size: 13px; font-weight: 600; color: #4b5563; margin: 18px 0 12px; padding-left: 9px; border-left: 3px solid var(--hr-primary); }
.appt2-group-tag { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--hr-primary-dark); background: var(--hr-primary-light); border-radius: 9px; padding: 1px 9px; }
.appt2-group .cnt { font-size: 12px; font-weight: 500; color: var(--hr-primary-dark); background: var(--hr-primary-light); border-radius: 9px; padding: 1px 9px; margin-left: 8px; }
.appt2-bar-tip { font-size: 12.5px; color: #5a6b69; }
.appt-batch-table { margin-top: 4px; }
.appt-batch-table .cell { padding: 0 6px; }
.appt-batch-bar { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; flex-wrap: wrap; }
/* 记录页签：扁平台账（筛选栏 + 汇总条 + 多级表头宽表 + 分页） */
.appt-ledger-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.appt-ledger-stat { font-size: 12.5px; color: #5a6b69; margin-bottom: 8px; }
.appt-ledger-stat b { color: var(--hr-primary-dark); }
.appt-ledger-tip { margin-left: 10px; color: #8aa19f; }
.appt-ledger-table .cell { padding: 0 6px; }
.appt-ledger-pager { display: flex; justify-content: flex-end; margin-top: 10px; }
.appt-case-no { margin-left: auto; font-size: 12px; font-weight: 500; color: #b88230; background: #fdf6ec; border: 1px solid #f5e0bd; border-radius: 9px; padding: 1px 9px; }
.appt-prog { margin-bottom: 2px; }
.appt-flow-tip { font-size: 12px; color: #6b8785; background: #f3faf9; border: 1px dashed #cfe6e3; border-radius: 8px; padding: 6px 10px; margin: 0 0 14px; line-height: 1.5; }
.appt-steps { margin: 2px 0 16px; }
/* 底部按钮条：左侧风险提示 + 右侧加宽主按钮 */
.appt2-form-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #e3ebea; display: flex; align-items: center; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.appt2-form-foot .el-button { min-width: 148px; font-weight: 600; }
.appt2-form-foot .el-button.is-text, .appt2-form-foot .el-button.is-link { min-width: auto; font-weight: 400; }
.appt2-form-warn { margin-right: auto; font-size: 12.5px; color: #e6898b; line-height: 1.5; }
.appt-upload { display: inline-block; }
.appt-file { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5a6b69; margin-top: 5px; }
.appt-file .el-icon { color: #2E9E9E; }
.appt-file.done a { color: var(--hr-primary-dark); cursor: pointer; text-decoration: none; }
.appt-file.done a:hover { text-decoration: underline; }
.appt-att-link { display: block; color: var(--hr-primary-dark); cursor: pointer; font-size: 12px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appt-att-link:hover { text-decoration: underline; }
.appt-detail { display: flex; flex-direction: column; gap: 2px; }
.appt-d-row { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #eef3f2; font-size: 13.5px; }
.appt-d-row .k { width: 84px; flex-shrink: 0; color: #8aa19f; }
.appt-d-row .v { color: #2c3a39; font-weight: 500; }
.appt-d-files { margin-top: 10px; }
.appt-d-ftitle { font-size: 12.5px; color: #8aa19f; margin: 8px 0 2px; }

@media (max-width: 1360px) {
  .appt2-nav { grid-template-columns: repeat(2, 1fr); }
  .appt2-impact-box .appt2-impact { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .appt2-split { grid-template-columns: 1fr; }
  .appt2-banner { flex-wrap: wrap; }
  .appt2-banner-stats { width: 100%; justify-content: space-between; }
  .appt2-banner-stat { flex: 1; min-width: 0; padding: 7px 8px; }
}
@media (max-width: 760px) {
  .appt2-nav { grid-template-columns: 1fr; }
  .appt2-form-card { padding: 16px 14px; }
  .appt2-form-foot .el-button { min-width: 0; flex: 1; }
}


