/* ==========================================
   人事数据中心 — 人事中心板块专用样式
   仅作用于人事中心页面，不影响其他模块
   ========================================== */

/* ---------- 页面容器 ---------- */
.hr-hub { padding: 8px 0 0; }
.hr-page { padding: 0; }

.hr-hub-head {
  display: flex; align-items: stretch; justify-content: center;
  padding: 0 4px 16px;
}
/* 品牌条：图标与文字合成一个居中单元，整行铺底消除空旷 */
.hr-hub-brand {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 24px 16px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  background:
    radial-gradient(120% 180% at 50% -20%, rgba(99, 102, 241, 0.14), rgba(99, 102, 241, 0) 62%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fe 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.hr-hub-brand > i {
  width: 46px; height: 46px; border-radius: 14px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}
.hr-hub-brand h2 {
  font-size: 1.22rem; font-weight: 700; color: #0f172a; margin: 0;
  letter-spacing: 0.6px; text-align: center; line-height: 1.3;
}
.hr-hub-brand-sub {
  display: flex; align-items: center; gap: 10px; width: 100%;
  justify-content: center;
}
.hr-hub-brand-sub p {
  margin: 0; font-size: 0.78rem; color: #64748b; text-align: center;
  background: #fff; border: 1px solid #eef1f7; border-radius: 999px;
  padding: 4px 14px; white-space: nowrap;
}
/* 两侧对称装饰线，平衡视觉重心 */
.hr-hub-rule {
  flex: 0 1 120px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0), rgba(99, 102, 241, 0.35));
}
.hr-hub-rule:last-child { background: linear-gradient(270deg, rgba(99, 102, 241, 0), rgba(99, 102, 241, 0.35)); }

/* ---------- 卡片选择器（表格切换控件） ---------- */
.hr-card-selector {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 0 0 20px;
}
.hr-card-item {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #fff; border: 1px solid #eef2f7; border-radius: 14px;
  cursor: pointer; text-align: left; overflow: hidden; font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.hr-card-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07); border-color: #dbe4f0; }
.hr-card-item.active { border-width: 1px; }
.hr-card-glow {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px; opacity: 0; transition: opacity .18s ease;
}
.hr-card-item.active .hr-card-glow { opacity: 1; }
.hr-card-item.active::after {
  content: ''; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%;
  background: currentColor; opacity: .05;
}
.hr-card-icon {
  width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.hr-card-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hr-card-title { font-size: 0.92rem; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-card-desc { font-size: 0.72rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-card-count {
  font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.hr-card-count em { font-size: 0.68rem; font-style: normal; font-weight: 500; margin-left: 2px; color: #94a3b8; }

/* ---------- 图表区 ---------- */
.hr-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 1100px) { .hr-charts-row { grid-template-columns: 1fr; } .hr-charts-row > .hr-chart-card { grid-column: span 1 !important; } }
.hr-chart-card {
  background: #fff; border-radius: 12px; border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); padding: 18px 20px;
}
.hr-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hr-chart-title { font-size: 1rem; font-weight: 600; color: #1e293b; }
.hr-chart-sub { font-size: 0.75rem; color: #94a3b8; }

/* ---------- 表单 ---------- */
.hr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.hr-form-item { display: flex; flex-direction: column; gap: 6px; }
.hr-form-item--full { grid-column: span 2; }
.hr-form-item label { font-size: 0.8rem; font-weight: 500; color: #475569; }
.hr-req { color: #e11d48; font-style: normal; margin-left: 3px; }
.hr-form-item .form-input {
  padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.86rem;
  font-family: inherit; color: #1e293b; outline: none; transition: border-color .15s, box-shadow .15s; background: #fff;
}
.hr-form-item .form-input:focus { border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1); }
.hr-form-item textarea.form-input { resize: vertical; min-height: 56px; }

/* ---------- 表格操作按钮 ---------- */
.hr-row-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff;
  color: #64748b; cursor: pointer; margin: 0 3px; transition: all .15s; font-size: 12px;
}
.hr-row-btn:hover { border-color: #1677ff; color: #1677ff; background: #f0f7ff; }
.hr-row-btn.danger:hover { border-color: #e11d48; color: #e11d48; background: #fff1f2; }

.hr-btn-ghost {
  background: #fff; color: #475569; border: 1px solid #e2e8f0;
}
.hr-btn-ghost:hover { background: #f8fafc; color: #1677ff; border-color: #1677ff; box-shadow: none; }

/* ---------- 空状态 / 无权限 ---------- */
.hr-no-perm {
  background: #fff; border: 1px solid #f1f5f9; border-radius: 14px; padding: 56px 24px;
  text-align: center; color: #94a3b8;
}
.hr-no-perm i { font-size: 34px; color: #cbd5e1; margin-bottom: 14px; }
.hr-no-perm h3 { font-size: 1rem; color: #334155; margin: 0 0 8px; font-weight: 600; }
.hr-no-perm p { font-size: 0.85rem; margin: 0; }

/* 种草部主管 / 组员双表模块 */
.ap-seeding-deptbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:6px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:12px}
.ap-seeding-dept{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;border-radius:9px;padding:9px 14px;color:#64748b;cursor:pointer;font:inherit;font-size:13px}
.ap-seeding-dept:hover{background:#fff;border-color:#dbe7f6;color:#2563eb}.ap-seeding-dept.active{background:#fff;border-color:#b9d1f7;color:#1677ff;box-shadow:0 3px 9px rgba(37,99,235,.09);font-weight:700}.ap-seeding-dept span{font-size:11px;color:#9aa7b9;font-weight:500}.ap-seeding-dept.active span{color:#5b86c7}
.ap-seeding-tip{margin-bottom:16px}.ap-seeding-card{background:#fff;border:1px solid #eef2f7;border-radius:14px;margin-bottom:16px;overflow:hidden;box-shadow:0 2px 10px rgba(15,23,42,.025)}
.ap-seeding-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #f0f3f7}.ap-seeding-card-head h3{margin:0;color:#1e293b;font-size:15px}.ap-seeding-card-head p{margin:4px 0 0;color:#94a3b8;font-size:12px}.ap-seeding-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;background:#fff7e7;color:#b7791f;font-size:11px;font-weight:700}.ap-seeding-badge.muted{background:#f1f5f9;color:#94a3b8}.ap-seeding-table{margin:0}.ap-seeding-table td,.ap-seeding-table th{padding-left:20px;padding-right:20px}.ap-seeding-tag{display:inline-flex;margin-left:8px;padding:2px 6px;border-radius:4px;background:#fff4d6;color:#b7791f;font-size:10px}.ap-scope-pill{display:inline-flex;padding:4px 8px;border-radius:6px;background:#edf5ff;color:#3973c5;font-size:11px}.ap-readonly{color:#a2adbc;font-size:12px}.ap-mono{font-family:'SF Mono','Consolas',monospace;font-size:12px;color:#475569}.ap-seeding-empty{text-align:center!important;padding:35px!important;color:#94a3b8!important}.ap-seeding-empty i{display:block;font-size:24px;color:#cbd5e1;margin-bottom:9px}.ap-seeding-empty span{display:block;color:#64748b;font-size:13px}.ap-seeding-empty small{display:block;margin-top:5px;color:#aab4c1;font-size:11px}
.ap-category-card{overflow:visible}.ap-category-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ap-category-actions button:disabled{opacity:.5;cursor:not-allowed}.ap-category-month-picker .srm-month-panel{right:0;left:auto;text-align:left}.ap-category-list{display:flex;gap:10px;flex-wrap:wrap;padding:18px 20px;min-height:72px}.ap-category-list>.ap-seeding-empty{width:100%}.ap-category-chip{display:inline-flex;align-items:center;gap:3px;padding:6px 7px 6px 12px;border:1px solid #dce8f8;border-radius:999px;background:#f5f9ff;color:#315f98;font-size:12px;font-weight:600}.ap-category-chip button{width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:#7b93b1;cursor:pointer}.ap-category-chip button:hover{background:#e4eefb;color:#2563eb}.ap-category-chip button.danger:hover{background:#fee2e2;color:#dc2626}
@media(max-width:760px){.ap-seeding-card-head{align-items:flex-start;flex-direction:column}.ap-seeding-card-head .ap-btn-primary{align-self:stretch}.ap-category-actions{width:100%}.ap-category-month-picker{flex:1}.ap-category-month-picker .srm-month-trigger{width:100%}.ap-category-month-picker .srm-month-panel{right:auto;left:0}.ap-seeding-table{min-width:720px}}

/* ---------- 表格：筛选条 / 排序表头 / 行内编辑 ---------- */
.hr-table-subbar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:10px 20px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;
}
.hr-table-subbar .ps-table-footer{
  border-top:0;padding:0;background:transparent;font-size:12.5px;color:#94a3b8;
}
.hr-quick{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hr-quick-btn{
  display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:8px;
  border:1px solid #e6ebf3;background:#fff;color:#64748b;font:inherit;font-size:12.5px;
  font-weight:500;cursor:pointer;transition:all .15s;line-height:1.4;
}
.hr-quick-btn em{
  font-style:normal;font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums;
  background:#f1f5f9;border-radius:999px;padding:0 6px;min-width:18px;text-align:center;
}
.hr-quick-btn:hover{border-color:#c7d2fe;color:#4f46e5;background:#f8faff}
.hr-quick-btn.on{
  border-color:#4f46e5;background:#eef2ff;color:#4338ca;font-weight:600;
  box-shadow:0 2px 8px rgba(79,70,229,.12);
}
.hr-quick-btn.on em{background:#4f46e5;color:#fff}
/* 列分组切换（宽表用，如薪资标准 62 列）：紫色虚线，与蓝色快捷筛选区分 */
.hr-quick-btn.hr-quick-group{
  border-style:dashed;border-color:#d7e6f4;background:#f7f9fc;color:#3989ed;
}
.hr-quick-btn.hr-quick-group:hover{border-color:#bcd6f7;background:#eef5fc;color:#2d73d0}
.hr-quick-btn.hr-quick-group.on{
  border-style:solid;border-color:#3989ed;background:#eef5fc;color:#2d73d0;
  box-shadow:0 2px 8px rgba(124,58,237,.12);
}
/* 宽表单行显示：超长文本省略，避免「提成方案」这类长句把行高撑到两倍 */
.ps-store-table td.hr-cell-ellipsis{
  max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.hr-th-sort{cursor:pointer;user-select:none;white-space:nowrap}
/* 排序箭头：只在悬停表头 / 已按该列排序时显示，避免和字段名旁的筛选漏斗挤在一起 */
.hr-th-sort>i{font-size:9px;margin-left:2px;color:#cbd5e1;vertical-align:middle;opacity:0;transition:opacity .12s ease}
.hr-th-sort:hover>i{opacity:1}
.hr-th-sort>i[data-on="on"]{color:#4f46e5;opacity:1}
.hr-th-plain{cursor:default}

.hr-cell-edit{cursor:cell}
.hr-cell-edit:hover{background:#fafbff;box-shadow:inset 0 0 0 1px #e0e7ff}
.hr-cell-input{
  width:100%;min-width:60px;padding:3px 7px;border:1px solid #4f46e5;border-radius:6px;
  font:inherit;font-size:12.5px;color:#1e293b;outline:none;background:#fff;
  box-shadow:0 0 0 3px rgba(79,70,229,.13);
}

/* 人事图表容器：固定高度，避免类目多的图（部门排行）行间叠字 */
.hr-chart-card .chart-module-body{height:300px;min-height:300px}

/* ==========================================================
   人效驾驶舱 V2（2026-10-28 重构）
   三栏：种草（部级汇总，点进二级）/ 直播（主播）/ 人事（BOSS 账号）
   口径：主数字 = 条形 = 排序 三者同源，次指标退到右侧小字
   ========================================================== */
.hc-wrap { padding: 2px 0 10px; }

/* ---------- 工具条 ---------- */
.hc-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; }
.hc-seg { display: inline-flex; padding: 3px; gap: 2px; background: #fff; border: 1px solid #E8EDF6; border-radius: 10px; }
.hc-seg button {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 500; color: #64748B; padding: 4px 12px; border-radius: 7px;
  transition: background .15s ease, color .15s ease;
}
.hc-seg button:hover { color: #334155; }
.hc-seg button.on { background: #141C2E; color: #fff; font-weight: 600; }
.hc-stamp { font-size: 11px; color: #94A3B8; display: flex; align-items: center; gap: 5px; margin-left: auto; }
.hc-stamp i { width: 5px; height: 5px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.14); }

/* ---------- 概览条 ---------- */
.hc-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid #E8EDF6; border-radius: 13px;
  overflow: hidden; margin-bottom: 12px;
}
.hc-gl { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 15px; min-width: 0; }
.hc-gl + .hc-gl::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: #F0F4FA; }
.hc-gl .sw { width: 3px; height: 21px; border-radius: 2px; flex: 0 0 auto; }
.hc-gl .lb { font-size: 11px; color: #64748B; white-space: nowrap; }
.hc-gl .vl { margin-left: auto; display: flex; align-items: baseline; gap: 2px; }
.hc-gl .vl b { font-size: 16px; font-weight: 700; letter-spacing: -.4px; }
.hc-gl .vl i { font-style: normal; font-size: 10px; color: #64748B; }

/* ---------- 三栏看板 ---------- */
.hc-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.hc-col {
  background: #fff; border: 1px solid #E8EDF6; border-radius: 17px;
  overflow: hidden; min-width: 0; box-shadow: 0 1px 3px rgba(15,23,42,.04);
  display: flex; flex-direction: column;
}
.hc-col.clickable { cursor: pointer; transition: box-shadow .18s ease, transform .18s ease; }
.hc-col.clickable:hover { box-shadow: 0 10px 26px rgba(139,92,246,.14); transform: translateY(-2px); }
.hc-col.clickable:hover .hc-badge.go { background: var(--c1); color: #fff; border-color: transparent; }

.hc-head { position: relative; padding: 12px 15px 11px; background: #FCFDFF; border-bottom: 1px solid #F0F4FA; }
.hc-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.hc-h1 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hc-ico {
  width: 25px; height: 25px; border-radius: 8px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 3px 9px var(--sh);
}
.hc-ico i { font-size: 12px; }
.hc-nm { font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.hc-meta { font-size: 10.5px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-badge {
  margin-left: auto; flex: 0 0 auto; font-size: 10px; font-weight: 600; color: var(--c1);
  background: var(--soft); border: 1px solid var(--cl); border-radius: 5px; padding: 1px 6px;
  transition: all .18s ease; white-space: nowrap;
}
.hc-h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 9px; flex-wrap: wrap; }
.hc-kv { display: flex; align-items: baseline; gap: 3px; }
.hc-kv em { font-style: normal; font-size: 9.5px; color: #94A3B8; margin-right: 1px; }
.hc-kv b { font-size: 19px; font-weight: 700; letter-spacing: -.6px; line-height: 1; }
.hc-kv i { font-style: normal; font-size: 10px; color: #64748B; }
.hc-per { margin-left: auto; font-size: 10.5px; color: #64748B; }
.hc-per b { color: #334155; font-weight: 600; }

.hc-body {
  padding: 8px 10px 10px; min-height: 0;
  /* 内容多的列单独滚，另外两列不动 —— 页面整体不跟着拉长 */
  max-height: max(420px, calc(100vh - 380px));
  overflow-y: auto;
}
.hc-body::-webkit-scrollbar { width: 7px; }
.hc-body::-webkit-scrollbar-thumb { background: #DDE4EF; border-radius: 4px; }
.hc-body::-webkit-scrollbar-track { background: transparent; }

/* ---------- 行（人 / 组） ---------- */
.hc-row {
  border: 1px solid #F0F4FA; border-radius: 10px; background: #fff;
  padding: 8px 10px 9px; transition: border-color .14s ease, background .14s ease;
}
.hc-row + .hc-row { margin-top: 6px; }
.hc-row:hover { border-color: var(--cl); }
.hc-row.top { background: linear-gradient(90deg, var(--soft), #fff 60%); border-color: var(--cl); }
.hc-rt { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hc-rk {
  width: 17px; height: 17px; flex: 0 0 auto; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; color: #94A3B8; background: #F4F7FC;
}
.hc-rk.g1 { color: #fff; background: linear-gradient(135deg, #F59E0B, #D97706); }
.hc-rk.g2 { color: #fff; background: linear-gradient(135deg, #94A3B8, #64748B); }
.hc-rk.g3 { color: #fff; background: linear-gradient(135deg, #D08A62, #A16207); }
.hc-dot { width: 3px; height: 13px; border-radius: 2px; flex: 0 0 auto; }
.hc-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-tag {
  flex: 0 0 auto; font-size: 9.5px; color: #94A3B8; background: #F6F8FC;
  border-radius: 4px; padding: 0 4px; white-space: nowrap;
}
.hc-v { margin-left: auto; flex: 0 0 auto; display: flex; align-items: baseline; gap: 1px; }
.hc-v b { font-size: 16px; font-weight: 700; letter-spacing: -.5px; }
.hc-v i { font-style: normal; font-size: 9.5px; color: #64748B; margin-left: 1px; }
.hc-rb { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.hc-bar { flex: 1 1 auto; height: 5px; border-radius: 999px; background: #F1F5F9; overflow: hidden; min-width: 0; }
.hc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.hc-side { flex: 0 0 var(--side, 56px); width: var(--side, 56px); text-align: right; font-size: 10px; color: #64748B; white-space: nowrap; }
.hc-side b { color: #334155; font-weight: 600; }

/* ---------- 列尾 ---------- */
.hc-foot { margin: 9px 0 0; padding: 9px 11px 8px; border-radius: 10px; background: #FBFCFE; border: 1px solid #F0F4FA; }
.hc-fh { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #94A3B8; }
.hc-fh b { font-size: 10.5px; color: #64748B; font-weight: 600; }
.hc-fh .rt { margin-left: auto; }
.hc-kv3 { display: flex; gap: 12px; margin-top: 7px; }
.hc-kv3 div { flex: 1 1 0; min-width: 0; }
.hc-kv3 b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -.3px; }
.hc-kv3 i { font-style: normal; font-size: 9.5px; color: #94A3B8; }

.hc-gbar { display: flex; height: 7px; border-radius: 999px; overflow: hidden; margin-top: 8px; background: #EEF2F8; }
.hc-gbar span { height: 100%; }
.hc-glegend { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-top: 7px; }
.hc-glegend span { font-size: 9.5px; color: #64748B; display: flex; align-items: center; gap: 3px; }
.hc-glegend em { width: 5px; height: 5px; border-radius: 1.5px; font-style: normal; }

.hc-fn { margin-top: 7px; display: flex; flex-direction: column; gap: 5px; }
.hc-fn-row { display: flex; align-items: center; gap: 7px; }
.hc-fn-row .t { width: 52px; flex: 0 0 auto; font-size: 9.5px; color: #64748B; }
.hc-fn-row .b { flex: 1 1 auto; height: 6px; border-radius: 999px; background: #EEF2F8; overflow: hidden; }
.hc-fn-row .b i { display: block; height: 100%; min-width: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.hc-fn-row .n { width: 34px; flex: 0 0 auto; text-align: right; font-size: 10px; font-weight: 600; color: #334155; }

.hc-empty { padding: 22px 10px; text-align: center; font-size: 11px; color: #94A3B8; line-height: 1.7; }
.hc-hint-line {
  margin-top: 8px; padding: 7px 10px; border-radius: 9px; text-align: center;
  background: var(--soft); border: 1px dashed var(--cl); font-size: 10.5px; color: #64748B;
}

/* ---------- 二级页：种草部 ---------- */
.hc-detail { padding: 2px 0 10px; }
.hc-dhead { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; flex-wrap: wrap; }
.hc-back {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E8EDF6;
  background: #fff; border-radius: 9px; padding: 7px 12px; font-size: 12px;
  color: #334155; cursor: pointer; font-family: inherit; transition: all .15s ease;
}
.hc-back:hover { border-color: #D5DEEC; background: #FBFCFE; }
.hc-dtitle { font-size: 19px; font-weight: 700; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 8px; }
.hc-dtitle span { font-size: 11.5px; color: #64748B; font-weight: 400; }
.hc-dkpi { margin-left: auto; display: flex; gap: 20px; }
.hc-dkpi div { text-align: right; }
.hc-dkpi b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.4px; line-height: 1.15; }
.hc-dkpi i { font-style: normal; font-size: 10px; color: #94A3B8; }

.hc-dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.hc-gcard {
  position: relative; background: #fff; border: 1px solid #E8EDF6; border-radius: 15px;
  padding: 10px 11px 9px 13px; display: flex; flex-direction: column; min-width: 0;
}
.hc-gcard::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gc, #8B5CF6); }
.hc-gh { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hc-gnm { font-size: 13px; font-weight: 700; }
.hc-glead { font-size: 9.5px; color: #94A3B8; background: #F6F8FC; border-radius: 4px; padding: 1px 5px; white-space: nowrap; }
.hc-gn { margin-left: auto; font-size: 10px; color: #64748B; white-space: nowrap; }
.hc-gkpi { display: flex; align-items: baseline; gap: 4px; margin-top: 7px; padding-bottom: 8px; border-bottom: 1px dashed #F0F4FA; }
.hc-gkpi b { font-size: 14px; font-weight: 700; letter-spacing: -.4px; }
.hc-gkpi i { font-style: normal; font-size: 9.5px; color: #94A3B8; }
.hc-gkpi .sep { color: #E2E8F0; font-size: 9px; margin: 0 2px; }
.hc-glist {
  margin-top: 3px; max-height: 210px; overflow-y: auto;
}
.hc-glist::-webkit-scrollbar { width: 5px; }
.hc-glist::-webkit-scrollbar-thumb { background: #E4EAF4; border-radius: 3px; }

.hc-mrow { display: flex; align-items: center; gap: 6px; padding: 4.5px 0; }
.hc-mrow + .hc-mrow { border-top: 1px solid #F7F9FC; }
.hc-mrk { width: 12px; flex: 0 0 auto; font-size: 9px; color: #94A3B8; text-align: center; }
.hc-mrow.top .hc-mrk { color: #B45309; font-weight: 700; }
.hc-mnm { flex: 0 0 auto; max-width: 56px; font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-mv { flex: 0 0 48px; text-align: right; font-size: 11px; font-weight: 600; color: #334155; }
.hc-mbar { flex: 1 1 auto; height: 4px; min-width: 20px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.hc-mbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8B5CF6, #EC4899); }
.hc-mn { flex: 0 0 30px; text-align: right; font-size: 9.5px; color: #94A3B8; }

.hc-sum { background: linear-gradient(160deg, #FAFBFF, #F3F5FD); border: 1px dashed #DCE3F2; border-radius: 15px; padding: 11px 12px; display: flex; flex-direction: column; }
.hc-sum h4 { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #334155; }
.hc-sum h4 em { width: 3px; height: 11px; border-radius: 2px; background: linear-gradient(180deg, #8B5CF6, #EC4899); }
.hc-sum ul { list-style: none; margin: 9px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hc-sum li { font-size: 10.5px; color: #64748B; line-height: 1.55; }
.hc-sum li b { color: #334155; font-weight: 600; }
.hc-sum li span { color: #8B5CF6; font-weight: 700; }

.hc-dbar { margin-top: 11px; background: #fff; border: 1px solid #E8EDF6; border-radius: 14px; padding: 10px 14px; }
.hc-dbrows { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.hc-dbrow { display: flex; align-items: center; gap: 9px; }
.hc-dbrow .t { width: 32px; flex: 0 0 auto; font-size: 10px; font-weight: 600; color: #334155; }
.hc-dbrow .ppl { width: 34px; flex: 0 0 auto; font-size: 9.5px; color: #94A3B8; }
.hc-dbrow .b { flex: 1 1 auto; height: 7px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.hc-dbrow .b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8B5CF6, #EC4899); }
.hc-dbrow .n { width: 52px; flex: 0 0 auto; text-align: right; font-size: 10px; color: #64748B; }
.hc-dbrow .n b { color: #334155; font-weight: 600; }
.hc-dbrow .avg { width: 96px; flex: 0 0 auto; text-align: right; font-size: 9.5px; color: #94A3B8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
  .hc-side { --side: 46px; }
  .hc-gl .vl b { font-size: 15px; }
}
@media (max-width: 1200px) {
  .hc-board { grid-template-columns: 1fr; }
  .hc-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 日期选择器（复用全局 od-cal-* 双月历，这里只补外壳） ---------- */
.hc-datepicker { position: relative; }
.hc-datebtn {
  display: flex; align-items: center; gap: 6px; height: 32px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 9px;
  padding: 0 11px; cursor: pointer; font-size: 12px; color: #334155;
  font-family: inherit; transition: border-color .15s ease; white-space: nowrap;
}
.hc-datebtn:hover { border-color: #C9D6EA; }
.hc-datebtn i { color: #94A3B8; font-size: 11px; }
.hc-datebtn span { font-variant-numeric: tabular-nums; }
.hc-calpanel {
  position: absolute; top: 38px; left: 0; z-index: 60;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,23,42,.16); padding: 13px; user-select: none;
}
.hc-calfoot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 9px; border-top: 1px solid #F1F5F9;
  font-size: 11.5px; color: #64748B;
}
.hc-calfoot button {
  border: none; background: none; color: #94A3B8; font-size: 12px;
  cursor: pointer; font-family: inherit; padding: 2px 6px;
}
.hc-calfoot button:hover { color: #475569; }
.hc-calfoot button.primary { color: #6366F1; font-weight: 600; }

/* ---------- 直播部二级页 ---------- */
.hc-lwrap { display: grid; grid-template-columns: minmax(0, 1fr) 318px; gap: 12px; align-items: start; }
.hc-lcard { background: #fff; border: 1px solid #E8EDF6; border-radius: 15px; padding: 11px 14px 12px; min-width: 0; }
.hc-lhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hc-lhead b { font-size: 11.5px; color: #334155; font-weight: 700; }
.hc-lhead span { font-size: 10px; color: #94A3B8; margin-left: auto; }
.hc-lrow {
  display: grid;
  grid-template-columns: 20px 78px minmax(70px, 1fr) 66px 56px 46px 78px 62px;
  align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #F7F9FC;
}
.hc-lrow:first-of-type { border-top: 0; }
.hc-lrow .rk { font-size: 9.5px; color: #94A3B8; text-align: center; font-weight: 700; }
.hc-lrow .rk.g1 { color: #B45309; }
.hc-lrow .rk.g2 { color: #64748B; }
.hc-lrow .rk.g3 { color: #A16207; }
.hc-lrow .nm { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-lrow .nm em { font-style: normal; font-size: 9px; color: #94A3B8; margin-left: 4px; }
.hc-lrow .bar { height: 6px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.hc-lrow .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F59E0B, #EF4444); }
.hc-lrow .v { font-size: 11.5px; font-weight: 700; text-align: right; color: #334155; }
.hc-lrow .m { font-size: 10px; color: #94A3B8; text-align: right; white-space: nowrap; }
.hc-lrow.th { border-top: 0; padding: 0 0 5px; }
.hc-lrow.th span { font-size: 9.5px; color: #B6C0CF; font-weight: 400; }

.hc-store { display: flex; flex-direction: column; gap: 9px; margin-top: 9px; }
.hc-st-row .t { display: flex; align-items: baseline; gap: 6px; font-size: 10.5px; color: #334155; }
.hc-st-row .t b { font-size: 11.5px; font-weight: 600; }
.hc-st-row .t span { margin-left: auto; font-size: 10px; color: #94A3B8; }
.hc-st-row .b { height: 6px; border-radius: 999px; background: #F1F5F9; overflow: hidden; margin-top: 4px; }
.hc-st-row .b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F59E0B, #EF4444); }

@media (max-width: 1400px) {
  .hc-lwrap { grid-template-columns: minmax(0, 1fr); }
}

/* 区间超限提示：直播只统计最近 92 天时显式告知，不静默截断 */
.hc-note {
  display: flex; align-items: center; gap: 7px; margin: 0 0 10px;
  padding: 7px 12px; border-radius: 9px; font-size: 11.5px; line-height: 1.5;
  color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A;
}
.hc-note i { font-size: 11px; flex: 0 0 auto; color: #D97706; }

/* ---------- 种草部二级页：7 组并排、每组逐人，一屏装完全部（实测 72 人） ---------- */
.hc-dgrid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; align-items: start; }
.hc-col7 {
  background: #fff; border: 1px solid #E8EDF6; border-radius: 12px;
  overflow: hidden; min-width: 0;
}
.hc-c7h {
  padding: 6px 9px 7px; border-bottom: 1px solid #F0F4FA;
  background: #FCFDFF; border-top: 3px solid var(--gc, #8B5CF6);
}
.hc-c7h .t1 { display: flex; align-items: baseline; gap: 5px; }
.hc-c7h .t1 b { font-size: 12.5px; font-weight: 700; }
.hc-c7h .t1 span { font-size: 9.5px; color: #94A3B8; }
.hc-c7h .t2 { display: flex; align-items: baseline; gap: 5px; margin-top: 1px; }
.hc-c7h .t2 em { font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: -.3px; color: #334155; }
.hc-c7h .t2 i { font-style: normal; font-size: 9.5px; color: #94A3B8; }
.hc-c7h .t3 { font-size: 9.5px; color: #B6C0CF; margin-top: 1px; }

.hc-c7b {
  padding: 3px 7px 5px;
  /* 兜底：当前最大组 20 人（640px）远未触顶；只有将来单组超 ~24 人才会在列内滚，
     页面整体始终不滚 —— 这是「一屏看全」的保险丝。 */
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}
.hc-c7b::-webkit-scrollbar { width: 5px; }
.hc-c7b::-webkit-scrollbar-thumb { background: #E4EAF4; border-radius: 3px; }
.hc-p7 { padding: 2.5px 0; border-top: 1px solid #F7F9FC; }
.hc-p7:first-child { border-top: 0; }
.hc-p7 .l1 { display: flex; align-items: baseline; gap: 4px; }
.hc-p7 .rk { width: 11px; flex: 0 0 auto; font-size: 8.5px; color: #B6C0CF; text-align: center; }
.hc-p7.top .rk { color: #B45309; font-weight: 700; }
.hc-p7 .nm {
  flex: 1 1 auto; min-width: 0; font-size: 11px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hc-p7 .v { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; color: #334155; letter-spacing: -.2px; }
.hc-p7 .v i { font-style: normal; font-size: 8.5px; color: #94A3B8; margin-left: 1px; }
.hc-p7 .l2 { display: flex; align-items: center; gap: 5px; margin-top: 1.5px; padding-left: 15px; }
.hc-p7 .bar { flex: 1 1 auto; height: 3px; border-radius: 999px; background: #F1F5F9; overflow: hidden; }
.hc-p7 .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gc, #8B5CF6), #EC4899); }
.hc-p7 .n { flex: 0 0 auto; font-size: 8.5px; color: #B6C0CF; }
.hc-p7-empty { padding: 14px 0; text-align: center; font-size: 10px; color: #B6C0CF; }

.hc-dsum {
  display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap;
  margin-top: 10px; padding: 8px 14px; border-radius: 11px;
  background: #FBFCFE; border: 1px dashed #DCE3F2; font-size: 10.5px; color: #64748B;
}
.hc-dsum > i { color: #D97706; font-size: 11px; }
.hc-dsum > span + span { border-left: 1px solid #E4EAF4; padding-left: 16px; }
.hc-dsum b { color: #334155; font-weight: 600; }
.hc-dsum span span { color: #8B5CF6; font-weight: 700; }

@media (max-width: 1240px) {
  .hc-dgrid7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Excel 式列筛选（2026-10-30）：表头字段名右侧小漏斗 + 下拉面板 ===== */
.hrcf{display:inline-flex;align-items:center;vertical-align:middle;line-height:1}
.hrcf-th{display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}
.hrcf-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;margin-left:3px;padding:0;border:0;border-radius:4px;
  background:transparent;color:#94a3b8;cursor:pointer;font-size:10px;line-height:1;
  transition:background .12s ease,color .12s ease;
}
.hrcf-btn:hover{background:#eef2ff;color:#4f46e5}
.hrcf-btn.on{background:#eef2ff;color:#4f46e5}
.hrcf-mask{position:fixed;inset:0;z-index:9998;background:transparent}
.hrcf-pop, .hrcf-pop *{box-sizing:border-box}
.hrcf-pop{
  position:fixed;z-index:9999;display:flex;flex-direction:column;max-height:430px;
  padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;
  box-shadow:0 12px 32px rgba(15,23,42,.16);font-size:12px;color:#334155;
}
.hrcf-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:0 2px 6px}
.hrcf-h b{font-size:12px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hrcf-h span{flex:0 0 auto;font-size:10px;color:#94a3b8}
.hrcf-q{width:100%;height:28px;padding:0 8px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:12px;color:#334155;outline:none}
.hrcf-q:focus{border-color:#a5b4fc;box-shadow:0 0 0 2px #eef2ff}
.hrcf-all{display:flex;align-items:center;gap:6px;padding:7px 2px 5px;border-bottom:1px solid #f1f5f9;cursor:pointer;user-select:none}
.hrcf-all span{flex:1 1 auto;font-weight:600;color:#475569}
.hrcf-all em{flex:0 0 auto;font-style:normal;font-size:10px;color:#94a3b8}
.hrcf-list{flex:1 1 auto;min-height:44px;max-height:262px;overflow:auto;padding:2px 0}
.hrcf-opt{display:flex;align-items:center;gap:6px;padding:4px;border-radius:5px;cursor:pointer;user-select:none}
.hrcf-opt:hover{background:#f8fafc}
.hrcf-opt.on{background:#f5f7ff}
.hrcf-opt input{flex:0 0 auto;width:12px;height:12px;accent-color:#4f46e5;cursor:pointer}
.hrcf-v{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hrcf-opt em{flex:0 0 auto;font-style:normal;font-size:10px;color:#94a3b8}
.hrcf-none{padding:14px 0;text-align:center;font-size:11px;color:#94a3b8}
.hrcf-f{display:flex;justify-content:flex-end;gap:6px;padding-top:8px;border-top:1px solid #f1f5f9}
.hrcf-f button{height:26px;padding:0 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:12px;color:#475569;cursor:pointer}
.hrcf-f button:hover{border-color:#c7d2fe;color:#4f46e5}
.hrcf-f .hrcf-ok{background:#4f46e5;border-color:#4f46e5;color:#fff}
.hrcf-f .hrcf-ok:hover{background:#4338ca;border-color:#4338ca;color:#fff}
/* 日期列：年 / 月 / 日 三层树 */
.hrcf-tree{padding:1px 0}
.hrcf-row{display:flex;align-items:center;gap:5px;padding:3px 2px;border-radius:5px;user-select:none}
.hrcf-row:hover{background:#f8fafc}
.hrcf-row input{flex:0 0 auto;width:12px;height:12px;accent-color:#4f46e5;cursor:pointer}
.hrcf-exp{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;padding:0;border:0;border-radius:3px;background:transparent;color:#94a3b8;font-size:8px;cursor:pointer}
.hrcf-exp:hover{background:#eef2ff;color:#4f46e5}
.hrcf-yt{flex:1 1 auto;min-width:0;font-weight:600;color:#334155;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hrcf-mt{flex:1 1 auto;min-width:0;color:#475569;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hrcf-n{flex:0 0 auto;font-style:normal;font-size:10px;color:#94a3b8}
.hrcf-ms{padding-left:15px}
.hrcf-ds{padding-left:15px;padding-bottom:2px}
.hrcf-ds .hrcf-opt{padding:3px 4px}
.hrcf-blank{margin-top:4px;border-top:1px solid #f1f5f9;border-radius:0;padding-top:6px}

/* 确认入职弹窗：两列表单（面试日期 / 入职日期 + 整行入职情况） */
.obf{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;text-align:left}
.obf label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#64748b}
.obf label.wide{grid-column:1 / -1}
.obf .req{color:#ef4444;font-style:normal;margin-left:2px}
.obf .hrs-input,.obf .hrs-select{width:100%;height:30px;min-width:0}
